Alphabeta Math
ExampleConstruction: Literature-sourcedVerification: AI-generatedPipeline-generatedjudge pass (gpt-6.1-sol)
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.

The rationals in an interval are countably infinite while the interval is uncountable

Example

Let R be a complete ordered field (Complete ordered field (least-upper-bound property)), let ε:Q→R be the canonical embedding and write QR=ε[Q] (The unique embedding of ℚ into an ordered field). For a<b in R put Sa,b={ x∈QR:a<x<b } and Ia,b={ x∈R:a<x<b }. Then

Cardinality and order-density are independent properties of a subset of R. Both parts are theorems of ZF: the enumeration in (i) is built by a canonical least-index recursion, and (ii) interleaves two given enumerations.

Facts & Assumptions

[F2]

Density: for any x<y in R there is q∈Q with x<ε(q)<y (ℚ is dense in every Archimedean ordered field). Applied with x:=a, y:=b this gives Sa,b≠∅, and applied to x<y with a≤x<y≤b it gives an element of Sa,b between them, so Sa,b is dense in Ia,b.

[F3]

A subset of an at most countable set is at most countable (Every subset of an at most countable set is at most countable); a nonempty at most countable set is a surjective image of N, and conversely a surjective image of N is at most countable (A nonempty set is at most countable iff it is a surjective image of N).

[F4]

Well-ordering: every nonempty subset of N has a least element (The well-ordering principle). Recursion: for a set X, x0∈X and F:X→X there is r:N→X with r(0)=x0 and r(σ(n))=F(r(n)) (The recursion theorem). Induction holds on N (The principle of mathematical induction), and m<σ(n) exactly when m≤n (On N the order is membership: m<n  ⟺  m∈n). The inverse of a bijection is a bijection (f:A→B is a bijection if and only if there is a function g:B→A with g∘f=ΔA and f∘g=ΔB; such a g is unique, equals the inverse relation f−1, and is itself a bijection).

[F5]

Schröder-Bernstein: injections both ways give a bijection (The Schröder-Bernstein theorem); A⪯B means an injection A→B exists (Equinumerous sets, A≈B and A⪯B, Injection, surjection, bijection).

[F6]

The open interval is uncountable: Ia,b is not at most countable (Every nondegenerate interval of R is uncountable, Finite, countably infinite, countable, uncountable).

[F7]

Set algebra: x∈Ia,b∖QR exactly when x∈Ia,b and x∉QR (The difference a∖b, the symmetric difference a△b, and the complement X∖a relative to a set X); N×N≈N through the pairing of N×N≈N, whose inverse is a bijection N→N×N.

Verification

technique · direct
1.1F1F4

QR is countably infinite. Since ε is injective, it is a bijection of Q onto its image QR; by [F1] there is a bijection Q→N, and composing its inverse with ε exhibits a bijection e:N→QR. In particular QR is at most countable.

2.1step 1.1F2F3

Sa,b is at most countable, nonempty, and dense in Ia,b. It is a subset of QR, so [F3] applies; it is nonempty and dense by [F2].

2.2step 1.1F2F4

The step function F is well defined on Ia,b. Fix the bijection e:N→QR of step 1.1. For x∈Ia,b the set { k∈N:x<e(k)<b } is nonempty by [F2] applied to x<b, and it is a subset of N, so it has a least element k(x) by [F4]; put F(x):=e(k(x)), a rational with x<F(x)<b. Likewise { k:a<e(k)<b } is nonempty by [F2] applied to a<b, and its least element k0 gives the seed r0:=e(k0)∈Sa,b.

3.1step 2.2F4

The recursion r(0):=r0, r(σ(n)):=F(r(n)) produces a strictly increasing injection r:N→Sa,b. Since F maps Ia,b into itself — x<F(x)<b and a<x give a<F(x) — the recursion theorem applies with X=Ia,b by [F4], and r(n)∈Ia,b for all n. Moreover r(n)<r(σ(n)) for every n by the defining property of F, Inductively, m<n implies r(m)<r(n): the case n=0 is vacuous, and m<σ(n) gives m≤n, so either m=n and the adjacent inequality applies, or m<n and transitivity combines the induction hypothesis with r(n)<r(σ(n)). Distinct indices are comparable, hence r is injective. Finally every value r(n) lies in QR∩Ia,b=Sa,b.

3.2step 2.1F3F6F7

Part (ii): C:=Ia,b∖QR is uncountable. Suppose C were at most countable. If C=∅ then Ia,b=Sa,b is at most countable by step 2.1, contradicting [F6]. Otherwise C≠∅, and then [F3] applies to Sa,b and to C, which are both nonempty at most countable — Sa,b by step 2.1 — giving surjections f,g:N→Sa,b,C. Define t:N×N→Ia,b by t(0,k):=f(k) and t(σ(i),k):=g(k); every element of Ia,b lies in Sa,b or in C by [F7], so t is onto. Composing t with the bijection N→N×N of [F7] gives a surjection N→Ia,b, so Ia,b is at most countable by [F3], contradicting [F6]. Hence C is uncountable.

4.1step 2.1step 3.1F3F4F5

Therefore N⪯Sa,b via the injection r, and [F3] supplies a surjection h:N→Sa,b since Sa,b is nonempty and at most countable by step 2.1. The rule x↦min⁡{k:h(k)=x} is an injection Sa,b→N by [F4]: equal least indices have the same h-value. Schröder-Bernstein therefore gives Sa,b≈N; this is (i).

5.1step 2.1step 4.1step 3.2F6∎

Collecting: Sa,b≈N by step 4.1, so the rationals of the interval are countably infinite; Sa,b is dense in Ia,b by step 2.1; and Ia,b∖QR is uncountable by step 3.2 while Ia,b is uncountable by [F6]. The increasing injection r is defined by least elements of nonempty sets of naturals and a single recursion, and the two surjections in the interleaving are given by the criterion, so no choice principle is used.

Remarks

  • The two halves separate the two notions the interval carries: order-density (every subinterval meets the set) and cardinality (the set may be far smaller than the interval). The rationals of (a,b) provide the first with the smallest possible infinite cardinality the second admits, while their complement is uncountable.

  • The recursion chooses the least index of a rational strictly between the current point and b, so the increasing sequence r is canonical once e is fixed; the seed is the least-indexed rational of the interval. This sequence witnesses infinitude; it does not enumerate Sa,b, since every term is at least r0 while density supplies rationals in (a,r0). Replacing "least" by "some" would silently use dependent choice, since the next rational depends on the current one.

Depends on

Used by

Nothing in the library uses this result yet.

Dependency tree · two levels

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

Sources