Alphabeta Math
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.

✓ 15 results · all verified · 15 also independently AI-judged
Every result on this page is machine-checked by a proof checker and read in full by a delegated reviewing agent on the owner's instruction; the judge is an additional, independent cross-model AI review of the proofs; all 15 also cleared it.

Countability and Uncountability

1 · Prerequisites

2 · Summary

Objective. This page separates the infinite sets of analysis into those that can be listed and those that cannot. It fixes the vocabulary of size without introducing cardinal numbers, proves that Q can be listed and that R cannot, and keeps an explicit account of which results need a choice principle and which do not.

One preliminary is settled first. The naturals page defines the order on N additively, m≤n when m+k=n for some k, and only remarks that on the von Neumann naturals this coincides with membership. Every argument below reads a natural number as the set of its predecessors, so that coincidence is proved here, as On N the order is membership: m<n  ⟺  m∈n, from the additive order and induction alone. The ordinals page proves the same thing in far greater generality, but it comes much later in the library, so citing it here would be circular.

A second preliminary is the pigeonhole principle, The pigeonhole principle on N: no injection σ(n)→n exists. It is what makes finiteness behave. A finite set is equinumerous with exactly one natural number, so its number of elements is well defined; N is equinumerous with no natural number, so the three size classes below are mutually exclusive and not merely exhaustive; and no natural number is equinumerous with a proper subset of itself, which is the ZF half of the comparison between "infinite" and "Dedekind-infinite" drawn at the end of the page. It is proved here for the same reason as the previous item: it is elementary, several later items quote it, and the pages that would otherwise supply it come later.

The measuring stick is equinumerosity: A≈B when a bijection exists, A⪯B when an injection does. Two facts make this usable. The first is The Schröder-Bernstein theorem, which turns injections in both directions into a bijection, and does so with no choice at all. The second is A nonempty set is at most countable iff it is a surjective image of N, which says that for a nonempty set, being countable is the same as being listable with repetitions allowed. Almost every countability proof below is an application of that criterion to an explicitly written surjection. The pairing bijection (m,n)↦2m(2n+1) of N×N≈N is exhibited and proved bijective, not waved at as a diagonal enumeration, and it is what makes products, unions and Q countable.

R is proved uncountable by Cantor's nested-interval argument of 1874, not by the decimal diagonal. This is a deliberate and load-bearing choice. Decimal expansions are infinite series, which this library has not yet constructed, so a diagonal proof of the uncountability of R would rest on machinery that does not exist here, and would be circular in the order this library is built. The nested-interval proof needs only the least-upper-bound property and the recursion theorem. The diagonal argument survives in the form where it is entirely at home, on power sets, as Cantor's theorem: A≺P(A), which uses nothing about R whatsoever.

The interval construction is also written so that it makes no choices. At each stage the current interval is cut into three closed thirds and the rule takes the first one, in a fixed order, that misses f(n); the first and third thirds are disjoint, so such a third always exists. That determinism is what turns the construction into a single application of The recursion theorem. The familiar phrasing "pick a subinterval avoiding f(n)" would quietly be using dependent choice, and the whole point of the thirds is to avoid it. Nothing in that construction depends on the starting interval being (0,1), and Every nondegenerate interval of R is uncountable re-seeds it to prove that every nondegenerate interval, open or closed, is uncountable; that is the form the last of the false statements below actually needs.

The choice principles The Axiom of Countable Choice (ACω) and The axiom of dependent choice: a relation in which every element is related to something admits an N-indexed chain are stated here as optional assumptions, not proved. Every lemma and theorem proved here is a theorem of ZF except Countable unions of at most countable sets, assuming ACω, which assumes the Axiom of Countable Choice (The Axiom of Countable Choice (ACω)) and flags the exact step that spends it: the selection, for every index at once, of one surjection onto An out of the many that exist. In particular Every subset of an at most countable set is at most countable and A nonempty set is at most countable iff it is a surjective image of N are choice free precisely because a nonempty set of naturals has a least element, Q is countably infinite is choice free because every rational has a representative with positive denominator, and The irrationals are uncountable uses only a two-set union, which needs nothing at all. The three false statements at the end guard exactly these distinctions: two of them record, conditionally on the consistency of ZF and with external references rather than proofs, that the countable union theorem and the existence of countably infinite subsets of infinite sets are genuinely not theorems of ZF; the third refutes the belief that an uncountable set of reals must contain an interval.

One older debt is settled here. Every nonempty finite set of reals has a maximum and a minimum proved that every set {a0,…,an} of reals has a maximum and a minimum, and then stipulated, explicitly without proof, that the nonempty finite subsets of R are exactly the sets of that form, because no definition of finiteness existed at the time. With Finite, countably infinite, countable, uncountable in place, The nonempty finite subsets of R are exactly the listable ones proves the stipulation, so the usual reading of that lemma is now a theorem.

3 · Logical flowchart

4 · Definitions, theorems and proofs

DefinitionDefinition: AI-adaptedProof: Not applicablejudge pass (z-ai/glm-5.2)verified 2026-07-26 (claude-opus-5)Open item page →

Equinumerous sets, A≈B and A⪯B

Definition

Let A and B be sets (Injection, surjection, bijection for the terminology).

  • A and B are equinumerous, written A≈B, if there exists a bijection f:A→B.
  • A is dominated by B, written A⪯B, if there exists an injection f:A→B.
  • A≺B abbreviates: A⪯B and not A≈B.

Remarks

  • ≈ behaves like an equivalence relation. It is reflexive (idA is a bijection), symmetric (the inverse of a bijection is a bijection) and transitive (a composition of bijections is a bijection). The careful statement is that these three properties hold for all sets, and that ≈ restricted to any set of sets is an equivalence relation on that set. It is not a relation on "the set of all sets", which does not exist; the reflexivity, symmetry and transitivity statements are schemas about arbitrary sets, which is all any argument below uses.

  • ⪯ is reflexive and transitive, for the same reasons, and A≈B implies both A⪯B and B⪯A. The converse, that A⪯B and B⪯A together give A≈B, is a theorem and not a triviality: it is The Schröder-Bernstein theorem, and it is proved without any use of choice.

  • Subsets. A⊆B implies A⪯B, since the inclusion map is injective. The reverse fails badly for infinite sets: the successor map σ is a bijection N→N∖{0}, being injective and never zero (The von Neumann naturals form a Peano system) and hitting every nonzero natural (Every nonzero natural number is a successor), so N≈N∖{0} and a proper subset can be equinumerous with the whole.

  • ≈ is the library's substitute for "has the same number of elements", stated without introducing cardinal numbers. Everything on this page is phrased with ≈, ⪯ and ≺ alone, so no theory of cardinals is presupposed.

LemmaStatement: AI-adaptedProof: AI-adaptedprecheck passjudge pass (z-ai/glm-5.2)verified 2026-07-26 (claude-opus-5)Open item page →

On N the order is membership: m<n  ⟺  m∈n

Statement

Let N=ω be the von Neumann naturals, with 0=∅ and σ(n)=n∪{n} (The natural numbers N (von Neumann)), and let ≤ and < be the order defined additively by m≤n  ⟺  ∃k∈N (m+k=n) and m<n  ⟺  (m≤n and m≠n) (Order on the natural numbers). Then N is a transitive set: every element of a natural number is itself a natural number. Moreover, for all m,n∈N:

  1. m<n  ⟺  m∈n;
  2. m≤n  ⟺  m⊆n;
  3. n<σ(n), and m<σ(n)  ⟺  m≤n;
  4. 0≤n, and 0∈n whenever n≠0.

Consequently n={ m∈N:m<n } for every n: a natural number is exactly the set of the naturals below it.

Why this is proved here. Order on the natural numbers defines the order additively and records the identification with membership only as an orienting remark, without proof. The countability arguments on this page use that identification as a working fact, so it is established here, from the additive order and induction alone. Nothing below uses ordinals or any later material.

Facts & Assumptions

Given: N=ω with 0=∅ and σ(n)=n∪{n} (The natural numbers N (von Neumann)); m≤n  ⟺  ∃k∈N (m+k=n) and m<n  ⟺  (m≤n and m≠n) (Order on the natural numbers). Note that < is irreflexive by this definition alone, since m<m would require m≠m.

[L1]

Induction: if P(0) holds and P(n) implies P(σ(n)) for every n∈N, then P(n) holds for every n∈N (The principle of mathematical induction).

[L2]

Addition: m+0=m and m+σ(k)=σ(m+k) (Addition of natural numbers); and 0+n=n for every n (Left identity for addition).

[L3]

≤ is a linear order on N: reflexive, antisymmetric, transitive and total (≤ is a linear order on N); and exactly one of m<n, m=n, n<m holds, so the failure of m≤n is exactly n<m (Trichotomy of the order on N).

[L4]

Discreteness: m<n  ⟺  σ(m)≤n (Discreteness: σ(n) is the immediate successor).

[L5]

Every natural number is a transitive set and satisfies n∉n (Every natural number is a transitive set and is not a member of itself).

[L6]

n≠σ(n) for every n∈N (No natural number equals its own successor).

Proof

technique · direct
1.1

N is a transitive set. Let P(n) be "n⊆N". P(0) holds because 0=∅ has no elements. If n⊆N then, since n is itself an element of N, the set σ(n)=n∪{n} is also a subset of N, so P(σ(n)) holds. By induction n⊆N for every n∈N, which is the transitivity of N.

givenL1
1.2

For every n∈N one has n∈σ(n) and n<σ(n). Indeed n∈n∪{n}=σ(n) directly; and taking k=σ(0) gives n+σ(0)=σ(n+0)=σ(n), so n≤σ(n), while n≠σ(n), whence n<σ(n).

givenL2L6
1.3

Mixed transitivity, in both directions. (i) If m≤n and n<p then m<p: transitivity of ≤ gives m≤p; if m=p then p≤n, and n≤p holds because n<p, so antisymmetry gives n=p, contradicting n≠p. Hence m≠p and m<p. (ii) If m<n and n≤p then m<p: transitivity of ≤ again gives m≤p; if m=p then n≤p=m, and m≤n holds because m<n, so antisymmetry gives m=n, contradicting m≠n. Hence m≠p and m<p.

givenL3
1.4

No natural number satisfies m<0. For every m one has 0+m=m, so 0≤m; if also m≤0 then antisymmetry gives m=0, and m<0 additionally demands m≠0.

givenL2L3
2.1

For all m,n∈N: m<σ(n)  ⟺  m≤n. If m≤n then, with n<σ(n) from step 1.2, step 1.3(i) gives m<σ(n). Conversely assume m<σ(n) and suppose m≤n fails; then n<m by trichotomy, so σ(n)≤m by discreteness, and step 1.3(i) applied to σ(n)≤m and m<σ(n) gives σ(n)<σ(n), which irreflexivity forbids. Hence m≤n.

step 1.2step 1.3givenL3L4
2.2

Membership implies order: for every n∈N, every m∈n satisfies m<n. Let P(n) be that statement; P(0) is vacuous since 0=∅. Assume P(n) and let m∈σ(n)=n∪{n}. If m∈n then m<n by P(n), and n<σ(n) by step 1.2, so m<σ(n) by step 1.3(i), whose hypothesis m≤n follows from m<n. If m=n then m<σ(n) by step 1.2. So P(σ(n)) holds, and by induction P(n) holds for every n; the elements m involved are natural numbers by step 1.1, so the statement is about N throughout.

step 1.1step 1.2step 1.3givenL1
3.1

Order implies membership: for every n∈N, every m∈N with m<n satisfies m∈n. Let Q(n) be that statement; Q(0) holds vacuously by step 1.4. Assume Q(n) and let m<σ(n). By step 2.1, m≤n, that is m<n or m=n. In the first case m∈n by Q(n); in the second m∈{n}. Either way m∈n∪{n}=σ(n), so Q(σ(n)) holds, and by induction Q(n) holds for every n.

step 1.4step 2.1givenL1
4.1

Steps 2.2 and 3.1 together give m<n  ⟺  m∈n for all m,n∈N, which is claim 1; and since every element of n is a natural number by step 1.1, this says exactly n={ m∈N:m<n }.

step 1.1step 2.2step 3.1
5.1

If m≤n then m⊆n: let x∈m; then x∈N by step 1.1 and x<m by step 4.1, so x<n by step 1.3(ii) applied to x<m and m≤n, whence x∈n by step 4.1.

step 1.1step 1.3step 4.1
5.2

