Alphabeta Math
LemmaStatement: AI-adaptedProof: AI-generatedSession-authored (Fable 5 assisted)precheck passjudge pass (z-ai/glm-5.2)audited 2026-07-26
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.

Both Q\mathbb{Q} and RQ\mathbb{R} \setminus \mathbb{Q} are dense in R\mathbb{R}, and every nonempty open subset of R\mathbb{R} is uncountable

Statement

Write QR\mathbb{Q}_{\mathbb{R}} for the image of Q\mathbb{Q} in R\mathbb{R} under the canonical embedding qq^q \mapsto \hat q (The rationals embed densely in the reals), the set usually written Q\mathbb{Q} once the identification is made, and put X:=RQRX := \mathbb{R} \setminus \mathbb{Q}_{\mathbb{R}} for the irrationals. Then:

  1. QR\mathbb{Q}_{\mathbb{R}} is dense in R\mathbb{R}, that is, QR=R\overline{\mathbb{Q}_{\mathbb{R}}} = \mathbb{R} (Limit point, isolated point, adherent point, derived set, and dense subset of R\mathbb{R});
  2. XX is dense in R\mathbb{R};
  3. every nonempty open subset of R\mathbb{R} is uncountable (Finite, countably infinite, countable, uncountable).

Claim 2 is not a symmetry of claim 1: the rationals are dense because they are constructed to approximate, whereas the irrationals are dense because there are too many points in any interval for a countable set to exhaust it, which is why claim 3 is proved alongside and used for it.

Facts & Assumptions

Given: The canonical embedding qq^q \mapsto \hat q of Q\mathbb{Q} into R\mathbb{R}, its image QR\mathbb{Q}_{\mathbb{R}}, and the complement X=RQRX = \mathbb{R} \setminus \mathbb{Q}_{\mathbb{R}}.

[L2]

Nε(x)=(xε,x+ε)N_\varepsilon(x) = (x - \varepsilon, x + \varepsilon) for real ε>0\varepsilon > 0, and xε<x+εx - \varepsilon < x + \varepsilon (The ε\varepsilon-neighbourhood and the punctured ε\varepsilon-neighbourhood of a point of R\mathbb{R}, Intervals of R\mathbb{R}: the nine order-convex forms, nondegeneracy, and length).

[L3]

UU is open when every xUx \in U admits ε>0\varepsilon > 0 with Nε(x)UN_\varepsilon(x) \subseteq U (Open subset of R\mathbb{R} (every point has a neighbourhood inside it), closed subset (complement open), and clopen).

[L4]

Strictly between any two reals lies an element of QR\mathbb{Q}_{\mathbb{R}}, and qq^q \mapsto \hat q is injective (The rationals embed densely in the reals).

[L5]

QN\mathbb{Q} \approx \mathbb{N} (Q\mathbb{Q} is countably infinite); an injection is a bijection onto its image, and \approx is symmetric and transitive (Injection, surjection, bijection, Equinumerous sets, ABA \approx B and ABA \preceq B).

[L6]

Every subset of an at most countable set is at most countable, and uncountable means not at most countable (Every subset of an at most countable set is at most countable, Finite, countably infinite, countable, uncountable).

[L7]

For a<ba < b the interval (a,b)(a,b) is uncountable (Every nondegenerate interval of R\mathbb{R} is uncountable).

Proof

technique · direct
1.1

QR\mathbb{Q}_{\mathbb{R}} is dense: let xRx \in \mathbb{R} and let ε>0\varepsilon > 0 be real; by [L2] one has xε<x+εx - \varepsilon < x + \varepsilon, so [L4] supplies q^\hat q with xε<q^<x+εx - \varepsilon < \hat q < x + \varepsilon, that is q^Nε(x)QR\hat q \in N_\varepsilon(x) \cap \mathbb{Q}_{\mathbb{R}}. Every real is therefore an adherent point of QR\mathbb{Q}_{\mathbb{R}} and claim 1 follows from [L1].

L1L2L4
1.2

QR\mathbb{Q}_{\mathbb{R}} is at most countable: the embedding is an injection of Q\mathbb{Q} with image QR\mathbb{Q}_{\mathbb{R}}, hence a bijection onto it, so QRQN\mathbb{Q}_{\mathbb{R}} \approx \mathbb{Q} \approx \mathbb{N}.

L4L5
1.3

For all reals a<ba < b the interval (a,b)(a,b) is uncountable.

L7
2.1

For all reals a<ba < b the interval (a,b)(a,b) contains an irrational: if it did not, then (a,b)QR(a,b) \subseteq \mathbb{Q}_{\mathbb{R}}, so (a,b)(a,b) would be a subset of an at most countable set by step 1.2 and hence at most countable by [L6], contradicting step 1.3. So some z(a,b)z \in (a,b) lies in XX.

step 1.2step 1.3L6
2.2

Every nonempty open URU \subseteq \mathbb{R} is uncountable: fix xUx \in U and, by [L3], a real ε>0\varepsilon > 0 with Nε(x)UN_\varepsilon(x) \subseteq U; by [L2] the set Nε(x)N_\varepsilon(x) is the interval (xε,x+ε)(x - \varepsilon, x + \varepsilon) with xε<x+εx - \varepsilon < x + \varepsilon, hence uncountable by step 1.3. Were UU at most countable, its subset Nε(x)N_\varepsilon(x) would be at most countable by [L6], which it is not; so UU is uncountable, which is claim 3.

step 1.3L2L3L6choose
3.1

XX is dense: let xRx \in \mathbb{R} and let ε>0\varepsilon > 0 be real; applying step 2.1 with a=xεa = x - \varepsilon and b=x+εb = x + \varepsilon gives z(xε,x+ε)Xz \in (x - \varepsilon, x + \varepsilon) \cap X, which is Nε(x)XN_\varepsilon(x) \cap X by [L2]. Every real is therefore an adherent point of XX, so X=R\overline{X} = \mathbb{R} by [L1], which is claim 2.

step 2.1L1L2
4.1

Claims 1, 2 and 3 are steps 1.1, 3.1 and 2.2, so both QR\mathbb{Q}_{\mathbb{R}} and its complement are dense in R\mathbb{R} and every nonempty open subset of R\mathbb{R} is uncountable.

step 1.1step 2.2step 3.1

Remarks

Depends on

Used by

Dependency tree · next 3 levels

Direct dependencies and their dependencies through the next three levels: 107 results over 33 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