import PoincareLib.Geometry.RicciFlow.Soliton.TwoDimensional.Compact.Rigidity.Degenerate /-! # Critical points of a shrinking surface are global extrema The conserved gradient energy and the strict tangent inequality for the exponential determine the side of every critical value on which the potential can lie. For nonnegative scalar curvature, every critical point is a global minimum or a global maximum. This supports the rotational route to compact rigidity in Chow--Knopf, Proposition 5.21, p. 118. -/ set_option autoImplicit false set_option backward.isDefEq.respectTransparency false open Set open scoped Manifold ContDiff Bundle namespace PoincareMT.LeviCivitaData variable {M : Type*} [TopologicalSpace M] [PreconnectedSpace M] [ChartedSpace (EuclideanSpace ℝ (Fin 2)) M] [IsManifold (𝓑 2) ∞ M] {g : RiemannianMetric 2 M} /-- The conserved gradient energy relative to any critical point. -/ theorem gradient_normSq_eq_at_critical_point (D : LeviCivitaData g) {f : M β†’ ℝ} {lambda : ℝ} (hf : ContMDiff (𝓑 2) π“˜(ℝ, ℝ) 2 f) (hsol : βˆ€ x, βˆ€ v w : TangentSpace (𝓑 2) x, D.ricci x v w + D.hessian f x v w = lambda * g.inner x v w) {p : M} (hp : D.gradient f p = 0) (x : M) : g.inner x (D.gradient f x) (D.gradient f x) = 2 * lambda * (f x - f p) - D.scalarCurvature p * (Real.exp (f x - f p) - 1) := by obtain ⟨C, hC⟩ := D.exists_hamilton_conservation_of_surface_soliton hf hsol have he := (hC x).trans (hC p).symm rw [hp] at he simp only [map_zero, add_zero] at he rw [D.scalar_eq_exp_potential_difference_of_surface_soliton hf hsol p x] at he nlinarith /-- A critical point on the lower side of the scalar threshold is a global minimum of the soliton potential. -/ theorem isMinOn_of_critical_scalar_le (D : LeviCivitaData g) {f : M β†’ ℝ} {lambda : ℝ} (hlambda : 0 < lambda) (hf : ContMDiff (𝓑 2) π“˜(ℝ, ℝ) 2 f) (hsol : βˆ€ x, βˆ€ v w : TangentSpace (𝓑 2) x, D.ricci x v w + D.hessian f x v w = lambda * g.inner x v w) {p : M} (hp : D.gradient f p = 0) (hR : 0 ≀ D.scalarCurvature p) (hbound : D.scalarCurvature p ≀ 2 * lambda) : IsMinOn f univ p := by let : Bundle.RiemannianBundle (TangentSpace (𝓑 2) : M β†’ Type _) := ⟨g.toRiemannianMetric⟩ intro x _ have he := D.gradient_normSq_eq_at_critical_point hf hsol hp x have hnorm : 0 ≀ g.inner x (D.gradient f x) (D.gradient f x) := by change 0 ≀ inner ℝ (D.gradient f x) (D.gradient f x) exact real_inner_self_nonneg by_contra h have hneg : f x - f p < 0 := sub_neg.mpr (lt_of_not_ge h) rcases eq_or_lt_of_le hR with hz | hpos Β· rw [← hz] at he have hm := mul_neg_of_pos_of_neg (show 0 < 2 * lambda by positivity) hneg nlinarith Β· have hexp := mul_lt_mul_of_pos_left (Real.add_one_lt_exp hneg.ne) hpos have hsign := mul_nonpos_of_nonneg_of_nonpos (sub_nonneg.mpr hbound) hneg.le nlinarith /-- A critical point on the upper side of the scalar threshold is a global maximum of the soliton potential. -/ theorem isMaxOn_of_critical_scalar_ge (D : LeviCivitaData g) {f : M β†’ ℝ} {lambda : ℝ} (hlambda : 0 < lambda) (hf : ContMDiff (𝓑 2) π“˜(ℝ, ℝ) 2 f) (hsol : βˆ€ x, βˆ€ v w : TangentSpace (𝓑 2) x, D.ricci x v w + D.hessian f x v w = lambda * g.inner x v w) {p : M} (hp : D.gradient f p = 0) (hbound : 2 * lambda ≀ D.scalarCurvature p) : IsMaxOn f univ p := by let : Bundle.RiemannianBundle (TangentSpace (𝓑 2) : M β†’ Type _) := ⟨g.toRiemannianMetric⟩ intro x _ have he := D.gradient_normSq_eq_at_critical_point hf hsol hp x have hnorm : 0 ≀ g.inner x (D.gradient f x) (D.gradient f x) := by change 0 ≀ inner ℝ (D.gradient f x) (D.gradient f x) exact real_inner_self_nonneg by_contra h have hpos : 0 < f x - f p := sub_pos.mpr (lt_of_not_ge h) have hR : 0 < D.scalarCurvature p := (by positivity : 0 < 2 * lambda).trans_le hbound have hexp := mul_lt_mul_of_pos_left (Real.add_one_lt_exp hpos.ne') hR have hsign := mul_nonpos_of_nonpos_of_nonneg (sub_nonpos.mpr hbound) hpos.le nlinarith /-- Every critical point on a nonnegatively curved shrinking surface is a global extremum. -/ theorem isMinOn_or_isMaxOn_of_critical_point (D : LeviCivitaData g) {f : M β†’ ℝ} {lambda : ℝ} (hlambda : 0 < lambda) (hf : ContMDiff (𝓑 2) π“˜(ℝ, ℝ) 2 f) (hsol : βˆ€ x, βˆ€ v w : TangentSpace (𝓑 2) x, D.ricci x v w + D.hessian f x v w = lambda * g.inner x v w) {p : M} (hp : D.gradient f p = 0) (hR : 0 ≀ D.scalarCurvature p) : IsMinOn f univ p ∨ IsMaxOn f univ p := by rcases le_total (D.scalarCurvature p) (2 * lambda) with h | h Β· exact Or.inl (D.isMinOn_of_critical_scalar_le hlambda hf hsol hp hR h) Β· exact Or.inr (D.isMaxOn_of_critical_scalar_ge hlambda hf hsol hp h) end PoincareMT.LeviCivitaData