The pairs of natural numbers are enumerated along the diagonals by an explicit bijection built from the triangular numbers; the other clauses compose surjections from the natural numbers with maps defined by cases or by formulas, without any choice.
For (i): the identity is a bijective map by Basic Properties of Functions: Equality, Composition, Identity, Inverse and Restriction (iii), hence surjective by Injective, Surjective and Bijective Functions between Classes (iii), so is countable by Countable Set (i).
For (ii), and denote the order and the strict order of , as in The Natural Numbers and the Natural Numbers with Zero: Arithmetic, Order, Induction and Recursion (v). Sums of natural numbers are rearranged by Arithmetic and Order of the Natural Numbers (i) and Arithmetic and Order of the Natural Numbers (ii), cancelled by Arithmetic and Order of the Natural Numbers (v) and compared by Arithmetic and Order of the Natural Numbers (ix), and inequalities are chained and compared by Arithmetic and Order of the Natural Numbers (vi) and Arithmetic and Order of the Natural Numbers (vii). Two further consequences are used throughout: for we have , by Arithmetic and Order of the Natural Numbers (viii); and if , then , since for some by Arithmetic and Order of the Natural Numbers (viii), by Arithmetic and Order of the Natural Numbers (x), and so .
Triangular numbers. The map , , exists (Maps and Relations Given by Formulas (ii)), its values lying in 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 (vi) (under the guard , , and are terms of type by Typed Terms under a Predicative Guard: Variables, Parameters, Values of Maps and Ordered Pairs, and Predicative Equations and Memberships between Them (i) and Typed Terms under a Predicative Guard: Variables, Parameters, Values of Maps and Ordered Pairs, and Predicative Equations and Memberships between Them (ii), so is one by Sums and Differences of Natural Numbers as Typed Terms (i)). By Recursion on the Natural Numbers Starting at One (i), applied with the set , the element and this map, there is a map with and for every . It has three properties. First, for every , as . Second, for every : , and if , then for some by Arithmetic and Order of the Natural Numbers (xii), and , so . Third, if and , then , and hence implies . Indeed, fix and let , a set (by The Order on Omega (ii) its condition is the membership of a pair term in the class : under the guard , and are terms of type by Typed Terms under a Predicative Guard: Variables, Parameters, Values of Maps and Ordered Pairs, and Predicative Equations and Memberships between Them (i) and Typed Terms under a Predicative Guard: Variables, Parameters, Values of Maps and Ordered Pairs, and Predicative Equations and Memberships between Them (ii), is one by Sums and Differences of Natural Numbers as Typed Terms (i), and are terms of type by Typed Terms under a Predicative Guard: Variables, Parameters, Values of Maps and Ordered Pairs, and Predicative Equations and Memberships between Them (iii), and their pair is a term by Typed Terms under a Predicative Guard: Variables, Parameters, Values of Maps and Ordered Pairs, and Predicative Equations and Memberships between Them (iv); the membership is expressed by a predicative formula by Typed Terms under a Predicative Guard: Variables, Parameters, Values of Maps and Ordered Pairs, and Predicative Equations and Memberships between Them (vi), so is a set of the form of Typed Terms under a Predicative Guard: Variables, Parameters, Values of Maps and Ordered Pairs, and Predicative Equations and Memberships between Them (vii)). Then by the first property, and if , then , so . By Arithmetic and Order of the Natural Numbers (xiii), ; and if , then for some by Arithmetic and Order of the Natural Numbers (viii), so .
The diagonal of a pair. Let . Since by Arithmetic and Order of the Natural Numbers (x) and , we have , so , and by Arithmetic and Order of the Natural Numbers (xii) there is with ; it is unique by cancellation, and we write for it. As , , so . Hence by the second property of , and, adding to both sides by Arithmetic and Order of the Natural Numbers (ix),
so , as by Arithmetic and Order of the Natural Numbers (xi).
The map . For let , the difference in ; it is defined because in the order of , which agrees with that of by The Natural Numbers and the Natural Numbers with Zero: Arithmetic, Order, Induction and Recursion (x). Thus and , by The Difference of Two Natural Numbers with Zero (i). Here , since by Arithmetic of Addition on Omega: Recursion Rules, Associativity, Commutativity, Cancellation and Compatibility with the Order (i), which differs from , since excludes equality by Arithmetic and Order of the Natural Numbers (vii); so , as by The Natural Numbers and the Natural Numbers with Zero: Arithmetic, Order, Induction and Recursion (ii). This defines a map (Maps and Relations Given by Formulas (ii); under the guard , , and are terms of type by Typed Terms under a Predicative Guard: Variables, Parameters, Values of Maps and Ordered Pairs, and Predicative Equations and Memberships between Them (i) and Typed Terms under a Predicative Guard: Variables, Parameters, Values of Maps and Ordered Pairs, and Predicative Equations and Memberships between Them (ii), , and are terms of type by Sums and Differences of Natural Numbers as Typed Terms (i) and Typed Terms under a Predicative Guard: Variables, Parameters, Values of Maps and Ordered Pairs, and Predicative Equations and Memberships between Them (iii), and, as for all , the difference defining is a term of type by Sums and Differences of Natural Numbers as Typed Terms (ii)), being a set by Membership in a Cartesian Product, and the Cartesian Product of Two Sets Is a Set (ii). For , the uniqueness in The Difference of Two Natural Numbers with Zero (i) gives if and only if . Since and, by the display above, , cancelling shows that, for ,
Where lies. Let , and . Then , and for every with . For the first, , as by Arithmetic and Order of the Natural Numbers (x), so . For the second, let with . Then , as , so for some by Arithmetic and Order of the Natural Numbers (xii); and , since would give . As , by Arithmetic and Order of the Natural Numbers (ix), and with this gives, by Arithmetic and Order of the Natural Numbers (ii) and Arithmetic and Order of the Natural Numbers (i) for the equalities and Arithmetic and Order of the Natural Numbers (ix) for the inequality,
so by Arithmetic and Order of the Natural Numbers (ix), and therefore . By the third property of , , so .
is injective. Every element of is a pair with , by The Cartesian Product of Two Classes (i) and Membership in a Cartesian Product, and the Cartesian Product of Two Sets Is a Set (i). Let with , and let and . If , the previous paragraph applied to and gives , while applied to it gives , which is impossible; likewise is impossible, so by Arithmetic and Order of the Natural Numbers (vii). Then , so , and , so . Hence , and is injective by Injective, Surjective and Bijective Functions between Classes (i).
is surjective. Let . The set (by The Order on Omega (i) its condition is the membership of a pair term in the class : under the guard , and are terms of type by Typed Terms under a Predicative Guard: Variables, Parameters, Values of Maps and Ordered Pairs, and Predicative Equations and Memberships between Them (i) and Typed Terms under a Predicative Guard: Variables, Parameters, Values of Maps and Ordered Pairs, and Predicative Equations and Memberships between Them (ii), is one by Typed Terms under a Predicative Guard: Variables, Parameters, Values of Maps and Ordered Pairs, and Predicative Equations and Memberships between Them (iii), and the pair is a term by Typed Terms under a Predicative Guard: Variables, Parameters, Values of Maps and Ordered Pairs, and Predicative Equations and Memberships between Them (iv); the membership is expressed by a predicative formula by Typed Terms under a Predicative Guard: Variables, Parameters, Values of Maps and Ordered Pairs, and Predicative Equations and Memberships between Them (vi), so is a set of the form of Typed Terms under a Predicative Guard: Variables, Parameters, Values of Maps and Ordered Pairs, and Predicative Equations and Memberships between Them (vii)) contains by the second property of , so by Arithmetic and Order of the Natural Numbers (xv) it has an element with for every . As , there is with , by Arithmetic and Order of the Natural Numbers (viii). We show . If , then , so , and , so . If , then for some by Arithmetic and Order of the Natural Numbers (xii), and by Arithmetic and Order of the Natural Numbers (xi); so , since would give . Hence by Arithmetic and Order of the Natural Numbers (vii), and so . With this gives, by Arithmetic and Order of the Natural Numbers (ii) and Arithmetic and Order of the Natural Numbers (i) for the equalities and Arithmetic and Order of the Natural Numbers (ix) for the inequality,
so , by Arithmetic and Order of the Natural Numbers (i) and Arithmetic and Order of the Natural Numbers (ix). Therefore , as by Arithmetic and Order of the Natural Numbers (xi), and so for some , by Arithmetic and Order of the Natural Numbers (viii). Then , so by the uniqueness of , and gives , where by Membership in a Cartesian Product, and the Cartesian Product of Two Sets Is a Set (i). So is surjective by Injective, Surjective and Bijective Functions between Classes (ii).
Thus is a bijection by Injective, Surjective and Bijective Functions between Classes (iii), and its inverse is a bijection by Basic Properties of Functions: Equality, Composition, Identity, Inverse and Restriction (vi). Explicitly, for , is the pair found in the previous paragraph: with the least such that , is given by and by (the least such is unique by Arithmetic and Order of the Natural Numbers (vi), and and exist by Arithmetic and Order of the Natural Numbers (viii), as in the previous paragraph, and are unique by Arithmetic and Order of the Natural Numbers (v)). Since is surjective, is countable by Countable Set (i).
For (iii), let be finite: by Finite Sets (i) there are and a bijection , where by Intervals of Natural Numbers: Initial Segments, Adding One Element, Splitting and Shifting (i) (a set by Routine Facts Used Without Citation: Arithmetic, Maps, Predicativity and Indices (v), with by Elements of a Segment Are Natural Numbers, and Mixed Transitivity of the Order on the Natural Numbers (i)). If , then is countable by Countable Set (i). Otherwise fix . By Maps Defined by Cases (i) there is a map with for with , and for the other , as for by Values, Restriction and Equality of a Map, and the Map as a Defined Set Symbol (ii). Every is for some , by Injective, Surjective and Bijective Functions between Classes (iii) and Injective, Surjective and Bijective Functions between Classes (ii); then and . So is surjective, and is countable by Countable Set (i).
For (iv), let be countable and . If , then is countable by Countable Set (i). Otherwise fix . Then , as , so by Countable Set (i) there is a surjective map . By Maps Defined by Cases (i) there is a map with for with , and for the other . Every lies in , so for some , by Injective, Surjective and Bijective Functions between Classes (ii); then , so . So is surjective, and is countable by Countable Set (i).
For (v), let be countable and surjective. If , then , since every is for some , by Injective, Surjective and Bijective Functions between Classes (ii); so is countable by Countable Set (i). Otherwise there is a surjective map , by Countable Set (i), and the composite is a surjective map by Basic Properties of Functions: Equality, Composition, Identity, Inverse and Restriction (ii) and Basic Properties of Functions: Equality, Composition, Identity, Inverse and Restriction (viii); so is countable by Countable Set (i).
For (vi), let be countable. The image is a set, by Sets and Maps: Ordinary Notation (vii). For we have by Values, Restriction and Equality of a Map, and the Map as a Defined Set Symbol (ii), so by The Image and the Preimage of a Class under a Class (i); hence there is a map with for every (Maps and Relations Given by Formulas (i)). Every satisfies for some , by The Image and the Preimage of a Class under a Class (i), and then by Values, Restriction and Equality of a Map, and the Map as a Defined Set Symbol (i), as . So is surjective, and is countable by (v).
For (vii), let and be countable; is a set by Membership in a Cartesian Product, and the Cartesian Product of Two Sets Is a Set (ii), and every element of it is a pair with and , by The Cartesian Product of Two Classes (i) and Membership in a Cartesian Product, and the Cartesian Product of Two Sets Is a Set (i). If or , then , which is countable by Countable Set (i). Otherwise there are surjective maps and , by Countable Set (i). Since for , by Values, Restriction and Equality of a Map, and the Map as a Defined Set Symbol (ii) and Membership in a Cartesian Product, and the Cartesian Product of Two Sets Is a Set (i), there is a map with (Maps and Relations Given by Formulas (ii)). For there are with and , by Injective, Surjective and Bijective Functions between Classes (ii), and then . So is surjective, and is countable by (ii) and (v).
For (viii): is a set whose elements are the classes with , by The Integers (i), so there is a map with (Maps and Relations Given by Formulas (ii); under the guard , and are terms of type by Typed Terms under a Predicative Guard: Variables, Parameters, Values of Maps and Ordered Pairs, and Predicative Equations and Memberships between Them (i), so is a term of type by Integer and Rational Brackets as Typed Terms (i)). It is surjective, since every is for some by The Integers (ii). Hence is countable by (ii) and (v).
For (ix): is a set whose elements are the classes with and , by The Rational Numbers (i), so there is a map with (Maps and Relations Given by Formulas (ii); under the guard , is a term of type and one of type by Typed Terms under a Predicative Guard: Variables, Parameters, Values of Maps and Ordered Pairs, and Predicative Equations and Memberships between Them (i), so is a term of type by Integer and Rational Brackets as Typed Terms (ii)). It is surjective, since every is for some and by The Rational Numbers (ii). The set is countable by (viii), (i) and (vii), so is countable by (v).
Loading…