Each count is read off from an explicit bijection with a segment [n], using the shift for intervals and the concatenation of enumerations for disjoint unions. The inequalities come from the pigeonhole principle, and the product formula follows by induction on the number of elements of the second factor.
Throughout, by The Number of Elements of a Finite Set §cardinality and 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 §unique, a bijection from onto a finite set shows . Recall from Intervals of Natural Numbers: Initial Segments, Adding One Element, Splitting and Shifting §segment that and , and from Intervals of Natural Numbers: Initial Segments, Adding One Element, Splitting and Shifting §successor that with .
Intervals. The identity of is a bijection by Basic Properties of Functions: Equality, Composition, Identity, Inverse and Restriction §identity, so . Let . If , then by Intervals of Natural Numbers: Initial Segments, Adding One Element, Splitting and Shifting §shift the map is a bijection from onto , and its inverse is a bijection by Basic Properties of Functions: Equality, Composition, Identity, Inverse and Restriction §inverse; so . If , put and , both in since . By Intervals of Natural Numbers: Initial Segments, Adding One Element, Splitting and Shifting §shift the map is a bijection from onto , so .
Empty sets and singletons. If , there is a bijection ; since and is surjective, . Conversely is a bijection by Basic Properties of Functions: Equality, Composition, Identity, Inverse and Restriction §identity, so . The map is a bijection , so .
Images. Let , let be a bijection, and let be a map. If is injective, the map from to is injective by Basic Properties of Functions: Equality, Composition, Identity, Inverse and Restriction §preservation, and it is surjective because every element of is for some ; so . In general, for the set is a nonempty subset of ; let be its least element, given by Arithmetic and Order of the Natural Numbers §well-order. Then satisfies , so is injective. With and a bijection , the map is injective by Basic Properties of Functions: Equality, Composition, Identity, Inverse and Restriction §preservation, so 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 §pigeonhole.
Subsets. Let , , , and let and be bijections. The map from to is injective, so 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 §pigeonhole. Suppose and choose . Extending by gives a map , which is injective because is injective, and . Then is an injective map , so 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 §pigeonhole, and . Hence only if .
Unions. First let and be disjoint, , , with bijections and . By Intervals of Natural Numbers: Initial Segments, Adding One Element, Splitting and Shifting §split (with , , in place of , , ) and Intervals of Natural Numbers §segment, is the union of the disjoint sets and , and by Intervals of Natural Numbers: Initial Segments, Adding One Element, Splitting and Shifting §shift the map is a bijection from onto , with inverse . So , given by for and for , is a bijection onto on the first piece and onto on the second; as the pieces and the sets and are disjoint, is a bijection, and . In general, , and are 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 §union and 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. Since is the disjoint union of and , and is the disjoint union of and , the disjoint case gives
Products. Fix . We show for every that for every finite with , checking and the passage from to ; the class of for which this holds then contains and is closed under , so it is by Arithmetic and Order of the Natural Numbers §induction, and by The Natural Numbers with Zero and Their Embedding into the Integers §naturals. If , then by the clause on empty sets, and , so . Assume the claim for and let , with a bijection . Put and . The restriction is a bijection by Basic Properties of Functions: Equality, Composition, Identity, Inverse and Restriction §restriction, so ; moreover and , as is injective and . Hence is the union of the disjoint sets and , all 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 §union and 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 §small. The map from to is injective with image , so by the image clause. By the union clause and the induction hypothesis, .
Loading…