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 is nonnegative, Riemann integrable on with integral , and nonzero at every rational, so a vanishing integral does not force a nonnegative integrand to vanish
Statement refuted
Refuted: that a nonnegative Riemann integrable function on with vanishes identically (FALSE: a nonnegative Riemann integrable function on with is identically zero, The lower and upper Darboux integrals of a bounded on as and , Darboux integrability as their equality, and the notation ).
The witness is Thomae's function on (The Dirichlet function , and Thomae's function with at a rational in lowest terms with and at every irrational ). It satisfies , it is Riemann integrable with (Thomae's function is Riemann integrable on with integral : it is continuous at every irrational, so its discontinuity set is countable, and every lower Darboux sum is ), and it is positive at every rational point of — a dense set, and an infinite one. So the failure is not at a single stray point: the function is nonzero on a dense subset of the interval and the integral still vanishes.
The repaired statement asks for continuity. With continuous the conclusion is true, and the reason is exactly what fails here: a continuous function positive at one point is positive on a whole subinterval, whereas is positive only on a set that contains no interval (Both and are dense in , and every nonempty open subset of is uncountable). That repaired statement is not proved here, since the additivity of the integral over subintervals is not available at this point in the reading order.
Facts & Assumptions
Given: Thomae's function , with at a rational of least denominator and at an irrational (The Dirichlet function , and Thomae's function with at a rational in lowest terms with and at every irrational , The canonical natural of a field).
The refuted claim: a nonnegative Riemann integrable function on a closed bounded interval with distinct endpoints whose integral is vanishes identically.
for every , and at every rational , since (The Dirichlet function , and Thomae's function with at a rational in lowest terms with and at every irrational , The canonical natural of a field, Canonical naturals are positive and strictly increasing).
is Riemann integrable on and (Thomae's function is Riemann integrable on with integral : it is continuous at every irrational, so its discontinuity set is countable, and every lower Darboux sum is , The lower and upper Darboux integrals of a bounded on as and , Darboux integrability as their equality, and the notation ).
is discontinuous at every rational point and continuous at every irrational point, so its discontinuity set in is (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 ).
is dense in , so every nonempty open interval contains a rational (Both and are dense in , and every nonempty open subset of is uncountable).
Ordered-field arithmetic: , so lies in and is rational; the order is total and transitive (Order is preserved by adding a constant and by adding inequalities, Sign rules for products and monotonicity of multiplication, Ordered field, Complete ordered field (least-upper-bound property), Intervals of : the nine order-convex forms, nondegeneracy, and length). These order-arithmetic facts are stated by their sources for the strict order only; the nonstrict forms used below follow by adjoining the equality case, in which the two sides coincide.
Counterexample
is nonnegative on by [L1], and it is Riemann integrable there with by [L2]; the interval has by [L5].
does not vanish identically: is a rational point of by [L5], so by [L1].
The hypotheses of [A1] hold for on and its conclusion fails, so [A1] is refuted.
The failure is dense, not isolated: by [L4] every nonempty open subinterval of contains a rational, at which is positive by [L1]; so meets every subinterval of with distinct endpoints. It is also exactly the set of discontinuities of , by [L3] and [L1].
Remarks
-
What the integral measures, and what it does not. says that the upper Darboux sums can be made arbitrarily small, not that is small anywhere in particular. The set where is positive is , which is null (Every at most countable subset of has measure zero); by Lebesgue's criterion for Riemann integrability: a bounded on is Riemann integrable if and only if its set of discontinuities has measure zero that is also exactly why is integrable at all.
-
Every upper Darboux sum is strictly positive. Each subinterval contains a rational, so for every and for every partition ; the upper integral is nevertheless , an infimum of a set of positive numbers. Nothing is contradictory here, and it is the cleanest reminder that an infimum need not be attained.
-
The Dirichlet function is not available as a witness. It is also nonnegative and nonzero on a dense set, but it is not integrable at all (The Dirichlet function on has lower Darboux integral and upper Darboux integral , so it is bounded and not Riemann integrable), so it cannot satisfy the hypotheses of the refuted claim. Thomae's function is the standard witness precisely because it repairs integrability while keeping the dense positive set.
Depends on
- FALSE: a nonnegative Riemann integrable function on $[a,b]$ with $\int_a^b f = 0$ is identically zero
- 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$
- 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 lower and upper Darboux integrals of a bounded $f$ on $[a,b]$ as $\sup_P L(f,P)$ and $\inf_P U(f,P)$, Darboux integrability as their equality, and the notation $\int_a^b f$
- The canonical natural $\iota(n) = n \cdot 1_F$ of a field
- Canonical naturals are positive and strictly increasing
- Both $\mathbb{Q}$ and $\mathbb{R} \setminus \mathbb{Q}$ are dense in $\mathbb{R}$, and every nonempty open subset of $\mathbb{R}$ is uncountable
- Intervals of $\mathbb{R}$: the nine order-convex forms, nondegeneracy, and length
- Complete ordered field (least-upper-bound property)
- Ordered field
- Order is preserved by adding a constant and by adding inequalities
- Sign rules for products and monotonicity of multiplication
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: 133 results over 27 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)
- Riemann integral (Wikipedia) (standard reference, not scraped)
- MAT 125B Discussion 3 (UC Davis) (standard reference, not scraped)