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 Lebesgue and Riemann Integrals Compared — Examples

1 · Prerequisites

2 · Summary

The companion page fixes the standard witness patterns behind the comparison theorems. The Dirichlet indicator separates Lebesgue from Riemann integrability, the dense-open monotone limit shows that the Riemann integrable functions are not closed under natural L1 limits, and the sine integral records the failure of sign-changing improper convergence to match Lebesgue integrability.

The remaining three items mark the descriptive boundary. A Riemann integrable function need not be Borel measurable under full choice, an upper semicontinuous function need not be almost everywhere equal to any Riemann integrable one, and even a null set need not arise as a discontinuity set. The published Thomae and Jordan-content examples remain earlier witnesses and are cited in the surrounding page summaries rather than duplicated here.

3 · Logical flowchart

4 · Definitions, theorems and proofs

None yet.

5 · Examples, counterexamples and false statements

ExampleConstruction: AI-generatedVerification: AI-generatedprecheck passaudited 2026-08-28Open item page →

The indicator of the rationals in [0,1] is Lebesgue integrable with integral 0 and not Riemann integrable

Example

Assume the Axiom of Countable Choice. Let f:=1Q[0,1]:[0,1]R. Then f is Lebesgue integrable with [0,1]fdλ1=0, but f is not Riemann integrable on [0,1].

Facts & Assumptions

Given: The Axiom of Countable Choice and the Dirichlet function 1Q.

[L2]

Every at most countable subset of R has measure zero. (Every at most countable subset of R has measure zero)

[L4]

A nonnegative measurable function has integral 0 exactly when it vanishes almost everywhere. (A nonnegative measurable function has integral 0 exactly when it vanishes almost everywhere)

[L6]

A bounded function on [0,1] is Riemann integrable exactly when its discontinuity set has Lebesgue measure 0. (A bounded function on a closed bounded interval, or on a closed nondegenerate rectangle, is Riemann integrable exactly when its discontinuity set has Lebesgue measure zero)

Verification

technique · direct
1.1

By [L1], the function f is 1 on Q[0,1] and 0 on its [L1, L2, L3, L4] complement. The set Q[0,1] is countable, hence null by [L2], and [L3] makes it Lebesgue measurable. Therefore f=0 almost everywhere on [0,1], so [L4] gives [0,1]fdλ1=0.

1.2

By [L5], every point of [0,1] is a discontinuity of f. Thus the [L5, L6, L7] discontinuity set of f is the whole interval [0,1], whose Lebesgue measure is 1 by [L7], not 0. So [L6] shows that f is not Riemann integrable. ∎

False statementConstruction: AI-adaptedVerification: AI-adaptedprecheck passaudited 2026-08-28Open item page →

FALSE: every Riemann integrable function on a closed bounded interval is Borel measurable

Statement

Assume the Axiom of Choice. Every Riemann integrable function on a closed bounded interval is Borel measurable.

Facts & Assumptions

Given: The Axiom of Choice, the Cantor set C[0,1], the map ψ(x)=x+c(x), and the compact set K:=ψ[C].

[L1]

The map ψ is a homeomorphism from [0,1] onto [0,2], and K=ψ[C] is compact and Lebesgue measurable with λ1(K)=1. (The map xx+c(x) is a homeomorphism from [0,1] onto [0,2], The homeomorphism xx+c(x) sends the Cantor set onto a compact set of Lebesgue measure 1)

[L2]

Every subset of R of positive Lebesgue outer measure contains a nonmeasurable subset. (Every subset of R of positive Lebesgue outer measure contains a nonmeasurable subset)

[L3]

The Cantor set is Lebesgue measurable with measure 0. (The Cantor set is an uncountable subset of R of Lebesgue measure zero)

[L6]

A bounded function on [0,1] is Riemann integrable exactly when its discontinuity set has Lebesgue measure 0. (A bounded function on a closed bounded interval, or on a closed nondegenerate rectangle, is Riemann integrable exactly when its discontinuity set has Lebesgue measure zero)

[L7]

The Borel sigma-algebra of a subspace is the trace of the ambient Borel sigma-algebra. (The Borel sigma-algebra of a subspace is the trace of the ambient Borel sigma-algebra)

[L8]

A continuous map has Borel preimages of Borel sets. (A continuous map has Borel preimages of Borel sets)

Refutation

technique · refutation
1.1

