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.

Q\mathbb{Q} is countably infinite

Statement

QN\mathbb{Q} \approx \mathbb{N} (Equinumerous sets, ABA \approx B and ABA \preceq B): the rationals are countably infinite (Finite, countably infinite, countable, uncountable).

No choice principle is used. The one place where a reader expects a choice, "pick a representative a/ba/b of each rational", is exactly where Every rational has a positive-denominator representative applies: every rational has a representative with positive denominator, so the map (a,b)[(a,b)](a,b) \mapsto [(a,b)] defined on Z×Z>0\mathbb{Z} \times \mathbb{Z}_{>0} is already surjective onto Q\mathbb{Q}, and countability follows from a surjection without ever selecting a representative. The same device handles Z\mathbb{Z}, which is a surjective image of N×N\mathbb{N} \times \mathbb{N} by construction (The integers as equivalence classes of pairs of naturals).

Facts & Assumptions

Given: Z=(N×N)/\mathbb{Z} = (\mathbb{N} \times \mathbb{N})/\sim with quotient map (a,b)[(a,b)](a,b) \mapsto [(a,b)] (The integers as equivalence classes of pairs of naturals), and Q\mathbb{Q} the set of classes [(a,b)][(a,b)] of pairs of integers with b0b \ne 0 (The rationals as equivalence classes of pairs of integers). Write Z>0={bZ:b>0}\mathbb{Z}_{>0} = \{\, b \in \mathbb{Z} : b > 0 \,\} (Order on the integers).

[L1]

Finite, countably infinite, at most countable, uncountable (Finite, countably infinite, countable, uncountable).

[L2]

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

[L3]

A nonempty XX is at most countable iff there is a surjection NX\mathbb{N} \to X; and from such a surjection ss the map xmin{k:s(k)=x}x \mapsto \min\{\, k : s(k) = x \,\} is an injection XNX \to \mathbb{N} (A nonempty set is at most countable iff it is a surjective image of N\mathbb{N}).

[L4]

There is a bijection β:NN×N\beta : \mathbb{N} \to \mathbb{N} \times \mathbb{N} (N×NN\mathbb{N} \times \mathbb{N} \approx \mathbb{N}).

[L5]

A product of two at most countable sets is at most countable (A product of two at most countable sets is at most countable); a subset of an at most countable set is at most countable (Every subset of an at most countable set is at most countable).

[L6]

Every rational is [(a,b)][(a,b)] for some integers aa and bb with b>0b > 0 (Every rational has a positive-denominator representative).

[L7]

N\mathbb{N} embeds injectively in Z\mathbb{Z} by n[(n,0)]n \mapsto [(n,0)] (The naturals embed in the integers) and Z\mathbb{Z} embeds injectively in Q\mathbb{Q} by k[(k,1)]k \mapsto [(k,1)] (The integers embed in the rationals).

[L8]

\preceq in both directions gives \approx (The Schröder-Bernstein theorem).

[L9]

The relation of Order on the integers is a total order on Z\mathbb{Z} compatible with the ring structure (The integers form a totally ordered ring), and Z>0\mathbb{Z}_{>0} \ne \varnothing: on representatives 0<[(a,b)]0 < [(a,b)] holds exactly when b<ab < a in N\mathbb{N} (Order on the integers), and 0<10 < 1 in N\mathbb{N}, since 1=σ(0)01 = \sigma(0) \ne 0 (The von Neumann naturals form a Peano system) while 0<n0 < n for every nonzero natural nn (claim 4 of On N\mathbb{N} the order is membership: m<n    mnm < n \iff m \in n); so the integer [(1,0)][(1,0)] is positive.

Proof

technique · direct
1.1

The quotient map π:N×NZ\pi : \mathbb{N} \times \mathbb{N} \to \mathbb{Z}, π(a,b)=[(a,b)]\pi(a,b) = [(a,b)], is surjective, since every integer is by definition such a class; hence πβ:NZ\pi \circ \beta : \mathbb{N} \to \mathbb{Z} is a surjection, and Z\mathbb{Z} \ne \varnothing, so Z\mathbb{Z} is at most countable by [L3].

givenL2L3L4
1.2

The composite ι:NQ\iota : \mathbb{N} \to \mathbb{Q}, n[([(n,0)],1)]n \mapsto [([(n,0)],1)], of the two embeddings of [L7] is injective, so NQ\mathbb{N} \preceq \mathbb{Q}.

L2L7
2.1

Z>0\mathbb{Z}_{>0} is a subset of Z\mathbb{Z}, hence at most countable by [L5], and it is nonempty by [L9]; therefore Z×Z>0\mathbb{Z} \times \mathbb{Z}_{>0} is at most countable by [L5] and nonempty, so [L3] provides a surjection u:NZ×Z>0u : \mathbb{N} \to \mathbb{Z} \times \mathbb{Z}_{>0}.

step 1.1L3L5L9
3.1

The map ρ:Z×Z>0Q\rho : \mathbb{Z} \times \mathbb{Z}_{>0} \to \mathbb{Q}, ρ(a,b)=[(a,b)]\rho(a,b) = [(a,b)], is well defined because b>0b > 0 gives b0b \ne 0, and it is surjective by [L6]; hence ρu:NQ\rho \circ u : \mathbb{N} \to \mathbb{Q} is a surjection, Q\mathbb{Q} is at most countable, and [L3] turns that surjection into an injection j:QNj : \mathbb{Q} \to \mathbb{N}, so QN\mathbb{Q} \preceq \mathbb{N}.

step 2.1givenL2L3L6
4.1

From NQ\mathbb{N} \preceq \mathbb{Q} and QN\mathbb{Q} \preceq \mathbb{N}, the Schröder-Bernstein theorem [L8] yields a bijection QN\mathbb{Q} \to \mathbb{N}; hence QN\mathbb{Q} \approx \mathbb{N} and Q\mathbb{Q} is countably infinite.

step 1.2step 3.1L1L8

Remarks

  • Why Schröder-Bernstein rather than a count. The usual last line is "countable, and infinite because N\mathbb{N} injects into it". Turning that into a proof requires knowing that a set containing an injective copy of N\mathbb{N} is not finite, which is the pigeonhole principle, The pigeonhole principle on N\mathbb{N}, proved earlier on this page. That route is now available, but it is a detour: The Schröder-Bernstein theorem gets the bijection directly from the two injections already in hand, and it is choice free, so nothing is lost.

  • Lowest terms are not needed and are not available. A frequent presentation injects Q\mathbb{Q} into Z×N\mathbb{Z} \times \mathbb{N} by sending each rational to its representative in lowest terms. That map needs greatest common divisors, which are not available at this point in the reading order; they are developed later on the divisibility-and-GCD page. Working with a surjection instead of an injection avoids that later dependency. Working with a surjection instead of an injection avoids the issue entirely: repetitions in an enumeration are harmless (A nonempty set is at most countable iff it is a surjective image of N\mathbb{N}).

  • The proof shows in passing that ZN\mathbb{Z} \approx \mathbb{N}, by the same two-injection argument applied to [L7] and step 1.1, and that Q×Q\mathbb{Q} \times \mathbb{Q}, Q3\mathbb{Q}^3 and so on are countable (A product of two at most countable sets is at most countable). The contrast with R\mathbb{R} is uncountable (Cantor's nested intervals, 1874) is the point of the page: adding all limits of rational approximations to Q\mathbb{Q} changes the size of the set, not merely its arithmetic.

Depends on

Used by

…and 5 more results.

Dependency tree · next 3 levels

Direct dependencies and their dependencies through the next three levels: 67 results over 22 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