Alphabeta Math
Session-authored (Fable 5 assisted)
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.

6 results · all verified · 0 also independently AI-judged
Every result on this page is machine-checked by a proof checker and read in full and owner-audited; the judge is an additional, independent cross-model AI review of the proofs. The 6 not AI-judged were verified by owner audit (typically over a confirmed judge false positive), not failures.

The Fundamental Theorems of Calculus: Examples and Counterexamples

1 · Prerequisites

2 · Summary

3 · Logical flowchart

4 · Definitions, theorems and proofs

None yet.

5 · Examples, counterexamples and false statements

ExampleConstruction: Literature-sourcedVerification: AI-adaptedprecheck passaudited 2026-08-13Open item page →

G(x)=x2sin(1/x) has a bounded derivative discontinuous at 0 that is nevertheless Riemann integrable, and Newton–Leibniz evaluates its integral

Example

Define G:[0,1]R by

G(0)=0,G(x)=x2sin(1/x)(0<x1).

Then G is differentiable on [0,1], with

G(0)=0,G(x)=2xsin(1/x)cos(1/x)(0<x1).

The derivative is bounded and is continuous except at 0, but it is not continuous at 0. Consequently G is Riemann integrable and

01G(x)dx=G(1)G(0)=sin1.

Moreover, arbitrarily near 0 the derivative takes the values 1 and 1 up to terms tending to 0: at xk=1/(2πk) and yk=1/((2k+1)π), G(xk)=1 and G(yk)=1 for every integer k1.

Facts & Assumptions

Given: The function G above.

[L2]

sint1 and cost1 for every real t (Parity and the Pythagorean identity for sine and cosine).

[L3]

The number π is positive, and shifts by π alternate the signs of sine and cosine (Pi as twice the smallest positive zero of cosine, Quarter-turn values and shifts by pi/2 and pi).

[L5]

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

[L6]

Newton--Leibniz holds for a continuous function with an interior derivative having an integrable extension (Newton–Leibniz needs only continuity on [a,b], differentiability on (a,b), and a Riemann-integrable extension of the interior derivative).

Verification

technique · direct
1.1

Since G(x)x2, the quotient (G(x)G(0))/x has absolute value at most x and tends to 0; hence G(0)=0.

givenL2
1.2

For x>0, [L1] gives G(x)=2xsin(1/x)cos(1/x).

givenL1
2.1

By [L2], G(x)2x+13 on (0,1], so G is bounded. The displayed formula is continuous away from 0.

step 1.2L2
2.2

By [L3], sine vanishes and cosine equals 1 at 2πk, while sine vanishes and cosine equals 1 at (2k+1)π; substituting gives G(xk)=1 and G(yk)=1. Both sequences tend to 0 by [L4], so G is discontinuous there.

step 1.2L3L4
3.1

Thus the discontinuity set is exactly {0}, and [L5] makes G Riemann integrable.

step 2.1step 2.2L5
4.1

Applying [L6] to G and G yields 01G=G(1)G(0)=sin1.

step 1.1step 1.2step 3.1L6
CounterexampleConstruction: Literature-sourcedVerification: AI-adaptedprecheck passaudited 2026-08-13Open item page →

Volterra's function is differentiable everywhere with bounded derivative, but its derivative is not Riemann integrable

Counterexample

There is a differentiable function W:[0,1]R whose derivative is bounded but not Riemann integrable.

Let S be the Smith--Volterra--Cantor set. Put g(0)=0 and g(t)=t2sin(1/t) for t>0. Choose a continuously differentiable cutoff χ:[0,)[0,1] with χ=1 on [0,1/2] and χ=0 on [1,). For each removed component (u,v) of [0,1]S, set r=(vu)/3 and define

W(x)=g(xu)χ((xu)/r)+g(vx)χ((vx)/r)(u<x<v),

and put W(x)=0 for xS. The two summands have disjoint interiors of support. Then W is differentiable everywhere, W=0 on S, and W is bounded. Nevertheless every interval meeting S has oscillation of W at least 1/2, so W fails the Riemann criterion.

Facts & Assumptions

Given: The fat Cantor set S and the displayed construction.

[L1]

