Alphabeta Math
TheoremStatement: AI-adaptedProof: AI-adaptedSession-authored (Fable 5 assisted)precheck passjudge pass (z-ai/glm-5.2)verified 2026-07-26 (claude-opus-5)
How statement and proof provenance work

The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.

  • Literature-sourced — the exact statement appears in a cited source; only wording and notation differ.
  • AI-adapted — a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
  • AI-generated — a genuinely novel statement formulated by AI, with no source for the claim itself.

These labels describe origin, not correctness: citations and verification chips remain separate evidence.

N×NN\mathbb{N} \times \mathbb{N} \approx \mathbb{N}

Statement

N×NN\mathbb{N} \times \mathbb{N} \approx \mathbb{N} (Equinumerous sets, ABA \approx B and ABA \preceq B): the plane of pairs of naturals is countably infinite (Finite, countably infinite, countable, uncountable).

The bijection is exhibited, not merely asserted to exist. Define 2m2^m by recursion on mm (The recursion theorem) by 20=12^0 = 1 and 2σ(m)=2m+2m2^{\sigma(m)} = 2^m + 2^m, and set

J(m,n)=2mσ(n+n),that isJ(m,n)=2m(2n+1).J(m,n) = 2^m \cdot \sigma(n + n), \qquad \text{that is} \qquad J(m,n) = 2^m(2n+1).

Then JJ is a bijection from N×N\mathbb{N} \times \mathbb{N} onto N{0}\mathbb{N} \setminus \{0\}, and σ\sigma is a bijection from N\mathbb{N} onto N{0}\mathbb{N} \setminus \{0\}, so σ1J\sigma^{-1} \circ J is a bijection N×NN\mathbb{N} \times \mathbb{N} \to \mathbb{N}. What makes JJ bijective is the decomposition of a nonzero natural into a power of two times an odd number, existence and uniqueness both.

Facts & Assumptions

Given: Addition and multiplication on N\mathbb{N} with m+0=mm + 0 = m, m+σ(k)=σ(m+k)m + \sigma(k) = \sigma(m + k), m0=0m \cdot 0 = 0 and mσ(k)=mk+mm \cdot \sigma(k) = m \cdot k + m (Addition of natural numbers, Multiplication of natural numbers); 1:=σ(0)1 := \sigma(0). Call kNk \in \mathbb{N} even if k=j+jk = j + j for some jj and odd if k=σ(j+j)k = \sigma(j + j) for some jj.

[L1]

Recursion: for a set XX, x0Xx_0 \in X and F:XXF : X \to X there is h:NXh : \mathbb{N} \to X with h(0)=x0h(0) = x_0 and h(σ(m))=F(h(m))h(\sigma(m)) = F(h(m)) (The recursion theorem).

[L2]

Peano: σ(k)0\sigma(k) \ne 0 and σ\sigma is injective (The von Neumann naturals form a Peano system); every nonzero natural is a successor (Every nonzero natural number is a successor).

[L3]

Arithmetic laws: ++ and \cdot are commutative and associative, 1n=n=n11 \cdot n = n = n \cdot 1, 0+n=n0 + n = n, a(b+c)=ab+aca(b + c) = ab + ac and σ(a)+n=σ(a+n)\sigma(a) + n = \sigma(a + n) (Addition is commutative, Addition is associative, Left identity for addition, Multiplication is commutative, Multiplication is associative, Zero and one under multiplication, Distributivity and the successor law for multiplication, Left successor law for addition).

[L4]

Order laws: exactly one of a<ba < b, a=ba = b, b<ab < a holds (Trichotomy of the order on N\mathbb{N}); \le is reflexive, antisymmetric, transitive and total (\le is a linear order on N\mathbb{N}), so << is transitive and mixes with \le, in the sense that each of a<b<ca < b < c, ab<ca \le b < c and a<bca < b \le c gives a<ca < c: transitivity of \le gives aca \le c in every case, while a=ca = c would force b=cb = c or a=ba = b by antisymmetry, contradicting whichever of the two hypotheses is strict; and << is irreflexive, because a<aa < a would demand aaa \ne a (Order on the natural numbers); ab    a+kb+ka \le b \iff a + k \le b + k and a<b    a+k<b+ka < b \iff a + k < b + k (Order is compatible with addition); a<b    σ(a)ba < b \iff \sigma(a) \le b, so a<σ(a)a < \sigma(a) (Discreteness: σ(n)\sigma(n) is the immediate successor); and aba \le b means a+c=ba + c = b for some cc (Order on the natural numbers), where moreover a<ba < b holds exactly when that cc is nonzero, since c=0c = 0 gives b=ab = a, while c0c \ne 0 with a=ba = b would give c+a=a+c=a=0+ac + a = a + c = a = 0 + a and hence c=0c = 0 by additive cancellation (Addition is cancellative, Addition is commutative, Left identity for addition).

