Ryser's Boolean-sum formula for the permanent #
Ryser's inclusion–exclusion identity expresses the permanent as a signed sum over Boolean
column selectors Schauz, Theorem 1.2, p. 3. The sign is the product of 1 for each
selected column and -1 for each unselected column. Each summand multiplies the selected row
sums. The proof works over every commutative ring, including characteristic two and the zero
ring; Schauz's section-wide convention is an integral domain of characteristic zero.
The proof expands the row product into a sum over all functions from rows to columns. Summing
the signs cancels every nonsurjective function. On a finite square matrix, the surviving
functions are exactly the permutations. The empty matrix has permanent 1 and contributes
one empty Boolean assignment.
Main results #
Matrix.permanent_eq_ryser_bool: Ryser's formula as a sum overι → Bool.
References #
The proof is adapted from the saved Complexitylib development at revision 5b8acca7.
Boolean-indicator form of Ryser's inclusion–exclusion formula for the permanent Schauz, Theorem 1.2, p. 3, generalized to every commutative ring.