TheoremBase

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.

Proof

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 N0\mathbb{N}_{0} as in The Natural Numbers and the Natural Numbers with Zero: Arithmetic, Order, Induction and Recursion §overloading. The order ≤\le of N0\mathbb{N}_{0} 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 u,v,w∈N0u,v,w\in\mathbb{N}_{0}. We use:

(O1) exactly one of u<vu<v, u=vu=v and v<uv<u holds, by Uniqueness of Least and Greatest Elements, Properties of the Strict Order, and Trichotomy for Total Orders §trichotomy; u≤vu\le v if and only if u<vu<v or u=vu=v, by Uniqueness of Least and Greatest Elements, Properties of the Strict Order, and Trichotomy for Total Orders §weak-strict; u<vu<v implies u≠vu\neq v, by Uniqueness of Least and Greatest Elements, Properties of the Strict Order, and Trichotomy for Total Orders §strict-characterization; and if u<vu<v and v<wv<w then u<wu<w, by Uniqueness of Least and Greatest Elements, Properties of the Strict Order, and Trichotomy for Total Orders §strict-transitive. In particular, if u<vu<v and v≤wv\le w, or u≤vu\le v and v<wv<w, then u<wu<w, by the second and fourth of these.

(O2) u<v+1u<v+1 if and only if u≤vu\le v, and v<v+1v<v+1: 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 m=um=u and n=vn=v, with S(v)=v+1S(v)=v+1 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) u≤vu\le v if and only if u+1≤v+1u+1\le v+1, and u<vu<v if and only if u+1<v+1u+1<v+1: by Arithmetic of Addition on Omega: Recursion Rules, Associativity, Commutativity, Cancellation and Compatibility with the Order §order, applied to 11, uu and vv in place of kk, mm and nn, together with Arithmetic of Addition on Omega: Recursion Rules, Associativity, Commutativity, Cancellation and Compatibility with the Order §commutative.

(O4) For n∈N0n\in\mathbb{N}_{0} and u∈N0u\in\mathbb{N}_{0}: u∈[n]u\in[n] if and only if u∈Nu\in\mathbb{N} and u≤nu\le n, since [n]={k∈N:k≤n}[n]=\{k\in\mathbb{N}:k\le n\} by Intervals of Natural Numbers: Initial Segments, Adding One Element, Splitting and Shifting §segment.

Clause gap. Let n∈N0n\in\mathbb{N}_{0} and j∈[n+1]j\in[n+1]; by (O4), j∈Nj\in\mathbb{N} and j≤n+1j\le n+1. Let B=[n+1]∖{j}B=[n+1]\setminus\{j\}, a set by Sets and Maps: Ordinary Notation §sets. We apply Maps Defined by Cases §cases to A=[n]A=[n], this BB, the property P(k)P(k): k<jk<j, and the expressions t1(k)=kt_{1}(k)=k and t2(k)=k+1t_{2}(k)=k+1; its hypotheses hold as follows. Let k∈[n]k\in[n], so k∈Nk\in\mathbb{N} and k≤nk\le n by (O4).

If k<jk<j: since k≤nk\le n and n<n+1n<n+1 by (O2), k<n+1k<n+1 by (O1), so k≤n+1k\le n+1 by (O1) and k∈[n+1]k\in[n+1] by (O4); and k≠jk\neq j by (O1). So t1(k)=k∈Bt_{1}(k)=k\in B.

If not k<jk<j: then k=jk=j or j<kj<k by (O1), that is, j≤kj\le k. Now k+1∈Nk+1\in\mathbb{N} 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 k+1≤n+1k+1\le n+1 by (O3), so k+1∈[n+1]k+1\in[n+1] by (O4); and j<k+1j<k+1 by (O2), so k+1≠jk+1\neq j by (O1). So t2(k)=k+1∈Bt_{2}(k)=k+1\in B.

Hence Maps Defined by Cases §cases gives exactly one map gj:[n]→Bg_{j}:[n]\to B with gj(k)=kg_{j}(k)=k for k<jk<j and gj(k)=k+1g_{j}(k)=k+1 for the other k∈[n]k\in[n], which by (O1) are those with k≥jk\ge j; this is the map gjg_{j} of the statement.