[L5]

Cancellation: ak=bka \cdot k = b \cdot k with k0k \ne 0 gives a=ba = b (Cancellation for multiplication by a nonzero factor); and ab=0a \cdot b = 0 forces a=0a = 0 or b=0b = 0 (The natural numbers have no zero divisors).

[L7]

Bijections, injections, surjections, composition and inverses (Injection, surjection, bijection); ABA \approx B means a bijection ABA \to B exists (Equinumerous sets, ABA \approx B and ABA \preceq B).

Proof

technique · direct
1.1

Apply [L1] with X=NX = \mathbb{N}, x0=1x_0 = 1 and F(x)=x+xF(x) = x + x: this defines m2mm \mapsto 2^m with 20=12^0 = 1 and 2σ(m)=2m+2m2^{\sigma(m)} = 2^m + 2^m for all mm.

L1construct
1.2

Every natural is even or odd: by induction, 0=0+00 = 0 + 0 is even; and if k=j+jk = j + j is even then σ(k)=σ(j+j)\sigma(k) = \sigma(j + j) is odd, while if k=σ(j+j)k = \sigma(j + j) is odd then σ(k)=σ(σ(j+j))=σ(σ(j)+j)=σ(j)+σ(j)\sigma(k) = \sigma(\sigma(j+j)) = \sigma(\sigma(j) + j) = \sigma(j) + \sigma(j) is even, using σ(j)+j=σ(j+j)\sigma(j) + j = \sigma(j + j) and x+σ(y)=σ(x+y)x + \sigma(y) = \sigma(x + y).

L3L6given
1.3

No natural is both even and odd, that is j+jσ(i+i)j + j \ne \sigma(i + i) for all i,ji, j: if jij \le i then j+ji+j=j+ii+i<σ(i+i)j + j \le i + j = j + i \le i + i < \sigma(i + i); if i<ji < j then σ(i)j\sigma(i) \le j, so σ(i+i)<σ(σ(i+i))=σ(σ(i)+i)=σ(i)+σ(i)j+j\sigma(i+i) < \sigma(\sigma(i+i)) = \sigma(\sigma(i) + i) = \sigma(i) + \sigma(i) \le j + j; in both cases the two sides differ by irreflexivity of <<.

L3L4given
1.4

σ\sigma is a bijection from N\mathbb{N} onto N{0}\mathbb{N} \setminus \{0\}: it is injective by [L2], its values are nonzero by [L2], and every nonzero natural is a value of σ\sigma by [L2].

L2L7
2.1

2m02^m \ne 0 for every mm: by induction, 20=σ(0)02^0 = \sigma(0) \ne 0; and if 2m02^m \ne 0 then 2m=σ(a)2^m = \sigma(a) for some aa by [L2], so 2σ(m)=2m+2m=2m+σ(a)=σ(2m+a)02^{\sigma(m)} = 2^m + 2^m = 2^m + \sigma(a) = \sigma(2^m + a) \ne 0.

step 1.1L2L6given
2.2

2m+d=2m2d2^{m + d} = 2^m \cdot 2^d for all m,dm, d: by induction on dd, at d=0d = 0 both sides are 2m2^m since m+0=mm + 0 = m and 2m1=2m2^m \cdot 1 = 2^m; and if 2m+d=2m2d2^{m+d} = 2^m \cdot 2^d then 2m+σ(d)=2σ(m+d)=2m+d+2m+d=2m2d+2m2d=2m(2d+2d)=2m2σ(d)2^{m + \sigma(d)} = 2^{\sigma(m+d)} = 2^{m+d} + 2^{m+d} = 2^m 2^d + 2^m 2^d = 2^m (2^d + 2^d) = 2^m \cdot 2^{\sigma(d)}.

step 1.1L3L6given
3.1

Define J:N×NNJ : \mathbb{N} \times \mathbb{N} \to \mathbb{N} by J(m,n)=2mσ(n+n)J(m,n) = 2^m \cdot \sigma(n+n). Its values are nonzero: 2m02^m \ne 0 by step 2.1 and σ(n+n)0\sigma(n+n) \ne 0 by [L2], so J(m,n)0J(m,n) \ne 0 by [L5]. Thus JJ maps into N{0}\mathbb{N} \setminus \{0\}.

