Therefore the symmetric two-tensor with components\n\begin{align*}\nZ_{ij}:=M_{ij}-2\sum_{k=1}^n P_{ikj}V_k+\sum_{k,l=1}^n R_{ikjl}V_kV_l\n\end{align*}\nis nonnegative definite at $(x,t)$. In particular, for every $W\in T_xM$, if $W_i:=\langle W,e_i\rangle_{g(t)}$, then\n\begin{align*}\n\sum_{i,j=1}^n Z_{ij}W_iW_j\ge 0.\n\end{align*}\n\n[guided]\nFix one spacetime point $(x,t)\in M\times(0,T]$ and one tangent vector $V\in T_xM$. The desired inequality is pointwise, so proving it for this fixed data proves the theorem after we observe that the data were arbitrary. Let $\operatorname{Ric}_{g(t)}$ be the Ricci tensor, let $S(\cdot,t)$ be the scalar curvature, let $\nabla$ be the Levi-Civita connection of $g(t)$, and let $R_{g(t)}$ be the Riemann curvature tensor with the convention that tracing $R_{g(t)}(\cdot,V,\cdot,V)$ gives $\operatorname{Ric}_{g(t)}(V,V)$. Let $\Delta:=\operatorname{tr}_{g(t)}\nabla\nabla$ denote the scalar Laplacian of $g(t)$ acting componentwise on tensor components in normal coordinates at $x$. Let $|\operatorname{Ric}_{g(t)}|_{g(t)}^2:=\sum_{i,j=1}^n \operatorname{Ric}_{ij}\operatorname{Ric}_{ij}$ denote the squared pointwise norm in a $g(t)$-orthonormal basis. Choose a $g(t)$-orthonormal basis $(e_1,\dots,e_n)$ of $T_xM$ and define $V_k:=\langle V,e_k\rangle_{g(t)}$.\n\nHamilton's matrix Harnack inequality is not the assertion that $\partial_t\operatorname{Ric}+2\nabla_V\operatorname{Ric}+2R(\cdot,V,\cdot,V)+t^{-1}\operatorname{Ric}$ is nonnegative. Its standard form uses two auxiliary tensors. In the chosen orthonormal basis, define\n\begin{align*}\nM_{ij}:=\Delta \operatorname{Ric}_{ij}-\frac{1}{2}\nabla_i\nabla_j S+2\sum_{k,l=1}^n R_{ikjl}\operatorname{Ric}_{kl}-\sum_{k=1}^n \operatorname{Ric}_{ik}\operatorname{Ric}_{jk}+\frac{1}{2t}\operatorname{Ric}_{ij}.\n\end{align*}\n\begin{align*}\nP_{ijk}:=\nabla_i\operatorname{Ric}_{jk}-\nabla_j\operatorname{Ric}_{ik}.\n\end{align*}\nThese are exactly the tensors whose trace identities produce the scalar Harnack inequality. The $M$ term carries the time derivative of scalar curvature after using the scalar curvature evolution equation, the $P$ term carries the gradient of scalar curvature after using the contracted second Bianchi identity, and the curvature term carries $\operatorname{Ric}(V,V)$ after tracing.\n\nWe now verify the external theorem's hypotheses. [Hamilton's Matrix Harnack Inequality](/theorems/1172) applies to complete Ricci flows with bounded curvature and nonnegative curvature operator. The theorem statement assumes precisely those three conditions on $(M^n,g(t))_{t\in(0,T]}$. If the cited theorem is phrased for an interval starting at its initial time, we make the time shift explicitly. Fix $\varepsilon\in(0,t)$ and define the shifted flow $\tilde g_\varepsilon:[0,T-\varepsilon]\to \Gamma(\operatorname{Sym}^2T^*M)$ by $\tilde g_\varepsilon(s):=g(s+\varepsilon)$ for $s\in[0,T-\varepsilon]$.
This is again a complete Ricci flow with bounded curvature and nonnegative curvature operator, because those hypotheses hold for the original flow at all positive times and hence on the subinterval $[\varepsilon,T]$. We apply Hamilton's matrix Harnack inequality to $\tilde g_\varepsilon$ at shifted time $s=t-\varepsilon$. The time-normalized term in the matrix tensor is then