· 16,114 chars · 16 deps · depth 37 Reason: Proof of the quantile-block lemma: blocks of mass 1/N, optimality of block maps by a bathtub argument, the block test function.
The level sets of the continuous distribution function are half-lines of the right measure, which gives the blocks; the block maps push the measure to the empirical measure, and optimality of the monotone coupling follows from a layer-cake decomposition of the ordered values and a bathtub comparison on the top blocks. The test-function and block-average claims are then direct expansions and Cauchy-Schwarz.
Proof
Each result cited is universally quantified over the data in its own statement, and is applied to the data named here.
Step 1 (The distribution function). By claim 2 (monotonicity) of Basic Properties of a Measure, F is nondecreasing with values in [0,1]. Fix s∈R. As m≥1 increases, the sets (−∞,s−m1] increase with union (−∞,s), the sets (s+m1,∞) increase with union (s,∞), and the sets (−∞,m] and (−m,∞) increase with union R. Hence, by claim 5 (continuity from below) and claim 3 (differences) of Basic Properties of a Measure, as m→∞,
By claim 1 (finite additivity) of Basic Properties of a Measure, F(s)=μ^((−∞,s))+μ^({s}), and μ^({s})=0 because μ^ is atomless; so also F(s−m1)→F(s).
Step 2 (Level sets). We show: for real t with 0<t≤1 the set Lt={s∈R:F(s)≤t} is Borel and μ^(Lt)=t. For t=1, L1=R since F≤1. Let 0<t<1. Since F(−m)→0<t, some F(−m)≤t, so Lt=∅. Since F(m)→1>t, there is n0 with F(n0)>t, and every s∈Lt satisfies s<n0, as s≥n0 would give F(s)≥F(n0)>t. So st=supLt is a real number, by the Dedekind completeness of the real numbers. For each m≥1 there is sm∈Lt with sm>st−m1, whence F(st−m1)≤F(sm)≤t; letting m→∞ and using Step 1 gives F(st)≤t. Also st+m1∈/Lt, so F(st+m1)>t, and Step 1 gives F(st)≥t. Thus F(st)=t. If s≤st then F(s)≤F(st)=t, and if s>st then s∈/Lt; hence Lt=(−∞,st], which is Borel, and μ^(Lt)=F(st)=t.
Step 3 (Claim 1). For 1≤i≤N−1 one has 0<N1≤ci≤NN−1<1 and 0<ci−1≤1, and Bi=Lci−1∖Lci with Lci⊆Lci−1; also BN=LcN−1 with 0<cN−1=N1≤1. By Step 2 each Bi is Borel, μ^(BN)=N1, and, by claim 3 of Basic Properties of a Measure, μ^(Bi)=ci−1−ci=N1 for i<N. Let i<j, s∈Bi and t∈Bj. Then i<N, so F(s)>ci, while F(t)≤cj−1≤ci because j−1≥i. Hence F(t)<F(s); in particular s=t, so Bi∩Bj=∅, and t<s, since t≥s would give F(t)≥F(s). Finally let s∈R. If F(s)≤cN−1 then s∈BN. Otherwise F(s)>cN−1; let i be the least element of {1,…,N−1} with F(s)>ci. Then F(s)≤ci−1, by F≤1=c0 if i=1 and by minimality if i>1, so s∈Bi. Thus the Bi are pairwise disjoint with union R. Consequently every s lies in exactly one Bi, and for every Borel g:R→R that is nonnegative or μ^-integrable, g=∑i=1Ng1Bi pointwise and so, by linearity of the integral,
for every Borel A, so (Tx)#μ^=μxN, the empirical measure of The Empirical Measure of a Configuration of N Particles §empirical. For x,y∈RN, (Tx−Ty)2=(xi−yi)2 on Bi, so by (P) and Step 3, ∥Tx−Ty∥μ^2=∑i(xi−yi)2μ^(Bi)=N1∥x−y∥2. Now let x be ordered and s≤t, with s∈Bi, t∈Bj. If i<j, Step 3 would give t<s; so j≤i, hence xj≥xi, that is Tx(t)≥Tx(s). So Tx is nondecreasing.
Step 6 (Claim 3: reduction of the lower bound). Let γ∈Π(μxN,ν) and write a=pr1(z), b=pr2(z) for z∈R2. By change of variables along pr1 and pr2 and the coupling property, ∫a2dγ=M2(μxN)=N1∥x∥2 and ∫b2dγ=M2(ν), both finite; hence b and ab are γ-integrable (∣b∣≤21(1+b2), ∣ab∣≤21(a2+b2)), and the quadratic cost is
I(γ)=∫(a−b)2dγ=N1∥x∥2+M2(ν)−2∫abdγ.
Likewise, by Step 4 (with y=0) and Step 5, ∥Tx−T∥μ^2=∫Tx2+∫T2−2∫TxT=N1∥x∥2+M2(ν)−2∫TxT. So I(γ)≥∥Tx−T∥μ^2 follows once we show
∫abdγ≤∫TxTdμ^.(∗)
Granting (∗) for every γ, ∥Tx−T∥μ^2 is a lower bound of the costs, so it is at most their greatest lower bound W2(μxN,ν)2; with Step 5 and nonnegativity of both sides, W2(μxN,ν)=∥Tx−T∥μ^.
Step 7 (Claim 3: layer-cake decomposition). Let z1>z2>⋯>zm (m≥1) be the distinct values among x1,…,xN, and Z={z1,…,zm}. For p∈[m] let kp be the number of i with xi≥zp; as x is ordered, xi≥zp and j<i give xj≥zp, so {i:xi≥zp}={1,…,kp}, and for p≤m−1 we have 1≤kp≤N−1 (some xi equals zp, and some equals zm<zp). For every r∈Z,
r=zm+p=1∑m−1(zp−zp+1)1[zp,∞)(r),
since for r=zl the indicator equals 1 exactly when p≥l and the sum telescopes to zl−zm. Applied to r=Tx(s)∈Z, this gives Tx=zm+∑p=1m−1(zp−zp+1)1Up with Up={Tx≥zp}=B1∪⋯∪Bkp, hence, T being integrable,
and when m=1 both sums are empty and (∗) is an equality.
Step 8 (Claim 3: the bathtub comparison). Fix p≤m−1, put k=kp and U=Up. By Step 3 and finite additivity, μ^(U)=Nk; as μ^(R∖E)=0, μ^(U∩E)=Nk>0 and μ^(E∖U)=1−Nk>0, so both sets are nonempty. If u∈U∩E and t∈E∖U, then u∈Bi with i≤k and t∈Bj with j>k, so t<u by Step 3, and T(t)≤T(u) as T is nondecreasing on E. Hence, by Dedekind completeness, c=sup{T(t):t∈E∖U} is a real number with T≤c on E∖U and T≥c on U∩E. The function (T−c)+ is Borel and integrable (0≤(T−c)+≤∣T∣+∣c∣). Since μ^(R∖E)=0, (T−c)+=0 on E∖U and (T−c)+=T−c on U∩E,
∫(T−c)+dμ^=∫U∩E(T−c)=∫UT−cNk.
On the other hand, using γ(Pp)=Nk, then b−c≤(b−c)+ and (b−c)+≥0, then change of variables along pr2 and along T,
Combining the two displays gives (∗∗), hence (∗), and the main assertion of claim 3 is proved.
Step 9 (Claim 3: the particular cases). Let x,y be ordered. The identity map is Borel, nondecreasing on R, and pushes μ^ to μ^∈P2(R); with T=id, Steps 5 to 8 and (P) give W2(μxN,μ^)2=∫(Tx−id)2dμ^=∑i=1N∫Bi(xi−s)2μ^(ds). By Step 4, Ty is Borel, nondecreasing on R and pushes μ^ to μyN, which lies in P2(R) by Basic Properties of Empirical Measures: Values, Integrals, Push-Forwards, Second Moment, and Lipschitz Dependence on the Configuration §moment; with T=Ty and Step 4, W2(μxN,μyN)=∥Tx−Ty∥μ^=N∥x−y∥. By the triangle inequality in L2(μ^;R) and the case T=id for x and for y, ∥Tx−Ty∥μ^≤∥Tx−id∥μ^+∥Ty−id∥μ^=W2(μxN,μ^)+W2(μyN,μ^).
Step 10 (Claim 4). Fix a Borel representative of q. Since μ^∈P2(R), ∫s2μ^(ds)<∞, so s↦s and q are integrable (∣s∣≤21(1+s2), ∣q∣≤21(1+q2)), s↦q(s)s is integrable (∣qs∣≤21(q2+s2)), and so are s↦q(s)(xi−s) and s↦(xi−s)2≤2xi2+2s2; thus χ, qˉi and mi are well defined, and two representatives of q agree off a μ^-null set, so the integrals do not depend on the choice. Expanding each integrand, using μ^(Bi)=N1, ∫Biq=N1qˉi, ∫Bisμ^(ds)=N1mi and (P),
a polynomial of degree at most 2 in x with real coefficients. It is continuous on RN, its partial derivatives are ∂iχ(x)=N1(qˉi+2Kxi−2Kmi)=N1(qˉi+2K(xi−mi)), affine hence continuous, and ∂l∂iχ=N2K if l=i and 0 otherwise, constants. So χ is of class C2 on RN in the sense of Differential Calculus and Convexity on Euclidean Open Sets: Standing Notation §derivatives, and its Hessian matrix is D2χ(x)=N2KIN. Now let x be ordered. Since Tx=xi on Bi, (P) gives χ(x)=∫q(Tx−id)dμ^+K∫(Tx−id)2dμ^=⟨q,Tx−id⟩μ^+K∥Tx−id∥μ^2, and ∥Tx−id∥μ^=W2(μxN,μ^) by Step 9 (the case T=id). By the Cauchy-Schwarz inequality, ⟨q,Tx−id⟩μ^≥−∥q∥μ^∥Tx−id∥μ^=−∥q∥μ^W2(μxN,μ^), which gives the lower bound.
Step 11 (Claim 5). A Lipschitz h is continuous, hence Borel by Probability Measures on Euclidean Space and Random Vectors: Standing Notation §borel-maps; being bounded, h is integrable and h2 is integrable, so q−h∈L2(μ^;R) and qˉi is defined (Step 10). Let x be ordered and i∈[N]. Since μ^(Bi)=N1, h(xi)=N∫Bih(xi)dμ^, so qˉi−h(xi)=N∫Bi(q−h(xi)). By the Cauchy-Schwarz inequality for the functions 1Bi and (q−h(xi))1Bi,
Pointwise, (q(s)−h(xi))2≤2(q(s)−h(s))2+2(h(s)−h(xi))2≤2(q(s)−h(s))2+2Lh2(s−xi)2, using (u+v)2≤2u2+2v2 and ∣h(s)−h(xi)∣≤Lh∣s−xi∣. Summing over i, dividing by N, and using (P) and the first formula of Step 9,