Sketch: exchange the order of summation over pairs (S, x) with x in ; the contribution of each x is an alternating binomial sum, which is 1 if x lies in no and 0 otherwise.
Write and . Throughout, , , the sets and the sets introduced below are subsets of the finite sets and , hence finite (Finite Sets: the Pigeonhole Principle, Uniqueness of the Length, Subsets, Unions, Products, Images, Bounded Sets of Natural Numbers, Extreme Elements, Sets of Maps, Finite Unions and Finite Choice (iv)); is finite by Counting Subsets (ii); and and are maps on (The Maps i β¦ #C(i) and S β¦ #S (i), The Maps i β¦ #C(i) and S β¦ #S (ii)); and cardinalities are read in , where their sums keep their values (The Image of the Natural Numbers with Zero in a Commutative Ring Respects Zero, One, Sums, Products, Differences, Powers, and Finite Sums and Products (ii)).
Step 1 (which sets contain a given element). For let . We claim that for every ,
For both sides hold, because . For nonempty both sides say that for every . Moreover, by the definition of the union, if and only if lies in no , that is, if and only if .
Step 2 (each term as a sum over ). For and put
For fixed the map vanishes off and is constant on , so by Sums over Finite Sets in a Commutative Ring and in an Ordered Field: Distributivity, Products of Sums, Vanishing Terms, Sums over Pairs, Expanding Products of Sums, Counting, Comparison, Monotonicity and the Triangle Inequality (iv) and Sums over Finite Sets in a Commutative Ring and in an Ordered Field: Distributivity, Products of Sums, Vanishing Terms, Sums over Pairs, Expanding Products of Sums, Counting, Comparison, Monotonicity and the Triangle Inequality (v)
Step 3 (exchanging the order of summation). Summing Step 2 over and exchanging the two sums over by Iterated Operations over Finite Sets: Singletons, Disjoint Unions, Reindexing, Products of Sets, Termwise Combination, Homomorphisms and Intervals (iv), applied to the addition of , we get
Fix . By Step 1, for and for the other ; since , Sums over Finite Sets in a Commutative Ring and in an Ordered Field: Distributivity, Products of Sums, Vanishing Terms, Sums over Pairs, Expanding Products of Sums, Counting, Comparison, Monotonicity and the Triangle Inequality (iv) gives
Step 4 (the contribution of one element). Let . If , then by Counting: Intervals, Empty Sets and Singletons, Injective Images, Subsets, Unions and Products (ii), its only subset is , and the sum has the single term (Iterated Operations over Finite Sets: Singletons, Disjoint Unions, Reindexing, Products of Sets, Termwise Combination, Homomorphisms and Intervals (i), Counting: Intervals, Empty Sets and Singletons, Injective Images, Subsets, Unions and Products (ii), Powers with Exponents in the Natural Numbers with Zero (ii)). If , then , and for some (Arithmetic of Addition on Omega: Recursion Rules, Associativity, Commutativity, Cancellation and Compatibility with the Order (vii)). Then Counting Subsets (iii), with and , , and Binomial Identities (ii) give
By Step 1 and Counting: Intervals, Empty Sets and Singletons, Injective Images, Subsets, Unions and Products (ii), exactly when . So the inner sum in Step 3 is for and for .
Step 5 ((i)). By Steps 3 and 4, together with Sums over Finite Sets in a Commutative Ring and in an Ordered Field: Distributivity, Products of Sums, Vanishing Terms, Sums over Pairs, Expanding Products of Sums, Counting, Comparison, Monotonicity and the Triangle Inequality (iv) and Sums over Finite Sets in a Commutative Ring and in an Ordered Field: Distributivity, Products of Sums, Vanishing Terms, Sums over Pairs, Expanding Products of Sums, Counting, Comparison, Monotonicity and the Triangle Inequality (v),
Step 6 ((ii)). The set is the disjoint union of and , and the term at is . So by Iterated Operations over Finite Sets: Singletons, Disjoint Unions, Reindexing, Products of Sets, Termwise Combination, Homomorphisms and Intervals (ii) and Iterated Operations over Finite Sets: Singletons, Disjoint Unions, Reindexing, Products of Sets, Termwise Combination, Homomorphisms and Intervals (i), Step 5 reads
Since is the disjoint union of and , by Counting: Intervals, Empty Sets and Singletons, Injective Images, Subsets, Unions and Products (v). For every , by Powers in a Commutative Ring, a Field and an Ordered Field: Exponent Laws, Factorisation, Geometric Sums, Monotonicity and Bernoulli's Inequality (i) and Powers in a Commutative Ring, a Field and an Ordered Field: Exponent Laws, Factorisation, Geometric Sums, Monotonicity and Bernoulli's Inequality (ii). Hence, multiplying the sum by term by term (Sums over Finite Sets in a Commutative Ring and in an Ordered Field: Distributivity, Products of Sums, Vanishing Terms, Sums over Pairs, Expanding Products of Sums, Counting, Comparison, Monotonicity and the Triangle Inequality (i)),
Loadingβ¦