Alphabeta Math
Session-authored (Fable 5 assisted)
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.

17 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. The 2 not AI-judged were verified by owner audit (typically over a confirmed judge false positive), not failures.

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\mathbb{Q} can be listed and that R\mathbb{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\mathbb{N} additively, mnm \le n when m+k=nm + k = n for some kk, 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\mathbb{N} the order is membership: m<n    mnm < n \iff m \in 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\mathbb{N}: no injection σ(n)n\sigma(n) \to 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\mathbb{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: ABA \approx B when a bijection exists, ABA \preceq 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\mathbb{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)(m,n) \mapsto 2^m(2n+1) of N×NN\mathbb{N} \times \mathbb{N} \approx \mathbb{N} is exhibited and proved bijective, not waved at as a diagonal enumeration, and it is what makes products, unions and Q\mathbb{Q} countable.

R\mathbb{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\mathbb{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: AP(A)A \prec \mathcal{P}(A), which uses nothing about R\mathbb{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)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)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)(0,1), and Every nondegenerate interval of R\mathbb{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 ledger for this page is short and explicit. Every definition, lemma and theorem proved here is a theorem of ZF except Countable unions of at most countable sets, assuming ACω\mathrm{AC}_\omega, which assumes the Axiom of Countable Choice (The Axiom of Countable Choice (ACω\mathrm{AC}_\omega)) and flags the exact step that spends it: the selection, for every index at once, of one surjection onto AnA_n 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\mathbb{N} are choice free precisely because a nonempty set of naturals has a least element, Q\mathbb{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}\{a_0, \dots, a_n\} of reals has a maximum and a minimum, and then stipulated, explicitly without proof, that the nonempty finite subsets of R\mathbb{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\mathbb{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, ABA \approx B and ABA \preceq B

Definition

Let AA and BB be sets (Injection, surjection, bijection for the terminology).

  • AA and BB are equinumerous, written ABA \approx B, if there exists a bijection f:ABf : A \to B.
  • AA is dominated by BB, written ABA \preceq B, if there exists an injection f:ABf : A \to B.
  • ABA \prec B abbreviates: ABA \preceq B and not ABA \approx B.

Remarks

  • \approx behaves like an equivalence relation. It is reflexive (idA\mathrm{id}_A 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 \approx 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.

  • \preceq is reflexive and transitive, for the same reasons, and ABA \approx B implies both ABA \preceq B and BAB \preceq A. The converse, that ABA \preceq B and BAB \preceq A together give ABA \approx 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. ABA \subseteq B implies ABA \preceq B, since the inclusion map is injective. The reverse fails badly for infinite sets: the successor map σ\sigma is a bijection NN{0}\mathbb{N} \to \mathbb{N} \setminus \{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 NN{0}\mathbb{N} \approx \mathbb{N} \setminus \{0\} and a proper subset can be equinumerous with the whole.

  • \approx is the library's substitute for "has the same number of elements", stated without introducing cardinal numbers. Everything on this page is phrased with \approx, \preceq and \prec 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\mathbb{N} the order is membership: m<n    mnm < n \iff m \in n

Statement

Let N=ω\mathbb{N} = \omega be the von Neumann naturals, with 0=0 = \varnothing and σ(n)=n{n}\sigma(n) = n \cup \{n\} (The natural numbers N\mathbb{N} (von Neumann)), and let \le and << be the order defined additively by mn    kN (m+k=n)m \le n \iff \exists k \in \mathbb{N}\ (m + k = n) and m<n    (mnm < n \iff (m \le n and mn)m \ne n) (Order on the natural numbers). Then N\mathbb{N} is a transitive set: every element of a natural number is itself a natural number. Moreover, for all m,nNm, n \in \mathbb{N}:

  1. m<n    mnm < n \iff m \in n;
  2. mn    mnm \le n \iff m \subseteq n;
  3. n<σ(n)n < \sigma(n), and m<σ(n)    mnm < \sigma(n) \iff m \le n;
  4. 0n0 \le n, and 0n0 \in n whenever n0n \ne 0.

Consequently n={mN:m<n}n = \{\, m \in \mathbb{N} : m < n \,\} for every nn: 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=ω\mathbb{N} = \omega with 0=0 = \varnothing and σ(n)=n{n}\sigma(n) = n \cup \{n\} (The natural numbers N\mathbb{N} (von Neumann)); mn    kN (m+k=n)m \le n \iff \exists k \in \mathbb{N}\ (m + k = n) and m<n    (mn and mn)m < n \iff (m \le n \text{ and } m \ne n) (Order on the natural numbers). Note that << is irreflexive by this definition alone, since m<mm < m would require mmm \ne m.

[L1]

Induction: if P(0)P(0) holds and P(n)P(n) implies P(σ(n))P(\sigma(n)) for every nNn \in \mathbb{N}, then P(n)P(n) holds for every nNn \in \mathbb{N} (The principle of mathematical induction).

[L2]

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

[L3]

\le is a linear order on N\mathbb{N}: reflexive, antisymmetric, transitive and total (\le is a linear order on N\mathbb{N}); and exactly one of m<nm < n, m=nm = n, n<mn < m holds, so the failure of mnm \le n is exactly n<mn < m (Trichotomy of the order on N\mathbb{N}).

[L4]

Discreteness: m<n    σ(m)nm < n \iff \sigma(m) \le n (Discreteness: σ(n)\sigma(n) is the immediate successor).

[L5]

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

[L6]

nσ(n)n \ne \sigma(n) for every nNn \in \mathbb{N} (No natural number equals its own successor).

Proof

technique · direct
1.1

N\mathbb{N} is a transitive set. Let P(n)P(n) be "nNn \subseteq \mathbb{N}". P(0)P(0) holds because 0=0 = \varnothing has no elements. If nNn \subseteq \mathbb{N} then, since nn is itself an element of N\mathbb{N}, the set σ(n)=n{n}\sigma(n) = n \cup \{n\} is also a subset of N\mathbb{N}, so P(σ(n))P(\sigma(n)) holds. By induction nNn \subseteq \mathbb{N} for every nNn \in \mathbb{N}, which is the transitivity of N\mathbb{N}.

givenL1
1.2

For every nNn \in \mathbb{N} one has nσ(n)n \in \sigma(n) and n<σ(n)n < \sigma(n). Indeed nn{n}=σ(n)n \in n \cup \{n\} = \sigma(n) directly; and taking k=σ(0)k = \sigma(0) gives n+σ(0)=σ(n+0)=σ(n)n + \sigma(0) = \sigma(n + 0) = \sigma(n), so nσ(n)n \le \sigma(n), while nσ(n)n \ne \sigma(n), whence n<σ(n)n < \sigma(n).

givenL2L6
1.3

Mixed transitivity, in both directions. (i) If mnm \le n and n<pn < p then m<pm < p: transitivity of \le gives mpm \le p; if m=pm = p then pnp \le n, and npn \le p holds because n<pn < p, so antisymmetry gives n=pn = p, contradicting npn \ne p. Hence mpm \ne p and m<pm < p. (ii) If m<nm < n and npn \le p then m<pm < p: transitivity of \le again gives mpm \le p; if m=pm = p then np=mn \le p = m, and mnm \le n holds because m<nm < n, so antisymmetry gives m=nm = n, contradicting mnm \ne n. Hence mpm \ne p and m<pm < p.

givenL3
1.4

No natural number satisfies m<0m < 0. For every mm one has 0+m=m0 + m = m, so 0m0 \le m; if also m0m \le 0 then antisymmetry gives m=0m = 0, and m<0m < 0 additionally demands m0m \ne 0.

givenL2L3
2.1

For all m,nNm, n \in \mathbb{N}: m<σ(n)    mnm < \sigma(n) \iff m \le n. If mnm \le n then, with n<σ(n)n < \sigma(n) from step 1.2, step 1.3(i) gives m<σ(n)m < \sigma(n). Conversely assume m<σ(n)m < \sigma(n) and suppose mnm \le n fails; then n<mn < m by trichotomy, so σ(n)m\sigma(n) \le m by discreteness, and step 1.3(i) applied to σ(n)m\sigma(n) \le m and m<σ(n)m < \sigma(n) gives σ(n)<σ(n)\sigma(n) < \sigma(n), which irreflexivity forbids. Hence mnm \le n.

step 1.2step 1.3givenL3L4
2.2

Membership implies order: for every nNn \in \mathbb{N}, every mnm \in n satisfies m<nm < n. Let P(n)P(n) be that statement; P(0)P(0) is vacuous since 0=0 = \varnothing. Assume P(n)P(n) and let mσ(n)=n{n}m \in \sigma(n) = n \cup \{n\}. If mnm \in n then m<nm < n by P(n)P(n), and n<σ(n)n < \sigma(n) by step 1.2, so m<σ(n)m < \sigma(n) by step 1.3(i), whose hypothesis mnm \le n follows from m<nm < n. If m=nm = n then m<σ(n)m < \sigma(n) by step 1.2. So P(σ(n))P(\sigma(n)) holds, and by induction P(n)P(n) holds for every nn; the elements mm involved are natural numbers by step 1.1, so the statement is about N\mathbb{N} throughout.

step 1.1step 1.2step 1.3givenL1
3.1

Order implies membership: for every nNn \in \mathbb{N}, every mNm \in \mathbb{N} with m<nm < n satisfies mnm \in n. Let Q(n)Q(n) be that statement; Q(0)Q(0) holds vacuously by step 1.4. Assume Q(n)Q(n) and let m<σ(n)m < \sigma(n). By step 2.1, mnm \le n, that is m<nm < n or m=nm = n. In the first case mnm \in n by Q(n)Q(n); in the second m{n}m \in \{n\}. Either way mn{n}=σ(n)m \in n \cup \{n\} = \sigma(n), so Q(σ(n))Q(\sigma(n)) holds, and by induction Q(n)Q(n) holds for every nn.

step 1.4step 2.1givenL1
4.1

Steps 2.2 and 3.1 together give m<n    mnm < n \iff m \in n for all m,nNm, n \in \mathbb{N}, which is claim 1; and since every element of nn is a natural number by step 1.1, this says exactly n={mN:m<n}n = \{\, m \in \mathbb{N} : m < n \,\}.

step 1.1step 2.2step 3.1
5.1

If mnm \le n then mnm \subseteq n: let xmx \in m; then xNx \in \mathbb{N} by step 1.1 and x<mx < m by step 4.1, so x<nx < n by step 1.3(ii) applied to x<mx < m and mnm \le n, whence xnx \in n by step 4.1.

step 1.1step 1.3step 4.1
5.2

If mnm \subseteq n then mnm \le n: suppose mnm \le n fails; then n<mn < m by trichotomy, so nmn \in m by step 4.1, and mnm \subseteq n would give nnn \in n, which is impossible. Hence mnm \le n.

step 4.1L3L5
5.3

For every nNn \in \mathbb{N} one has 0n0 \le n by step 1.4; if in addition n0n \ne 0 then 0<n0 < n, hence 0n0 \in n by step 4.1.

step 1.4step 4.1given
6.1

The transitivity of N\mathbb{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={mN:m<n}n = \{\, m \in \mathbb{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\mathbb{N}

Statement

Let N\mathbb{N} be the von Neumann naturals, with 0=0 = \varnothing and σ(n)=n{n}\sigma(n) = n \cup \{n\} (The natural numbers N\mathbb{N} (von Neumann)), and let << be the order of Order on the natural numbers, so that m<n    mnm < n \iff m \in n and n={mN:m<n}n = \{\, m \in \mathbb{N} : m < n \,\} (On N\mathbb{N} the order is membership: m<n    mnm < n \iff m \in n). Write \approx for equinumerosity (Equinumerous sets, ABA \approx B and ABA \preceq B). Then:

  1. for every nNn \in \mathbb{N} there is no injection σ(n)n\sigma(n) \to n;
  2. if m<nm < n then there is no injection nmn \to m;
  3. if nmn \approx m with n,mNn, m \in \mathbb{N}, then n=mn = m;
  4. N≉n\mathbb{N} \not\approx n for every nNn \in \mathbb{N};
  5. no natural number is equinumerous with a proper subset of itself: if AnA \subseteq n and nAn \approx A, then A=nA = n.

Claim 1 is the pigeonhole principle in its sharpest form, that n+1n + 1 pigeons do not fit injectively into nn 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\mathbb{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\mathbb{N} with 0=0 = \varnothing and σ(n)=n{n}\sigma(n) = n \cup \{n\}, and N\mathbb{N} closed under σ\sigma, since it is an inductive set (The natural numbers N\mathbb{N} (von Neumann)); the order mn    kN (m+k=n)m \le n \iff \exists k \in \mathbb{N}\ (m + k = n) and m<n    (mnm < n \iff (m \le n and mn)m \ne n) (Order on the natural numbers); and ABA \approx B meaning that a bijection ABA \to B exists (Equinumerous sets, ABA \approx B and ABA \preceq B).

[L1]

Induction: if P(0)P(0) holds and P(n)P(n) implies P(σ(n))P(\sigma(n)) for every nNn \in \mathbb{N}, then P(n)P(n) holds for every nNn \in \mathbb{N} (The principle of mathematical induction).

[L2]

On N\mathbb{N} the order is membership (On N\mathbb{N} the order is membership: m<n    mnm < n \iff m \in n): N\mathbb{N} is a transitive set, so every element of a natural number is again a natural number; m<n    mnm < n \iff m \in n; mn    mnm \le n \iff m \subseteq n; and consequently n={mN:m<n}n = \{\, m \in \mathbb{N} : m < n \,\}.

[L3]

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

[L4]

Trichotomy: for all m,nNm, n \in \mathbb{N} exactly one of m<nm < n, m=nm = n, n<mn < m holds (Trichotomy of the order on N\mathbb{N}).

[L5]

Every natural number n0n \ne 0 equals σ(m)\sigma(m) for some mNm \in \mathbb{N} (Every nonzero natural number is a successor).

[L6]

Maps (Injection, surjection, bijection): ff is injective when f(x)=f(y)f(x) = f(y) forces x=yx = 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 CC of its codomain may be read as a map into CC, without affecting injectivity.

Proof

technique · direct
1.1

Transpositions. For a set XX and a,bXa, b \in X define τa,bX:XX\tau^{X}_{a,b} : X \to X by τa,bX(a)=b\tau^{X}_{a,b}(a) = b, τa,bX(b)=a\tau^{X}_{a,b}(b) = a, and τa,bX(x)=x\tau^{X}_{a,b}(x) = x for x{a,b}x \notin \{a, b\}; the clauses agree where they overlap (if a=ba = b all three read aaa \mapsto a, so the map is the identity), so this is a well defined function, and τa,bXτa,bX=idX\tau^{X}_{a,b} \circ \tau^{X}_{a,b} = \mathrm{id}_X, whence τa,bX\tau^{X}_{a,b} is a bijection of XX onto itself. It carries X{a}X \setminus \{a\} onto X{b}X \setminus \{b\}: when a=ba = b this is the identity statement, and when aba \ne b the elements of X{a}X \setminus \{a\} are bb, sent to aa, together with the x{a,b}x \notin \{a, b\}, each fixed, so the image is {a}(X{a,b})=X{b}\{a\} \cup (X \setminus \{a, b\}) = X \setminus \{b\}.

construct
1.2

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

given
1.3

Inductive step, hypotheses. Fix nNn \in \mathbb{N}, assume there is no injection σ(n)n\sigma(n) \to n, and suppose towards a contradiction that some f:σ(σ(n))σ(n)f : \sigma(\sigma(n)) \to \sigma(n) is injective. Note σ(σ(n))=σ(n){σ(n)}\sigma(\sigma(n)) = \sigma(n) \cup \{\sigma(n)\}, so σ(n)σ(σ(n))\sigma(n) \subseteq \sigma(\sigma(n)) and σ(n)σ(σ(n))\sigma(n) \in \sigma(\sigma(n)); note also nσ(n)n \in \sigma(n).

assume-hypgiven
2.1

Normalising ff at the top point. Put a=f(σ(n))a = f(\sigma(n)), an element of σ(n)\sigma(n) because σ(n)\sigma(n) is the codomain of ff, and let τ=τa,nσ(n)\tau = \tau^{\sigma(n)}_{a,n}, which is legitimate since aa and nn both lie in σ(n)\sigma(n). Then f=τf:σ(σ(n))σ(n)f' = \tau \circ f : \sigma(\sigma(n)) \to \sigma(n) is a composite of an injection with a bijection, hence injective, and f(σ(n))=τ(a)=nf'(\sigma(n)) = \tau(a) = n.

step 1.1step 1.3L6
2.2

Every kσ(n)k \in \sigma(n) satisfies kσ(n)k \ne \sigma(n): were k=σ(n)k = \sigma(n) we would have σ(n)σ(n)\sigma(n) \in \sigma(n), and no natural number is a member of itself, σ(n)\sigma(n) included, since N\mathbb{N} is closed under σ\sigma.

step 1.3L3given
3.1

Let kσ(n)k \in \sigma(n). Then kσ(σ(n))k \in \sigma(\sigma(n)), so f(k)f'(k) is defined; and kσ(n)k \ne \sigma(n), so injectivity of ff' gives f(k)f(σ(n))=nf'(k) \ne f'(\sigma(n)) = n. Since f(k)σ(n)=n{n}f'(k) \in \sigma(n) = n \cup \{n\}, this forces f(k)nf'(k) \in n. Hence the restriction of ff' to σ(n)\sigma(n) takes all its values in nn and is an injection σ(n)n\sigma(n) \to 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)\sigma(\sigma(n)) \to \sigma(n) exists. Since nn was arbitrary, this is exactly the induction step for the property P(n)P(n) that there is no injection σ(n)n\sigma(n) \to n, and step 1.2 is P(0)P(0); so P(n)P(n) holds for every nNn \in \mathbb{N}.

step 1.2step 1.3step 3.1L1
5.1

Claim 2. Let m<nm < n. Then mnm \in n, and mnm \le n gives mnm \subseteq n, so σ(m)=m{m}n\sigma(m) = m \cup \{m\} \subseteq n. If some g:nmg : n \to m were injective, its restriction to σ(m)\sigma(m) would be an injection σ(m)m\sigma(m) \to m, which step 4.1 forbids. Hence there is no injection nmn \to m.

step 4.1L2L6
5.2

Claim 4. Since N\mathbb{N} is closed under σ\sigma we have σ(n)N\sigma(n) \in \mathbb{N}, and N\mathbb{N} is a transitive set, so σ(n)N\sigma(n) \subseteq \mathbb{N}. If some F:NnF : \mathbb{N} \to n were a bijection, it would in particular be an injection, and its restriction to σ(n)\sigma(n) would be an injection σ(n)n\sigma(n) \to n, which step 4.1 forbids. Hence N≉n\mathbb{N} \not\approx n.

step 4.1L2L6given
5.3

Claim 5. Let AnA \subseteq n with nAn \approx A, and suppose AnA \ne n. Then n0n \ne 0, since the only subset of 0=0 = \varnothing is =0\varnothing = 0 itself, so n=σ(m)n = \sigma(m) for some mNm \in \mathbb{N}; moreover mσ(m)=nm \in \sigma(m) = n and mmm \notin m, so n{m}=(m{m}){m}=mn \setminus \{m\} = (m \cup \{m\}) \setminus \{m\} = m. Choose jnAj \in n \setminus A, possible because AnA \subseteq n and AnA \ne n, and let h:nAh : n \to A be a bijection; since jAj \notin A we have An{j}A \subseteq n \setminus \{j\}, so hh read as a map into n{j}n \setminus \{j\} is an injection nn{j}n \to n \setminus \{j\}. The transposition τj,mn\tau^{n}_{j,m} is a bijection of nn carrying n{j}n \setminus \{j\} onto n{m}=mn \setminus \{m\} = m, so its composite with hh is an injection nmn \to m, that is an injection σ(m)m\sigma(m) \to m, which step 4.1 forbids. Hence A=nA = n.

step 1.1step 4.1L3L5L6choose
6.1

Claim 3. Let n,mNn, m \in \mathbb{N} with nmn \approx m, and suppose nmn \ne m. By trichotomy either m<nm < n or n<mn < m. If m<nm < n, a bijection nmn \to m is in particular an injection nmn \to m, which step 5.1 forbids. If n<mn < m, a bijection nmn \to m has an inverse bijection mnm \to n, which is in particular an injection mnm \to n, and step 5.1 forbids that too, with the roles of mm and nn interchanged. Hence n=mn = 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)\sigma(n) can be modified by a transposition of the codomain so that the top point σ(n)\sigma(n) goes to the top value nn, after which the rest of the map misses nn and lands in nn. Without that normalisation the inductive hypothesis does not apply, since an arbitrary injection σ(σ(n))σ(n)\sigma(\sigma(n)) \to \sigma(n) need not send anything to nn.

  • 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 jnAj \in n \setminus 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, which is the ZF half of the comparison discussed in FALSE: every infinite set has a countably infinite subset, in ZF: Dedekind-infinite implies infinite outright in ZF, while the converse is not a theorem of ZF unless ZF is inconsistent, that item's conclusion being conditional on the consistency of ZF and resting on an external independence result quoted rather than proved. The successor map σ:NN{0}\sigma : \mathbb{N} \to \mathbb{N} \setminus \{0\} shows N\mathbb{N} itself is Dedekind-infinite, so the restriction to natural numbers in claim 5 is essential.

  • Relation to the ordinals page. Cardinal (initial ordinal) and cardinality calls an ordinal κ\kappa a cardinal when no ακ\alpha \in \kappa satisfies ακ\alpha \approx \kappa. Claim 3 makes every natural number a cardinal and claim 4 makes ω\omega one, which is what licenses the traditional 0=ω\aleph_0 = \omega. 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\mathbb{N} (von Neumann)): 0=0 = \varnothing and σ(n)=n{n}\sigma(n) = n \cup \{n\}, so that

n={mN:m<n}={0,1,,n1}n = \{\, m \in \mathbb{N} : m < n \,\} = \{0, 1, \dots, 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\mathbb{N} the order is membership: m<n    mnm < n \iff m \in n, proved immediately above. Let AA be a set, and let \approx be equinumerosity (Equinumerous sets, ABA \approx B and ABA \preceq B).

  • AA is finite if AnA \approx n for some nNn \in \mathbb{N}.
  • AA is countably infinite if ANA \approx \mathbb{N}.
  • AA is at most countable if it is finite or countably infinite.
  • AA 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\mathbb{N} \not\approx n for every nNn \in \mathbb{N}, and it is proved immediately above as claim 4 of The pigeonhole principle on N\mathbb{N}. So a countably infinite set is never finite, and "AA is infinite", meaning not finite, is implied by ANA \approx \mathbb{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\mathbb{Q}, for instance, is obtained by exhibiting a bijection QN\mathbb{Q} \approx \mathbb{N} directly (Q\mathbb{Q} is countably infinite) rather than by ruling out finiteness. It is used where the two notions of infinity are compared (FALSE: every infinite set has a countably infinite subset, in ZF) and where the continuum hypothesis is instantiated at N\mathbb{N} (The continuum hypothesis, and what this page does not prove), both of which need N\mathbb{N} to be infinite as a fact rather than as a convention.

  • 00 and the empty set. 0=0 = \varnothing, and A0A \approx 0 holds exactly when A=A = \varnothing, so the empty set is finite. This matters in the proofs below, where the empty case is always separated out: a surjection NA\mathbb{N} \to A cannot exist when A=A = \varnothing, which is why A nonempty set is at most countable iff it is a surjective image of N\mathbb{N} assumes AA nonempty.

  • Countability is a property of a set alone, not of a set with structure. In particular Q\mathbb{Q} is countable while carrying a dense order, and R\mathbb{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 AA and BB be sets with ABA \preceq B and BAB \preceq A (Equinumerous sets, ABA \approx B and ABA \preceq B). Then ABA \approx B.

Equivalently: if there is an injection ABA \to B and an injection BAB \to A, then there is a bijection ABA \to 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 AA and BB together with injections f:ABf : A \to B and g:BAg : B \to A. For SAS \subseteq A write f[S]f[S] for its image, and similarly for gg.

[L1]

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

[L2]

ABA \approx B means precisely that some bijection ABA \to B exists (Equinumerous sets, ABA \approx B and ABA \preceq B).

[L3]

Recursion theorem: for any set XX, any x0Xx_0 \in X and any F:XXF : X \to X there is a (unique) function h:NXh : \mathbb{N} \to X with h(0)=x0h(0) = x_0 and h(σ(n))=F(h(n))h(\sigma(n)) = F(h(n)) for all nNn \in \mathbb{N} (The recursion theorem, The natural numbers N\mathbb{N} (von Neumann)).

[L4]

Every nonzero natural number is a successor: n0n \ne 0 implies n=σ(m)n = \sigma(m) for some mNm \in \mathbb{N} (Every nonzero natural number is a successor).

Proof

technique · direct
1.1

Apply [L3] with X=P(A)X = \mathcal{P}(A) (a set by the Power Set axiom), with x0=Ag[B]x_0 = A \setminus g[B], and with F:P(A)P(A)F : \mathcal{P}(A) \to \mathcal{P}(A) defined by F(S)=g[f[S]]F(S) = g[f[S]]: this yields a function nCnn \mapsto C_n from N\mathbb{N} to P(A)\mathcal{P}(A) with C0=Ag[B]C_0 = A \setminus g[B] and Cσ(n)=g[f[Cn]]C_{\sigma(n)} = g[f[C_n]] for every nn.

L3givenconstruct
2.1

Put C=nNCnC = \bigcup_{n \in \mathbb{N}} C_n, a subset of AA (a set by Replacement and Union applied to the function of step 1.1); thus xCx \in C if and only if xCnx \in C_n for some nNn \in \mathbb{N}, and Cσ(n)CC_{\sigma(n)} \subseteq C for every nn.

step 1.1construct
3.1

Let xACx \in A \setminus C. Then xC0=Ag[B]x \notin C_0 = A \setminus g[B], so xg[B]x \in g[B], and since gg is injective there is exactly one bBb \in B with g(b)=xg(b) = x; write b=g1(x)b = g^{-1}(x), a value determined by xx alone.

step 2.1L1given
4.1

Define h:ABh : A \to B by h(x)=f(x)h(x) = f(x) for xCx \in C and h(x)=g1(x)h(x) = g^{-1}(x) for xACx \in A \setminus C; the two clauses have disjoint domains whose union is AA, and each assigns exactly one value, by step 3.1 for the second, so hh is a well-defined function.

step 3.1construct
5.1

If x,yCx, y \in C and h(x)=h(y)h(x) = h(y) then f(x)=f(y)f(x) = f(y), so x=yx = y because ff is injective; if x,yACx, y \in A \setminus C and h(x)=h(y)=bh(x) = h(y) = b then x=g(b)=yx = g(b) = y by step 3.1.

step 4.1givenL1
5.2

The remaining case cannot occur: if xCx \in C and yACy \in A \setminus C had h(x)=h(y)h(x) = h(y), then xCnx \in C_n for some nn, and h(y)=g1(y)h(y) = g^{-1}(y) gives y=g(h(y))=g(f(x))g[f[Cn]]=Cσ(n)Cy = g(h(y)) = g(f(x)) \in g[f[C_n]] = C_{\sigma(n)} \subseteq C, contradicting yCy \notin C; hence hh is injective.

step 1.1step 2.1step 4.1
5.3

hh is surjective: let bBb \in B and consider g(b)Ag(b) \in A. If g(b)Cg(b) \notin C then h(g(b))=g1(g(b))=bh(g(b)) = g^{-1}(g(b)) = b. If g(b)Cg(b) \in C then g(b)Cng(b) \in C_n for some nn; here n0n \ne 0, since g(b)g[B]g(b) \in g[B] while C0=Ag[B]C_0 = A \setminus g[B], so n=σ(m)n = \sigma(m) by [L4] and g(b)Cσ(m)=g[f[Cm]]g(b) \in C_{\sigma(m)} = g[f[C_m]], that is, g(b)=g(f(x))g(b) = g(f(x)) for some xCmCx \in C_m \subseteq C; injectivity of gg gives b=f(x)=h(x)b = f(x) = h(x). Either way bb is a value of hh.

step 1.1step 2.1step 4.1L1L4given
6.1

Thus h:ABh : A \to B is injective and surjective, hence a bijection, and therefore ABA \approx B.

step 5.1step 5.2step 5.3L1L2

Remarks

  • The set CC is exactly the set of points of AA reachable from the "unmatched" part Ag[B]A \setminus g[B] by applying gfg \circ f finitely often. On CC the bijection follows ff forwards; off CC it runs gg backwards. Both halves are forced: a point outside g[B]g[B] cannot be an image of gg, and once one point is handled by ff its gfg \circ f image must be handled by ff 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 Sg[f[S]]S \mapsto g[f[S]]. The theorem is a theorem of ZF.

  • With this theorem, \preceq behaves like an order on equinumerosity classes: ABA \preceq B and BAB \preceq A give ABA \approx B. Comparability, that ABA \preceq B or BAB \preceq 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 AA be at most countable (Finite, countably infinite, countable, uncountable) and let BAB \subseteq A. Then BB is at most countable.

The proof establishes the sharper statement about subsets of N\mathbb{N} from which this follows: a subset SNS \subseteq \mathbb{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 SNS \subseteq \mathbb{N} is built by always taking the least element of SS above the previous one, and the least element of a nonempty set of naturals is canonical (The well-ordering principle): it is determined by SS, 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 AA and a subset BAB \subseteq A. Throughout, a natural number is the von Neumann natural, so that 0=0 = \varnothing and σ(n)=n{n}\sigma(n) = n \cup \{n\} (The natural numbers N\mathbb{N} (von Neumann)); that n={mN:m<n}n = \{\, m \in \mathbb{N} : m < n \,\}, and in particular that every element of a natural number is a natural number, is On N\mathbb{N} the order is membership: m<n    mnm < n \iff m \in n, proved earlier on this page from the additive order of Order on the natural numbers.

[L1]

AA is finite when AnA \approx n for some nNn \in \mathbb{N}, countably infinite when ANA \approx \mathbb{N}, and at most countable when one of the two holds (Finite, countably infinite, countable, uncountable).

[L2]

\approx 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, ABA \approx B and ABA \preceq B, Injection, surjection, bijection).

[L3]

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

[L4]

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

[L5]

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

[L6]

Order facts in N\mathbb{N}: mn    m<nm \in n \iff m < n, mn    mnm \le n \iff m \subseteq n, n<σ(n)n < \sigma(n), and m<σ(n)    mnm < \sigma(n) \iff m \le n (On N\mathbb{N} the order is membership: m<n    mnm < n \iff m \in n); exactly one of m<nm < n, m=nm = n, n<mn < m holds, so << is irreflexive and any two naturals are comparable (Trichotomy of the order on N\mathbb{N}); \le is reflexive, antisymmetric, transitive and total (\le is a linear order on N\mathbb{N}), whence << is transitive, because m<n<pm < n < p gives mpm \le p while m=pm = p would force m=nm = n by antisymmetry; m<n    σ(m)nm < n \iff \sigma(m) \le n (Discreteness: σ(n)\sigma(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\mathbb{N}: kkk \notin k for every kNk \in \mathbb{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 AA is at most countable there is a bijection φ:AN0\varphi : A \to N_0 where N0=nN_0 = n for some nNn \in \mathbb{N} or N0=NN_0 = \mathbb{N}; in either case N0NN_0 \subseteq \mathbb{N}, and restricting φ\varphi to BB gives a bijection of BB onto S:=φ[B]NS := \varphi[B] \subseteq \mathbb{N}, so BSB \approx S. It therefore suffices to prove that every subset of N\mathbb{N} is at most countable, since then SnS \approx n' or SNS \approx \mathbb{N} and transitivity carries the conclusion back to BB.

givenL1L2L6suffices: every subset of N is at most countable
1.2

Every subset of a natural number is finite: by strong induction on nn, assume every subset of every m<nm < n is finite. If n=0n = 0 then a subset T0=T \subseteq 0 = \varnothing is empty and T0T \approx 0. Otherwise n=σ(m)n = \sigma(m) by [L7], with m<nm < n; given Tσ(m)=m{m}T \subseteq \sigma(m) = m \cup \{m\}, the set T{m}T \setminus \{m\} is a subset of mm, so the hypothesis at mm gives a bijection u:T{m}ku : T \setminus \{m\} \to k for some kNk \in \mathbb{N}. If mTm \notin T then T=T{m}kT = T \setminus \{m\} \approx k. If mTm \in T, extend uu by u(m):=ku(m) := k; since kkk \notin k by irreflexivity of membership, the value kk is not already taken and the extension is a bijection Tk{k}=σ(k)T \to k \cup \{k\} = \sigma(k). In both cases TT is finite, so the claim holds for nn and hence for all nn.

L1L2L4L6L7L8
1.3

Case SS bounded: assume there is b0Nb_0 \in \mathbb{N} with sb0s \le b_0 for every sSs \in S. Then s<σ(b0)s < \sigma(b_0) for every sSs \in S by [L6], that is, Sσ(b0)S \subseteq \sigma(b_0).

assume-case boundedL6
1.4

Case SS unbounded: assume that for every bNb \in \mathbb{N} there is sSs \in S with b<sb < s. Then SS \ne \varnothing, and for each sSs \in S the set {tS:s<t}\{\, t \in S : s < t \,\} is nonempty, so [L3] makes ν(s):=min{tS:s<t}\nu(s) := \min \{\, t \in S : s < t \,\} a well-defined element of SS with s<ν(s)s < \nu(s); this defines a function ν:SS\nu : S \to S with no arbitrary choices.

assume-case unboundedL3construct
2.1

In the bounded case SS is a subset of the natural number σ(b0)\sigma(b_0), 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=SX = S, x0=minSx_0 = \min S (available by [L3] since SS \ne \varnothing) and F=νF = \nu: there is e:NSe : \mathbb{N} \to S with e(0)=minSe(0) = \min S and e(σ(n))=ν(e(n))=min{tS:e(n)<t}e(\sigma(n)) = \nu(e(n)) = \min \{\, t \in S : e(n) < t \,\} for every nn.

step 1.4L3L5construct
3.1

For every nn, e(n)<e(σ(n))e(n) < e(\sigma(n)) by the defining property of ν\nu; consequently m<nm < n implies e(m)<e(n)e(m) < e(n), by strong induction on nn (for n=σ(j)n = \sigma(j) and m<nm < n one has mjm \le j by [L6], so either m=jm = j, giving e(m)<e(σ(j))e(m) < e(\sigma(j)) directly, or m<jm < j, giving e(m)<e(j)<e(σ(j))e(m) < e(j) < e(\sigma(j)) by the hypothesis at jj and transitivity). Hence ee is injective: if mnm \ne n then m<nm < n or n<mn < m by comparability, and irreflexivity forbids e(m)=e(n)e(m) = e(n).

step 2.2L4L6L7
3.2

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

step 2.2L4L6L7
4.1

ee is surjective onto SS: let tSt \in S. The set K={kN:te(k)}K = \{\, k \in \mathbb{N} : t \le e(k) \,\} contains tt by step 3.2, so k:=minKk^\ast := \min K exists by [L3]. If k=0k^\ast = 0 then e(0)=minSte(0) = \min S \le t because tSt \in S, and te(0)t \le e(0), so e(0)=te(0) = t. Otherwise k=σ(j)k^\ast = \sigma(j) by [L7], and jKj \notin K by minimality, so e(j)<te(j) < t; then tt belongs to {uS:e(j)<u}\{\, u \in S : e(j) < u \,\}, whence e(k)=min{uS:e(j)<u}te(k^\ast) = \min \{\, u \in S : e(j) < u \,\} \le t, and with te(k)t \le e(k^\ast) this gives e(k)=te(k^\ast) = t. In both cases tt is a value of ee.

step 2.2step 3.2L3L6L7
5.1

In the unbounded case e:NSe : \mathbb{N} \to S is therefore a bijection, so SNS \approx \mathbb{N} and SS is countably infinite, hence at most countable.

step 3.1step 4.1L1L2
6.1

Every SNS \subseteq \mathbb{N} is either bounded above or not, so steps 2.1 and 5.1 cover all cases and every subset of N\mathbb{N} is at most countable; by the reduction of step 1.1 the subset BB of the at most countable set AA 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}\{0, 1\} and \varnothing are subsets of N\mathbb{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\mathbb{N} are finite and unbounded ones are copies of N\mathbb{N}, is the only structural fact about N\mathbb{N} the rest of the page needs. The enumeration ee 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 b0b_0" is literally "a subset of the set σ(b0)\sigma(b_0)", 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\mathbb{N} the order is membership: m<n    mnm < n \iff m \in n, since the library's order on N\mathbb{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\mathbb{N}

Statement

Let AA be a nonempty set. Then AA is at most countable (Finite, countably infinite, countable, uncountable) if and only if there is a surjection s:NAs : \mathbb{N} \to A (Injection, surjection, bijection).

Moreover, from any such surjection an injection ANA \to \mathbb{N} is obtained explicitly, without any choice, by

j(a):=min{kN:s(k)=a}.j(a) := \min\{\, k \in \mathbb{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 aa pick some kk with s(k)=as(k) = a") and it is avoided outright, because min\min is canonical: every nonempty set of naturals has a least element (The well-ordering principle), so j(a)j(a) is determined by aa and ss alone.

Facts & Assumptions

Given: A nonempty set AA. For aAa \in A and a function s:NAs : \mathbb{N} \to A write s1({a})={kN:s(k)=a}s^{-1}(\{a\}) = \{\, k \in \mathbb{N} : s(k) = a \,\}.

[L1]

AA is at most countable when AnA \approx n for some nNn \in \mathbb{N} or ANA \approx \mathbb{N}; A0=A \approx 0 = \varnothing holds only for A=A = \varnothing (Finite, countably infinite, countable, uncountable, The natural numbers N\mathbb{N} (von Neumann)).

[L2]

Bijections, injections, surjections, images and the symmetry and transitivity of \approx; an injection is a bijection onto its image (Injection, surjection, bijection, Equinumerous sets, ABA \approx B and ABA \preceq B).

[L3]

Well-ordering: every nonempty subset of N\mathbb{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, kn    k<nk \in n \iff k < n, so a natural number nn is the set {kN:k<n}\{\, k \in \mathbb{N} : k < n \,\} of naturals below it; in particular 0n0 \in n whenever n0n \ne 0 (On N\mathbb{N} the order is membership: m<n    mnm < n \iff m \in 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\mathbb{N} (von Neumann)).

Proof

technique · direct
1.1

For the forward implication assume AA is at most countable; since AA \ne \varnothing we have ANA \approx \mathbb{N}, or AnA \approx n for some nNn \in \mathbb{N} with n0n \ne 0, and in either case fix a bijection ψ\psi from N\mathbb{N}, respectively from nn, onto AA.

assume-hypgivenL1L2
1.2

For the converse implication assume a surjection s:NAs : \mathbb{N} \to A is given.

assume-hyp
2.1

If ψ\psi is defined on N\mathbb{N} it is itself a surjection NA\mathbb{N} \to A; if ψ\psi is defined on n0n \ne 0, then 0n0 \in n by [L5] and the function sψ:NAs_\psi : \mathbb{N} \to A with sψ(k)=ψ(k)s_\psi(k) = \psi(k) for k<nk < n and sψ(k)=ψ(0)s_\psi(k) = \psi(0) for knk \ge n is a surjection, since every element of AA is ψ(k)\psi(k) for some knk \in n. In both cases a surjection NA\mathbb{N} \to A exists.

step 1.1L2L5construct
2.2

For each aAa \in A the set s1({a})s^{-1}(\{a\}) is a nonempty subset of N\mathbb{N}, because ss is surjective, so [L3] provides its least element and j(a):=mins1({a})j(a) := \min s^{-1}(\{a\}) defines a function j:ANj : A \to \mathbb{N}; no selection is made, since the least element is uniquely determined.

step 1.2L3construct
3.1

jj is injective: if j(a)=j(a)=kj(a) = j(a') = k then s(k)=as(k) = a and s(k)=as(k) = a', because j(a)s1({a})j(a) \in s^{-1}(\{a\}) and j(a)s1({a})j(a') \in s^{-1}(\{a'\}), so a=aa = a'.

step 2.2L2
4.1

Hence jj is a bijection of AA onto j[A]Nj[A] \subseteq \mathbb{N}, so Aj[A]A \approx j[A]; the subset j[A]j[A] of the at most countable set N\mathbb{N} is at most countable by [L4], and transitivity of \approx transfers this to AA.

step 3.1L1L2L4
5.1

The forward implication is step 2.1 and the converse is step 4.1, so for nonempty AA countability and the existence of a surjection NA\mathbb{N} \to A are equivalent, with jj of step 2.2 the promised injection ANA \to \mathbb{N}.

step 2.1step 3.1step 4.1

Remarks

  • The hypothesis AA \ne \varnothing cannot be dropped in the forward direction: \varnothing is finite, hence at most countable, but no function N\mathbb{N} \to \varnothing exists at all. The converse direction needs no such hypothesis, since a surjection onto AA already forces AA \ne \varnothing.

  • Combining the two directions: a nonempty AA is at most countable if and only if ANA \preceq \mathbb{N} (Equinumerous sets, ABA \approx B and ABA \preceq 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 AA as a0,a1,a2,a_0, a_1, a_2, \dots, 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ω\mathrm{AC}_\omega 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\mathbb{R} are exactly the listable ones

Statement

Let R\mathbb{R} be a complete ordered field (Complete ordered field (least-upper-bound property)) and let FRF \subseteq \mathbb{R} be nonempty. Then FF is finite (Finite, countably infinite, countable, uncountable) if and only if there are nNn \in \mathbb{N} and a0,a1,,anRa_0, a_1, \dots, a_n \in \mathbb{R} with

F={a0,a1,,an}.F = \{a_0, a_1, \dots, a_n\}.

Here {a0,,an}\{a_0, \dots, a_n\} means the image a[σ(n)]a[\sigma(n)] of a function a:σ(n)Ra : \sigma(n) \to \mathbb{R}, where σ(n)={iN:in}\sigma(n) = \{\, i \in \mathbb{N} : i \le n \,\} (The natural numbers N\mathbb{N} (von Neumann), On N\mathbb{N} the order is membership: m<n    mnm < n \iff m \in n).

Consequently every nonempty finite subset of R\mathbb{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}\{a_0, \dots, a_n\}.

Facts & Assumptions

Given: A complete ordered field R\mathbb{R} and a nonempty subset FRF \subseteq \mathbb{R}. For nNn \in \mathbb{N} and a function a:σ(n)Ra : \sigma(n) \to \mathbb{R}, write {a0,,an}:=a[σ(n)]\{a_0, \dots, a_n\} := a[\sigma(n)], and call a set of this form listable.

[L1]

FF is finite when FmF \approx m for some mNm \in \mathbb{N}, where m={iN:i<m}m = \{\, i \in \mathbb{N} : i < m \,\}; and F0=F \approx 0 = \varnothing only for F=F = \varnothing (Finite, countably infinite, countable, uncountable, The natural numbers N\mathbb{N} (von Neumann)).

[L2]

Bijections and their images, and the symmetry and transitivity of \approx (Equinumerous sets, ABA \approx B and ABA \preceq B, Injection, surjection, bijection).

[L3]

Induction principle: if P(0)P(0) holds and P(n)P(n) implies P(σ(n))P(\sigma(n)) for every nn, then P(n)P(n) holds for every nNn \in \mathbb{N} (The principle of mathematical induction).

[L4]

For the additive order of Order on the natural numbers: i<σ(n)    ini < \sigma(n) \iff i \le n, and every natural number is exactly the set of the naturals below it, so σ(n)={i:in}=n{n}\sigma(n) = \{\, i : i \le n \,\} = n \cup \{n\} (On N\mathbb{N} the order is membership: m<n    mnm < n \iff m \in n, The natural numbers N\mathbb{N} (von Neumann)); and every nonzero natural is a successor (Every nonzero natural number is a successor).

[L5]

For every nNn \in \mathbb{N} and all a0,,anRa_0, \dots, a_n \in \mathbb{R} the set {a0,,an}\{a_0, \dots, a_n\} 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\mathbb{N}: kkk \notin k for every kNk \in \mathbb{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=0n = 0 a listable set is a[σ(0)]={a(0)}a[\sigma(0)] = \{a(0)\}, and ia(0)i \mapsto a(0) is a bijection from σ(0)={0}\sigma(0) = \{0\} onto it, so it is finite.

baseL1L2L4
1.2

Inductive hypothesis: fix nNn \in \mathbb{N} and assume every set of the form a[σ(n)]a[\sigma(n)], for a function a:σ(n)Ra : \sigma(n) \to \mathbb{R}, is finite.

ih
1.3

The finite-implies-listable direction needs no induction: if FF is nonempty and finite there is a bijection ψ:mF\psi : m \to F with mNm \in \mathbb{N}, and m0m \ne 0 because FF \ne \varnothing, so m=σ(n)m = \sigma(n) for some nn by [L4]; putting a:=ψa := \psi gives F=ψ[σ(n)]={a0,,an}F = \psi[\sigma(n)] = \{a_0, \dots, a_n\}, a listable set.

givenL1L2L4
2.1

Inductive step: let b:σ(σ(n))Rb : \sigma(\sigma(n)) \to \mathbb{R} and put G=b[σ(n)]G = b[\sigma(n)] and H=b[σ(σ(n))]=G{b(σ(n))}H = b[\sigma(\sigma(n))] = G \cup \{b(\sigma(n))\}, using [L4]. By the inductive hypothesis applied to the restriction of bb to σ(n)\sigma(n), there is a bijection u:Gku : G \to k for some kNk \in \mathbb{N}. If b(σ(n))Gb(\sigma(n)) \in G then H=GH = G is finite. Otherwise extend uu to HH by u(b(σ(n))):=ku(b(\sigma(n))) := k; since kkk \notin k by [L6], this is a bijection Hk{k}=σ(k)H \to k \cup \{k\} = \sigma(k), so HH is finite. In both cases HH is finite, so the claim holds at σ(n)\sigma(n).

step 1.2L1L2L4L6
3.1

By [L3] every listable subset of R\mathbb{R} is finite, and by step 1.3 every nonempty finite subset of R\mathbb{R} is listable, which is the stated equivalence; combining it with [L5], every nonempty finite FRF \subseteq \mathbb{R} is of the form {a0,,an}\{a_0, \dots, a_n\} 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 nn, that every set {a0,,an}\{a_0, \dots, a_n\} 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\mathbb{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\mathbb{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,,ana_0, \dots, a_n always has at least the entry a0a_0, whereas \varnothing is finite and not listable in this sense.

  • Nothing in the argument uses the order or the arithmetic of R\mathbb{R}; the same proof shows that in any set the nonempty finite subsets are exactly the images of the naturals σ(n)\sigma(n). Only the consequence about maxima and minima uses that R\mathbb{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×NN\mathbb{N} \times \mathbb{N} \approx \mathbb{N}

Statement

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

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

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

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

Facts & Assumptions

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

[L1]

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

[L2]

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

[L3]

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

[L4]

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

[L5]

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

[L7]

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

Proof

technique · direct
1.1

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

L1construct
1.2

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

L3L6given
1.3

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

L3L4given
1.4

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

L2L7
2.1

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

step 1.1L2L6given
2.2

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

step 1.1L3L6given
3.1

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

step 1.1step 2.1L2L5construct
4.1

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

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

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

step 1.1step 1.2step 3.1L3L4L6
5.1

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

step 1.4step 4.1step 4.2L7

Remarks

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

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

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

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 AA and BB are at most countable (Finite, countably infinite, countable, uncountable) then so is A×BA \times 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 AA and BB, and the product A×B={(a,b):aA, bB}A \times B = \{\, (a,b) : a \in A,\ b \in B \,\}.

[L1]

Finite, countably infinite and at most countable; 0\varnothing \approx 0, so \varnothing is finite (Finite, countably infinite, countable, uncountable, The natural numbers N\mathbb{N} (von Neumann)).

[L2]

A nonempty set is at most countable if and only if some surjection N\mathbb{N} \to it exists (A nonempty set is at most countable iff it is a surjective image of N\mathbb{N}).

[L3]

There is a bijection β:NN×N\beta : \mathbb{N} \to \mathbb{N} \times \mathbb{N} (N×NN\mathbb{N} \times \mathbb{N} \approx \mathbb{N}, Equinumerous sets, ABA \approx B and ABA \preceq B).

[L4]

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

Proof

technique · direct
1.1

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

givenL1
1.2

Assume instead AA \ne \varnothing and BB \ne \varnothing; then [L2] provides surjections f:NAf : \mathbb{N} \to A and g:NBg : \mathbb{N} \to B.

givenL2
1.3

Fix the bijection β:NN×N\beta : \mathbb{N} \to \mathbb{N} \times \mathbb{N} of [L3], in particular a surjection.

L3
2.1

Define t:N×NA×Bt : \mathbb{N} \times \mathbb{N} \to A \times B by t(m,n)=(f(m),g(n))t(m,n) = (f(m), g(n)). It is surjective: any (a,b)A×B(a,b) \in A \times B has a=f(m)a = f(m) and b=g(n)b = g(n) for some m,nm, n, so (a,b)=t(m,n)(a,b) = t(m,n).

step 1.2
3.1

Hence tβ:NA×Bt \circ \beta : \mathbb{N} \to A \times B is a surjection by [L4], and A×BA \times B is nonempty, so it is at most countable by [L2].

step 1.3step 2.1L2L4
4.1

Both cases give the conclusion: A×BA \times B is at most countable whenever AA and BB are.

step 1.1step 3.1L1

Remarks

  • Iterating gives the same conclusion for A1×A2××AkA_1 \times A_2 \times \dots \times A_k for each fixed kk: (A1×A2)×A3(A_1 \times A_2) \times A_3 is a product of two at most countable sets, and so on, so k1k - 1 applications of the theorem settle the case kk. Stating this uniformly in kk, as a single theorem quantified over kk, needs finite sequences of sets and a recursive definition of the kk-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\{0,1\}^{\mathbb{N}} is a product of countably many two-element sets and is uncountable, by the same diagonal argument as Cantor's theorem: AP(A)A \prec \mathcal{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\mathbb{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ω\mathrm{AC}_\omega)

Definition

The Axiom of Countable Choice, written ACω\mathrm{AC}_\omega, is the following statement.

For every family (Xn)nN(X_n)_{n \in \mathbb{N}} of nonempty sets indexed by N\mathbb{N} there is a function ff with domain N\mathbb{N} such that f(n)Xnf(n) \in X_n for every nNn \in \mathbb{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\mathcal{F} of nonempty sets, either F=\mathcal{F} = \varnothing, where the empty function is a choice function, or a surjection s:NFs : \mathbb{N} \to \mathcal{F} exists (A nonempty set is at most countable iff it is a surjective image of N\mathbb{N}); applying the indexed form to Xn:=s(n)X_n := s(n) gives ff with f(n)s(n)f(n) \in s(n), and g(S):=f(min{n:s(n)=S})g(S) := f(\min\{\, n : s(n) = S \,\}) is a choice function for F\mathcal{F}, the minimum being canonical by The well-ordering principle. Conversely a choice function gg on the at most countable family {Xn:nN}\{\, X_n : n \in \mathbb{N} \,\} gives f(n):=g(Xn)f(n) := g(X_n).

  • ACω\mathrm{AC}_\omega 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ω\mathrm{AC}_\omega holds and AC fails. It is also strictly stronger than what ZF proves: it is consistent with ZF that ACω\mathrm{AC}_\omega 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ω\mathrm{AC}_\omega; 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ω\mathrm{AC}_\omega is recorded in this library's catalogue of unproved results; the separation of ACω\mathrm{AC}_\omega 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 RR is a relation on a nonempty set XX such that every xXx \in X has some yy with xRyx \mathbin{R} y, then there is a sequence (xn)nN(x_n)_{n \in \mathbb{N}} with xnRxn+1x_n \mathbin{R} x_{n+1} for all nn. In ZF, ACDCACω\mathrm{AC} \Rightarrow \mathrm{DC} \Rightarrow \mathrm{AC}_\omega; 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ω\mathrm{AC}_\omega + (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ω\mathrm{AC}_\omega" is shorthand for those two conditional statements and is never used here as a standalone assertion. DC is the principle that legitimises "choose x0x_0, then choose x1x_1 depending on x0x_0, and so on"; ACω\mathrm{AC}_\omega only legitimises countably many independent choices made at once.

  • Being an axiom, ACω\mathrm{AC}_\omega 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ω\mathrm{AC}_\omega assumes it and flags the exact step that spends it, and FALSE: countable unions of countable sets are countable is a theorem of ZF records that the assumption cannot be removed.

  • Every result proved on this page other than Countable unions of at most countable sets, assuming ACω\mathrm{AC}_\omega 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\mathbb{N}, The Schröder-Bernstein theorem, Q\mathbb{Q} is countably infinite, Cantor's theorem: AP(A)A \prec \mathcal{P}(A) and R\mathbb{R} is uncountable (Cantor's nested intervals, 1874) are choice free, and each says so. The false statements at the end of the page are not all of that kind, and the claim above does not cover them: two of the three refute a ZF-provability claim only under the hypothesis that ZF is consistent, quoting an external independence result rather than proving it, and they say so in their own Facts.

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ω\mathrm{AC}_\omega

Statement

Assume the Axiom of Countable Choice (The Axiom of Countable Choice (ACω\mathrm{AC}_\omega)). Let (An)nN(A_n)_{n \in \mathbb{N}} be a family of at most countable sets (Finite, countably infinite, countable, uncountable) indexed by N\mathbb{N}. Then

U=nNAnU = \bigcup_{n \in \mathbb{N}} A_n

is at most countable.

The hypothesis ACω\mathrm{AC}_\omega is not decoration and it is not removable. It is spent at exactly one step, step 3.1 below, where one surjection NAn\mathbb{N} \to A_n is selected for every nn at once. Each AnA_n 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)nN(A_n)_{n \in \mathbb{N}} of at most countable sets, its union U=nNAnU = \bigcup_{n \in \mathbb{N}} A_n, and the Axiom of Countable Choice as an explicit hypothesis.

[L1]

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

[L2]

A nonempty set XX is at most countable if and only if there is a surjection NX\mathbb{N} \to X (A nonempty set is at most countable iff it is a surjective image of N\mathbb{N}).

[L3]

ACω\mathrm{AC}_\omega: for every family (Xn)nN(X_n)_{n \in \mathbb{N}} of nonempty sets there is ff with f(n)Xnf(n) \in X_n for all nn (The Axiom of Countable Choice (ACω\mathrm{AC}_\omega)).

[L4]

There is a bijection β:NN×N\beta : \mathbb{N} \to \mathbb{N} \times \mathbb{N} (N×NN\mathbb{N} \times \mathbb{N} \approx \mathbb{N}, Equinumerous sets, ABA \approx B and ABA \preceq B).

[L5]

Every nonempty subset of N\mathbb{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=U = \varnothing then UU is finite, hence at most countable.

givenL1
1.2

Assume instead UU \ne \varnothing; then J:={nN:An}J := \{\, n \in \mathbb{N} : A_n \ne \varnothing \,\} is nonempty, so it has a least element n0n_0 by [L5].

givenL5
1.3

Fix the bijection β:NN×N\beta : \mathbb{N} \to \mathbb{N} \times \mathbb{N} of [L4].

L4
2.1

For nJn \in J let SnS_n be the set of all surjections NAn\mathbb{N} \to A_n, which is nonempty by [L2] since AnA_n is nonempty and at most countable; for nJn \notin J put Sn:=Sn0S_n := S_{n_0}, also nonempty. This makes (Sn)nN(S_n)_{n \in \mathbb{N}} a family of nonempty sets indexed by N\mathbb{N}, defined with no choices.

step 1.2givenL2construct
3.1

This is the step that uses choice. Apply ACω\mathrm{AC}_\omega [L3] to the family (Sn)nN(S_n)_{n \in \mathbb{N}} of step 2.1: it delivers a function nsnn \mapsto s_n with snSns_n \in S_n for every nn, that is, one surjection sn:NAns_n : \mathbb{N} \to A_n selected simultaneously for every nJn \in J. Nothing in the hypotheses names a particular surjection onto AnA_n, 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×NUt : \mathbb{N} \times \mathbb{N} \to U by t(n,k)=sn(k)t(n,k) = s_n(k); the value lies in AnUA_n \subseteq U for nJn \in J and in An0UA_{n_0} \subseteq U otherwise, so tt is well defined. It is surjective: any xUx \in U lies in some AnA_n, which is then nonempty, so nJn \in J and x=sn(k)x = s_n(k) for some kk because sns_n is onto AnA_n.

step 3.1given
5.1

Hence tβ:NUt \circ \beta : \mathbb{N} \to U is a surjection by [L6], and UU \ne \varnothing, so UU is at most countable by [L2].

step 1.3step 4.1L2L6
6.1

In both cases UU 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 II is at most countable and (Ai)iI(A_i)_{i \in I} are at most countable, then either II is empty, and the union is \varnothing, or a surjection r:NIr : \mathbb{N} \to I exists (A nonempty set is at most countable iff it is a surjective image of N\mathbb{N}) and iIAi=nNAr(n)\bigcup_{i \in I} A_i = \bigcup_{n \in \mathbb{N}} A_{r(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 AA and BB both at most countable and nonempty, fix surjections f,g:NA,Bf, g : \mathbb{N} \to 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)u(0,k) = f(k) and u(n,k)=g(k)u(n,k) = g(k) for n0n \ne 0, a surjection N×NAB\mathbb{N} \times \mathbb{N} \to A \cup 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 failure without choice is not a technicality about exotic sets: if ZF is consistent, then it is consistent with ZF that R\mathbb{R} itself is a countable union of countable sets (FALSE: countable unions of countable sets are countable is a theorem of ZF), even though R\mathbb{R} is provably uncountable in ZF (R\mathbb{R} is uncountable (Cantor's nested intervals, 1874)).

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

Q\mathbb{Q} is countably infinite

Statement

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

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

Facts & Assumptions

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

[L1]

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

[L2]

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

[L3]

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

[L4]

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

[L5]

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

[L6]

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

[L7]

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

[L8]

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

[L9]

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

Proof

technique · direct
1.1

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

givenL2L3L4
1.2

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

L2L7
2.1

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

step 1.1L3L5L9
3.1

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

step 2.1givenL2L3L6
4.1

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

step 1.2step 3.1L1L8

Remarks

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

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

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

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

Cantor's theorem: AP(A)A \prec \mathcal{P}(A)

Statement

Let AA be a set and P(A)\mathcal{P}(A) its power set. Then there is no surjection AP(A)A \to \mathcal{P}(A) (Injection, surjection, bijection).

Consequently A≉P(A)A \not\approx \mathcal{P}(A) while AP(A)A \preceq \mathcal{P}(A), that is, AP(A)A \prec \mathcal{P}(A) (Equinumerous sets, ABA \approx B and ABA \preceq 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\mathbb{R}, nothing about decimal or binary expansions, and no choice principle: only the Power Set axiom, to form P(A)\mathcal{P}(A), and Separation, to form the diagonal set.

Facts & Assumptions

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

[L1]

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

[L2]

ABA \approx B means a bijection ABA \to B exists, ABA \preceq B means an injection ABA \to B exists, and ABA \prec B means ABA \preceq B and A≉BA \not\approx B (Equinumerous sets, ABA \approx B and ABA \preceq B).

Proof

technique · contradiction
1.1

Suppose, for contradiction, that some function f:AP(A)f : A \to \mathcal{P}(A) is surjective.

assume-contra
1.2

The map x{x}x \mapsto \{x\} is a function AP(A)A \to \mathcal{P}(A) and is injective, since {x}={y}\{x\} = \{y\} forces x=yx = y; hence AP(A)A \preceq \mathcal{P}(A), independently of the assumption.

L1L2
2.1

By Separation the diagonal set D={xA:xf(x)}D = \{\, x \in A : x \notin f(x) \,\} is a subset of AA, hence an element of P(A)\mathcal{P}(A).

step 1.1givenconstruct
3.1

By surjectivity there is dAd \in A with f(d)=Df(d) = D.

step 1.1step 2.1
4.1

Then dDd \in D if and only if df(d)=Dd \notin f(d) = D, by the definition of DD and f(d)=Df(d) = D; a statement equivalent to its own negation is impossible, so no surjection AP(A)A \to \mathcal{P}(A) exists. In particular no bijection does, so A≉P(A)A \not\approx \mathcal{P}(A), and with step 1.2, AP(A)A \prec \mathcal{P}(A).

step 1.2step 2.1step 3.1L1L2discharge-contradiction

Remarks

  • Where the "diagonal" is. Reading ff as a table whose row xx lists which elements belong to f(x)f(x), the set DD flips the diagonal entries: xDx \in D exactly when the entry at position (x,x)(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\mathbb{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\mathbb{R} is instead proved uncountable by Cantor's earlier nested-interval argument (R\mathbb{R} is uncountable (Cantor's nested intervals, 1874)).

  • Taking A=NA = \mathbb{N} gives NP(N)\mathbb{N} \prec \mathcal{P}(\mathbb{N}). It also gives that P(N)\mathcal{P}(\mathbb{N}) is uncountable, and by the shortest possible route: P(N)\mathcal{P}(\mathbb{N}) is nonempty, so if it were at most countable there would be a surjection NP(N)\mathbb{N} \to \mathcal{P}(\mathbb{N}) (A nonempty set is at most countable iff it is a surjective image of N\mathbb{N}), which is exactly what the theorem forbids. No fact about finite sets is needed for this. Iterating gives NP(N)P(P(N))\mathbb{N} \prec \mathcal{P}(\mathbb{N}) \prec \mathcal{P}(\mathcal{P}(\mathbb{N})) \prec \cdots, 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\mathbb{N} and P(N)\mathcal{P}(\mathbb{N}).

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

R\mathbb{R} is uncountable (Cantor's nested intervals, 1874)

Statement

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

The proof is Cantor's original argument of 1874, not the decimal diagonal. Assuming a surjection f:NRf : \mathbb{N} \to \mathbb{R}, one builds nested closed intervals [an,bn][a_n, b_n] with an<bna_n < b_n and f(n)[an+1,bn+1]f(n) \notin [a_{n+1}, b_{n+1}], and then sup{an}\sup\{a_n\} is a real number that ff 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][a_n, b_n] of length dd, its three closed thirds [an,an+d/3][a_n, a_n + d/3], [an+d/3,an+2d/3][a_n + d/3, a_n + 2d/3], [an+2d/3,bn][a_n + 2d/3, b_n] cannot all contain f(n)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)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)f(n)" would be using dependent choice, silently and unnecessarily.

Facts & Assumptions

Given: A complete ordered field R\mathbb{R}, with 010 \ne 1 and the order of Ordered field. For aba \le b write [a,b]={xR:axb}[a,b] = \{\, x \in \mathbb{R} : a \le x \le b \,\}, and write I={(a,b)R×R:a<b}I = \{\, (a,b) \in \mathbb{R} \times \mathbb{R} : a < b \,\} for the set of pairs coding nondegenerate closed intervals.

[L1]

Least-upper-bound property: every nonempty SRS \subseteq \mathbb{R} that is bounded above has a least upper bound supS\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 SS bounded above and an upper bound uu of SS, u=supSu = \sup S if and only if for every ε>0\varepsilon > 0 there is sSs \in S with uε<su - \varepsilon < s (Epsilon characterisation of the supremum).

[L4]

Order and arithmetic in an ordered field: 0<10 < 1 (The multiplicative identity is positive); a<ba < b implies a+c<b+ca + c < b + c, and a<ba < b with c<dc < d implies a+c<b+da + c < b + d (Order is preserved by adding a constant and by adding inequalities); a>0a > 0 implies a1>0a^{-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 XX, x0Xx_0 \in X and F:XXF : X \to X there is h:NXh : \mathbb{N} \to X with h(0)=x0h(0) = x_0 and h(σ(n))=F(h(n))h(\sigma(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\mathbb{N}); the order of N\mathbb{N} is the additive one, mnm \le n meaning m+k=nm + k = n for some kk (Order on the natural numbers, The natural numbers N\mathbb{N} (von Neumann)), and it satisfies n<σ(n)n < \sigma(n) and m<σ(n)    mnm < \sigma(n) \iff m \le n (On N\mathbb{N} the order is membership: m<n    mnm < n \iff m \in n), so mσ(n)m \le \sigma(n) holds exactly when mnm \le n or m=σ(n)m = \sigma(n).

[L7]

A nonempty set is at most countable if and only if some surjection from N\mathbb{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\mathbb{N}, Finite, countably infinite, countable, uncountable).

Proof

technique · contradiction
1.1

Suppose, for contradiction, that R\mathbb{R} is at most countable. Since 0R0 \in \mathbb{R}, it is nonempty, so [L7] provides a surjection f:NRf : \mathbb{N} \to \mathbb{R}.

assume-contragivenL7
1.2

Put 3:=1+1+13 := 1 + 1 + 1. Adding the inequality 0<10 < 1 to itself twice gives 3>03 > 0 by [L4], so 303 \ne 0 and 31>03^{-1} > 0; hence for d>0d > 0 the element d/3:=d31d/3 := d \cdot 3^{-1} is positive, and d/3+d/3+d/3=d313=dd/3 + d/3 + d/3 = d \cdot 3^{-1} \cdot 3 = d.

L4algebra
2.1

Fix the trisection rule. Let (a,b)I(a,b) \in I and yRy \in \mathbb{R}. Put d=ba>0d = b - a > 0, p=a+d/3p = a + d/3 and q=p+d/3q = p + d/3; then a<p<q<ba < p < q < b by step 1.2 and [L4], since pa=qp=bq=d/3>0p - a = q - p = b - q = d/3 > 0. The three pairs (a,p)(a,p), (p,q)(p,q), (q,b)(q,b) all lie in II and their intervals are contained in [a,b][a,b]. Moreover [a,p][a,p] and [q,b][q,b] are disjoint, because xp<qxx \le p < q \le x is impossible; so yy fails to lie in at least one of the three. Define T(a,b,y)T(a,b,y) to be the first of (a,p)(a,p), (p,q)(p,q), (q,b)(q,b), in that fixed order, whose interval does not contain yy. This is a definition by cases on the three conditions y[a,p]y \in [a,p], y[p,q]y \in [p,q], y[q,b]y \in [q,b], so T:I×RIT : I \times \mathbb{R} \to I is a function and no choice is made.

step 1.2L4construct
3.1

Apply [L5] with X=N×IX = \mathbb{N} \times I, x0=(0,(0,1))x_0 = (0, (0,1)), which lies in XX because 0<10 < 1 by [L4], and F(n,(a,b))=(σ(n),T(a,b,f(n)))F(n, (a,b)) = (\sigma(n), T(a, b, f(n))): this yields h:NN×Ih : \mathbb{N} \to \mathbb{N} \times I with h(0)=x0h(0) = x_0 and h(σ(n))=F(h(n))h(\sigma(n)) = F(h(n)). An induction using [L6] shows the first coordinate of h(n)h(n) is nn, so we may write h(n)=(n,(an,bn))h(n) = (n, (a_n, b_n)) with an<bna_n < b_n, a0=0a_0 = 0, b0=1b_0 = 1 and (aσ(n),bσ(n))=T(an,bn,f(n))(a_{\sigma(n)}, b_{\sigma(n)}) = T(a_n, b_n, f(n)) for every nn. By step 2.1 this gives anaσ(n)a_n \le a_{\sigma(n)}, bσ(n)bnb_{\sigma(n)} \le b_n and f(n)[aσ(n),bσ(n)]f(n) \notin [a_{\sigma(n)}, b_{\sigma(n)}].

step 1.1step 2.1L4L5L6construct
4.1

For mnm \le n one has amana_m \le a_n and bnbmb_n \le b_m, by induction on nn using step 3.1 and transitivity; consequently ambna_m \le b_n for all m,nm, n: if mnm \le n then aman<bna_m \le a_n < b_n, and if nmn \le m then am<bmbna_m < b_m \le b_n, and any two naturals are comparable by [L6].

step 3.1L4L6
5.1

The set S={an:nN}S = \{\, a_n : n \in \mathbb{N} \,\} is nonempty and bounded above by b0b_0 by step 4.1, so [L1] gives its least upper bound x=supSx = \sup S, unique by [L2].

step 3.1step 4.1L1L2
6.1

For every nn: anxa_n \le x, because xx is an upper bound of SS; and xbnx \le b_n, because otherwise ε:=xbn>0\varepsilon := x - b_n > 0 and [L3] would produce amSa_m \in S with bn=xε<amb_n = x - \varepsilon < a_m, contradicting ambna_m \le b_n from step 4.1. Hence x[an,bn]x \in [a_n, b_n] for every nn.

step 4.1step 5.1L1L3L4
7.1

Fix nNn \in \mathbb{N}. By step 6.1 applied to σ(n)\sigma(n), x[aσ(n),bσ(n)]x \in [a_{\sigma(n)}, b_{\sigma(n)}], whereas f(n)[aσ(n),bσ(n)]f(n) \notin [a_{\sigma(n)}, b_{\sigma(n)}] by step 3.1, so xf(n)x \ne f(n). As nn was arbitrary, the real number xx is not a value of ff, contradicting the surjectivity of ff obtained in step 1.1. Therefore no surjection NR\mathbb{N} \to \mathbb{R} exists and, R\mathbb{R} being nonempty, [L7] makes R\mathbb{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}\sup\{a_n\}; 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\mathbb{Q} exactly because the supremum of the left endpoints need not exist there, which is as it should be, since Q\mathbb{Q} is countable (Q\mathbb{Q} is countably infinite).

  • Why thirds and not halves. Two closed halves share the midpoint, so if f(n)f(n) happens to be that midpoint then both halves contain it and the rule "take the first closed half not containing f(n)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)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}\sup\{a_n\} must be allowed to be an endpoint.

  • The diagonal argument is not lost, only relocated. Cantor's theorem: AP(A)A \prec \mathcal{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. It is what lets FALSE: countable unions of countable sets are countable is a theorem of ZF draw a conclusion about ZF: since this theorem is proved in ZF alone, any model of ZF in which R\mathbb{R} is a countable union of countable sets is a model in which the countable-union theorem fails.

  • The argument gives more than the statement does. Nothing above depends on the starting interval being (0,1)(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\mathbb{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\mathbb{R} is uncountable

Statement

Let R\mathbb{R} be a complete ordered field (Complete ordered field (least-upper-bound property)) and let a,bRa, b \in \mathbb{R} with a<ba < b. Then both

  1. the closed interval [a,b]={xR:axb}[a,b] = \{\, x \in \mathbb{R} : a \le x \le b \,\}, and
  2. the open interval (a,b)={xR:a<x<b}(a,b) = \{\, x \in \mathbb{R} : a < x < b \,\}

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

What this adds to R\mathbb{R} is uncountable (Cantor's nested intervals, 1874), and what it does not inherit from it. That theorem states exactly one thing: R\mathbb{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(a,b) \in 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<bna_n < b_n that the rule delivers. Only three places are special to R\mathbb{R} and to (0,1)(0,1): the surjection of its step 1.1 is onto R\mathbb{R}, the recursion of its step 3.1 is seeded at (0,(0,1))(0,(0,1)), and the conclusion drawn in its step 7.1 is about R\mathbb{R}. So the construction is re-run below, seeded instead at the middle third of (a,b)(a,b), against a surjection onto (a,b)(a,b); the remarks record why that seed and not (a,b)(a,b) itself.

Facts & Assumptions

Given: A complete ordered field R\mathbb{R}, with 010 \ne 1 and the order of Ordered field. For uvu \le v write [u,v]={xR:uxv}[u,v] = \{\, x \in \mathbb{R} : u \le x \le v \,\} and (u,v)={xR:u<x<v}(u,v) = \{\, x \in \mathbb{R} : u < x < v \,\}, and write I={(u,v)R×R:u<v}I = \{\, (u,v) \in \mathbb{R} \times \mathbb{R} : u < v \,\} for the set of pairs coding nondegenerate closed intervals.

[L1]

Least-upper-bound property: every nonempty SRS \subseteq \mathbb{R} that is bounded above has a least upper bound supS\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 SS bounded above and an upper bound uu of SS, u=supSu = \sup S if and only if for every ε>0\varepsilon > 0 there is sSs \in S with uε<su - \varepsilon < s (Epsilon characterisation of the supremum).

[L4]

Order and arithmetic in an ordered field: 0<10 < 1 (The multiplicative identity is positive); a<ba < b implies a+c<b+ca + c < b + c, and a<ba < b with c<dc < d implies a+c<b+da + c < b + d (Order is preserved by adding a constant and by adding inequalities); a>0a > 0 implies a1>0a^{-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 XX, x0Xx_0 \in X and F:XXF : X \to X there is h:NXh : \mathbb{N} \to X with h(0)=x0h(0) = x_0 and h(σ(n))=F(h(n))h(\sigma(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\mathbb{N}); the order of N\mathbb{N} is the additive one, mnm \le n meaning m+k=nm + k = n for some kk (Order on the natural numbers, The natural numbers N\mathbb{N} (von Neumann)), and it satisfies n<σ(n)n < \sigma(n) and m<σ(n)    mnm < \sigma(n) \iff m \le n (On N\mathbb{N} the order is membership: m<n    mnm < n \iff m \in n), so mσ(n)m \le \sigma(n) holds exactly when mnm \le n or m=σ(n)m = \sigma(n).

[L7]

A nonempty set is at most countable if and only if some surjection from N\mathbb{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\mathbb{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<ba < b in R\mathbb{R} for which [a,b][a,b] is at most countable or (a,b)(a,b) is at most countable. Fix such a pair. Since (a,b)[a,b](a,b) \subseteq [a,b], in the first case [L8] makes (a,b)(a,b) at most countable too, so in either case (a,b)(a,b) is at most countable.

assume-contraL7L8
1.2

Put 3:=1+1+13 := 1 + 1 + 1. Adding the inequality 0<10 < 1 to itself twice gives 3>03 > 0 by [L4], so 303 \ne 0 and 31>03^{-1} > 0; hence for d>0d > 0 the element d/3:=d31d/3 := d \cdot 3^{-1} is positive, and d/3+d/3+d/3=d313=dd/3 + d/3 + d/3 = d \cdot 3^{-1} \cdot 3 = d.

L4algebra
2.1

Fix the trisection rule. Let (u,v)I(u,v) \in I and yRy \in \mathbb{R}. Put d=vu>0d = v - u > 0, s=u+d/3s = u + d/3 and t=s+d/3t = s + d/3; then u<s<t<vu < s < t < v by step 1.2 and [L4], since su=ts=vt=d/3>0s - u = t - s = v - t = d/3 > 0. The three pairs (u,s)(u,s), (s,t)(s,t), (t,v)(t,v) all lie in II and their intervals are contained in [u,v][u,v]. Moreover [u,s][u,s] and [t,v][t,v] are disjoint, because xs<txx \le s < t \le x is impossible; so yy fails to lie in at least one of the three. Define T(u,v,y)T(u,v,y) to be the first of (u,s)(u,s), (s,t)(s,t), (t,v)(t,v), in that fixed order, whose interval does not contain yy. This is a definition by cases on the three conditions y[u,s]y \in [u,s], y[s,t]y \in [s,t], y[t,v]y \in [t,v], so T:I×RIT : I \times \mathbb{R} \to I is a function and no choice is made.

step 1.2L4construct
3.1

Trisect the fixed interval. Put d0=ba>0d_0 = b - a > 0, p=a+d0/3p = a + d_0/3 and q=p+d0/3q = p + d_0/3; then a<p<q<ba < p < q < b by step 1.2 and [L4], exactly as in step 2.1 applied to (a,b)(a,b). Hence (p,q)I(p,q) \in I, and [p,q](a,b)[p,q] \subseteq (a,b), since pxqp \le x \le q gives a<pxq<ba < p \le x \le q < b. In particular p(a,b)p \in (a,b), so (a,b)(a,b) is nonempty.

step 1.2L4
4.1

By step 1.1 the set (a,b)(a,b) is at most countable, and by step 3.1 it is nonempty, so [L7] provides a surjection g:N(a,b)g : \mathbb{N} \to (a,b). Composing with the inclusion (a,b)R(a,b) \subseteq \mathbb{R} regards gg as a function f:NRf : \mathbb{N} \to \mathbb{R} with f(n)=g(n)f(n) = g(n) for every nn.

step 1.1step 3.1L7
5.1

Apply [L5] with X=N×IX = \mathbb{N} \times I, x0=(0,(p,q))x_0 = (0, (p,q)), which lies in XX because p<qp < q by step 3.1, and F(n,(u,v))=(σ(n),T(u,v,f(n)))F(n, (u,v)) = (\sigma(n), T(u, v, f(n))): this yields h:NN×Ih : \mathbb{N} \to \mathbb{N} \times I with h(0)=x0h(0) = x_0 and h(σ(n))=F(h(n))h(\sigma(n)) = F(h(n)). An induction using [L6] shows the first coordinate of h(n)h(n) is nn, so we may write h(n)=(n,(an,bn))h(n) = (n, (a_n, b_n)) with an<bna_n < b_n, a0=pa_0 = p, b0=qb_0 = q and (aσ(n),bσ(n))=T(an,bn,f(n))(a_{\sigma(n)}, b_{\sigma(n)}) = T(a_n, b_n, f(n)) for every nn. By step 2.1 this gives anaσ(n)a_n \le a_{\sigma(n)}, bσ(n)bnb_{\sigma(n)} \le b_n and f(n)[aσ(n),bσ(n)]f(n) \notin [a_{\sigma(n)}, b_{\sigma(n)}].

step 2.1step 3.1step 4.1L4L5L6construct
6.1

For mnm \le n one has amana_m \le a_n and bnbmb_n \le b_m, by induction on nn using step 5.1 and transitivity; consequently ambna_m \le b_n for all m,nm, n: if mnm \le n then aman<bna_m \le a_n < b_n, and if nmn \le m then am<bmbna_m < b_m \le b_n, and any two naturals are comparable by [L6].

step 5.1L4L6
7.1

The set S={an:nN}S = \{\, a_n : n \in \mathbb{N} \,\} is nonempty and bounded above by b0b_0 by step 6.1, so [L1] gives its least upper bound x=supSx = \sup S, unique by [L2].

step 5.1step 6.1L1L2
8.1

For every nn: anxa_n \le x, because xx is an upper bound of SS; and xbnx \le b_n, because otherwise ε:=xbn>0\varepsilon := x - b_n > 0 and [L3] would produce amSa_m \in S with bn=xε<amb_n = x - \varepsilon < a_m, contradicting ambna_m \le b_n from step 6.1. Hence x[an,bn]x \in [a_n, b_n] for every nn.

step 6.1step 7.1L1L3L4
9.1

Taking n=0n = 0 in step 8.1 gives x[a0,b0]=[p,q]x \in [a_0, b_0] = [p, q], and [p,q](a,b)[p,q] \subseteq (a,b) by step 3.1, so x(a,b)x \in (a,b). Fix nNn \in \mathbb{N}: by step 8.1 applied to σ(n)\sigma(n), x[aσ(n),bσ(n)]x \in [a_{\sigma(n)}, b_{\sigma(n)}], whereas f(n)[aσ(n),bσ(n)]f(n) \notin [a_{\sigma(n)}, b_{\sigma(n)}] by step 5.1, so xf(n)=g(n)x \ne f(n) = g(n). As nn was arbitrary, the element xx of (a,b)(a,b) is not a value of gg, contradicting the surjectivity of gg obtained in step 4.1. So no such pair a<ba < b exists: for every a<ba < b both [a,b][a,b] and (a,b)(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\mathbb{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\mathbb{R} is uncountable and nothing more, and no item of this library states that [0,1][0,1] is uncountable, so the affine order-isomorphism ta+t(ba)t \mapsto a + t(b-a) from [0,1][0,1] onto [a,b][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 TT for an arbitrary (a,b)I(a,b) \in I, and its steps 4.1 to 7.1 quote only the nesting anaσ(n)a_n \le a_{\sigma(n)}, bσ(n)bnb_{\sigma(n)} \le b_n, the strictness an<bna_n < b_n and the omission f(n)[aσ(n),bσ(n)]f(n) \notin [a_{\sigma(n)}, b_{\sigma(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)(a,b) rather than onto R\mathbb{R}, the seed (0,(p,q))(0,(p,q)) rather than (0,(0,1))(0,(0,1)), and a conclusion about the interval rather than about R\mathbb{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(a,b) \in I and every f:NRf : \mathbb{N} \to \mathbb{R} there is x[a,b]x \in [a,b] omitted by ff" 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)(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)(a,b) would therefore only place xx in the closed interval [a,b][a,b], which settles claim 1 but not claim 2. Seeding at (p,q)(p,q), the middle third, costs nothing and gives x[p,q](a,b)x \in [p,q] \subseteq (a,b), so the open case comes out directly and the closed case follows from it, since (a,b)[a,b](a,b) \subseteq [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\mathbb{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}\sup\{a_n\} 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\mathbb{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<ba < b cannot be weakened: [a,a]={a}[a,a] = \{a\} is finite and (a,a)=(a,a) = \varnothing 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\mathbb{R} be a complete ordered field (Complete ordered field (least-upper-bound property)) and let ι:QR\iota : \mathbb{Q} \to \mathbb{R} be the canonical embedding (The unique embedding of ℚ into an ordered field); write QR=ι[Q]\mathbb{Q}_{\mathbb{R}} = \iota[\mathbb{Q}] for the copy of the rationals inside R\mathbb{R}, the set usually written Q\mathbb{Q} once the identification is made. Then the set of irrationals

RQR\mathbb{R} \setminus \mathbb{Q}_{\mathbb{R}}

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\mathbb{R} would be the union of the two at most countable sets QR\mathbb{Q}_{\mathbb{R}} and RQR\mathbb{R} \setminus \mathbb{Q}_{\mathbb{R}}, and countability of a two-set union is proved by interleaving two given enumerations. The countable union theorem, which does spend ACω\mathrm{AC}_\omega, is not invoked here and is not needed; see the remarks below.

Facts & Assumptions

Given: A complete ordered field R\mathbb{R}, the canonical embedding ι:QR\iota : \mathbb{Q} \to \mathbb{R}, the subset QR=ι[Q]\mathbb{Q}_{\mathbb{R}} = \iota[\mathbb{Q}] and its complement X=RQRX = \mathbb{R} \setminus \mathbb{Q}_{\mathbb{R}}, so that R=QRX\mathbb{R} = \mathbb{Q}_{\mathbb{R}} \cup X.

[L1]

ι\iota is injective (The unique embedding of ℚ into an ordered field), hence a bijection of Q\mathbb{Q} onto QR\mathbb{Q}_{\mathbb{R}}; \approx is transitive (Equinumerous sets, ABA \approx B and ABA \preceq B, Injection, surjection, bijection).

[L2]

QN\mathbb{Q} \approx \mathbb{N}, so Q\mathbb{Q} is at most countable (Q\mathbb{Q} is countably infinite).

[L3]

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

[L4]

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

Proof

technique · contradiction
1.1

Suppose, for contradiction, that X=RQRX = \mathbb{R} \setminus \mathbb{Q}_{\mathbb{R}} is at most countable.

assume-contra
1.2

QRQN\mathbb{Q}_{\mathbb{R}} \approx \mathbb{Q} \approx \mathbb{N} by [L1] and [L2], so QR\mathbb{Q}_{\mathbb{R}} is at most countable, and it is nonempty since ι(0)QR\iota(0) \in \mathbb{Q}_{\mathbb{R}}.

L1L2
1.3

Fix the bijection β:NN×N\beta : \mathbb{N} \to \mathbb{N} \times \mathbb{N} of [L4].

L4
2.1

If X=X = \varnothing then R=QR\mathbb{R} = \mathbb{Q}_{\mathbb{R}}, which is at most countable by step 1.2.

step 1.2given
2.2

Otherwise XX \ne \varnothing, and since XX is at most countable by assumption and QR\mathbb{Q}_{\mathbb{R}} is nonempty and at most countable by step 1.2, [L3] provides surjections f:NQRf : \mathbb{N} \to \mathbb{Q}_{\mathbb{R}} and g:NXg : \mathbb{N} \to X.

step 1.1step 1.2L3
3.1

Define u:N×NRu : \mathbb{N} \times \mathbb{N} \to \mathbb{R} by u(0,k)=f(k)u(0,k) = f(k) and u(n,k)=g(k)u(n,k) = g(k) for n0n \ne 0. Every element of R\mathbb{R} lies in QR\mathbb{Q}_{\mathbb{R}} or in XX, hence is f(k)f(k) or g(k)g(k) for some kk, so uu is surjective onto R\mathbb{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β:NRu \circ \beta : \mathbb{N} \to \mathbb{R} is a surjection and R\mathbb{R} \ne \varnothing, so R\mathbb{R} is at most countable by [L3].

step 1.3step 3.1L3
5.1

In either case R\mathbb{R} is at most countable, by step 2.1 in the first and step 4.1 in the second; this contradicts [L5]. Therefore X=RQRX = \mathbb{R} \setminus \mathbb{Q}_{\mathbb{R}} 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 →
Rests on 2 statements not proved in this library. Every dependency marked below is recorded with a citation but is not established here, because the track that would prove it has not yet been developed in this library. Everything else in this proof is proved here.

The continuum hypothesis, and what this page does not prove

Remark

By Cantor's theorem: AP(A)A \prec \mathcal{P}(A) there is a strict gap NP(N)\mathbb{N} \prec \mathcal{P}(\mathbb{N}) (Equinumerous sets, ABA \approx B and ABA \preceq B). In particular P(N)\mathcal{P}(\mathbb{N}) is uncountable (Finite, countably infinite, countable, uncountable), since a surjection NP(N)\mathbb{N} \to \mathcal{P}(\mathbb{N}) would exist if it were at most countable (A nonempty set is at most countable iff it is a surjective image of N\mathbb{N}) and the theorem forbids one; and so, by a completely different argument, is R\mathbb{R} (R\mathbb{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 AA with NAP(N)\mathbb{N} \prec A \prec \mathcal{P}(\mathbb{N}).

Over ZFC this is equivalent to: every uncountable subset of P(N)\mathcal{P}(\mathbb{N}) is equinumerous with P(N)\mathcal{P}(\mathbb{N}) itself. The qualification matters, and it is one of the few places on this page where a statement is not choice free. Passing from the displayed form to the subset form requires knowing that an uncountable AP(N)A \subseteq \mathcal{P}(\mathbb{N}) satisfies NA\mathbb{N} \prec A, that is, that AA has a countably infinite subset, and that is not a theorem of ZF, granted the consistency of ZF: this page records exactly that in FALSE: every infinite set has a countably infinite subset, in ZF, whose conclusion is conditional on the consistency of ZF and rests on an external independence result quoted there rather than proved. Over ZF that passage is therefore unavailable, so nothing here asserts the two forms to be equivalent, and only the displayed form is used below. Whether they genuinely come apart in some model of ZF is a further independence question, which this page neither settles nor uses.

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 LL 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\mathbb{R}: that every uncountable set of reals is equinumerous with R\mathbb{R}. That form is equivalent to the one above only once one knows RP(N)\mathbb{R} \approx \mathcal{P}(\mathbb{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)\mathcal{P}(\mathbb{N}) is uncountable by the diagonal argument, and R\mathbb{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\mathbb{Q}, uncountability of R\mathbb{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\mathbb{N} and P(N)\mathcal{P}(\mathbb{N}), and for the choice principles recorded in The Axiom of Countable Choice (ACω\mathrm{AC}_\omega) and its companions.

The generalised continuum hypothesis (GCH), that ABP(A)A \prec B \prec \mathcal{P}(A) never holds for infinite AA, 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=NA = \mathbb{N}, an instance the hypothesis "for infinite AA" genuinely licenses: N≉n\mathbb{N} \not\approx n for every natural number nn (claim 4 of The pigeonhole principle on N\mathbb{N}), so N\mathbb{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 passverified 2026-08-04 (gpt-5.6-sol-codex-subscription) rests on unproved materialOpen item page →
Rests on 1 statement not proved in this library. Every dependency marked below is recorded with a citation but is not established here, because the track that would prove it has not yet been developed in this library. Everything else in this proof is proved here.

FALSE: countable unions of countable sets are countable is a theorem of ZF

Statement

FALSE. The statement

a union of countably many at most countable sets is at most countable

is a theorem of ZF: it can be proved from the Zermelo-Fraenkel axioms with no appeal to any choice principle.

The claim is plausible because the proof looks like pure bookkeeping. One writes the elements of AnA_n as an,0,an,1,an,2,a_{n,0}, a_{n,1}, a_{n,2}, \dots, reads off the array by diagonals, and every single step of that argument is elementary, with the countability of N×N\mathbb{N} \times \mathbb{N} (N×NN\mathbb{N} \times \mathbb{N} \approx \mathbb{N}) doing the real work and needing no choice. What is easy to miss is the very first move: writing the elements of AnA_n as a list means choosing one enumeration of AnA_n, for every nn at once, out of the many that each AnA_n admits. That is exactly the Axiom of Countable Choice (The Axiom of Countable Choice (ACω\mathrm{AC}_\omega)), and Countable unions of at most countable sets, assuming ACω\mathrm{AC}_\omega flags it at the step where it is spent.

Facts & Assumptions

Given: The axioms of ZF, assumed to be consistent, together with the external metamathematical result cited below. Every conclusion here is relative to that consistency assumption, which cannot be dropped and cannot be proved inside ZF. "UU" abbreviates the displayed statement above.

[A1]

If ZF is consistent, then there is a model of ZF in which R\mathbb{R} is a union of countably many at most countable sets (Feferman and Levy, 1963, by forcing, The Feferman-Levy model: the reals as a countable union of countable sets ). This is an external result, it is NOT proved in this library, and it presupposes the consistency of ZF assumed in the Given.

[L1]

R\mathbb{R} is uncountable, and the proof is carried out in ZF alone, using no choice principle at any step (R\mathbb{R} is uncountable (Cantor's nested intervals, 1874)); "uncountable" means "not at most countable" (Finite, countably infinite, countable, uncountable).

Refutation

technique · contradiction
1.1

Suppose UU were a theorem of ZF.

assume-contra
1.2

By [A1], and under the consistency assumption of the Given, fix a model MM of ZF in which R\mathbb{R} is a union of countably many at most countable sets.

A1given
2.1

Every theorem of ZF holds in every model of ZF, so MM satisfies UU; applied to the countable family of at most countable sets whose union is R\mathbb{R} in MM, this makes R\mathbb{R} at most countable in MM.

step 1.1step 1.2
2.2

By [L1], "R\mathbb{R} is uncountable" is also a theorem of ZF, hence also holds in MM: in MM, R\mathbb{R} is not at most countable.

step 1.2L1
3.1

So MM would satisfy both "R\mathbb{R} is at most countable" and its negation, which no model does; hence, under the consistency of ZF assumed in the Given, UU is not a theorem of ZF. Equivalently and without any assumption: if ZF proves UU, then ZF is inconsistent.

step 2.1step 2.2discharge-contradiction

Remarks

  • What is and is not proved here. The refutation is a correct argument given the cited independence result, but that result is not proved in this library: the Feferman-Levy model is built by forcing, which is deferred. The honest reading is conditional, namely that UU is a theorem of ZF only if ZF is inconsistent. It is recorded this way deliberately rather than presented as fully derived, exactly as in FALSE: Zorn's lemma is a theorem of ZF.

  • The correct reading of the true theorem. Countable unions of at most countable sets, assuming ACω\mathrm{AC}_\omega proves UU from ZF together with ACω\mathrm{AC}_\omega and is not weakened by this item; what this item says is that the choice assumption is doing real work and cannot be dropped. The library's habit of naming the exact step that spends a choice principle is what makes the difference visible.

  • How strange the Feferman-Levy model is. In it (The Feferman-Levy model: the reals as a countable union of countable sets ) R\mathbb{R} is a countable union of countable sets, yet R\mathbb{R} is still uncountable, since R\mathbb{R} is uncountable (Cantor's nested intervals, 1874) is a ZF theorem. There is no contradiction: countably many countable sets can have an uncountable union when no single function enumerates them all simultaneously. What fails is not any statement about R\mathbb{R} but the ability to assemble the enumerations.

  • The same phenomenon is why "a countable union of countable sets of reals" arguments in analysis, for instance in measure theory, are usually stated over ZFC or at least ZF plus ACω\mathrm{AC}_\omega. The choice ledger is not a formality there either.

False statementConstruction: AI-adaptedVerification: AI-adaptedprecheck passverified 2026-08-04 (gpt-5.6-sol-codex-subscription) rests on unproved materialOpen item page →
Rests on 1 statement not proved in this library. Every dependency marked below is recorded with a citation but is not established here, because the track that would prove it has not yet been developed in this library. Everything else in this proof is proved here.

FALSE: every infinite set has a countably infinite subset, in ZF

Statement

FALSE. The statement

every infinite set has a countably infinite subset

is a theorem of ZF: it can be proved from the Zermelo-Fraenkel axioms without any choice principle.

Here "infinite" means "not finite" and "countably infinite" means "equinumerous with N\mathbb{N}" (Finite, countably infinite, countable, uncountable, Equinumerous sets, ABA \approx B and ABA \preceq B). The claim is plausible because the proof everyone reaches for seems to need nothing at all: AA is infinite, so it is nonempty, so pick a0Aa_0 \in A; then A{a0}A \setminus \{a_0\} is still infinite, so pick a1a_1; and so on, giving {a0,a1,a2,}N\{a_0, a_1, a_2, \dots\} \approx \mathbb{N}. The "and so on" is the whole difficulty. Each step depends on the previous choices and there are infinitely many of them, so what the argument uses is dependent choice (The Axiom of Countable Choice (ACω\mathrm{AC}_\omega) records where DC sits), not a construction. Nothing in ZF turns "AA is not equinumerous with any natural number" into a rule for naming elements of AA.

Facts & Assumptions

Given: The axioms of ZF, assumed to be consistent, together with the external metamathematical result cited below. Every conclusion here is relative to that consistency assumption, which cannot be dropped and cannot be proved inside ZF. "SS" abbreviates the displayed statement above.

[A1]

If ZF is consistent, then there is a model of ZF containing an infinite set with no countably infinite subset (equivalently, an infinite set that is not Dedekind-infinite). Such models are produced by forcing, following Cohen (1963), whose first model is exactly of this kind (Cohen's first model: an infinite Dedekind-finite set of reals ), and by transferring Fraenkel-Mostowski permutation models, where the witnesses are amorphous sets, into ZF by the Jech-Sochor embedding theorem. This is an external result, it is NOT proved in this library, and it presupposes the consistency of ZF assumed in the Given.

[L1]

"Infinite" means not finite, that is, not equinumerous with any natural number; "countably infinite" means equinumerous with N\mathbb{N} (Finite, countably infinite, countable, uncountable, Equinumerous sets, ABA \approx B and ABA \preceq B).

Refutation

technique · contradiction
1.1

Suppose SS were a theorem of ZF.

assume-contra
1.2

By [A1], and under the consistency assumption of the Given, fix a model MM of ZF containing an infinite set AA with no countably infinite subset.

A1given
2.1

Every theorem of ZF holds in every model of ZF, so MM satisfies SS; applied to AA, which is infinite in MM, this yields a countably infinite subset of AA in MM.

step 1.1step 1.2L1
3.1

That contradicts the defining property of AA in MM, and no model satisfies both a statement and its negation; hence, under the consistency of ZF assumed in the Given, SS is not a theorem of ZF. Equivalently and without any assumption: if ZF proves SS, then ZF is inconsistent.

step 1.2step 2.1discharge-contradiction

Remarks

  • What is and is not proved here. As in FALSE: Zorn's lemma is a theorem of ZF and FALSE: countable unions of countable sets are countable is a theorem of ZF, the refutation is conditional on the consistency of ZF and rests on an independence result that this library does not prove. The honest reading is: SS is a theorem of ZF only if ZF is inconsistent.

  • With ACω\mathrm{AC}_\omega the statement is true, which is exactly why it feels obvious. This standard contrast is not proved in this library either. Given an infinite AA, for each nn the set of injections nAn \to A is nonempty, and ACω\mathrm{AC}_\omega selects one for every nn at once; from that sequence a countably infinite subset is assembled with no further choices. The intuition behind the naive argument is therefore not wrong, it is just not a ZF argument.

  • Two notions of infinite come apart in ZF. A set is Dedekind-infinite when it is equinumerous with a proper subset of itself, equivalently when it has a countably infinite subset. Dedekind-infinite implies infinite in ZF, and that direction is a theorem of this library rather than a convention: it is claim 5 of The pigeonhole principle on N\mathbb{N}, transported along a bijection. In detail, suppose AA were both finite and Dedekind-infinite, say f:Anf : A \to n is a bijection onto a natural number and g:ABg : A \to B is a bijection onto a proper subset BAB \subsetneq A. Then f[B]nf[B] \subseteq n, and f[B]nf[B] \neq n because ff is injective and BAB \neq A, while nABf[B]n \approx A \approx B \approx f[B]; so nn is equinumerous with a proper subset of itself, which claim 5 forbids. The converse implication, that infinite implies Dedekind-infinite, is exactly SS. So ZF does not prove the two notions equivalent, unless ZF is inconsistent: that separation is the conditional conclusion of the refutation above and inherits its consistency hypothesis, and an amorphous set, one that cannot be split into two infinite pieces at all, is infinite in the weak sense only.

  • This is the reason the library's definition of finiteness (Finite, countably infinite, countable, uncountable) is by equinumerosity with a natural number rather than by the Dedekind condition. The two definitions are equivalent under ACω\mathrm{AC}_\omega and not equivalent in ZF, and only the first supports the induction arguments used in Every subset of an at most countable set is at most countable and The nonempty finite subsets of R\mathbb{R} are exactly the listable ones.

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\mathbb{R} contains an interval

Statement

FALSE. Every uncountable subset XRX \subseteq \mathbb{R} (Finite, countably infinite, countable, uncountable) contains a nondegenerate interval: there are a<ba < b in R\mathbb{R} with (a,b)X(a,b) \subseteq 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\mathbb{R}. But size in the sense of cardinality says nothing about how a set sits inside R\mathbb{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\mathbb{R} (Complete ordered field (least-upper-bound property)) with the canonical embedding ι:QR\iota : \mathbb{Q} \to \mathbb{R} and QR=ι[Q]\mathbb{Q}_{\mathbb{R}} = \iota[\mathbb{Q}] (The unique embedding of ℚ into an ordered field). "Nondegenerate interval" means a set (a,b)={x:a<x<b}(a,b) = \{\, x : a < x < b \,\} with a<ba < b.

[L1]

X0:=RQRX_0 := \mathbb{R} \setminus \mathbb{Q}_{\mathbb{R}} is uncountable (The irrationals are uncountable).

[L2]

R\mathbb{R} is Archimedean (Every complete ordered field is Archimedean), and QR\mathbb{Q}_{\mathbb{R}} is dense in every Archimedean ordered field: for a<ba < b there is qQq \in \mathbb{Q} with a<ι(q)<ba < \iota(q) < b (ℚ is dense in every Archimedean ordered field). For the Cauchy-sequence model of R\mathbb{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=RQRX_0 = \mathbb{R} \setminus \mathbb{Q}_{\mathbb{R}}, the set of irrationals.

construct
1.2

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

L1L3
2.1

Let a<ba < b in R\mathbb{R} be arbitrary. By [L2] there is qQq \in \mathbb{Q} with a<ι(q)<ba < \iota(q) < b, so ι(q)(a,b)\iota(q) \in (a,b); but ι(q)QR\iota(q) \in \mathbb{Q}_{\mathbb{R}}, hence ι(q)X0\iota(q) \notin X_0. Therefore (a,b)⊈X0(a,b) \not\subseteq X_0, and a fortiori [a,b]⊈X0[a,b] \not\subseteq X_0.

step 1.1L2
3.1

So X0X_0 is an uncountable subset of R\mathbb{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: X0X_0 misses no interval either, so it is dense and yet contains no interval. That X0X_0 meets every (a,b)(a,b) with a<ba < b needs no new input, only what is already on this page: were (a,b)X0(a,b) \cap X_0 empty we would have (a,b)QR(a,b) \subseteq \mathbb{Q}_{\mathbb{R}}, and QR=ι[Q]\mathbb{Q}_{\mathbb{R}} = \iota[\mathbb{Q}] is at most countable, being a bijective image of Q\mathbb{Q} (Q\mathbb{Q} is countably infinite, The unique embedding of ℚ into an ordered field), so (a,b)(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\mathbb{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\mathbb{R} is uncountable (Cantor's nested intervals, 1874) seeded at the middle third of (a,b)(a,b), which is what places the point that construction produces strictly inside (a,b)(a,b) rather than merely in [a,b][a,b]; the density of QR\mathbb{Q}_{\mathbb{R}} 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