Alphabeta Math
TheoremStatement: Literature-sourcedProof: AI-adaptedSession-authored (Fable 5 assisted)precheck passjudge pass (z-ai/glm-5.2)audited 2026-07-28
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 Dirichlet function is continuous at no point of R\mathbb{R}, and Thomae's function is continuous at every irrational and at no rational, so its set of continuity points is exactly the set of irrationals and its oscillation at cc equals t(c)t(c)

Statement

Let 1Q\mathbf{1}_{\mathbb{Q}} and tt be the Dirichlet and Thomae functions (The Dirichlet function 1Q1_{\mathbb{Q}}, and Thomae's function tt with t(x)=1/qt(x) = 1/q at a rational x=p/qx = p/q in lowest terms with q1q \ge 1 and t(x)=0t(x) = 0 at every irrational xx), and write q(x)q(x) for the least denominator of a rational xx, so that t(x)=1/ι(q(x))t(x) = 1/\iota(q(x)) there and t(x)=0t(x) = 0 at every irrational xx. Then:

  1. 1Q\mathbf{1}_{\mathbb{Q}} is continuous at no point of R\mathbb{R} (Continuity of f:ARf : A \to \mathbb{R} at a point of AA and on AA: the ε\varepsilon-δ\delta condition, its agreement with limxcf(x)=f(c)\lim_{x \to c} f(x) = f(c) at a limit point, and continuity at an isolated point);
  2. ωt(c)=t(c)\omega_{t}(c) = t(c) for every real cc (The oscillation ωf(S)=sup{f(x)f(y):x,yS}\omega_f(S) = \sup\{\,|f(x) - f(y)| : x, y \in S\,\} of ff on a set and the oscillation ωf(c)=infδ>0ωf(ANδ(c))\omega_f(c) = \inf_{\delta > 0} \omega_f(A \cap N_\delta(c)) at a point, both taken in the extended reals);
  3. tt is continuous at every irrational and discontinuous at every rational, so its set of continuity points is exactly RQ\mathbb{R} \setminus \mathbb{Q}.

Claim 1 restates, on this page, what The indicator of Q\mathbb{Q} is continuous at no point of R\mathbb{R} already proves. That item is homed on the examples page of Continuity, the intermediate and extreme value theorems, and uniform continuity, and an examples page is a leaf of this library: nothing outside it may depend on an item that lives there. The claim is needed here, and on later pages, as a citable statement, so it is proved again rather than quoted. The two statements are the same statement, and neither is stronger than the other; the proof below is the same argument, and no originality is claimed for it. This is the pattern The distance ψ(x)=d(x,Z)\psi(x) = d(x, \mathbb{Z}) from a real number to the integers is 11-Lipschitz, hence uniformly continuous, takes values in [0,1/2][0,1/2], and vanishes exactly on Z\mathbb{Z} follows.

Facts & Assumptions

Given: The Dirichlet function 1Q\mathbf{1}_{\mathbb{Q}} and Thomae's function tt, and a real cc; NZQR\mathbb{N} \subseteq \mathbb{Z} \subseteq \mathbb{Q} \subseteq \mathbb{R} are the canonical copies and ι(q)=q1R\iota(q) = q \cdot 1_{\mathbb{R}}.

[A1]

1Q(x)=1\mathbf{1}_{\mathbb{Q}}(x) = 1 for xQx \in \mathbb{Q} and 00 otherwise; t(x)=1/ι(q(x))(0,1]t(x) = 1/\iota(q(x)) \in (0,1] for xQx \in \mathbb{Q} and t(x)=0t(x) = 0 otherwise, where q(x)=min{q1:ι(q)xZ}q(x) = \min\{q \ge 1 : \iota(q)x \in \mathbb{Z}\} (The Dirichlet function 1Q1_{\mathbb{Q}}, and Thomae's function tt with t(x)=1/qt(x) = 1/q at a rational x=p/qx = p/q in lowest terms with q1q \ge 1 and t(x)=0t(x) = 0 at every irrational xx).

[L2]

For every real xx there is exactly one integer mm with mx<m+1m \le x < m+1, written x\lfloor x \rfloor (Integer part: for every real xx there is exactly one integer mm with mx<m+1m \le x < m + 1); consequently no integer lies strictly between two consecutive integers.

[L3]

For every real η>0\eta > 0 there is a natural N1N \ge 1 with 1/ι(N)<η1/\iota(N) < \eta; and ι\iota is positive and strictly increasing on the naturals 1\ge 1, so 1qN1 \le q \le N gives ι(q)ι(N)\iota(q) \le \iota(N) and 1/ι(N)1/ι(q)1/\iota(N) \le 1/\iota(q) (For every ε>0\varepsilon > 0 in a complete ordered field there is a natural n1n \ge 1 with 1/n<ε1/n < \varepsilon, The canonical natural ι(n)=n1F\iota(n) = n \cdot 1_F of a field, Canonical naturals are positive and strictly increasing).

[L4]

A nonempty finite set of reals presented as {a0,,an}\{a_{0}, \dots, a_{n}\} has a minimum (Every nonempty finite set of reals has a maximum and a minimum, Maximum and minimum of a set).

[L6]

u0|u| \ge 0, uvu+v|u - v| \le |u| + |v|, and if 0uM0 \le u \le M and 0vM0 \le v \le M then uvM|u - v| \le M (Basic properties of the absolute value).

Proof

technique · cases
1.1

Claim 1. Let cc be real and let δ>0\delta > 0 be real. The neighbourhood Nδ(c)N_\delta(c) contains a rational uu and an irrational vv, and 1Q(u)1Q(v)=10=1\mathbf{1}_{\mathbb{Q}}(u) - \mathbf{1}_{\mathbb{Q}}(v) = 1 - 0 = 1; since 1Q(c)\mathbf{1}_{\mathbb{Q}}(c) is 00 or 11, one of 1Q(u)1Q(c)|\mathbf{1}_{\mathbb{Q}}(u) - \mathbf{1}_{\mathbb{Q}}(c)| and 1Q(v)1Q(c)|\mathbf{1}_{\mathbb{Q}}(v) - \mathbf{1}_{\mathbb{Q}}(c)| equals 11. So the continuity condition at cc fails for ε=1\varepsilon = 1, no δ\delta witnessing it, and 1Q\mathbf{1}_{\mathbb{Q}} is continuous at no point.

A1L1
1.2

A separation estimate. For a real cc and a natural q1q \ge 1 put m:=ι(q)cm := \lfloor \iota(q)c \rfloor and define dq(c):=1/ι(q)d_{q}(c) := 1/\iota(q) if ι(q)c=m\iota(q)c = m, and dq(c):=min{ι(q)cm, m+1ι(q)c}/ι(q)d_{q}(c) := \min\{\iota(q)c - m,\ m + 1 - \iota(q)c\}/\iota(q) otherwise. In both cases dq(c)>0d_{q}(c) > 0.

L2L3construct
1.3

A lower bound. For every real δ>0\delta > 0 the neighbourhood Nδ(c)N_\delta(c) contains an irrational vv, and cNδ(c)c \in N_\delta(c), so ωt(Nδ(c))t(c)t(v)=t(c)\omega_{t}(N_\delta(c)) \ge |t(c) - t(v)| = t(c); taking the infimum over δ\delta gives ωt(c)t(c)\omega_{t}(c) \ge t(c).

A1L1L5
2.1

With dq(c)d_{q}(c) as in step 1.2: for every integer pp with p/ι(q)cp/\iota(q) \ne c one has cp/ι(q)dq(c)|c - p/\iota(q)| \ge d_{q}(c). If ι(q)c=m\iota(q)c = m then pmp \ne m, so ι(q)cp=mp1|\iota(q)c - p| = |m - p| \ge 1; otherwise m<ι(q)c<m+1m < \iota(q)c < m+1, and pmp \le m gives ι(q)cpι(q)cm\iota(q)c - p \ge \iota(q)c - m while pm+1p \ge m+1 gives pι(q)cm+1ι(q)cp - \iota(q)c \ge m+1-\iota(q)c. Dividing by ι(q)>0\iota(q) > 0 gives the claim.

step 1.2L2L3
2.2

For a real cc and a natural N1N \ge 1 put δN(c):=min{d1(c),,dN(c)}\delta_{N}(c) := \min\{d_{1}(c), \dots, d_{N}(c)\}, the minimum of a nonempty finite set of positive reals, so δN(c)>0\delta_{N}(c) > 0.

step 1.2L4construct
3.1

If xx is rational with 0<xc<δN(c)0 < |x - c| < \delta_{N}(c) then q(x)>Nq(x) > N and hence t(x)<1/ι(N)t(x) < 1/\iota(N). Indeed x=p/ι(q)x = p/\iota(q) with q:=q(x)q := q(x) and p:=ι(q)xp := \iota(q)x; if qNq \le N then p/ι(q)=xcp/\iota(q) = x \ne c, so step 2.1 gives cxdq(c)δN(c)|c - x| \ge d_{q}(c) \ge \delta_{N}(c), contrary to the hypothesis. So q(x)>Nq(x) > N, and t(x)=1/ι(q(x))<1/ι(N)t(x) = 1/\iota(q(x)) < 1/\iota(N) because ι\iota is strictly increasing.

step 2.1step 2.2A1L3
4.1

An upper bound for tt near cc. Let ε>0\varepsilon > 0 be real, take N1N \ge 1 with 1/ι(N)<ε1/\iota(N) < \varepsilon and put δ:=δN(c)\delta := \delta_{N}(c). Every xNδ(c)x \in N_\delta(c) satisfies 0t(x)M0 \le t(x) \le M where M:=max{t(c),ε}M := \max\{t(c), \varepsilon\}: for x=cx = c this is t(c)Mt(c) \le M; for xcx \ne c rational it is t(x)<1/ι(N)<εMt(x) < 1/\iota(N) < \varepsilon \le M by step 3.1; and for xx irrational it is t(x)=0t(x) = 0.

step 3.1A1L3L6
5.1

Hence ωt(Nδ(c))M\omega_{t}(N_\delta(c)) \le M with δ\delta and MM as in step 4.1, since t(x)t(y)M|t(x) - t(y)| \le M for all x,yNδ(c)x, y \in N_\delta(c), so MM is an upper bound of the set whose supremum ωt(Nδ(c))\omega_{t}(N_\delta(c)) is; and therefore ωt(c)M=max{t(c),ε}\omega_{t}(c) \le M = \max\{t(c), \varepsilon\}.

step 4.1L5L6
6.1

Claim 2 now follows in the two cases of the value t(c)t(c), which are exactly the two cases of the position of cc. If cc is rational then t(c)>0t(c) > 0, and applying step 5.1 with the admissible choice ε:=t(c)\varepsilon := t(c) gives ωt(c)max{t(c),t(c)}=t(c)\omega_{t}(c) \le \max\{t(c), t(c)\} = t(c); with step 1.3 this gives ωt(c)=t(c)\omega_{t}(c) = t(c).

step 5.1step 1.3A1assume-case rat
6.2

If cc is irrational then t(c)=0t(c) = 0, and step 5.1 gives ωt(c)max{0,ε}=ε\omega_{t}(c) \le \max\{0, \varepsilon\} = \varepsilon for every real ε>0\varepsilon > 0; since also ωt(c)0\omega_{t}(c) \ge 0, an extended real that is ε\le \varepsilon for every positive real ε\varepsilon and 0\ge 0 must be 00, so ωt(c)=0=t(c)\omega_{t}(c) = 0 = t(c).

step 5.1step 1.3A1L5assume-case irr
7.1

Every real is rational or irrational and not both, so steps 6.1 and 6.2 establish claim 2 for every real cc.

step 6.1step 6.2cases-exhaustive
8.1

Claim 3 follows from claim 2: tt is continuous at cc exactly when ωt(c)=0\omega_{t}(c) = 0, that is exactly when t(c)=0t(c) = 0, that is exactly when cc is irrational. So the continuity set of tt is RQ\mathbb{R} \setminus \mathbb{Q} and its discontinuity set is Q\mathbb{Q}.

step 7.1A1L5

Remarks

Depends on

Used by

Dependency tree · next 3 levels

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