Alphabeta Math
TheoremStatement: AI-adaptedProof: AI-adaptedprecheck 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 is countably infinite

Statement

Q≈N (Equinumerous sets, A≈B and A⪯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/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)] defined on Z×Z>0 is already surjective onto Q, and countability follows from a surjection without ever selecting a representative. The same device handles Z, which is a surjective image of N×N by construction (The integers as equivalence classes of pairs of naturals).

Facts & Assumptions

Given: Z=(N×N)/∼ with quotient map (a,b)↦[(a,b)] (The integers as equivalence classes of pairs of naturals), and Q the set of classes [(a,b)] of pairs of integers with b≠0 (The rationals as equivalence classes of pairs of integers). Write Z>0={ b∈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; ≈ and ⪯ (Injection, surjection, bijection, Equinumerous sets, A≈B and A⪯B).

[L3]

A nonempty X is at most countable iff there is a surjection N→X; and from such a surjection s the map x↦min⁡{ k:s(k)=x } is an injection X→N (A nonempty set is at most countable iff it is a surjective image of N).

[L4]

There is a bijection β:N→N×N (N×N≈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)] for some integers a and b with b>0 (Every rational has a positive-denominator representative).

[L7]

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

[L8]

⪯ in both directions gives ≈ (The Schröder-Bernstein theorem).

[L9]

The relation of Order on the integers is a total order on Z compatible with the ring structure (The integers form a totally ordered ring), and Z>0≠∅: on representatives 0<[(a,b)] holds exactly when b<a in N (Order on the integers), and 0<1 in N, since 1=σ(0)≠0 (The von Neumann naturals form a Peano system) while 0<n for every nonzero natural n (claim 4 of On N the order is membership: m<n  ⟺  m∈n); so the integer [(1,0)] is positive.

Proof

technique · direct
1.1

The quotient map π:N×N→Z, π(a,b)=[(a,b)], is surjective, since every integer is by definition such a class; hence π∘β:N→Z is a surjection, and Z≠∅, so Z is at most countable by [L3].

givenL2L3L4
1.2

The composite ι:N→Q, n↦[([(n,0)],1)], of the two embeddings of [L7] is injective, so N⪯Q.

L2L7
2.1

Z>0 is a subset of Z, hence at most countable by [L5], and it is nonempty by [L9]; therefore Z×Z>0 is at most countable by [L5] and nonempty, so [L3] provides a surjection u:N→Z×Z>0.

step 1.1L3L5L9
3.1

The map ρ:Z×Z>0→Q, ρ(a,b)=[(a,b)], is well defined because b>0 gives b≠0, and it is surjective by [L6]; hence ρ∘u:N→Q is a surjection, Q is at most countable, and [L3] turns that surjection into an injection j:Q→N, so Q⪯N.

step 2.1givenL2L3L6
4.1

From N⪯Q and Q⪯N, the Schröder-Bernstein theorem [L8] yields a bijection Q→N; hence Q≈N and 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 injects into it". Turning that into a proof requires knowing that a set containing an injective copy of N is not finite, which is the pigeonhole principle, The pigeonhole principle on 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 into Z×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).

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

Depends on

Used by

…and 96 more results.

Dependency tree · two levels

52 results within two dependency steps of this one, each drawn at its shortest distance from it. An arrow runs from a result to what uses it, so the chart reads left to right and ends at this result, which carries a heavier outline. Every node is a link to that result. Click elsewhere on the chart to enlarge it.

Sources