At every stage the Smith--Volterra--Cantor construction removes a nonempty open middle interval from each retained interval, and the retained interval lengths are at most 2n at stage n (The Smith-Volterra-Cantor set: the same construction removing, at stage n1, an open middle interval of length 4n from each of the 2n1 remaining intervals).

[L2]

The set S is closed, nowhere dense, and every interval cover of S has total length at least 1/2 (The Smith-Volterra-Cantor set is compact, perfect and nowhere dense, and does not have measure zero).

[L4]

Sine and cosine have absolute value at most 1; π>0, and their values at integer multiples of π alternate by the quarter-turn and shift formulas (Parity and the Pythagorean identity for sine and cosine, Pi as twice the smallest positive zero of cosine, Quarter-turn values and shifts by pi/2 and pi).

[L7]

A bounded function is Riemann integrable if and only if it has partitions with arbitrarily small upper-minus-lower sum (Riemann's criterion: a bounded f on [a,b] is Darboux integrable if and only if for every real ε>0 there is a partition P with U(f,P)L(f,P)<ε).

Verification

technique · construction
1.1

A concrete cutoff is obtained by taking χ(s)=1 for s1/2, χ(s)=13(2s1)2+2(2s1)3 for 1/2s1, and χ(s)=0 for s1; the values and first derivatives agree at both joins.

constructalgebra
2.1

On a gap (u,v) the two supports lie in (u,u+r] and [vr,v) and are disjoint because 2r<vu. Each summand and its derivative vanish at its cutoff join, so W is differentiable throughout every gap.

step 1.1algebra
3.1

By [L4], g(t)t2. If x lies in a gap, then W(x)dist(x,S)2; if sS, this is at most xs2. Hence W(s)=0 for every sS, including 0 and 1.

givenstep 2.1L4
4.1

By [L3]--[L4], g(t)2t+13 on 0<t1. Differentiating inside a support gives a sum of gχ and gχ/r, and g(t)/rt2/rr1 on 0tr. Since χ is bounded on its two polynomial pieces, one constant bounds W on all gaps and on S.

step 1.1step 3.1L3L4
4.2

Let I be a nondegenerate closed interval meeting S. If S meets the interior of I, choose such a point and then, using the shrinking bound in [L1], a retained interval around it contained in I; its next-stage middle gap lies in I. If S does not meet the interior, an endpoint of I lies in S and the interior lies in one removed gap, so gap points approach that endpoint from inside I. In either case the endpoint recursion in [L1] keeps the relevant gap endpoint in every later retained stage, hence in S. On its adjacent half-support χ=1. By [L3]--[L5], the points at distances 1/(2πk) and 1/((2k+1)π) from that endpoint eventually lie in the half-support and give derivative values 1 and 1, whereas step 3.1 gives value 0 at the endpoint. Thus ωW(I)1/2.

step 3.1L1L2L3L4L5L6
5.1

Fix any partition and retain its subintervals that meet S. These finitely many closed intervals cover S, so their total lengths are at least 1/2 by [L2]. Step 4.2 therefore gives U(W,P)L(W,P)(1/2)(1/2)=1/4.

step 4.2L2L6
6.1

The derivative is bounded by step 4.1, but the fixed lower bound in step 5.1 contradicts [L7]. Hence W is not Riemann integrable.

step 4.1step 5.1L7
ExampleConstruction: AI-adaptedVerification: AI-adaptedprecheck passaudited 2026-08-13Open item page →

A bounded increasing integrand discontinuous at every rational has an integral function nondifferentiable at every rational in (0,1)

Example

There is a bounded nondecreasing function f:R[0,1] whose discontinuity set is exactly Q. On every nondegenerate compact interval [a,b], the restriction of f is Riemann integrable. Its integral function F(x)=axf is differentiable at every irrational point, but at every rational c(a,b) its left and right derivatives exist and are unequal. Thus F is nondifferentiable on the dense countable set Q(a,b).

Facts & Assumptions

Given: A nondegenerate interval [a,b].

[L1]

The rationals are countably infinite (Q is countably infinite).

[L2]

For every at-most-countable set E there is a bounded nondecreasing function whose discontinuity set is exactly E, with unequal finite left and right limits at every point of E (Converse to Froda: for every at most countable ER there is a bounded nondecreasing f:RR whose set of discontinuities is exactly E, every one of them a jump).

Verification

technique · specialization
1.1

Apply [L2] to E=Q, which is permitted by [L1], and call the resulting function f.

L1L2
2.1

Its restriction to [a,b] is nondecreasing and therefore integrable by [L3].

step 1.1L3
2.2

At every irrational point of [a,b], f is continuous, so [L4] gives F=f.

step 1.1L4
2.3

At every rational c(a,b), [L2] gives unequal left and right limits. By [L4] these are the left and right derivatives of F, so the two-sided derivative does not exist.

step 1.1L2L4
3.1

The rational points in (a,b) are countable by [L1] and dense in every nondegenerate real interval by [L5], so the asserted nondifferentiability set is dense and countable.

step 2.3L1L5
ExampleConstruction: AI-adaptedVerification: AI-generatedprecheck passaudited 2026-08-13Open item page →

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)=0t(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 q1 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 RQ are dense in R, and every nonempty open subset of R is uncountable).

