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.

13 results · all verified · 12 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 1 not AI-judged were verified by owner audit (typically over a confirmed judge false positive), not failures.

The Riemann Integral: Definition and Integrability

1 · Prerequisites

2 · Summary

Objective. Define the integral of a bounded real function over a closed bounded interval, and settle exactly which functions have one. The definition is Darboux's, by suprema and infima over partitions; Riemann's own definition, by tagged partitions of small mesh, is shown to define the same class with the same value. The page then answers the question it exists to answer: a bounded f on [a,b] is integrable if and only if its set of discontinuities has measure zero.

The machinery, in order. Partition of [a,b] as a finite strictly increasing list a=t0<t1<<tn=b, its subintervals and their lengths, its mesh, refinement, and the common refinement of two partitions fixes what a partition is — a strictly increasing finite list from a to b, indexed from 0 — together with its subintervals, their lengths, its mesh, refinement, and the common refinement of two partitions; it discharges its own well-definedness obligations, including that a partition is determined by its point set, so that the common refinement is unambiguous. For bounded f on [a,b] and a partition P: the infimum mi and supremum Mi of f on the i-th subinterval, and the lower and upper Darboux sums L(f,P)=imiΔi and U(f,P)=iMiΔi attaches to a bounded f and a partition the two sums L(f,P) and U(f,P), and records that the gap Mimi on a subinterval is exactly the oscillation of f there (The oscillation ωf(S)=sup{f(x)f(y):x,yS} of f on a set and the oscillation ωf(c)=infδ>0ωf(ANδ(c)) at a point, both taken in the extended reals) — the hinge on which the last theorem of the page turns. Refining a partition raises the lower Darboux sum and lowers the upper one, and every lower sum is at most every upper sum: L(f,P)L(f,P)U(f,P)U(f,P) when P refines P, and L(f,P)U(f,Q) for arbitrary partitions P and Q; moreover the two changes are at most 2M(nn)P proves that refining raises the lower sum and lowers the upper one, that every lower sum is at most every upper sum, and, in a quantitative clause used only by The Darboux and Riemann definitions agree: a bounded f on [a,b] is Darboux integrable with integral I if and only if for every real ε>0 there is a real δ>0 such that S(f,P,ξ)I<ε for every tagged partition of mesh below δ, that the two changes are at most 2M(nn)P. The lower and upper Darboux integrals of a bounded f on [a,b] as supPL(f,P) and infPU(f,P), Darboux integrability as their equality, and the notation abf can then take supPL(f,P) and infPU(f,P) and call f integrable when they agree.

The two criteria. If mfM on [a,b] then m(ba)L(f,P)abfabfU(f,P)M(ba) for every partition P; in particular every constant function is integrable, with abc=c(ba) locates both integrals between m(ba) and M(ba) and computes the integral of a constant. 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)<ε replaces the two extrema by the exhibition of one partition per ε with U(f,P)L(f,P)<ε, and every integrability proof below runs through it. Tagged partitions of [a,b], with a tag ξi in each subinterval, and the Riemann sum S(f,P,ξ)=if(ξi)Δi introduces Riemann sums, and The Darboux and Riemann definitions agree: a bounded f on [a,b] is Darboux integrable with integral I if and only if for every real ε>0 there is a real δ>0 such that S(f,P,ξ)I<ε for every tagged partition of mesh below δ proves the two definitions equivalent; the quantifier there is over all tagged partitions of small mesh, and the companion page shows it cannot be weakened to one sequence.

Which functions are integrable. A continuous function on [a,b] is Riemann integrable, by Heine-Cantor and Riemann's criterion uses Heine-Cantor: uniform continuity supplies one δ for the whole interval, so a uniform partition works. A monotone function on [a,b] is Riemann integrable: for the uniform partition into N parts the upper minus lower sum telescopes to f(b)f(a)(ba)/ι(N) needs no continuity at all: on a uniform partition the gaps telescope to f(b)f(a)(ba)/N exactly. A bounded function on [a,b] that is continuous except at finitely many points is Riemann integrable is the first result whose hypothesis is stated in terms of the discontinuity set, and its proof is the elementary rehearsal of the general one: the bad points are buried in short intervals and Heine-Cantor handles what is left. Lebesgue's criterion for Riemann integrability: a bounded f on [a,b] is Riemann integrable if and only if its set of discontinuities has measure zero is the theorem of the page. Its forward half exhibits the discontinuity set as a countable union of superlevel sets of the oscillation, each of content zero by Riemann's criterion; its converse builds a partition by Cousin's supremum construction, from the completeness of R alone. A bounded function on [a,b] whose set of discontinuities is at most countable is Riemann integrable then records the countable case, which costs no choice.

Choice. Every item on this page is a theorem of ZF except where countable choice is inherited, and it is inherited from exactly two places: the single use inside Heine-Cantor, which reaches A continuous function on [a,b] is Riemann integrable, by Heine-Cantor and Riemann's criterion and A bounded function on [a,b] that is continuous except at finitely many points is Riemann integrable, and the single use inside the countable union of null sets, which reaches the forward half of Lebesgue's criterion for Riemann integrability: a bounded f on [a,b] is Riemann integrable if and only if its set of discontinuities has measure zero and nothing else. What this page costs in choice: Riemann's criterion, the Darboux-Riemann equivalence and integrability of a monotone function are theorems of ZF; integrability of a continuous function inherits the single use of countable choice inside Heine-Cantor; and only the forward half of the Lebesgue criterion spends countable choice, once, at the countable union of null sets tabulates the page item by item and explains the four entries that are easy to get wrong — in particular that selecting a tag in each of finitely many subintervals is a theorem of ZF, not a choice principle.

Four false statements. FALSE: every bounded function on [a,b] is Riemann integrable is the Dirichlet function; FALSE: a bounded function on [a,b] is Riemann integrable exactly when its set of discontinuities is nowhere dense replaces measure by category and is refuted by the Smith-Volterra-Cantor set; FALSE: a nonnegative Riemann integrable function on [a,b] with abf=0 is identically zero drops continuity from a true statement and is refuted by Thomae's function; and FALSE: a pointwise limit of a sequence of Riemann integrable functions on [a,b] is Riemann integrable fails because discontinuity sets do not pass to pointwise limits.

What is not here. Linearity, additivity over subintervals, the mean value theorem for integrals and the fundamental theorem of calculus are not on this page; nor is any notion of outer measure, measurable set or Lebesgue integral. "Measure zero" means throughout the interval-cover condition of Measure zero (a countable cover by intervals of total length below every ε) and content zero (a finite such cover), and every statement is made in that vocabulary.

3 · Logical flowchart

4 · Definitions, theorems and proofs

DefinitionDefinition: AI-adaptedProof: Not applicablejudge pass (z-ai/glm-5.2)audited 2026-07-28Open item page →

Partition of [a,b] as a finite strictly increasing list a=t0<t1<<tn=b, its subintervals and their lengths, its mesh, refinement, and the common refinement of two partitions

Definition

Standing hypothesis for this page. Throughout, R is the complete ordered field (Complete ordered field (least-upper-bound property), Ordered field), N is the set of natural numbers and contains 0 (The natural numbers N (von Neumann), Order on the natural numbers), ι:NR is the canonical natural (The canonical natural ι(n)=n1F of a field), and a,b are reals with

a  <  b.

Intervals and their lengths are those of Intervals of R: the nine order-convex forms, nondegeneracy, and length; finite sums are those of Finite sums and finite products, by recursion, indexed as i<n over iN.

Partitions

A partition of [a,b] is a pair P=(n,t) consisting of a natural number n1 and a sequence t:NR (Sequences of reals: bounded, eventually, frequently, tails, subsequences) with

t0=a,ti<ti+1  for every i<n,tk=b  for every kn.

The tail convention on the third clause is bookkeeping only: it makes t a genuine sequence, so that the finite-sum laws of Laws of finite sums and finite products apply to it verbatim, and it costs nothing because no index above n is ever read. The first two clauses say exactly that

a  =  t0  <  t1  <    <  tn  =  b,

the last equality because tn=b by the third clause. In particular iti is strictly increasing, hence injective, on {iN:in} (Injection, surjection, bijection), and atib for every in.

The point set of P is the finite set

pts(P)  :=  {ti : in}    [a,b],a,bpts(P).

The subintervals of P are

Ii  :=  [ti, ti+1](i<n),

and their lengths are Δi:=ti+1ti. Each Δi>0, so each Ii is a nondegenerate closed bounded interval (Intervals of R: the nine order-convex forms, nondegeneracy, and length). There are n of them and they are indexed from i=0, not from i=1: the first subinterval is [t0,t1]=[a,t1].

The lengths sum to ba. By the telescoping law, clause 5 of Laws of finite sums and finite products,

i<nΔi  =  i<n(ti+1ti)  =  tnt0  =  ba.

The mesh. The set {Δi:i<n} is a nonempty finite set of reals, nonempty because n1, so it has a maximum (Every nonempty finite set of reals has a maximum and a minimum, Maximum and minimum of a set). The mesh of P is

P  :=  max{Δi : i<n}  >  0,

and ΔiP for every i<n.

The uniform partition. For a natural N1, the uniform partition of [a,b] into N parts is UN:=(N,t) with

ti  :=  a+ι(i)baι(N)(iN),tk:=b(kN).

This is a partition: t0=a; tN=a+(ba)=b; and ti+1ti=(ba)/ι(N)>0 for i<N, because ι(N)>0 and ι(i+1)=ι(i)+1 (Canonical naturals are positive and strictly increasing, The canonical natural ι(n)=n1F of a field). Its subinterval lengths are all equal to (ba)/ι(N), so

UN  =  baι(N).

A partition is determined by its point set

Claim. If P=(n,t) and P=(n,t) are partitions of [a,b] with pts(P)=pts(P), then n=n and ti=ti for every in.

Proof. First, ti=ti for every imin{n,n}, by induction on i (The principle of mathematical induction). For i=0 both equal a. Suppose tj=tj for all ji and i+1min{n,n}. The set S:={xpts(P):x>ti} has ti+1 as its least element: ti+1S, and any xS is tj for some jn with tj>ti, which forces j>i because t is increasing on indices n, hence ji+1 and x=tjti+1. The same argument in P makes ti+1 the least element of {xpts(P):x>ti}, which is the same set S, since the point sets agree and ti=ti. A set has at most one least element (Maximum and minimum of a set), so ti+1=ti+1.

Second, n=n. If n<n then tn=tn=b by the previous paragraph, while tn<tn=b because t is increasing on indices n and n<n; that is impossible. Exchanging the roles of P and P rules out n<n.

So the map Ppts(P) is injective, and a partition may be named by its point set whenever one is exhibited.

Inserting a point

Let P=(n,t) be a partition of [a,b] and let c[a,b]. Define a partition P+c of [a,b] as follows.

  • If cpts(P), put P+c:=P.
  • Otherwise ca and cb, so a<c<b. The set T:={ti:in and ti<c} is a nonempty finite set of reals, nonempty because t0=a<c, so it has a maximum (Every nonempty finite set of reals has a maximum and a minimum); let i0n be the unique index with ti0=maxT, unique because t is injective on indices n. Then i0<n, since tn=b>c puts tnT; and ti0  <  c  <  ti0+1, the right inequality because ti0+1c (as cpts(P)) and ti0+1<c would put ti0+1T with ti0+1>ti0=maxT. Put P+c:=(n+1,s) with si:=ti (ii0),si0+1:=c,si:=ti1 (i0+2in+1),sk:=b (kn+1).

In both cases P+c is a partition of [a,b] and

pts(P+c)  =  pts(P){c},P+c    P.

The displayed identity is immediate from the two cases. For the mesh: in the first case nothing changes; in the second the list of subinterval lengths of P+c is that of P with Δi0 replaced by the two numbers cti0 and ti0+1c, each of which is smaller than Δi0=(cti0)+(ti0+1c) because the other is positive. So every length of P+c is at most a length of P, and the maximum cannot increase. Finally the index count grows by exactly 1 in the second case and not at all in the first.

Refinement and the common refinement

P refines P, and is a refinement of P, when

pts(P)    pts(P).

Let P=(n,t) and Q=(m,s) be partitions of [a,b]. Applying the recursion theorem (The recursion theorem) to the set N×P[a,b], where P[a,b] is the set of partitions of [a,b], with starting element (0,P) and the map (j,R)(j+1, R+sj) — legitimate because sj[a,b] for every jN — gives a unique family (Rj)jN of partitions with R0=P and Rj+1=Rj+sj. The common refinement of P and Q is

PQ  :=  Rm+1.

Its point set is the union. By induction on j (The principle of mathematical induction), pts(Rj)=pts(P){sl:l<j}; taking j=m+1 gives

pts(PQ)  =  pts(P)pts(Q).

Hence PQ refines both P and Q; by the uniqueness claim above it is the only partition with that point set, so PQ=QP, and

P refines PPP=P,

since then pts(P)pts(P)=pts(P).

Two size bounds, both used later. Writing nR for the first component of a partition R:

PQ    P,nPQ    nP+nQ1.

The first is the mesh bound above applied m+1 times. For the second, each insertion raises the index count by at most 1, and the two insertions of s0=a and sm=b raise it by 0, since a and b already lie in pts(P) and hence in pts(Rj) for every j; so at most m1 of the m+1 insertions increase it.

The index map of a refinement

Let P=(n,t) refine P=(n,t). For each in the point ti lies in pts(P), so there is exactly one φ(i)n with tφ(i)=ti, uniqueness because t is injective on indices n. The resulting map φ satisfies

φ(0)=0,φ(n)=n,φ(i)<φ(i+1)  (i<n),

the first two because t0=a=t0 and tn=b=tn together with injectivity, and the third because ti<ti+1 and t is increasing on indices n. In particular nn. Moreover, for i<n and φ(i)j<φ(i+1),

Ij  =  [tj, tj+1]    [ti, ti+1]  =  Ii,

because ti=tφ(i)tj and tj+1tφ(i+1)=ti+1.

The blocks are counted by telescoping. By clause 5 of Laws of finite sums and finite products, i<n(φ(i+1)φ(i))=φ(n)φ(0)=n, so, subtracting i<n1=n,

i<n(φ(i+1)φ(i)1)  =  nn,

a sum of n nonnegative integers, one for each block, which vanishes exactly at the blocks consisting of a single index. This identity is the whole content of the quantitative bound in Refining a partition raises the lower Darboux sum and lowers the upper one, and every lower sum is at most every upper sum: L(f,P)L(f,P)U(f,P)U(f,P) when P refines P, and L(f,P)U(f,Q) for arbitrary partitions P and Q; moreover the two changes are at most 2M(nn)P, and it is also why nn.

Finally, the lengths inside a block sum to the length of the block:

j=φ(i)φ(i+1)1Δj  =  tφ(i+1)tφ(i)  =  ti+1ti  =  Δi(i<n),

