\documentclass[reqno]{amsart} \usepackage[T1]{fontenc} \usepackage{lmodern} \usepackage{microtype} \usepackage{amssymb,mathtools} \usepackage{enumitem} \usepackage[ hidelinks, pdftitle={Nonexpansiveness of the Quadratic Wasserstein Projection onto Densities Bounded by One}, pdfauthor={Weiming Zhang} ]{hyperref} \allowdisplaybreaks \emergencystretch=2em \numberwithin{equation}{section} \setcounter{tocdepth}{1} \theoremstyle{plain} \newtheorem{theorem}{Theorem}[section] % label kind: thm \newtheorem{proposition}[theorem]{Proposition} % label kind: prop \newtheorem{lemma}[theorem]{Lemma} % label kind: lem \newtheorem{corollary}[theorem]{Corollary} % label kind: cor \newtheorem{conjecture}[theorem]{Conjecture} % label kind: conj \theoremstyle{definition} \newtheorem{definition}[theorem]{Definition} % label kind: def \newtheorem{example}[theorem]{Example} % label kind: ex \newtheorem{notation}[theorem]{Notation} % label kind: not \newtheorem{construction}[theorem]{Construction} % label kind: constr \newtheorem{setup}[theorem]{Set-up} % label kind: setup \theoremstyle{remark} \newtheorem{remark}[theorem]{Remark} % label kind: rem \providecommand{\Rd}{\mathbb R^d} % Euclidean space \providecommand{\Ptwo}{\mathcal P_2} % finite-second-moment probability measures \providecommand{\capset}{K_d} % densities at most one \providecommand{\torus}[1]{X_{#1}} % flat torus of the specified period \providecommand{\tdist}[1]{W_{2,\torus{#1}}} % Wasserstein distance on that torus \providecommand{\res}[2]{J_{#1,#2}} % internal-energy resolvent on densities \providecommand{\prU}{\mathsf p} % pressure associated to the internal energy \providecommand{\Id}{\mathrm{Id}} % identity map \title[Wasserstein projection onto densities bounded by one]{Nonexpansiveness of the Quadratic Wasserstein Projection onto Densities Bounded by One} \author{Weiming Zhang} \date{} \begin{document} \begin{abstract} The quadratic Wasserstein projection onto probability densities bounded by one is nonexpansive in every Euclidean dimension \(d\ge2\). The result holds for all probability measures of finite second moment, including singular measures. We prove nonexpansiveness by showing that penalized minimization on flat tori does not increase the speed of a smooth input curve in the Wasserstein metric. One is the best constant that holds uniformly over the expanding-torus approximations used to recover the hard density constraint. \end{abstract} \maketitle \tableofcontents \section{Introduction}\label{sec:01-introduction} A density constraint limits how much probability a region can hold. Given a Borel probability measure \(\mu\) on \(\Rd\) with finite second moment, let \(P\mu\) be the probability measure of density at most one nearest to \(\mu\) in quadratic Wasserstein distance \(W_2\). This operation redistributes mass so as to minimize the mean squared distance it travels. This projection is the correction step in the crowd-motion scheme of Maury, Roudneff-Chupin, Santambrogio and Venel. It restores the density bound after pedestrians move with their desired velocity% ~\cite{maury2011}. The stability question asks how the optimal redistribution changes when its input changes. For absolutely continuous inputs on a bounded convex domain, Roudneff-Chupin proved continuity of the projection and a local \(1/2\)-H\"older estimate~\cite[Proposition~2.3.4 and Remark~2.3.5]{roudneff2011}. De Philippis, M\'esz\'aros, Santambrogio and Velichkov proved this estimate for general inputs and asked whether the projection is \(1\)-Lipschitz% ~\cite[\S5]{dephilippis2015}. Adve and M\'esz\'aros bounded the squared Wasserstein distance between two projections by the quadratic cost of an input coupling constructed from an optimal coupling of the outputs. This proves the sharp inequality in one dimension, and in any dimension when one input is a point mass. Their planar example shows that the constructed input coupling can have strictly larger cost than the minimum~\cite{adve2025}. Di Marino, Farinelli and Naldi obtained the bound for inputs related by a translation and a positive scalar dilation, and a local H\"older estimate for a broader class of proximal maps% ~\cite[Proposition~3.23 and Theorem~4.3]{dimarino2026}. For a proximal step of an energy convex along generalized geodesics, Carlen and Craig obtained a contraction estimate for \(W_2^2\) augmented by terms involving the squared metric slopes of the energy% ~\cite[Theorem~1.3]{carlen2013}. Write \(\Ptwo(\Rd)\) for these finite-second-moment probabilities and \(\capset\) for those with Lebesgue density bounded above by one. We prove the following sharp comparison. \begin{theorem}\label{thm:main} For every \(d\ge2\) and all \(\mu,\nu\in\Ptwo(\Rd)\), the quadratic Wasserstein projection onto \(\capset\) satisfies \[ W_2(P\mu,P\nu)\le W_2(\mu,\nu). \] \end{theorem} We prove Theorem~\ref{thm:main} at the end of Section~\ref{sec:05-limit}. The inputs may have atoms or unbounded support. In particular the conclusion applies throughout the Euclidean plane. Any two distinct admissible densities give equality, since each is its own projection. We follow the speed of a minimizing density as its input moves along a shortest Wasserstein path. First we replace the cap by an internal-energy penalty on a flat torus. Its integrand is smooth on \((0,\infty)\) and extends continuously to zero. Periodic optimal transport regularity gives a differentiable optimal map \(T\) from the minimizer back to the input (Theorem~\ref{thm:periodic-transport} below). An adjoint elliptic equation turns an output test into a gradient at the input. After pulling the gradient back by \(T\), its derivative is the product of a symmetric matrix and a positive-definite matrix. It therefore has real eigenvalues. This gives the sign in the energy identity that bounds the output speed by the input speed. The bound has constant one at every period and every penalty used to approximate the cap. Section~\ref{sec:02-notation} fixes the distance and volume conventions. Section~\ref{sec:03-minimizers} constructs the smooth minimizers and shows how they depend on the input. Section~\ref{sec:04-speed} proves the differential estimate. Section~\ref{sec:05-limit} recovers the hard constraint and the Euclidean transport cost in a single limit. \section{Setting and notation}\label{sec:02-notation} For a Euclidean space or a flat torus \(X\) with distance \(d_X\), let \(\Ptwo(X)\) be its Borel probability measures with finite second moment. If \(\Pi(\mu,\nu)\) is the set of their couplings, write \[ W_{2,X}^2(\mu,\nu)=\inf_{\gamma\in\Pi(\mu,\nu)} \int d_X(x,y)^2\,d\gamma(x,y). \] We use \(W_2\) on \(\Rd\) and \(\tdist{L}\) on \(\torus{L}=\Rd/(L\mathbb Z^d)\), \(L>0\). The flat distance is the minimum Euclidean distance between lifts. Volume \(dx\) on \(\torus{L}\) has mass \(L^d\). For a measurable map \(T\), \(T_\#\mu\) denotes pushforward. A density \(r\) represents the measure \(r\,dx\). Let \(\capset=\{\rho\,dx\in\Ptwo(\Rd):0\leq\rho\leq1\text{ a.e.}\}\). Its metric projection is denoted by \(P\). For an internal energy density \(U\) and a probability density \(f\) on \(\torus{L}\), write \(\res{L}{U}f\) for the minimizing density, when unique, of \[ r\longmapsto \tfrac12\tdist{L}^2(r\,dx,f\,dx)+\int_{\torus{L}}U(r)\,dx . \] This is the unit-time-step version of the variational scheme introduced by Jordan, Kinderlehrer and Otto for the Fokker--Planck equation% ~\cite{jordan1998}. We write \(\prU(z)=zU'(z)-U(z)\). For a vector field \(W\), \(DW=(\partial_jW_i)_{ij}\). The metric speed of a curve \(\sigma_t\) is the limit of \(W_{2,X}(\sigma_{t+h},\sigma_t)/|h|\) when it exists. \section{Smooth periodic minimizers}\label{sec:03-minimizers} We write \([x]\) for the class of \(x\in\Rd\) in \(\torus{L}\) and identify functions on the torus with their periodic lifts. We construct the minimizing density \(r\) and identify \(U'(r)\) as the periodic part of its convex transport potential. Cordero-Erausquin constructed the convex lift for periodic transport~\cite[Theorem~1]{cordero1999}. For regularity on the unit flat torus, we use the following result of Manole, Balakrishnan, Niles-Weed and Wasserman~\cite{manole2024}. \begin{theorem}[Periodic optimal transport regularity]\label{thm:periodic-transport} Let \(s>0\) be nonintegral. On the unit flat torus, let two probability densities of class \(C^s\) be bounded above and bounded away from zero. Their optimal quadratic transport map has a lift \(\nabla\Phi\), where \(\Phi\in C^{s+2}_{\mathrm{loc}}(\Rd)\) is convex and \(\Phi-|\cdot|^2/2\) descends to a function in \(C^{s+2}(\torus{1})\). The lift realizes shortest displacement almost everywhere. With source \(a\) and destination \(b\), it satisfies \(b(\nabla\Phi)\det D^2\Phi=a\). \end{theorem} The same conclusion holds at period \(L\). The change of variables \(z=x/L\) takes each density \(a\) to \(L^da(Lz)\) and divides the quadratic cost by \(L^2\). If \(\Phi_1\) is the potential at unit period, the potential at period \(L\) is \(x\mapsto L^2\Phi_1(x/L)\). \begin{proposition}\label{prop:smooth-minimizers} Let \(L>0\) and \(U\in C([0,\infty))\cap C^\infty((0,\infty))\) satisfy \(U''>0\) and \(U'((0,\infty))=\mathbb R\). For every smooth positive probability density \(f\) on \(\torus{L}\), \(r=\res{L}{U}f\) exists, is unique, and is smooth and positive. The lift \(T(x)=x+\nabla U'(r(x))\) has positive-definite derivative and induces an optimal diffeomorphism carrying \(r\,dx\) to \(f\,dx\). For every jointly smooth positive path of input densities, the minimizing density is jointly smooth in time and space. Any two smooth positive input densities on \(\torus{L}\) admit a smooth positive displacement interpolation of length equal to their distance, extending as a smooth positive path to an open interval containing \([0,1]\). \end{proposition} The mass constraint fixes the additive constant in \(q=U'(r)\), since \((U')^{-1}(q)\) must integrate to one. The derivative of this inverse function supplies the positive zero-order term when the input varies. \begin{proof} We recover the density from a maximizer of the transport semidual and use the equality condition to identify its convex lift. The Jacobian equation of the lift gives smooth dependence on the input along a path. Interpolating the optimal displacement between two inputs gives the geodesic. \smallskip\noindent\emph{Attainment of the semidual.} Put \(c(x,y)=d_{\torus{L}}(x,y)^2/2\) and \(G=(U')^{-1}\). For each \(b\in\mathbb R\), the maximum of \(bz-U(z)\) over \(z\ge0\) is attained uniquely at \(z=G(b)>0\). Thus the convex conjugate \(U^*(b)=bG(b)-U(G(b))\) satisfies \((U^*)'=G\). For a continuous function \(w\) on \(\torus{L}\) define \[ Qw(y)=\min_x\{c(x,y)+w(x)\},\qquad \mathcal D(w)=\int Qw(y)f(y)\,dy-\int U^*(w(x))\,dx . \] For any probability density \(\rho\) and any coupling \(\gamma\) of \(\rho\,dx\) and \(f\,dx\), the difference \begin{equation}\label{eq:minimizers-dual-gap} \begin{aligned} \int c\,d\gamma+\int U(\rho)\,dx-\mathcal D(w) &=\int \bigl(c(x,y)+w(x)-Qw(y)\bigr)\,d\gamma(x,y)\\ &\quad+\int \bigl(U(\rho)+U^*(w)-\rho w\bigr)\,dx \end{aligned} \end{equation} is a sum of two nonnegative terms. Taking \(\rho=L^{-d}\) bounds \(\sup_w\mathcal D(w)\) from above. Set \(w^\sharp(x)=\max_y\{Qw(y)-c(x,y)\}\). Then \(w^\sharp\le w\), while \(w^\sharp(x)+c(x,y)\ge Qw(y)\) for every \(x,y\). These inequalities give \(Qw^\sharp=Qw\). Since \(U^*\) is increasing, replacing \(w\) by \(w^\sharp\) can only increase \(\mathcal D\). The functions \(c(\cdot,y)\) have Lipschitz constant at most \(\operatorname{diam}(\torus{L})\), so the same bound holds for \(w^\sharp\). A constant shift preserves its maximum representation. The derivative of \(\mathcal D(w^\sharp+b)\) with respect to \(b\) is \[ 1-\int G(w^\sharp+b)\,dx . \] As \(b\) increases, the integral increases strictly from zero to infinity. At the maximizing shift it equals one. The range of the shifted function therefore contains \(U'(L^{-d})\). With this normalization the Lipschitz bound also gives a uniform bound on its values. A maximizing sequence so chosen has a uniformly convergent subsequence. Both transforms, the minimum defining \(Q\) and the reverse maximum, are nonexpansive in the uniform norm. Hence the limit \(q\) maximizes \(\mathcal D\) over all continuous functions and satisfies \[ \psi=Qq,\qquad q(x)=\max_y\{\psi(y)-c(x,y)\}. \] \smallskip\noindent\emph{Recovery of the density.} The function \(\psi\) is Lipschitz by the same cost bound. At a differentiability point of its lift, say \(y\in\Rd\), let \(x\) minimize the expression for \(Qq([y])\) and choose any representative \(x'\) of \(x\) nearest to \(y\). The function \(z\mapsto q(x)+|z-x'|^2/2\) touches \(\psi\) from above at \(y\). Thus \(x'=y-\nabla\psi(y)\), and the minimizing class \(S([y])=[y-\nabla\psi(y)]\) is unique for \(f\,dy\)-almost every \([y]\). For continuous \(\eta\), minimizers for \(Q(q+\varepsilon\eta)(y)\) converge to \(S(y)\) at every such point, since compactness and uniform convergence make each limit point a minimizer at \(\varepsilon=0\). Testing the two minima against each other's minimizers bounds the difference quotient between the two corresponding values of \(\eta\). It converges to \(\eta(S(y))\) and is bounded by \(\|\eta\|_\infty\). Differentiating \(\mathcal D(q+\varepsilon\eta)\) at its maximum gives \[ \int \eta(S(y)) f(y)\,dy=\int \eta(x)G(q(x))\,dx . \] Consequently \(r=G(q)\) is a probability density, Lipschitz and bounded away from zero, and \((S,\Id)_\#(f\,dy)\) couples \(r\,dx\) to \(f\,dx\). For this coupling and \(w=q\), both terms in \eqref{eq:minimizers-dual-gap} vanish. Thus \(r\) minimizes the resolvent functional and the coupling is optimal. Any minimizing density must make the second term vanish, which forces it to equal \(G(q)\) almost everywhere. For every optimal coupling of \(r\,dx\) and \(f\,dx\), the first term vanishes as well, so \(c(x,y)+q(x)=\psi(y)\) almost everywhere for that coupling. \smallskip\noindent\emph{Identification and regularity of the lift.} Writing the maximum that defines \(q\) over all representatives of the destination gives \[ \Phi(x)=\tfrac12|x|^2+q(x) =\sup_{z\in\Rd}\{x\cdot z-\tfrac12|z|^2+\psi([z])\}. \] In particular \(\Phi\) is convex. If \(([x],y)\) is a pair with \(c([x],y)+q(x)=\psi(y)\), every representative of \(y\) nearest to \(x\) attains this supremum. At a differentiability point of \(\Phi\) the slope of each such affine function equals \(\nabla\Phi(x)\). Apply Theorem~\ref{thm:periodic-transport} with source \(r\), destination \(f\), and \(s=1/2\). Its lift induces an optimal coupling and selects a shortest representative almost everywhere. By the equality just proved, that representative is \(\nabla\Phi(x)\) for \(r\,dx\)-almost every \(x\). Since \(r\) is bounded below, the two convex potentials have the same gradient Lebesgue-almost everywhere and differ by a constant. It follows that \(q\) is \(C^{2+1/2}\), hence so is \(r=G(q)\). Applying the same theorem successively at \(s=2j+1/2\), \(j=1,2,\ldots\), gives smoothness of \(q\) and \(r\). Put \(T=\nabla\Phi\) and \(H=DT=I+D^2q\). The Jacobian equation reads \begin{equation}\label{eq:minimizers-jacobian} f(T)\det H=G(q). \end{equation} Convexity gives \(H\ge0\), and \eqref{eq:minimizers-jacobian} gives \(\det H>0\). For every \(z\in\Rd\) the strictly convex function \(\Phi(x)-z\cdot x\) is coercive since \(q\) is bounded. Its unique minimizer is the unique solution of \(T(x)=z\). The inverse is smooth because \(H>0\). Equivariance under lattice translations gives the claimed optimal diffeomorphism on \(\torus{L}\). \smallskip\noindent\emph{Linearization along an input path.} Let \(f_t\) be the given path and use subscripts \(t\) for the minimizing density \(r_t\), its potential \(q_t\), and the associated \(T_t,H_t\). In the periodic Sobolev spaces fix an integer \(k>d/2+1\). For \(w\in H^{k+2}(\torus{L})\) with \(I+D^2w>0\), set \[ F(t,w)(x)=f_t(x+\nabla w(x))\det(I+D^2w(x))-G(w(x)). \] This defines a smooth map to \(H^k(\torus{L})\) on an open set. Indeed \(H^k\) embeds in \(C^0\) and is an algebra. The determinant is a polynomial, and the Sobolev chain rule and Taylor's formula give smooth superposition with \(G\) and with the smooth periodic \(f_t\). Equation~\eqref{eq:minimizers-jacobian} gives \(F(t,q_t)=0\) for each fixed \(t\). With \(\operatorname{cof}\) denoting the cofactor matrix, put \[ B_t=f_t(T_t)\operatorname{cof}H_t=r_t H_t^{-1},\qquad a_t=G'(q_t)=1/U''(r_t). \] The columns of \(\operatorname{cof}H_t\) are divergence free. Expanding their minors, the terms in which a derivative hits a Hessian entry cancel in pairs by symmetry of third derivatives and antisymmetry of the minor. Since \(H_t\operatorname{cof}H_t=(\det H_t)I\), differentiating the other factor gives \(\sum_i\partial_i(B_t)_{ij}=(\det H_t)(\partial_j f_t)(T_t)\). The variations of the determinant and of its density factor thus combine to give \[ D_wF(t,q_t)h=\operatorname{div}(B_t\nabla h)-a_t h . \] \smallskip\noindent\emph{Coercivity and smooth dependence.} Fix \(t\) and write \(A=-D_wF(t,q_t)\). The smooth coefficients satisfy \(B_t\ge\lambda I\) and \(a_t\ge\lambda\) on \(\torus{L}\) for some \(\lambda>0\). Hence \[ \int\bigl(\nabla h\cdot B_t\nabla h+a_t h^2\bigr)\,dx \ge\lambda\|h\|_{H^1}^2 . \] For \(g\in L^2\), minimizing half this quadratic form minus \(\int gh\,dx\) on \(H^1\) gives a unique weak solution of \(Ah=g\) with \(\|h\|_{H^1}\le\lambda^{-1}\|g\|_{L^2}\). For a coordinate vector \(e_i\) put \(D_\delta v=(v(\cdot+\delta e_i)-v)/\delta\). Take the difference quotient of the weak equation and test with \(D_\delta h\). The translated coefficients have the same coercivity bound, and their difference quotients are uniformly bounded. This yields \[ \lambda\|D_\delta h\|_{H^1}^2 \le C\|h\|_{H^1}\|D_\delta h\|_{H^1} +\|g\|_{L^2}\|\partial_iD_\delta h\|_{L^2}. \] The last term uses discrete integration by parts and \(\|D_{-\delta}v\|_{L^2}\le\|\partial_i v\|_{L^2}\), obtained by averaging translates of \(\partial_i v\). Weak compactness as \(\delta\to0\) gives \(\|h\|_{H^2}\le C\|g\|_{L^2}\). For \(g\in H^j\), \(j\ge1\), the preceding order gives \(h\in H^{j+1}\). Commuting \(j\) derivatives through \(A\) puts at least one derivative on a smooth coefficient in each error term and at most \(j+1\) on \(h\). Applying the \(H^2\) estimate to the derivatives of order \(j\) therefore gives \(\|h\|_{H^{j+2}}\le C_j\|g\|_{H^j}\) by induction. In particular \(A:H^{k+2}\to H^k\) is an isomorphism. At each parameter value the implicit function theorem now gives a smooth local branch of \(F(t,w)=0\) in \(H^{k+2}\) with \(I+D^2w>0\). To identify it, let \(w_1,w_2\) be two solutions at the same \(t\) with this positivity. At a maximum of \(w_1-w_2\) their gradients agree and \(I+D^2w_1\le I+D^2w_2\). Their determinants are ordered there, so the equation gives \(G(w_1)\le G(w_2)\). Since \(G\) increases strictly, the maximum is at most zero. Interchanging the solutions proves equality. Thus the branch equals \(q_t\). Taking arbitrarily large \(k\) and using Sobolev embedding gives joint smoothness of \(q_t\) and \(r_t=G(q_t)\). With dots denoting time derivatives at fixed spatial argument, differentiating \(F(t,q_t)=0\) gives \[ -\operatorname{div}(r_tH_t^{-1}\nabla\dot q_t)+G'(q_t)\dot q_t =\dot f_t(T_t)\det H_t . \] \smallskip\noindent\emph{The input geodesic.} For smooth positive endpoints \(f_0,f_1\), take the optimal lift \(\Id+\nabla p\) of Theorem~\ref{thm:periodic-transport} at \(s=1/2\), with \(p\) periodic. For \(y=x+\nabla p(x)\), convexity of \(|\cdot|^2/2+p\) makes \(x\) a minimizer of \(z\mapsto p(z)+|z-y|^2/2\) on \(\Rd\). Thus \(p(x)+c([x],[y])=Qp([y])\) on its graph. Every optimal coupling of the endpoints gives the same integral to \(c+p-Qp\), so this nonnegative function vanishes almost everywhere for each such coupling. At a pair where it vanishes, take any representative \(y'\) of the destination nearest to the source lift \(x\). Then \(p(z)+|z-y'|^2/2\) attains its minimum at \(x\), giving \(y'=x+\nabla p(x)\). The theorem at higher nonintegral exponents therefore gives the same lift almost everywhere, hence everywhere by continuity and positivity of \(f_0\). It follows that \(p\) is smooth. By convexity and the positive Jacobian, \(I+D^2p\) is positive definite. Set \(M_t(x)=x+t\nabla p(x)\). Its derivative \[ DM_t=(1-t)I+t(I+D^2p) \] has a uniform positive lower bound for \(0\le t\le1\), hence also on a slightly larger open interval by compactness. The strictly convex potential \(|x|^2/2+tp(x)\) gives a global inverse for \(M_t\) by the same minimization argument as for \(T\). The inverse depends smoothly on \((t,x)\) by the inverse function theorem. The pushforward of \(f_0\,dx\) under \(M_t\) therefore has a smooth positive density \(f_t\) throughout this interval, given by \(f_t(M_t(x))\det DM_t(x)=f_0(x)\). For \(0\le s\le t\le1\), the coupling induced by \((M_s,M_t)\) from \(f_0\,dx\) gives \[ \tdist{L}^2(f_s\,dx,f_t\,dx) \le (t-s)^2\int |\nabla p|^2 f_0\,dx = (t-s)^2\tdist{L}^2(f_0\,dx,f_1\,dx). \] The equality uses optimality of the endpoint map and its shortest displacements. Applying the triangle inequality through the times \(0,s,t,1\) forces equality in the distance bound for each subinterval. Thus the displacement interpolation has constant speed equal to the endpoint distance and has that length. \end{proof} \section{The differential estimate}\label{sec:04-speed} We use periodic volume on \(\torus{L}\) and write \(\|V\|_\sigma^2=\int |V|^2\sigma\,dx\) for the squared norm of a vector field against a density \(\sigma\). For smooth immersed curves of positive densities on a compact Riemannian manifold, Lott expressed Wasserstein length in terms of the gradient velocity~\cite[Proposition~1]{lott2008}. We use the pointwise speed formula on the flat torus, including at times when the velocity vanishes. \begin{lemma}\label{lem:speed-velocity} Let \(d\ge1\), \(L>0\), and let \((\sigma_t)_{t\in J}\) be a jointly smooth path of positive probability densities on \(\torus{L}\), with \(J\) an open interval. Then the following hold. \begin{enumerate}[label=(\roman*)] \item For each \(t\in J\) there is a unique smooth function \(w_t\) of zero spatial mean satisfying \[ -\operatorname{div}(\sigma_t\nabla w_t)=\partial_t\sigma_t . \] The metric speed of \(\sigma_t\,dx\) exists at \(t\) and equals \(\|\nabla w_t\|_{\sigma_t}\). \item For each compact interval \([b,c]\subset J\), \[ \tdist{L}(\sigma_b\,dx,\sigma_c\,dx) \le \int_b^c\|\nabla w_s\|_{\sigma_s}\,ds . \] \end{enumerate} \end{lemma} \begin{proof} We solve the continuity equation for a gradient velocity. Its flow gives the upper bound for the distance, and its potential gives the lower bound for the speed. \emph{Existence and continuity of the velocity.} Write \(\dot\sigma_t=\partial_t\sigma_t\). Since \(\int\dot\sigma_t\,dx=0\), we minimize \[ \tfrac12\|\nabla w\|_{\sigma_t}^2-\int w\dot\sigma_t\,dx \] on the mean-zero subspace of periodic \(H^1\). The positive minimum of \(\sigma_t\) and the Poincar\'e inequality give coercivity. Weak lower semicontinuity and strict convexity give a unique minimizer \(w_t\). Its Euler equation is the equation in~(i). We give the spatial regularity estimate also for a matrix coefficient, as this form occurs in the adjoint equation below. Let \(A\) be smooth, symmetric and uniformly positive definite on \(\torus{L}\), and let \(-\operatorname{div}(A\nabla z)=g\) weakly with \(z\in H^1\) and \(g\in L^2\). For a coordinate direction \(e_j\), write \(\delta_h z=(z(\cdot+he_j)-z)/h\). The equation for \(\delta_h z\) has coefficient \(A(\cdot+he_j)\) and right-hand side \(\delta_h g+\operatorname{div}((\delta_h A)\nabla z)\). Testing with the mean-zero function \(\delta_h z\) and using \(\|\delta_h g\|_{H^{-1}}\le\|g\|_{L^2}\) gives a uniform \(H^1\) bound on \(\delta_h z\), hence an \(H^2\) bound on \(z\). After \(k\) spatial derivatives, the additional terms on the right are divergences of coefficient derivatives times derivatives of \(z\) of order at most \(k\). The difference quotients of these products are bounded in \(L^2\) by a constant times \(\|z\|_{H^{k+1}}\). Induction gives \begin{equation}\label{eq:speed-elliptic} \|z\|_{H^{k+2}}\le C_k\bigl(\|g\|_{H^k}+\|z\|_{H^1}\bigr), \qquad g\in H^k,\quad k=0,1,\ldots . \end{equation} For fixed \(L\) and \(d\), the constants are uniform given an ellipticity lower bound and a \(C^{k+1}\) bound on \(A\). Taking \(A=\sigma_t I\) gives spatial smoothness of \(w_t\) by Sobolev embedding. The equation for \(w_s-w_t\) has coefficient \(\sigma_s I\) and right-hand side \[ \dot\sigma_s-\dot\sigma_t+ \operatorname{div}\bigl((\sigma_s-\sigma_t)\nabla w_t\bigr). \] This tends to zero in every \(H^k\) as \(s\to t\). Testing with \(w_s-w_t\) first gives convergence to zero in \(H^1\), since \(\sigma_s\) has a uniform positive lower bound near \(t\). Estimate~\eqref{eq:speed-elliptic} and Sobolev embedding then give continuity of \(v_s=\nabla w_s\) in every spatial \(C^k\) norm. \emph{The flow bounds the distance.} Let \(F_{b,s}\) be the flow of \(v_s\) with \(F_{b,b}=\Id\). The continuity equation gives \(\sigma_s(F_{b,s})\det DF_{b,s}=\sigma_b\) by differentiation in \(s\). Thus \(F_{b,s}\) pushes \(\sigma_b\,dx\) to \(\sigma_s\,dx\). The distance between the endpoints of each trajectory is at most its length. Using the flow coupling and the integral triangle inequality gives \[ \tdist{L}(\sigma_b\,dx,\sigma_c\,dx) \le \left\|\int_b^c |v_s\circ F_{b,s}|\,ds\right\|_{L^2(\sigma_b\,dx)} \le \int_b^c\|v_s\|_{\sigma_s}\,ds . \] For fixed \(t\), set \(D_h=\tdist{L}(\sigma_t\,dx,\sigma_{t+h}\,dx)\). Continuity of \(s\mapsto\|v_s\|_{\sigma_s}\) gives \(\limsup_{h\to0}D_h/|h|\le\|v_t\|_{\sigma_t}\). \emph{The potential gives the lower speed bound.} For a pair \(x,y\) at flat distance \(\ell\), Taylor's formula along a shortest straight lift gives \[ |w_t(y)-w_t(x)|\le |v_t(x)|\ell+\tfrac12\|D^2w_t\|_\infty\ell^2 . \] Integrating against a coupling of \(\sigma_t\,dx\) and \(\sigma_{t+h}\,dx\), applying Cauchy--Schwarz, and taking the infimum over couplings gives \[ \left|\int w_t(\sigma_{t+h}-\sigma_t)\,dx\right| \le \|v_t\|_{\sigma_t}D_h+\tfrac12\|D^2w_t\|_\infty D_h^2 . \] After division by \(|h|\), the left side tends to \(\int w_t\dot\sigma_t\,dx=\|v_t\|_{\sigma_t}^2\). The flow bound gives \(D_h=O(|h|)\), so the quadratic remainder vanishes in the limit. If \(\|v_t\|_{\sigma_t}>0\), this gives \(\liminf_{h\to0}D_h/|h|\ge\|v_t\|_{\sigma_t}\). If the norm vanishes, the upper bound gives speed zero. \end{proof} The pressure assumptions in the next theorem are McCann's displacement convexity condition for an internal energy~\cite[Theorem~2.2]{mccann1997}. Indeed, \(z\prU'(z)=z^2U''(z)\), so these assumptions say that \(z^{1/d-1}\prU(z)\) is nonnegative and nondecreasing on \((0,\infty)\). \begin{theorem}\label{thm:speed} Let \(U\in C^\infty((0,\infty))\) satisfy \(U''(z)>0\), \(\prU(z)\ge0\), and \(z^2 U''(z)\ge(1-1/d)\prU(z)\) for \(z>0\). Let \(r_t,f_t\) be positive probability densities on \(\torus{L}\), jointly smooth in space and time for \(t\) in an open interval. Suppose that each \(T_t=\Id+\nabla U'(r_t)\) has positive-definite derivative and induces a diffeomorphism carrying \(r_t\,dx\) to \(f_t\,dx\). Then the metric speeds exist and satisfy \[ |(r_\cdot\,dx)'|(t)\le |(f_\cdot\,dx)'|(t). \] For each compact interval \([b,c]\) in the parameter domain, \(\tdist{L}(r_b\,dx,r_c\,dx)\le\int_b^c |(f_\cdot\,dx)'|(t)\,dt\). \end{theorem} \begin{proof} We differentiate the pushforward to transfer a test of the output derivative to the input. A pressure identity bounds the gradient of the transferred test. Testing with the output velocity potential then compares the two speeds. \emph{The adjoint of the linearized pushforward.} Fix \(t\) and write \(r=r_t\), \(f=f_t\), \(T=T_t\), \(q=U'(r)\), \(a=U''(r)\), and \(H=DT=I+D^2q\). Dots denote time derivatives at \(t\). For a smooth real test \(\psi\) on the input, set \(u=\psi\circ T\) and \(W=H^{-1}\nabla u\). Since \(H\) is symmetric, \(W=\nabla\psi\circ T\). Hold \(\psi\) fixed as \(s\) varies. Differentiating \(\int\psi f_s\,dx=\int \psi(T_s)r_s\,dx\) at \(t\), using \(\dot T=\nabla(a\dot r)\), and integrating by parts gives \[ \int\psi\dot f\,dx =\int u\dot r\,dx+\int rW\cdot\nabla(a\dot r)\,dx =\int \bigl[u-a\operatorname{div}(rW)\bigr]\dot r\,dx . \] Thus for a prescribed smooth real test \(\varphi\) of the output derivative, the adjoint equation is \begin{equation}\label{eq:speed-adjoint} u-a\operatorname{div}(rH^{-1}\nabla u)=\varphi . \end{equation} After division by \(a\), this is the Euler equation of the functional \[ z\longmapsto \tfrac12\int\left(r\nabla z\cdot H^{-1}\nabla z+\frac{z^2}{a}\right)dx -\int\frac{\varphi z}{a}\,dx . \] On the compact torus \(rH^{-1}\) is uniformly positive definite and \(1/a\) has a positive minimum. The functional is coercive, weakly lower semicontinuous and strictly convex on \(H^1\), so it has a unique minimizer \(u\). Applying \eqref{eq:speed-elliptic} successively with \(A=rH^{-1}\) and \(g=(\varphi-u)/a\) gives \(u\in C^\infty\). For this solution, \(\psi=u\circ T^{-1}\) satisfies \begin{equation}\label{eq:speed-pairing} \int \varphi\dot r\,dx=\int\psi\dot f\,dx,\qquad W=H^{-1}\nabla u=\nabla\psi\circ T . \end{equation} \emph{The pressure identity.} Set \(\theta=\operatorname{div}W\) and \(\xi=\nabla r\cdot W\), so that \(\operatorname{div}(rW)=\xi+r\theta\). Using \(\nabla u=HW\) in \eqref{eq:speed-adjoint} and integrating by parts gives \[ \int r\nabla\varphi\cdot W\,dx =\int rW\cdot HW\,dx+\int a(\xi+r\theta)^2\,dx . \] For the Hessian part of \(H\), integrate the \(i\)-derivative in \(\partial_i\partial_j q\) against \(rW_iW_j\) and sum over \(i,j\). The derivative falls on each of \(r,W_i,W_j\) in turn. Using \(\nabla q=a\nabla r\), we obtain \[ \int rW\cdot D^2q\,W\,dx =-\int\bigl(a\xi^2+ra\xi\theta+r\nabla q\cdot(DW)W\bigr)\,dx . \] Expanding the square and using \(\nabla\prU(r)=r\nabla q\) now gives \[ \int r\nabla\varphi\cdot W\,dx =\int\bigl(r|W|^2+r^2a\theta^2\bigr)\,dx +\int\nabla\prU(r)\cdot\bigl(\theta W-(DW)W\bigr)\,dx . \] The divergences of \(\theta W\) and \((DW)W\) both contain \(W\cdot\nabla\theta\). Their remaining terms are \(\theta^2\) and \(\sum_{i,j}\partial_j W_i\,\partial_i W_j=\operatorname{tr}((DW)^2)\), respectively. A final periodic integration by parts yields \begin{equation}\label{eq:speed-trace} \int r\nabla\varphi\cdot W\,dx =\int\Bigl[r|W|^2+\prU(r)\operatorname{tr}((DW)^2) +(r^2a-\prU(r))\theta^2\Bigr]\,dx . \end{equation} \emph{Sign of the trace terms.} By \eqref{eq:speed-pairing}, \(DW=(D^2\psi\circ T)H\). Pointwise, \[ H^{1/2}DW H^{-1/2}=H^{1/2}(D^2\psi\circ T)H^{1/2} \] is symmetric. Its eigenvalues \(\lambda_1,\ldots,\lambda_d\) are real, with \(\sum_i\lambda_i=\theta\) and \(\sum_i\lambda_i^2=\operatorname{tr}((DW)^2)\). The two derivative terms in \eqref{eq:speed-trace} therefore sum to \[ \prU(r)\sum_{i=1}^d(\lambda_i-\theta/d)^2 +\bigl[r^2a-(1-1/d)\prU(r)\bigr]\theta^2\ge0 \] by the pressure hypotheses. It follows from \eqref{eq:speed-trace} that \[ \|W\|_r^2\le\int r\nabla\varphi\cdot W\,dx \le\|\nabla\varphi\|_r\|W\|_r . \] Since \(T_\#(r\,dx)=f\,dx\), this gives \(\|\nabla\psi\|_f=\|W\|_r\le\|\nabla\varphi\|_r\). \emph{Comparison of the speeds.} Let \(w_t^r,w_t^f\) be the velocity potentials of Lemma~\ref{lem:speed-velocity} for the output and input paths, respectively. Pairing~\eqref{eq:speed-pairing} and the equation for \(w_t^f\) give, for every smooth spatial test \(\varphi\), \[ \left|\int\varphi\dot r\,dx\right| =\left|\int f\nabla\psi\cdot\nabla w_t^f\,dx\right| \le\|\nabla\varphi\|_r\,\|\nabla w_t^f\|_f . \] Taking \(\varphi=w_t^r\) at this time makes the left side \(\|\nabla w_t^r\|_r^2\). Hence \(\|\nabla w_t^r\|_r\le\|\nabla w_t^f\|_f\), including when the output velocity vanishes. Part~(i) of Lemma~\ref{lem:speed-velocity} identifies both norms with their metric speeds at \(t\). Part~(ii) applied to the output path and the pointwise speed comparison give the asserted bound on \([b,c]\). \end{proof} \section{Passage to the Euclidean density cap}\label{sec:05-limit} For \(\mu\in\Ptwo(\Rd)\), we recover \(P\mu\) from the periodic resolvents by letting the period and the exponent of the power penalty grow together. To pass the distance estimate to the limit, we compare the transport costs on bounded sets of both marginals. \begin{theorem}[De Philippis--M\'esz\'aros--Santambrogio--Velichkov]\label{thm:existence} For any \(\mu\in\Ptwo(\Rd)\) the minimizer of \(W_2(\mu,\eta)\) over \(\eta\in\capset\) exists and is unique. \end{theorem} This specialization takes \(\Rd\) as the domain and one as the density bound \cite[Proposition~5.2]{dephilippis2015}. Uniqueness will identify the limit once we show that it attains the Euclidean projection cost. \begin{lemma}\label{lem:limit-transport-cost} Fix an integer \(d\ge1\), let \(n\) run through any sequence of integers tending to infinity with \(n\ge2\), and let \(i_n:\torus{n}\to[-n/2,n/2)^d\) select the representative of each class. Let \(\alpha_n,\beta_n\) be probability measures on \(\torus{n}\). If \((i_n)_\#\alpha_n\) and \((i_n)_\#\beta_n\) converge narrowly to \(\alpha,\beta\in\Ptwo(\Rd)\), respectively, then \[ W_2^2(\alpha,\beta)\le\liminf_{n\to\infty}\tdist{n}^2(\alpha_n,\beta_n). \] \end{lemma} \begin{proof} Along a subsequence realizing the lower limit, lift an optimal coupling of \(\alpha_n,\beta_n\) by \(i_n\times i_n\) and call the lifted plan \(\gamma_n\). Its mass outside a product of compact sets is at most the sum of the two marginal tails. Tightness of the lifted marginals thus gives a further subsequence converging narrowly to a coupling \(\gamma\in\Pi(\alpha,\beta)\). For \(R>0\), let \(\chi_R(x)\) be one for \(|x|\le R\), zero for \(|x|\ge 2R\), and linear in \(|x|\) between these radii. If \(n>8R\) and \(\chi_R(x)\chi_R(y)>0\), each coordinate of \(x-y\) has absolute value at most \(4R0\), independent of \(n\), such that \[ \tfrac12\tdist{n}^2(f_n\,dx,r_n\,dx) +\frac{1}{n-1}\int_{\torus{n}}r_n^n\,dx \le e_n+\frac{d\log n}{n}\le C . \] Write \(\lambda_n=(i_n)_\#(r_n\,dx)\). Since \(|i_n(u)|=d_{\torus{n}}(u,0)\) for \(u\in\torus{n}\), \[ \left(\int_{\Rd}|x|^2\,d\lambda_n(x)\right)^{1/2} =\tdist{n}(r_n\,dx,\delta_0) \le \tdist{n}(r_n\,dx,f_n\,dx)+\tdist{n}(f_n\,dx,\delta_0). \] The first term is bounded by the energy estimate and the second by the input moment bound. Hence \((\lambda_n)\) is tight, and lower semicontinuity of the second moment gives a finite second moment for every narrow subsequential limit \(\eta\). The density of \(\lambda_n\) equals \(r_n\circ\pi_n\) on the centered cube and vanishes outside it. Its \(n\)-th power thus integrates to at most \(C(n-1)\). For every nonnegative \(\phi\in C_c(\Rd)\), H\"older's inequality gives \[ \int\phi\,d\lambda_n \le [C(n-1)]^{1/n} \left(\int_{\Rd}\phi^{n/(n-1)}\,dx\right)^{(n-1)/n}. \] The first factor tends to one, and the second tends to \(\int_{\Rd}\phi\,dx\) by dominated convergence. Thus \(\int\phi\,d\eta\le\int\phi\,dx\) for every such \(\phi\), so \(\eta\le dx\) and \(\eta\in\capset\). \smallskip\noindent\emph{Identification and comparison.} On any subsequence with \(\lambda_n\) converging narrowly to \(\eta\), apply Lemma~\ref{lem:limit-transport-cost} to \(f_n\,dx\) and \(r_n\,dx\). The power term is nonnegative and the entropy term is at least \(-d\log(n)/n\). Together with \eqref{eq:limit-recovery} this gives, along that subsequence, \[ \tfrac12 W_2^2(\mu,\eta) \le \liminf_{n\to\infty}\tfrac12\tdist{n}^2(f_n\,dx,r_n\,dx) \le \liminf_{n\to\infty}e_n \le \tfrac12 W_2^2(\mu,P\mu). \] Since \(\eta\in\capset\), uniqueness in Theorem~\ref{thm:existence} gives \(\eta=P\mu\). Tightness now gives narrow convergence of the full sequence. Applying Lemma~\ref{lem:limit-transport-cost} to the two output laws \(r_n^\mu\,dx,r_n^\nu\,dx\) gives the first distance inequality. For the second, take any coupling \((X,Y)\) of \(\mu,\nu\) and use a single \(Z\) independent of the pair. The distance between \(\pi_n(X+Z/n)\) and \(\pi_n(Y+Z/n)\) is at most \(|X-Y|\). Taking the mean square and then the infimum over couplings gives the input bound. \end{proof} \begin{proof}[Proof of Theorem~\ref{thm:main}] Fix \(d\ge2\) and \(\mu,\nu\in\Ptwo(\Rd)\), allowing either or both inputs to be singular. We integrate the speed estimate between their smoothed endpoints and pass the resulting distance bound to the limit. \smallskip\noindent\emph{The periodic endpoint estimate.} Fix \(n\ge2\) and take \(U=U_n\) from Proposition~\ref{prop:diagonal}. For \(z>0\), its pressure and second derivative satisfy \[ \prU(z)=z^n+\frac{z}{n}>0,\qquad z^2 U_n''(z)=n z^n+\frac{z}{n}\ge\prU(z). \] In particular \(z^2U_n''(z)\ge(1-1/d)\prU(z)\). The two Gaussian convolutions \(f_n^\mu,f_n^\nu\) are smooth positive densities on \(\torus{n}\). Proposition~\ref{prop:smooth-minimizers} gives a displacement interpolation \(f_t\) from \(f_0=f_n^\mu\) to \(f_1=f_n^\nu\). Its length on \([0,1]\) is \(\tdist{n}(f_n^\mu\,dx,f_n^\nu\,dx)\), and it extends to a smooth positive path on an open interval containing \([0,1]\). On that interval the same proposition gives a smooth positive family \(r_t=\res{n}{U_n}f_t\). Each \(T_t=\Id+\nabla U_n'(r_t)\) has positive-definite derivative and induces a diffeomorphism carrying \(r_t\,dx\) to \(f_t\,dx\). The interval estimate of Theorem~\ref{thm:speed} and the length of the interpolation give \[ \tdist{n}(r_n^\mu\,dx,r_n^\nu\,dx) \le\int_0^1 |(f_\cdot\,dx)'|(t)\,dt =\tdist{n}(f_n^\mu\,dx,f_n^\nu\,dx). \] \smallskip\noindent\emph{The Euclidean distance bound.} We apply Proposition~\ref{prop:diagonal} to the outputs for the first inequality below and to the inputs for the last. The periodic endpoint estimate gives the middle inequality. \begin{align*} W_2(P\mu,P\nu) &\le \liminf_{n\to\infty}\tdist{n}(r_n^\mu\,dx,r_n^\nu\,dx)\\* &\le \liminf_{n\to\infty}\tdist{n}(f_n^\mu\,dx,f_n^\nu\,dx) \le W_2(\mu,\nu).\qedhere \end{align*} \end{proof} \begin{thebibliography}{DPMSV16} \bibitem[AM25]{adve2025} A.~Adve and A.~R. M\'esz\'aros, \href{https://doi.org/10.1515/acv-2024-0112}{\emph{On nonexpansiveness of metric projection operators on Wasserstein spaces}}, Adv. Calc. Var. \textbf{18} (2025), no.~4, 1207--1222. \bibitem[AKY14]{alexander2014} D.~Alexander, I.~Kim and Y.~Yao, \href{https://doi.org/10.1088/0951-7715/27/4/823}{\emph{Quasi-static evolution and congested crowd transport}}, Nonlinearity \textbf{27} (2014), no.~4, 823--858. \bibitem[CC13]{carlen2013} E.~A. Carlen and K.~Craig, \href{https://doi.org/10.2140/memocs.2013.1.33}{\emph{Contraction of the proximal map and generalized convexity of the Moreau--Yosida regularization in the 2-Wasserstein metric}}, Math. Mech. Complex Syst. \textbf{1} (2013), no.~1, 33--65. \bibitem[CE99]{cordero1999} D.~Cordero-Erausquin, \href{https://doi.org/10.1016/S0764-4442(00)88593-6}{\emph{Sur le transport de mesures p\'eriodiques}}, C. R. Acad. Sci. Paris S\'er. I Math. \textbf{329} (1999), no.~3, 199--202. \bibitem[DPMSV16]{dephilippis2015} G.~De Philippis, A.~R. M\'esz\'aros, F.~Santambrogio and B.~Velichkov, \href{https://doi.org/10.1007/s00205-015-0909-3}{\emph{BV estimates in optimal transportation and applications}}, Arch. Ration. Mech. Anal. \textbf{219} (2016), no.~2, 829--860. \bibitem[DFN26]{dimarino2026} S.~Di Marino, S.~Farinelli and E.~Naldi, \emph{On the stability of proximal operators in Wasserstein spaces under different notions of convexity}, preprint, \href{https://arxiv.org/abs/2607.08209v2}{arXiv:2607.08209v2} (2026). \bibitem[JKO98]{jordan1998} R.~Jordan, D.~Kinderlehrer and F.~Otto, \href{https://doi.org/10.1137/S0036141096303359}{\emph{The variational formulation of the Fokker--Planck equation}}, SIAM J. Math. Anal. \textbf{29} (1998), no.~1, 1--17. \bibitem[Lot08]{lott2008} J.~Lott, \href{https://doi.org/10.1007/s00220-007-0367-3}{\emph{Some geometric calculations on Wasserstein space}}, Comm. Math. Phys. \textbf{277} (2008), no.~2, 423--437. \bibitem[MBNW24]{manole2024} T.~Manole, S.~Balakrishnan, J.~Niles-Weed and L.~Wasserman, \href{https://doi.org/10.1214/24-AOS2379}{\emph{Plugin estimation of smooth optimal transport maps}}, Ann. Statist. \textbf{52} (2024), no.~3, 966--998. \href{https://doi.org/10.1214/24-AOS2379SUPP}{Supplementary material}. \bibitem[MRSV11]{maury2011} B.~Maury, A.~Roudneff-Chupin, F.~Santambrogio and J.~Venel, \href{https://doi.org/10.3934/nhm.2011.6.485}{\emph{Handling congestion in crowd motion modeling}}, Netw. Heterog. Media \textbf{6} (2011), no.~3, 485--519. \bibitem[McC97]{mccann1997} R.~J. McCann, \href{https://doi.org/10.1006/aima.1997.1634}{\emph{A convexity principle for interacting gases}}, Adv. Math. \textbf{128} (1997), no.~1, 153--179. \bibitem[RC11]{roudneff2011} A.~Roudneff-Chupin, \href{https://theses.fr/2011PA112304}{\emph{Mod\'elisation macroscopique de mouvements de foule}}, Ph.D. thesis, Universit\'e Paris-Sud, Orsay, 2011. \end{thebibliography} \end{document}