If m⊆n then m≤n: suppose m≤n fails; then n<m by trichotomy, so n∈m by step 4.1, and m⊆n would give n∈n, which is impossible. Hence m≤n.

step 4.1L3L5
5.3

For every n∈N one has 0≤n by step 1.4; if in addition n≠0 then 0<n, hence 0∈n by step 4.1.

step 1.4step 4.1given
6.1

The transitivity of N is step 1.1, claim 1 is step 4.1, claim 2 is steps 5.1 and 5.2 together, claim 3 is steps 1.2 and 2.1, and claim 4 is step 5.3; the description n={ m∈N:m<n } is part of step 4.1.

step 1.1step 1.2step 2.1step 4.1step 5.1step 5.2step 5.3∎

Remarks

LemmaStatement: AI-adaptedProof: AI-adaptedprecheck passjudge pass (z-ai/glm-5.2)verified 2026-07-26 (claude-opus-5)Open item page →

The pigeonhole principle on N

Statement

Let N be the von Neumann naturals, with 0=∅ and σ(n)=n∪{n} (The natural numbers N (von Neumann)), and let < be the order of Order on the natural numbers, so that m<n  ⟺  m∈n and n={ m∈N:m<n } (On N the order is membership: m<n  ⟺  m∈n). Write ≈ for equinumerosity (Equinumerous sets, A≈B and A⪯B). Then:

  1. for every n∈N there is no injection σ(n)→n;
  2. if m<n then there is no injection n→m;
  3. if n≈m with n,m∈N, then n=m;
  4. N≉n for every n∈N;
  5. no natural number is equinumerous with a proper subset of itself: if A⊆n and n≈A, then A=n.

Claim 1 is the pigeonhole principle in its sharpest form, that n+1 pigeons do not fit injectively into n holes; the other four are the consequences the library actually quotes. Claim 3 says a finite set is equinumerous with exactly one natural number, so "the number of elements" is well defined. Claim 4 says N is infinite. Claim 5 says no natural number is Dedekind-infinite.

Why this is proved here. The next item on this page defines finiteness as equinumerosity with a natural number, and the three size classes it introduces are exhaustive by construction but mutually exclusive only because of claim 4. Several later items also need claim 3 or claim 5. The principle is elementary and belongs with the naturals, but it is about counting rather than about order, so it is proved here, immediately before finiteness is defined, from induction and the identification of the order with membership alone. Nothing below uses ordinals, cardinals, or any later material.

Facts & Assumptions

Given: N with 0=∅ and σ(n)=n∪{n}, and N closed under σ, since it is an inductive set (The natural numbers N (von Neumann)); the order m≤n  ⟺  ∃k∈N (m+k=n) and m<n  ⟺  (m≤n and m≠n) (Order on the natural numbers); and A≈B meaning that a bijection A→B exists (Equinumerous sets, A≈B and A⪯B).

[L1]

Induction: if P(0) holds and P(n) implies P(σ(n)) for every n∈N, then P(n) holds for every n∈N (The principle of mathematical induction).

[L2]

On N the order is membership (On N the order is membership: m<n  ⟺  m∈n): N is a transitive set, so every element of a natural number is again a natural number; m<n  ⟺  m∈n; m≤n  ⟺  m⊆n; and consequently n={ m∈N:m<n }.

[L3]

Every natural number is a transitive set and satisfies n∉n (Every natural number is a transitive set and is not a member of itself).

[L4]

Trichotomy: for all m,n∈N exactly one of m<n, m=n, n<m holds (Trichotomy of the order on N).

[L5]

Every natural number n≠0 equals σ(m) for some m∈N (Every nonzero natural number is a successor).

[L6]

Maps (Injection, surjection, bijection): f is injective when f(x)=f(y) forces x=y, and bijective when it is injective and surjective, so every bijection is an injection; a composite of two injections is an injection, a composite of two bijections is a bijection, and a bijection has a two sided inverse which is again a bijection. Two immediate consequences of the definition of injectivity are used below: the restriction of an injection to a subset of its domain is an injection, injectivity being a condition on pairs of points of the domain; and a map whose values all lie in a subset C of its codomain may be read as a map into C, without affecting injectivity.

Proof

technique · direct
1.1

Transpositions. For a set X and a,b∈X define τa,bX:X→X by τa,bX(a)=b, τa,bX(b)=a, and τa,bX(x)=x for x∉{a,b}; the clauses agree where they overlap (if a=b all three read a↦a, so the map is the identity), so this is a well defined function, and τa,bX∘τa,bX=idX, whence τa,bX is a bijection of X onto itself. It carries X∖{a} onto X∖{b}: when a=b this is the identity statement, and when a≠b the elements of X∖{a} are b, sent to a, together with the x∉{a,b}, each fixed, so the image is {a}∪(X∖{a,b})=X∖{b}.

construct
1.2

Base case of claim 1. Here σ(0)=0∪{0}={0} and 0=∅, so a function f:σ(0)→0 would have to supply a value f(0)∈∅, and ∅ has no elements; hence there is no function σ(0)→0 at all, injective or not.

given
1.3

Inductive step, hypotheses. Fix n∈N, assume there is no injection σ(n)→n, and suppose towards a contradiction that some f:σ(σ(n))→σ(n) is injective. Note σ(σ(n))=σ(n)∪{σ(n)}, so σ(n)⊆σ(σ(n)) and σ(n)∈σ(σ(n)); note also n∈σ(n).

assume-hypgiven
2.1

Normalising f at the top point. Put a=f(σ(n)), an element of σ(n) because σ(n) is the codomain of f, and let τ=τa,nσ(n), which is legitimate since a and n both lie in σ(n). Then f′=τ∘f:σ(σ(n))→σ(n) is a composite of an injection with a bijection, hence injective, and f′(σ(n))=τ(a)=n.

step 1.1step 1.3L6
2.2

Every k∈σ(n) satisfies k≠σ(n): were k=σ(n) we would have σ(n)∈σ(n), and no natural number is a member of itself, σ(n) included, since N is closed under σ.

step 1.3L3given
3.1

Let k∈σ(n). Then k∈σ(σ(n)), so f′(k) is defined; and k≠σ(n), so injectivity of f′ gives f′(k)≠f′(σ(n))=n. Since f′(k)∈σ(n)=n∪{n}, this forces f′(k)∈n. Hence the restriction of f′ to σ(n) takes all its values in n and is an injection σ(n)→n.

step 2.1step 2.2L6
4.1

Claim 1. The injection produced in step 3.1 contradicts the assumption made in step 1.3, so no injection σ(σ(n))→σ(n) exists. Since n was arbitrary, this is exactly the induction step for the property P(n) that there is no injection σ(n)→n, and step 1.2 is P(0); so P(n) holds for every n∈N.

step 1.2step 1.3step 3.1L1
5.1

Claim 2. Let m<n. Then m∈n, and m≤n gives m⊆n, so σ(m)=m∪{m}⊆n. If some g:n→m were injective, its restriction to σ(m) would be an injection σ(m)→m, which step 4.1 forbids. Hence there is no injection n→m.

step 4.1L2L6
5.2

Claim 4. Since N is closed under σ we have σ(n)∈N, and N is a transitive set, so σ(n)⊆N. If some F:N→n were a bijection, it would in particular be an injection, and its restriction to σ(n) would be an injection σ(n)→n, which step 4.1 forbids. Hence N≉n.

step 4.1L2L6given
5.3

Claim 5. Let A⊆n with n≈A, and suppose A≠n. Then n≠0, since the only subset of 0=∅ is ∅=0 itself, so n=σ(m) for some m∈N; moreover m∈σ(m)=n and m∉m, so n∖{m}=(m∪{m})∖{m}=m. Choose j∈n∖A, possible because A⊆n and A≠n, and let h:n→A be a bijection; since j∉A we have A⊆n∖{j}, so h read as a map into n∖{j} is an injection n→n∖{j}. The transposition τj,mn is a bijection of n carrying n∖{j} onto n∖{m}=m, so its composite with h is an injection n→m, that is an injection σ(m)→m, which step 4.1 forbids. Hence A=n.

step 1.1step 4.1L3L5L6choose
6.1

Claim 3. Let n,m∈N with n≈m, and suppose n≠m. By trichotomy either m<n or n<m. If m<n, a bijection n→m is in particular an injection n→m, which step 5.1 forbids. If n<m, a bijection n→m has an inverse bijection m→n, which is in particular an injection m→n, and step 5.1 forbids that too, with the roles of m and n interchanged. Hence n=m.

step 5.1L4L6
7.1

Claims 1, 2, 3, 4 and 5 are established in steps 4.1, 5.1, 6.1, 5.2 and 5.3 respectively.

step 4.1step 5.1step 5.2step 5.3step 6.1∎

Remarks

  • Where the work is. Everything rests on claim 1, and claim 1 rests on one device: a map into σ(n) can be modified by a transposition of the codomain so that the top point σ(n) goes to the top value n, after which the rest of the map misses n and lands in n. Without that normalisation the inductive hypothesis does not apply, since an arbitrary injection σ(σ(n))→σ(n) need not send anything to n.

  • No choice is used. Every map built above is defined by an explicit rule: the transposition is given by three cases, and the only element selected anywhere is a single j∈n∖A in step 5.3, a single choice from a nonempty set, which needs no choice principle.

  • Claim 5 and the two notions of infinity. A set is Dedekind-infinite when it is equinumerous with a proper subset of itself. Claim 5 says no natural number is, and transporting along a bijection extends this to every finite set: Dedekind-infinite implies infinite in ZF. The successor map σ:N→N∖{0} shows N itself is Dedekind-infinite, so the restriction to natural numbers in claim 5 is essential. The converse requires later choice and model-theoretic analysis and is not used here.

  • Relation to the ordinals page. Cardinal (initial ordinal) and cardinality ↗ calls an ordinal κ a cardinal when no α∈κ satisfies α≈κ. Claim 3 makes every natural number a cardinal and claim 4 makes ω one, which is what licenses the traditional ℵ0=ω. That page comes much later in the library; the pointer here is orientation only, and nothing above rests on it.

DefinitionDefinition: AI-adaptedProof: Not applicablejudge pass (z-ai/glm-5.2)verified 2026-07-26 (claude-opus-5)Open item page →

Finite, countably infinite, countable, uncountable

Definition

Recall that a natural number is a von Neumann natural (The natural numbers N (von Neumann)): 0=∅ and σ(n)=n∪{n}, so that

n={ m∈N:m<n }={0,1,…,n−1}

is itself the set of its predecessors. Here < is the order of Order on the natural numbers, which is defined additively, so the displayed identity is a theorem and not a convention: it is On N the order is membership: m<n  ⟺  m∈n, proved immediately above. Let A be a set, and let ≈ be equinumerosity (Equinumerous sets, A≈B and A⪯B).

  • A is finite if A≈n for some n∈N.
  • A is countably infinite if A≈N.
  • A is at most countable if it is finite or countably infinite.
  • A is uncountable if it is not at most countable.

Remarks

  • Convention: in this library "countable" alone always means "at most countable", so a finite set is countable. This is the convention of Halmos and of Tao, and it is the one that makes the theorems on this page read cleanly: subsets, products and unions of countable sets are countable, with no finite/infinite case split in the statement. The competing convention, used by Rudin among others, reserves "countable" for "countably infinite" and says "at most countable" for the disjunction. Under that convention every statement below still holds after replacing "countable" with "at most countable", but several would become false as literally written. Where the distinction matters, the long forms "countably infinite" and "at most countable" are used in full, and "uncountable" always means "not at most countable", on which the two conventions agree.

  • The three classes are exhaustive by construction: every set is finite, countably infinite, or uncountable, since "uncountable" is defined as the negation of the disjunction. That they are also mutually exclusive, that is, that no set is both finite and countably infinite, is a genuine theorem amounting to N≉n for every n∈N, and it is proved immediately above as claim 4 of The pigeonhole principle on N. So a countably infinite set is never finite, and "A is infinite", meaning not finite, is implied by A≈N. The same lemma pins down finiteness itself: by its claim 3 a finite set is equinumerous with exactly one natural number, so the number of elements of a finite set is well defined, and by its claim 5 no finite set is equinumerous with a proper subset of itself.

  • What the exclusivity is and is not used for below. Nothing on this page needs it in order to run: the infinitude of Q, for instance, is obtained by exhibiting a bijection Q≈N directly (Q is countably infinite) rather than by ruling out finiteness. It is used when the continuum hypothesis is instantiated at N (The continuum hypothesis, and what this page does not prove), where N must be infinite as a fact rather than as a convention.

  • 0 and the empty set. 0=∅, and A≈0 holds exactly when A=∅, so the empty set is finite. This matters in the proofs below, where the empty case is always separated out: a surjection N→A cannot exist when A=∅, which is why A nonempty set is at most countable iff it is a surjective image of N assumes A nonempty.

  • Countability is a property of a set alone, not of a set with structure. In particular Q is countable while carrying a dense order, and R is uncountable; neither statement says anything on its own about the order or the arithmetic those sets carry.