again by telescoping, applied to the sequence ltφ(i)+l and read through the index-shift convention of Finite sums and finite products, by recursion.

Remarks

DefinitionDefinition: AI-adaptedProof: Not applicablejudge pass (z-ai/glm-5.2)audited 2026-07-28Open item page →

For bounded f on [a,b] and a partition P: the infimum mi and supremum Mi of f on the i-th subinterval, and the lower and upper Darboux sums L(f,P)=imiΔi and U(f,P)=iMiΔi

Definition

Let a<b be reals, let f:[a,b]R be bounded (Lower bound, bounded below, bounded set), so that there is a real M0 with f(x)M for every x[a,b], and let P=(n,t) be a partition of [a,b] with subintervals Ii=[ti,ti+1] and lengths Δi=ti+1ti for i<n (Partition of [a,b] as a finite strictly increasing list a=t0<t1<<tn=b, its subintervals and their lengths, its mesh, refinement, and the common refinement of two partitions).

The two extreme values on a subinterval

For i<n put

mi  :=  inff[Ii],Mi  :=  supf[Ii],f[Ii]  =  {f(x):xIi}.

Both exist. The set f[Ii] is nonempty, because ti<ti+1 makes Ii nonempty (Intervals of R: the nine order-convex forms, nondegeneracy, and length), and it is bounded, because f(x)M for every x (Lower bound, bounded below, bounded set). A nonempty set bounded above has a supremum (Complete ordered field (least-upper-bound property)) and a nonempty set bounded below has an infimum (Every nonempty set bounded below has an infimum, Greatest lower bound (infimum)); each is unique, so the notations inff[Ii] and supf[Ii] name single real numbers (Suprema and infima are unique).

They bracket the values, and each other. For xIi,

M    mi    f(x)    Mi    M,

the outer inequalities because M is a lower bound and M an upper bound of f[Ii], and the middle ones by the definitions of infimum and supremum. In particular miMi and Mimi2M.

The dependence of mi and Mi on f and on P is suppressed in the notation, as is customary; where two partitions are in play the sums below carry the partition and the extreme values are written out.

The two Darboux sums

L(f,P)  :=  i<nmiΔi,U(f,P)  :=  i<nMiΔi,

the finite sums of Finite sums and finite products, by recursion, indexed by iN with i<n. Both are real numbers, being finite sums of reals, and

L(f,P)    U(f,P),

by monotonicity of finite sums, clause 4 of Laws of finite sums and finite products, since miΔiMiΔi for every i<n: multiplying miMi by Δi>0 preserves the inequality (Ordered field).

The gap on a subinterval is the oscillation there

For every i<n,

Mimi  =  ωf(Ii)  =  sup{f(x)f(y) : x,yIi},

the oscillation of f on the set Ii (The oscillation ωf(S)=sup{f(x)f(y):x,yS} of f on a set and the oscillation ωf(c)=infδ>0ωf(ANδ(c)) at a point, both taken in the extended reals). The supremum is a real number here rather than an extended one, because f is bounded (The oscillation ωf(S)=sup{f(x)f(y):x,yS} of f on a set and the oscillation ωf(c)=infδ>0ωf(ANδ(c)) at a point, both taken in the extended reals, The extended real line R=R{,+}, its order, and the arithmetic that is left undefined). The identity is proved in two inequalities.

The oscillation is at most the gap. For x,yIi both f(x) and f(y) lie in [mi,Mi], so f(x)f(y)Mimi and f(y)f(x)Mimi, whence f(x)f(y)Mimi (Basic properties of the absolute value). So Mimi is an upper bound of the set whose supremum is ωf(Ii).

The gap is at most the oscillation. Let ε>0 be real. By the ε-characterisations of the supremum and the infimum (Epsilon characterisation of the supremum, Epsilon characterisation of the infimum) there are x,yIi with f(x)>Miε/2 and f(y)<mi+ε/2; then

f(x)f(y)    f(x)f(y)  >  (Mimi)ε,

so ωf(Ii)>(Mimi)ε. As ε>0 was arbitrary, ωf(Ii)Mimi: otherwise ε:=(Mimi)ωf(Ii) would be positive and give ωf(Ii)>ωf(Ii).

This identity is what connects the Darboux machinery to the pointwise oscillation of The oscillation ωf(S)=sup{f(x)f(y):x,yS} of f on a set and the oscillation ωf(c)=infδ>0ωf(ANδ(c)) at a point, both taken in the extended reals, and it is the hinge of Lebesgue's criterion for Riemann integrability: a bounded f on [a,b] is Riemann integrable if and only if its set of discontinuities has measure zero.

Remarks

LemmaStatement: Literature-sourcedProof: AI-adaptedprecheck passjudge pass (z-ai/glm-5.2)audited 2026-07-28Open item page →

Refining a partition raises the lower Darboux sum and lowers the upper one, and every lower sum is at most every upper sum: L(f,P)L(f,P)U(f,P)U(f,P) when P refines P, and L(f,P)U(f,Q) for arbitrary partitions P and Q; moreover the two changes are at most 2M(nn)P

Statement

Let a<b be reals and let f:[a,b]R be bounded, say f(x)M for every x[a,b] with M0 real (Lower bound, bounded below, bounded set). Darboux sums are those of For bounded f on [a,b] and a partition P: the infimum mi and supremum Mi of f on the i-th subinterval, and the lower and upper Darboux sums L(f,P)=imiΔi and U(f,P)=iMiΔi and partitions those of Partition of [a,b] as a finite strictly increasing list a=t0<t1<<tn=b, its subintervals and their lengths, its mesh, refinement, and the common refinement of two partitions. Then:

  1. Refinement. If P=(n,t) refines P=(n,t) then L(f,P)    L(f,P)    U(f,P)    U(f,P).
  2. Every lower sum is at most every upper sum. For arbitrary partitions P and Q of [a,b], L(f,P)    U(f,Q).
  3. Quantitative form. If P=(n,t) refines P=(n,t) then 0    U(f,P)U(f,P)    2M(nn)P,0    L(f,P)L(f,P)    2M(nn)P.

Notation. In claim 3 the natural number nn multiplies a real, and as in clause 2 of Laws of finite sums and finite products it stands there for its canonical natural ι(nn)R (The canonical natural ι(n)=n1F of a field); ι is additive and nondecreasing on N (Canonical naturals are positive and strictly increasing). The same abbreviation is used throughout the proof.

Claims 1 and 2 are what make The lower and upper Darboux integrals of a bounded f on [a,b] as supPL(f,P) and infPU(f,P), Darboux integrability as their equality, and the notation abf well posed. Claim 3 is the extra information that a refinement changes the sums by an amount controlled by the mesh of the coarse partition and by how many points were added; it is what The Darboux and Riemann definitions agree: a bounded f on [a,b] is Darboux integrable with integral I if and only if for every real ε>0 there is a real δ>0 such that S(f,P,ξ)I<ε for every tagged partition of mesh below δ needs and nothing else on this page uses it. Here nn0 (Partition of [a,b] as a finite strictly increasing list a=t0<t1<<tn=b, its subintervals and their lengths, its mesh, refinement, and the common refinement of two partitions), so the right-hand bounds are nonnegative.

Facts & Assumptions

Given: Reals a<b, a bounded f:[a,b]R with f(x)M for all x[a,b] and M0 real, and partitions P=(n,t) and P=(n,t) of [a,b] with P refining P.

[L1]

A refinement carries an index map φ with φ(0)=0, φ(n)=n and φ(i)<φ(i+1) for i<n; hence φ(k)k for kn and nn. For i<n and φ(i)j<φ(i+1) one has IjIi, and j=φ(i)φ(i+1)1Δj=Δi. Every Δi satisfies 0<ΔiP, and i<nΔi=ba (Partition of [a,b] as a finite strictly increasing list a=t0<t1<<tn=b, its subintervals and their lengths, its mesh, refinement, and the common refinement of two partitions).

[L3]

With mi=inff[Ii] and Mi=supf[Ii]: Mmif(x)MiM for xIi, L(f,P)=i<nmiΔi, U(f,P)=i<nMiΔi, and L(f,R)U(f,R) for every partition R (For bounded f on [a,b] and a partition P: the infimum mi and supremum Mi of f on the i-th subinterval, and the lower and upper Darboux sums L(f,P)=imiΔi and U(f,P)=iMiΔi, Intervals of R: the nine order-convex forms, nondegeneracy, and length).

[L4]

If STR and T is bounded above then supSsupT (Monotonicity of the supremum under inclusion); dually, if T is bounded below then infSinfT, since infT is a lower bound of T and hence of S, and infS is the greatest lower bound of S (Greatest lower bound (infimum), Every nonempty set bounded below has an infimum).

[L5]

Finite sums: splitting j<qcj=j<pcj+j=pq1cj for pq, additivity, scaling, monotonicity in the terms, and telescoping (Finite sums and finite products, by recursion, Laws of finite sums and finite products).

[L7]

Ordered-field arithmetic: adding a constant and multiplying by a nonnegative quantity preserve an inequality, and 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, The multiplicative identity is positive, Ordered field, Complete ordered field (least-upper-bound property)). 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.

[L8]

A natural number multiplying a real means its canonical natural ι(); ι(0)=0, ι(p+q)=ι(p)+ι(q), ι(p)0, and pq implies ι(p)ι(q) (The canonical natural ι(n)=n1F of a field, Canonical naturals are positive and strictly increasing, Laws of finite sums and finite products).

Proof

technique · induction
1.1

Fix the index map φ of [L1] and, for kn, put Ak:=j<φ(k)MjΔj, Bk:=i<kMiΔi, Ak:=j<φ(k)mjΔj and Bk:=i<kmiΔi; let Q(k) be the conjunction Bk2MP(φ(k)k)AkBk and BkAkBk+2MP(φ(k)k). The proof is an induction on k using [L6].

givenL1L6construct
1.2

Base, k=0. All four sums are empty, hence 0, and φ(0)0=0, so Q(0) reads 000 twice.

baseL1L5
1.3

Induction hypothesis. Fix k<n and assume Q(k).

ihgiven
2.1

Put β:=j=φ(k)φ(k+1)1MjΔj and γ:=j=φ(k)φ(k+1)1mjΔj. For φ(k)j<φ(k+1) one has IjIk, hence f[Ij]f[Ik], hence mkmjMjMk by [L4] and [L3]; also MjM and mjM by [L3].

step 1.1L1L3L4
3.1

Since Δj>0 and the lengths in the block sum to Δk by [L1], monotonicity and scaling of finite sums ([L5]) give mkΔkγβMkΔk and MΔkγβMΔk.

step 2.1L1L5L7
4.1

Both MkΔkβ and γmkΔk lie in [0, 2MP(φ(k+1)φ(k)1)]. Nonnegativity is step 3.1. If φ(k+1)=φ(k)+1 the block is the single index j=φ(k), and then Ij=Ik by [L1], so Mj=Mk, mj=mk, Δj=Δk and both quantities are 0. Otherwise φ(k+1)φ(k)11, and by step 3.1 and [L3] each quantity is at most MΔk+MΔk=2MΔk2MP, hence at most 2MP(φ(k+1)φ(k)1).

step 2.1step 3.1L1L3L5L7L8
5.1

The upper half of Q(k+1). By the splitting law [L5], Ak+1=Ak+β and Bk+1=Bk+MkΔk. From step 1.3 and step 3.1, Ak+1Bk+MkΔk=Bk+1; and from step 1.3 and step 4.1, Ak+1Bk2MP(φ(k)k)+MkΔk2MP(φ(k+1)φ(k)1)=Bk+12MP(φ(k+1)(k+1)).

step 1.3step 3.1step 4.1L5L7L8
5.2

The lower half of Q(k+1). Likewise Ak+1=Ak+γ and Bk+1=Bk+mkΔk, so step 1.3 with step 3.1 gives Ak+1Bk+1, and step 1.3 with step 4.1 gives Ak+1Bk+2MP(φ(k)k)+mkΔk+2MP(φ(k+1)φ(k)1)=Bk+1+2MP(φ(k+1)(k+1)). So Q(k+1) holds.

step 1.3step 3.1step 4.1L5L7L8
6.1

By [L6] with steps 1.2, 1.3, 5.1 and 5.2, Q(k) holds for every kn. Taking k=n and using φ(n)=n from [L1]: An=U(f,P), Bn=U(f,P), An=L(f,P) and Bn=L(f,P), so U(f,P)2MP(nn)U(f,P)U(f,P) and L(f,P)L(f,P)L(f,P)+2MP(nn). With L(f,P)U(f,P) from [L3] this is claim 1, and it is claim 3.

step 1.2step 1.3step 5.1step 5.2L1L3L6L8
7.1

Claim 2. Let P and Q be arbitrary partitions of [a,b] and let R:=PQ, which refines both by [L2]. Applying step 6.1 to the pair (P,R) and to the pair (Q,R) gives L(f,P)L(f,R)U(f,R)U(f,Q), the middle inequality by [L3]. All three claims are now established, the first and third in step 6.1 from the completed induction and the second here.

step 6.1L2L3L6discharge-induction

Remarks

DefinitionDefinition: Literature-sourcedProof: Not applicablejudge pass (z-ai/glm-5.2)audited 2026-07-28Open item page →

The lower and upper Darboux integrals of a bounded f on [a,b] as supPL(f,P) and infPU(f,P), Darboux integrability as their equality, and the notation abf

Definition

Let a<b be reals and let f:[a,b]R be bounded (Lower bound, bounded below, bounded set). Write P for the set of all partitions of [a,b] (Partition of [a,b] as a finite strictly increasing list a=t0<t1<<tn=b, its subintervals and their lengths, its mesh, refinement, and the common refinement of two partitions) and put

L  :=  {L(f,P) : PP},U  :=  {U(f,P) : PP}

for the sets of lower and of upper Darboux sums (For bounded f on [a,b] and a partition P: the infimum mi and supremum Mi of f on the i-th subinterval, and the lower and upper Darboux sums L(f,P)=imiΔi and U(f,P)=iMiΔi).

Both extrema exist

P is nonempty: the pair (1,t) with t0:=a and tk:=b for k1 is a partition of [a,b], since a<b. So L and U are nonempty.

L is bounded above and U is bounded below. Fix any QP. By claim 2 of Refining a partition raises the lower Darboux sum and lowers the upper one, and every lower sum is at most every upper sum: L(f,P)L(f,P)U(f,P)U(f,P) when P refines P, and L(f,P)U(f,Q) for arbitrary partitions P and Q; moreover the two changes are at most 2M(nn)P, L(f,P)U(f,Q) for every PP, so U(f,Q) is an upper bound of L; and L(f,Q)U(f,P) for every P, so L(f,Q) is a lower bound of U.

