Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

Coordinate Sum-Product Update

Abstract

A public, commutative-semiring form of the coordinate sum-product identity.

Theorem 1.1 (A distinguished coordinate factors from the assignment sum).

Proof. Machine-checked in Lean as D5/S3/Entropy/NamingWindow/SumProductUpdate.sum_prod_update (✓ std3). ∎

Source. Repository-derived.

Commentary.

Summing over every assignment the product of all coordinates except one, times a factor at that one coordinate, factors into the product of the other coordinates’ sums times the sum of that factor.

The value here is an API one, not mathematical novelty. The identity follows from the distributive law for finite products of sums; what the repository lacked was a public name for it.

Three frozen modules in this directory each carry a private copy of this exact statement. Two record in their headers that they re-prove it because the earlier copies are “private and not reusable public theorems”. Those three are frozen and therefore cannot import this module: naming the fact here does not remove them; it stops the next copy.

The frozen copies fix the codomain to the reals, while the argument needs no subtraction, division, or order. The public statement is therefore given over an arbitrary commutative semiring.

References

  • Truth anchor: D5/S3/Entropy/NamingWindow/SumProductUpdate.sum_prod_update