TheoremStatement: AI-adaptedProof: AI-adaptedprecheck passjudge pass (z-ai/glm-5.2)verified 2026-07-26 (claude-opus-5)Open item page →

The Schröder-Bernstein theorem

Statement

Let A and B be sets with A⪯B and B⪯A (Equinumerous sets, A≈B and A⪯B). Then A≈B.

Equivalently: if there is an injection A→B and an injection B→A, then there is a bijection A→B (Injection, surjection, bijection).

The proof uses no choice principle. The bijection is written down explicitly from the two given injections, and the only "selections" it makes are of the unique preimage of a point under an injection, which is determined, not chosen. The single infinite construction is an application of the recursion theorem (The recursion theorem), whose data are a set, a starting point and one function.

Facts & Assumptions

Given: Sets A and B together with injections f:A→B and g:B→A. For S⊆A write f[S] for its image, and similarly for g.

[L1]

Injection, surjection, bijection, image and preimage, and the fact that an injective g has, for each x∈g[B], exactly one b∈B with g(b)=x (Injection, surjection, bijection).

[L2]

A≈B means precisely that some bijection A→B exists (Equinumerous sets, A≈B and A⪯B).

[L3]

Recursion theorem: for any set X, any x0∈X and any F:X→X there is a (unique) function h:N→X with h(0)=x0 and h(σ(n))=F(h(n)) for all n∈N (The recursion theorem, The natural numbers N (von Neumann)).

[L4]

Every nonzero natural number is a successor: n≠0 implies n=σ(m) for some m∈N (Every nonzero natural number is a successor).

Proof

technique · direct
1.1

Apply [L3] with X=P(A) (a set by the Power Set axiom), with x0=A∖g[B], and with F:P(A)→P(A) defined by F(S)=g[f[S]]: this yields a function n↦Cn from N to P(A) with C0=A∖g[B] and Cσ(n)=g[f[Cn]] for every n.

L3givenconstruct
2.1

Put C=⋃n∈NCn, a subset of A (a set by Replacement and Union applied to the function of step 1.1); thus x∈C if and only if x∈Cn for some n∈N, and Cσ(n)⊆C for every n.

step 1.1construct
3.1

Let x∈A∖C. Then x∉C0=A∖g[B], so x∈g[B], and since g is injective there is exactly one b∈B with g(b)=x; write b=g−1(x), a value determined by x alone.

step 2.1L1given
4.1

Define h:A→B by h(x)=f(x) for x∈C and h(x)=g−1(x) for x∈A∖C; the two clauses have disjoint domains whose union is A, and each assigns exactly one value, by step 3.1 for the second, so h is a well-defined function.

step 3.1construct
5.1

If x,y∈C and h(x)=h(y) then f(x)=f(y), so x=y because f is injective; if x,y∈A∖C and h(x)=h(y)=b then x=g(b)=y by step 3.1.

step 4.1givenL1
5.2

The remaining case cannot occur: if x∈C and y∈A∖C had h(x)=h(y), then x∈Cn for some n, and h(y)=g−1(y) gives y=g(h(y))=g(f(x))∈g[f[Cn]]=Cσ(n)⊆C, contradicting y∉C; hence h is injective.

step 1.1step 2.1step 4.1
5.3

h is surjective: let b∈B and consider g(b)∈A. If g(b)∉C then h(g(b))=g−1(g(b))=b. If g(b)∈C then g(b)∈Cn for some n; here n≠0, since g(b)∈g[B] while C0=A∖g[B], so n=σ(m) by [L4] and g(b)∈Cσ(m)=g[f[Cm]], that is, g(b)=g(f(x)) for some x∈Cm⊆C; injectivity of g gives b=f(x)=h(x). Either way b is a value of h.

step 1.1step 2.1step 4.1L1L4given
6.1

Thus h:A→B is injective and surjective, hence a bijection, and therefore A≈B.

step 5.1step 5.2step 5.3L1L2∎

Remarks

  • The set C is exactly the set of points of A reachable from the "unmatched" part A∖g[B] by applying g∘f finitely often. On C the bijection follows f forwards; off C it runs g backwards. Both halves are forced: a point outside g[B] cannot be an image of g, and once one point is handled by f its g∘f image must be handled by f too.

  • Why the choice-freeness is worth stating. Many textbook proofs phrase the construction as "follow the chain of preimages backwards until it stops", which sounds like an infinite sequence of selections. It is not: the preimage under an injection is unique when it exists, and the recursion above is a single application of The recursion theorem to one explicitly given function S↦g[f[S]]. The theorem is a theorem of ZF.

  • With this theorem, ⪯ behaves like an order on equinumerosity classes: A⪯B and B⪯A give A≈B. Comparability, that A⪯B or B⪯A holds for any two sets, is a different matter entirely: over ZF it is equivalent to the Axiom of Choice (The Axiom of Choice), a classical result quoted here and proved nowhere on this page, the harder half of it going back to Hartogs. Nothing on this page uses comparability.

LemmaStatement: AI-adaptedProof: AI-adaptedprecheck passjudge pass (z-ai/glm-5.2)verified 2026-07-26 (claude-opus-5)Open item page →

Every subset of an at most countable set is at most countable

Statement

Let A be at most countable (Finite, countably infinite, countable, uncountable) and let B⊆A. Then B is at most countable.

The proof establishes the sharper statement about subsets of N from which this follows: a subset S⊆N is finite if it is bounded above, and countably infinite if it is not.

No choice principle is used. This is the point of the lemma rather than a footnote to it. The enumeration of an unbounded S⊆N is built by always taking the least element of S above the previous one, and the least element of a nonempty set of naturals is canonical (The well-ordering principle): it is determined by S, not selected from it. Replacing "least" by "some" would turn the construction into an appeal to dependent choice.

Facts & Assumptions

Given: An at most countable set A and a subset B⊆A. Throughout, a natural number is the von Neumann natural, so that 0=∅ and σ(n)=n∪{n} (The natural numbers N (von Neumann)); that n={ m∈N:m<n }, and in particular that every element of a natural number is a natural number, is On N the order is membership: m<n  ⟺  m∈n, proved earlier on this page from the additive order of Order on the natural numbers.

[L1]

A is finite when A≈n for some n∈N, countably infinite when A≈N, and at most countable when one of the two holds (Finite, countably infinite, countable, uncountable).

[L2]

≈ is symmetric and transitive, an injection is a bijection onto its image, and the restriction of a bijection to a subset is a bijection onto the image of that subset (Equinumerous sets, A≈B and A⪯B, Injection, surjection, bijection).

[L3]

Well-ordering: every nonempty subset of N has a least element (The well-ordering principle).

[L4]

Strong induction: if for every n the truth of P(m) for all m<n implies P(n), then P(n) holds for every n (Strong (complete) induction).

[L5]

Recursion: for any set X, any x0∈X and any F:X→X there is a function h:N→X with h(0)=x0 and h(σ(n))=F(h(n)) (The recursion theorem).

[L6]

Order facts in N: m∈n  ⟺  m<n, m≤n  ⟺  m⊆n, n<σ(n), and m<σ(n)  ⟺  m≤n (On N the order is membership: m<n  ⟺  m∈n); exactly one of m<n, m=n, n<m holds, so < is irreflexive and any two naturals are comparable (Trichotomy of the order on N); ≤ is reflexive, antisymmetric, transitive and total (≤ is a linear order on N), whence < is transitive, because m<n<p gives m≤p while m=p would force m=n by antisymmetry; m<n  ⟺  σ(m)≤n (Discreteness: σ(n) is the immediate successor).

[L7]

Every nonzero natural is a successor (Every nonzero natural number is a successor).

[L8]

Membership is irreflexive on N: k∉k for every k∈N, and every natural number is a transitive set (Every natural number is a transitive set and is not a member of itself).

Proof

technique · cases
1.1

Since A is at most countable there is a bijection φ:A→N0 where N0=n for some n∈N or N0=N; in either case N0⊆N, and restricting φ to B gives a bijection of B onto S:=φ[B]⊆N, so B≈S. It therefore suffices to prove that every subset of N is at most countable, since then S≈n′ or S≈N and transitivity carries the conclusion back to B.

givenL1L2L6suffices: every subset of N is at most countable
1.2

Every subset of a natural number is finite: by strong induction on n, assume every subset of every m<n is finite. If n=0 then a subset T⊆0=∅ is empty and T≈0. Otherwise n=σ(m) by [L7], with m<n; given T⊆σ(m)=m∪{m}, the set T∖{m} is a subset of m, so the hypothesis at m gives a bijection u:T∖{m}→k for some k∈N. If m∉T then T=T∖{m}≈k. If m∈T, extend u by u(m):=k; since k∉k by irreflexivity of membership, the value k is not already taken and the extension is a bijection T→k∪{k}=σ(k). In both cases T is finite, so the claim holds for n and hence for all n.

L1L2L4L6L7L8
1.3

Case S bounded: assume there is b0∈N with s≤b0 for every s∈S. Then s<σ(b0) for every s∈S by [L6], that is, S⊆σ(b0).

assume-case boundedL6
1.4

Case S unbounded: assume that for every b∈N there is s∈S with b<s. Then S≠∅, and for each s∈S the set { t∈S:s<t } is nonempty, so [L3] makes ν(s):=min⁡{ t∈S:s<t } a well-defined element of S with s<ν(s); this defines a function ν:S→S with no arbitrary choices.

assume-case unboundedL3construct
2.1

In the bounded case S is a subset of the natural number σ(b0), hence finite by step 1.2, hence at most countable.

step 1.2step 1.3L1
2.2

In the unbounded case apply [L5] with X=S, x0=min⁡S (available by [L3] since S≠∅) and F=ν: there is e:N→S with e(0)=min⁡S and e(σ(n))=ν(e(n))=min⁡{ t∈S:e(n)<t } for every n.

step 1.4L3L5construct
3.1

For every n, e(n)<e(σ(n)) by the defining property of ν; consequently m<n implies e(m)<e(n), by strong induction on n (for n=σ(j) and m<n one has m≤j by [L6], so either m=j, giving e(m)<e(σ(j)) directly, or m<j, giving e(m)<e(j)<e(σ(j)) by the hypothesis at j and transitivity). Hence e is injective: if m≠n then m<n or n<m by comparability, and irreflexivity forbids e(m)=e(n).

step 2.2L4L6L7
3.2

For every k, k≤e(k): again by strong induction, at k=0 this is immediate, and for k=σ(j) the hypothesis at j gives j≤e(j)<e(σ(j)), so j<e(k) and therefore σ(j)≤e(k) by [L6], that is k≤e(k).

step 2.2L4L6L7
4.1

e is surjective onto S: let t∈S. The set K={ k∈N:t≤e(k) } contains t by step 3.2, so k∗:=min⁡K exists by [L3]. If k∗=0 then e(0)=min⁡S≤t because t∈S, and t≤e(0), so e(0)=t. Otherwise k∗=σ(j) by [L7], and j∉K by minimality, so e(j)<t; then t belongs to { u∈S:e(j)<u }, whence e(k∗)=min⁡{ u∈S:e(j)<u }≤t, and with t≤e(k∗) this gives e(k∗)=t. In both cases t is a value of e.

step 2.2step 3.2L3L6L7
5.1

In the unbounded case e:N→S is therefore a bijection, so S≈N and S is countably infinite, hence at most countable.

step 3.1step 4.1L1L2
6.1

Every S⊆N is either bounded above or not, so steps 2.1 and 5.1 cover all cases and every subset of N is at most countable; by the reduction of step 1.1 the subset B of the at most countable set A is at most countable.

step 1.1step 2.1step 5.1cases-exhaustiveL1L2∎