Hence a nonempty set bounded above has a supremum (Complete ordered field (least-upper-bound property)) and a nonempty set bounded below has an infimum (Every nonempty set bounded below has an infimum, Greatest lower bound (infimum)), each unique (Suprema and infima are unique). The lower and upper Darboux integrals of f over [a,b] are the real numbers

abf  :=  supL  =  supPL(f,P),abf  :=  infU  =  infPU(f,P).

The lower integral never exceeds the upper one

abf    abf.

Indeed, for each fixed QP the number U(f,Q) is an upper bound of L, so the least upper bound satisfies abfU(f,Q). As Q was arbitrary, abf is a lower bound of U, and the greatest lower bound satisfies abfabf (Greatest lower bound (infimum)).

Moreover, for every partition P,

L(f,P)    abf    abf    U(f,P),

the outer inequalities because a member of a set is at most its supremum and at least its infimum.

Integrability

f is Darboux integrable on [a,b], and on this page simply integrable, when

abf  =  abf,

and then the common value is written

abforabf(x)dx,

the integral of f over [a,b]. It is a single well-determined real number, being the common value of two numbers each of which is unique (Suprema and infima are unique). Without the displayed equality the symbol abf is not defined and is never written.

The inequality above is the whole difficulty. By the previous paragraph integrability is never a question of one integral exceeding the other, only of the gap abfabf0 being 0; and by 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)<ε that gap is 0 exactly when a single partition can be found making U(f,P)L(f,P) small. Whether that is possible is settled completely, in terms of the discontinuities of f, by Lebesgue's criterion for Riemann integrability: a bounded f on [a,b] is Riemann integrable if and only if its set of discontinuities has measure zero.

"Riemann integrable" means the same thing here. The definition above is Darboux's. Riemann's own definition, in terms of tagged partitions of small mesh, is Tagged partitions of [a,b], with a tag ξi in each subinterval, and the Riemann sum S(f,P,ξ)=if(ξi)Δi, and the two define the same class of functions with the same integral by The Darboux and Riemann definitions agree: a bounded f on [a,b] is Darboux integrable with integral I if and only if for every real ε>0 there is a real δ>0 such that S(f,P,ξ)I<ε for every tagged partition of mesh below δ. Until that theorem is proved the two phrases are kept apart; after it they are used interchangeably, as they are throughout the literature.

Remarks

LemmaStatement: Literature-sourcedProof: AI-adaptedprecheck passverified 2026-08-09 (gpt-5.6-terra-codex-subscription)Open item page →

If mfM on [a,b] then m(ba)L(f,P)abfabfU(f,P)M(ba) for every partition P; in particular every constant function is integrable, with abc=c(ba)

Statement

Let a<b be reals and let f:[a,b]R satisfy

m    f(x)    Mfor every x[a,b],

with m,M real. Then f is bounded (Lower bound, bounded below, bounded set), so its Darboux sums and integrals are defined (For bounded f on [a,b] and a partition P: the infimum mi and supremum Mi of f on the i-th subinterval, and the lower and upper Darboux sums L(f,P)=imiΔi and U(f,P)=iMiΔi, The lower and upper Darboux integrals of a bounded f on [a,b] as supPL(f,P) and infPU(f,P), Darboux integrability as their equality, and the notation abf), and for every partition P of [a,b] (Partition of [a,b] as a finite strictly increasing list a=t0<t1<<tn=b, its subintervals and their lengths, its mesh, refinement, and the common refinement of two partitions)

m(ba)    L(f,P)    abf    abf    U(f,P)    M(ba).

In particular, taking f to be the constant function with value c:

abc  =  c(ba),

the constant function being integrable, with L(f,P)=U(f,P)=c(ba) for every partition P.

Facts & Assumptions

Given: Reals a<b, reals mM, and f:[a,b]R with mf(x)M for every x[a,b]. Let P=(n,t) be a partition of [a,b], with subintervals Ii and lengths Δi for i<n.

[L2]

mi=inff[Ii] and Mi=supf[Ii] exist, L(f,P)=i<nmiΔi and U(f,P)=i<nMiΔi, and mif(x)Mi for xIi (For bounded f on [a,b] and a partition P: the infimum mi and supremum Mi of f on the i-th subinterval, and the lower and upper Darboux sums L(f,P)=imiΔi and U(f,P)=iMiΔi).

[L3]

L(f,P)abfabfU(f,P) for every partition P; f is integrable exactly when the two integrals are equal, and then abf is their common value (The lower and upper Darboux integrals of a bounded f on [a,b] as supPL(f,P) and infPU(f,P), Darboux integrability as their equality, and the notation abf).

[L4]

An infimum is the greatest lower bound and a supremum the least upper bound; a set with a single element has that element as both (Greatest lower bound (infimum), Complete ordered field (least-upper-bound property), Maximum and minimum of a set).

[L5]

Finite sums: scaling, monotonicity in the terms, and i<nλΔi=λi<nΔi (Finite sums and finite products, by recursion, Laws of finite sums and finite products).

[L6]

Ordered-field arithmetic: multiplying an inequality by a positive quantity preserves it, adding a constant preserves it, and the order is transitive; xmax{m,M} whenever mxM (Order is preserved by adding a constant and by adding inequalities, Sign rules for products and monotonicity of multiplication, Basic properties of the absolute value, Ordered field, Complete ordered field (least-upper-bound property)). 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.

Proof

technique · direct
1.1

f is bounded: f(x)max{m,M} for every x[a,b] by [L6], so the Darboux sums and integrals of [L2] and [L3] are defined.

givenL6
1.2

For every i<n: m is a lower bound of f[Ii] and M an upper bound, since Ii[a,b]; the set f[Ii] is nonempty by [L1]. Hence mmi and MiM by [L4].

givenL1L2L4
1.3

The constant case, treated on its own. Suppose in addition that f is the constant function with value c, that is f(x)=c for every x[a,b]; the general argument below does not use this supposition. Then f[Ii]={c} for every i<n by [L1], so mi=Mi=c by [L4], and L(f,P)=U(f,P)=i<ncΔi=c(ba) by [L5] and [L1].

L1L2L4L5
2.1

L(f,P)m(ba): by step 1.2 and Δi>0 one has miΔimΔi for every i<n, so monotonicity and scaling in [L5] give L(f,P)i<nmΔi=mi<nΔi=m(ba) by [L1].

step 1.2L1L5L6
2.2

U(f,P)M(ba): the same argument with MiM gives U(f,P)i<nMΔi=M(ba).

step 1.2L1L5L6
3.1

Combining steps 2.1 and 2.2 with the chain of [L3] gives the displayed five-term inequality for every partition P.

step 2.1step 2.2L3
4.1

Hence, still under the supposition of step 1.3 that f is constant with value c, the set of lower sums and the set of upper sums are both {c(ba)}, so abf=abf=c(ba) by [L4], f is integrable, and abc=c(ba) by [L3].

step 1.3L3L4

Remarks

TheoremStatement: Literature-sourcedProof: AI-adaptedprecheck passjudge pass (z-ai/glm-5.2)audited 2026-07-28Open item page →

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)<ε

Statement

Let a<b be reals and let f:[a,b]R be bounded (Lower bound, bounded below, bounded set). Then f is Darboux integrable on [a,b] (The lower and upper Darboux integrals of a bounded f on [a,b] as supPL(f,P) and infPU(f,P), Darboux integrability as their equality, and the notation abf) if and only if

for every real ε>0 there is a partition P of [a,b] with U(f,P)L(f,P)<ε

(For bounded f on [a,b] and a partition P: the infimum mi and supremum Mi of f on the i-th subinterval, and the lower and upper Darboux sums L(f,P)=imiΔi and U(f,P)=iMiΔi, Partition of [a,b] as a finite strictly increasing list a=t0<t1<<tn=b, its subintervals and their lengths, its mesh, refinement, and the common refinement of two partitions).

This is the criterion every later integrability proof on this page uses. It replaces a statement about a supremum and an infimum over all partitions, which cannot be checked directly, by the exhibition of a single partition for each ε. The criterion says nothing about the value of the integral; that is located separately, by If mfM on [a,b] then m(ba)L(f,P)abfabfU(f,P)M(ba) for every partition P; in particular every constant function is integrable, with abc=c(ba), between L(f,P) and U(f,P) for the same P.

Facts & Assumptions

Given: Reals a<b and a bounded f:[a,b]R.

[A1]

The criterion: for every real ε>0 there is a partition P of [a,b] with U(f,P)L(f,P)<ε.

[L1]
[L2]

ε-characterisation of the supremum: if u=supS with S nonempty then for every real ε>0 there is sS with s>uε (Epsilon characterisation of the supremum). Dually, if =infS then for every real ε>0 there is sS with s<+ε (Epsilon characterisation of the infimum, Greatest lower bound (infimum)).

[L4]

Ordered-field arithmetic: adding a constant to both sides preserves an inequality, the order is total and transitive, and t21>0 for t>0 (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)). 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.

Proof

technique · direct
1.1

Write D:=abfabf, a real number with D0 by [L1]; f is integrable exactly when D=0.

L1
1.2

The criterion is sufficient. Assume [A1] and let a real ε>0 be given. Fix a partition P with U(f,P)L(f,P)<ε. By [L1], abfL(f,P) and abfU(f,P), so DU(f,P)L(f,P)<ε.

A1L1L4choose
1.3

The criterion is necessary; this half of the proof is steps 1.3, 2.2 and 3.1, and its symbols are its own. Assume f is integrable and write I for the common value abf=abf. Let a real η>0 be given; then η21>0 by [L4].

L1L4
2.1

So 0D<ε for every real ε>0. If D>0, taking ε:=D gives D<D, which is false; hence D=0 and f is integrable by step 1.1.

step 1.1step 1.2L4
2.2

By [L2] applied to L, whose supremum is I, there is a partition P1 with L(f,P1)>Iη21; by [L2] applied to U, whose infimum is I, there is a partition P2 with U(f,P2)<I+η21.

step 1.3L1L2choose
3.1

Put P:=P1P2, which refines both by [L3]. Then L(f,P)L(f,P1)>Iη21 and U(f,P)U(f,P2)<I+η21, so U(f,P)L(f,P)<η by [L4]. Since η>0 was arbitrary, the criterion holds.

step 2.2L3L4
4.1

Steps 1.2 and 2.1 give the implication from the criterion to integrability, and steps 1.3, 2.2 and 3.1 give the converse; the two halves are independent and use no symbol in common, and together they are the stated equivalence.

step 2.1step 3.1

Remarks

DefinitionDefinition: AI-adaptedProof: Not applicablejudge pass (z-ai/glm-5.2)audited 2026-07-28Open item page →

Tagged partitions of [a,b], with a tag ξi in each subinterval, and the Riemann sum S(f,P,ξ)=if(ξi)Δi

Definition

Let a<b be reals and let P=(n,t) be a partition of [a,b], with subintervals Ii=[ti,ti+1] and lengths Δi=ti+1ti for i<n (Partition of [a,b] as a finite strictly increasing list a=t0<t1<<tn=b, its subintervals and their lengths, its mesh, refinement, and the common refinement of two partitions).

A tagging of P is a sequence ξ:NR (Sequences of reals: bounded, eventually, frequently, tails, subsequences) with

ξi    Iifor every i<n,ξk:=b  for kn,

the second clause being the same bookkeeping tail convention that Partition of [a,b] as a finite strictly increasing list a=t0<t1<<tn=b, its subintervals and their lengths, its mesh, refinement, and the common refinement of two partitions uses, so that ξ is a genuine sequence and no index above n is ever read. The pair (P,ξ) is a tagged partition of [a,b], and ξi is the tag of the i-th subinterval. The mesh of a tagged partition is the mesh P of its underlying partition.

Taggings exist, and no choice is involved in producing one. Setting ξi:=ti for i<n and ξk:=b for kn defines a tagging, since ti[ti,ti+1]=Ii (Intervals of R: the nine order-convex forms, nondegeneracy, and length). So every partition carries at least one tagging, exhibited by a formula. What is a selection is choosing a tag in each subinterval subject to a condition, as The Darboux and Riemann definitions agree: a bounded f on [a,b] is Darboux integrable with integral I if and only if for every real ε>0 there is a real δ>0 such that S(f,P,ξ)I<ε for every tagged partition of mesh below δ does; there the family of choices is finite and the selection is a theorem of ZF.

For f:[a,b]R and a tagged partition (P,ξ) the Riemann sum of f is

S(f,P,ξ)  :=  i<nf(ξi)Δi,

the finite sum of Finite sums and finite products, by recursion, indexed by iN with i<n. It is a real number, being a finite sum of reals, and it is defined for every f, bounded or not: no supremum or infimum of f occurs in it.

A Riemann sum lies between the Darboux sums of the same partition

Suppose in addition that f is bounded (Lower bound, bounded below, bounded set), so that the Darboux sums of For bounded f on [a,b] and a partition P: the infimum mi and supremum Mi of f on the i-th subinterval, and the lower and upper Darboux sums L(f,P)=imiΔi and U(f,P)=iMiΔi are defined. Then for every tagging ξ of P,

L(f,P)    S(f,P,ξ)    U(f,P).

Indeed ξiIi gives mif(ξi)Mi (For bounded f on [a,b] and a partition P: the infimum mi and supremum Mi of f on the i-th subinterval, and the lower and upper Darboux sums L(f,P)=imiΔi and U(f,P)=iMiΔi), and multiplying by Δi>0 and summing over i<n preserves the two inequalities, by monotonicity of finite sums, clause 4 of Laws of finite sums and finite products, and the order axioms (Ordered field, Complete ordered field (least-upper-bound property)).

This one line is the whole of the easy half of The Darboux and Riemann definitions agree: a bounded f on [a,b] is Darboux integrable with integral I if and only if for every real ε>0 there is a real δ>0 such that S(f,P,ξ)I<ε for every tagged partition of mesh below δ: whatever the tags, a Riemann sum is trapped between the two Darboux sums, so control of U(f,P)L(f,P) is control of every Riemann sum over P at once.

Remarks

TheoremStatement: Literature-sourcedProof: AI-adaptedprecheck passjudge pass (z-ai/glm-5.2)audited 2026-07-28Open item page →

The Darboux and Riemann definitions agree: a bounded f on [a,b] is Darboux integrable with integral I if and only if for every real ε>0 there is a real δ>0 such that S(f,P,ξ)I<ε for every tagged partition of mesh below δ

Statement

Let a<b be reals, let f:[a,b]R be bounded (Lower bound, bounded below, bounded set) and let IR. The following are equivalent.

  1. (Darboux) f is Darboux integrable on [a,b] with abf=I (The lower and upper Darboux integrals of a bounded f on [a,b] as supPL(f,P) and infPU(f,P), Darboux integrability as their equality, and the notation abf).
  2. (Riemann) For every real ε>0 there is a real δ>0 such that S(f,P,ξ)I  <  ε for every tagged partition (P,ξ) of [a,b] with P<δ (Tagged partitions of [a,b], with a tag ξi in each subinterval, and the Riemann sum S(f,P,ξ)=if(ξi)Δi, Partition of [a,b] as a finite strictly increasing list a=t0<t1<<tn=b, its subintervals and their lengths, its mesh, refinement, and the common refinement of two partitions).

