Claim 1. The integrand defining A(t) lies between 0 and B, so monotonicity of the integral and λ[0,T]([0,T])=T (claim 1 of Restricted Lebesgue Measure and Integral Toolkit on a Compact Interval) give 0≤A(t)≤BT<∞ for every t. Also A(0)=∫[0,T]a1{0}dλ[0,T]=0, since the integrand is bounded by B1{0} and λ[0,T]({0})=0, the singleton being an interval of Lebesgue measure 0 by claim 4 of Existence of Lebesgue Measure on the Real Line. For 0≤s≤t≤T, a1[0,t]−a1[0,s]=a1(s,t], which lies between 0 and B1(s,t]; since all quantities are finite, linearity and monotonicity give 0≤A(t)−A(s)≤Bλ[0,T]((s,t])=B(t−s). Continuity follows.
Claim 2, measurability. A is continuous, hence B[0,T]-measurable by claim 3 of Restricted Lebesgue Measure and Integral Toolkit on a Compact Interval. For Borel-measurable f:R→[0,∞] the composition f∘A is B[0,T]-measurable, since (f∘A)−1(E)=A−1(f−1(E)) for every Borel set E. For the product with a: for real c<0 the superlevel set {(f∘A)a>c} is [0,T]; for c≥0,
{(f∘A)a>c}=⋃q({f∘A>q}∩{a>c/q}),
the union over all positive rationals q=z/n with z,n≥1 natural numbers, listable as a sequence by increasing n and, within each n, increasing z; each member of the union lies in B[0,T]. Indeed, if f(A(t))a(t)>c≥0 then a(t)>0 and f(A(t))>0, and by the Archimedean property there is a positive rational q with c/a(t)<q<f(A(t)) (taking q arbitrarily large when f(A(t))=∞), so that f(A(t))>q and a(t)>c/q; conversely f(A(t))>q and a(t)>c/q give f(A(t))a(t)>q⋅(c/q)=c. This proves the measurability assertion of claim 2. For the special case f=1E it also follows directly: the product is 1A−1(E)a, a product of real-valued measurable functions, measurable by Sequentially Continuous Functions of Measurable Euclidean Maps are Measurable applied to the sequentially continuous map (x,y)↦xy.
Claim 2, the identity. Define, for Borel E⊆R,
μ1(E)=∫[0,T]1E(A(t))a(t)dλ[0,T](t),μ2(E)=λ(E∩[0,A(T)]).
Both are measures: for μ1, if E is the disjoint union of E1,E2,… then 1E(A(t))a(t) is the nondecreasing pointwise limit of the finite partial sums of 1En(A(t))a(t), and additivity together with the Monotone Convergence Theorem gives countable additivity; μ2 is the measure with density 1[0,A(T)] with respect to λ. Both are finite with total mass A(T).
They agree on the rays (−∞,u]. If u<0 both sides vanish, since A≥0. If u≥0, let g(u) be the least upper bound of the nonempty set {t∈[0,T]:A(t)≤u}; by continuity A(g(u))≤u, and by monotonicity {t∈[0,T]:A(t)≤u}=[0,g(u)]. If g(u)<T then A(s)>u for every s>g(u), so by continuity A(g(u))=u; in either case A(g(u))=min(u,A(T)). Hence
μ1((−∞,u])=∫[0,T]1[0,g(u)](t)a(t)dλ[0,T](t)=A(g(u))=min(u,A(T))=μ2((−∞,u]).
By claim 2 of Uniqueness of Finite Measures on a Generating Pi-System and the Density of the Exponential Law, the rays (−∞,u] form a π-system generating the Borel σ-algebra, so claim 1 of Uniqueness of Finite Measures on a Generating Pi-System and the Density of the Exponential Law gives μ1=μ2.
For general measurable f:R→[0,∞], the identity
∫[0,T]ϕ(A(t))a(t)dλ[0,T](t)=∫Rϕ1[0,A(T)]dλ
holds for indicators ϕ=1E by the equality μ1=μ2 and claim 3 of Image Measures, Measures with Densities, and Change of Variables; for simple functions by linearity; and for general f by the Monotone Convergence Theorem applied on both sides along the nondecreasing simple functions sn=∑p=1n2n2−n1{f≥p2−n}, which converge pointwise to f (at a point where f is finite, sn is within 2−n of f once n exceeds f at that point; at a point where f is infinite, sn=n there).
Claim 3. For 0<u≤A(T) the set L(u) contains T and is closed under limits by continuity, so its greatest lower bound κ(u) belongs to it: A(κ(u))≥u. Since A(0)=0<u, κ(u)>0; for 0≤t<κ(u) we have A(t)<u, and letting t increase to κ(u), continuity gives A(κ(u))≤u; hence A(κ(u))=u. Monotonicity now gives L(u)={t∈[0,T]:t≥κ(u)}: if t≥κ(u) then A(t)≥A(κ(u))=u, and if t<κ(u) then A(t)<u by the definition of the greatest lower bound. For u>A(T), monotonicity gives A(t)≤A(T)<u for all t∈[0,T], so L(u) is empty.
Claim 4. If A(T)=0 both sides vanish (a has integral 0, so by claim 5 of Restricted Lebesgue Measure and Integral Toolkit on a Compact Interval it vanishes off a λ[0,T]-null set, and the right side is 0 by splitting the integral over that null set and its complement). Assume A(T)>0. By claim 3, for 0<u≤A(T) and s∈[0,T]: κ(u)≤s if and only if A(s)≥u, so
{u∈(0,A(T)]:κ(u)≤s}=(0,A(s)].
Measurability of κ: the sets [0,s] with s∈[0,T] form a π-system generating the trace Borel σ-algebra on [0,T] (each [0,s] is the trace of the ray (−∞,s]; the Borel sets whose traces lie in the σ-algebra generated by the family {[0,s]} form a σ-algebra containing all rays (−∞,s], whose traces are [0,s], [0,T], or ∅, hence containing every Borel set by claim 2 of Uniqueness of Finite Measures on a Generating Pi-System and the Density of the Exponential Law); and the class of trace Borel sets E with κ−1(E) a trace Borel subset of (0,A(T)] is a σ-algebra containing the sets [0,s], by the display. Hence κ and every composition Φ∘κ are measurable.
Define, for trace Borel E⊆[0,T],
ν1(E)=∫R1E(κ(u))1(0,A(T)](u)dλ(u),ν2(E)=∫[0,T]1Eadλ[0,T].
Both are measures (countable additivity by finite partial sums of indicators, additivity, and the Monotone Convergence Theorem, as in claim 2), both finite with total mass A(T) (for ν1: λ((0,A(T)])=A(T) by claim 4 of Existence of Lebesgue Measure on the Real Line). They agree on the π-system {[0,s]:s∈[0,T]}: by the display, ν1([0,s])=λ((0,A(s)])=A(s)=ν2([0,s]). Since that π-system generates the trace Borel σ-algebra, claim 1 of Uniqueness of Finite Measures on a Generating Pi-System and the Density of the Exponential Law gives ν1=ν2. The identity of claim 4 then holds for indicators, for simple functions by linearity, and for general Φ by the Monotone Convergence Theorem along the nondecreasing simple approximations used in claim 2.