Preliminaries. Integrals of nonnegative measurable functions are handled with claim 1 of Linearity and Monotonicity of the Lebesgue Integral (additivity, positive homogeneity, monotonicity), integrable functions with claim 2 there and with Integrable Function and the Lebesgue Integral. Sums, scalar multiples, products, absolute values and pointwise limits of measurable real-valued functions are measurable by claims 2, 3, 4 and 5 of Arithmetic, Absolute Values, and Pointwise Limits of Measurable Real-Valued Functions. Two elementary facts on a measure space (Z,Z,ν), both from Lebesgue Integral of a Nonnegative Measurable Function and Simple Function and Its Integral: (F1) if β:Z→[0,∞) is measurable with ∫βdν=0, then ν({β>0})=0, because for every natural number k the simple function k11{β>1/k} is at most β, so k1ν({β>1/k})≤∫βdν=0, and {β>0} is the union of the sets {β>1/k}, whose measure is then 0 by countable subadditivity (claim 4 of Basic Properties of a Measure); (F2) if a measurable u:Z→[0,∞] vanishes off a set N∈Z with ν(N)=0, then ∫udν=0, because every simple function s with 0≤s≤u vanishes off N, so s≤(maxs)1N and ∫sdν≤(maxs)ν(N)=0; the integral of u is the least upper bound of these.
Step 1: claim 1. Measurability of q. For every natural number k the map hk:[0,∞)→R, hk(v)=v/(v2+1/k), is sequentially continuous on [0,∞) (a quotient of sequentially continuous maps with positive denominator, by claims 1, 2 and 4 of Arithmetic of Limits of Real Sequences), so hk∘β is measurable by Sequentially Continuous Functions of Measurable Euclidean Maps are Measurable. For v>0, hk(v)→1/v as k→∞ (again by the limit laws, since 1/k→0), while hk(0)=0 for every k. Hence h∘β, where h(v)=1/v for v>0 and h(0)=0, is the pointwise limit of the measurable maps hk∘β and is measurable. Now q=α2⋅(h∘β) pointwise: on {β>0} both sides equal α2/β, and on {β=0} both sides vanish, as α=0 there by hypothesis. So q is measurable, being a product of measurable functions.
Case I=0, where I=∫βdν. By (F1), N={β>0} has ν(N)=0, and ∣α∣ vanishes off N by hypothesis. By (F2), ∫∣α∣dν=0, so α is integrable (Integrable Function and the Lebesgue Integral) with ∫α±dν≤∫∣α∣dν=0 by monotonicity, hence ∫αdν=0, and the asserted inequality reads 0≤0.
Case I>0. By claim 3 of Image Measures, Measures with Densities, and Change of Variables, ν′(A)=∫1A(β/I)dν (A∈Z) is a measure on (Z,Z) with ν′(Z)=∫βdν/I=1, so (Z,Z,ν′) is a probability space, and for every measurable F:Z→[0,∞] one has ∫Fdν′=∫F(β/I)dν, while a measurable F:Z→R is ν′-integrable if and only if Fβ/I is ν-integrable, with equal integrals. Put X=α⋅(h∘β), a measurable real-valued function, equal to α/β on {β>0} and to 0 on {β=0}. Then X2β=q pointwise (on {β>0} both are α2/β; on {β=0} both vanish), so
∫X2dν′=I1∫qdν<∞,
and X is a square-integrable random variable on (Z,Z,ν′), hence integrable there. Also Xβ=α pointwise (on {β=0} both vanish), so ∣X∣β/I=∣α∣/I; the ν′-integrability of ∣X∣ therefore gives ∫∣α∣dν=I∫∣X∣dν′<∞, so α is ν-integrable, and by the change-of-density identity for integrable functions, ∫αdν=I∫Xdν′=IE′[X], where E′ is the expectation under ν′. The constant 1 is square-integrable with mean-square norm 1, so claim 1 of Cauchy-Schwarz and Triangle Inequalities for the Mean-Square Norm gives ∣E′[X]∣=∣E′[X⋅1]∣≤∥X∥2, that is, E′[X]2≤E′[X2] (squaring is monotone on [0,∞) by Monotonicity of Squaring on the Nonnegative Elements of an Ordered Field). Therefore
(∫αdν)2=I2E′[X]2≤I2E′[X2]=I∫qdν,
which is the claim.
Step 2: claim 2. First, since every term of D(a,b) is nonnegative with a positive coefficient, D(a,b)=0 holds exactly when a=b1=⋯=bn=0; this is used throughout. (b). Let (a,b)∈[0,∞)1+n and put Σ=a+∑jbj≥0. Since ∣wj∣≤∥w∥1 for every j and a,bj≥0, the absolute-value bound for finite sums (Comparison and Absolute Value Bounds for Finite Sums of Real Numbers) gives
∣Nw(a,b)∣≤j=1∑n∣wj∣(a+bj)=∥w∥1a+j=1∑n∣wj∣bj≤∥w∥1Σ.
Moreover D(a,b)≥2n1Σ, because 21≥2n1 and a≥0. If D(a,b)>0 then Σ>0 (otherwise a=b1=⋯=bn=0 and D(a,b)=0), and
Φw(a,b)=D(a,b)Nw(a,b)2≤Σ/(2n)∥w∥12Σ2=2n∥w∥12Σ;
if D(a,b)=0 then Φw(a,b)=0≤2n∥w∥12Σ. Nonnegativity of Φw is clear, as a quotient of a square by a positive number or 0.
(a). Each coordinate map (a,b)↦a, (a,b)↦bj is sequentially continuous on R1+n, since the distance between two points bounds the difference of any fixed coordinate (Euclidean Distance on Rn); hence Nw and D, finite linear combinations of coordinates, are sequentially continuous by claims 1 and 3 of Arithmetic of Limits of Real Sequences. Let (ak,bk)k∈N be a sequence in [0,∞)1+n converging to (a,b)∈[0,∞)1+n. If D(a,b)>0, then D(ak,bk)→D(a,b)>0, so D(ak,bk)>0 for all large k, and Φw(ak,bk)=Nw(ak,bk)2/D(ak,bk)→Nw(a,b)2/D(a,b)=Φw(a,b) by claims 2 and 4 of Arithmetic of Limits of Real Sequences. If D(a,b)=0, then (a,b)=0 and Φw(a,b)=0, while by (b), 0≤Φw(ak,bk)≤2n∥w∥12(ak+∑jbjk)→0, so Φw(ak,bk)→0=Φw(a,b) by the comparison of limits (claim 1 of Order Properties of Limits of Real Sequences). Thus Φw is sequentially continuous on [0,∞)1+n.
(c). For c≥0, Nw(ca,cb)=cNw(a,b) and D(ca,cb)=cD(a,b) by homogeneity of finite sums. If c>0 and D(a,b)>0, then D(ca,cb)>0 and Φw(ca,cb)=c2Nw(a,b)2/(cD(a,b))=cΦw(a,b); if c>0 and D(a,b)=0 then D(ca,cb)=0 and both sides vanish; if c=0 then (ca,cb)=0 and both sides vanish.
(d). Under the hypotheses, D(a,b)≥21a+2n1⋅n(1−δ)a=(1−δ/2)a>0, so Φw(a,b)=Nw(a,b)2/D(a,b)≤Nw(a,b)2/((1−δ/2)a). Finally (1+δ)(1−δ/2)=1+2δ(1−δ)≥1 for 0≤δ≤1, so 1/(1−δ/2)≤1+δ, which gives (d).
Step 3: claim 3. The map z↦(ℓ0(z),ℓ1(z),…,ℓn(z)) has measurable components and takes values in the nonempty set E=[0,∞)1+n, on which Φw is sequentially continuous by claim 2(a); so z↦Φw(ℓ0(z),…,ℓn(z)) is measurable by Sequentially Continuous Functions of Measurable Euclidean Maps are Measurable. Define the measurable functions
βˉ=21ℓ0+2n1j=1∑nℓj:Z→[0,∞),α=j=1∑nwj(ℓ0−ℓj):Z→R,
so that βˉ(z)=D(ℓ0(z),…,ℓn(z)) and α(z)=Nw(ℓ0(z),…,ℓn(z)) for every z. By linearity of the integral for nonnegative functions, ∫βˉdν=D(A,B1,…,Bn)<∞; each ℓi is integrable (nonnegative with finite integral), so α is integrable with ∫αdν=∑jwj(A−Bj)=Nw(A,B1,…,Bn) by linearity for integrable functions. Where βˉ(z)=0, every ℓi(z) vanishes, hence α(z)=0. The function q of claim 1 built from (α,βˉ) equals Φw(ℓ0(z),…,ℓn(z)) pointwise, by the definition of Φw (where βˉ(z)>0 it is α(z)2/βˉ(z), and where βˉ(z)=0 both are 0). If ∫qdν=∞ there is nothing to prove. Otherwise claim 1 applies and gives Nw(A,B)2≤D(A,B)∫qdν, writing B=(B1,…,Bn). If D(A,B)>0, dividing yields Φw(A,B)≤∫qdν; if D(A,B)=0, then Φw(A,B)=0≤∫qdν. This proves claim 3. ■