The quantifier over tagged partitions is universal, and that is the content. Condition 2 constrains every tagged partition of small mesh at once, tags included; it is not a statement about one sequence of tagged partitions, and it cannot be weakened to one. The companion page of this pair exhibits a non-integrable function whose Riemann sums are constant along such a sequence.

Boundedness is a hypothesis of both conditions as stated here. Condition 1 presupposes it, since the Darboux sums of an unbounded function do not exist (For bounded f on [a,b] and a partition P: the infimum mi and supremum Mi of f on the i-th subinterval, and the lower and upper Darboux sums L(f,P)=imiΔi and U(f,P)=iMiΔi); condition 2 makes sense for unbounded f as well, and in fact implies boundedness, but that implication is not proved here and is not used: every application on this page starts from a bounded f.

Facts & Assumptions

Given: Reals a<b, a bounded f:[a,b]R, a real M0 with f(x)M for every x[a,b], and a real I. Put M+:=M+1, so M+>0 and f(x)M+ for every x.

[L1]

For a partition P=(n,t) of [a,b]: n1, the subintervals Ii=[ti,ti+1] are nonempty, Δi=ti+1ti>0, i<nΔi=ba, and P=max{Δi:i<n}. The uniform partition UN into N1 parts has UN=(ba)/ι(N). The common refinement PP0 refines both, and nPP0nP+nP01 (Partition of [a,b] as a finite strictly increasing list a=t0<t1<<tn=b, its subintervals and their lengths, its mesh, refinement, and the common refinement of two partitions, Intervals of R: the nine order-convex forms, nondegeneracy, and length).

[L2]

L(f,P)=i<nmiΔi and U(f,P)=i<nMiΔi with mi=inff[Ii] and Mi=supf[Ii]; L(f,P)abfabfU(f,P); f is integrable exactly when the two integrals coincide, and then abf is their common value (For bounded f on [a,b] and a partition P: the infimum mi and supremum Mi of f on the i-th subinterval, and the lower and upper Darboux sums L(f,P)=imiΔi and U(f,P)=iMiΔi, The lower and upper Darboux integrals of a bounded f on [a,b] as supPL(f,P) and infPU(f,P), Darboux integrability as their equality, and the notation abf).

[L3]

S(f,P,ξ)=i<nf(ξi)Δi for a tagging ξ of P, and L(f,P)S(f,P,ξ)U(f,P) when f is bounded (Tagged partitions of [a,b], with a tag ξi in each subinterval, and the Riemann sum S(f,P,ξ)=if(ξi)Δi).

[L4]

Riemann's criterion: a bounded f is integrable if and only if for every real ε>0 there is a partition P with U(f,P)L(f,P)<ε (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)<ε).

[L5]

If P refines P then L(f,P)L(f,P), U(f,P)U(f,P), and moreover U(f,P)U(f,P)2M+ι(nn)P and L(f,P)L(f,P)2M+ι(nn)P (Refining a partition raises the lower Darboux sum and lowers the upper one, and every lower sum is at most every upper sum: L(f,P)L(f,P)U(f,P)U(f,P) when P refines P, and L(f,P)U(f,Q) for arbitrary partitions P and Q; moreover the two changes are at most 2M(nn)P).

[L6]

ε-characterisations: if u=supS with S nonempty then for every real η>0 there is sS with s>uη; dually for the infimum (Epsilon characterisation of the supremum, Epsilon characterisation of the infimum).

[L7]

A family of nonempty sets indexed by a natural number n has a choice function, and this is a theorem of ZF; the family used below is indexed by i<n, which is exactly that listed form. Every natural-number-indexed list of nonempty sets has a choice function on its family of values states it in that form and expressly declines to identify it with "every finite family of nonempty sets has a choice function", no definition of finiteness being available where it is proved (Every natural-number-indexed list of nonempty sets has a choice function on its family of values, Choice function).

[L8]

For every real η>0 there is a natural N1 with 1/ι(N)<η; ι is nonnegative, additive and nondecreasing on N, and ι(N)>0 for N1 (For every ε>0 in a complete ordered field there is a natural n1 with 1/n<ε, Every complete ordered field is Archimedean, The canonical natural ι(n)=n1F of a field, Canonical naturals are positive and strictly increasing).

[L9]

Finite sums: additivity, scaling, monotonicity in the terms (Finite sums and finite products, by recursion, Laws of finite sums and finite products).

[L10]

Ordered-field arithmetic and the absolute value: adding a constant and multiplying by a positive quantity preserve an inequality; the order is total and transitive; x<c exactly when c<x<c for c>0 (Basic properties of the absolute value, Order is preserved by adding a constant and by adding inequalities, Sign rules for products and monotonicity of multiplication, The multiplicative identity is positive, Ordered field, Complete ordered field (least-upper-bound property)). 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.

Proof

technique · direct
1.1

Condition 2 implies condition 1. Assume condition 2 and let a real ε>0 be given. Fix δ>0 as in condition 2 for this ε, and put θ:=ε/(ba)>0 by [L10].

givenL10choose
1.2

Condition 1 implies condition 2; this half of the proof is steps 1.2, 2.2, 2.3, 3.3, 4.2, 5.2 and 6.2, and its symbols are its own. Assume f is integrable with abf=I and let a real η>0 be given. By [L4] fix a partition P0=(n0,t0) with U(f,P0)L(f,P0)<η21.

givenL4L10choose
2.1

A partition of mesh below δ exists: by [L8] fix N1 with 1/ι(N)<δ/(ba) and take P:=UN, so P=(ba)/ι(N)<δ by [L1] and [L10]. Write P=(n,t).

step 1.1L1L8L10choose
2.2

By [L2] and integrability, L(f,P0)abf=I=abfU(f,P0). Hence U(f,P0)IU(f,P0)L(f,P0)<η21 and IL(f,P0)U(f,P0)L(f,P0)<η21, that is U(f,P0)<I+η21 and L(f,P0)>Iη21.

step 1.2L2L10
2.3

Put δ0:=η(8M+ι(n0))1, a positive real since M+>0 and ι(n0)>0 by [L8] and n01 by [L1].

step 1.2L1L8L10construct
3.1

For each i<n the set Xi:={xIi:f(x)>Miθ} is nonempty by [L6], since Mi=supf[Ii] and f[Ii] is nonempty by [L1]. By [L7] the finite family {Xi:i<n} has a choice function g; put ξi:=g(Xi) for i<n and ξk:=b for kn, a tagging of P.

step 2.1L1L2L6L7choose
3.2

Likewise the sets Yi:={xIi:f(x)<mi+θ} are nonempty by [L6], and [L7] supplies a tagging ζ of P with ζiYi for i<n.

step 2.1L1L2L6L7choose
3.3

Let (Q,υ) be any tagged partition of [a,b] with Q<δ0, and write Q=(nQ,u) and R:=QP0, with R=(nR,r). By [L1], R refines both Q and P0, and nRnQn01, so ι(nRnQ)ι(n0) by [L8].

step 2.3L1L8given
4.1

S(f,P,ξ)U(f,P)ε: by step 3.1, f(ξi)Miθ for i<n, so multiplying by Δi>0 and summing gives S(f,P,ξ)i<n(Miθ)Δi=U(f,P)θi<nΔi=U(f,P)θ(ba)=U(f,P)ε, by [L9], [L1] and [L3]. Symmetrically S(f,P,ζ)L(f,P)+ε.

step 3.1step 3.2L1L3L9L10
4.2

By [L5] applied to the refinement R of Q, U(f,Q)U(f,R)2M+ι(nRnQ)Q2M+ι(n0)δ0=η41, and likewise L(f,R)L(f,Q)η41.

step 2.3step 3.3L5L8L10
5.1

By condition 2 both S(f,P,ξ)I<ε and S(f,P,ζ)I<ε, since P<δ. Hence U(f,P)S(f,P,ξ)+ε<I+2ε and L(f,P)S(f,P,ζ)ε>I2ε, by step 4.1 and [L10].

step 1.1step 2.1step 4.1L10
5.2

By [L5] applied to the refinement R of P0, U(f,R)U(f,P0) and L(f,R)L(f,P0). Combining with step 4.2 and step 2.2: U(f,Q)U(f,R)+η41U(f,P0)+η41<I+η21+η41, and symmetrically L(f,Q)>Iη21η41.

step 2.2step 3.3step 4.2L5L10
6.1

By [L2], abfU(f,P)<I+2ε and abfL(f,P)>I2ε, and since abfabf by [L2], both integrals lie strictly between I2ε and I+2ε; in particular abfI2ε and abfI2ε.

step 5.1L2L10
6.2

By [L3], L(f,Q)S(f,Q,υ)U(f,Q), so step 5.2 gives Iη21η41<S(f,Q,υ)<I+η21+η41, whence S(f,Q,υ)I<η21+η41<η by [L10]. Since (Q,υ) was an arbitrary tagged partition of mesh below δ0, condition 2 holds with this δ0.

step 5.2L3L10
7.1

Step 6.1 holds for every real ε>0. If abfI, taking ε:=abfI41>0 would give abfIabfI21, which is false for a positive quantity; so abf=I, and the same argument gives abf=I. Hence f is integrable with abf=I by [L2], which is condition 1.

step 6.1L2L10
8.1

Steps 1.1, 2.1, 3.1, 3.2, 4.1, 5.1, 6.1 and 7.1 prove that condition 2 implies condition 1; steps 1.2, 2.2, 2.3, 3.3, 4.2, 5.2 and 6.2 prove the converse. The two halves share no symbol, the first working with ε,δ,P,ξ,ζ,θ and the second with η,δ0,P0,Q,υ,R, and together they give the stated equivalence.

step 7.1step 6.2

Remarks

TheoremStatement: Literature-sourcedProof: AI-adaptedprecheck passjudge pass (z-ai/glm-5.2)audited 2026-07-28Open item page →

A continuous function on [a,b] is Riemann integrable, by Heine-Cantor and Riemann's criterion

Statement

Let a<b be reals and let f:[a,b]R be continuous on [a,b] (Continuity of f:AR at a point of A and on A: the ε-δ condition, its agreement with limxcf(x)=f(c) at a limit point, and continuity at an isolated point). Then f is bounded (Lower bound, bounded below, bounded set) and Riemann integrable on [a,b] (The lower and upper Darboux integrals of a bounded f on [a,b] as supPL(f,P) and infPU(f,P), Darboux integrability as their equality, and the notation abf).

The proof gives more than integrability: it gives a partition that works. For every real ε>0 the uniform partition into N parts already satisfies U(f,P)L(f,P)<ε, as soon as N is large enough that (ba)/ι(N) is below the δ that uniform continuity supplies for ε/(2(ba)). Uniform continuity is exactly what makes one δ serve all N subintervals at once, and it is the only place where the compactness of [a,b] is used.

Facts & Assumptions

Given: Reals a<b and a function f:[a,b]R continuous on [a,b].

[L2]

A continuous real function on a compact subset of R is bounded there (A continuous real function on a compact subset of R is bounded).

[L3]

Heine-Cantor: a continuous real function on a compact subset K of R is uniformly continuous on K, that is, for every real η>0 there is a real δ>0 with f(x)f(y)<η for all x,yK with xy<δ (Heine-Cantor in R: a continuous real function on a compact subset of R is uniformly continuous, proved R-natively from sequential compactness, Uniform continuity of f:AR: one δ serving every pair of points of A).

[L4]

For a partition P=(n,t) of [a,b]: Δi=ti+1ti>0, i<nΔi=ba, and the uniform partition UN into N1 parts has every Δi equal to (ba)/ι(N) (Partition of [a,b] as a finite strictly increasing list a=t0<t1<<tn=b, its subintervals and their lengths, its mesh, refinement, and the common refinement of two partitions).

[L5]

U(f,P)L(f,P)=i<n(Mimi)Δi and Mimi=sup{f(x)f(y):x,yIi} for bounded f (For bounded f on [a,b] and a partition P: the infimum mi and supremum Mi of f on the i-th subinterval, and the lower and upper Darboux sums L(f,P)=imiΔi and U(f,P)=iMiΔi, Laws of finite sums and finite products).

[L6]

Riemann's criterion: a bounded f is integrable if and only if for every real ε>0 there is a partition P with U(f,P)L(f,P)<ε (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)<ε).

[L8]

Finite sums: scaling and monotonicity in the terms (Finite sums and finite products, by recursion, Laws of finite sums and finite products).

[L9]

