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

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

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

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

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.

Depends on

Used by

Dependency tree · next 3 levels

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

Sources