[step:Recall the smooth weighted equivalence theorem for $CD(K,N)$]We use the following standard smooth equivalence theorem of Lott--Sturm--Villani and Sturm for weighted Riemannian manifolds, stated here because the result is not yet available as a separate theorem in the wiki: for a connected complete smooth $n$-dimensional Riemannian manifold $(M,g)$, a function $V\in C^\infty(M)$, the weighted measure $m=e^{-V}\operatorname{vol}_g$, and a parameter $N\in[n,\infty]$, the metric-measure space $(M,d_g,m)$ satisfies the Lott--Sturm--Villani condition $CD(K,N)$ with the corresponding distortion coefficients if and only if
\begin{align*}
\operatorname{Ric}_{V,N}(v,v)\ge K g_p(v,v)
\end{align*}
for every $p\in M$ and every $v\in T_pM$.
Here, for $N\in(n,\infty)$, the $N$-Bakry--Emery Ricci tensor is
\begin{align*}
\operatorname{Ric}_{V,N}:=\operatorname{Ric}_g+\nabla^2 V-\frac{1}{N-n}\nabla V\otimes \nabla V,
\end{align*}
while for $N=\infty$ it is
\begin{align*}
\operatorname{Ric}_{V,\infty}:=\operatorname{Ric}_g+\nabla^2 V.
\end{align*}
For $N=n$, the convention is that $CD(K,n)$ can hold only when $\nabla V=0$, and in that case
\begin{align*}
\operatorname{Ric}_{V,n}:=\operatorname{Ric}_g+\nabla^2 V.
\end{align*}
Equivalently, in the unweighted case $V=0$, one has
\begin{align*}
\operatorname{Ric}_{0,n}=\operatorname{Ric}_g.
\end{align*}[/step]