step 1.1step 2.1L2L5construct
4.1

JJ is injective. Suppose 2mσ(n+n)=2mσ(n+n)2^m \sigma(n+n) = 2^{m'} \sigma(n'+n'); by [L4] we may assume mmm \le m', the other case being symmetric, and write m=m+dm' = m + d. By step 2.2 the right side is 2m(2dσ(n+n))2^m (2^d \sigma(n'+n')), so cancelling the nonzero factor 2m2^m with [L5] and [L3] gives σ(n+n)=2dσ(n+n)\sigma(n+n) = 2^d \cdot \sigma(n'+n'). If d0d \ne 0 then d=σ(e)d = \sigma(e) by [L2] and 2d=2e+2e2^d = 2^e + 2^e, so the right side equals w+ww + w with w=2eσ(n+n)w = 2^e \sigma(n'+n'), by [L3]; that would make σ(n+n)\sigma(n+n) both odd and even, contradicting step 1.3. Hence d=0d = 0 and m=mm' = m, and then σ(n+n)=σ(n+n)\sigma(n+n) = \sigma(n'+n') gives n+n=n+nn + n = n' + n' by injectivity of σ\sigma, whence n=nn = n' because n<nn < n' would force n+n<n+n=n+n<n+nn + n < n' + n = n + n' < n' + n' by [L4] and [L3], and symmetrically for n<nn' < n.

step 1.1step 1.3step 2.1step 2.2step 3.1L2L3L4L5
4.2

JJ is surjective onto N{0}\mathbb{N} \setminus \{0\}: by strong induction [L6] we show every kk is 00 or a value of JJ. Let k0k \ne 0 and assume the claim for all j<kj < k. By step 1.2, kk is odd or even. If k=σ(j+j)k = \sigma(j+j) then k=1σ(j+j)=20σ(j+j)=J(0,j)k = 1 \cdot \sigma(j+j) = 2^0 \sigma(j+j) = J(0,j) by [L3]. If k=j+jk = j + j then j0j \ne 0, since j=0j = 0 would give k=0k = 0; also j<j+j=kj < j + j = k by [L4], because j+j=kj + j = k with j0j \ne 0; so the hypothesis at jj and j0j \ne 0 give j=2mσ(n+n)j = 2^m \sigma(n+n) for some m,nm, n, and then k=j+j=2mσ(n+n)+2mσ(n+n)=(2m+2m)σ(n+n)=2σ(m)σ(n+n)=J(σ(m),n)k = j + j = 2^m \sigma(n+n) + 2^m \sigma(n+n) = (2^m + 2^m) \sigma(n+n) = 2^{\sigma(m)} \sigma(n+n) = J(\sigma(m), n) by [L3] and step 1.1.

step 1.1step 1.2step 3.1L3L4L6
5.1

Therefore JJ is a bijection from N×N\mathbb{N} \times \mathbb{N} onto N{0}\mathbb{N} \setminus \{0\}, and composing with the inverse of the bijection σ\sigma of step 1.4 yields the bijection σ1J:N×NN\sigma^{-1} \circ J : \mathbb{N} \times \mathbb{N} \to \mathbb{N}; hence N×NN\mathbb{N} \times \mathbb{N} \approx \mathbb{N} and N×N\mathbb{N} \times \mathbb{N} is countably infinite.

step 1.4step 4.1step 4.2L7

Remarks

  • Written out, σ1(J(m,n))=2m(2n+1)1\sigma^{-1}(J(m,n)) = 2^m(2n+1) - 1, the standard bijection. The detour through N{0}\mathbb{N} \setminus \{0\} avoids subtraction, which the naturals do not have as a total operation.

  • The proof is a proof of unique factorisation into a power of two times an odd number: step 4.2 is existence and step 4.1 is uniqueness. Nothing weaker would do, and no appeal to a picture of the diagonal enumeration is made anywhere. Nothing here uses any choice principle.

  • The Cantor pairing polynomial (m,n)(m+n)(m+n+1)2+n(m,n) \mapsto \tfrac{(m+n)(m+n+1)}{2} + n is an alternative bijection. It is not used because halving is not available in N\mathbb{N} without first developing division with remainder, whereas doubling, which is all 2m2^m needs, is immediate from addition.

Depends on

Used by

Dependency tree · next 3 levels

Direct dependencies and their dependencies through the next three levels: 53 results over 21 levels. An arrow runs from a result to what uses it, and this result sits at the bottom with a heavier outline. Click the chart to enlarge it.

Sources