Each result cited is universally quantified over the data in its own statement. Every space L2(λ;Rd) below, for λ a probability measure on Rd, Rd+d or R3d, is a real Hilbert space by Wasserstein Spaces, Random Vectors, Vector Fields and Symmetric Matrices in Every Dimension: Standing Notation §fields, so Elementary Identities in a Real Inner Product Space applies in it, and its vector operations act on classes through pointwise combinations of representatives by Square-Integrable Random Vectors: Coordinates, Operations, Almost Sure Equality and the Mean-Square Form §vector-space. For such λ and w∈Rd, κw denotes the class in L2(λ;Rd) of the constant map with value w, which is Borel, being continuous, and has ∥κw∥λ2=∥w∥2 because λ has total mass 1; the measure λ is named each time. Integrals against push-forwards are transported by the change-of-variables formula, called "change of variables" below. We write W for W2.
Step 0 (Constant fields along a coupling). Let α,β∈P2(Rd), π∈Π(α,β) and w∈Rd. By The Displacement Pairing of a Square-Integrable Vector Field Along a Coupling §pairing and The Displacement Pairing of a Square-Integrable Vector Field Along a Coupling §mean, applied to κw∈L2(α;Rd), the function z↦w⋅(y−x) on Rd+d is Borel and π-integrable with integral w⋅(m(β)−m(α)). Since w⋅(x−y)=−(w⋅(y−x)) by Bilinearity and Symmetry of the Dot Product on Rn, claim 2 of Linearity and Monotonicity of the Lebesgue Integral gives
∫Rd+dw⋅(x−y)π(dz)=w⋅(m(α)−m(β)).
Step 1 (Claim 1). The map h is Borel, so m^ is a probability measure on Rd by Probability Measures on Euclidean Space and Random Vectors: Standing Notation §pushforward. For z∈Rd+d, h(z)=21(x−(−y)), so claim 5 of Elementary Properties of the Euclidean Norm on Rn and the inequality ∥a−b∥2≤2∥a∥2+2∥b∥2 of Pairs of Euclidean Points: Coordinate Projections, Pairings, the Product Measure on a Euclidean Space, Borel Norm Functions and Finite Sets §functions, with a=x and b=−y, give ∥h(z)∥2≤21∥x∥2+21∥y∥2. By change of variables, claim 1 of Linearity and Monotonicity of the Lebesgue Integral and (pr1)#π^=μ, (pr2)#π^=ν,
M2(m^)=∫Rd+d∥h(z)∥2π^(dz)≤21M2(μ)+21M2(ν)<∞,
so m^∈P2(Rd).
The pairings (pr1,h) and (h,pr2) are Borel by Pairs of Euclidean Points: Coordinate Projections, Pairings, the Product Measure on a Euclidean Space, Borel Norm Functions and Finite Sets §pairing; put π−=(pr1,h)#π^ and π+=(h,pr2)#π^. For a Borel set B⊆Rd one has (pr1,h)−1(pr1−1(B))=pr1−1(B) and (pr1,h)−1(pr2−1(B))=h−1(B), so the marginals of π− are μ and m^, that is, π−∈Π(μ,m^); in the same way π+∈Π(m^,ν). As x−h(z)=21(x−y) and h(z)−y=21(x−y), change of variables, claim 5 of Elementary Properties of the Euclidean Norm on Rn and the optimality of π^ (Optimal Coupling of Two Probability Measures with Finite Second Moment §optimal) give
I(π−)=∫Rd+d∥x−h(z)∥2π^(dz)=41I(π^)=41W(μ,ν)2,I(π+)=41W(μ,ν)2.
By The Quadratic Wasserstein Distance on Euclidean Space §distance, W(μ,m^)2≤I(π−) and W(m^,ν)2≤I(π+); taking nonnegative square roots (claim 2 of Monotonicity of Squaring on the Nonnegative Elements of an Ordered Field), W(μ,m^)≤21W(μ,ν) and W(m^,ν)≤21W(μ,ν). By The Quadratic Wasserstein Distance is a Metric on the Wasserstein Space §triangle, W(μ,ν)≤W(μ,m^)+W(m^,ν). Were either of the two distances strictly below 21W(μ,ν), the sum would be strictly below W(μ,ν) by claim 3 of Elementary Order Arithmetic in an Ordered Field, a contradiction; so both equal 21W(μ,ν), and squaring gives W(μ,m^)2=W(m^,ν)2=41W(μ,ν)2.
For the mean, let w∈Rd and write x′=pr1(z′), y′=pr2(z′) for z′∈Rd+d. Step 0 for π−∈Π(μ,m^), change of variables through (pr1,h), the identity w⋅(x−h(z))=(21w)⋅(x−y) of Bilinearity and Symmetry of the Dot Product on Rn, and Step 0 for π^∈Π(μ,ν) with 21w in place of w give
w⋅(m(μ)−m(m^))=∫Rd+dw⋅(x′−y′)π−(dz′)=∫Rd+dw⋅(x−h(z))π^(dz)=21w⋅(m(μ)−m(ν)).
As m(μ)−m(m^)−21(m(μ)−m(ν))=c−m(m^), bilinearity of the dot product gives w⋅(c−m(m^))=0 for every w. With w=c−m(m^), claim 1 of Elementary Properties of the Euclidean Norm on Rn gives ∥c−m(m^)∥2=0; a square of a real number vanishes only at 0 (claims 1 and 3 of Zero Products and Elementary Identities in a Field), so ∥c−m(m^)∥=0, and c−m(m^)=0Rd by claim 3 of Elementary Properties of the Euclidean Norm on Rn; hence m(m^)=c.
Step 2 (The glued fields). Let ρ,σ∈P2(Rd), and let π12∈Π(ρ,m^) and π23∈Π(m^,σ) be optimal couplings; optimal couplings exist by Existence of an Optimal Coupling of Two Probability Measures with Finite Second Moment. Let λ be a gluing of π12 and π23, which exists by Gluing Two Couplings over a Common Middle Marginal, and the Composite Coupling §glued, so that (q1,q2)#λ=π12 and (q2,q3)#λ=π23, and let π13=(q1,q3)#λ, which belongs to Π(ρ,σ) and satisfies ∥q1−q3∥λ2=I(π13) by Gluing Two Couplings over a Common Middle Marginal, and the Composite Coupling §composite. By Gluing Two Couplings over a Common Middle Marginal, and the Composite Coupling §fields the classes of q1,q2,q3 lie in L2(λ;Rd), with ∥q1−q2∥λ2=I(π12)=W(ρ,m^)2 and ∥q2−q3∥λ2=I(π23)=W(m^,σ)2, the second equalities by optimality. Put
k=m(ρ)−c,k′=c−m(σ),K=k+k′=m(ρ)−m(σ),
a=q1−q2−κk,b=q2−q3−κk′in L2(λ;Rd),
so that a+b=q1−q3−κK, the classes being computed pointwise.
For (i,j) one of (1,2), (2,3), (1,3), let πij=(qi,qj)#λ∈Π(α,β) with (α,β) respectively (ρ,m^), (m^,σ), (ρ,σ), and let w∈Rd. By the definition of ⟨⋅,⋅⟩λ in Wasserstein Spaces, Random Vectors, Vector Fields and Symmetric Matrices in Every Dimension: Standing Notation §fields, symmetry of the dot product (Bilinearity and Symmetry of the Dot Product on Rn), change of variables through (qi,qj) and Step 0,
⟨qi−qj,κw⟩λ=∫R3dw⋅(qi−qj)dλ=∫Rd+dw⋅(x−y)πij(dz)=w⋅(m(α)−m(β)).
With m(m^)=c from Step 1 and claim 1 of Elementary Properties of the Euclidean Norm on Rn, this gives ⟨q1−q2,κk⟩λ=∥k∥2, ⟨q2−q3,κk′⟩λ=∥k′∥2 and ⟨q1−q3,κK⟩λ=∥K∥2. The expansion Elementary Identities in a Real Inner Product Space §expansion therefore yields
∥a∥λ2=W(ρ,m^)2−2∥k∥2+∥k∥2=A(ρ),∥b∥λ2=W(m^,σ)2−∥k′∥2=A(σ),∥a+b∥λ2=I(π13)−∥K∥2,
where for ∥b∥λ2 we used W(m^,σ)=W(σ,m^) (The Quadratic Wasserstein Distance is a Metric on the Wasserstein Space §symmetry) and ∥k′∥=∥m(σ)−c∥ (claim 5 of Elementary Properties of the Euclidean Norm on Rn, with the scalar −1). Together with the parallelogram law Elementary Identities in a Real Inner Product Space §parallelogram, ∥a+b∥λ2+∥a−b∥λ2=2∥a∥λ2+2∥b∥λ2, this gives
I(π13)=2A(ρ)+2A(σ)+∥m(ρ)−m(σ)∥2−∥a−b∥λ2.(∗)
Step 3 (Claims 2 and 3). Let ρ,σ∈P2(Rd) and carry out Step 2. Then A(ρ)=∥a∥λ2≥0, which is claim 2. By The Quadratic Wasserstein Distance on Euclidean Space §distance, W(ρ,σ)2≤I(π13), and 0≤∥a−b∥λ2, so (∗) gives claim 3.
Step 4 (Claim 4). By claim 1, m(μ)−c=21(m(μ)−m(ν)) and m(ν)−c=−21(m(μ)−m(ν)), so by claim 5 of Elementary Properties of the Euclidean Norm on Rn both have squared norm 41∥m(μ)−m(ν)∥2; and W(μ,m^)2=W(ν,m^)2=41W(μ,ν)2 by claim 1 and The Quadratic Wasserstein Distance is a Metric on the Wasserstein Space §symmetry. Hence A(μ)=A(ν)=41(W(μ,ν)2−∥m(μ)−m(ν)∥2), and 2A(μ)+2A(ν)+∥m(μ)−m(ν)∥2=W(μ,ν)2.
Step 5 (Claim 5). Let ρ,σ,T,S be as in claim 5. By Optimal Transport Maps and Uniquely Mapped Pairs of Probability Measures §map, π12=(id,T)#ρ is an optimal coupling of ρ and m^; take any optimal π23∈Π(m^,σ) and carry out Step 2 with these. Equality in claim 3, (∗) and W(ρ,σ)2≤I(π13) give
W(ρ,σ)2=I(π13)+∥a−b∥λ2≥W(ρ,σ)2+∥a−b∥λ2,
so ∥a−b∥λ2=0 and then I(π13)=W(ρ,σ)2: π13 is an optimal coupling of ρ and σ. As (ρ,σ) is uniquely mapped (Optimal Transport Maps and Uniquely Mapped Pairs of Probability Measures §uniquely-mapped), there is an optimal map S0 from ρ to σ such that every optimal coupling of ρ and σ equals (id,S0)#ρ; both π13 and (id,S)#ρ, optimal by Optimal Transport Maps and Uniquely Mapped Pairs of Probability Measures §map, are such couplings, so π13=(id,S)#ρ.
The graphs ΓT and ΓS of A Coupling Concentrated on the Graph of a Borel Map is the Push-Forward by That Map are Borel, as recorded there, and (id,T)−1(ΓT)=(id,S)−1(ΓS)=Rd, so π12(ΓT)=π13(ΓS)=1. Hence the Borel sets GT=(q1,q2)−1(ΓT), on which q2=T∘q1, and GS=(q1,q3)−1(ΓS), on which q3=S∘q1, have λ-measure 1. Since ∥a−b∥λ=0, a−b is the zero class by Elementary Identities in a Real Inner Product Space §vanishing, so the Borel set G0 on which the representatives q1−q2−k and q2−q3−k′ agree has λ-measure 1 by Wasserstein Spaces, Random Vectors, Vector Fields and Symmetric Matrices in Every Dimension: Standing Notation §fields. Then G=G0∩GT∩GS has λ(R3d∖G)=0 by claim 4 of Basic Properties of a Measure. At z∈G, with x=q1(z),
x−T(x)−k=T(x)−S(x)−k′=(x−S(x))−(x−T(x))−k′,
so 2(x−T(x))=(x−S(x))+k−k′ and, as k−k′=m(ρ)+m(σ)−2c,
x−T(x)=21(x−S(x))+w0,w0=21(m(ρ)+m(σ))−c.
The map g:Rd→Rd with g(x)=x−T(x)−21(x−S(x))−w0 is Borel (Probability Measures on Euclidean Space and Random Vectors: Standing Notation §borel-maps and claim 2 of Arithmetic, Absolute Values, and Pointwise Limits of Measurable Real-Valued Functions, componentwise), so N={x:g(x)=0Rd} is Borel, and q1−1(N)⊆R3d∖G. Since q1−1(N)=(q1,q2)−1(pr1−1(N)),
ρ(N)=π12(pr1−1(N))=λ(q1−1(N))=0,
the last equality by monotonicity of λ (claim 2 of Basic Properties of a Measure).
Thus id−T and 21(id−S)+w0 agree ρ-almost everywhere, so their classes in L2(ρ;Rd) coincide by Wasserstein Spaces, Random Vectors, Vector Fields and Symmetric Matrices in Every Dimension: Standing Notation §fields; by Square-Integrable Random Vectors: Coordinates, Operations, Almost Sure Equality and the Mean-Square Form §vector-space the class of the second is 21(id−S)+e. This is claim 5.