Defines the gap map by cases, shows it preserves the strict order and hits every element other than j (using predecessors above j), and shows that N+1-a lies in [N] and that a ↦ N+1-a composed with itself is the identity.
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.
Order facts. Expressions are read in as in The Natural Numbers and the Natural Numbers with Zero: Arithmetic, Order, Induction and Recursion §overloading. The order of is a well-order by The Order on Omega Is a Well-Order with Membership as Its Strict Order, and Nothing Lies between n and Its Successor §well-order, hence a total order by Well-Orders on a Set §well-order, and is its associated strict relation by The Order on Omega Is a Well-Order with Membership as Its Strict Order, and Nothing Lies between n and Its Successor §strict. Let . We use:
(O1) exactly one of , and holds, by Uniqueness of Least and Greatest Elements, Properties of the Strict Order, and Trichotomy for Total Orders §trichotomy; if and only if or , by Uniqueness of Least and Greatest Elements, Properties of the Strict Order, and Trichotomy for Total Orders §weak-strict; implies , by Uniqueness of Least and Greatest Elements, Properties of the Strict Order, and Trichotomy for Total Orders §strict-characterization; and if and then , by Uniqueness of Least and Greatest Elements, Properties of the Strict Order, and Trichotomy for Total Orders §strict-transitive. In particular, if and , or and , then , by the second and fourth of these.
(O2) if and only if , and : by The Order on Omega Is a Well-Order with Membership as Its Strict Order, and Nothing Lies between n and Its Successor §successor, applied to and , with 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.
(O3) if and only if , and if and only if : by Arithmetic of Addition on Omega: Recursion Rules, Associativity, Commutativity, Cancellation and Compatibility with the Order §order, applied to , and in place of , and , together with Arithmetic of Addition on Omega: Recursion Rules, Associativity, Commutativity, Cancellation and Compatibility with the Order §commutative.
(O4) For and : if and only if and , since by Intervals of Natural Numbers: Initial Segments, Adding One Element, Splitting and Shifting §segment.
Clause gap. Let and ; by (O4), and . Let , a set by Sets and Maps: Ordinary Notation §sets. We apply Maps Defined by Cases §cases to , this , the property : , and the expressions and ; its hypotheses hold as follows. Let , so and by (O4).
If : since and by (O2), by (O1), so by (O1) and by (O4); and by (O1). So .
If not : then or by (O1), that is, . Now 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 §closed, and by (O3), so by (O4); and by (O2), so by (O1). So .
Hence Maps Defined by Cases §cases gives exactly one map with for and for the other , which by (O1) are those with ; this is the map of the statement.
preserves . Let with . If , then by (O1), and . If and not , then and by (O2), so by (O1). If not , then as above, so by (O1) and hence not by (O1); thus by (O3). These cases are exhaustive.
is injective. Let with . By (O1), or , so or by the previous paragraph, and in either case by (O1). So is injective by Injective, Surjective and Bijective Functions between Classes §injective.
is surjective. Let ; so , by (O4), and , whence or by (O1).
If : as , by (O1), so by (O2), and by (O4); since , .
If : by Arithmetic and Order of the Natural Numbers §least, applied to , , so by (O1) and by (O1). By Arithmetic and Order of the Natural Numbers §predecessor, applied to , there is with . From , by (O2), so not by (O1). From , by (O3), so by (O4). Hence .
So is surjective by Injective, Surjective and Bijective Functions between Classes §surjective, and a bijection from onto by Injective, Surjective and Bijective Functions between Classes §bijective.
Clause reversal. Let and ; so and by (O4). As by (O2), by (O1), hence by (O1). By The Difference of Two Natural Numbers with Zero §difference, applied to and , the difference is the unique with .
. Let . If , then by Arithmetic of Addition on Omega: Recursion Rules, Associativity, Commutativity, Cancellation and Compatibility with the Order §zero, contradicting by (O1); so and (The Natural Numbers and the Natural Numbers with Zero: Arithmetic, Order, Induction and Recursion §sets). By Arithmetic and Order of the Natural Numbers §least, applied to , , so by Arithmetic of Addition on Omega: Recursion Rules, Associativity, Commutativity, Cancellation and Compatibility with the Order §order, applied to , and in place of , and , ; and by Arithmetic of Addition on Omega: Recursion Rules, Associativity, Commutativity, Cancellation and Compatibility with the Order §commutative. So , whence by (O3), and by (O4).
Hence, by Sets and Maps: Ordinary Notation §maps, , , is a map.
. Let and , so . By The Difference of Two Natural Numbers with Zero §difference, applied to and , is the unique with ; and satisfies this, as by Arithmetic of Addition on Omega: Recursion Rules, Associativity, Commutativity, Cancellation and Compatibility with the Order §commutative. So . By Basic Properties of Functions: Equality, Composition, Identity, Inverse and Restriction §composition, applied to , is a map from to with , and by Basic Properties of Functions: Equality, Composition, Identity, Inverse and Restriction §identity. Both maps have domain and equal values, so by Basic Properties of Functions: Equality, Composition, Identity, Inverse and Restriction §equality.
By Basic Properties of Functions: Equality, Composition, Identity, Inverse and Restriction §inverse-criterion, applied to and with , is bijective and : is a bijection from onto and is its own inverse.
Loading…