Sketch: the fibres partition the domain, so the disjoint-union count gives the fibre formula; the other clauses follow from it.
Throughout, every subset of a finite set is 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)), and for a family of finite sets is a map (The Maps i β¦ #C(i) and S β¦ #S (i)); this applies to the fibres and to the sets and below; and natural numbers read in keep their order, their products and their finite sums (Reading Natural Numbers in β: Injectivity, Order and Pascal's Rule (ii), The Image of the Natural Numbers with Zero in a Commutative Ring Respects Zero, One, Sums, Products, Differences, Powers, and Finite Sums and Products (iii), The Image of the Natural Numbers with Zero in a Commutative Ring Respects Zero, One, Sums, Products, Differences, Powers, and Finite Sums and Products (vi)). Sums of natural numbers are taken in until Step 4.
Step 1: counting by fibres ((i)). The fibres , , are pairwise disjoint: if , then . Their union is : each fibre is a subset of , and each lies in the fibre over . Since is finite, the count of a disjoint finite union, The Number of Elements of a Disjoint Finite Union (i), applied to the index set and the family , gives
Step 2: fibres of equal size ((iv)). If every fibre has elements, then the same family, with The Number of Elements of a Disjoint Finite Union (ii), gives , and by commutativity of the multiplication of (Arithmetic of Multiplication on Omega: Recursion Rules, Distributivity, Associativity, Commutativity, No Zero Divisors, Cancellation and Compatibility with the Order (vi)).
Step 3: double counting ((ii)). The set is 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 (v)), hence so is its subset . Let and be the projections and . By (i) applied to and to ,
Fix . The map is a bijection from onto (Finite Sets: Removing an Element, Injective Self-Maps, Infinite Sets, Sets of Permutations, Pairs and Extended Tuples (v), with the set and the set ), so its restriction to is injective. It maps onto , because a pair has exactly when it is with . An injective map does not change the number of elements of a finite set: Counting: Intervals, Empty Sets and Singletons, Injective Images, Subsets, Unions and Products (iii), applied to the finite set and the map , gives . Thus the maps and from to are equal, their sums agree, and .
In the same way, for the map is injective, since equal ordered pairs have equal first components (The Characteristic Property of Ordered Pairs and Nested Tuples of Sets (i)), and its restriction to maps onto . Hence Counting: Intervals, Empty Sets and Singletons, Injective Images, Subsets, Unions and Products (iii), applied to and , gives for every , and .
Step 4: the pigeonhole principle ((iii)). Suppose, to the contrary, that fails for every . As is the successor of , this says that fails, that is, for every (The Order on Omega Is a Well-Order with Membership as Its Strict Order, and Nothing Lies between n and Its Successor (vi) with Uniqueness of Least and Greatest Elements, Properties of the Strict Order, and Trichotomy for Total Orders (vii)). We compare sums in , where these inequalities hold. Sums in preserve inequalities (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 (viii)) and sum a constant to the number of terms times it (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)); so, with (i),
and hence in . But the hypothesis says exactly that fails (Uniqueness of Least and Greatest Elements, Properties of the Strict Order, and Trichotomy for Total Orders (vii)). This contradiction shows that some has .
Loadingβ¦