Each result cited is universally quantified over the data in its own statement. Elementary order and field arithmetic in R is used without mention (Elementary Order Arithmetic in an Ordered Field, Elementary Arithmetic in an Ordered Field). Integrals against λd are written ∫⋯dλd; a Borel set is μ-full if its complement is μ-null, and finitely many μ-full sets have a μ-full intersection (claim 4 of Basic Properties of a Measure); likewise for ν. The densities ρ,ρ1 are Borel, real and nonnegative, μ is the measure with density ρ with respect to λd, and so, by claim 3 of Image Measures, Measures with Densities, and Change of Variables, ∫udμ=∫uρdλd for every Borel u≥0; likewise for ν and ρ1. In particular ∫ρdλd=μ(Rd)=1 and ∫ρ1dλd=1. By Optimal Transport Maps and Uniquely Mapped Pairs of Probability Measures §map, T is Borel and T#μ=ν.
Step 1: the Hessians. By Along an Optimal Map between Absolutely Continuous Measures the Hessians of the Two Convex Potentials are Inverse Matrices §hessians, applied to μ,ν,T,S,G,G′,φ,ψ,D,D′, there is a μ-full Borel X0⊆D every point of which has the properties listed there; in particular every x∈X0 satisfies: T(x)∈D′; φ is twice differentiable at x with first-order coefficient T(x); ψ is twice differentiable at T(x) with first-order coefficient x; D2φ(x) and D2ψ(T(x)) are positive definite; and detD2φ(x)⋅detD2ψ(T(x))=1. By Determinants of Positive Definite Matrices: Positivity, the Bound logdetA≤trA−d, Bounds under Pinching, and the Expansion of det(I+tB) §positive, 0<detD2φ(x) for x∈X0.
Step 2: two area inequalities. (a) Let k1 be the function of The Area Inequality for the Gradient of a Convex Function §area for f=φ, U=G, A=X0 (a Borel subset of G at whose points φ is twice differentiable) and h=ρ1: by Step 1, k1(x)=ρ1(T(x))detD2φ(x) for x∈X0 and k1(x)=0 otherwise. That theorem gives that k1 is Borel and nonnegative with
∫k1dλd≤∫ρ1dλd=1.(1)
(b) 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 for ψ on G′ there is a Borel Aψ⊆G′ with λd(G′∖Aψ)=0 at whose points ψ is twice differentiable; put A′=D′∩Aψ, which is ν-full (ν(G′∖Aψ)=0 by absolute continuity). Let k be the function of The Area Inequality for the Gradient of a Convex Function §area for f=ψ, U=G′, A=A′ and h=ρ: k(y)=ρ(Dψ(y))detD2ψ(y) for y∈A′ and k(y)=0 otherwise; that theorem gives ∫kdλd≤∫ρdλd=1. The sets P={ρ>0} and P1={ρ1>0} are Borel, and μ(Rd∖P)=∫1{ρ=0}ρdλd=0, so P is μ-full; likewise P1 is ν-full. Let u:Rd→R be u=kρ1−1 on P1 and u=0 elsewhere, a nonnegative Borel function. Then ∫udν=∫1P1kdλd≤∫kdλd≤1 (monotonicity, claim 1 of Linearity and Monotonicity of the Lebesgue Integral), and since T#μ=ν, Probability Measures on Euclidean Space and Random Vectors: Standing Notation §pushforward gives
∫u∘Tdμ=∫udν≤1.(2)
Step 3: the ratio and its reciprocal. Let X1=X0∩P∩T−1(P1∩A′), a Borel set which is μ-full because μ(T−1(P1∩A′))=ν(P1∩A′)=1. Let x∈X1 and y=T(x). Then y∈A′∩P1 and Dψ(y)=x by Step 1, so k(y)=ρ(x)detD2ψ(y)=ρ(x)(detD2φ(x))−1 and, writing w(x)=u(T(x)),
w(x)=ρ1(T(x))detD2φ(x)ρ(x)>0,w(x)−1=ρ(x)k1(x),(3)
using ρ(x)>0, ρ1(y)>0, detD2φ(x)>0 and Step 2(a). Let v:Rd→R be v=k1ρ−1 on X1 and v=0 elsewhere, a nonnegative Borel function. Then vρ=1X1k1 everywhere, so by monotonicity and (1)
∫vdμ=∫1X1k1dλd≤∫k1dλd≤1.(4)
Step 4: the ratio equals 1. Let F:Rd→R be F(x)=u(T(x))+v(x)−2 for x∈X1 and F(x)=0 otherwise; it is Borel. For x∈X1, (3) gives F(x)=w+w−1−2=(w−1)2w−1≥0 with w=w(x)>0; so 0≤F everywhere, and
F+21X1=1X1(u∘T)+1X1v≤u∘T+v
everywhere. By claim 1 of Linearity and Monotonicity of the Lebesgue Integral (additivity and monotonicity of the integral of nonnegative functions), μ(X1)=1, (2) and (4),
∫Fdμ+2≤∫u∘Tdμ+∫vdμ≤2,
the integrals lying in [0,∞]; hence ∫Fdμ=0, and by The Lebesgue Integral and Null Sets: Almost-Everywhere Comparison, Markov's Inequality, and Dominated Convergence Almost Everywhere §vanishing the Borel set Z={x∈Rd:F(x)=0} is μ-full. Let X=X1∩Z, a μ-full Borel set with X⊆X0⊆D; so every x∈X has all the properties listed in Along an Optimal Map between Absolutely Continuous Measures the Hessians of the Two Convex Potentials are Inverse Matrices §hessians, since x∈X0. For x∈X, (w(x)−1)2w(x)−1=F(x)=0 gives w(x)=1, which by (3) is
ρ(x)=ρ1(T(x))detD2φ(x),
and ρ(x)>0 since x∈P. This is the Jacobian equation.