Let gij(t) solve Ricci flow ∂tgij=−2Rij and let f(t) solve the coupled backward heat equation ∂tf=−Δf+∣∇f∣2−R on a closed manifold M. Then dtdF(g,f)=2∫M∣Rij+∇i∇jf∣2e−fdV≥0, with equality at time t if and only if Rij+∇i∇jf=0 (a steady gradient Ricci soliton).
Why is it true?
This is the "arrow of time" that makes Ricci flow behave like a gradient flow: F can only increase, so the flow can never return to a metric it has already left (no non-trivial periodic orbits), and fixed points of the flow (up to diffeomorphism and rescaling) are exactly the critical points of F, i.e. gradient Ricci solitons. It converts a system of nonlinear PDEs into something with the qualitative structure of gradient descent on an energy landscape.
Proof sketch
Step 1 (conserved measure). Under Ricci flow, ∂tdV=−RdV (since ∂tlogdetg=21gij∂tgij=−R). Combining this with the evolution ∂tf=−Δf+∣∇f∣2−R for f gives ∂t(e−fdV)=(−∂tf−R)e−fdV=(Δf−∣∇f∣2)e−fdV=−Δ(e−f)dV, using Δ(e−f)=e−f(∣∇f∣2−Δf). Integrating over the closed manifold M, the right side vanishes by the divergence theorem, so ∫Me−fdV is constant in time: e−fdV is a conserved measure carried along by the coupled flow.
**Step 2 (reduce to an integral of ∂tφ−Δφ).** Write φ=R+∣∇f∣2, so F(g,f)=∫Mφe−fdV. Differentiating under the integral sign and using ∂t(e−fdV)=−Δ(e−f)dV from Step 1, dtdF=∫M(∂tφ)e−fdV−∫MφΔ(e−f)dV. Since the ordinary Laplacian is self-adjoint with respect to dV on the closed manifold M, ∫MφΔ(e−f)dV=∫M(Δφ)e−fdV, so dtdF=∫M[∂tφ−Δφ]e−fdV.
**Step 3 (the R part).** Hamilton's evolution formula for scalar curvature is ∂tR=ΔR+2∣Ric∣2, hence ∂tR−ΔR=2∣Ric∣2 directly. This already contributes 2∣Ric∣2 to the bracket in Step 2.
**Step 4 (the ∣∇f∣2 part).** Since ∂tgij=2Rij, the chain rule gives ∂t∣∇f∣2=2Ric(∇f,∇f)+2⟨∇f,∇(∂tf)⟩, and substituting ∂tf=−Δf+∣∇f∣2−R together with the identity ⟨∇f,∇∣∇f∣2⟩=2∇2f(∇f,∇f) yields ∂t∣∇f∣2=2Ric(∇f,∇f)−2⟨∇f,∇Δf⟩+4∇2f(∇f,∇f)−2⟨∇f,∇R⟩. Bochner's formula states Δ∣∇f∣2=2∣∇2f∣2+2⟨∇f,∇Δf⟩+2Ric(∇f,∇f); subtracting cancels both copies of Ric(∇f,∇f) and leaves ∂t∣∇f∣2−Δ∣∇f∣2=−2∣∇2f∣2+4∇2f(∇f,∇f)−4⟨∇f,∇Δf⟩−2⟨∇f,∇R⟩.
Step 5 (weighted Bochner and a vanishing divergence). Introduce the Bakry–Émery (f-weighted) Laplacian Δfh=Δh−⟨∇f,∇h⟩; it satisfies ∫M(Δfh)e−fdV=0 for every function h, since Δfhe−f=div(e−f∇h) is a pure divergence. Writing Δf=Δff+∣∇f∣2 turns ⟨∇f,∇Δf⟩ into ⟨∇f,∇Δff⟩+2∇2f(∇f,∇f), and the weighted Bochner–Weitzenböck identity 21Δf∣∇f∣2=∣∇2f∣2+⟨∇f,∇Δff⟩+(Ric+∇2f)(∇f,∇f) isolates ⟨∇f,∇Δff⟩. Substituting all of this back into the Step 4 expression, every term built from Δf∣∇f∣2 integrates to zero against e−fdV by the vanishing-divergence property above, and what survives is exactly ∫M[2∣∇2f∣2+4Ric(∇f,∇f)−2⟨∇f,∇R⟩]e−fdV.
Step 6 (completing the square via the contracted Bianchi identity). Integrating ⟨Ric,∇2f⟩ by parts and using the contracted second Bianchi identity ∇iRij=21∇jR gives exactly 4∫M⟨Ric,∇2f⟩e−fdV=∫M[4Ric(∇f,∇f)−2⟨∇f,∇R⟩]e−fdV — precisely the cross term left over from Step 5. Substituting back and adding the 2∣Ric∣2 from Step 3, the integrand assembles into a perfect square: 2∣Ric∣2+4⟨Ric,∇2f⟩+2∣∇2f∣2=2∣Ric+∇2f∣2.
Conclusion. Therefore dtdF(g,f)=2∫M∣Rij+∇i∇jf∣2e−fdV≥0, a sum of squares against the positive weight e−fdV, so F is non-decreasing along the coupled flow, and it is constant on an interval exactly when Rij+∇i∇jf≡0 there, i.e. exactly on steady gradient Ricci solitons. ■