By [L1], the compact set K has positive measure, so [L2] provides a [L1, L2, L3, L4, construct] nonmeasurable subset NK. Put E:=ψ1[N]C. Since C is measurable and null by [L3], step 1.1 and [L4] show that E is Lebesgue measurable and null.

2.1

Let h:=1E on [0,1]. If xC, then [step 1.1, L3, L5, L6] an open neighbourhood of x disjoint from C, hence disjoint from E, so h is identically 0 there. Thus every discontinuity of h lies in C. Since C has Lebesgue measure 0 by [L3], [L6] makes h Riemann integrable on [0,1].

3.1

Suppose instead that h were Borel measurable on [0,1]. [step 1.1, step 2.1, L1, L7, L8, assume-contra, discharge-contradiction] Then E=h1((1/2,)) would be Borel in the subspace [0,1]. Because EC, [L7] makes E Borel in the subspace C. The restriction ψC:CK is a homeomorphism by [L1], so its inverse (ψC)1:KC is continuous; applying [L8] to that inverse shows that N=ψ[E] is Borel in the subspace K. Since K is compact and therefore closed in R, [L7] makes N Borel in R, contradicting the choice of N. Therefore h is Riemann integrable but not Borel measurable, and the statement is false. ∎

ExampleConstruction: AI-generatedVerification: AI-generatedprecheck passaudited 2026-08-28Open item page →

An open dense set of measure less than 1 is the monotone L1-limit of Riemann integrable indicators, but its indicator is not Riemann integrable

Example

Assume the Axiom of Countable Choice. There exist open sets U1U2(0,1) such that, with U:=n1Un,

  1. each 1Un is Riemann integrable on [0,1];
  2. 1Un1U pointwise and [0,1]1U1Undλ10;
  3. U is open and dense with λ1(U)<1;
  4. 1U is not Riemann integrable on [0,1].

Facts & Assumptions

Given: The Axiom of Countable Choice.

[L1]

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

[L2]

Countable subadditivity bounds the measure of a countable union by the sum of the individual measures. (Finite and countable subadditivity of measures)

[L4]

For an increasing sequence of measurable sets (En), λ1 ⁣(nEn)=supnλ1(En). (Continuity from below for measures)

[L5]

A bounded function on [0,1] that is continuous except at finitely many points is Riemann integrable. (A bounded function on [a,b] that is continuous except at finitely many points is Riemann integrable)

[L6]

A bounded function on [0,1] is Riemann integrable exactly when its discontinuity set has Lebesgue measure 0. (A bounded function on a closed bounded interval, or on a closed nondegenerate rectangle, is Riemann integrable exactly when its discontinuity set has Lebesgue measure zero)

[L7]

If AB are measurable with λ1(A)<+, then λ1(BA)=λ1(B)λ1(A). (Measure of a set difference when the smaller set has finite measure)

[L9]

Every Borel subset of R is Lebesgue measurable. (Assuming countable choice, every Borel subset of Rn is Lebesgue measurable)

Verification

technique · direct
1.1

By [L1], fix an enumeration (qk)k0 of Q(0,1). For each k0, let Ik:=(qk2k4,qk+2k4)(0,1), put Un:=k<nIk for n1, and put U:=k0Ik. Each Un and U is open, and every rational point of (0,1) lies in U, so U is dense in (0,1) and hence in [0,1]. Each interval Ik has length at most 2k3, so [L2], [L3], [L8], and [L9] give λ1(U)k=0λ1(Ik)k=02k3=23k=02k=1/4<1.

L1L2L3L8L9construct
2.1

Each Un is a finite union of open intervals, so 1Un is continuous away from the finitely many endpoints of those intervals. Thus [L5] makes every 1Un Riemann integrable on [0,1]. Also UnU, so 1Un1U pointwise and 1U1Un=1UUn. By [L4] and [L7], [0,1]1U1Undλ1=λ1(UUn)=λ1(U)λ1(Un)0.

step 1.1L4L5L7
3.1

Let C:=[0,1]U. Step 1.1 and [L8] give λ1(C)=λ1([0,1])λ1(U)=1λ1(U)>0. Because U is open, every point of U is a continuity point of 1U. Because U is dense, every point of C is a boundary point of U, hence every neighbourhood of such a point meets both U and C; so 1U is discontinuous at every point of C. Therefore the discontinuity set of 1U contains the positive-measure set C, and [L6] shows that 1U is not Riemann integrable on [0,1].

step 1.1step 2.1L6L7L8
CounterexampleConstruction: Literature-sourcedVerification: AI-adaptedprecheck passaudited 2026-08-28Open item page →

