Let $n\in\mathbb N$, let $I\subset\mathbb R$ be an open interval with $0\in I$, and let $V\in C^2(\mathbb R^n;\mathbb R)$. Define the potential energy functional $\mathcal V$ on densities $\rho$ for which the integral is finite by
Let $\rho:I\times\mathbb R^n\to[0,\infty)$, $(t,x)\mapsto\rho_t(x)$, be a smooth curve of probability densities, and let $\phi:I\times\mathbb R^n\to\mathbb R$, $(t,x)\mapsto\phi_t(x)$, be smooth. Assume that there exist an open interval $I_0\subset I$ with $0\in I_0$ and a compact set $K\subset\mathbb R^n$ such that $\operatorname{supp}\rho_t\subset K$ for every $t\in I_0$. Assume also that, for every $t\in I_0$,
Consequently, if $D^2V(x)$ is positive semidefinite for every $x\in\mathbb R^n$, then $\mathcal V$ is formally displacement convex along the smooth compactly supported Wasserstein geodesics in this class.