We shall prove (?) for t=1 only and the statements about minimizers for T=1 only. The general cases follow by the same arguments, or by replacing the distance {\sf d} with \sqrt t{\sf d}, noticing that both Laplacian and Ricci bounds are affected by a factor \frac1t and taking also into account the natural rescaling properties for RLFs.
Step 1: the core argument We claim that all the stated conclusions follow if f\in{\mathcal AC}^-({\rm X}) is such that {\bf \Delta} f\leqslant C{\mathfrak m} and
\begin{align}
{\bf \Delta} Q_tf&\leqslant C'{\mathfrak m},\qquad\forall t\in[0,1]\qquad\text{ for some }C'>0\\
|{\rm d} Q_tf|(x)&={\rm lip}(Q_tf)(x),\qquad{\mathfrak m}\times\mathcal L^1-a.e.\ (x,t)\in{\rm X}\times[0,1],
\end{align}
(in particular, even if a priori we only have some ‘bad’ upper bound on the Laplacian, we can improve it to the ‘correct’ estimate (?)).
Let us prove (?). Put A_t:=\{|{\rm d} Q_tf|={\rm lip}(Q_tf)\} (this is a Borel set defined up to {\mathfrak m}-negligible sets), let \bar x\in{\rm X} and 0<R_1<R_2. Put \rho:={\mathfrak m}(B_{R_1})^{-1}{\raise.3ex\hbox{}}_{B_{R_1}} and apply Proposition 5.5 with C' in place of C to find a plan {\mbox{\boldmath}} satisfying (?) and (?). We can thus apply Proposition 5.6 and deduce, by item (ii) of such statement, that {\rm supp}(({\rm e}_t)_*{\mbox{\boldmath}})\subset B_{R_2}(x) for t\ll1. Thus letting \rho_t be the density of ({\rm e}_t)_*{\mbox{\boldmath}}, we have
{\mathfrak m}(A_{1-t}\cap B_{R_2})\stackrel{\eqref{eq:bellaid2}}\geqslant {\mathfrak m}(\{\rho_t>0\})\geqslant \|\rho_t\|_\infty^{-1}\stackrel{\eqref{eq:regestpi}}\geqslant {\mathfrak m}(B_{R_1})e^{-tC'}\qquad for\ t\ll1.
We apply this estimate to the scaled space ({\rm X},\frac{{\sf d}}{\sqrt{1-t}},{\mathfrak m}) for t\ll1 noticing that the Laplacian and Ricci bounds are only slightly affected and that Q^{\sf d}_{1-t}f=Q^{\frac{{\sf d}}{\sqrt{1-t}}}_{1}f (equivalently: in the above argument we apply Propositions 5.5, 5.6 to slightly different time intervals) . We conclude that
{\mathfrak m}(A_1\cap B_{\frac{R_2}{\sqrt{1-t}}})\geqslant {\mathfrak m}(B_{\frac{R_1}{\sqrt{1-t}}})e^{-tC''}\qquad for\ t\ll1,
thus letting first t\downarrow0 and then R_1\uparrow R_2 we deduce that {\mathfrak m}(A_1\cap B_{R_2})={\mathfrak m}(B_{R_2}). By the arbitrariness of R_2, this proves (?) for t=1. The general case follows by scaling.
We turn to the rest of the proof and observe that for {\mbox{\boldmath}}={\mbox{\boldmath}}_{R_1} built as above the plan {\mbox{\boldmath}}':=\sum_{n}2^{-n}{\mbox{\boldmath}}_{R_{1,n}} for some R_{1,n}\uparrow\infty satisfies ({\rm e}_0)_*{\mbox{\boldmath}},({\rm e}_1)_*{\mbox{\boldmath}}\ll{\mathfrak m} and (5.6), thus Proposition 5.6 ensures that is induced by a map F. The fact that F takes values on geodesics of length \leqslant \sqrt{2{\sf Osc}(f)} and satisfies (?) (for T=1) follows from the analogue statements in Proposition 5.6. Now observe that from Lemma 4.2 and the assumptions f\in{\mathcal AC}^-({\rm X}), {\bf \Delta} f\leqslant C{\mathfrak m} we have that \tilde\Delta f(y)\leqslant C for every y\in{\rm X}. Hence by (?) we are in position to apply Lemma 5.8 above in conjunction with the trivial bound (?) to deduce that
\tilde\Delta Q_1f(x)\leqslant C+2K^-{\sf Osc}(f)\qquad{\mathfrak m}-a.e.\ x\in{\rm X}.
This bound and the distributional inequality (Proof) give, via Lemma 4.2, estimate (?).
Now that we have (?) we can apply once again Proposition 5.5, this time with C+2K^-{\sf Osc}(f) in place of C to conclude, by (?) and the construction, that (?) holds.
The validity of (?), the very definition of Q_1f and the fact that \int_0^1|\dot\gamma_t|^2\,{\rm d} t\geqslant{\sf d}^2(\gamma_0,\gamma_1) with equality iff \gamma is a constant speed geodesic, ensure that F_\cdot(x) is a minimizer for (?). Thus existence is proved. Uniqueness follows from Proposition 5.6: if \tilde F:{\rm X}\to C([0,1],{\rm X}) is also a selection of minimizers with (\tilde F_1)_*{\mathfrak m}\ll{\mathfrak m}, then for \mu\in\mathscr P({\rm X}) with {\mathfrak m}\ll\mu\ll{\mathfrak m} the plan {\mbox{\boldmath}}:=\frac12((F_\cdot)_*\mu+(\tilde F_\cdot)_*\mu) satisfies (5.6) with ({\rm e}_0)_*{\mbox{\boldmath}}=\mu and ({\rm e}_1)_*{\mbox{\boldmath}}\ll{\mathfrak m}. By Proposition 5.6 this is enough to ensure that {\mbox{\boldmath}} is induced by a map, i.e. that F=\tilde F {\mathfrak m}-a.e.. The last claim in Proposition 5.6 also gives {\mathfrak m}-a.e. uniqueness of minimizers of (?) if {\rm X} is {\sf RCD}(K,N).
It remains to prove that (F_t) is the only Regular Lagrangian Flow of v_t:=-\nabla Q_{1-t}f. To see that it is a RLF, since F takes values in continuous curves, it is sufficient to show that for any \delta\in(0,1) it is the RLF of (v_t) on [0,1-\delta]. In this direction notice that (?) tells
|v_t|\leqslant C(\delta)\qquad{\mathfrak m}-a.e.\qquad \forall t\in[0,1-\delta],\qquad\forall \delta\in(0,1).
Then let \rho be a bounded probability density with bounded support, put {\mbox{\boldmath}}:=(F_\cdot)_*(\rho{\mathfrak m}) as above and use (?) to apply Proposition 5.4 on [0,1-\delta] and deduce that it is sufficient to prove that for any \varphi\in W^{1,2}({\rm X}) the map [0,1-\delta]\ni t\mapsto \int\varphi \circ{\rm e}_t\,{\rm d}{\mbox{\boldmath}} is absolutely continuous with derivative equal to -\int{\rm d}\varphi(\nabla Q_{1-t}f)\circ{\rm e}_t\,{\rm d}{\mbox{\boldmath}} for a.e. t. Absolute continuity follows from the Sobolev regularity of \varphi and the fact that {\mbox{\boldmath}} is a test plan (see e.g. [GP19, Theorem 2.1.21]). Then recalling that {\mbox{\boldmath}} is an optimal geodesic test plan and by a simple scaling argument we see that it is sufficient to prove the formula for the derivative for t=0, i.e. to prove that
\lim_{t\downarrow0}\int\frac{\varphi(\gamma_t)-\varphi(\gamma_0)}t\,{\rm d}{\mbox{\boldmath$\pi$}}(\gamma)=-\int{\rm d}\varphi(\nabla Q_{1}f)\circ{\rm e}_0\,{\rm d}{\mbox{\boldmath$\pi$}}.
This follows recalling that {\mbox{\boldmath}} represents the gradient of -Q_1f in the sense of [Gigli12, Definition 3.7] (recall item (vii) in Proposition 5.6) and the lemma about ‘horizontal and vertical derivatives’, see [Gigli12, Theorem 3.10] (and [AmbrosioGigliSavare11-2, Lemma 4.5]).
We pass to uniqueness, thus let \rho as before, \tilde {\sf Fl} be a RLF of the v_t’s, put \tilde{\mbox{\boldmath}}:=(\tilde {\sf Fl}_\cdot)_*\mu, let f_t:=Q_{t}f and notice that - by (?) and the assumption (?) - the identity \partial_tf_t=-\frac12|{\rm d} f_t|^2 holds {\mathfrak m}-a.e. for a.e. t\in[0,1]. Then from (?) and (?) and arguing as for (?) we obtain
\begin{split}
\int Q_1f\,{\rm d}\mu-\int Q_\delta f\,{\rm d}({\rm e}_{1-\delta})_*\tilde{\mbox{\boldmath$\pi$}}&=\iint_0^{1-\delta}\big(|{\rm d} f_t|^2-\tfrac12|{\rm d} f_t|^2)\circ\tilde {\sf Fl}_t\,{\rm d} t\,{\rm d}\mu
\stackrel{\eqref{eq:spRLF}}=\frac12\iint_0^{1-\delta} |\dot\gamma_t|^2\,{\rm d} t\,{\rm d}\tilde{\mbox{\boldmath$\pi$}}(\gamma).
\end{split}
Now notice that the continuity of t\mapsto\tilde {\sf Fl}_t(x) for {\mathfrak m}-a.e. x\in {\rm X} implies the weak convergence of ({\rm e}_{1-\delta})_*\tilde{\mbox{\boldmath}} to ({\rm e}_1)_*\tilde{\mbox{\boldmath}}, hence the lower semicontinuity stated in (?) and Fatou’s lemma for weakly converging measures (see e.g. [GDP17, Lemma 2.5]) imply \varliminf_{\delta\downarrow0}\int Q_\delta f\,{\rm d}(\tilde {\sf Fl}_{1-\delta})_*\mu\geqslant \int f\,{\rm d}({\rm e}_1)_*\tilde{\mbox{\boldmath}}.
We can therefore pass to the limit in the above and conclude that \tilde{\mbox{\boldmath}} satisfies (5.6), so that the uniqueness claim follows again by Proposition 5.6.
Step 2: the approximation argument Let f\in{\mathcal AC}^-({\rm X}) be such that {\bf \Delta} f\leqslant C{\mathfrak m} and assume that (f_n)\subset{\mathcal AC}^-({\rm X}) is a sequence that is \Gamma-converging to f (see [DalMaso93], [Braides02]), i.e. so that
\begin{align}
&\text{for every $x_n\to x$ we have $\varliminf_nf_n(x_n)\geqslant f(x)$,}\\
&\text{for every $x\in{\rm X}$ there is $x_n\to x$ such that $\varlimsup_nf_n(x_n)\leqslant f(x)$.}
\end{align}
Assume also that for some C''>0 the uniform bounds
\begin{align}
{\bf \Delta} f_n&\leqslant C''{\mathfrak m}\\
{\sf Osc}(f_n)&\leqslant C''
\end{align}
hold for every n\in\varmathbb{N} and that the conclusions of the theorem are true for the f_n’s (with the estimate (?) depending on C''). We claim that in this case the conclusions of the statement hold for f (with the correct estimate (?) depending on C,{\sf Osc}(f) only). According to the previous step to this aim it is sufficient to show that the properties (Proof) hold. In proving this we shall frequently use the fact that (?) and (?) give that the f_n’s - and thus also the Q_tf_n’s - are equibounded.
We start claiming that
\varlimsup_{n}Q_tf_n(x)\leqslant Q_tf(x)\qquad\forall t>0.
Indeed, for x,y\in{\rm X} we use (?) to find y_n\to y with \varlimsup_nf_n(y_n)\leqslant f(y) and observe that
\varlimsup_{n}Q_tf_n(x)\leqslant\varlimsup_n\Big( f_n(y_n)+\frac{{\sf d}^2(x,y_n)}{2t}\Big)\leqslant f(y)+\frac{{\sf d}^2(x,y)}{2t},
so that the arbitrariness of y\in{\rm X} gives (?).
To get (a sort of) the \Gamma-\varliminf inequality analogue to (?) we need to overcome the lack of compactness by using the uniform estimates (?).
We assumed that for the f_n’s the conclusions are true, thus let F^n:{\rm X}\to C([0,1],{\rm X}) be the corresponding maps as in the statement, fix a bounded probability density \rho with bounded support, define {\mbox{\boldmath}}_n:=(F^n)_*(\rho{\mathfrak m})\in\mathscr P(C([0,1],{\rm X})) and notice that by (?) and the last claim in the statement the {\mbox{\boldmath}}_n’s are concentrated on a bounded set of geodesics. Also, by (?) and (?), they satisfy
({\rm e}_t)_*{\mbox{\boldmath$\pi$}}_n\leqslant e^{t(C''+2K^-C'')}{\mathfrak m},\qquad\forall n\in\varmathbb{N},\ t\in[0,1].
Arguing as in the proof of Proposition 5.5, this is enough to conclude that the family ({\mbox{\boldmath}}_n) is tight, so that passing to a non-relabeled subsequence we can assume that it converges to a limit plan {\mbox{\boldmath}}. Now observe that integrating (?) we get
\int Q_1f_n\,{\rm d}({\rm e}_0)_*{\mbox{\boldmath$\pi$}}_n=\int f_n\,{\rm d}({\rm e}_1)_*{\mbox{\boldmath$\pi$}}_n+\frac12\iint_0^1|\dot\gamma_t|^2\,{\rm d} t\,{\rm d}{\mbox{\boldmath$\pi$}}_n(\gamma)\qquad\forall n\in\varmathbb{N}.
The bound (?), identity ({\rm e}_0)_*{\mbox{\boldmath}}_n=({\rm e}_0)_*{\mbox{\boldmath}}=\rho{\mathfrak m} and (reverse) Fatou’s lemma give
\varlimsup_n\int Q_1f_n\,{\rm d}({\rm e}_0)_*{\mbox{\boldmath$\pi$}}_n\leqslant \int Q_1f\,{\rm d}({\rm e}_0)_*{\mbox{\boldmath$\pi$}}\,,
while (?) and Fatou’s lemma for weakly converging sequences of measures (see e.g. [GDP17, Lemma 2.5]) give \varliminf_n\int f_n\,{\rm d}({\rm e}_1)_*{\mbox{\boldmath}}_n\geqslant \int f\,{\rm d}({\rm e}_1)_*{\mbox{\boldmath}}. Thus by the lower semicontinuity of the kinetic energy we can pass to the limit in the above and obtain
\begin{split}
\int Q_1f\,{\rm d}({\rm e}_0)_*{\mbox{\boldmath$\pi$}}&\geqslant \varliminf_{n\to\infty}\int Q_1f_n\,{\rm d}({\rm e}_0)_*{\mbox{\boldmath$\pi$}}_n\geqslant \int f\,{\rm d}({\rm e}_1)_*{\mbox{\boldmath$\pi$}}+\frac12\iint_0^1|\dot\gamma_t|^2\,{\rm d} t\,{\rm d}{\mbox{\boldmath$\pi$}}(\gamma).
\end{split}
Since (?) implies ({\rm e}_1)_*{\mbox{\boldmath}}\ll{\mathfrak m}, we can apply Proposition 5.6 and deduce that
|{\rm d} Q_tf|={\rm lip}(Q_tf)\qquad ({\rm e}_{1-t})_*{\mbox{\boldmath$\pi$}}-a.e..
Then the arbitrariness of \rho and the very same arguments used at the beginning of the previous step (based on the fact that the estimate (?) passes to the limit in place of (?)) show that (?), and in particular (Proof), holds.
Also, since the inequality f(\gamma_1)+\frac12\int_0^1|\dot\gamma_t|^2\,{\rm d} t\geqslant f(\gamma_1)+\frac{{\sf d}^2(\gamma_0,\gamma_1)}2\geqslant Q_1f(\gamma_0) is true for any \gamma\in C([0,1],{\rm X}), the bound (?) gives \varliminf_n\int Q_1f_n\,{\rm d}(\rho{\mathfrak m})\geqslant \int Q_1f\,{\rm d}(\rho{\mathfrak m}). Now put g_n:=\sup_{k\geqslant n}Q_1f_k, g:=\inf_n g_n=\varlimsup_nQ_1f_n and observe that, by dominated convergence, g_n\to g in L^1({\rm X},\rho{\mathfrak m}). On the other hand
\varlimsup_n\|g_n-Q_1f_n\|_{L^1(\rho{\mathfrak m})}=\varlimsup_n\int g_n-Q_1f_n\,{\rm d}(\rho{\mathfrak m})\leqslant \int \underbrace{ g-Q_1f}_{\leqslant 0\text{ by \eqref{eq:daglims}}}\,{\rm d}(\rho{\mathfrak m})\leqslant 0.
This forces at once Q_1f_n\to g in L^1(\rho{\mathfrak m}) and g=Q_1f \rho{\mathfrak m}-a.e., hence the arbitrariness of \rho tells that (Q_1f_n) converges to Q_1f in L^1_{loc}({\rm X}). Now from (?) and the validity of (?) for f_n we get {\bf \Delta} Q_1f_n\leqslant (C''+2K^-C''){\mathfrak m} and according to the stability property (?) we can conclude that {\bf \Delta} Q_1f\leqslant (C''+2K^-C''){\mathfrak m}. Since by a scaling argument the same inequality is true for Q_tf, (Proof) holds. We thus established (Proof), as desired.
Step 3: wrapping everything up
The case of test functions Let f\in{\rm Test}^\infty({\rm X}). Then clearly f\in{\mathcal AC}^-({\rm X}). Also, the properties (Proof) are granted by Lemma 5.7, hence in this case the conclusion follows from the first step.
Intermediate regularity Assume that f is in {\rm Lip}_{\sf b}({\rm X})\cap D(\Delta_{\rm loc}) with \Delta f\in {\rm Lip}_b({\rm X}). Pick \bar x\in{\rm X}, let \phi_n:=(1-{\sf d}(\cdot,B_n(\bar x)))^+, define \eta_n:=\tilde{\sf h}_1\phi_n\in\widetilde{\rm Test}({\rm X}) and then f_n:=\eta_nf. It is clear from (?) that f_n\in{\rm Test}^\infty({\rm X}) for every n\in\varmathbb{N}, so by the previous step the conclusions of the theorem are true for it. We claim that the bounds (?) and the \Gamma-convergence (?) are in place.
The bound (?) is trivial and since (?) gives
\sup_n{\sf Osc}(\eta_n)+{\rm Lip}(\eta_n)+\|\Delta\eta_n\|_\infty<\infty,
the bound (?) follows from the Leibniz rule for the Laplacian (?). We pass to (?) and notice that the monotonicity of the heat flow grants that (\eta_n(x)) is a bounded non-decreasing sequence for every x\in{\rm X}, hence it converges to a limit \eta(x). In particular for \varphi\in\widetilde{\rm Test}({\rm X}) by dominated convergence we have \int\eta_n\varphi\,{\rm d}{\mathfrak m}\to\int\eta\varphi\,{\rm d}{\mathfrak m}. On the other hand we have
\int \varphi\eta_n\,{\rm d}{\mathfrak m}=\int \varphi\tilde{\sf h}_1\phi_n\,{\rm d}{\mathfrak m}=\int \tilde{\sf h}_1\varphi\,\phi_n\,{\rm d}{\mathfrak m}\qquad\to\qquad\int \tilde{\sf h}_1\varphi\,{\rm d}{\mathfrak m}=\int \varphi\,{\rm d}{\mathfrak m}
and by the density property (?) we conclude that \eta=1 {\mathfrak m}-a.e., and thus everywhere because it is a Lipschitz function (being limit of equiLipschitz functions). It follows that for x_n\to x we have
|\eta_n(x_n)-\eta(x)|\leqslant {\sf d}(x_n,x)\sup_n{\rm Lip}(\eta_n)+|\eta_n(x)-\eta(x)|\quad\to\quad 0\qquad\text{ as $n\to\infty$}
and thus, since f\in{\rm Lip}_{\sf b}({\rm X}), that f_n(x_n)\to f(x). This property is clearly stronger than (?), which therefore is proved. Hence the desired conclusion for f follows from Step 2.
The general case Let f:{\rm X}\to\varmathbb{R} be as in the assumptions, put f_n:=\tilde{\sf h}_n f and notice that by (?) and (?) we have f_n\in {\rm Lip}_{\sf b}({\rm X})\cap D(\Delta_{\rm loc}) with \Delta f_n\in{\rm Lip}_b({\rm X}). Then by the previous set the conclusions of the theorem are true for f_n, whereas by (?) and the weak maximum principle we see that the uniform bounds (?) are in place.
According to Step 2 to conclude it is therefore sufficient to show that the \Gamma-convergence (?) is in place. To prove (?) we let g\in{\rm Lip}_{{\sf b}}({\rm X}), g_n:=\tilde{\sf h}_n g and notice that (?) implies L:=\sup_n{\rm Lip}(g_n)<\infty. Thus if g\in {\rm Lip}_{\sf b}({\rm X}), for any x_n\to x the monotonicity of the heat flow gives
\varliminf_{n\to\infty}f_n(x_n)\geqslant \varliminf_{n\to\infty} g_n(x_n)\geqslant \varliminf_{n\to\infty} (g_n(x)-L{\sf d}(x,x_n))= \varliminf_{n\to\infty}g_n(x)=g(x),
where in the last equality we used the continuity of g, the representation {\sf h}_tg(x)=\int g\,{\rm d}{\sf h}_t\delta_x and the fact that {\sf h}_t\delta_x\rightharpoonup\delta_x as t\downarrow0. From the lower semicontinuity of f it is easy to establish that f=\sup\{g\, :\, g\in {\rm Lip}_b({\rm X}), g\leqslant f\} (see e.g. [AmbrosioGigliSavare08, Section 5.1]), thus (?) follows from (?).
To prove (?) we recall that for some Borel set E\subset{\rm X} with {\mathfrak m}-negligible complement we have that f\lower3pt\hbox{|_E} is continuous. Also, using (?) and a diagunalization argument it is clear that it suffices to prove (?) for x\in E. Fix such x, let \varepsilon>0, find r>0 such that f\leqslant f(x)+\varepsilon on B_r(x)\cap E and notice that since {\sf h}_t\delta_x\ll{\mathfrak m} for every t>0 and {\sf h}_t\delta_x(B_r^c)\to 0 as t\downarrow0 we have
\varlimsup_{t\downarrow0}{\sf h}_tf(x)=\varlimsup_{t\downarrow0}\int f\,{\rm d}{\sf h}_t\delta_x=\varlimsup_{t\downarrow0}\int_{B_r(x)\cap E} f\,{\rm d}{\sf h}_t\delta_x\leqslant f(x)+\varepsilon.
Since \varepsilon>0 was arbitrary, the claim (?) follows by picking x_n\equiv x.