Reduction and endpoints: if f is decreasing, βf is increasing with the same discontinuity set and jump sizes (βf)(x+)β(βf)(xβ)=f(xβ)βf(x+)=β£f(x+)βf(xβ)β£; the conclusion for βf (bound (βf)(b)β(βf)(a)=β£f(b)βf(a)β£) is then the conclusion for f. So assume f is increasing from here, with bound f(b)βf(a).
At the endpoints only the inward one-sided limit exists, so read f(aβ):=f(a) and f(b+):=f(b): the endpoint jumps are j(a)=f(a+)βf(a) and j(b)=f(b)βf(bβ), and j(x)β₯0 at every point with this convention. First, discontinuities can only be jumps. By problem 1, f(xβ) and f(x+) always exist, so failure of limtβxβf(t)=f(x) forces f(xβ)<f(x+) β neither removable nor oscillatory discontinuities are possible; only a jump j(x)=f(x+)βf(xβ)>0 remains.
Take finitely many points x1β<β―<xmβ. If xiβ<xi+1β then for any t with xiβ<t<xi+1β, monotonicity gives f(xiβ+)=infs>xiββf(s)β€f(t)β€sups<xi+1ββf(s)=f(xi+1ββ). Hence f(xiβ+)β€f(xi+1ββ) β the interiors of the jump intervals [f(xiββ),f(xiβ+)] and [f(xi+1ββ),f(xi+1β+)] are pairwise disjoint (they may share an endpoint).
The endpoint positions also hold: for a<t<x1β, f(a+)β€f(t)β€f(x1ββ), so f(a+)β€f(x1ββ), and likewise f(xmβ+)β€f(bβ). Chaining everything: f(a+)β€f(x1ββ)β€f(x1β+)β€f(x2ββ)β€β―β€f(xmβ+)β€f(bβ). The jump intervals are therefore disjoint subintervals of [f(a+),f(bβ)], and the sum of the lengths of disjoint subintervals is at most the length of the containing interval β telescoping along this chain gives the inequality below.
Every jump interval lies in [f(a+),f(bβ)]β[f(a),f(b)], so βi=1mβj(xiβ)=βi=1mβ(f(xiβ+)βf(xiββ))β€f(bβ)βf(a+)β€f(b)βf(a). Since m is arbitrary, the sum over all jumps satisfies βxβj(x)β€f(b)βf(a).
Fix n: if j(x)>n1β at mnβ points, then βj(x)β₯mnββ
n1β, so mnββ€n(f(b)βf(a)) β a finite set. But the discontinuity set D={x:j(x)>0}=βn=1ββ{x:j(x)>n1β} is a countable union of finite sets, hence at most countable.
Numerical check (terms=24, n=4): the jumps are 2βk (k=1,β¦,24), and the only one exceeding 41β is 2β1=21β (2β2=41β is not a strict exceedance). Against the bound 4(f(1)βf(0))β7.999999761581421, we get 1β€7.999β¦ β exactly as the theorem predicts.