Alphabeta Math
ExampleConstruction: AI-adaptedVerification: AI-generatedprecheck passaudited 2026-08-13
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 integrand is discontinuous at every rational, yet its integral function is identically zero and differentiable everywhere

Example

Let t be Thomae's function on [0,1]. Then t is Riemann integrable and

∫01t=0.

Consequently its integral function T(x)=∫0xt is identically zero and is differentiable at every point. At every irrational x, T′(x)=t(x)=0; at every rational x, t is discontinuous and T′(x)=0≠t(x). Thus the derivative of an integral function may exist at every point even though the integrand is discontinuous on a dense set.

Facts & Assumptions

Given: Thomae's function t, equal to 1/q at a rational with least positive denominator q and to 0 at an irrational (The Dirichlet function 1Q, and Thomae's function t with t(x)=1/q at a rational x=p/q in lowest terms with q≥1 and t(x)=0 at every irrational x).

[L2]

The rationals are countable, and subsets of countable sets are countable (Q is countably infinite, Every subset of an at most countable set is at most countable).

[L3]

A bounded function with at most countably many discontinuities is Riemann integrable (A bounded function on [a,b] whose set of discontinuities is at most countable is Riemann integrable).

[L6]

The rationals and irrationals are both dense in the reals (Both Q and R∖Q are dense in R, and every nonempty open subset of R is uncountable).

Verification

technique · direct
1.1

The function satisfies 0≤t≤1, and by [L1] its discontinuity set is Q∩[0,1], which is countable by [L2]. Hence [L3] makes t integrable.

givenL1L2L3
1.2

Fix ε>0 and choose an integer N≥1 with 1/N<ε/2. The rationals in [0,1] with least denominator at most N form a finite set, since each has a representation p/q with 0≤p≤q≤N.

givenchoosealgebra
2.1

Choose finitely many intervals around that finite set with total length below ε/2. A partition containing their endpoints has upper contribution below ε/2 on those intervals because t≤1, and below 1/N<ε/2 on their complement because every positive value there has denominator greater than N. Thus it has upper sum below ε.

step 1.2L4construct
3.1

Since t≥0, [L4] and the arbitrarily small upper sums in step 2.1 force ∫01t=0. The same argument on every subinterval gives ∫xyt=0.

step 2.1L4
4.1

By [L5], T(y)−T(x)=0 for all x,y, so T is identically zero and T′=0 everywhere, with relative derivatives at 0 and 1.

step 3.1L5
5.1

By [L6], the rationals and irrationals are both dense. Combining the definition of t, [L1], and step 4.1 gives the claimed equality at irrationals and failure at rationals.

givenstep 4.1L1L6∎

Depends on

Used by

Nothing in the library uses this result yet.

Dependency tree · two levels

82 results within two dependency steps of this one, each drawn at its shortest distance from it. An arrow runs from a result to what uses it, so the chart reads left to right and ends at this result, which carries a heavier outline. Every node is a link to that result. Click elsewhere on the chart to enlarge it.

Sources