Remarks

  • A subset of a countably infinite set may perfectly well be finite: {0,1} and ∅ are subsets of N. This is exactly why the conclusion is "at most countable" and not "countably infinite", and it is why the library's convention that "countable" means "at most countable" (Finite, countably infinite, countable, uncountable) keeps the statement free of case distinctions.

  • The dichotomy proved here, bounded subsets of N are finite and unbounded ones are copies of N, is the only structural fact about N the rest of the page needs. The enumeration e built in the unbounded case is the increasing one, and it is unique with that property.

  • The bounded case rests on the von Neumann encoding: "bounded by b0" is literally "a subset of the set σ(b0)", which is what makes the induction of step 1.2 an induction on a natural number rather than on an informal count. That translation is not a convention but a theorem, On N the order is membership: m<n  ⟺  m∈n, since the library's order on N is defined additively (Order on the natural numbers) and not by membership.

LemmaStatement: AI-adaptedProof: AI-adaptedprecheck passjudge pass (z-ai/glm-5.2)verified 2026-07-26 (claude-opus-5)Open item page →

A nonempty set is at most countable iff it is a surjective image of N

Statement

Let A be a nonempty set. Then A is at most countable (Finite, countably infinite, countable, uncountable) if and only if there is a surjection s:N→A (Injection, surjection, bijection).

Moreover, from any such surjection an injection A→N is obtained explicitly, without any choice, by

j(a):=min⁡{ k∈N:s(k)=a }.

This is the working form of countability used everywhere below: to prove a nonempty set countable it suffices to list its elements, repetitions and all.

No choice principle is used. The backward direction is where an appeal to choice would be natural ("for each a pick some k with s(k)=a") and it is avoided outright, because min⁡ is canonical: every nonempty set of naturals has a least element (The well-ordering principle), so j(a) is determined by a and s alone.

Facts & Assumptions

Given: A nonempty set A. For a∈A and a function s:N→A write s−1({a})={ k∈N:s(k)=a }.

[L1]

A is at most countable when A≈n for some n∈N or A≈N; A≈0=∅ holds only for A=∅ (Finite, countably infinite, countable, uncountable, The natural numbers N (von Neumann)).

[L2]

Bijections, injections, surjections, images and the symmetry and transitivity of ≈; an injection is a bijection onto its image (Injection, surjection, bijection, Equinumerous sets, A≈B and A⪯B).

[L3]

Well-ordering: every nonempty subset of N has a least element (The well-ordering principle).

[L4]

Every subset of an at most countable set is at most countable (Every subset of an at most countable set is at most countable).

[L5]

For naturals, k∈n  ⟺  k<n, so a natural number n is the set { k∈N:k<n } of naturals below it; in particular 0∈n whenever n≠0 (On N the order is membership: m<n  ⟺  m∈n, proved earlier on this page from the additive order of Order on the natural numbers on the von Neumann naturals of The natural numbers N (von Neumann)).

Proof

technique · direct
1.1

For the forward implication assume A is at most countable; since A≠∅ we have A≈N, or A≈n for some n∈N with n≠0, and in either case fix a bijection ψ from N, respectively from n, onto A.

assume-hypgivenL1L2
1.2

For the converse implication assume a surjection s:N→A is given.

assume-hyp
2.1

If ψ is defined on N it is itself a surjection N→A; if ψ is defined on n≠0, then 0∈n by [L5] and the function sψ:N→A with sψ(k)=ψ(k) for k<n and sψ(k)=ψ(0) for k≥n is a surjection, since every element of A is ψ(k) for some k∈n. In both cases a surjection N→A exists.

step 1.1L2L5construct
2.2

For each a∈A the set s−1({a}) is a nonempty subset of N, because s is surjective, so [L3] provides its least element and j(a):=min⁡s−1({a}) defines a function j:A→N; no selection is made, since the least element is uniquely determined.

step 1.2L3construct
3.1

j is injective: if j(a)=j(a′)=k then s(k)=a and s(k)=a′, because j(a)∈s−1({a}) and j(a′)∈s−1({a′}), so a=a′.

step 2.2L2
4.1

Hence j is a bijection of A onto j[A]⊆N, so A≈j[A]; the subset j[A] of the at most countable set N is at most countable by [L4], and transitivity of ≈ transfers this to A.

step 3.1L1L2L4
5.1

The forward implication is step 2.1 and the converse is step 4.1, so for nonempty A countability and the existence of a surjection N→A are equivalent, with j of step 2.2 the promised injection A→N.

step 2.1step 3.1step 4.1∎

Remarks

  • The hypothesis A≠∅ cannot be dropped in the forward direction: ∅ is finite, hence at most countable, but no function N→∅ exists at all. The converse direction needs no such hypothesis, since a surjection onto A already forces A≠∅.

  • Combining the two directions: a nonempty A is at most countable if and only if A⪯N (Equinumerous sets, A≈B and A⪯B). The forward direction of that reformulation is immediate, and the backward direction is step 4.1.

  • The lemma is what licenses the informal phrase "enumerate A as a0,a1,a2,…, possibly with repetitions". Repetitions are exactly what distinguishes a surjection from a bijection, and allowing them is what makes the criterion easy to apply: the enumerations built in A product of two at most countable sets is at most countable and Countable unions of at most countable sets, assuming ACω repeat.

LemmaStatement: AI-adaptedProof: AI-adaptedprecheck passjudge pass (z-ai/glm-5.2)verified 2026-07-26 (claude-opus-5)Open item page →

The nonempty finite subsets of R are exactly the listable ones

Statement

Let R be a complete ordered field (Complete ordered field (least-upper-bound property)) and let F⊆R be nonempty. Then F is finite (Finite, countably infinite, countable, uncountable) if and only if there are n∈N and a0,a1,…,an∈R with

F={a0,a1,…,an}.

Here {a0,…,an} means the image a[σ(n)] of a function a:σ(n)→R, where σ(n)={ i∈N:i≤n } (The natural numbers N (von Neumann), On N the order is membership: m<n  ⟺  m∈n).

Consequently every nonempty finite subset of R has a maximum and a minimum (Maximum and minimum of a set), since Every nonempty finite set of reals has a maximum and a minimum proves exactly that for sets presented as {a0,…,an}.

Facts & Assumptions

Given: A complete ordered field R and a nonempty subset F⊆R. For n∈N and a function a:σ(n)→R, write {a0,…,an}:=a[σ(n)], and call a set of this form listable.

[L1]

F is finite when F≈m for some m∈N, where m={ i∈N:i<m }; and F≈0=∅ only for F=∅ (Finite, countably infinite, countable, uncountable, The natural numbers N (von Neumann)).

[L2]

Bijections and their images, and the symmetry and transitivity of ≈ (Equinumerous sets, A≈B and A⪯B, Injection, surjection, bijection).

[L3]

Induction principle: if P(0) holds and P(n) implies P(σ(n)) for every n, then P(n) holds for every n∈N (The principle of mathematical induction).

[L4]

For the additive order of Order on the natural numbers: i<σ(n)  ⟺  i≤n, and every natural number is exactly the set of the naturals below it, so σ(n)={ i:i≤n }=n∪{n} (On N the order is membership: m<n  ⟺  m∈n, The natural numbers N (von Neumann)); and every nonzero natural is a successor (Every nonzero natural number is a successor).

[L5]

For every n∈N and all a0,…,an∈R the set {a0,…,an} has a maximum and a minimum (Every nonempty finite set of reals has a maximum and a minimum, Maximum and minimum of a set).

[L6]

Membership is irreflexive on N: k∉k for every k∈N (Every natural number is a transitive set and is not a member of itself).

Proof

technique · induction
1.1

Base case of the listable-implies-finite direction: for n=0 a listable set is a[σ(0)]={a(0)}, and i↦a(0) is a bijection from σ(0)={0} onto it, so it is finite.

baseL1L2L4
1.2

Inductive hypothesis: fix n∈N and assume every set of the form a[σ(n)], for a function a:σ(n)→R, is finite.

ih
1.3

The finite-implies-listable direction needs no induction: if F is nonempty and finite there is a bijection ψ:m→F with m∈N, and m≠0 because F≠∅, so m=σ(n) for some n by [L4]; putting a:=ψ gives F=ψ[σ(n)]={a0,…,an}, a listable set.

givenL1L2L4
2.1

Inductive step: let b:σ(σ(n))→R and put G=b[σ(n)] and H=b[σ(σ(n))]=G∪{b(σ(n))}, using [L4]. By the inductive hypothesis applied to the restriction of b to σ(n), there is a bijection u:G→k for some k∈N. If b(σ(n))∈G then H=G is finite. Otherwise extend u to H by u(b(σ(n))):=k; since k∉k by [L6], this is a bijection H→k∪{k}=σ(k), so H is finite. In both cases H is finite, so the claim holds at σ(n).

step 1.2L1L2L4L6
3.1

By [L3] every listable subset of R is finite, and by step 1.3 every nonempty finite subset of R is listable, which is the stated equivalence; combining it with [L5], every nonempty finite F⊆R is of the form {a0,…,an} and therefore has a maximum and a minimum.

step 1.1step 1.3step 2.1L3L5discharge-induction∎

Remarks

  • This lemma discharges the one stipulation left open in Every nonempty finite set of reals has a maximum and a minimum. That lemma proves, by induction on n, that every set {a0,…,an} of reals has a maximum and a minimum, and then adopts as a working convention, explicitly not proved there, that the nonempty finite subsets of R are exactly the sets of that form. The convention could not be proved at the time because the library had no definition of finiteness. With Finite, countably infinite, countable, uncountable available, it is proved above, and the usual reading of that lemma, "every nonempty finite subset of R has a maximum and a minimum", is now a theorem rather than a stipulation.

  • Nonemptiness is needed only for the finite-implies-listable direction: a list a0,…,an always has at least the entry a0, whereas ∅ is finite and not listable in this sense.

  • Nothing in the argument uses the order or the arithmetic of R; the same proof shows that in any set the nonempty finite subsets are exactly the images of the naturals σ(n). Only the consequence about maxima and minima uses that R is ordered.

TheoremStatement: AI-adaptedProof: AI-adaptedprecheck passjudge pass (z-ai/glm-5.2)verified 2026-07-26 (claude-opus-5)Open item page →

N×N≈N

Statement