The sine integral is improperly Riemann integrable and not Lebesgue integrable

Statement refuted

Assume the Axiom of Countable Choice.

If an improper Riemann integral converges on a half-line, then the same function is Lebesgue integrable there.

Facts & Assumptions

Given: Assume the Axiom of Countable Choice. Let f(x):={1,x=0,sinx/x,x>0.

[L1]

Dirichlet's test makes 1sinx/xdx converge. (Dirichlet's test for improper integrals)

[L2]

Uniform oscillatory tail mass forces failure of absolute convergence. (Uniform oscillatory tail mass forces failure of absolute convergence)

[L4]

The improper integral over a half-line is the limit of the truncated integrals. (Improper integrals over unbounded intervals)

[L5]

A real measurable function is Lebesgue integrable exactly when the integral of its absolute value is finite. (Integrable real and complex functions, and their integrals)

[L6]

An improper integral is absolutely convergent when the corresponding improper integral of the absolute value converges, and conditionally convergent when the original improper integral converges but the absolute one does not. (Absolute and conditional convergence of improper integrals)

[L7]

A continuous function on a closed bounded interval is Riemann integrable. (A continuous function on [a,b] is Riemann integrable, by Heine-Cantor and Riemann's criterion)

[L8]

Assuming the Axiom of Countable Choice, on every compact interval a bounded Riemann integrable function has the same Lebesgue and Riemann integrals. (A bounded Riemann integrable function on a closed bounded interval is Lebesgue measurable and has the same integral)

[L9]

Monotone convergence holds for nonnegative measurable functions. (Monotone convergence for the integral)

Counterexample

technique · direct
1.1

The function f is continuous on [0,1], so its proper integral there exists. By [L1], the improper integral 1sinxxdx converges. For R>1, [L3] gives 0Rf(x)dx=01f(x)dx+1Rsinxxdx. Passing to the limit as R and using [L4], the improper integral 0sinxxdx converges. In the terminology of [L6], the sine integral is convergent.

L1L3L4L6
1.2

Apply [L2] with the nonincreasing function g(x)=1/x, the bounded-gap sequence xj=jπ, and the locally integrable oscillatory factor u(x)=sinx. Since jπ(j+1)πsinxdx=2(j1), [L2] yields divergence of 1sinxxdx. Because f is continuous on [0,1], its proper integral there exists, so [L3] and [L4] show that 0f(x)dx also diverges. Thus the improper integral of sinx/x is not absolutely convergent.

L2L3L4algebra
2.1

By [L6], steps 1.1 and 1.2 show that the sine integral is only conditionally convergent. If f were Lebesgue integrable on [0,), then [L5] would force [0,)fdλ1<+, so f would be Lebesgue integrable on the half-line. For each natural number n1, put hn:=fχ[0,n]. Then 0hnhn+1 and hn(x)f(x) for every x0. Since f is continuous on [0,n], [L7] makes it Riemann integrable there, and [L8] gives [0,)hndλ1=[0,n]fdλ1=0nf(x)dx. Because hnf, [L9] yields limn0nf(x)dx=limn[0,)hndλ1=[0,)fdλ1<+. By [L4], that finite limit is exactly the improper integral 0f(x)dx, so the absolute improper integral converges, contradicting step 1.2. Therefore f is not Lebesgue integrable on the half-line, and the statement is false.

step 1.1step 1.2L4L5L6L7L8L9
CounterexampleConstruction: AI-generatedVerification: AI-generatedprecheck passaudited 2026-08-28Open item page →

The indicator of a fat Cantor set is upper semicontinuous and equal almost everywhere to no Riemann integrable function

Statement refuted

Assume the Axiom of Countable Choice.

An upper semicontinuous function on [0,1] is always almost everywhere equal to some Riemann integrable function.

Facts & Assumptions

Given: Assume the Axiom of Countable Choice. Let the Smith-Volterra-Cantor set S[0,1] and its indicator χS be as above.

[L1]

Upper semicontinuity at a point means that nearby values stay below the value at the point plus an arbitrary ε>0. (Upper and lower semicontinuity of f:AR at a point of A and on A)

[L2]

The Smith-Volterra-Cantor set is compact, nowhere dense, and does not have measure zero. (The Smith-Volterra-Cantor set is compact, perfect and nowhere dense, and does not have measure zero)

[L3]

Assuming the Axiom of Countable Choice, every Borel subset of R is Lebesgue measurable. (Assuming countable choice, every Borel subset of Rn is Lebesgue measurable)

[L4]

If AB are measurable with finite measure, then λ1(BA)=λ1(B)λ1(A). (Measure of a set difference when the smaller set has finite measure)

[L5]

Assuming the Axiom of Countable Choice, a bounded function on [0,1] is Riemann integrable exactly when its discontinuity set has Lebesgue measure 0. (A bounded function on a closed bounded interval, or on a closed nondegenerate rectangle, is Riemann integrable exactly when its discontinuity set has Lebesgue measure zero)

Counterexample

technique · direct
1.1

The function χS is upper semicontinuous on [0,1]. If xS, then χS(y)1<1+ε for every y and every ε>0. If xS, then S is closed by [L2], so there is an open neighbourhood of x disjoint from S; on that neighbourhood χS is identically 0, which is certainly below 0+ε. Thus [L1] is satisfied at every point.

L1L2
2.1

Let g:[0,1]R satisfy g=χS almost everywhere, and let N be a measurable null set containing the disagreement set. Because S is compact, [L3] makes it measurable, and [L2] says it does not have measure zero. Therefore [L4] gives λ1(SN)=λ1(S)λ1(SN)=λ1(S)>0. Fix xSN. Then g(x)=1. Since S is nowhere dense by [L2], every neighbourhood of x meets [0,1]S; the intersection of that neighbourhood with [0,1]S is a nonempty open set, so it contains a nondegenerate interval and hence has positive measure by [L6]. Because N is null, that positive-measure open set cannot be contained in N, so the neighbourhood contains ySN. Then g(y)=χS(y)=0. Thus g is discontinuous at every xSN.

step 1.1L2L3L4L6
3.1

Step 2.1 shows that the discontinuity set of g contains the positive-measure set SN. Hence [L5] implies that g is not Riemann integrable. So χS is upper semicontinuous but is almost everywhere equal to no Riemann integrable function, and the statement is false.

step 2.1L5
CounterexampleConstruction: AI-generatedVerification: AI-generatedprecheck passaudited 2026-08-28Open item page →

A null set can fail to be the discontinuity set of any function

Statement refuted

Every Lebesgue null subset of R is the discontinuity set of some function RR.

Facts & Assumptions

Given: The Axiom of Countable Choice.

[L1]

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

[L2]

Countable subadditivity bounds the measure of a countable union by the sum of the individual measures. (Finite and countable subadditivity of measures)

[L3]

Every Borel subset of R is Lebesgue measurable. (Assuming countable choice, every Borel subset of Rn is Lebesgue measurable)

[L4]

A Gδ set is a countable intersection of open sets and an Fσ set is a countable union of closed sets. (Gδ and Fσ subsets of a topological space, agreeing with the real-line notion)

[L7]

A closed set with empty interior is nowhere dense, and a countable union of nowhere dense sets is meager. (Nowhere dense, meager (first category), residual, and second category subsets of R)

[L9]

Measures are monotone. (Measures are monotone)

Counterexample

technique · contradiction
1.1

By [L1], fix an enumeration (qj)j0 of Q. For each natural number k1, put Uk:=j0(qj2jk2,qj+2jk2). Every Uk is open and dense, because it contains every rational. Each interval in the union has length 2jk1, so [L2], [L3], and [L10] give λ1(Uk)j=02jk1=2k1j=02j=2k. Let G:=k1Uk. Then [L4] makes G a Gδ set, and [L6] makes it dense. Since GUk for every k, [L9] gives λ1(G)2k for all k, so λ1(G)=0.

L1L2L3L4L6L9L10construct
2.1

Suppose, for contradiction, that G is the discontinuity set of some function f:RR. Then [L5] makes G an Fσ set, so by [L4] write G=n0Fn with each Fn closed. Because FnG and λ1(G)=0, monotonicity [L9] gives λ1(Fn)=0 for every n. A closed null set cannot contain a nondegenerate interval, by [L8], so each Fn has empty interior and is nowhere dense by [L7]. Therefore G is meager.

step 1.1L4L5L7L8L9assume-contra
3.1

Step 1.1 writes G as a dense Gδ set, so RG is meager by [L7]. If G were also meager, then R=G(RG) would be a union of two meager sets and therefore meager, contradicting [L6]. So G is a Lebesgue null set that is not the discontinuity set of any real-valued function, and the statement is false.

step 1.1step 2.1L6L7discharge-contradiction

Sources