gjg_{j} preserves <<. Let k,k′∈[n]k,k'\in[n] with k<k′k<k'. If k′<jk'<j, then k<jk<j by (O1), and gj(k)=k<k′=gj(k′)g_{j}(k)=k<k'=g_{j}(k'). If k<jk<j and not k′<jk'<j, then gj(k)=k<k′g_{j}(k)=k<k' and k′<k′+1=gj(k′)k'<k'+1=g_{j}(k') by (O2), so gj(k)<gj(k′)g_{j}(k)<g_{j}(k') by (O1). If not k<jk<j, then j≤kj\le k as above, so j<k′j<k' by (O1) and hence not k′<jk'<j by (O1); thus gj(k)=k+1<k′+1=gj(k′)g_{j}(k)=k+1<k'+1=g_{j}(k') by (O3). These cases are exhaustive.

gjg_{j} is injective. Let k,k′∈[n]k,k'\in[n] with k≠k′k\neq k'. By (O1), k<k′k<k' or k′<kk'<k, so gj(k)<gj(k′)g_{j}(k)<g_{j}(k') or gj(k′)<gj(k)g_{j}(k')<g_{j}(k) by the previous paragraph, and in either case gj(k)≠gj(k′)g_{j}(k)\neq g_{j}(k') by (O1). So gjg_{j} is injective by Injective, Surjective and Bijective Functions between Classes §injective.

gjg_{j} is surjective. Let m∈Bm\in B; so m∈Nm\in\mathbb{N}, m≤n+1m\le n+1 by (O4), and m≠jm\neq j, whence m<jm<j or j<mj<m by (O1).

If m<jm<j: as j≤n+1j\le n+1, m<n+1m<n+1 by (O1), so m≤nm\le n by (O2), and m∈[n]m\in[n] by (O4); since m<jm<j, gj(m)=mg_{j}(m)=m.

If j<mj<m: by Arithmetic and Order of the Natural Numbers §least, applied to a=ja=j, 1≤j1\le j, so 1<m1<m by (O1) and m≠1m\neq1 by (O1). By Arithmetic and Order of the Natural Numbers §predecessor, applied to a=ma=m, there is k∈Nk\in\mathbb{N} with m=k+1m=k+1. From j<k+1j<k+1, j≤kj\le k by (O2), so not k<jk<j by (O1). From k+1=m≤n+1k+1=m\le n+1, k≤nk\le n by (O3), so k∈[n]k\in[n] by (O4). Hence gj(k)=k+1=mg_{j}(k)=k+1=m.

So gjg_{j} is surjective by Injective, Surjective and Bijective Functions between Classes §surjective, and a bijection from [n][n] onto [n+1]∖{j}[n+1]\setminus\{j\} by Injective, Surjective and Bijective Functions between Classes §bijective.

Clause reversal. Let N∈NN\in\mathbb{N} and a∈[N]a\in[N]; so a∈Na\in\mathbb{N} and a≤Na\le N by (O4). As N<N+1N<N+1 by (O2), a<N+1a<N+1 by (O1), hence a≤N+1a\le N+1 by (O1). By The Difference of Two Natural Numbers with Zero §difference, applied to m=am=a and n=N+1n=N+1, the difference N+1−aN+1-a is the unique j∈N0j\in\mathbb{N}_{0} with a+j=N+1a+j=N+1.

N+1−a∈[N]N+1-a\in[N]. Let j=N+1−aj=N+1-a. If j=0j=0, then N+1=a+0=aN+1=a+0=a by Arithmetic of Addition on Omega: Recursion Rules, Associativity, Commutativity, Cancellation and Compatibility with the Order §zero, contradicting a<N+1a<N+1 by (O1); so j≠0j\neq0 and j∈N0∖{0}=Nj\in\mathbb{N}_{0}\setminus\{0\}=\mathbb{N} (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 aa, 1≤a1\le a, so by Arithmetic of Addition on Omega: Recursion Rules, Associativity, Commutativity, Cancellation and Compatibility with the Order §order, applied to jj, 11 and aa in place of kk, mm and nn, j+1≤j+aj+1\le j+a; and j+a=a+j=N+1j+a=a+j=N+1 by Arithmetic of Addition on Omega: Recursion Rules, Associativity, Commutativity, Cancellation and Compatibility with the Order §commutative. So j+1≤N+1j+1\le N+1, whence j≤Nj\le N by (O3), and j∈[N]j\in[N] by (O4).

Hence, by Sets and Maps: Ordinary Notation §maps, r:[N]→[N]r:[N]\to[N], r(a)=N+1−ar(a)=N+1-a, is a map.

r∘r=id[N]r\circ r=\mathrm{id}_{[N]}. Let a∈[N]a\in[N] and j=r(a)j=r(a), so a+j=N+1a+j=N+1. By The Difference of Two Natural Numbers with Zero §difference, applied to m=jm=j and n=N+1n=N+1, r(j)=N+1−jr(j)=N+1-j is the unique i∈N0i\in\mathbb{N}_{0} with j+i=N+1j+i=N+1; and i=ai=a satisfies this, as j+a=a+j=N+1j+a=a+j=N+1 by Arithmetic of Addition on Omega: Recursion Rules, Associativity, Commutativity, Cancellation and Compatibility with the Order §commutative. So r(r(a))=ar(r(a))=a. By Basic Properties of Functions: Equality, Composition, Identity, Inverse and Restriction §composition, applied to F=G=rF=G=r, r∘rr\circ r is a map from [N][N] to [N][N] with (r∘r)(a)=r(r(a))=a(r\circ r)(a)=r(r(a))=a, and id[N](a)=a\mathrm{id}_{[N]}(a)=a by Basic Properties of Functions: Equality, Composition, Identity, Inverse and Restriction §identity. Both maps have domain [N][N] and equal values, so r∘r=id[N]r\circ r=\mathrm{id}_{[N]} 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 F=rF=r and G=rG=r with A=B=[N]A=B=[N], rr is bijective and r=r−1r=r^{-1}: a↦N+1−aa\mapsto N+1-a is a bijection from [N][N] onto [N][N] and is its own inverse.

Citations

Loading…

Dependencies

Uses0

Loading…

Comments

Log in to comment.

Loading…