Ordered-field arithmetic and the absolute value: adding a constant and multiplying by a positive quantity preserve an inequality; the order is total and transitive; x,y[c,d] gives xydc (Basic properties of the absolute value, 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 R: 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.

Proof

technique · direct
1.1

[a,b] is compact by [L1], so f is bounded on [a,b] by [L2] and its Darboux sums and integrals are defined.

givenL1L2
1.2

Let a real ε>0 be given and put η:=ε(2(ba))1, a positive real by [L9] since ba>0.

givenL9
2.1

By [L3] applied to the compact set [a,b] with this η, fix a real δ>0 such that f(x)f(y)<η for all x,y[a,b] with xy<δ.

step 1.1step 1.2L1L3choose
3.1

By [L7] fix a natural N1 with 1/ι(N)<δ(ba)1, and put P:=UN=(N,t), the uniform partition of [a,b] into N parts. Then every Δi equals (ba)/ι(N)<δ by [L4] and [L9].

step 2.1L4L7L9choose
4.1

For each i<N and all x,yIi=[ti,ti+1] one has xyΔi<δ by [L9], hence f(x)f(y)<η by step 2.1. So η is an upper bound of the set {f(x)f(y):x,yIi}, and therefore Mimiη by [L5].

step 2.1step 3.1L5L9
5.1

Consequently U(f,P)L(f,P)=i<N(Mimi)Δii<NηΔi=η(ba)=ε21<ε, using [L5], step 4.1, Δi>0, [L8], [L4] and [L9].

step 4.1L4L5L8L9
6.1

Since the real ε>0 of step 1.2 was arbitrary and step 5.1 produced a partition with U(f,P)L(f,P)<ε, criterion [L6] applies and f is Riemann integrable on [a,b]; it is bounded by step 1.1.

step 1.1step 1.2step 5.1L6

Remarks

TheoremStatement: Literature-sourcedProof: AI-adaptedprecheck passjudge pass (z-ai/glm-5.2)audited 2026-07-28Open item page →

A monotone function on [a,b] is Riemann integrable: for the uniform partition into N parts the upper minus lower sum telescopes to f(b)f(a)(ba)/ι(N)

Statement

Let a<b be reals and let f:[a,b]R be monotone, that is nondecreasing or nonincreasing on [a,b] (Nondecreasing, increasing (strictly increasing), nonincreasing, decreasing, monotone and strictly monotone real functions on a subset of R, with the dictionary to monotone sequences). Then f is bounded (Lower bound, bounded below, bounded set) and Riemann integrable on [a,b] (The lower and upper Darboux integrals of a bounded f on [a,b] as supPL(f,P) and infPU(f,P), Darboux integrability as their equality, and the notation abf).

Moreover, for the uniform partition UN of [a,b] into N1 parts (Partition of [a,b] as a finite strictly increasing list a=t0<t1<<tn=b, its subintervals and their lengths, its mesh, refinement, and the common refinement of two partitions),

U(f,UN)L(f,UN)  =  f(b)f(a)baι(N),

where ι(N) is the canonical natural of N in R (The canonical natural ι(n)=n1F of a field). The right-hand side is an equality, not an estimate: the sum i<N(Mimi) telescopes exactly, because on each subinterval a monotone function attains its extremes at the two endpoints.

No continuity is assumed, and none holds in general: a nondecreasing function may be discontinuous at every rational (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), and the companion page of this pair works out the integral of the floor function, the simplest discontinuous monotone integrand.

Facts & Assumptions

Given: Reals a<b and a monotone f:[a,b]R. Let N1 be a natural number and let UN=(N,t) be the uniform partition of [a,b] into N parts, with subintervals Ii=[ti,ti+1] and lengths Δi=(ba)/ι(N) for i<N.

[L1]

f is nondecreasing, meaning f(x)f(y) whenever xy in [a,b], or nonincreasing, meaning f(x)f(y) whenever xy; these two cases are what "monotone" means and they exhaust it (Nondecreasing, increasing (strictly increasing), nonincreasing, decreasing, monotone and strictly monotone real functions on a subset of R, with the dictionary to monotone sequences).

[L2]

For the uniform partition: t0=a, tN=b, ti<ti+1, every Δi=(ba)/ι(N)>0, and i<NΔi=ba (Partition of [a,b] as a finite strictly increasing list a=t0<t1<<tn=b, its subintervals and their lengths, its mesh, refinement, and the common refinement of two partitions).

[L3]

If a nonempty set SR has a greatest element then that element is supS, and if it has a least element then that element is infS (Maximum and minimum of a set, Greatest lower bound (infimum), Complete ordered field (least-upper-bound property)).

[L5]

Finite sums: scaling and telescoping, i<N(ci+1ci)=cNc0 (Finite sums and finite products, by recursion, Laws of finite sums and finite products).

[L6]

Riemann's criterion: a bounded f is integrable if and only if for every real ε>0 there is a partition P with U(f,P)L(f,P)<ε (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)<ε).

[L8]

Ordered-field arithmetic and the absolute value: adding a constant and multiplying by a positive quantity preserve an inequality; the order is total and transitive; x=x for x0 and x=x for x0 (Basic properties of the absolute value, 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 R: 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.

Proof

technique · cases
1.1

By [L1] there are two cases, f nondecreasing and f nonincreasing, and they exhaust the hypothesis. Every x[a,b] satisfies axb (Intervals of R: the nine order-convex forms, nondegeneracy, and length).

givenL1cases
1.2

Case: f is nondecreasing. Then f(a)f(x)f(b) for every x[a,b], so f is bounded by [L8]; and for i<N and xIi one has tixti+1, hence f(ti)f(x)f(ti+1). Since f(ti) and f(ti+1) themselves lie in f[Ii], they are its least and greatest elements, so mi=f(ti) and Mi=f(ti+1) by [L3].

assume-case upgivenL2L3L8
1.3

Case: f is nonincreasing. Then f(b)f(x)f(a) for every x[a,b], so f is bounded; and for i<N and xIi one has f(ti+1)f(x)f(ti), so mi=f(ti+1) and Mi=f(ti) by [L3].

assume-case downgivenL2L3L8
2.1

In the nondecreasing case, Mimi=f(ti+1)f(ti), so by [L4], [L2] and [L5], U(f,UN)L(f,UN)=i<N(f(ti+1)f(ti))baι(N)=baι(N)(f(tN)f(t0))=baι(N)(f(b)f(a)), and f(b)f(a)0, so this equals f(b)f(a)(ba)/ι(N) by [L8].

step 1.2L2L4L5L8
2.2

In the nonincreasing case the same computation gives U(f,UN)L(f,UN)=baι(N)(f(a)f(b)) with f(a)f(b)0, which is again f(b)f(a)(ba)/ι(N) by [L8]. The two cases of step 1.1 exhaust the hypothesis, so the displayed identity holds for every monotone f, which is also bounded.

step 1.3L2L4L5L8cases-exhaustive
3.1

Let a real ε>0 be given and put η:=ε((f(b)f(a)+1)(ba))1, a positive real by [L8]. By [L7] fix a natural N1 with 1/ι(N)<η.

step 2.2L7L8choose
4.1

Then U(f,UN)L(f,UN)=f(b)f(a)(ba)/ι(N)(f(b)f(a)+1)(ba)/ι(N)<(f(b)f(a)+1)(ba)η=ε: the first inequality because (ba)/ι(N)>0 and f(b)f(a)f(b)f(a)+1, and the second because (f(b)f(a)+1)(ba)>0 and 1/ι(N)<η. So U(f,UN)L(f,UN)<ε.

step 2.1step 2.2step 3.1L8
5.1

Since the real ε>0 was arbitrary and step 4.1 produced a partition with UL<ε, criterion [L6] applies: f is bounded by steps 1.2 and 1.3 and Riemann integrable on [a,b].

step 1.2step 1.3step 4.1L6

Remarks

TheoremStatement: Literature-sourcedProof: AI-adaptedprecheck passjudge pass (z-ai/glm-5.2)audited 2026-07-28Open item page →

A bounded function on [a,b] that is continuous except at finitely many points is Riemann integrable

Statement

Let a<b be reals and let f:[a,b]R be bounded (Lower bound, bounded below, bounded set). Suppose there are rN and points d0,,dr1[a,b] such that f is continuous (Continuity of f:AR at a point of A and on A: the ε-δ condition, its agreement with limxcf(x)=f(c) at a limit point, and continuity at an isolated point) at every point of [a,b] other than d0,,dr1; that is, every discontinuity of f (Discontinuity of f at a point of its domain, and its classification: removable discontinuity, jump discontinuity and essential discontinuity, equivalently Rudin's discontinuities of the first and of the second kind) occurs among those r listed points. Then f is Riemann integrable on [a,b] (The lower and upper Darboux integrals of a bounded f on [a,b] as supPL(f,P) and infPU(f,P), Darboux integrability as their equality, and the notation abf).

For r=0 the hypothesis says f is continuous on [a,b] and the conclusion is A continuous function on [a,b] is Riemann integrable, by Heine-Cantor and Riemann's criterion; the argument below covers that case without a separate treatment. Repetitions in the list are allowed and harmless, and no claim is made that the listed points are discontinuities: the hypothesis is one-sided, so a finite superset of the discontinuity set is enough.

Nothing is said about the kind of the discontinuities. They may be removable, jumps, or essential (Discontinuity of f at a point of its domain, and its classification: removable discontinuity, jump discontinuity and essential discontinuity, equivalently Rudin's discontinuities of the first and of the second kind); only their number matters. Boundedness is a genuine hypothesis, since an unbounded function has no Darboux sums at all (For bounded f on [a,b] and a partition P: the infimum mi and supremum Mi of f on the i-th subinterval, and the lower and upper Darboux sums L(f,P)=imiΔi and U(f,P)=iMiΔi).

Facts & Assumptions

Given: Reals a<b; a bounded f:[a,b]R; a real M+>0 with f(x)M+ for every x[a,b]; and rN with points d0,,dr1[a,b] such that f is continuous at every x[a,b] with xdk for all k<r.

[L1]

For a partition P=(n,t) of [a,b]: n1, Δi=ti+1ti>0, i<nΔi=ba, ΔiP, no tj with jn lies strictly between ti and ti+1, inserting a point does not increase the mesh and adds that point to pts(P), and the uniform partition UN has mesh (ba)/ι(N) (Partition of [a,b] as a finite strictly increasing list a=t0<t1<<tn=b, its subintervals and their lengths, its mesh, refinement, and the common refinement of two partitions).

[L2]

U(f,P)L(f,P)=i<n(Mimi)Δi, Mimi=sup{f(x)f(y):x,yIi}, and 0Mimi2M+ (For bounded f on [a,b] and a partition P: the infimum mi and supremum Mi of f on the i-th subinterval, and the lower and upper Darboux sums L(f,P)=imiΔi and U(f,P)=iMiΔi).

[L3]

Riemann's criterion: a bounded f is integrable if and only if for every real ε>0 there is a partition P with U(f,P)L(f,P)<ε (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)<ε).

[L4]

A closed bounded subset of R is compact, and a continuous real function on a compact subset K of R is uniformly continuous on K: for every real η>0 there is a real δ>0 with g(x)g(y)<η for all x,yK with xy<δ. This holds for K= as well, the condition being vacuous there (A subset of R is compact if and only if it is closed and bounded, Open cover, subcover, compact subset of R (every open cover has a finite subcover), and sequentially compact subset, Heine-Cantor in R: a continuous real function on a compact subset of R is uniformly continuous, proved R-natively from sequential compactness, Uniform continuity of f:AR: one δ serving every pair of points of A).

[L7]

If g:AR is continuous at cA and cBA, then the restriction gB is continuous at c as a function on B: the same δ works, the condition quantifying over fewer points (Continuity of f:AR at a point of A and on A: the ε-δ condition, its agreement with limxcf(x)=f(c) at a limit point, and continuity at an isolated point).

[L8]

Finite sums: splitting, additivity, scaling, monotonicity in the terms, and telescoping (Finite sums and finite products, by recursion, Laws of finite sums and finite products). Also the interchange of two finite sums, i<nk<rci,k=k<ri<nci,k for any doubly indexed family of reals. That identity is not one of the six clauses of Laws of finite sums and finite products and is therefore proved here, by induction on r (The principle of mathematical induction). At r=0 each inner sum k<0ci,k is 0 by the recursion clause of Finite sums and finite products, by recursion, so the left side is i<n0=0 by clause 2 of Laws of finite sums and finite products taken with λ=0, while the right side is an empty sum and so is 0 as well. Passing from r to r+1, the recursion clause and clause 1 of Laws of finite sums and finite products give i<nk<r+1ci,k=i<n(k<rci,k+ci,r)=i<nk<rci,k+i<nci,r, which by the induction hypothesis is k<ri<nci,k+i<nci,r=k<r+1i<nci,k, again by the recursion clause. Note that n is fixed throughout the induction and only r varies.

[L9]

Every nonempty subset of N has a least element (The well-ordering principle).

[L11]

Ordered-field arithmetic and the absolute value: adding a constant and multiplying by a positive quantity preserve an inequality; the order is total and transitive; x,y[c,d] gives xydc (Basic properties of the absolute value, 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 R: 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.

Proof

technique · direct
1.1

Let a real ε>0 be given. Put θ:=ε(4(ba))1 and η:=ε(16M+(ι(r)+1))1, both positive reals by [L10] and [L11].

givenL10L11
2.1

Put V:=k<r(dkη, dk+η), an open set by [L5], and K:=[a,b]V=[a,b](RV), an intersection of two closed sets, hence closed by [L5], and bounded since K[a,b]; so K is compact by [L4].

step 1.1L4L5construct
3.1

f is continuous at every point of K: a point xK is not any dk, since dk(dkη,dk+η)V and K misses V. Hence the restriction fK is continuous on K by [L7].

step 2.1givenL7L11
4.1

By [L4] applied to fK on the compact set K with the value θ, fix a real δ>0 such that f(x)f(y)<θ for all x,yK with xy<δ.

step 2.1step 3.1L4choose
5.1

By [L10] fix a natural N1 with 1/ι(N)<δ(ba)1, so that the uniform partition UN has mesh (ba)/ι(N)<δ by [L1] and [L11]. Let P=(n,t) be the partition obtained from UN by inserting, one after another, those of the 2r points dkη and dk+η with k<r that lie in [a,b]. By [L1] each insertion leaves the mesh no larger, so P<δ, and pts(P) contains every one of those points that lies in [a,b].

step 4.1L1L10L11chooseconstruct
6.1

A dichotomy for each subinterval and each k. Fix i<n and k<r, and write c:=dkη and c+:=dk+η. Neither c nor c+ lies in the open interval (ti,ti+1): if such a point lies in [a,b] it is a member of pts(P) by step 5.1, hence is some tj with jn, and no tj lies strictly between ti and ti+1 by [L1]; and if it lies outside [a,b] it is outside [ti,ti+1] altogether.

step 5.1L1L11
7.1

Consequently either (ti,ti+1)(c,c+)=, or Ii[c,c+]. Suppose the intersection contains a point z and let w(ti,ti+1). If wc then c lies between w and z, both in the order-convex set (ti,ti+1), so c(ti,ti+1), contradicting step 6.1; likewise wc+ is impossible. So (ti,ti+1)(c,c+). Then c<z<ti+1 with c(ti,ti+1) forces cti, and symmetrically c+ti+1, that is Ii[c,c+].

step 6.1L11given
8.1

Call i<n bad when Ii[dkη,dk+η] for some k<r, and good otherwise. If i is good then by step 7.1 the open interval (ti,ti+1) meets no (dkη,dk+η), hence (ti,ti+1)K; since K is closed, [L6] gives Ii=[ti,ti+1]K.

step 2.1step 7.1L6
9.1

For a good i: all x,yIi lie in K and satisfy xyΔiP<δ by [L1] and [L11], so f(x)f(y)<θ by step 4.1; therefore θ bounds the set whose supremum is Mimi, and Mimiθ by [L2].

step 4.1step 5.1step 8.1L1L2L11
9.2

Bounding the bad lengths. For k<r put Jk:={i<n:dkηti and ti+1dk+η}, so that i is bad exactly when iJk for some k<r, and put hik:=Δi for iJk and hik:=0 otherwise. Each Jk is a set of consecutive indices: if i<i<i with i,iJk then dkηtiti and ti+1ti+1dk+η, so iJk.

step 8.1L1L11construct
10.1

i<nhik2η for each k<r. If Jk= the sum is 0. Otherwise let p:=minJk and let q be the least natural with q>p and qJk, which exists by [L9] because nJk; by step 9.2 then Jk={i:pi<q}, since an iJk with iq together with pJk and p<qi would put qJk. Splitting the sum at p and at q and discarding the vanishing outer parts ([L8]) gives i<nhik=i=pq1Δi=tqtp by telescoping, and pJk, q1Jk give tpdkη and tqdk+η, whence tqtp2η.

step 9.2L8L9L11
11.1

Put βi:=Δi for i bad and βi:=0 for i good. Then βik<rhik for every i<n, all terms being nonnegative and a bad i lying in some Jk; so by [L8], i<nβii<nk<rhik=k<ri<nhikk<r2η=2ηι(r), using step 10.1.

step 9.2step 10.1L8L11
12.1

For every i<n one has (Mimi)ΔiθΔi+2M+βi: for good i this is step 9.1 together with βi0, and for bad i it follows from Mimi2M+ in [L2] and βi=Δi, together with θΔi0.

step 9.1step 11.1L2L11
13.1

Summing step 12.1 over i<n and using [L8], [L1] and step 11.1: U(f,P)L(f,P)θi<nΔi+2M+i<nβiθ(ba)+4M+ηι(r)ε41+ε41<ε, the last estimate because 4M+ηι(r)4M+η(ι(r)+1)=ε41 by step 1.1.

step 1.1step 11.1step 12.1L1L2L8L10L11
14.1

The real ε>0 of step 1.1 was arbitrary and step 13.1 produced a partition P with U(f,P)L(f,P)<ε, so [L3] applies and f is Riemann integrable on [a,b].

step 1.1step 13.1L3

Remarks

TheoremStatement: Literature-sourcedProof: AI-adaptedprecheck passjudge pass (z-ai/glm-5.2)audited 2026-07-28Open item page →

Lebesgue's criterion for Riemann integrability: a bounded f on [a,b] is Riemann integrable if and only if its set of discontinuities has measure zero

Statement

Let a<b be reals, let f:[a,b]R be bounded (Lower bound, bounded below, bounded set) and let

D  :=  {x[a,b] : f is discontinuous at x}

(Continuity of f:AR at a point of A and on A: the ε-δ condition, its agreement with limxcf(x)=f(c) at a limit point, and continuity at an isolated point, Discontinuity of f at a point of its domain, and its classification: removable discontinuity, jump discontinuity and essential discontinuity, equivalently Rudin's discontinuities of the first and of the second kind). Then

f is Riemann integrable on [a,b]D has measure zero

(The lower and upper Darboux integrals of a bounded f on [a,b] as supPL(f,P) and infPU(f,P), Darboux integrability as their equality, and the notation abf, Measure zero (a countable cover by intervals of total length below every ε) and content zero (a finite such cover)).

The choice cost, named. The implication from integrability to D being null uses the Axiom of Countable Choice (The Axiom of Countable Choice (ACω)) exactly once, through A countable union of measure-zero sets has measure zero, by countable choice at step 7.1: D is exhibited as the union of a sequence of null sets. The converse implication, from D null to integrability, is a theorem of ZF: it uses no choice principle at all.

"Measure zero" here is the cover condition of Measure zero (a countable cover by intervals of total length below every ε) and content zero (a finite such cover), namely that for every ε>0 there is a sequence of intervals covering D of total length at most ε. No outer measure, no measurable set and no Lebesgue integral is used or needed; the criterion is a statement about interval covers throughout.

Facts & Assumptions

Given: Reals a<b, a bounded f:[a,b]R, a real M+>0 with f(x)M+ for every x[a,b], and D as in the Statement.

[A1]

The Axiom of Countable Choice, used only where [L11] is invoked (The Axiom of Countable Choice (ACω)).

[L1]

For a partition P=(n,t) of [a,b]: n1, Δi=ti+1ti>0, i<nΔi=ba, Ii=[ti,ti+1][a,b], and appending a point y>tn to a partition of [a,tn] gives a partition of [a,y] whose subintervals are the old ones together with [tn,y] (Partition of [a,b] as a finite strictly increasing list a=t0<t1<<tn=b, its subintervals and their lengths, its mesh, refinement, and the common refinement of two partitions).

[L3]

Riemann's criterion: a bounded f is integrable if and only if for every real ε>0 there is a partition P with U(f,P)L(f,P)<ε (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)<ε).

[L4]

Oscillation: ωf(S)ωf(T) for ST[a,b]; 0ωf(x)ωf([a,b]Nρ(x)) for every real ρ>0 and every x[a,b]; ωf(x) is the infimum of those values over ρ>0; and since f is bounded every one of these values is a real number in [0,2M+] (The oscillation ωf(S)=sup{f(x)f(y):x,yS} of f on a set and the oscillation ωf(c)=infδ>0ωf(ANδ(c)) at a point, both taken in the extended reals, The extended real line R=R{,+}, its order, and the arithmetic that is left undefined, The ε-neighbourhood and the punctured ε-neighbourhood of a point of R).

[L6]

For every real σ>0 there is a closed GR with {x[a,b]:ωf(x)σ}=[a,b]G (For every real ε>0 the set {xA:ωf(x)ε} is the intersection with A of a closed subset of R; in particular it is closed in R when A=R).

[L8]

A has content zero when for every real τ>0 there are mN and reals c0e0,,cmem with Ajm[cj,ej] and jm(ejcj)τ; A has measure zero when the same holds with a sequence of intervals and every partial total length at most τ; a subset of a null set is null (Measure zero (a countable cover by intervals of total length below every ε) and content zero (a finite such cover)).

[L9]

A set of content zero has measure zero (A set of content zero has measure zero), and for a compact set the two notions coincide (For a compact subset of R, measure zero and content zero coincide).

[L10]
[L12]

Finite sums: splitting, additivity, scaling, monotonicity in the terms, and telescoping (Finite sums and finite products, by recursion, Laws of finite sums and finite products). Also the interchange of two finite sums, i<nj<pci,j=j<pi<nci,j for any doubly indexed family of reals; below it is applied with p:=m+1, since jm abbreviates j<m+1. That identity is not one of the six clauses of Laws of finite sums and finite products and is therefore proved here, by induction on p with n held fixed (The principle of mathematical induction). At p=0 each inner sum j<0ci,j is 0 by the recursion clause of Finite sums and finite products, by recursion, so the left side is i<n0=0 by clause 2 of Laws of finite sums and finite products taken with λ=0, while the right side is an empty sum and so is 0 as well. Passing from p to p+1, the recursion clause and clause 1 of Laws of finite sums and finite products give i<nj<p+1ci,j=i<n(j<pci,j+ci,p)=i<nj<pci,j+i<nci,p, which by the induction hypothesis is j<pi<nci,j+i<nci,p=j<p+1i<nci,j, again by the recursion clause.

[L13]

Every nonempty subset of N has a least element (The well-ordering principle); every nonempty subset of R bounded above has a supremum (Complete ordered field (least-upper-bound property)).

[L14]

Ordered-field arithmetic and the absolute value: adding a constant and multiplying by a positive quantity preserve an inequality; the order is total and transitive; an open interval is order-convex (Basic properties of the absolute value, 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 R: 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.

Proof

technique · direct
1.1

For a real σ>0 put Eσ:={x[a,b]:ωf(x)σ}. By [L5], EσD for every σ>0.

L4L5construct
2.1

Each Eσ has content zero, assuming f integrable. Let σ>0 and τ>0 be real. By [L3] fix a partition P=(n,t) with U(f,P)L(f,P)<στ21. Let B:={i<n:(ti,ti+1)Eσ} and put χi:=1 for iB and χi:=0 otherwise.

step 1.1L3L14chooseconstruct
2.2

The exhaustion of D. Put σk:=1/ι(k+1) for kN, a positive real by [L10]. Then D=kNEσk. For the inclusion from left to right, let xD, so ωf(x)>0 by [L5] and ωf(x) is a real by [L4]; if ωf(x)1=σ0 then xEσ0, and otherwise [L10] gives a natural k+11 with 1/ι(k+1)<ωf(x), so xEσk. For the reverse inclusion, xEσk gives ωf(x)σk>0, hence xD by [L5].

step 1.1L4L5L10L14
2.3

The converse; this half of the proof is steps 2.3, 3.2, 4.2, 5.2, 6.2, 7.2, 8.1, 9.1, 10.1, 11.1, 12.1 and 13.1, and its symbols are its own. Assume D null and let a real ε>0 be given. Put σ:=ε(2(ba))1 and τ:=ε(8M+)1, both positive by [L14]. By step 1.1 and [L8], EσD is null.

step 1.1givenL8L14
3.1

For iB one has Mimiσ: fix x(ti,ti+1)Eσ; since (ti,ti+1) is open there is a real ρ>0 with Nρ(x)(ti,ti+1), so [a,b]Nρ(x)Ii and [L4] gives σωf(x)ωf([a,b]Nρ(x))ωf(Ii)=Mimi by [L2].

step 2.1L1L2L4L7choose
3.2

Eσ is compact: by [L6] there is a closed G with Eσ=[a,b]G, an intersection of two closed sets, hence closed; and Eσ[a,b] is bounded. So [L7] applies.

step 2.3L6L7
4.1

Hence σχiΔi(Mimi)Δi for every i<n, the case iB because both Mimi0 and Δi>0. Summing and using [L12] and [L2]: σi<nχiΔiU(f,P)L(f,P)<στ21, so λ:=i<nχiΔi<τ21.

step 2.1step 3.1L2L12L14
4.2

By [L9] applied to the compact null set Eσ, it has content zero, so by [L8] there are mN and reals c0e0,,cmem with Eσjm[cj,ej] and jm(ejcj)τ21. Put μ:=τ(4(ι(m)+1))1>0 and Oj:=(cjμ, ej+μ), an open interval containing [cj,ej], of length (ejcj)+2μ. Then jm((ejcj)+2μ)τ21+2μ(ι(m)+1)=τ21+τ21=τ, by [L12] and [L10].

step 2.3step 3.2L8L9L10L12L14construct
5.1

Eσ is covered by the finite list of 2n+1 closed intervals [pj,qj], j2n, defined by [pj,qj]:=[tj,tj+1] for j<n with jB, [pj,qj]:=[a,a] for j<n with jB, and [pj,qj]:=[tjn,tjn] for nj2n: indeed a point of Eσ lies in [a,b], hence is one of t0,,tn or lies in some (ti,ti+1), and in the latter case iB. Its total length is j2n(qjpj)=i<nχiΔi+0=λ<τ, by splitting the sum at n ([L12]).

step 2.1step 4.1L1L12L14construct
5.2

The family of good intervals. Let W be the set of all open intervals (u,v) with u<v such that either (u,v)Oj for some jm, or ωf([a,b](u,v))<σ. Every x[a,b] lies in a member: if xEσ then x[cj,ej]Oj for some jm by step 4.2, and Oj is itself a member; and if xEσ then ωf(x)<σ, so by [L4] some real ρ>0 has ωf([a,b]Nρ(x))<σ, and Nρ(x)=(xρ,x+ρ) is a member containing x.

step 4.2L4L7L14construct
6.1

As τ>0 was arbitrary, Eσ has content zero by [L8], hence measure zero by [L9]; this used only that f is integrable.

step 2.1step 5.1L8L9
6.2

Cousin's construction: a partition each of whose subintervals lies in a member of W. Let S be the set of y(a,b] such that some partition of [a,y] has every subinterval contained in a member of W. S is nonempty: by step 5.2 fix (α,β)W with a(α,β) and put y0:=min{(a+b)21, (a+β)21}, so a<y0b, y0<β and α<a; the one-subinterval partition of [a,y0] has [a,y0](α,β), so y0S. Also S is bounded above by b, so s:=supS exists by [L13] and a<y0sb.

step 5.2L1L13L14choose
7.1

Integrability implies D null. Assume f integrable. By step 6.1 each Eσk is null, and kEσk is a sequence of subsets of R, so [L11] applies and kEσk=D is null by step 2.2. This is the only use of [A1] in the proof.

step 6.1step 2.2A1L11
7.2

s=b. By step 5.2 fix (α,β)W with s(α,β). Since supS=s>α there is xS with x>α, and xs. Suppose s<b and choose a real y with s<y<min{b,β}, possible because s<b and s<β. Then α<xs<y<β, so [x,y](α,β), and appending y to a partition of [a,x] witnessing xS gives one for [a,y] by [L1]; hence yS with y>supS, which is impossible.

step 6.2L1L13L14choose
8.1

bS. By step 5.2 fix (α,β)W with b(α,β). Since supS=b>α there is xS with x>α and xb. If x=b there is nothing to prove; otherwise α<x<b<β gives [x,b](α,β), and appending b as in step 7.2 puts b in S. So there is a partition P=(n,t) of [a,b], with subintervals Ii and lengths Δi for i<n, every subinterval of which lies in a member of W.

step 5.2step 7.2L1L13L14choose
9.1

Good and bad subintervals. Write Mi:=supf[Ii] and mi:=inff[Ii]. Call i<n good when IiW for some W=(u,v)W with ωf([a,b](u,v))<σ, and bad otherwise. For a good i, Ii[a,b]W, so Mimi=ωf(Ii)ωf([a,b]W)<σ by [L2] and [L4]. For a bad i, step 8.1 supplies a member containing Ii, and it is not of the second kind, so IiOj for some jm.

step 8.1L1L2L4
10.1

Bounding the bad lengths. For jm put Jj:={i<n:cjμti and ti+1ej+μ} and hij:=Δi for iJj, hij:=0 otherwise; a bad i lies in some Jj by step 9.1. Each Jj consists of consecutive indices, since i<i<i with i,iJj gives cjμtiti and ti+1ti+1ej+μ.

step 9.1L1L14construct
11.1

i<nhij(ejcj)+2μ for each jm: the sum is 0 when Jj=; otherwise let p:=minJj and let q be the least natural with q>p and qJj, which exists by [L13] since nJj, so that Jj={i:pi<q} by step 10.1. Splitting the sum at p and at q and discarding the vanishing outer parts, then telescoping ([L12]), gives i<nhij=i=pq1Δi=tqtp(ej+μ)(cjμ), using pJj and q1Jj.

step 10.1L12L13L14
12.1

Put βi:=Δi for bad i and βi:=0 for good i. Then βijmhij pointwise by step 10.1, all terms being nonnegative, so by [L12] and step 11.1, i<nβijmi<nhijjm((ejcj)+2μ)τ, the last step by step 4.2.

step 4.2step 10.1step 11.1L12L14
13.1

For every i<n, (Mimi)ΔiσΔi+2M+βi: for good i by step 9.1 and βi0, for bad i by Mimi2M+ from [L2] and βi=Δi. Summing over i<n and using [L12], [L1] and step 12.1: U(f,P)L(f,P)σ(ba)+2M+τ=ε21+ε41<ε.

step 2.3step 9.1step 12.1L1L2L12L14
14.1

The real ε>0 of step 2.3 was arbitrary and step 13.1 produced a partition with UL<ε, so f is integrable by [L3]. With step 7.1 this proves both implications, and the criterion is established; the forward half is steps 1.1, 2.1, 2.2, 3.1, 4.1, 5.1, 6.1 and 7.1, working with σ,τ,P,B,χ,λ, and the converse half is the steps named in step 2.3, working with σ,τ,P,W,S.

step 7.1step 2.3step 13.1L3

Remarks

CorollaryStatement: Literature-sourcedProof: AI-adaptedprecheck passjudge pass (z-ai/glm-5.2)audited 2026-07-28Open item page →

A bounded function on [a,b] whose set of discontinuities is at most countable is Riemann integrable

Statement

Let a<b be reals and let f:[a,b]R be bounded (Lower bound, bounded below, bounded set). If the set

D  =  {x[a,b]:f is discontinuous at x}

(Continuity of f:AR at a point of A and on A: the ε-δ condition, its agreement with limxcf(x)=f(c) at a limit point, and continuity at an isolated point, Discontinuity of f at a point of its domain, and its classification: removable discontinuity, jump discontinuity and essential discontinuity, equivalently Rudin's discontinuities of the first and of the second kind) is at most countable (Finite, countably infinite, countable, uncountable), then f is Riemann integrable on [a,b] (The lower and upper Darboux integrals of a bounded f on [a,b] as supPL(f,P) and infPU(f,P), Darboux integrability as their equality, and the notation abf).

No choice principle is used. Only the implication "D null f integrable" of Lebesgue's criterion for Riemann integrability: a bounded f on [a,b] is Riemann integrable if and only if its set of discontinuities has measure zero is invoked, and that implication is a theorem of ZF; Every at most countable subset of R has measure zero is choice-free as well, since a listing of D is a single object and the cover is a formula in the index.

The converse fails badly: the indicator of the Cantor set is discontinuous at uncountably many points and is integrable, because the Cantor set is null (The Cantor set is compact, perfect, uncountable, nowhere dense and of measure zero, and it contains no interval of positive length, so its only nonempty connected subsets are single points). What is true in both directions is Lebesgue's criterion for Riemann integrability: a bounded f on [a,b] is Riemann integrable if and only if its set of discontinuities has measure zero itself.

Facts & Assumptions

Given: Reals a<b and a bounded f:[a,b]R whose set D of discontinuities in [a,b] is at most countable.

[L2]

A bounded f on [a,b] is Riemann integrable if and only if its set of discontinuities has measure zero; the implication from "measure zero" to "integrable" uses no choice principle (Lebesgue's criterion for Riemann integrability: a bounded f on [a,b] is Riemann integrable if and only if its set of discontinuities has measure zero).

Proof

technique · direct
1.1

DR is at most countable by hypothesis, so D has measure zero by [L1].

givenL1
2.1

f is bounded on [a,b] and its discontinuity set has measure zero, so [L2] gives that f is Riemann integrable on [a,b].

step 1.1givenL2

Remarks

RemarkRemark: AI-generatedProof: Not applicablejudge pass (z-ai/glm-5.2)audited 2026-07-28Open item page →

What this page costs in choice: Riemann's criterion, the Darboux-Riemann equivalence and integrability of a monotone function are theorems of ZF; integrability of a continuous function inherits the single use of countable choice inside Heine-Cantor; and only the forward half of the Lebesgue criterion spends countable choice, once, at the countable union of null sets

This page develops the Riemann integral over ZF except at the points recorded below. The only choice principle that appears anywhere on it is the Axiom of Countable Choice (The Axiom of Countable Choice (ACω)); the full Axiom of Choice is never used, and no claim is made anywhere that a use recorded here is necessary.

The ledger, item by item

itemchoice usedwhere it enters
Partition of [a,b] as a finite strictly increasing list a=t0<t1<<tn=b, its subintervals and their lengths, its mesh, refinement, and the common refinement of two partitionsnonerecursion only, over a totally defined map
For bounded f on [a,b] and a partition P: the infimum mi and supremum Mi of f on the i-th subinterval, and the lower and upper Darboux sums L(f,P)=imiΔi and U(f,P)=iMiΔinonesuprema and infima are canonical
Refining a partition raises the lower Darboux sum and lowers the upper one, and every lower sum is at most every upper sum: L(f,P)L(f,P)U(f,P)U(f,P) when P refines P, and L(f,P)U(f,Q) for arbitrary partitions P and Q; moreover the two changes are at most 2M(nn)Pnoneone induction on the coarse index
The lower and upper Darboux integrals of a bounded f on [a,b] as supPL(f,P) and infPU(f,P), Darboux integrability as their equality, and the notation abfnonesup and inf over a set of partitions
If mfM on [a,b] then m(ba)L(f,P)abfabfU(f,P)M(ba) for every partition P; in particular every constant function is integrable, with abc=c(ba)none
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)<εnonefinitely many existential instantiations
Tagged partitions of [a,b], with a tag ξi in each subinterval, and the Riemann sum S(f,P,ξ)=if(ξi)Δinonea tagging is exhibited by a formula
[The Darboux and Riemann definitions agree: a bounded f on [a,b] is Darboux integrable with integral I if and only if for every real ε>0 there is a real δ>0 such that $S(f,P,\xi) - I< \varepsilonforeverytaggedpartitionofmeshbelow\delta$](/item/thm-darboux-equals-riemann)
A continuous function on [a,b] is Riemann integrable, by Heine-Cantor and Riemann's criterionACω, onceinherited from Heine-Cantor in R: a continuous real function on a compact subset of R is uniformly continuous, proved R-natively from sequential compactness
[A monotone function on [a,b] is Riemann integrable: for the uniform partition into N parts the upper minus lower sum telescopes to $f(b) - f(a),(b-a)/\iota(N)$](/item/thm-monotone-implies-integrable)
A bounded function on [a,b] that is continuous except at finitely many points is Riemann integrableACω, onceinherited from Heine-Cantor in R: a continuous real function on a compact subset of R is uniformly continuous, proved R-natively from sequential compactness
Lebesgue's criterion for Riemann integrability: a bounded f on [a,b] is Riemann integrable if and only if its set of discontinuities has measure zeroACω, once, in the forward half onlyA countable union of measure-zero sets has measure zero, by countable choice
A bounded function on [a,b] whose set of discontinuities is at most countable is Riemann integrablenonesee below
FALSE: every bounded function on [a,b] is Riemann integrablenone
FALSE: a bounded function on [a,b] is Riemann integrable exactly when its set of discontinuities is nowhere densenonerefuted from the interval-cover bound directly, not through the criterion
FALSE: a nonnegative Riemann integrable function on [a,b] with abf=0 is identically zerononerests on the corollary, which is choice-free
FALSE: a pointwise limit of a sequence of Riemann integrable functions on [a,b] is Riemann integrableACω, onceinherited through A bounded function on [a,b] that is continuous except at finitely many points is Riemann integrable

The four entries that are easy to get wrong

Selecting a tag in every subinterval is not countable choice. The Darboux and Riemann definitions agree: a bounded f on [a,b] is Darboux integrable with integral I if and only if for every real ε>0 there is a real δ>0 such that S(f,P,ξ)I<ε for every tagged partition of mesh below δ picks, for a single fixed partition, one point in each of its n subintervals subject to a supremum condition. That family is listed by the index i<n, and a family of nonempty sets listed by a natural number has a choice function outright, by Every natural-number-indexed list of nonempty sets has a choice function on its family of values, which is a theorem of ZF proved by induction. (That lemma is careful to state only the listed form, since no definition of finiteness is available where it is proved; the listed form is what is used here.) The temptation to read this as a choice principle comes from the phrase "for each i pick a point"; the number of picks is what matters, and it is finite.

"For each n pick a partition" would be countable choice, and the page never does it. Both directions of 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)<ε and the whole of The Darboux and Riemann definitions agree: a bounded f on [a,b] is Darboux integrable with integral I if and only if for every real ε>0 there is a real δ>0 such that S(f,P,ξ)I<ε for every tagged partition of mesh below δ instantiate an existential a fixed, finite number of times, once per ε under consideration; no proof on this page ever forms a sequence of partitions indexed by N and reasons about it. The one place where a sequence of sets does appear is step 7.1 of Lebesgue's criterion for Riemann integrability: a bounded f on [a,b] is Riemann integrable if and only if its set of discontinuities has measure zero, and that is exactly where the ledger records a cost.

Only the forward half of Lebesgue's criterion for Riemann integrability: a bounded f on [a,b] is Riemann integrable if and only if its set of discontinuities has measure zero costs anything. The implication "integrable the discontinuity set is null" exhibits that set as kE1/(k+1) and applies A countable union of measure-zero sets has measure zero, by countable choice, which assumes ACω and names its own single use. The converse, "null integrable", is a theorem of ZF: For every real ε>0 the set {xA:ωf(x)ε} is the intersection with A of a closed subset of R; in particular it is closed in R when A=R and A subset of R is compact if and only if it is closed and bounded are choice-free, For a compact subset of R, measure zero and content zero coincide and A set of content zero has measure zero are choice-free, and the partition is built by Cousin's supremum construction, which uses the completeness of R and nothing else. This asymmetry is why A bounded function on [a,b] whose set of discontinuities is at most countable is Riemann integrable appears in the table with no cost at all: it uses the converse half only, together with Every at most countable subset of R has measure zero, whose own statement records that no choice principle is used there.

Heine-Cantor is the page's other source, and it is a single use. Heine-Cantor in R: a continuous real function on a compact subset of R is uniformly continuous, proved R-natively from sequential compactness states that its proof invokes ACω exactly once, to select one bad pair of points from each of countably many nonempty sets, and that the implication it borrows from A subset of R is compact iff it is sequentially compact — compact implies sequentially compact — spends nothing. So A continuous function on [a,b] is Riemann integrable, by Heine-Cantor and Riemann's criterion and A bounded function on [a,b] that is continuous except at finitely many points is Riemann integrable each inherit that one use and add none of their own. The neighbouring ledger for the same expenditure on the continuity page is The sequence-to-ε direction of the Heine criterion uses countable choice for R, and where this library records that cost.

What is deliberately not claimed

Nothing here says that ACω is necessary for any of the three theorems that use it. The independence questions for the Heine-Cantor theorem and for the countable additivity of nullity over R are not settled in this library, and no item on this page asserts anything about them. What the table records is what the proofs on disk actually spend, and it is meant to be checked against them rather than believed.

The one further caution is that a later proof of a result stated here could spend less. The direct argument for A monotone function on [a,b] is Riemann integrable: for the uniform partition into N parts the upper minus lower sum telescopes to f(b)f(a)(ba)/ι(N) is kept alongside the shorter route through A bounded function on [a,b] whose set of discontinuities is at most countable is Riemann integrable precisely for that reason: the direct one is elementary and quantitative, and both are choice-free, so nothing is lost by keeping the pair.

5 · Examples, counterexamples and false statements

False statementConstruction: Literature-sourcedVerification: AI-adaptedprecheck passjudge pass (z-ai/glm-5.2)audited 2026-07-28Open item page →

FALSE: every bounded function on [a,b] is Riemann integrable

Statement

False claim: every bounded function f:[a,b]R (Lower bound, bounded below, bounded set) is Riemann integrable on [a,b] (The lower and upper Darboux integrals of a bounded f on [a,b] as supPL(f,P) and infPU(f,P), Darboux integrability as their equality, and the notation abf).

Boundedness is exactly what is needed for the Darboux sums to exist (For bounded f on [a,b] and a partition P: the infimum mi and supremum Mi of f on the i-th subinterval, and the lower and upper Darboux sums L(f,P)=imiΔi and U(f,P)=iMiΔi), and the claim above confuses that with their two extrema agreeing. The witness below is bounded, takes only the values 0 and 1, and has lower Darboux integral 0 and upper Darboux integral 1: as far apart as the values allow.

Facts & Assumptions

Given: The Dirichlet function 1Q restricted to [0,1], that is g:[0,1]R with g(x)=1 for rational x and g(x)=0 for irrational x (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).

[A1]

The false claim: every bounded function on a closed bounded interval with distinct endpoints is Riemann integrable.

[L2]

For a partition P=(n,t) of [0,1]: n1, ti<ti+1, Δi=ti+1ti>0, i<nΔi=10=1, and Ii=[ti,ti+1] (Partition of [a,b] as a finite strictly increasing list a=t0<t1<<tn=b, its subintervals and their lengths, its mesh, refinement, and the common refinement of two partitions, Intervals of R: the nine order-convex forms, nondegeneracy, and length).

[L3]

mi=infg[Ii], Mi=supg[Ii], L(g,P)=i<nmiΔi, U(g,P)=i<nMiΔi; 01g is the supremum of the lower sums and 01g the infimum of the upper sums; g is integrable exactly when these agree (For bounded f on [a,b] and a partition P: the infimum mi and supremum Mi of f on the i-th subinterval, and the lower and upper Darboux sums L(f,P)=imiΔi and U(f,P)=iMiΔi, The lower and upper Darboux integrals of a bounded f on [a,b] as supPL(f,P) and infPU(f,P), Darboux integrability as their equality, and the notation abf).

[L4]

A set with a least element has it as its infimum, and one with a greatest element has it as its supremum; the supremum and infimum of {c} are both c (Greatest lower bound (infimum), Maximum and minimum of a set, Complete ordered field (least-upper-bound property)).

[L5]
[L6]

Ordered-field arithmetic: the midpoint (u+v)21 of u<v satisfies u<(u+v)21<v, and Nρ(c)(u,v) for c the midpoint and ρ:=(vu)21 (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), The ε-neighbourhood and the punctured ε-neighbourhood of a point of R). 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.

Refutation

technique · direct
1.1

g is bounded: 0g(x)1 for every x[0,1], since g takes only the values 0 and 1. So its Darboux sums and integrals are defined by [L3].

givenL3
1.2

Every subinterval of every partition of [0,1] contains both a rational and an irrational. Let P=(n,t) be a partition and i<n; then ti<ti+1 by [L2], so with c:=(ti+ti+1)21 and ρ:=(ti+1ti)21 one has Nρ(c)(ti,ti+1)Ii by [L6], and Nρ(c) meets Q and meets RQ by [L1].

L1L2L6
2.1

Hence g[Ii]={0,1} for every i<n, so mi=0 and Mi=1 by [L4].

step 1.2givenL4
3.1

Therefore L(g,P)=i<n0Δi=0 and U(g,P)=i<n1Δi=i<nΔi=1, for every partition P of [0,1], by [L3], [L5] and [L2].

step 2.1L2L3L5
4.1

The set of lower sums is {0} and the set of upper sums is {1}, so 01g=0 and 01g=1 by [L4] and [L3]. Since 01, g is not Riemann integrable on [0,1].

step 3.1L3L4
5.1

g is a bounded function on [0,1], an interval with 0<1, and it is not Riemann integrable; so [A1] fails at g and the claim is false.

step 1.1step 4.1A1

Remarks

False statementConstruction: AI-adaptedVerification: AI-generatedprecheck passjudge pass (z-ai/glm-5.2)audited 2026-07-28Open item page →

FALSE: a bounded function on [a,b] is Riemann integrable exactly when its set of discontinuities is nowhere dense

Statement

False claim: a bounded function f:[a,b]R is Riemann integrable on [a,b] (The lower and upper Darboux integrals of a bounded f on [a,b] as supPL(f,P) and infPU(f,P), Darboux integrability as their equality, and the notation abf) if and only if its set of discontinuities is nowhere dense (Nowhere dense, meager (first category), residual, and second category subsets of R, Continuity of f:AR at a point of A and on A: the ε-δ condition, its agreement with limxcf(x)=f(c) at a limit point, and continuity at an isolated point).

The claim replaces the correct smallness condition, measure zero (Lebesgue's criterion for Riemann integrability: a bounded f on [a,b] is Riemann integrable if and only if its set of discontinuities has measure zero), by the smallness condition of category. The two are independent, and the implication that fails below is the one from "nowhere dense" to "integrable": the indicator of the Smith-Volterra-Cantor set (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) is discontinuous exactly on a closed nowhere dense set and is not integrable, because that set cannot be covered by intervals of small total length.

The other implication fails too, and more cheaply: Thomae's function is integrable and its discontinuity set is Q[0,1], which is dense in [0,1] and therefore not nowhere dense. One failing direction refutes the biconditional, and the harder one is worked out below.

Facts & Assumptions

Given: The Smith-Volterra-Cantor set S[0,1] (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) and its indicator g:[0,1]R, with g(x)=1 for xS and g(x)=0 for x[0,1]S.

[A1]

The false claim, in the direction used here: if a bounded f on [a,b] has a nowhere dense set of discontinuities, then f is Riemann integrable.

[L1]

S is closed and bounded and nowhere dense, and if (ak), (bk) are sequences of reals with akbk, Sk[ak,bk] and k<i(bkak)M for every iN, then M21; in particular S does not have measure zero (The Smith-Volterra-Cantor set is compact, perfect and nowhere dense, and does not have measure zero, 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, Measure zero (a countable cover by intervals of total length below every ε) and content zero (a finite such cover)).

[L3]

A set is closed exactly when its complement is open, that is, when every point outside it has a neighbourhood missing it (Open subset of R (every point has a neighbourhood inside it), closed subset (complement open), and clopen, The ε-neighbourhood and the punctured ε-neighbourhood of a point of R).

[L4]
[L5]

L(g,P)=i<nmiΔi, U(g,P)=i<nMiΔi with mi=infg[Ii] and Mi=supg[Ii]; 01g is the supremum of the lower sums and 01g the infimum of the upper sums; g is integrable exactly when they agree (For bounded f on [a,b] and a partition P: the infimum mi and supremum Mi of f on the i-th subinterval, and the lower and upper Darboux sums L(f,P)=imiΔi and U(f,P)=iMiΔi, The lower and upper Darboux integrals of a bounded f on [a,b] as supPL(f,P) and infPU(f,P), Darboux integrability as their equality, and the notation abf).

[L6]

A set with a least element has it as its infimum and one with a greatest element has it as its supremum (Greatest lower bound (infimum), Maximum and minimum of a set, Complete ordered field (least-upper-bound property)).

[L7]

Finite sums: scaling, splitting, monotonicity in the terms, and i<n0=0; a finite list may be extended to a sequence by degenerate intervals of length 0 without changing any partial total (Finite sums and finite products, by recursion, Laws of finite sums and finite products, Measure zero (a countable cover by intervals of total length below every ε) and content zero (a finite such cover)).

[L8]

Ordered-field arithmetic: the order is total, so any two reals have a maximum and a minimum; adding a constant preserves an inequality. For 0x1 and a real ρ>0, the reals u:=max{0,xρ} and v:=min{1,x+ρ} satisfy u<v, by checking the four cases of which member each of the two attains, and (u,v)Nρ(x)[0,1], since z(u,v) gives xρu<z<vx+ρ and 0u<z<v1 (Maximum and minimum of a set, 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), The ε-neighbourhood and the punctured ε-neighbourhood of a point of R, Intervals of R: 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.

Refutation

technique · direct
1.1

g is bounded, taking only the values 0 and 1, so its Darboux sums and integrals are defined by [L5].

givenL5
1.2

g is discontinuous at every point of S. Let xS, so g(x)=1, and let a real ρ>0 be given. Put u:=max{0, xρ} and v:=min{1, x+ρ}; then u<v because 0x1 and ρ>0, and (u,v)Nρ(x)[0,1] by [L8]. Since S is closed and nowhere dense it contains no nonempty open set by [L1] and [L2], so there is y(u,v) with yS. Then y[0,1], yx<ρ and g(x)g(y)=1, so the continuity condition fails at x for ε:=1.

givenL1L2L6L8
1.3

g is continuous at every point of [0,1]S. Let x[0,1] with xS. Since S is closed, [L3] gives a real ρ>0 with Nρ(x)S=, so g vanishes identically on Nρ(x)[0,1] and g(y)g(x)=0<ε there, for every ε>0.

givenL1L3
2.1

So the set of discontinuities of g in [0,1] is exactly S, which is nowhere dense by [L1].

step 1.2step 1.3L1
2.2

Every upper Darboux sum of g is at least 21. Let P=(n,t) be a partition of [0,1] and let B:={i<n:IiS}. For iB the set g[Ii] contains 1, so Mi=1 by [L6] and g1; for iB one has g[Ii]={0} and Mi=0. Hence U(g,P)=i<nMiΔi is the sum of the Δi with iB, by [L5] and [L7].

step 1.1L5L6L7
2.3

Every lower Darboux sum of g is 0. With P as above and i<n: ti<ti+1 by [L4], so (ti,ti+1) is a nonempty open subset of [0,1], and by [L1] and [L2] it is not contained in S; a point of it outside S lies in Ii[0,1] and has g-value 0, so g[Ii] contains 0 and mi=0 by [L6], g being nonnegative. Hence L(g,P)=0 by [L5] and [L7].

step 1.1L1L2L4L5L6L7
3.1

The intervals Ii with iB cover S: a point of S lies in [0,1]=i<nIi by [L4], hence in some Ii, and that i is in B. Extending this finite list of closed intervals to a sequence by degenerate intervals [0,0] ([L7]) gives a cover of S all of whose partial total lengths are at most U(g,P), so [L1] gives U(g,P)21.

step 2.2L1L4L7
4.1

Therefore 01g=0 by [L6] and step 2.3, while 01g21 by step 3.1, since every upper sum is at least 21 and the infimum of such a set is at least 21. The two differ, so g is not Riemann integrable by [L5].

step 3.1step 2.3L5L6
5.1

So g is a bounded function on [0,1] whose set of discontinuities is nowhere dense and which is not Riemann integrable; [A1] fails at g, and with it the claimed equivalence.

step 2.1step 4.1A1

Remarks

False statementConstruction: AI-adaptedVerification: AI-generatedprecheck passjudge pass (z-ai/glm-5.2)audited 2026-07-28Open item page →

FALSE: a nonnegative Riemann integrable function on [a,b] with abf=0 is identically zero

Statement

False claim: if f:[a,b]R is Riemann integrable (The lower and upper Darboux integrals of a bounded f on [a,b] as supPL(f,P) and infPU(f,P), Darboux integrability as their equality, and the notation abf) with f(x)0 for every x[a,b] and abf=0, then f(x)=0 for every x[a,b].

The claim is true under the additional hypothesis that f is continuous, and that is the version worth remembering; without it the integral simply cannot see a function that is positive on a null set. Thomae's function on [0,1] (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) is nonnegative, integrable, has integral 0, and is positive at every rational point of [0,1], of which there are infinitely many.

Facts & Assumptions

Given: Thomae's function restricted to [0,1], that is t:[0,1]R with t(x)=1/ι(q(x)) at a rational x with least denominator q(x)1, and t(x)=0 at an irrational x (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, The canonical natural ι(n)=n1F of a field).

[A1]

The false claim: a nonnegative Riemann integrable function on a closed bounded interval with distinct endpoints whose integral is 0 vanishes identically.

[L1]

t(x)=1/ι(q(x)) with ι(q(x))1>0 at a rational x, and t(x)=0 at an irrational x; hence 0t(x)1 everywhere and t(x)>0 at every rational x (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, The canonical natural ι(n)=n1F of a field, Canonical naturals are positive and strictly increasing).

[L3]

Q is countably infinite, and every subset of an at most countable set is at most countable (Q is countably infinite, Every subset of an at most countable set is at most countable, Finite, countably infinite, countable, uncountable).

[L4]

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

[L8]

A set with a least element has it as its infimum; the supremum of {0} is 0 (Greatest lower bound (infimum), Maximum and minimum of a set, Complete ordered field (least-upper-bound property)).

[L10]

Ordered-field arithmetic: the order is total and transitive; a reciprocal of a positive quantity is positive; 0<1 (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)). 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.

Refutation

technique · direct
1.1

t is nonnegative and bounded on [0,1], with 0t(x)1 for every x, by [L1].

givenL1L10
1.2

t is continuous at every irrational point of [0,1] by [L2], so its set of discontinuities in [0,1] is contained in Q[0,1], which is at most countable by [L3]; every subset of it is then at most countable by [L3] as well.

givenL2L3
1.3

Separately, and independently of everything below, t does not vanish identically: 21 is a rational point of [0,1], so t(21)>0 by [L1] and [L10].

L1L10
2.1

By [L4] applied to [0,1], with 0<1, the function t is Riemann integrable on [0,1].

step 1.1step 1.2L4
2.2

Every lower Darboux sum of t is 0: let P be a partition of [0,1] and i<n; the open interval (tiP,ti+1P) is nonempty by [L6] and contains an irrational y by [L5], and yIi[0,1], so t(y)=0 by [L1]. Since t0 by [L1], the value 0 is the least element of t[Ii] and mi=0 by [L8]. Hence L(t,P)=i<n0Δi=0 by [L7] and [L9].

step 1.1L1L5L6L7L8L9
3.1

The set of lower sums is therefore {0}, so 01t=0 by [L8], and since t is integrable by step 2.1 its integral is 01t=0 by [L7].

step 2.1step 2.2L7L8
4.1

So t is a nonnegative Riemann integrable function on [0,1] with 01t=0 that is not identically zero; [A1] fails at t and the claim is false.

step 1.1step 3.1step 1.3A1

Remarks

False statementConstruction: Literature-sourcedVerification: AI-adaptedprecheck passjudge pass (z-ai/glm-5.2)audited 2026-07-28Open item page →

FALSE: a pointwise limit of a sequence of Riemann integrable functions on [a,b] is Riemann integrable

Statement

False claim: if (fn)nN is a sequence of Riemann integrable functions on [a,b] (The lower and upper Darboux integrals of a bounded f on [a,b] as supPL(f,P) and infPU(f,P), Darboux integrability as their equality, and the notation abf, Sequences of reals: bounded, eventually, frequently, tails, subsequences) and f:[a,b]R satisfies

fn(x)f(x)for every x[a,b]

(Limits and Cauchy sequences of reals), then f is Riemann integrable on [a,b].

The witness below is the standard one: an increasing sequence of indicators of finite sets of rationals, each integrable because it has only finitely many discontinuities, whose pointwise limit is the Dirichlet function, which is not integrable at all. Every fn takes values in {0,1}, so no unboundedness is involved, and the convergence is even monotone.

Facts & Assumptions

Given: The set E:=Q[0,1], a surjection s:NE, the finite sets Fn:={s(k):k<n} for nN, and the indicators fn:[0,1]R with fn(x)=1 for xFn and fn(x)=0 otherwise.

[A1]

The false claim: a pointwise limit of Riemann integrable functions on a closed bounded interval with distinct endpoints is Riemann integrable.

[L1]

Q is countably infinite and every subset of an at most countable set is at most countable, so E is at most countable; E is nonempty, since 0E; and a nonempty at most countable set admits a surjection from N (Q is countably infinite, Every subset of an at most countable set is at most countable, Finite, countably infinite, countable, uncountable, A nonempty set is at most countable iff it is a surjective image of N).

[L2]

A bounded function on [a,b] that is continuous at every point other than r listed points is Riemann integrable (A bounded function on [a,b] that is continuous except at finitely many points is Riemann integrable, Lower bound, bounded below, bounded set).

[L3]

The Dirichlet function restricted to [0,1], that is g:[0,1]R with g(x)=1 for rational x and g(x)=0 for irrational x, is bounded and not Riemann integrable: its lower Darboux integral is 0 and its upper Darboux integral is 1 (FALSE: every bounded function on [a,b] is Riemann integrable, 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).

[L4]

A sequence of reals converges to x when for every rational ε>0 there is K with xkx<ε for all kK; an eventually constant sequence converges to that constant (Limits and Cauchy sequences of reals, Sequences of reals: bounded, eventually, frequently, tails, subsequences, Basic properties of the absolute value).

[L6]

Continuity at a point: for every real ε>0 there must be a real δ>0 with h(y)h(x)<ε for every y in the domain with yx<δ (Continuity of f:AR at a point of A and on A: the ε-δ condition, its agreement with limxcf(x)=f(c) at a limit point, and continuity at an isolated point, The ε-neighbourhood and the punctured ε-neighbourhood of a point of R).

[L7]

Ordered-field arithmetic: the order is total and transitive, uv>0 for uv, and 0<1 (Basic properties of the absolute value, 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 R: 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.

Refutation

technique · direct
1.1

By [L1] fix a surjection s:NE and define Fn and fn as in the Given. Each fn takes only the values 0 and 1, so it is bounded.

givenL1chooseconstruct
2.1

Each fn is continuous at every point of [0,1] outside the n listed points s(0),,s(n1). Let x[0,1] with xs(k) for all k<n, so fn(x)=0. If n=0 put δ:=1; otherwise put δ:=min{xs(k):k<n}, which exists by [L5] and is positive by [L7]. Every y[0,1] with yx<δ then differs from each s(k) with k<n, so fn(y)=0 and fn(y)fn(x)=0<ε for every ε>0.

step 1.1L5L6L7
2.2

(fn) converges pointwise to g on [0,1]. Let x[0,1]. If x is rational then xE, so x=s(k) for some kN by surjectivity, and then xFn and fn(x)=1 for every n>k; the sequence is eventually constant with value 1=g(x), so it converges to g(x) by [L4]. If x is irrational then xE and hence xFn for any n, so fn(x)=0=g(x) for every n and again the sequence converges to g(x).

step 1.1L1L3L4
3.1

By [L2], applied with the n listed points s(0),,s(n1), each fn is Riemann integrable on [0,1].

step 1.1step 2.1L2
4.1

So (fn) is a sequence of Riemann integrable functions on [0,1], an interval with 0<1, converging pointwise to g, and g is not Riemann integrable by [L3]. Hence [A1] fails at this sequence and the claim is false.

step 3.1step 2.2A1L3

Remarks

Sources