Each result cited below is universally quantified over the data in its own statement, and is applied to the data named at the point of use.
Conventions. Elementary order and arithmetic manipulations of real numbers, for instance ∣max(s,0)−max(t,0)∣≤∣s−t∣, s≤∣s∣, and the fact that a real number c with c≤st for a fixed positive s and every positive t satisfies c≤0 (otherwise t=c(2s)−1 gives c≤c/2), are covered by Elementary Order Arithmetic in an Ordered Field and Elementary Arithmetic in an Ordered Field. For x,z∈Rd we use ∥x∥2=x⋅x=∑i=1dxi2, ∣xi∣≤∥x∥, ∥sx∥=∣s∣∥x∥ for s∈R, the triangle inequality and dE(x,z)=∥x−z∥, which are claims 1, 4, 5, 6 and 2 of Elementary Properties of the Euclidean Norm on Rn; with the bilinearity and symmetry of the dot product they give ∥x∥≤∑i=1d∣xi∣, ∣x⋅z∣≤(∑i=1d∣xi∣)∥z∥, and, from 0≤∥x∓z∥2=∥x∥2∓2x⋅z+∥z∥2, the inequalities 2∣x⋅z∣≤∥x∥2+∥z∥2 and ∥x+z∥2≤2∥x∥2+2∥z∥2. For d=1 the Euclidean norm is the absolute value, by claim 1 there. B(x,r) is the open ball of Euclidean Space and Lebesgue Measure: Standing Notation §space, and a set O⊆Rd is open exactly when every x∈O has an r>0 with B(x,r)⊆O. By Probability Measures on Euclidean Space and Random Vectors: Standing Notation §spaces, B(Rd) is the Borel σ-algebra of the metric space (Rd,dE), and it contains every open subset of Rd by Euclidean Space and Lebesgue Measure: Standing Notation §borel; as a σ-algebra it contains the union and the intersection of every countable family of its members. We write Q>0 for the set of positive rational numbers; Qd is countable by claim 3 of The Integers and the Rational Numbers are Countable, and Q>0 and every subset of Qd are countable by claim 3 of Basic Properties of Countable Sets (and claim 2 of The Integers and the Rational Numbers are Countable). Continuity of w on D means, by Differential Calculus and Convexity on Euclidean Open Sets: Standing Notation §extrema, that for every x∈D and every ε>0 there is δ>0 with ∣w(y)−w(x)∣<ε for every y∈D with ∥y−x∥<δ.
Step 0 (a Borel criterion). Let O⊆Rd be open and let G:Rd→R satisfy G(x)=0 for x∈/O and have the property that for every x∈O and every ε>0 there is δ>0 with ∣G(y)−G(x)∣<ε for every y∈O with ∥y−x∥<δ. We show that G is Borel. Put G+=max(G,0) and G−=max(−G,0), pointwise, so that G=G++(−1)G−. We claim that G+ is lower semicontinuous on Rd for the metric dE. Let x∈Rd and ε>0. If x∈/O, then G+(x)=0 and G+(x)−ε<0≤G+(y) for every y. If x∈O, choose δ1 as in the hypothesis and r>0 with B(x,r)⊆O, and put δ=min(δ1,r); every y with ∥y−x∥<δ lies in O and satisfies ∣G+(y)−G+(x)∣≤∣G(y)−G(x)∣<ε, hence G+(x)−ε<G+(y). The function −G satisfies the same hypotheses as G, so G−=max(−G,0) is lower semicontinuous on Rd as well. By claim 5 of Borel Measurability and Bounded Integration on a Metric Space, G+ and G− are Borel, and so is G by claim 2 of Arithmetic, Absolute Values, and Pointwise Limits of Measurable Real-Valued Functions.
Step 1 (clause 1). Assume that w is continuous on D.
(a) The map wˉ is Borel by Step 0 applied with O=D and G=wˉ.
(b) Translated differences. For h∈Rd let Oh={x∈D:x+h∈D}. The set {z∈Rd:z+h∈D} is open by Quadratic and Affine Functions of Class C2, Translation, and Quadratic Perturbation of Semiconvexity §translation (with V=D and b=h), so Oh, its intersection with D, is open by Metric Open Sets Form a Topology; note O0Rd=D. Let Fh:Rd→R be given by Fh(x)=w(x+h)−w(x) for x∈Oh and Fh(x)=0 otherwise. Let x∈Oh and ε>0; continuity of w at x and at x+h gives δ>0 with ∣w(y)−w(x)∣<ε/2 and ∣w(z)−w(x+h)∣<ε/2 for all y,z∈D with ∥y−x∥<δ and ∥z−(x+h)∥<δ; for y∈Oh with ∥y−x∥<δ we may take z=y+h, and obtain ∣Fh(y)−Fh(x)∣<ε. By Step 0, Fh is Borel.
(c) A Borel description of Ew. For δ∈Q>0 let H(δ)={h∈Qd:∥h∥<δ}, a countable set containing 0Rd. For ε,δ∈Q>0 and q∈Qd put
Sh(ε,q)={x∈Oh:∣Fh(x)−q⋅h∣≤ε∥h∥},S(ε,δ,q)=h∈H(δ)⋂Sh(ε,q).
The function Φ=∣Fh−c∣, where c is the constant function with value q⋅h, is Borel by (b) and claims 1, 2 and 4 of Arithmetic, Absolute Values, and Pointwise Limits of Measurable Real-Valued Functions; the interval [0,ε∥h∥] is closed in R, hence belongs to B(R) by claims 1 and 2 of Borel Measurability and Bounded Integration on a Metric Space; so Sh(ε,q)=Oh∩Φ−1([0,ε∥h∥])∈B(Rd), and S(ε,δ,q)∈B(Rd), H(δ) being countable. Consequently
E′=ε∈Q>0⋂ δ∈Q>0⋃ q∈Qd⋃S(ε,δ,q)∈B(Rd).
We show E′=Ew.
Ew⊆E′. Let x∈Ew and p=Dw(x), so that w is differentiable at x with a derivative matrix J satisfying Jh=p⋅h. Let ε∈Q>0. There is δ0>0 such that every h with 0<∥h∥<δ0 satisfies x+h∈D and ∣w(x+h)−w(x)−p⋅h∣≤2ε∥h∥. By claims 1 and 2 of The Rational Numbers are Dense in the Real Numbers choose δ∈Q with 0<δ<δ0 and q∈Qd with ∣qi−pi∣<ε/(2d) for i∈[d]. Let h∈H(δ). If h=0Rd, then x∈D=Oh and ∣Fh(x)−q⋅h∣=0. Otherwise 0<∥h∥<δ0 by claim 3 of Elementary Properties of the Euclidean Norm on Rn, so x∈Oh and
∣Fh(x)−q⋅h∣≤∣w(x+h)−w(x)−p⋅h∣+∣(p−q)⋅h∣≤2ε∥h∥+(i=1∑d∣pi−qi∣)∥h∥≤ε∥h∥.
Thus x∈S(ε,δ,q); as ε was arbitrary, x∈E′.
E′⊆Ew. Let x∈E′. For ε=1 there are δ,q with x∈S(1,δ,q)⊆S0Rd(1,q)⊆O0Rd=D, so x∈D; choose r>0 with B(x,r)⊆D. For every natural number j≥1 choose δj∈Q>0 and qj∈Qd with x∈S(1/j,δj,qj), and put ηj=min(δj,r) and sj=∑i=1d∣(qj)i∣. We claim:
(∗)x+h∈Dand∣w(x+h)−w(x)−qj⋅h∣≤j1∥h∥for all j≥1 and h∈Rd with ∥h∥<ηj.
Indeed x+h∈B(x,r)⊆D. Suppose that γ=∣w(x+h)−w(x)−qj⋅h∣−j1∥h∥>0. Continuity of w at x+h gives δ′>0 with ∣w(z)−w(x+h)∣<γ/3 for z∈D with ∥z−(x+h)∥<δ′. Put c=min(δ′,ηj−∥h∥,γ/(3(1+sj)))>0 and choose, by claim 2 of The Rational Numbers are Dense in the Real Numbers, h′∈Qd with ∣hi′−hi∣<c/d for i∈[d], so that ∥h′−h∥<c. Then ∥h′∥<∥h∥+c≤ηj≤δj, so h′∈H(δj) and x∈Sh′(1/j,qj), that is ∣w(x+h′)−w(x)−qj⋅h′∣≤j1∥h′∥. On the other hand x+h′∈D with ∥(x+h′)−(x+h)∥<δ′, so ∣w(x+h′)−w(x+h)∣<γ/3; moreover ∣qj⋅(h′−h)∣≤sj∥h′−h∥<γ/3 and j1∥h′∥≤j1∥h∥+∥h′−h∥<j1∥h∥+γ/3. Hence
∣w(x+h′)−w(x)−qj⋅h′∣≥∣w(x+h)−w(x)−qj⋅h∣−∣w(x+h′)−w(x+h)∣−∣qj⋅(h′−h)∣>j1∥h∥+3γ>j1∥h′∥,
a contradiction. This proves (∗).
Next let j,k≥1 and v=qj−qk. If v=0Rd, choose a real s with 0<s<min(ηj,ηk) and put h=(s∥v∥−1)v, so that ∥h∥=s and v⋅h=s∥v∥. Subtracting the two instances of (∗) gives s∥v∥=∣v⋅h∣≤(j1+k1)s. Hence in all cases ∥qj−qk∥≤j1+k1, and therefore ∣(qj)i−(qk)i∣≤j1+k1 for each i∈[d]. By the Archimedean property, for each i the sequence ((qm+1)i)m∈N is a Cauchy sequence, so it converges to a real number pi by Every Cauchy Sequence of Real Numbers Converges; let p=(p1,…,pd). For j≥1 and i∈[d] we have ∣(qj)i−pi∣≤j1: otherwise γ=∣(qj)i−pi∣−j1>0, and choosing k≥1 with k1<γ/2 and ∣(qk)i−pi∣<γ/2 we would get ∣(qj)i−(qk)i∣≥∣(qj)i−pi∣−∣(qk)i−pi∣>j1+2γ>j1+k1. Consequently, by (∗), for j≥1 and ∥h∥<ηj,
∣w(x+h)−w(x)−p⋅h∣≤∣w(x+h)−w(x)−qj⋅h∣+∣(qj−p)⋅h∣≤j1∥h∥+jd∥h∥.
Given ε>0, choose j≥1 with (1+d)/j≤ε; then every h with 0<∥h∥<ηj satisfies x+h∈D and ∣w(x+h)−w(x)−Jh∣≤ε∥h∥, where J is the real matrix with one row and entries J1i=pi, so that Jh=p⋅h. Thus w is differentiable at x with derivative matrix J, and x∈Ew. Hence Ew=E′∈B(Rd).
(d) The map ∇w is Borel. Fix i∈[d], let ei∈Rd have ith coordinate 1 and all others 0, and for m∈N put tm=(m+1)−1 and Gi,m=(m+1)1EwFtmei, which is Borel by (b), (c) and claims 1, 2 and 3 of Arithmetic, Absolute Values, and Pointwise Limits of Measurable Real-Valued Functions. Let x∈Ew and p=Dw(x), and let ε>0. Differentiability gives δ>0 with x+h∈D and ∣w(x+h)−w(x)−p⋅h∣≤2ε∥h∥ whenever 0<∥h∥<δ; choose m0 with tm0<δ. For m≥m0 the point h=tmei has 0<∥h∥=tm<δ, so x∈Oh, p⋅h=tmpi and
∣Gi,m(x)−pi∣=(m+1)∣w(x+tmei)−w(x)−tmpi∣≤2ε<ε.
Hence (Gi,m(x))m∈N converges to pi, the ith coordinate of ∇w(x). For x∈/Ew every Gi,m(x) is 0, which is the ith coordinate of ∇w(x)=0Rd. By claim 5 of Arithmetic, Absolute Values, and Pointwise Limits of Measurable Real-Valued Functions the ith coordinate of ∇w is Borel, and by claim 2 of The Borel Sigma-Algebra of a Euclidean Space as a Product, and Measurability of Projections, Sequentially Continuous Maps, and Open and Closed Sets, as recorded in Probability Measures on Euclidean Space and Random Vectors: Standing Notation §borel-maps, ∇w is Borel. This proves clause 1.
Step 2 (clause 2). Assume that w is continuous on D and let μ∈DU,a. By the definition of DU,a the Borel map Uˉ is integrable with respect to μ, hence so is ∣Uˉ∣, by claim 4 of Arithmetic, Absolute Values, and Pointwise Limits of Measurable Real-Valued Functions and the definition of integrability. Let h0=A+B∣Uˉ∣+B∣p0∣, an integrable function by claim 6(a) of Borel Measurability and Bounded Integration on a Metric Space and claim 2 of Linearity and Monotonicity of the Lebesgue Integral, with ∫h0dμ=A+B∫∣Uˉ∣dμ+B∣p0∣. For x∈Ew we have ∥∇w(x)∥2=∥Dw(x)∥2≤A+B(U(x)−p0)≤A+B∣U(x)∣+B∣p0∣=h0(x), since B≥0 and Uˉ(x)=U(x); for x∈/Ew, ∥∇w(x)∥2=0≤h0(x), since A,B≥0. The map ∥∇w∥2 is Borel, being the composition of ∇w (Step 1) with the Borel map x↦∥x∥2 of Probability Measures on Euclidean Space and Random Vectors: Standing Notation §pairs, by claim 4 of Borel Measurability and Bounded Integration on a Metric Space. By claim 1 of Linearity and Monotonicity of the Lebesgue Integral, and since the two readings of the integral of the nonnegative integrable h0 agree by Probability Measures on Euclidean Space and Random Vectors: Standing Notation §measures,
∫Rd∥∇w∥2dμ≤∫Rdh0dμ=A+B∫Rd∣Uˉ∣dμ+B∣p0∣<∞.
Hence the class of ∇w lies in L2(μ;Rd) by Square-Integrable Vector Fields Against a Probability Measure on Euclidean Space, and Test Functions: Standing Notation §l2mu, and ∥∇w∥2, a nonnegative Borel function with finite integral, is integrable. The maps wˉ (Step 1) and gˉ (by hypothesis) are Borel and bounded, w and g~ being bounded, so they are integrable by Probability Measures on Euclidean Space and Random Vectors: Standing Notation §measures; the combination λwˉ+2θ′∥∇w∥2−gˉ is integrable by claim 2 of Linearity and Monotonicity of the Lebesgue Integral. This proves clause 2.
Step 3 (set-up for clauses 3 and 4). Put σ=1 under the hypotheses of clause 3 and σ=−1 under those of clause 4, and let v:D→R, v(x)=σw(x). In both cases v is semiconvex on D with constant K≥0, and w(x)=σv(x) for x∈D since σσ=1. By Local Lipschitz Bound and Continuity for a Semiconvex Function on an Open Convex Set §continuity (with S=D) v is continuous on D, hence so is w=σv, and clauses 1 and 2 apply. By Viscosity Subsolution and Supersolution of a Second-Order Equation, read through The Penalty-Drift Hamilton-Jacobi Equation on an Open Subset of Euclidean Space §equation and with local extrema taken as in Local Maximum of a Function Relative to a Subset of a Metric Space and Local Minimum of a Function Relative to a Subset of a Metric Space in the metric space (Rd,dE), we have:
(V) for every ψ:D→R of class C2 on D and every y∈D such that σ(w(z)−ψ(z))≤σ(w(y)−ψ(y)) for all z∈D with ∥z−y∥<δ, for some δ>0, one has σF(y,w(y),Dψ(y),D2ψ(y))≤0.
For σ=1 the hypothesis of (V) says that w−ψ has a local maximum at y relative to D, and the conclusion is the subsolution inequality; for σ=−1 it says that w−ψ has a local minimum at y relative to D, and the conclusion is the supersolution inequality 0≤F(y,w(y),Dψ(y),D2ψ(y)).
Fix μ∈DU,aΣ. By the definition of DU,aΣ and of DU,a, μ∈P2I(Rd), μ(D)=1, ∫∥∇U∥2dμ<∞, and μ∈P2Ent(Rd) has finite entropy, so that μ is absolutely continuous by Basic Properties of the Entropy on the Wasserstein Space: Comparison with the Gaussian Relative Entropy, Lower Bound, Translation Invariance, Absolute Continuity, Closed Sublevel Sets and Lower Semicontinuity §absolutely-continuous. Let ξμ be its score.
Step 4 (convexification and a Borel set of full measure). Let φ:D→R, φ(x)=v(x)+2K∥x∥2; it is convex on D by Semiconvex Function on a Convex Subset of Rn. By The Points of Twice Differentiability of a Convex Function: a Borel Set of Full Measure, and Borel Measurability of the Gradient and Hessian on It §full, applied with n=d, with D in place of its open convex set and φ in place of f, there is T∈B(Rd) with T⊆D and λd(D∖T)=0 such that φ is twice differentiable at every point of T. Since D∖T∈B(Rd) and μ is absolutely continuous, μ(D∖T)=0; by additivity of the measure μ, μ(T)=μ(D)−μ(D∖T)=1, and μ(Rd∖T)=0. For y∈T write pφ(y)∈Rd and Hφ(y)∈S(d) for the first-order coefficient and the Hessian of φ at y, as in Differential Calculus and Convexity on Euclidean Open Sets: Standing Notation §twice-differentiable.
Step 5 (second-order data of w on T). Fix y∈T. Let QK:Rd→R, QK(z)=21z⋅((KId)z)=2K∥z∥2. By Quadratic and Affine Functions of Class C2, Translation, and Quadratic Perturbation of Semiconvexity §quadratic (with M=KId∈S(d), q=0Rd and c=0) its restriction to D is of class C2 on D with gradient Kz and Hessian KId at z∈D, so by Basic Properties of Twice Differentiability at a Point §c2 it is twice differentiable at y with first-order coefficient Ky and Hessian KId. Since v=φ−QK on D, Sums, Differences and Scalar Multiples of Functions Twice Differentiable at a Point §difference shows that v is twice differentiable at y with first-order coefficient pφ(y)−Ky and Hessian Hφ(y)−KId, and Sums, Differences and Scalar Multiples of Functions Twice Differentiable at a Point §multiple (with the scalar σ) shows that w=σv is twice differentiable at y with first-order coefficient and Hessian
pw=σ(pφ(y)−Ky),Xw=σ(Hφ(y)−KId)∈S(d).
By Basic Properties of Twice Differentiability at a Point §gradient, w is differentiable at y and pw is its gradient Dw(y); hence y∈Ew and ∇w(y)=pw. Multiplying by σ and using σσ=1, the linearity of the trace (claim 1 of Basic Properties of the Trace) and tr(Id)=d,
(5.1)pφ(y)=σ∇w(y)+Ky,(5.2)σtr(Xw)=tr(Hφ(y)−KId)=trHφ(y)−Kd.
Step 6 (the pointwise inequality). We show that for every y∈T
(6.1)σ[λw(y)+2θ′∥∇w(y)∥2+DU(y)⋅∇w(y)−g~(y)]≤a(trHφ(y)−Kd).
Fix y∈T and a real t>0, and let Mt=Xw+σtId, which lies in S(d) by Second-Order Equations on Euclidean Open Sets §matrices. Let Qt:Rd→R, Qt(z)=21z⋅(Mtz)+pw⋅z+w(y). By Quadratic and Affine Functions of Class C2, Translation, and Quadratic Perturbation of Semiconvexity §quadratic and Quadratic and Affine Functions of Class C2, Translation, and Quadratic Perturbation of Semiconvexity §translation (with V=Rd and b=−y, so that V−b=Rd), the map z↦Qt(z−y) is of class C2 on Rd with gradient Mt(z−y)+pw and Hessian Mt at z; by Differential Calculus and Convexity on Euclidean Open Sets: Standing Notation §derivatives its restriction ψt to D is of class C2 on D with the same gradient and Hessian at points of D. In particular Dψt(y)=pw, D2ψt(y)=Mt and ψt(y)=w(y), and for h∈Rd with y+h∈D, since Mth=Xwh+σth,
ψt(y+h)=w(y)+pw⋅h+21h⋅(Xwh)+2σt∥h∥2.
By twice differentiability of w at y (Step 5), applied with ε=t/2, there is δ>0 such that every h with ∥h∥<δ satisfies y+h∈D and ∣w(y+h)−w(y)−pw⋅h−21h⋅(Xwh)∣≤2t∥h∥2. For such h, using σσ=1,
σ(w(y+h)−ψt(y+h))=σ(w(y+h)−w(y)−pw⋅h−21h⋅(Xwh))−2t∥h∥2≤0=σ(w(y)−ψt(y)).
Every z∈D with ∥z−y∥<δ is y+h with h=z−y, so (V) applies to ψt and y and gives σF(y,w(y),pw,Mt)≤0. By The Penalty-Drift Hamilton-Jacobi Equation on an Open Subset of Euclidean Space §operator, with 2κ=a, tr(Mt)=tr(Xw)+σtd (claim 1 of Basic Properties of the Trace), σσ=1 and (5.2),
σF(y,w(y),pw,Mt)=σ[λw(y)+2θ′∥pw∥2+DU(y)⋅pw−g~(y)]−a(trHφ(y)−Kd)−adt.
Thus the real number c=σ[λw(y)+2θ′∥pw∥2+DU(y)⋅pw−g~(y)]−a(trHφ(y)−Kd), which does not depend on t, satisfies c≤(ad)t for every t>0; as ad>0, c≤0. Since pw=∇w(y), this is (6.1).
Step 7 (the Laplacian comparison). Apply The Score Paired with the Identity, and the Laplacian of a Convex Potential Bounded by its Pairing with the Score §comparison with its open convex set G=D (for which μ(D)=1), the convex function φ and the Borel set T⊆D with μ(T)=1 at every point of which φ is twice differentiable. The maps gφ:Rd→Rd and Δφ:Rd→R of that clause are Borel, with gφ(y)=pφ(y) and Δφ(y)=trHφ(y) for y∈T and gφ=0Rd, Δφ=0 off T. By (5.1), for y∈T, ∥gφ(y)∥2=∥σ∇w(y)+Ky∥2≤2∥∇w(y)∥2+2K2∥y∥2, and the same bound holds trivially off T. The second moment ∫∥x∥2μ(dx) is finite, as recorded in the preamble of The Score Paired with the Identity, and the Laplacian of a Convex Potential Bounded by its Pairing with the Score, so claim 1 of Linearity and Monotonicity of the Lebesgue Integral and Step 2 give ∫∥gφ∥2dμ≤2∫∥∇w∥2dμ+2K2∫∥x∥2μ(dx)<∞. That clause therefore yields that Δφ is integrable with respect to μ and
∫RdΔφdμ≤−⟨ξμ,gφ⟩μ.
The Borel map σ∇w+Kid agrees with gφ on T, and μ(T)=1, so the two maps have the same class in L2(μ;Rd) by The Space of Square-Integrable Random Vectors §classes, read as in Square-Integrable Vector Fields Against a Probability Measure on Euclidean Space, and Test Functions: Standing Notation §l2mu; by the vector operations defined there this class is σ∇w+Kid, formed in L2(μ;Rd). By the bilinearity of ⟨⋅,⋅⟩μ (The Space of Square-Integrable Random Vectors §inner-product) and The Score Paired with the Identity, and the Laplacian of a Convex Potential Bounded by its Pairing with the Score §identity, ⟨ξμ,gφ⟩μ=σ⟨ξμ,∇w⟩μ+K⟨ξμ,id⟩μ=σ⟨ξμ,∇w⟩μ−Kd. Hence
(7.1)∫RdΔφdμ≤−σ⟨ξμ,∇w⟩μ+Kd.
Step 8 (integration and conclusion). Let H1=λwˉ+2θ′∥∇w∥2−gˉ, integrable by Step 2, and H2=∇U⋅∇w=∑i=1d(∇U)i(∇w)i, which is Borel by claim 2 of The Borel Sigma-Algebra of a Euclidean Space as a Product, and Measurability of Projections, Sequentially Continuous Maps, and Open and Closed Sets and claims 2 and 3 of Arithmetic, Absolute Values, and Pointwise Limits of Measurable Real-Valued Functions, ∇U being Borel as recorded in The Relative Free Energy and the Relative Score of a Probability Measure for a Potential on an Open Set and ∇w by Step 1. Since ∣H2∣≤21∥∇U∥2+21∥∇w∥2, with ∫∥∇U∥2dμ<∞ (Step 3) and ∫∥∇w∥2dμ<∞ (Step 2), H2 is integrable by claim 1 of Linearity and Monotonicity of the Lebesgue Integral, and ∫H2dμ=⟨∇U,∇w⟩μ by Square-Integrable Vector Fields Against a Probability Measure on Euclidean Space, and Test Functions: Standing Notation §l2mu. The function
f=aΔφ−aKd−σH1−σH2
is integrable by claim 6(a) of Borel Measurability and Bounded Integration on a Metric Space, Step 7 and claim 2 of Linearity and Monotonicity of the Lebesgue Integral. For y∈T⊆D we have wˉ(y)=w(y), gˉ(y)=g~(y), ∇U(y)=DU(y) and Δφ(y)=trHφ(y), so f(y)≥0 by (6.1). The Borel function f1T (claims 1 and 3 of Arithmetic, Absolute Values, and Pointwise Limits of Measurable Real-Valued Functions) is therefore nonnegative everywhere, and it agrees with f off the set Rd∖T, which has μ-measure 0. By The Lebesgue Integral and Null Sets: Almost-Everywhere Comparison, Markov's Inequality, and Dominated Convergence Almost Everywhere §comparison, f1T is integrable and ∫fdμ=∫f1Tdμ, which is ≥0 by claim 2 of Linearity and Monotonicity of the Lebesgue Integral. By the linearity of the integral (claim 2 there) and (7.1), using a>0,
σ∫H1dμ+σ⟨∇U,∇w⟩μ≤a∫Δφdμ−aKd≤−σa⟨ξμ,∇w⟩μ.
By the definition of the relative score, ΣU,a(μ)=∇U+aξμ in L2(μ;Rd), so the bilinearity of ⟨⋅,⋅⟩μ gives ⟨ΣU,a(μ),∇w⟩μ=⟨∇U,∇w⟩μ+a⟨ξμ,∇w⟩μ, and the last display becomes
σ(∫Rd(λwˉ+2θ′∥∇w∥2−gˉ)dμ+⟨ΣU,a(μ),∇w⟩μ)≤0.
For σ=1 this is clause 3; for σ=−1, multiplying by −1 gives clause 4.