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 , 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
Statement
Let and be the Dirichlet and Thomae functions (The Dirichlet function , and Thomae's function with at a rational in lowest terms with and at every irrational ), and write for the least denominator of a rational , so that there and at every irrational . Then:
- is continuous at no point of (Continuity of at a point of and on : the - condition, its agreement with at a limit point, and continuity at an isolated point);
- for every real (The oscillation of on a set and the oscillation at a point, both taken in the extended reals);
- is continuous at every irrational and discontinuous at every rational, so its set of continuity points is exactly .
Claim 1 restates, on this page, what The indicator of is continuous at no point of 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 from a real number to the integers is -Lipschitz, hence uniformly continuous, takes values in , and vanishes exactly on follows.
Facts & Assumptions
Given: The Dirichlet function and Thomae's function , and a real ; are the canonical copies and .
for and otherwise; for and otherwise, where (The Dirichlet function , and Thomae's function with at a rational in lowest terms with and at every irrational ).
Both and are dense in , so every contains a rational and an irrational (Both and are dense in , and every nonempty open subset of is uncountable, The closure equals the set together with its limit points, equals the set of points every neighbourhood of which meets it, and is the smallest closed superset; a set is closed iff it contains its limit points, The -neighbourhood and the punctured -neighbourhood of a point of , The rationals embed densely in the reals).
For every real there is exactly one integer with , written (Integer part: for every real there is exactly one integer with ); consequently no integer lies strictly between two consecutive integers.
For every real there is a natural with ; and is positive and strictly increasing on the naturals , so gives and (For every in a complete ordered field there is a natural with , The canonical natural of a field, Canonical naturals are positive and strictly increasing).
A nonempty finite set of reals presented as has a minimum (Every nonempty finite set of reals has a maximum and a minimum, Maximum and minimum of a set).
and for defined on all of , both computed in , where every set has a supremum and an infimum; 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, The extended real line , its order, and the arithmetic that is left undefined, Every subset of has a least upper bound and a greatest lower bound in , agreeing with the real supremum and infimum on nonempty sets bounded in , is continuous at if and only if ).
, , and if and then (Basic properties of the absolute value).
Proof
Claim 1. Let be real and let be real. The neighbourhood contains a rational and an irrational , and ; since is or , one of and equals . So the continuity condition at fails for , no witnessing it, and is continuous at no point.
A separation estimate. For a real and a natural put and define if , and otherwise. In both cases .
A lower bound. For every real the neighbourhood contains an irrational , and , so ; taking the infimum over gives .
With as in step 1.2: for every integer with one has . If then , so ; otherwise , and gives while gives . Dividing by gives the claim.
For a real and a natural put , the minimum of a nonempty finite set of positive reals, so .
If is rational with then and hence . Indeed with and ; if then , so step 2.1 gives , contrary to the hypothesis. So , and because is strictly increasing.
An upper bound for near . Let be real, take with and put . Every satisfies where : for this is ; for rational it is by step 3.1; and for irrational it is .
Hence with and as in step 4.1, since for all , so is an upper bound of the set whose supremum is; and therefore .
Claim 2 now follows in the two cases of the value , which are exactly the two cases of the position of . If is rational then , and applying step 5.1 with the admissible choice gives ; with step 1.3 this gives .
If is irrational then , and step 5.1 gives for every real ; since also , an extended real that is for every positive real and must be , so .
Every real is rational or irrational and not both, so steps 6.1 and 6.2 establish claim 2 for every real .
Claim 3 follows from claim 2: is continuous at exactly when , that is exactly when , that is exactly when is irrational. So the continuity set of is and its discontinuity set is .
Remarks
-
What claim 2 adds beyond claim 3. Continuity at a point is the vanishing of the oscillation there, so claim 3 is the special case of claim 2 recording where the value is . The value itself is used on the companion page, where the oscillation of is computed at particular points, and it shows that the failure of continuity at a rational is exactly as large as the value of there: small denominators are the bad points.
-
The continuity set of is , as it must be. The irrationals form a set ( is , meager and not , while the irrationals are , residual and not ), in agreement with For the set of points of at which is discontinuous is the intersection with of an subset of , and the set of points at which is continuous is the intersection with of a subset; for the two sets are and outright. The reverse arrangement is impossible: no function is continuous at every rational and discontinuous at every irrational, because is not (No function is continuous at every rational and discontinuous at every irrational, because is not ).
-
No choice principle is spent. The separation estimate of step 1.2 is written down from , the minimum of step 2.1 is the minimum of an explicitly listed finite set, and the least denominator is a least element. Density supplies points, and it is used only in the form "every neighbourhood meets the set", never to build a sequence.
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$
- Continuity of $f : A \to \mathbb{R}$ at a point of $A$ and on $A$: the $\varepsilon$-$\delta$ condition, its agreement with $\lim_{x \to c} f(x) = f(c)$ at a limit point, and continuity at an isolated point
- 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 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$
- For every $\varepsilon > 0$ in a complete ordered field there is a natural $n \ge 1$ with $1/n < \varepsilon$
- 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
- Every nonempty finite set of reals has a maximum and a minimum
- Maximum and minimum of a set
- Basic properties of the absolute value
- The $\varepsilon$-neighbourhood and the punctured $\varepsilon$-neighbourhood of a point of $\mathbb{R}$
- The closure equals the set together with its limit points, equals the set of points every neighbourhood of which meets it, and is the smallest closed superset; a set is closed iff it contains its limit points
- The rationals embed densely in the reals
- The extended real line $\overline{\mathbb{R}} = \mathbb{R} \cup \{-\infty, +\infty\}$, its order, and the arithmetic that is left undefined
- Every subset of $\overline{\mathbb{R}}$ has a least upper bound and a greatest lower bound in $\overline{\mathbb{R}}$, agreeing with the real supremum and infimum on nonempty sets bounded in $\mathbb{R}$
Used by
- A function that is not Riemann integrable although | f| is Counterexample
- Integrable φ and integrable f with φ∘ f not integrable: the order of the hypotheses in the composition theorem cannot be reversed Counterexample
- Thomae's function is nonnegative, Riemann integrable on [0,1] with integral 0, and nonzero at every rational, so a vanishing integral does not force a nonnegative integrand to vanish Counterexample
- The Dirichlet function is the pointwise limit of a sequence of Baire class one functions and is itself not Baire class one, so the Baire hierarchy on [0,1] is already strict at the first level Example
- Thomae's function computed: t(1/2) = 1/2, t(2/3) = 1/3, t(m) = 1 at every integer m, t(x) = 0 at every irrational, and ωₜ(c) = t(c) at every real c Example
- Thomae's function is Riemann integrable on [0,1] with integral 0: it is continuous at every irrational, so its discontinuity set is countable, and every lower Darboux sum is 0 Example
- FALSE: a nonnegative Riemann integrable function on [a,b] with ∫ₐᵇ f = 0 is identically zero False statement
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
- Thomae's function (Wikipedia) (standard reference, not scraped)
- Dirichlet function (Wikipedia) (standard reference, not scraped)