N×N≈N (Equinumerous sets, A≈B and A⪯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 2m by recursion on m (The recursion theorem) by 20=1 and 2σ(m)=2m+2m, and set

J(m,n)=2m⋅σ(n+n),that isJ(m,n)=2m(2n+1).

Then J is a bijection from N×N onto N∖{0}, and σ is a bijection from N onto N∖{0}, so σ−1∘J is a bijection N×N→N. What makes J 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 with m+0=m, m+σ(k)=σ(m+k), m⋅0=0 and m⋅σ(k)=m⋅k+m (Addition of natural numbers, Multiplication of natural numbers); 1:=σ(0). Call k∈N even if k=j+j for some j and odd if k=σ(j+j) for some j.

[L1]

Recursion: for a set X, x0∈X and F:X→X there is h:N→X with h(0)=x0 and h(σ(m))=F(h(m)) (The recursion theorem).

[L2]

Peano: σ(k)≠0 and σ 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 ⋅ are commutative and associative, 1⋅n=n=n⋅1, 0+n=n, a(b+c)=ab+ac and σ(a)+n=σ(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<b, a=b, b<a holds (Trichotomy of the order on N); ≤ is reflexive, antisymmetric, transitive and total (≤ is a linear order on N), so < is transitive and mixes with ≤, in the sense that each of a<b<c, a≤b<c and a<b≤c gives a<c: transitivity of ≤ gives a≤c in every case, while a=c would force b=c or a=b by antisymmetry, contradicting whichever of the two hypotheses is strict; and < is irreflexive, because a<a would demand a≠a (Order on the natural numbers); a≤b  ⟺  a+k≤b+k and a<b  ⟺  a+k<b+k (Order is compatible with addition); a<b  ⟺  σ(a)≤b, so a<σ(a) (Discreteness: σ(n) is the immediate successor); and a≤b means a+c=b for some c (Order on the natural numbers), where moreover a<b holds exactly when that c is nonzero, since c=0 gives b=a, while c≠0 with a=b would give c+a=a+c=a=0+a and hence c=0 by additive cancellation (Addition is cancellative, Addition is commutative, Left identity for addition).

[L5]

Cancellation: a⋅k=b⋅k with k≠0 gives a=b (Cancellation for multiplication by a nonzero factor); and a⋅b=0 forces a=0 or b=0 (The natural numbers have no zero divisors).

[L7]

Bijections, injections, surjections, composition and inverses (Injection, surjection, bijection); A≈B means a bijection A→B exists (Equinumerous sets, A≈B and A⪯B).

Proof

technique · direct
1.1

Apply [L1] with X=N, x0=1 and F(x)=x+x: this defines m↦2m with 20=1 and 2σ(m)=2m+2m for all m.

L1construct
1.2

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

L3L6given
1.3

No natural is both even and odd, that is j+j≠σ(i+i) for all i,j: if j≤i then j+j≤i+j=j+i≤i+i<σ(i+i); if i<j then σ(i)≤j, so σ(i+i)<σ(σ(i+i))=σ(σ(i)+i)=σ(i)+σ(i)≤j+j; in both cases the two sides differ by irreflexivity of <.

L3L4given
1.4

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

L2L7
2.1

2m≠0 for every m: by induction, 20=σ(0)≠0; and if 2m≠0 then 2m=σ(a) for some a by [L2], so 2σ(m)=2m+2m=2m+σ(a)=σ(2m+a)≠0.

step 1.1L2L6given
2.2

2m+d=2m⋅2d for all m,d: by induction on d, at d=0 both sides are 2m since m+0=m and 2m⋅1=2m; and if 2m+d=2m⋅2d then 2m+σ(d)=2σ(m+d)=2m+d+2m+d=2m2d+2m2d=2m(2d+2d)=2m⋅2σ(d).

step 1.1L3L6given
3.1

Define J:N×N→N by J(m,n)=2m⋅σ(n+n). Its values are nonzero: 2m≠0 by step 2.1 and σ(n+n)≠0 by [L2], so J(m,n)≠0 by [L5]. Thus J maps into N∖{0}.

step 1.1step 2.1L2L5construct
4.1

J is injective. Suppose 2mσ(n+n)=2m′σ(n′+n′); by [L4] we may assume m≤m′, the other case being symmetric, and write m′=m+d. By step 2.2 the right side is 2m(2dσ(n′+n′)), so cancelling the nonzero factor 2m with [L5] and [L3] gives σ(n+n)=2d⋅σ(n′+n′). If d≠0 then d=σ(e) by [L2] and 2d=2e+2e, so the right side equals w+w with w=2eσ(n′+n′), by [L3]; that would make σ(n+n) both odd and even, contradicting step 1.3. Hence d=0 and m′=m, and then σ(n+n)=σ(n′+n′) gives n+n=n′+n′ by injectivity of σ, whence n=n′ because n<n′ would force n+n<n′+n=n+n′<n′+n′ by [L4] and [L3], and symmetrically for n′<n.

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

J is surjective onto N∖{0}: by strong induction [L6] we show every k is 0 or a value of J. Let k≠0 and assume the claim for all j<k. By step 1.2, k is odd or even. If k=σ(j+j) then k=1⋅σ(j+j)=20σ(j+j)=J(0,j) by [L3]. If k=j+j then j≠0, since j=0 would give k=0; also j<j+j=k by [L4], because j+j=k with j≠0; so the hypothesis at j and j≠0 give j=2mσ(n+n) for some m,n, and then k=j+j=2mσ(n+n)+2mσ(n+n)=(2m+2m)σ(n+n)=2σ(m)σ(n+n)=J(σ(m),n) by [L3] and step 1.1.

step 1.1step 1.2step 3.1L3L4L6
5.1

Therefore J is a bijection from N×N onto N∖{0}, and composing with the inverse of the bijection σ of step 1.4 yields the bijection σ−1∘J:N×N→N; hence N×N≈N and N×N is countably infinite.

step 1.4step 4.1step 4.2L7∎

Remarks

  • Written out, σ−1(J(m,n))=2m(2n+1)−1, the standard bijection. The detour through N∖{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 is an alternative bijection. It is not used because halving is not available in N without first developing division with remainder, whereas doubling, which is all 2m needs, is immediate from addition.

TheoremStatement: AI-adaptedProof: AI-adaptedprecheck passjudge pass (openai/gpt-5.4)verified 2026-07-26 (claude-opus-5)Open item page →

A product of two at most countable sets is at most countable

Statement

If A and B are at most countable (Finite, countably infinite, countable, uncountable) then so is A×B.

No choice principle is used: the two enumerations are given, and the enumeration of the product is written down from them.

Facts & Assumptions

Given: At most countable sets A and B, and the product A×B={ (a,b):a∈A, b∈B }.

[L1]

Finite, countably infinite and at most countable; ∅≈0, so ∅ is finite (Finite, countably infinite, countable, uncountable, The natural numbers N (von Neumann)).

[L2]

A nonempty set is at most countable if and only if some surjection N→ it exists (A nonempty set is at most countable iff it is a surjective image of N).

[L3]

There is a bijection β:N→N×N (N×N≈N, Equinumerous sets, A≈B and A⪯B).

[L4]

A composition of surjections is a surjection (Injection, surjection, bijection).

Proof

technique · direct
1.1

If A=∅ or B=∅ then A×B=∅, which is finite and hence at most countable.

givenL1
1.2

Assume instead A≠∅ and B≠∅; then [L2] provides surjections f:N→A and g:N→B.

givenL2
1.3

Fix the bijection β:N→N×N of [L3], in particular a surjection.

L3
2.1

Define t:N×N→A×B by t(m,n)=(f(m),g(n)). It is surjective: any (a,b)∈A×B has a=f(m) and b=g(n) for some m,n, so (a,b)=t(m,n).

step 1.2
3.1

Hence t∘β:N→A×B is a surjection by [L4], and A×B is nonempty, so it is at most countable by [L2].

step 1.3step 2.1L2L4
4.1

Both cases give the conclusion: A×B is at most countable whenever A and B are.

step 1.1step 3.1L1∎

Remarks

  • Iterating gives the same conclusion for A1×A2×⋯×Ak for each fixed k: (A1×A2)×A3 is a product of two at most countable sets, and so on, so k−1 applications of the theorem settle the case k. Stating this uniformly in k, as a single theorem quantified over k, needs finite sequences of sets and a recursive definition of the k-fold product, which this library does not yet have; the iterated form above is the honest statement of what is proved.

  • The infinite product is a different matter and is not covered: {0,1}N is a product of countably many two-element sets and is uncountable, by the same diagonal argument as Cantor's theorem: A≺P(A). Countability is not preserved by infinite products of any kind.

  • Together with Every subset of an at most countable set is at most countable this gives the countability of every set that can be coded by finitely many naturals, which is how Q is countably infinite is proved.

DefinitionDefinition: AI-adaptedProof: Not applicablejudge pass (z-ai/glm-5.2)verified 2026-07-26 (claude-opus-5)Open item page →

The Axiom of Countable Choice (ACω)

Definition

The Axiom of Countable Choice, written ACω, is the following statement.

For every family (Xn)n∈N of nonempty sets indexed by N there is a function f with domain N such that f(n)∈Xn for every n∈N.

Equivalently, in the vocabulary of Choice function: every at most countable family of nonempty sets (Finite, countably infinite, countable, uncountable) has a choice function.

Remarks

  • The two formulations are equivalent, and the passage between them uses no choice. Given an at most countable family F of nonempty sets, either F=∅, where the empty function is a choice function, or a surjection s:N→F exists (A nonempty set is at most countable iff it is a surjective image of N); applying the indexed form to Xn:=s(n) gives f with f(n)∈s(n), and g(S):=f(min⁡{ n:s(n)=S }) is a choice function for F, the minimum being canonical by The well-ordering principle. Conversely a choice function g on the at most countable family { Xn:n∈N } gives f(n):=g(Xn).

  • ACω is strictly weaker than the Axiom of Choice (The Axiom of Choice): AC implies it immediately, since AC applies to every family, while it is consistent with ZF that ACω holds and AC fails. It is also strictly stronger than what ZF proves: it is consistent with ZF that ACω fails, as Cohen's first model shows, since an infinite set of reals with no countably infinite subset (Cohen's first model: an infinite Dedekind-finite set of reals ‡) is already a failure of ACω; the Feferman-Levy model (The Feferman-Levy model: the reals as a countable union of countable sets ‡) is a second witness. Both statements are conditional on the consistency of ZF and are external results, established by forcing and by permutation models; they are recorded here with references and are not proved in this library, which contains neither technique. Of the two, only the failure of ACω is recorded in this library's catalogue of unproved results; the separation of ACω from AC in the other direction is quoted from the references alone.

  • Dependent choice sits between them. The Axiom of Dependent Choice (DC) says that if R is a relation on a nonempty set X such that every x∈X has some y with xRy, then there is a sequence (xn)n∈N with xnRxn+1 for all n. In ZF, AC⇒DC⇒ACω; both implications are theorems of ZF, and neither is proved here. That neither reverses is a pair of relative-consistency results of the same kind as in the previous bullet: if ZF is consistent, then so are ZF + DC + (not AC) and ZF + ACω + (not DC). Both are established by forcing and by permutation models, are quoted here from the references rather than proved, and cannot be stated without the consistency hypothesis; so "DC is strictly between AC and ACω" is shorthand for those two conditional statements and is never used here as a standalone assertion. DC is the principle that legitimises "choose x0, then choose x1 depending on x0, and so on"; ACω only legitimises countably many independent choices made at once.

  • Being an axiom, ACω carries no well-definedness obligation, which is why this item has no justified_by. Its role in this library is bookkeeping: Countable unions of at most countable sets, assuming ACω assumes it and flags the exact step that spends it. Whether the assumption can be removed requires the later symmetric-model development and is not inferred here.

  • Every result proved on this page other than Countable unions of at most countable sets, assuming ACω is a theorem of ZF alone. In particular Every subset of an at most countable set is at most countable, A nonempty set is at most countable iff it is a surjective image of N, The Schröder-Bernstein theorem, Q is countably infinite, Cantor's theorem: A≺P(A) and R is uncountable (Cantor's nested intervals, 1874) are choice free, and each says so.

DefinitionDefinition: AI-adaptedProof: Not applicableverified 2026-09-08 (gpt-5.6-sol)Open item page →

The axiom of dependent choice: a relation in which every element is related to something admits an N-indexed chain

Definition

Let X be a set and let R⊆X×X be a binary relation on X. Call R entire on X when

for every x∈X there is y∈X with xRy.

The Axiom of Dependent Choice, written DC, is the following statement.

For every nonempty set X, every relation R entire on X, and every a∈X, there is a function x:N→X (A function is a relation f with (a,b)∈f and (a,c)∈f implying b=c; f:A→B, the value f(a), domain and codomain, The natural numbers N (von Neumann)) with x0=aandxnRxn+1  for every n∈N.

Here a sequence in X means a function from N to X, not necessarily a real-valued sequence. As everywhere in this library N contains 0, and the sequence is indexed from 0; the term x0 is the prescribed starting point a and every later term is related to its predecessor.

What DC adds to what came before. Choice function and The Axiom of Choice select one element from each member of a family that is fixed in advance, and The Axiom of Countable Choice (ACω) does the same for a family indexed by N. In both, the family is given before any selection is made. DC is the principle needed when the n-th set to select from is not known until the first n selections have been made: here the admissible values of xn+1 are exactly the R-successors of xn, so the family being chosen from is built along the choosing. That is precisely the situation ACω does not cover, and it is why a construction "pick xn+1 depending on xn, for every n at once" is not licensed by countable choice.

The starting point may be dropped. The formally weaker statement obtained by deleting the clause x0=a — for every nonempty X and every entire R there is a sequence with xnRxn+1 for all n — is an immediate consequence of the form above, since X is nonempty and any of its elements may be taken as a. The reverse derivation is standard and is not needed anywhere in this library, so it is not carried out; every use below prescribes x0.

R need not be an order and the terms need not be distinct. What DC delivers is a sequence, that is a function N→X, not a chain in the order-theoretic sense (Chain in a poset). The relation may be symmetric, and the sequence may repeat a value or be constant; all that is asserted is xnRxn+1 at every index.

Remarks

Where DC sits among the choice principles. It is a standard fact, proved in the references and not in this library, that

AC  ⟹  DC  ⟹  ACω,

and that neither implication reverses. The non-reversals are relative-consistency results: what they establish is that ZF, if consistent, does not prove the missing implications, never that those implications are false. This library contains neither forcing nor permutation models and proves no independence result, so all of that is quoted from the references and used nowhere.

Nothing in this library proves DC, and nothing assumes it silently. Like The Axiom of Choice and The Axiom of Countable Choice (ACω), DC is a statement that may be assumed or not. Every theorem whose proof uses it says so in its own statement, and the accounting for the compactness page is collected in What each implication between the compactness properties of a metric space costs: which are theorems of ZF, which use countable choice, and which use dependent choice ↗.

An upper bound, never a lower one. When a later item records that its proof uses DC, the claim made is that the argument given here is carried out in ZF+DC. No item claims that DC is necessary for the statement proved, because establishing necessity means separating the statement from ZF, and that is an independence result of exactly the kind this library does not prove.

TheoremStatement: AI-adaptedProof: AI-adaptedprecheck passjudge pass (z-ai/glm-5.2)verified 2026-07-26 (claude-opus-5)Open item page →

Countable unions of at most countable sets, assuming ACω

Statement

Assume the Axiom of Countable Choice (The Axiom of Countable Choice (ACω)). Let (An)n∈N be a family of at most countable sets (Finite, countably infinite, countable, uncountable) indexed by N. Then

U=⋃n∈NAn

is at most countable.

The hypothesis ACω is not decoration and it is not removable. It is spent at exactly one step, step 3.1 below, where one surjection N→An is selected for every n at once. Each An has such surjections, in general many of them, and the countability assumption provides no rule for singling one out. Without some choice principle the theorem is not available at all: ZF alone does not prove it, conditionally on the consistency of ZF, as recorded among this page's false statements and discussed in the remarks below, where that item is named and linked. The consistency hypothesis is not a formality and cannot be dropped: the separation rests on an external independence result that this library quotes rather than proves, and it cannot be stated without it.

Facts & Assumptions

Given: A family (An)n∈N of at most countable sets, its union U=⋃n∈NAn, and the Axiom of Countable Choice as an explicit hypothesis.

[L1]

Finite, countably infinite, at most countable; ∅ is finite (Finite, countably infinite, countable, uncountable).

[L2]

A nonempty set X is at most countable if and only if there is a surjection N→X (A nonempty set is at most countable iff it is a surjective image of N).

[L3]

ACω: for every family (Xn)n∈N of nonempty sets there is f with f(n)∈Xn for all n (The Axiom of Countable Choice (ACω)).

[L4]

There is a bijection β:N→N×N (N×N≈N, Equinumerous sets, A≈B and A⪯B).

[L5]

Every nonempty subset of N has a least element (The well-ordering principle).

[L6]

A composition of surjections is a surjection (Injection, surjection, bijection).

Proof

technique · direct
1.1

If U=∅ then U is finite, hence at most countable.

givenL1
1.2

Assume instead U≠∅; then J:={ n∈N:An≠∅ } is nonempty, so it has a least element n0 by [L5].

givenL5
1.3

Fix the bijection β:N→N×N of [L4].

L4
2.1

For n∈J let Sn be the set of all surjections N→An, which is nonempty by [L2] since An is nonempty and at most countable; for n∉J put Sn:=Sn0, also nonempty. This makes (Sn)n∈N a family of nonempty sets indexed by N, defined with no choices.

step 1.2givenL2construct
3.1

This is the step that uses choice. Apply ACω [L3] to the family (Sn)n∈N of step 2.1: it delivers a function n↦sn with sn∈Sn for every n, that is, one surjection sn:N→An selected simultaneously for every n∈J. Nothing in the hypotheses names a particular surjection onto An, so this selection cannot be replaced by a definition; it is exactly here, and nowhere else in the proof, that the theorem leaves ZF.

step 2.1L3choose
4.1

Define t:N×N→U by t(n,k)=sn(k); the value lies in An⊆U for n∈J and in An0⊆U otherwise, so t is well defined. It is surjective: any x∈U lies in some An, which is then nonempty, so n∈J and x=sn(k) for some k because sn is onto An.

step 3.1given
5.1

Hence t∘β:N→U is a surjection by [L6], and U≠∅, so U is at most countable by [L2].

step 1.3step 4.1L2L6
6.1

In both cases U is at most countable, which is the assertion.

step 1.1step 5.1L1∎

Remarks

  • An at most countable index set is no more general. If I is at most countable and (Ai)i∈I are at most countable, then either I is empty, and the union is ∅, or a surjection r:N→I exists (A nonempty set is at most countable iff it is a surjective image of N) and ⋃i∈IAi=⋃n∈NAr(n), which the theorem covers. That reindexing uses no choice.

  • The two-set union needs no choice at all, and neither does any union of finitely many sets: with A and B both at most countable and nonempty, fix surjections f,g:N→A,B (two choices made one after the other, which is ordinary existential instantiation, not a choice principle) and put u(0,k)=f(k) and u(n,k)=g(k) for n≠0, a surjection N×N→A∪B. This is the form used in The irrationals are uncountable, and keeping it separate from the countable case is the whole point of flagging step 3.1.

  • The proof isolates its exact use of ACω at step 3.1. It does not infer from that proof cost that the hypothesis is necessary; proving such a lower bound belongs to the later symmetric-model development.

TheoremStatement: AI-adaptedProof: AI-adaptedprecheck passjudge pass (z-ai/glm-5.2)verified 2026-07-26 (claude-opus-5)Open item page →

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.

TheoremStatement: AI-adaptedProof: AI-adaptedprecheck passjudge pass (openai/gpt-5.4)verified 2026-07-26 (claude-opus-5)Open item page →

Cantor's theorem: A≺P(A)

Statement

Let A be a set and P(A) its power set. Then there is no surjection A→P(A) (Injection, surjection, bijection).

Consequently A≉P(A) while A⪯P(A), that is, A≺P(A) (Equinumerous sets, A≈B and A⪯B): the power set is strictly larger, for every set whatsoever.

This is Cantor's diagonal argument in its non-circular form. It uses nothing about R, nothing about decimal or binary expansions, and no choice principle: only the Power Set axiom, to form P(A), and Separation, to form the diagonal set.

Facts & Assumptions

Given: A set A, its power set P(A)={ X:X⊆A }, which is a set by the Power Set axiom, and the Separation axiom scheme, which turns any property of elements of A into a subset of A.

[L1]

Injection, surjection and bijection; a bijection is in particular a surjection (Injection, surjection, bijection).

[L2]

A≈B means a bijection A→B exists, A⪯B means an injection A→B exists, and A≺B means A⪯B and A≉B (Equinumerous sets, A≈B and A⪯B).

Proof

technique · contradiction
1.1

Suppose, for contradiction, that some function f:A→P(A) is surjective.

assume-contra
1.2

The map x↦{x} is a function A→P(A) and is injective, since {x}={y} forces x=y; hence A⪯P(A), independently of the assumption.

L1L2
2.1

By Separation the diagonal set D={ x∈A:x∉f(x) } is a subset of A, hence an element of P(A).

step 1.1givenconstruct
3.1

By surjectivity there is d∈A with f(d)=D.

step 1.1step 2.1
4.1

Then d∈D if and only if d∉f(d)=D, by the definition of D and f(d)=D; a statement equivalent to its own negation is impossible, so no surjection A→P(A) exists. In particular no bijection does, so A≉P(A), and with step 1.2, A≺P(A).

step 1.2step 2.1step 3.1L1L2discharge-contradiction∎

Remarks

  • Where the "diagonal" is. Reading f as a table whose row x lists which elements belong to f(x), the set D flips the diagonal entries: x∈D exactly when the entry at position (x,x) says "no". The resulting subset differs from every row in at least one place, namely on the diagonal, so it is no row at all.

  • Why this is the diagonal argument that survives in this library. The familiar diagonal proof that R is uncountable alters the digits of a decimal expansion. Decimal expansions are infinite series, which this library has not built, so that proof would rest on machinery that is not yet available. Applied to power sets the argument needs nothing but Separation, and R is instead proved uncountable by Cantor's earlier nested-interval argument (R is uncountable (Cantor's nested intervals, 1874)).

  • Taking A=N gives N≺P(N). It also gives that P(N) is uncountable, and by the shortest possible route: P(N) is nonempty, so if it were at most countable there would be a surjection N→P(N) (A nonempty set is at most countable iff it is a surjective image of N), which is exactly what the theorem forbids. No fact about finite sets is needed for this. Iterating gives N≺P(N)≺P(P(N))≺⋯, so there is no largest set and no "set of all sets": such a set would have its own power set as a subset, contradicting the theorem.

  • The proof is the same argument as Russell's paradox, in a form where nothing goes wrong: the assumption refuted is not the existence of a set but the surjectivity of a function. See The continuum hypothesis, and what this page does not prove for what is, and is not, known about the gap between N and P(N).

