Alphabeta Math
ExampleConstruction: AI-adaptedVerification: 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.

Thomae's function computed: t(1/2)=1/2t(1/2) = 1/2, t(2/3)=1/3t(2/3) = 1/3, t(m)=1t(m) = 1 at every integer mm, t(x)=0t(x) = 0 at every irrational, and ωt(c)=t(c)\omega_t(c) = t(c) at every real cc

Example

Let tt be Thomae's function (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), so that t(x)=1/ι(q(x))t(x) = 1/\iota(q(x)) at a rational xx with least denominator q(x)q(x) and t(x)=0t(x) = 0 at an irrational xx. Then:

  1. t(0)=1t(0) = 1 and t(m)=1t(m) = 1 for every integer mm;
  2. t(1/2)=1/2t(1/2) = 1/2, and more generally t(1/ι(q))=1/ι(q)t(1/\iota(q)) = 1/\iota(q) for every natural q1q \ge 1;
  3. t(2/3)=1/3t(2/3) = 1/3;
  4. t(x)=0t(x) = 0 at every irrational xx;
  5. ωt(c)=t(c)\omega_{t}(c) = t(c) at 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), so ωt\omega_{t} is 11 at every integer, 1/21/2 at every half-integer that is not an integer, and 00 at every irrational.

Claim 5 is claim 2 of 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) evaluated at the points computed here; nothing new is proved about the oscillation, and the point of the example is to see the numbers.

Facts & Assumptions

Given: Thomae's function tt, with q(x)=min{qN:q1 and ι(q)xZ}q(x) = \min\{\, q \in \mathbb{N} : q \ge 1 \text{ and } \iota(q)x \in \mathbb{Z} \,\} for rational xx; NZQR\mathbb{N} \subseteq \mathbb{Z} \subseteq \mathbb{Q} \subseteq \mathbb{R} are the canonical copies and ι(q)\iota(q) is the canonical natural (The rationals embed densely in the reals, The canonical natural ι(n)=n1F\iota(n) = n \cdot 1_F of a field).

[A1]
[L2]

No integer lies strictly between mm and m+1m+1; equivalently a real of the form k/ι(q)k/\iota(q) with 0<k<q0 < k < q naturals is not an integer, lying strictly between 00 and 11 (Integer part: for every real xx there is exactly one integer mm with mx<m+1m \le x < m + 1, Canonical naturals are positive and strictly increasing).

Verification

technique · direct
1.1

Claim 1: for an integer mm one has ι(1)m=mZ\iota(1)\,m = m \in \mathbb{Z}, so 1Q(m)1 \in Q(m) and q(m)=1q(m) = 1, the least element of a set of naturals 1\ge 1 containing 11; hence t(m)=1/ι(1)=1t(m) = 1/\iota(1) = 1. The case m=0m = 0 is included.

A1L2
1.2

Claim 2: let q1q \ge 1 be a natural and put x:=1/ι(q)x := 1/\iota(q). Then ι(q)x=1Z\iota(q)x = 1 \in \mathbb{Z}, so qQ(x)q \in Q(x) and q(x)qq(x) \le q. Conversely, if 1kq1 \le k \le q is a natural with ι(k)x=ι(k)/ι(q)Z\iota(k)x = \iota(k)/\iota(q) \in \mathbb{Z}, then k<qk < q would put ι(k)/ι(q)\iota(k)/\iota(q) strictly between 00 and 11, which no integer is; so k=qk = q. Hence q(x)=qq(x) = q and t(1/ι(q))=1/ι(q)t(1/\iota(q)) = 1/\iota(q). Taking q=2q = 2 gives t(1/2)=1/2t(1/2) = 1/2.

A1L2
1.3

Claim 3: put x:=2/3x := 2/3. Then ι(3)x=2Z\iota(3)x = 2 \in \mathbb{Z}, so q(x)3q(x) \le 3. Also ι(1)x=2/3\iota(1)x = 2/3 lies strictly between 00 and 11 and so is not an integer, and ι(2)x=4/3\iota(2)x = 4/3 lies strictly between 11 and 22 and so is not an integer. Hence q(x)=3q(x) = 3 and t(2/3)=1/3t(2/3) = 1/3.

A1L2
1.4

Claim 4 is the second clause of the definition of tt, and irrational reals exist.

A1L3
2.1

Claim 5: ωt(c)=t(c)\omega_{t}(c) = t(c) at every real cc. At an integer mm this is 11 by step 1.1; at a real of the form m+1/2m + 1/2 with mm an integer, the least denominator is 22, by the same computation as in step 1.2 applied to ι(2)(m+1/2)=2m+1Z\iota(2)(m + 1/2) = 2m + 1 \in \mathbb{Z} together with ι(1)(m+1/2)=m+1/2\iota(1)(m + 1/2) = m + 1/2 lying strictly between mm and m+1m+1, so the value is 1/21/2; and at an irrational it is 00.

step 1.1step 1.2step 1.4A1L1L2
3.1

In particular tt is continuous at every irrational, where ωt=0\omega_{t} = 0, and discontinuous at every rational, where ωt=t>0\omega_{t} = t > 0; the numbers above are the sizes of those failures.

step 2.1A1L1

Remarks

  • The least denominator is what the values record. tt is large exactly at the rationals with small denominators, and those are sparse: every point with least denominator qq is a multiple of 1/ι(q)1/\iota(q), and consecutive multiples of 1/ι(q)1/\iota(q) are 1/ι(q)1/\iota(q) apart. The graph is the familiar picture of tall spikes at the integers, half as tall at the half-integers, and so on down.

  • Every value 1/ι(q)1/\iota(q) is attained, by step 1.2, so the range of tt is exactly {0}{1/ι(q):qN, q1}\{0\} \cup \{\, 1/\iota(q) : q \in \mathbb{N},\ q \ge 1 \,\}; the value 00 is attained at every irrational.

Depends on

Used by

Nothing in the library uses this result yet.

Dependency tree · next 3 levels

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