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: , , at every integer , at every irrational, and at every real
Example
Let be Thomae's function (The Dirichlet function , and Thomae's function with at a rational in lowest terms with and at every irrational ), so that at a rational with least denominator and at an irrational . Then:
- and for every integer ;
- , and more generally for every natural ;
- ;
- at every irrational ;
- at every real (The oscillation of on a set and the oscillation at a point, both taken in the extended reals), so is at every integer, at every half-integer that is not an integer, and at every irrational.
Claim 5 is claim 2 of The Dirichlet function is continuous at no point of , 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 equals 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 , with for rational ; are the canonical copies and is the canonical natural (The rationals embed densely in the reals, The canonical natural of a field).
for every real (The Dirichlet function is continuous at no point of , 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 equals , claim 2); and is continuous at exactly when ( is continuous at if and only if , The oscillation of on a set and the oscillation at a point, both taken in the extended reals).
No integer lies strictly between and ; equivalently a real of the form with naturals is not an integer, lying strictly between and (Integer part: for every real there is exactly one integer with , Canonical naturals are positive and strictly increasing).
There exist irrational reals, the irrationals being dense in (Both and are dense in , and every nonempty open subset of is uncountable).
Verification
Claim 1: for an integer one has , so and , the least element of a set of naturals containing ; hence . The case is included.
Claim 2: let be a natural and put . Then , so and . Conversely, if is a natural with , then would put strictly between and , which no integer is; so . Hence and . Taking gives .
Claim 3: put . Then , so . Also lies strictly between and and so is not an integer, and lies strictly between and and so is not an integer. Hence and .
Claim 4 is the second clause of the definition of , and irrational reals exist.
Claim 5: at every real . At an integer this is by step 1.1; at a real of the form with an integer, the least denominator is , by the same computation as in step 1.2 applied to together with lying strictly between and , so the value is ; and at an irrational it is .
In particular is continuous at every irrational, where , and discontinuous at every rational, where ; the numbers above are the sizes of those failures.
Remarks
-
The least denominator is what the values record. is large exactly at the rationals with small denominators, and those are sparse: every point with least denominator is a multiple of , and consecutive multiples of are 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 is attained, by step 1.2, so the range of is exactly ; the value is attained at every irrational.
Depends on
- The Dirichlet function $1_{\mathbb{Q}}$, and Thomae's function $t$ with $t(x) = 1/q$ at a rational $x = p/q$ in lowest terms with $q \ge 1$ and $t(x) = 0$ at every irrational $x$
- The Dirichlet function is continuous at no point of $\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 $c$ equals $t(c)$
- The oscillation $\omega_f(S) = \sup\{\,|f(x) - f(y)| : x, y \in S\,\}$ of $f$ on a set and the oscillation $\omega_f(c) = \inf_{\delta > 0} \omega_f(A \cap N_\delta(c))$ at a point, both taken in the extended reals
- $f : A \to \mathbb{R}$ is continuous at $c \in A$ if and only if $\omega_f(c) = 0$
- Both $\mathbb{Q}$ and $\mathbb{R} \setminus \mathbb{Q}$ are dense in $\mathbb{R}$, and every nonempty open subset of $\mathbb{R}$ is uncountable
- The rationals embed densely in the reals
- Integer part: for every real $x$ there is exactly one integer $m$ with $m \le x < m + 1$
- The canonical natural $\iota(n) = n \cdot 1_F$ of a field
- Canonical naturals are positive and strictly increasing
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
- Thomae's function (Wikipedia) (standard reference, not scraped)
- Dirichlet Function (MathWorld) (standard reference, not scraped)