TheoremStatement: AI-adaptedProof: AI-adaptedprecheck passjudge pass (z-ai/glm-5.2)verified 2026-07-26 (claude-opus-5)Open item page →

R is uncountable (Cantor's nested intervals, 1874)

Statement

Let R be a complete ordered field (Complete ordered field (least-upper-bound property)). Then R is uncountable (Finite, countably infinite, countable, uncountable): there is no surjection N→R, so R is neither finite nor countably infinite.

The proof is Cantor's original argument of 1874, not the decimal diagonal. Assuming a surjection f:N→R, one builds nested closed intervals [an,bn] with an<bn and f(n)∉[an+1,bn+1], and then sup⁡{an} is a real number that f misses. The decimal diagonal is deliberately avoided: decimal expansions are infinite series, which this library has not yet constructed, so a diagonal proof here would rest on machinery that does not exist. The diagonal argument survives in its non-circular form, on power sets, as Cantor's theorem earlier on this page; see the remarks below.

The construction uses no choice, and that is what the thirds are for. Given [an,bn] of length d, its three closed thirds [an,an+d/3], [an+d/3,an+2d/3], [an+2d/3,bn] cannot all contain f(n), because the first and the third are disjoint; the rule takes the first one in that fixed order which does not contain f(n). That is a definition by cases, so the whole construction is a single application of the recursion theorem (The recursion theorem) to one explicitly given function. A version of the argument that says "pick a third avoiding f(n)" would be using dependent choice, silently and unnecessarily.

Facts & Assumptions

Given: A complete ordered field R, with 0≠1 and the order of Ordered field. For a≤b write [a,b]={ x∈R:a≤x≤b }, and write I={ (a,b)∈R×R:a<b } for the set of pairs coding nondegenerate closed intervals.

[L1]

Least-upper-bound property: every nonempty S⊆R that is bounded above has a least upper bound sup⁡S, an upper bound below every upper bound (Complete ordered field (least-upper-bound property), Lower bound, bounded below, bounded set).

[L2]

The least upper bound is unique when it exists (Suprema and infima are unique).

[L3]

Epsilon characterisation: for a nonempty S bounded above and an upper bound u of S, u=sup⁡S if and only if for every ε>0 there is s∈S with u−ε<s (Epsilon characterisation of the supremum).

[L4]

Order and arithmetic in an ordered field: 0<1 (The multiplicative identity is positive); a<b implies a+c<b+c, and a<b with c<d implies a+c<b+d (Order is preserved by adding a constant and by adding inequalities); a>0 implies a−1>0 (Inverses of positives are positive, and reciprocation reverses order); a product of positives is positive (Sign rules for products and monotonicity of multiplication); the order is transitive and satisfies trichotomy (Ordered field).

[L5]

Recursion: for any set X, x0∈X and F:X→X there is h:N→X with h(0)=x0 and h(σ(n))=F(h(n)) (The recursion theorem).

[L6]

Induction (The principle of mathematical induction); any two naturals are comparable (Trichotomy of the order on N); the order of N is the additive one, m≤n meaning m+k=n for some k (Order on the natural numbers, The natural numbers N (von Neumann)), and it satisfies n<σ(n) and m<σ(n)  ⟺  m≤n (On N the order is membership: m<n  ⟺  m∈n), so m≤σ(n) holds exactly when m≤n or m=σ(n).

[L7]

A nonempty set is at most countable if and only if some surjection from N onto it exists; uncountable means not at most countable (A nonempty set is at most countable iff it is a surjective image of N, Finite, countably infinite, countable, uncountable).

Proof

technique · contradiction
1.1

Suppose, for contradiction, that R is at most countable. Since 0∈R, it is nonempty, so [L7] provides a surjection f:N→R.

assume-contragivenL7
1.2

Put 3:=1+1+1. Adding the inequality 0<1 to itself twice gives 3>0 by [L4], so 3≠0 and 3−1>0; hence for d>0 the element d/3:=d⋅3−1 is positive, and d/3+d/3+d/3=d⋅3−1⋅3=d.

L4algebra
2.1

Fix the trisection rule. Let (a,b)∈I and y∈R. Put d=b−a>0, p=a+d/3 and q=p+d/3; then a<p<q<b by step 1.2 and [L4], since p−a=q−p=b−q=d/3>0. The three pairs (a,p), (p,q), (q,b) all lie in I and their intervals are contained in [a,b]. Moreover [a,p] and [q,b] are disjoint, because x≤p<q≤x is impossible; so y fails to lie in at least one of the three. Define T(a,b,y) to be the first of (a,p), (p,q), (q,b), in that fixed order, whose interval does not contain y. This is a definition by cases on the three conditions y∈[a,p], y∈[p,q], y∈[q,b], so T:I×R→I is a function and no choice is made.

step 1.2L4construct
3.1

Apply [L5] with X=N×I, x0=(0,(0,1)), which lies in X because 0<1 by [L4], and F(n,(a,b))=(σ(n),T(a,b,f(n))): this yields h:N→N×I with h(0)=x0 and h(σ(n))=F(h(n)). An induction using [L6] shows the first coordinate of h(n) is n, so we may write h(n)=(n,(an,bn)) with an<bn, a0=0, b0=1 and (aσ(n),bσ(n))=T(an,bn,f(n)) for every n. By step 2.1 this gives an≤aσ(n), bσ(n)≤bn and f(n)∉[aσ(n),bσ(n)].

step 1.1step 2.1L4L5L6construct
4.1

For m≤n one has am≤an and bn≤bm, by induction on n using step 3.1 and transitivity; consequently am≤bn for all m,n: if m≤n then am≤an<bn, and if n≤m then am<bm≤bn, and any two naturals are comparable by [L6].

step 3.1L4L6
5.1

The set S={ an:n∈N } is nonempty and bounded above by b0 by step 4.1, so [L1] gives its least upper bound x=sup⁡S, unique by [L2].

step 3.1step 4.1L1L2
6.1

For every n: an≤x, because x is an upper bound of S; and x≤bn, because otherwise ε:=x−bn>0 and [L3] would produce am∈S with bn=x−ε<am, contradicting am≤bn from step 4.1. Hence x∈[an,bn] for every n.

step 4.1step 5.1L1L3L4
7.1

Fix n∈N. By step 6.1 applied to σ(n), x∈[aσ(n),bσ(n)], whereas f(n)∉[aσ(n),bσ(n)] by step 3.1, so x≠f(n). As n was arbitrary, the real number x is not a value of f, contradicting the surjectivity of f obtained in step 1.1. Therefore no surjection N→R exists and, R being nonempty, [L7] makes R uncountable.

step 1.1step 3.1step 6.1L7discharge-contradiction∎

Remarks

  • What the proof actually uses. Completeness enters once, at step 5.1, to produce sup⁡{an}; everything else is ordered-field arithmetic and the recursion theorem. The argument therefore applies verbatim to any ordered field with the least-upper-bound property, and it fails for Q exactly because the supremum of the left endpoints need not exist there, which is as it should be, since Q is countable (Q is countably infinite).

  • Why thirds and not halves. Two closed halves share the midpoint, so if f(n) happens to be that midpoint then both halves contain it and the rule "take the first closed half not containing f(n)" has nothing to return. Three closed thirds fix this: the first and the third are disjoint, so at least one of the three always misses f(n), and listing them in a fixed order makes the selection a definition by cases rather than a choice. Open intervals would avoid the overlap too, but closed intervals are what make step 6.1 work, since the point sup⁡{an} must be allowed to be an endpoint.

  • The diagonal argument is not lost, only relocated. Cantor's theorem: A≺P(A), proved earlier on this page, is Cantor's diagonal argument in a setting where it needs nothing but the Power Set and Separation axioms. What is unavailable here is only the decimal diagonal, and only because decimal expansions are infinite series.

  • The choice-freeness matters beyond tidiness. The result remains available as a local ZF theorem in later arguments, including arguments that separately state a weak-choice hypothesis for assembling countable families.

  • The argument gives more than the statement does. Nothing above depends on the starting interval being (0,1), so re-seeding the recursion inside a given interval shows that every nondegenerate interval, open or closed, is uncountable. That extension is Every nondegenerate interval of R is uncountable, next on this page, where it is proved rather than asserted.

CorollaryStatement: AI-adaptedProof: AI-adaptedprecheck passjudge pass (z-ai/glm-5.2)verified 2026-07-26 (claude-opus-5)Open item page →

Every nondegenerate interval of R is uncountable

Statement

Let R be a complete ordered field (Complete ordered field (least-upper-bound property)) and let a,b∈R with a<b. Then both

  1. the closed interval [a,b]={ x∈R:a≤x≤b }, and
  2. the open interval (a,b)={ x∈R:a<x<b }

are uncountable (Finite, countably infinite, countable, uncountable).

What this adds to R is uncountable (Cantor's nested intervals, 1874), and what it does not inherit from it. That theorem states exactly one thing: R is uncountable. Its statement says nothing about any interval, so the present result cannot be read off it. Its proof, on the other hand, is general in every part but its seed: the trisection rule of its step 2.1 is constructed there for an arbitrary (a,b)∈I, and its steps 4.1, 5.1 and 6.1, together with the interval reasoning of its step 7.1, use nothing about the starting interval beyond the nesting and the strictness an<bn that the rule delivers. Only three places are special to R and to (0,1): the surjection of its step 1.1 is onto R, the recursion of its step 3.1 is seeded at (0,(0,1)), and the conclusion drawn in its step 7.1 is about R. So the construction is re-run below, seeded instead at the middle third of (a,b), against a surjection onto (a,b); the remarks record why that seed and not (a,b) itself.

Facts & Assumptions

Given: A complete ordered field R, with 0≠1 and the order of Ordered field. For u≤v write [u,v]={ x∈R:u≤x≤v } and (u,v)={ x∈R:u<x<v }, and write I={ (u,v)∈R×R:u<v } for the set of pairs coding nondegenerate closed intervals.

[L1]

Least-upper-bound property: every nonempty S⊆R that is bounded above has a least upper bound sup⁡S, an upper bound below every upper bound (Complete ordered field (least-upper-bound property), Lower bound, bounded below, bounded set).

[L2]

The least upper bound is unique when it exists (Suprema and infima are unique).

[L3]

Epsilon characterisation: for a nonempty S bounded above and an upper bound u of S, u=sup⁡S if and only if for every ε>0 there is s∈S with u−ε<s (Epsilon characterisation of the supremum).

[L4]

Order and arithmetic in an ordered field: 0<1 (The multiplicative identity is positive); a<b implies a+c<b+c, and a<b with c<d implies a+c<b+d (Order is preserved by adding a constant and by adding inequalities); a>0 implies a−1>0 (Inverses of positives are positive, and reciprocation reverses order); a product of positives is positive (Sign rules for products and monotonicity of multiplication); the order is transitive and satisfies trichotomy (Ordered field).

[L5]

Recursion: for any set X, x0∈X and F:X→X there is h:N→X with h(0)=x0 and h(σ(n))=F(h(n)) (The recursion theorem).

[L6]

Induction (The principle of mathematical induction); any two naturals are comparable (Trichotomy of the order on N); the order of N is the additive one, m≤n meaning m+k=n for some k (Order on the natural numbers, The natural numbers N (von Neumann)), and it satisfies n<σ(n) and m<σ(n)  ⟺  m≤n (On N the order is membership: m<n  ⟺  m∈n), so m≤σ(n) holds exactly when m≤n or m=σ(n).

[L7]

A nonempty set is at most countable if and only if some surjection from N onto it exists; uncountable means not at most countable (A nonempty set is at most countable iff it is a surjective image of N, Finite, countably infinite, countable, uncountable).

[L8]

Every subset of an at most countable set is at most countable (Every subset of an at most countable set is at most countable).

Proof

technique · contradiction
1.1

Suppose, for contradiction, that the conclusion fails: there are a<b in R for which [a,b] is at most countable or (a,b) is at most countable. Fix such a pair. Since (a,b)⊆[a,b], in the first case [L8] makes (a,b) at most countable too, so in either case (a,b) is at most countable.

assume-contraL7L8
1.2

Put 3:=1+1+1. Adding the inequality 0<1 to itself twice gives 3>0 by [L4], so 3≠0 and 3−1>0; hence for d>0 the element d/3:=d⋅3−1 is positive, and d/3+d/3+d/3=d⋅3−1⋅3=d.

L4algebra
2.1

Fix the trisection rule. Let (u,v)∈I and y∈R. Put d=v−u>0, s=u+d/3 and t=s+d/3; then u<s<t<v by step 1.2 and [L4], since s−u=t−s=v−t=d/3>0. The three pairs (u,s), (s,t), (t,v) all lie in I and their intervals are contained in [u,v]. Moreover [u,s] and [t,v] are disjoint, because x≤s<t≤x is impossible; so y fails to lie in at least one of the three. Define T(u,v,y) to be the first of (u,s), (s,t), (t,v), in that fixed order, whose interval does not contain y. This is a definition by cases on the three conditions y∈[u,s], y∈[s,t], y∈[t,v], so T:I×R→I is a function and no choice is made.

step 1.2L4construct
3.1

Trisect the fixed interval. Put d0=b−a>0, p=a+d0/3 and q=p+d0/3; then a<p<q<b by step 1.2 and [L4], exactly as in step 2.1 applied to (a,b). Hence (p,q)∈I, and [p,q]⊆(a,b), since p≤x≤q gives a<p≤x≤q<b. In particular p∈(a,b), so (a,b) is nonempty.

step 1.2L4
4.1

By step 1.1 the set (a,b) is at most countable, and by step 3.1 it is nonempty, so [L7] provides a surjection g:N→(a,b). Composing with the inclusion (a,b)⊆R regards g as a function f:N→R with f(n)=g(n) for every n.

step 1.1step 3.1L7
5.1

Apply [L5] with X=N×I, x0=(0,(p,q)), which lies in X because p<q by step 3.1, and F(n,(u,v))=(σ(n),T(u,v,f(n))): this yields h:N→N×I with h(0)=x0 and h(σ(n))=F(h(n)). An induction using [L6] shows the first coordinate of h(n) is n, so we may write h(n)=(n,(an,bn)) with an<bn, a0=p, b0=q and (aσ(n),bσ(n))=T(an,bn,f(n)) for every n. By step 2.1 this gives an≤aσ(n), bσ(n)≤bn and f(n)∉[aσ(n),bσ(n)].

step 2.1step 3.1step 4.1L4L5L6construct
6.1

For m≤n one has am≤an and bn≤bm, by induction on n using step 5.1 and transitivity; consequently am≤bn for all m,n: if m≤n then am≤an<bn, and if n≤m then am<bm≤bn, and any two naturals are comparable by [L6].

step 5.1L4L6
7.1

The set S={ an:n∈N } is nonempty and bounded above by b0 by step 6.1, so [L1] gives its least upper bound x=sup⁡S, unique by [L2].

step 5.1step 6.1L1L2
8.1

For every n: an≤x, because x is an upper bound of S; and x≤bn, because otherwise ε:=x−bn>0 and [L3] would produce am∈S with bn=x−ε<am, contradicting am≤bn from step 6.1. Hence x∈[an,bn] for every n.

step 6.1step 7.1L1L3L4
9.1

Taking n=0 in step 8.1 gives x∈[a0,b0]=[p,q], and [p,q]⊆(a,b) by step 3.1, so x∈(a,b). Fix n∈N: by step 8.1 applied to σ(n), x∈[aσ(n),bσ(n)], whereas f(n)∉[aσ(n),bσ(n)] by step 5.1, so x≠f(n)=g(n). As n was arbitrary, the element x of (a,b) is not a value of g, contradicting the surjectivity of g obtained in step 4.1. So no such pair a<b exists: for every a<b both [a,b] and (a,b) fail to be at most countable, that is, both are uncountable by [L7].

step 3.1step 4.1step 5.1step 8.1L7discharge-contradiction∎

Remarks

  • Which route this proof takes, and why. The extension is obtained by re-running the construction of R is uncountable (Cantor's nested intervals, 1874) with a new seed, not by transporting uncountability along a bijection. The reason is that there is nothing to transport: the theorem states that R is uncountable and nothing more, and no item of this library states that [0,1] is uncountable, so the affine order-isomorphism t↦a+t(b−a) from [0,1] onto [a,b] has no uncountable source to carry across. Re-running is available instead precisely because the theorem's proof is already general: its step 2.1 builds the trisection rule T for an arbitrary (a,b)∈I, and its steps 4.1 to 7.1 quote only the nesting an≤aσ(n), bσ(n)≤bn, the strictness an<bn and the omission f(n)∉[aσ(n),bσ(n)]. Its step 1.1, the seed of its step 3.1 and the conclusion of its step 7.1 are the special ones, and they are the three replaced here: a surjection onto (a,b) rather than onto R, the seed (0,(p,q)) rather than (0,(0,1)), and a conclusion about the interval rather than about R.
  • A corollary of the argument, not of the statement. That distinction is the whole content of the previous remark, and it is why the proof is written out here in full rather than replaced by a citation. A fact of the form "for every (a,b)∈I and every f:N→R there is x∈[a,b] omitted by f" is true and is what the theorem's proof establishes, but it is not what the theorem says, so quoting the theorem for it would be an attribution the theorem does not support.
  • Why the seed is the middle third and not (a,b) itself. The point produced by the construction is a supremum of left endpoints, so it may be an endpoint of the starting interval; seeding at (a,b) would therefore only place x in the closed interval [a,b], which settles claim 1 but not claim 2. Seeding at (p,q), the middle third, costs nothing and gives x∈[p,q]⊆(a,b), so the open case comes out directly and the closed case follows from it, since (a,b)⊆[a,b] and a subset of an at most countable set is at most countable (Every subset of an at most countable set is at most countable). The naive order of the two claims is thus reversed: the open interval is the substantive one.
  • What the proof uses. Exactly what R is uncountable (Cantor's nested intervals, 1874) uses, and nothing else: ordered-field arithmetic, the recursion theorem (The recursion theorem), and completeness at exactly one point, step 7.1 above, where sup⁡{an} is produced. In particular the construction still makes no choices, for the same reason as there, namely that the three closed thirds are tried in a fixed order and the first and third are disjoint. The result consequently fails for Q, where the intervals with rational endpoints are countable, and it must, since the supremum taken in step 7.1 above need not exist there.
  • Degeneracy is the only exclusion. The hypothesis a<b cannot be weakened: [a,a]={a} is finite and (a,a)=∅ is finite, so both are at most countable. Every interval that is not a single point or empty contains a nondegenerate open interval, so this corollary gives the uncountability of the half-open and unbounded intervals as well, again by Every subset of an at most countable set is at most countable.
CorollaryStatement: AI-adaptedProof: AI-adaptedprecheck passjudge pass (z-ai/glm-5.2)verified 2026-07-26 (claude-opus-5)Open item page →

The irrationals are uncountable

Statement

Let R be a complete ordered field (Complete ordered field (least-upper-bound property)) and let ι:Q→R be the canonical embedding (The unique embedding of ℚ into an ordered field); write QR=ι[Q] for the copy of the rationals inside R, the set usually written Q once the identification is made. Then the set of irrationals

R∖QR

is uncountable (Finite, countably infinite, countable, uncountable).

Only the union of two sets is used, and that needs no choice whatsoever. If the irrationals were at most countable, then R would be the union of the two at most countable sets QR and R∖QR, and countability of a two-set union is proved by interleaving two given enumerations. The countable union theorem, which does spend ACω, is not invoked here and is not needed; see the remarks below.

Facts & Assumptions

Given: A complete ordered field R, the canonical embedding ι:Q→R, the subset QR=ι[Q] and its complement X=R∖QR, so that R=QR∪X.

[L1]

ι is injective (The unique embedding of ℚ into an ordered field), hence a bijection of Q onto QR; ≈ is transitive (Equinumerous sets, A≈B and A⪯B, Injection, surjection, bijection).

[L2]

Q≈N, so Q is at most countable (Q is countably infinite).

[L3]

A nonempty set is at most countable if and only if some surjection N→ it exists (A nonempty set is at most countable iff it is a surjective image of N); uncountable means not at most countable (Finite, countably infinite, countable, uncountable).

[L4]

There is a bijection β:N→N×N (N×N≈N).

Proof

technique · contradiction
1.1

Suppose, for contradiction, that X=R∖QR is at most countable.

assume-contra
1.2

QR≈Q≈N by [L1] and [L2], so QR is at most countable, and it is nonempty since ι(0)∈QR.

L1L2
1.3

Fix the bijection β:N→N×N of [L4].

L4
2.1

If X=∅ then R=QR, which is at most countable by step 1.2.

step 1.2given
2.2

Otherwise X≠∅, and since X is at most countable by assumption and QR is nonempty and at most countable by step 1.2, [L3] provides surjections f:N→QR and g:N→X.

step 1.1step 1.2L3
3.1

Define u:N×N→R by u(0,k)=f(k) and u(n,k)=g(k) for n≠0. Every element of R lies in QR or in X, hence is f(k) or g(k) for some k, so u is surjective onto R. The two surjections were obtained one after the other, not selected simultaneously from an infinite family, so no choice principle is used.

step 2.2given
4.1

Hence u∘β:N→R is a surjection and R≠∅, so R is at most countable by [L3].

step 1.3step 3.1L3
5.1

In either case R is at most countable, by step 2.1 in the first and step 4.1 in the second; this contradicts [L5]. Therefore X=R∖QR is uncountable.

step 2.1step 4.1L3L5discharge-contradiction∎

Remarks

RemarkRemark: AI-adaptedProof: Not applicableverified 2026-07-29 (claude-sonnet-5)‡ rests on unproved materialOpen item page →

The continuum hypothesis, and what this page does not prove

Remark

By Cantor's theorem: A≺P(A) there is a strict gap N≺P(N) (Equinumerous sets, A≈B and A⪯B). In particular P(N) is uncountable (Finite, countably infinite, countable, uncountable), since a surjection N→P(N) would exist if it were at most countable (A nonempty set is at most countable iff it is a surjective image of N) and the theorem forbids one; and so, by a completely different argument, is R (R is uncountable (Cantor's nested intervals, 1874)). The obvious next question is whether anything sits strictly in between.

The continuum hypothesis (CH) asserts that nothing does:

there is no set A with N≺A≺P(N).

Over ZFC this is equivalent to: every uncountable subset of P(N) is equinumerous with P(N) itself. The qualification matters. Passing from the displayed form to the subset form uses choice to well order an uncountable A⊆P(N) and obtain N≺A. Nothing here asserts that this passage is available in ZF; only the displayed form is used below. Determining the exact choiceless relationship between the formulations belongs to the later symmetric-model development.

CH is independent of ZFC (The continuum hypothesis and its generalisation are independent of ZFC ‡). Gödel (1938) showed that ZFC cannot refute it, by constructing the inner model L of constructible sets, in which CH holds (Gödel 1938: ZF does not refute the Axiom of Choice ‡). Cohen (1963) showed that ZFC cannot prove it, by inventing forcing and building a model of ZFC in which CH fails (Cohen 1963: ZF does not prove the Axiom of Choice ‡ is the same method). Together, if ZFC is consistent then so are ZFC + CH and ZFC + not CH, so CH is settled by neither. Both results are external to this library: neither the constructible universe nor forcing is developed here, and both are quoted with references rather than proved. As with the false statements on this page, the honest form of the conclusion is conditional on the consistency of ZFC, which cannot be proved inside ZFC.

What this page has not proved. CH is usually stated about R: that every uncountable set of reals is equinumerous with R. That form is equivalent to the one above only once one knows R≈P(N), which this library now proves, in ZF, on a later page. At this point in the reading order, though, the two uncountability results on this page are still genuinely separate facts: P(N) is uncountable by the diagonal argument, and R is uncountable by nested intervals, and the bridge between them is not available here — it needs binary expansions, which are developed much later, on the same later page. Nothing on this page depends on that bridge.

None of this affects the theorems proved here. Countability of Q, uncountability of R and of the irrationals, and Cantor's theorem are all decided, and all are theorems of ZF, choice included nowhere. Independence enters only for statements that compare sizes strictly between N and P(N), and for the choice principles recorded in The Axiom of Countable Choice (ACω) and its companions.

The generalised continuum hypothesis (GCH), that A≺B≺P(A) never holds for infinite A, is also independent of ZFC (The continuum hypothesis and its generalisation are independent of ZFC ‡), in the same conditional sense as CH above: if ZFC is consistent, then so are ZFC + GCH and ZFC + not GCH, and that consistency assumption cannot be dropped. GCH implies CH, being its instance at A=N, an instance the hypothesis "for infinite A" genuinely licenses: N≉n for every natural number n (claim 4 of The pigeonhole principle on N), so N is not finite in the sense of Finite, countably infinite, countable, uncountable. GCH is stronger in a striking further sense: over ZF it even implies the Axiom of Choice, a result of Sierpiński (Sierpiński 1947: the generalised continuum hypothesis implies the Axiom of Choice ‡). That implication, too, is quoted and not proved here. That CH does not conversely imply GCH is again a relative-consistency statement rather than a theorem, conditional on the consistency of ZFC, and it is likewise not proved here.

5 · Examples, counterexamples and false statements

False statementConstruction: AI-adaptedVerification: AI-adaptedprecheck passjudge pass (z-ai/glm-5.2)verified 2026-07-26 (claude-opus-5)Open item page →

FALSE: every uncountable subset of R contains an interval

Statement

FALSE. Every uncountable subset X⊆R (Finite, countably infinite, countable, uncountable) contains a nondegenerate interval: there are a<b in R with (a,b)⊆X.

The claim is plausible because an uncountable set is, in a rough sense, large, and the intervals are the obvious large subsets of R. But size in the sense of cardinality says nothing about how a set sits inside R: a set can be uncountable and still meet every interval in a set with holes. The irrationals are the standard witness, and the Cantor set, once measure and topology are available, is a starker one.

Facts & Assumptions

Given: A complete ordered field R (Complete ordered field (least-upper-bound property)) with the canonical embedding ι:Q→R and QR=ι[Q] (The unique embedding of ℚ into an ordered field). "Nondegenerate interval" means a set (a,b)={ x:a<x<b } with a<b.

[L1]

X0:=R∖QR is uncountable (The irrationals are uncountable).

[L2]

R is Archimedean (Every complete ordered field is Archimedean), and QR is dense in every Archimedean ordered field: for a<b there is q∈Q with a<ι(q)<b (ℚ is dense in every Archimedean ordered field). For the Cauchy-sequence model of R the same density is The rationals embed densely in the reals.

[L3]

Uncountable means not at most countable (Finite, countably infinite, countable, uncountable).

Refutation

technique · constructive
1.1

Take the counterexample to be X0=R∖QR, the set of irrationals.

construct
1.2

X0 is uncountable by [L1], so it satisfies the hypothesis of the claim.

L1L3
2.1

Let a<b in R be arbitrary. By [L2] there is q∈Q with a<ι(q)<b, so ι(q)∈(a,b); but ι(q)∈QR, hence ι(q)∉X0. Therefore (a,b)⊈X0, and a fortiori [a,b]⊈X0.

step 1.1L2
3.1

So X0 is an uncountable subset of R containing no nondegenerate interval, which refutes the claim.

step 1.2step 2.1discharge-construct∎

Remarks

  • The counterexample is as strong as possible in one direction: X0 misses no interval either, so it is dense and yet contains no interval. That X0 meets every (a,b) with a<b needs no new input, only what is already on this page: were (a,b)∩X0 empty we would have (a,b)⊆QR, and QR=ι[Q] is at most countable, being a bijective image of Q (Q is countably infinite, The unique embedding of ℚ into an ordered field), so (a,b) would be at most countable (Every subset of an at most countable set is at most countable), which it is not, by the next remark. Density and containing an interval are unrelated properties.

  • Every nondegenerate interval is uncountable, open as well as closed (Every nondegenerate interval of R is uncountable). The open form is the one the remarks on either side of this one need, and the corollary states it outright, so nothing has to be transported here from the closed case to the open one. It is proved by re-running the nested-interval construction of R is uncountable (Cantor's nested intervals, 1874) seeded at the middle third of (a,b), which is what places the point that construction produces strictly inside (a,b) rather than merely in [a,b]; the density of QR recorded in [L2] is not needed for it.

  • The converse implication is true and trivial: a nondegenerate interval is uncountable, by the previous remark, so "contains an interval" implies "uncountable" (Every subset of an at most countable set is at most countable again, applied to the interval inside the set). Only the direction claimed above fails.

  • A cardinality assumption cannot be repaired into a topological conclusion. The Cantor set is uncountable, closed, and contains no interval; it also has measure zero, so it is small in a second, independent sense. Neither notion is developed here, and neither is needed: the irrationals already settle the question.

Sources