The Ricci identity for the Hessian #
For a smooth function φ on a Riemannian manifold, the Hessian Hess φ(u, v) = ⟪∇_u grad φ, v⟫
(TauCeti.Manifold.hessian) is symmetric, but its covariant derivative is not: the third
covariant derivative of φ commutes in its last two slots only up to curvature. With
(∇_Z Hess φ)(X, Y) = Z (Hess φ(X, Y)) - Hess φ(∇_Z X, Y) - Hess φ(X, ∇_Z Y)
and the curvature convention R(u, v) w = ∇_u ∇_v w - ∇_v ∇_u w - ∇_[u,v] w, the identity is
(∇_Z Hess φ)(X, Y) - (∇_Y Hess φ)(X, Z) = ⟪R(Z, Y) grad φ, X⟫.
It is the Ricci identity ∇²σ(u, v) - ∇²σ(v, u) = R(u, v) σ
(CovariantDerivative.secondCovariantDerivative_sub_swap_of_isTorsionFree) for σ = grad φ,
transported to the Hessian by metric compatibility and the symmetry of Hess φ. It is the
commutation rule for third derivatives of functions used in the conformal transformation law of
the Cotton tensor and in Bochner-type formulas.
The identity is stated on smooth vector fields, since the covariant derivative of the Hessian is evaluated through them.
The module also records two Hessian identities used in the Bochner formula. Metric compatibility
gives Hess |X|²(u, v) = 2 ⟪∇²X(u, v), X⟫ + 2 ⟪∇_u X, ∇_v X⟫ for every smooth vector field X,
where ∇²X(u, v) = ∇_u ∇_V X - ∇_{∇_u V} X is the second covariant derivative. Pairing
∇²(grad φ)(u, v) with w gives (∇_u Hess φ)(v, w), so since Hess φ is symmetric, the
third covariant derivative of φ is symmetric in its last two slots.
Main results #
TauCeti.Manifold.mvfderiv_hessian_sub_swap: the Ricci identity for the Hessian.TauCeti.Manifold.hessian_norm_sq: the Hessian of the squared length of a smooth vector field.TauCeti.Manifold.inner_secondCovariantDerivative_mgradient_eq_mvfderiv_hessian: pairing the second covariant derivative ofgrad φwith a vector field is the covariant derivative of the Hessian.TauCeti.Manifold.inner_secondCovariantDerivative_mgradient_comm: the third covariant derivative of a smooth function is symmetric in its last two slots.
References #
- J. M. Lee, Introduction to Riemannian Manifolds, 2nd ed., Springer GTM 176 (2018), Chapter 7 (the Ricci identities).
The Ricci identity for the Hessian. For a smooth function φ and smooth vector fields
X, Y, Z, the covariant derivative of Hess φ is symmetric in its last two slots up to
curvature: (∇_Z Hess φ)(X, Y) - (∇_Y Hess φ)(X, Z) = ⟪R(Z, Y) grad φ, X⟫, where
(∇_Z Hess φ)(X, Y) = Z (Hess φ(X, Y)) - Hess φ(∇_Z X, Y) - Hess φ(X, ∇_Z Y) and ∇ is the
Levi-Civita connection.
The Hessian of the squared length of a vector field. For a smooth vector field X,
Hess |X|²(u, v) = 2 ⟪∇²X(u, v), X⟫ + 2 ⟪∇_u X, ∇_v X⟫, where ∇ is the Levi-Civita connection
and ∇²X(u, v) = ∇_u ∇_V X - ∇_{∇_u V} X, for any smooth vector field V with V x = v, is its
second covariant derivative.
Pairing the second covariant derivative of grad φ with a vector field is the covariant
derivative of the Hessian: for smooth vector fields V and W,
⟪∇²(grad φ)(u, V), W⟫ = u (Hess φ(V, W)) - Hess φ(∇_u V, W) - Hess φ(V, ∇_u W), where ∇ is the
Levi-Civita connection.
The third covariant derivative of a smooth function is symmetric in its last two slots:
⟪∇²(grad φ)(u, v), w⟫ = ⟪∇²(grad φ)(u, w), v⟫, since it is the covariant derivative of the
symmetric Hessian.