Verification

technique · direct
1.1

The function satisfies 0t1, 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 N1 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 0pqN.

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 t1, 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 t0, [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
ExampleConstruction: AI-generatedVerification: AI-generatedprecheck passaudited 2026-08-13Open item page →

The indicator of {1,1/2,1/4,1/8,} is discontinuous at 0, but its integral function has derivative 0=f(0) there

Example

Define f:[0,1]R by

f(x)={1,x=2n for some integer n0,0,otherwise.

Then f is Riemann integrable with integral zero on every subinterval. Its integral function F(x)=0xf is therefore identically zero, so F(0)=0=f(0), although f is discontinuous at 0.

Facts & Assumptions

Given: The sparse-spike function f.

[L2]

A bounded function is integrable exactly when, for every ε>0, some partition has upper-minus-lower sum below ε (Riemann's criterion: a bounded f on [a,b] is Darboux integrable if and only if for every real ε>0 there is a partition P with U(f,P)L(f,P)<ε).

[L3]

The integral function is F(x)=0xf (The integral function F(x):=axf of an integrable f).

Verification

technique · direct
1.1

The function is bounded between 0 and 1, and every nondegenerate interval contains a point outside the countable spike set, so every lower Darboux sum is 0.

givenconstruct
1.2

Given ε>0, choose N with 2N<ε/2 by [L1]. Put the finitely many spikes 1,21,,2(N1) in partition intervals of total length below ε/2, and put all remaining spikes in [0,2N]. The resulting upper sum is below ε.

givenL1construct
2.1

By [L2], f is integrable, and steps 1.1--1.2 force its integral to be 0. The same construction after restriction gives integral 0 on every subinterval.

step 1.1step 1.2L2
3.1

By [L3] and step 2.1, F(x)=0 for every x, so its relative derivative at 0 is 0.

step 2.1L3
4.1

Along the spike sequence 2n0, the values are 1, while f(0)=0; thus f is discontinuous at 0 and F(0)=0=f(0).

givenstep 3.1L1
CounterexampleConstruction: Literature-sourcedVerification: AI-adaptedprecheck passaudited 2026-08-13Open item page →

The Cantor function is continuous, has derivative 0 off a null set, and still rises from 0 to 1

Counterexample

Let c:[0,1][0,1] be the Cantor function. It is continuous, c(0)=0, and c(1)=1. At every point outside the Cantor set C, the function is constant on a neighbourhood and hence c=0. Since C has measure zero, c=0 almost everywhere, but

c(1)c(0)=1.

Thus even continuity of the primitive and integrability of the zero function do not make an almost-everywhere derivative identity sufficient for Newton--Leibniz.

Facts & Assumptions

Verification

technique · direct
1.1

If xC, [L2] makes c constant near x, so every sufficiently local difference quotient is 0 and [L4] gives c(x)=0.

L2L4
2.1

The exceptional set is contained in C, which has measure zero by [L3]; therefore c=0 almost everywhere.

step 1.1L3
3.1

By [L1], c(1)c(0)=10=1, despite step 2.1.

step 2.1L1
4.1

Hence the implication from an almost-everywhere zero derivative to zero endpoint change is false without further regularity.

step 3.1

Sources