By induction on the size of a subset J of I, removing one index at a time splits both the union and the sum into the part over J without that index plus one block, which gives the count of the disjoint union and, for blocks of equal size r, the value #I times r.
Each result cited below is universally quantified over the data in its own statement, and is applied to the data named where it is cited.
Notation. By the laws of The Natural Numbers and the Natural Numbers with Zero: Arithmetic, Order, Induction and Recursion §laws, the addition of is associative and commutative, and is a neutral element of it, since and for by Arithmetic of Addition on Omega: Recursion Rules, Associativity, Commutativity, Cancellation and Compatibility with the Order §zero; so Sums and Products over a Finite Set and over an Interval §empty and Sums and Products over a Finite Set and over an Interval §subsets apply to it. As each is finite, is defined, and we let be the map ; the sum is that of .
Let be a subset of ; it is finite by 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 §subset. Writing for the family , the restriction is a function with domain and values at , by Basic Properties of Functions: Equality, Composition, Identity, Inverse and Restriction §restriction; so it is a family indexed by . Let be its union, a set by The Union and Product of a Family of Sets Indexed by a Set, and the Intersection of a Family with an Inhabited Index Class, Are Sets §union and finite by 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 §family-union; for every set , if and only if for some . Let , the sum of as in Sums and Products over a Finite Set and over an Interval §subsets. For , the functions and both have domain and value at each by Basic Properties of Functions: Equality, Composition, Identity, Inverse and Restriction §restriction, so they are equal by Basic Properties of Functions: Equality, Composition, Identity, Inverse and Restriction §equality; hence the sum over of is . Note and , since and by Basic Properties of Functions: Equality, Composition, Identity, Inverse and Restriction §equality, each restriction having domain and the same values as the unrestricted map by Basic Properties of Functions: Equality, Composition, Identity, Inverse and Restriction §restriction.
Step 1 (removing one index). Let , and , a subset of ; is a set with only element by The Empty Set, the Unordered Pair and the Singleton §singleton. We show
The first equation is Finite Sets: Removing an Element, Injective Self-Maps, Infinite Sets, Sets of Permutations, Pairs and Extended Tuples §remove-element, applied to the finite set and . Since , and . For a set : if and only if for some or , that is, if and only if ; so by extensionality. If , then for some , so and , which is impossible; so . As and are finite, Counting: Intervals, Empty Sets and Singletons, Injective Images, Subsets, Unions and Products §union gives . Finally, Iterated Operations over Finite Sets: Singletons, Disjoint Unions, Reindexing, Products of Sets, Termwise Combination, Homomorphisms and Intervals §disjoint-union, applied to the disjoint finite sets and and to , whose sum over is the sum of , together with Iterated Operations over Finite Sets: Singletons, Disjoint Unions, Reindexing, Products of Sets, Termwise Combination, Homomorphisms and Intervals §singleton, applied to , and the remark on restrictions above, gives .
Step 2 (the empty index set). If and , then by Counting: Intervals, Empty Sets and Singletons, Injective Images, Subsets, Unions and Products §empty. Then has no element, so and by Counting: Intervals, Empty Sets and Singletons, Injective Images, Subsets, Unions and Products §empty; and by Sums and Products over a Finite Set and over an Interval §empty.
Step 3 (nonempty index sets). If and with , then : otherwise by Counting: Intervals, Empty Sets and Singletons, Injective Images, Subsets, Unions and Products §empty, so by Arithmetic of Addition on Omega: Recursion Rules, Associativity, Commutativity, Cancellation and Compatibility with the Order §zero-sum, contradicting from the setting. Hence has an element , as is the only set with no element; and for Step 1 gives , so by commutativity and Arithmetic of Addition on Omega: Recursion Rules, Associativity, Commutativity, Cancellation and Compatibility with the Order §cancellation.
The clause disjoint-union. For let state: for every subset of with , . holds by Step 2, both sides being . Assume , and let with . By Step 3 there is with of size , so by , and by Step 1
So holds, and by induction from on , from the setting, holds for every . Applying to gives .
The clause equal-blocks. Let with for every . For let state: for every subset of with , . holds since by Step 2 and by Arithmetic of Multiplication on Omega: Recursion Rules, Distributivity, Associativity, Commutativity, No Zero Divisors, Cancellation and Compatibility with the Order §zero. Assume , and let with . By Step 3 there is with , so by , and by Step 1
the last equality by Arithmetic of Multiplication on Omega: Recursion Rules, Distributivity, Associativity, Commutativity, No Zero Divisors, Cancellation and Compatibility with the Order §successor, as is the successor of by Natural Numbers Are the Successors in Omega: One Is Least and Not a Successor of a Natural Number, the Successor Is Injective, and N Is Closed under Addition and Multiplication §plus-one. So holds, and by induction from on , holds for every . Applying to and the clause disjoint-union shown above,
Loading…