[guided]We now compute the identity that drives the estimate. Let $n := \dim M$, and let $\mathfrak{X}(M)$ denote the real vector space of smooth vector fields on $M$. Let $R^M$ and $R^N$ denote the [curvature tensors](/page/Riemann%20Curvature%20Tensor) of $(M,g)$ and $(N,h)$, with the convention
\begin{align*}
R(A,B)C := \nabla_A\nabla_BC - \nabla_B\nabla_AC - \nabla_{[A,B]}C.
\end{align*}
With this same convention, the Ricci tensor of $(M,g)$ is
\begin{align*}
\operatorname{Ric}_g(X,Y) := \sum_{j=1}^n g(R^M(X,e_j)e_j,Y),
\end{align*}
where $(e_1,\dots,e_n)$ is any local $g$-orthonormal frame. The pullback connection $\nabla^u$ is taken on $u^*TN \to M \times [0,T)$, so it includes both spatial covariant derivatives and the covariant time derivative $\nabla^u_{\partial_t}$ along $u$. The covariant derivative of $du_t$ is defined by
\begin{align*}
(\nabla du_t)(X,Y) := \nabla^u_X(du_t(Y)) - du_t(\nabla^M_XY)
\end{align*}
for vector fields $X,Y \in \mathfrak{X}(M)$. This is a section of $T^*M \otimes T^*M \otimes u_t^*TN$. Its trace with respect to $g$ is the tension field
\begin{align*}
\tau_g(u) = \sum_{i=1}^n (\nabla du_t)(e_i,e_i),
\end{align*}
where $(e_1,\dots,e_n)$ is a local $g$-orthonormal frame.
Fix a point $(p,t) \in M \times [0,T)$. We choose the frame so that $\nabla^M_{e_i}e_j(p)=0$ for every $i,j$. This choice is only a pointwise simplification; all quantities in the final identity are tensorial, so the identity obtained at $p$ is independent of the chosen frame. Define the vector $u_i \in T_{u(p,t)}N$ by
\begin{align*}
u_i := du_t(e_i).
\end{align*}
Define the vector $u_{ij} \in T_{u(p,t)}N$ by
\begin{align*}
u_{ij} := (\nabla du_t)(e_i,e_j).
\end{align*}
At the point $p$, the energy density is
\begin{align*}
e(u)=\frac{1}{2}\sum_{i=1}^n h(u_i,u_i).
\end{align*}
Differentiate in time. Since the connection on $N$ is torsion-free and $\partial_t u=\tau_g(u)$ by the harmonic map heat flow equation,
\begin{align*}
\partial_t e(u) = \sum_{i=1}^n h(\nabla^u_{\partial_t}u_i,u_i).
\end{align*}
Because the [Levi-Civita connection](/page/Levi-Civita%20Connection) on $N$ is torsion-free, the second fundamental covariant derivative of the map $u$ is symmetric in the two input directions. Here the input directions are the coordinate vector $\partial_t$ on $[0,T)$ and the spatial vector $e_i$ on $M$, and their product bracket vanishes, so
\begin{align*}
\nabla^u_{\partial_t}u_i = \nabla^u_{e_i}\partial_t u.
\end{align*}
Since $u$ solves [harmonic map heat flow](/page/Harmonic%20Map%20Heat%20Flow), $\partial_t u = \tau_g(u)$. Hence
\begin{align*}
\partial_t e(u) = \sum_{i=1}^n h(\nabla^u_{e_i}\tau_g(u),u_i).
\end{align*}
Next compute the Laplacian at $p$. Because the frame is normal at $p$,
\begin{align*}
\Delta_g e(u) = \sum_{j=1}^n e_j e_j\left(\frac{1}{2}\sum_{i=1}^n h(u_i,u_i)\right).
\end{align*}
Using compatibility of $\nabla^N$ with $h$ and the normal-frame condition $\nabla^M_{e_i}e_j(p)=0$, this becomes
\begin{align*}
\Delta_g e(u) = \sum_{i,j=1}^n |u_{ij}|_h^2 +\sum_{i,j=1}^n h(\nabla^u_{e_j}\nabla^u_{e_j}u_i,u_i).
\end{align*}
Subtracting the Laplacian from the time derivative gives
\begin{align*}
(\partial_t-\Delta_g)e(u) = -\sum_{i,j=1}^n |u_{ij}|_h^2 +\sum_{i=1}^n h(\nabla^u_{e_i}\tau_g(u),u_i) -\sum_{i,j=1}^n h(\nabla^u_{e_j}\nabla^u_{e_j}u_i,u_i).
\end{align*}
The remaining task is to commute covariant derivatives. At the normal frame, $\tau_g(u)=\sum_{j=1}^n u_{jj}$, so the expression to identify is
\begin{align*}
\sum_{i,j=1}^n h\left(\nabla^u_{e_i}u_{jj}-\nabla^u_{e_j}\nabla^u_{e_j}u_i,u_i\right).
\end{align*}
We now derive the commutation formula with signs visible. At $p$, because $\nabla^M_{e_i}e_j(p)=0$, we have
\begin{align*}
\nabla^u_{e_i}u_{jj}=\nabla^u_{e_i}\nabla^u_{e_j}u_j.
\end{align*}
Also,
\begin{align*}
\nabla^u_{e_j}\nabla^u_{e_j}u_i=\nabla^u_{e_j}\nabla^u_{e_j}du_t(e_i).
\end{align*}
The curvature identity for the pullback connection gives
\begin{align*}
\nabla^u_{e_i}\nabla^u_{e_j}u_j-\nabla^u_{e_j}\nabla^u_{e_i}u_j-\nabla^u_{[e_i,e_j]}u_j
=R^N(u_i,u_j)u_j.
\end{align*}
The Levi-Civita connection on $M$ is torsion-free, so $[e_i,e_j]=\nabla^M_{e_i}e_j-\nabla^M_{e_j}e_i$, and the normal-frame condition gives $[e_i,e_j](p)=0$. We must still commute the covariant derivative acting on the $T^*M$ slot of $du_t$. We derive the needed instance of the [Ricci Identity](/page/Ricci%20Identity) rather than hiding the sign in a convention. Let $Z \in \mathfrak{X}(M)$ be a smooth vector field. Since $du_t(Z)$ is a section of $u_t^*TN$, the curvature of the pullback connection gives
\begin{align*}
(\nabla^u_{e_i}\nabla^u_{e_j}-\nabla^u_{e_j}\nabla^u_{e_i}-\nabla^u_{[e_i,e_j]})(du_t(Z))=R^N(u_i,u_j)du_t(Z).
\end{align*}
Now expand each derivative of $du_t(Z)$ using the definition of $\nabla du_t$. The curvature acting on the target-valued component contributes $R^N(u_i,u_j)du_t(Z)$, while the curvature acting on the covariant $T^*M$ input contributes with the opposite sign. Thus, at $p$,
\begin{align*}
((\nabla^u_{e_i}\nabla du_t)-(\nabla^u_{e_j}\nabla du_t))(e_j,Z)
=R^N(u_i,u_j)du_t(Z)-du_t(R^M(e_i,e_j)Z).
\end{align*}
Taking $Z=e_j$ gives
\begin{align*}
(\nabla^u_{e_i}\nabla du_t)(e_j,e_j)-(\nabla^u_{e_j}\nabla du_t)(e_i,e_j)
=R^N(u_i,u_j)u_j-du_t(R^M(e_i,e_j)e_j).
\end{align*}
Because the frame is normal at $p$, this is precisely
\begin{align*}
\nabla^u_{e_i}u_{jj}-\nabla^u_{e_j}\nabla^u_{e_j}u_i
=R^N(u_i,u_j)u_j-du_t(R^M(e_i,e_j)e_j).
\end{align*}
This is the point where sign discipline matters. Pairing the target term with $u_i$ gives $h(R^N(u_i,u_j)u_j,u_i)$, while the final Bochner identity is written with $h(R^N(u_i,u_j)u_i,u_j)$. These differ by a minus sign because the curvature tensor is skew-adjoint in its last two slots:
\begin{align*}
h(R^N(A,B)B,A)=-h(R^N(A,B)A,B).
\end{align*}
Pairing the commutation identity with $u_i$ and summing over $i,j$ gives
\begin{align*}
\sum_{i=1}^n h(\nabla^u_{e_i}\tau_g(u),u_i) -\sum_{i,j=1}^n h(\nabla^u_{e_j}\nabla^u_{e_j}u_i,u_i)
= -\sum_{i,j=1}^n h\bigl(R^N(u_i,u_j)u_i,u_j\bigr)
-\sum_{i,j=1}^n \operatorname{Ric}_g(e_i,e_j)\,h(u_i,u_j).
\end{align*}
The last equality uses the convention $\operatorname{Ric}_g(X,Y)=\sum_{j=1}^n g(R^M(X,e_j)e_j,Y)$ with respect to the orthonormal frame $(e_1,\dots,e_n)$. Therefore
\begin{align*}
(\partial_t-\Delta_g)e(u) = -\sum_{i,j=1}^n |u_{ij}|_h^2 -\sum_{i,j=1}^n \operatorname{Ric}_g(e_i,e_j)\,h(u_i,u_j) -\sum_{i,j=1}^n h\bigl(R^N(u_i,u_j)u_i,u_j\bigr).
\end{align*}
This is the parabolic Bochner identity for harmonic map heat flow. With the stated convention, the sectional curvature of the plane spanned by linearly independent tangent vectors $X,Y \in T_qN$ is
\begin{align*}
K_N(X,Y)=\frac{h(R^N(X,Y)Y,X)}{|X|_h^2|Y|_h^2-h(X,Y)^2}.
\end{align*}
Since $h(R^N(X,Y)Y,X)=-h(R^N(X,Y)X,Y)$, nonpositive sectional curvature of $N$ means
\begin{align*}
h(R^N(X,Y)X,Y) \geq 0
\end{align*}
for all tangent vectors $X,Y \in T_qN$.[/guided]