Poincaré conjecture: the Lean proof, cleaned up together
The 2026 Lean proof of the Poincaré conjecture after Morgan and Tian, 3 million lines, cleaned up together: smaller, faster to build, more readable, the theorems unchanged

| 1 | import PoincareLib.Geometry.Curvature.Operator.NormBounds |
| 2 | import PoincareLib.Geometry.RicciFlow.Harnack.Matrix.Positivity.Reaction |
| 3 | import PoincareLib.Geometry.RicciFlow.Harnack.Regularity |
| 4 | import PoincareLib.Geometry.RicciFlow.Harnack.Noncompact.SlabBounds |
| 5 | import PoincareLib.Analysis.Asymptotics.Harnack |
| 6 | import Mathlib.Analysis.Calculus.Deriv.MeanValue |
| 7 | |
| 8 | /-! |
| 9 | # Curvature control from scalar Harnack comparison |
| 10 | |
| 11 | Nonnegative curvature operator bounds the full curvature norm by a dimensional |
| 12 | multiple of scalar curvature. The scalar differential Harnack inequality then |
| 13 | transports a terminal-slice bound backwards, away from its initial time. |
| 14 | |
| 15 | These are the norm and terminal-continuation steps of the reviewed per-slice |
| 16 | argument, supporting Morgan--Tian, Theorem 4.37, p. 81, and the continuation |
| 17 | argument of Cho--Li, Lemma 5.5, manuscript p. 20. The bounded-slab Harnack |
| 18 | estimate and the initial uniform right-hand bound are separate inputs. |
| 19 | -/ |
| 20 | |
| 21 | set_option autoImplicit false |
| 22 | set_option backward.isDefEq.respectTransparency false |
| 23 | |
| 24 | open Set |
| 25 | open scoped Manifold ContDiff Bundle BigOperators |
| 26 | |
| 27 | universe u |
| 28 | |
| 29 | namespace PoincareMT.LeviCivitaData |
| 30 | |
| 31 | variable {n : ℕ} {M : Type u} [TopologicalSpace M] |
| 32 | [ChartedSpace (EuclideanSpace ℝ (Fin n)) M] [IsManifold (𝓡 n) ∞ M] |
| 33 | {g : RiemannianMetric n M} |
| 34 | |
| 35 | /-- The scalar trace is bounded by a dimensional multiple of the full |
| 36 | curvature norm. -/ |
| 37 | theorem abs_scalarCurvature_le_curvatureTensorNorm |
| 38 | (D : LeviCivitaData g) (x : M) : |
| 39 | |D.scalarCurvature x| ≤ (n : ℝ) ^ 2 * D.curvatureTensorNorm x := by |
| 40 | let b := g.orthonormalBasis x |
| 41 | let R := fun i j k l => D.curvatureTensor x (b i) (b j) (b k) (b l) |
| 42 | have hcomp (i j k l) : |R i j k l| ≤ D.curvatureTensorNorm x := by |
| 43 | apply Real.abs_le_sqrt |
| 44 | change (R i j k l) ^ 2 ≤ ∑ i, ∑ j, ∑ k, ∑ l, (R i j k l) ^ 2 |
| 45 | calc |
| 46 | (R i j k l) ^ 2 ≤ ∑ l, (R i j k l) ^ 2 := |
| 47 | Finset.single_le_sum (fun _ _ => sq_nonneg _) (Finset.mem_univ _) |
| 48 | _ ≤ ∑ k, ∑ l, (R i j k l) ^ 2 := |
| 49 | Finset.single_le_sum (f := fun k => ∑ l, (R i j k l) ^ 2) |
| 50 | (fun _ _ => by positivity) (Finset.mem_univ k) |
| 51 | _ ≤ ∑ j, ∑ k, ∑ l, (R i j k l) ^ 2 := |
| 52 | Finset.single_le_sum (f := fun j => ∑ k, ∑ l, (R i j k l) ^ 2) |
| 53 | (fun _ _ => by positivity) (Finset.mem_univ j) |
| 54 | _ ≤ ∑ i, ∑ j, ∑ k, ∑ l, (R i j k l) ^ 2 := |
| 55 | Finset.single_le_sum (f := fun i => ∑ j, ∑ k, ∑ l, (R i j k l) ^ 2) |
| 56 | (fun _ _ => by positivity) (Finset.mem_univ i) |
| 57 | have hdim : Module.finrank ℝ (TangentSpace (𝓡 n) x) = n := |
| 58 | finrank_euclideanSpace_fin |
| 59 | change |∑ i, ∑ j, R i j i j| ≤ _ |
| 60 | calc |
| 61 | _ ≤ ∑ i, |∑ j, R i j i j| := Finset.abs_sum_le_sum_abs _ _ |
| 62 | _ ≤ ∑ i, ∑ j, |R i j i j| := Finset.sum_le_sum (fun _ _ => |
| 63 | Finset.abs_sum_le_sum_abs _ _) |
| 64 | _ ≤ ∑ _i : Fin (Module.finrank ℝ (TangentSpace (𝓡 n) x)), |
| 65 | ∑ _j : Fin (Module.finrank ℝ (TangentSpace (𝓡 n) x)), |
| 66 | D.curvatureTensorNorm x := Finset.sum_le_sum (fun i _ => |
| 67 | Finset.sum_le_sum (fun j _ => hcomp i j i j)) |
| 68 | _ = _ := by simp [hdim, pow_two, mul_assoc] |
| 69 | |
| 70 | set_option maxHeartbeats 800000 in |
| 71 | /-- A nonnegative curvature operator is bounded by the scalar curvature in |
| 72 | the frozen ordered-pair normalization. -/ |
| 73 | theorem curvatureOperatorBound_scalarCurvature |
| 74 | (D : LeviCivitaData g) (hD : D.CurvatureTensorCalculus) (x : M) |
| 75 | (hoperator : D.NonnegativeCurvatureOperator x) : |
| 76 | 0 ≤ D.scalarCurvature x ∧ CurvatureOperatorBound D (D.scalarCurvature x) x := by |
| 77 | let I := Fin (Module.finrank ℝ (TangentSpace (𝓡 n) x)) |
| 78 | let b := g.orthonormalBasis x |
| 79 | let R := fun i j k l : I => D.curvatureTensor x (b i) (b j) (b k) (b l) |
| 80 | have hsym := hD.2.2.2.1 |
| 81 | have hlast : ∀ i j k l, R i j k l = -R i j l k := |
| 82 | fun i j k l => (hsym x (b i) (b j) (b k) (b l)).1 |
| 83 | have hpair : ∀ i j k l, R i j k l = R k l i j := |
| 84 | fun i j k l => (hsym x (b i) (b j) (b k) (b l)).2.1 |
| 85 | have hfirst : ∀ i j k l, R i j k l = -R j i k l := by |
| 86 | intro i j k l |
| 87 | rw [hpair i j k l, hlast k l i j, hpair k l j i] |
| 88 | have hquad (U : I → I → ℝ) : |
| 89 | 0 ≤ ∑ i, ∑ j, ∑ k, ∑ l, R i j k l * U i j * U k l := by |
| 90 | have h := hoperator (fun i j => (U i j - U j i) / 2) (by |
| 91 | unfold IsSkewCoefficient |
| 92 | intros |
| 93 | ring) |
| 94 | have heq := Poincare.RicciFlow.Harnack.hamiltonBlock_antisymmetrize R |
| 95 | (fun _ _ _ => 0) (fun _ _ => 0) U (fun _ => 0) |
| 96 | hfirst hlast (by intros; simp) |
| 97 | simp only [zero_mul, Finset.sum_const_zero, mul_zero, zero_add] at heq |
| 98 | rw [← heq] |
| 99 | simpa only [curvatureOperatorQuadratic, R, b, mul_comm, mul_left_comm, |
| 100 | mul_assoc] using h |
| 101 | have hpairquad (v : I × I → ℝ) : |
| 102 | 0 ≤ ∑ p, ∑ q, R p.1 p.2 q.1 q.2 * v p * v q := by |
| 103 | simpa only [Fintype.sum_prod_type] using hquad (fun i j => v (i, j)) |
| 104 | have htrace : (∑ p : I × I, R p.1 p.2 p.1 p.2) = D.scalarCurvature x := by |
| 105 | simp only [Fintype.sum_prod_type] |
| 106 | rfl |
| 107 | have hdiag (p : I × I) : 0 ≤ R p.1 p.2 p.1 p.2 := by |
| 108 | have h := hpairquad (Pi.single p 1) |
| 109 | simpa only [Pi.single_apply, mul_ite, ite_mul, mul_one, one_mul, mul_zero, |
| 110 | zero_mul, Finset.sum_ite_eq', Finset.mem_univ, if_true] using h |
| 111 | refine ⟨htrace ▸ Finset.sum_nonneg (fun p _ => hdiag p), ?_⟩ |
| 112 | intro U hU |
| 113 | have hbound := Poincare.LinearAlgebra.quadratic_le_trace_mul_sum_sq |
| 114 | (fun p q : I × I => R p.1 p.2 q.1 q.2) hpairquad |
| 115 | (fun p => U p.1 p.2) |
| 116 | rw [htrace] at hbound |
| 117 | rw [abs_of_nonneg (hoperator U hU)] |
| 118 | simpa only [Fintype.sum_prod_type, curvatureOperatorQuadratic, R, b, |
| 119 | mul_comm, mul_left_comm, mul_assoc] using hbound |
| 120 | |
| 121 | /-- Scalar control gives full-curvature control under nonnegative curvature |
| 122 | operator, with no uniform-in-time regularity premise. -/ |
| 123 | theorem curvatureTensorNorm_le_scalarCurvature |
| 124 | (D : LeviCivitaData g) (hD : D.CurvatureTensorCalculus) (x : M) |
| 125 | (hoperator : D.NonnegativeCurvatureOperator x) : |
| 126 | D.curvatureTensorNorm x ≤ (n : ℝ) ^ 2 * D.scalarCurvature x := by |
| 127 | obtain ⟨hscalar, hbound⟩ := D.curvatureOperatorBound_scalarCurvature hD x hoperator |
| 128 | exact D.curvatureTensorNorm_le_of_operator_bound x _ hscalar hbound hD |
| 129 | |
| 130 | end PoincareMT.LeviCivitaData |
| 131 | |
| 132 | namespace Poincare.RicciFlow.Harnack |
| 133 | |
| 134 | /-- Terminal-slice continuation for a nonnegative scalar family. Uniform |
| 135 | bounds immediately to the right and weighted monotonicity on bounded slabs |
| 136 | give a bound on a whole compact time interval. Continuity is only pointwise |
| 137 | in the spatial parameter. -/ |
| 138 | theorem exists_uniform_bound_of_local_right_bound_and_harnack |
| 139 | {X : Type*} (f : X → ℝ → ℝ) {a b : ℝ} (hab : a < b) |
| 140 | (hcontinuous : ∀ x, ContinuousOn (f x) (Icc a b)) |
| 141 | (hnonneg : ∀ t ∈ Icc a b, ∀ x, 0 ≤ f x t) |
| 142 | (hslice : ∀ t ∈ Icc a b, ∃ K : ℝ, ∀ x, f x t ≤ K) |
| 143 | (hright : ∀ c ∈ Ico a b, ∃ d ∈ Ioc c b, ∃ K : ℝ, |
| 144 | ∀ t ∈ Icc c d, ∀ x, f x t ≤ K) |
| 145 | (harnack : ∀ c ∈ Ioc a b, |
| 146 | (∃ K : ℝ, ∀ t ∈ Icc a c, ∀ x, f x t ≤ K) → |
| 147 | ∀ x, MonotoneOn (fun t => (t - a) * f x t) (Icc a c)) : |
| 148 | ∃ K : ℝ, ∀ t ∈ Icc a b, ∀ x, f x t ≤ K := by |
| 149 | obtain ⟨c₀, hc₀, K₀, hK₀⟩ := hright a ⟨le_rfl, hab⟩ |
| 150 | let S : Set ℝ := {c | c ∈ Icc a b ∧ |
| 151 | ∃ K : ℝ, ∀ t ∈ Icc a c, ∀ x, f x t ≤ K} |
| 152 | have hc₀S : c₀ ∈ S := ⟨⟨hc₀.1.le, hc₀.2⟩, K₀, hK₀⟩ |
| 153 | have hSne : S.Nonempty := ⟨c₀, hc₀S⟩ |
| 154 | have hSbdd : BddAbove S := ⟨b, fun c hc => hc.1.2⟩ |
| 155 | let bstar := sSup S |
| 156 | have hc₀star : c₀ ≤ bstar := le_csSup hSbdd hc₀S |
| 157 | have hastar : a < bstar := hc₀.1.trans_le hc₀star |
| 158 | have hstarb : bstar ≤ b := csSup_le hSne (fun c hc => hc.1.2) |
| 159 | have hterminal (x : X) {t : ℝ} (ht : t ∈ Ioc a bstar) : |
| 160 | (t - a) * f x t ≤ (bstar - a) * f x bstar := by |
| 161 | rcases ht.2.eq_or_lt with rfl | htb |
| 162 | · exact le_rfl |
| 163 | apply Poincare.Asymptotics.le_at_right_endpoint htb continuousWithinAt_const |
| 164 | (((continuousOn_id.sub continuousOn_const).mul |
| 165 | ((hcontinuous x).mono (Icc_subset_Icc ht.1.le hstarb))) bstar |
| 166 | ⟨htb.le, le_rfl⟩) |
| 167 | intro s hs |
| 168 | obtain ⟨c, hcS, hsc⟩ := (lt_csSup_iff hSbdd hSne).mp hs.2 |
| 169 | exact harnack c ⟨ht.1.trans (hs.1.trans hsc), hcS.1.2⟩ hcS.2 x |
| 170 | ⟨ht.1.le, hs.1.le.trans hsc.le⟩ ⟨ht.1.le.trans hs.1.le, hsc.le⟩ hs.1.le |
| 171 | obtain ⟨Kstar, hKstar⟩ := hslice bstar ⟨hastar.le, hstarb⟩ |
| 172 | have hfull : ∃ K : ℝ, ∀ t ∈ Icc a bstar, ∀ x, f x t ≤ K := by |
| 173 | refine ⟨max K₀ ((bstar - a) * Kstar / (c₀ - a)), ?_⟩ |
| 174 | intro t ht x |
| 175 | rcases le_total t c₀ with htc₀ | hc₀t |
| 176 | · exact (hK₀ t ⟨ht.1, htc₀⟩ x).trans (le_max_left _ _) |
| 177 | · apply le_trans _ (le_max_right _ _) |
| 178 | apply (le_div_iff₀ (sub_pos.mpr hc₀.1)).mpr |
| 179 | have hweight := mul_le_mul_of_nonneg_right (sub_le_sub_right hc₀t a) |
| 180 | (hnonneg t ⟨ht.1, ht.2.trans hstarb⟩ x) |
| 181 | have hmono := hterminal x ⟨hc₀.1.trans_le hc₀t, ht.2⟩ |
| 182 | have htop := mul_le_mul_of_nonneg_left (hKstar x) (sub_nonneg.mpr hastar.le) |
| 183 | nlinarith |
| 184 | have hstarS : bstar ∈ S := ⟨⟨hastar.le, hstarb⟩, hfull⟩ |
| 185 | have hstar_eq : bstar = b := by |
| 186 | apply le_antisymm hstarb |
| 187 | by_contra hnot |
| 188 | have hlt : bstar < b := lt_of_not_ge hnot |
| 189 | obtain ⟨d, hd, Kright, hKright⟩ := hright bstar ⟨hastar.le, hlt⟩ |
| 190 | obtain ⟨Kleft, hKleft⟩ := hfull |
| 191 | have hdS : d ∈ S := by |
| 192 | refine ⟨⟨hastar.le.trans hd.1.le, hd.2⟩, max Kleft Kright, ?_⟩ |
| 193 | intro t ht x |
| 194 | rcases le_total t bstar with hleft | hright |
| 195 | · exact (hKleft t ⟨ht.1, hleft⟩ x).trans (le_max_left _ _) |
| 196 | · exact (hKright t ⟨hright, ht.2⟩ x).trans (le_max_right _ _) |
| 197 | exact (not_lt_of_ge (le_csSup hSbdd hdS)) hd.1 |
| 198 | simpa only [hstar_eq] using hfull |
| 199 | |
| 200 | end Poincare.RicciFlow.Harnack |
| 201 | |
| 202 | namespace Poincare.RicciFlow.Harnack |
| 203 | |
| 204 | open PoincareMT |
| 205 | |
| 206 | variable {n : ℕ} {M : Type u} [TopologicalSpace M] |
| 207 | [ChartedSpace (EuclideanSpace ℝ (Fin n)) M] [IsManifold (𝓡 n) ∞ M] |
| 208 | {J : Set ℝ} |
| 209 | |
| 210 | /-- The vector-zero scalar Harnack inequality gives weighted monotonicity |
| 211 | up to an included terminal time by pointwise time regularity. -/ |
| 212 | theorem monotoneOn_time_mul_scalarCurvature_of_harnack |
| 213 | (hC : RicciFlowCurvatureTheory.{u}) (F : RicciFlow n M J) |
| 214 | {a b : ℝ} (hJ : Icc a b ⊆ J) (x : M) |
| 215 | (harnack : ∀ t ∈ Ioo a b, |
| 216 | 0 ≤ (F.connection t).laplacian (F.connection t).scalarCurvature x + |
| 217 | 2 * (F.connection t).ricciNormSq x + |
| 218 | (F.connection t).scalarCurvature x / (t - a)) : |
| 219 | MonotoneOn (fun t => (t - a) * (F.connection t).scalarCurvature x) (Icc a b) := by |
| 220 | apply monotoneOn_of_hasDerivWithinAt_nonneg (convex_Icc a b) |
| 221 | (f := fun t => (t - a) * (F.connection t).scalarCurvature x) |
| 222 | ((continuousOn_id.sub continuousOn_const).mul |
| 223 | ((Poincare.Geometry.RicciFlow.Harnack.scalarCurvature_continuousOn_time hC J F x).mono hJ)) |
| 224 | (f' := fun t => (F.connection t).scalarCurvature x + (t - a) * |
| 225 | ((F.connection t).laplacian (F.connection t).scalarCurvature x + |
| 226 | 2 * (F.connection t).ricciNormSq x)) |
| 227 | · intro t ht |
| 228 | rw [interior_Icc] at ht ⊢ |
| 229 | have hd := (hC.scalar_evolution n M J F t (hJ ⟨ht.1.le, ht.2.le⟩) x).mono |
| 230 | (Ioo_subset_Icc_self.trans hJ) |
| 231 | simpa only [one_mul, id_eq, Pi.mul_def, Pi.sub_def] using |
| 232 | ((hasDerivWithinAt_id t (Ioo a b)).sub_const a).mul hd |
| 233 | · intro t ht |
| 234 | rw [interior_Icc] at ht |
| 235 | have htpos : 0 < t - a := sub_pos.mpr ht.1 |
| 236 | have h := mul_nonneg htpos.le (harnack t ht) |
| 237 | rw [mul_add, mul_div_cancel₀ _ (ne_of_gt htpos)] at h |
| 238 | linarith |
| 239 | |
| 240 | /-- The terminal scalar bound controls full curvature at every earlier time |
| 241 | with a positive buffer from the Harnack initial time. -/ |
| 242 | theorem curvatureTensorNorm_le_of_terminal_scalar_bound |
| 243 | (hC : RicciFlowCurvatureTheory.{u}) (F : RicciFlow n M J) |
| 244 | {a b δ S : ℝ} (hJ : Icc a b ⊆ J) (hδ : 0 < δ) (x : M) |
| 245 | (hoperator : ∀ t ∈ Icc a b, (F.connection t).NonnegativeCurvatureOperator x) |
| 246 | (harnack : ∀ t ∈ Ioo a b, |
| 247 | 0 ≤ (F.connection t).laplacian (F.connection t).scalarCurvature x + |
| 248 | 2 * (F.connection t).ricciNormSq x + |
| 249 | (F.connection t).scalarCurvature x / (t - a)) |
| 250 | (hterminal : (F.connection b).scalarCurvature x ≤ S) |
| 251 | {t : ℝ} (ht : t ∈ Icc (a + δ) b) : |
| 252 | (F.connection t).curvatureTensorNorm x ≤ (n : ℝ) ^ 2 * ((b - a) * S / δ) := by |
| 253 | have hat : a ≤ t := by linarith [ht.1] |
| 254 | have hab : a ≤ b := hat.trans ht.2 |
| 255 | have hD := hC.tensor_calculus n M (F.metric t) (F.connection t) |
| 256 | have hnonneg := ((F.connection t).curvatureOperatorBound_scalarCurvature |
| 257 | hD x (hoperator t ⟨hat, ht.2⟩)).1 |
| 258 | have hmono := monotoneOn_time_mul_scalarCurvature_of_harnack hC F hJ x harnack |
| 259 | ⟨hat, ht.2⟩ ⟨hab, le_rfl⟩ ht.2 |
| 260 | have htop := mul_le_mul_of_nonneg_left hterminal (sub_nonneg.mpr hab) |
| 261 | have hweight := mul_le_mul_of_nonneg_right |
| 262 | (show δ ≤ t - a by linarith [ht.1]) hnonneg |
| 263 | have hscalar : (F.connection t).scalarCurvature x ≤ (b - a) * S / δ := by |
| 264 | apply (le_div_iff₀ hδ).mpr |
| 265 | nlinarith [hmono, htop, hweight] |
| 266 | exact ((F.connection t).curvatureTensorNorm_le_scalarCurvature hD x |
| 267 | (hoperator t ⟨hat, ht.2⟩)).trans |
| 268 | (mul_le_mul_of_nonneg_left hscalar (sq_nonneg _)) |
| 269 | |
| 270 | /-- An initial full-curvature bound and a terminal scalar bound close a |
| 271 | uniform bound on the whole interval once bounded-slab Harnack is available. -/ |
| 272 | theorem curvatureTensorNorm_bound_of_initial_and_terminal |
| 273 | (hC : RicciFlowCurvatureTheory.{u}) (F : RicciFlow n M J) |
| 274 | {a b δ K S : ℝ} (hJ : Icc a b ⊆ J) (hδ : 0 < δ) |
| 275 | (hoperator : ∀ t ∈ Icc a b, ∀ x : M, |
| 276 | (F.connection t).NonnegativeCurvatureOperator x) |
| 277 | (harnack : ∀ x : M, ∀ t ∈ Ioo a b, |
| 278 | 0 ≤ (F.connection t).laplacian (F.connection t).scalarCurvature x + |
| 279 | 2 * (F.connection t).ricciNormSq x + |
| 280 | (F.connection t).scalarCurvature x / (t - a)) |
| 281 | (hinitial : ∀ t ∈ Icc a (a + δ), ∀ x : M, |
| 282 | (F.connection t).curvatureTensorNorm x ≤ K) |
| 283 | (hterminal : ∀ x : M, (F.connection b).scalarCurvature x ≤ S) : |
| 284 | ∀ t ∈ Icc a b, ∀ x : M, (F.connection t).curvatureTensorNorm x ≤ |
| 285 | max K ((n : ℝ) ^ 2 * ((b - a) * S / δ)) := by |
| 286 | intro t ht x |
| 287 | rcases le_total t (a + δ) with hleft | hright |
| 288 | · exact (hinitial t ⟨ht.1, hleft⟩ x).trans (le_max_left _ _) |
| 289 | · exact (curvatureTensorNorm_le_of_terminal_scalar_bound hC F hJ hδ x |
| 290 | (fun s hs => hoperator s hs x) (harnack x) (hterminal x) |
| 291 | ⟨hright, ht.2⟩).trans (le_max_right _ _) |
| 292 | |
| 293 | /-- The terminal-slice continuation argument on a spatial subset, in |
| 294 | particular a component. Constants may depend on this subset. The initial |
| 295 | right-hand bound and bounded-slab Harnack are used in their precise regimes. -/ |
| 296 | theorem exists_uniform_curvatureTensorNorm_bound_on_set_of_local_right_bound_and_harnack |
| 297 | (hC : RicciFlowCurvatureTheory.{u}) (F : RicciFlow n M J) (C : Set M) |
| 298 | {a b : ℝ} (hab : a < b) (hJ : Icc a b ⊆ J) |
| 299 | (hoperator : ∀ t ∈ Icc a b, ∀ x ∈ C, |
| 300 | (F.connection t).NonnegativeCurvatureOperator x) |
| 301 | (hslice : ∀ t ∈ Icc a b, ∃ K : ℝ, 0 ≤ K ∧ |
| 302 | ∀ x ∈ C, LeviCivitaData.CurvatureOperatorBound (F.connection t) K x) |
| 303 | (hright : ∀ c ∈ Ico a b, ∃ d ∈ Ioc c b, ∃ K : ℝ, |
| 304 | ∀ t ∈ Icc c d, ∀ x ∈ C, (F.connection t).curvatureTensorNorm x ≤ K) |
| 305 | (harnack : ∀ c ∈ Ioc a b, |
| 306 | (∃ K : ℝ, ∀ t ∈ Icc a c, ∀ x ∈ C, |
| 307 | (F.connection t).curvatureTensorNorm x ≤ K) → |
| 308 | ∀ x ∈ C, ∀ t ∈ Ioo a c, |
| 309 | 0 ≤ (F.connection t).laplacian (F.connection t).scalarCurvature x + |
| 310 | 2 * (F.connection t).ricciNormSq x + |
| 311 | (F.connection t).scalarCurvature x / (t - a)) : |
| 312 | ∃ K : ℝ, 0 ≤ K ∧ ∀ t ∈ Icc a b, ∀ x ∈ C, |
| 313 | (F.connection t).curvatureTensorNorm x ≤ K := by |
| 314 | have hnorm_scalar (t : ℝ) (ht : t ∈ Icc a b) (x : M) (hx : x ∈ C) := |
| 315 | (F.connection t).curvatureTensorNorm_le_scalarCurvature |
| 316 | (hC.tensor_calculus n M (F.metric t) (F.connection t)) x (hoperator t ht x hx) |
| 317 | have hslice' : ∀ t ∈ Icc a b, ∃ K : ℝ, ∀ x : C, |
| 318 | (F.connection t).scalarCurvature x.val ≤ K := by |
| 319 | intro t ht |
| 320 | obtain ⟨K, hK, hbound⟩ := hslice t ht |
| 321 | refine ⟨(n : ℝ) ^ 2 * ((n : ℝ) ^ 2 * K), ?_⟩ |
| 322 | intro x |
| 323 | have hnorm := (F.connection t).curvatureTensorNorm_le_of_operator_bound |
| 324 | x.val K hK (hbound x.val x.property) |
| 325 | (hC.tensor_calculus n M (F.metric t) (F.connection t)) |
| 326 | exact (le_abs_self _).trans |
| 327 | (((F.connection t).abs_scalarCurvature_le_curvatureTensorNorm x.val).trans |
| 328 | (mul_le_mul_of_nonneg_left hnorm (sq_nonneg _))) |
| 329 | have hright' : ∀ c ∈ Ico a b, ∃ d ∈ Ioc c b, ∃ K : ℝ, |
| 330 | ∀ t ∈ Icc c d, ∀ x : C, (F.connection t).scalarCurvature x.val ≤ K := by |
| 331 | intro c hc |
| 332 | obtain ⟨d, hd, K, hK⟩ := hright c hc |
| 333 | refine ⟨d, hd, (n : ℝ) ^ 2 * K, ?_⟩ |
| 334 | intro t ht x |
| 335 | exact (le_abs_self _).trans |
| 336 | (((F.connection t).abs_scalarCurvature_le_curvatureTensorNorm x.val).trans |
| 337 | (mul_le_mul_of_nonneg_left (hK t ht x.val x.property) (sq_nonneg _))) |
| 338 | have harnack' : ∀ c ∈ Ioc a b, |
| 339 | (∃ K : ℝ, ∀ t ∈ Icc a c, ∀ x : C, (F.connection t).scalarCurvature x.val ≤ K) → |
| 340 | ∀ x : C, MonotoneOn (fun t => (t - a) * (F.connection t).scalarCurvature x.val) |
| 341 | (Icc a c) := by |
| 342 | intro c hc hbounded x |
| 343 | have hJc : Icc a c ⊆ J := (Icc_subset_Icc_right hc.2).trans hJ |
| 344 | apply monotoneOn_time_mul_scalarCurvature_of_harnack hC F hJc x.val |
| 345 | apply harnack c hc _ x.val x.property |
| 346 | obtain ⟨K, hK⟩ := hbounded |
| 347 | refine ⟨(n : ℝ) ^ 2 * K, ?_⟩ |
| 348 | intro t ht x hx |
| 349 | exact (hnorm_scalar t ⟨ht.1, ht.2.trans hc.2⟩ x hx).trans |
| 350 | (mul_le_mul_of_nonneg_left (hK t ht ⟨x, hx⟩) (sq_nonneg _)) |
| 351 | obtain ⟨S, hS⟩ := Poincare.RicciFlow.Harnack.exists_uniform_bound_of_local_right_bound_and_harnack |
| 352 | (fun (x : C) t => (F.connection t).scalarCurvature x.val) hab |
| 353 | (fun x => (Poincare.Geometry.RicciFlow.Harnack.scalarCurvature_continuousOn_time |
| 354 | hC J F x.val).mono hJ) |
| 355 | (fun t ht x => ((F.connection t).curvatureOperatorBound_scalarCurvature |
| 356 | (hC.tensor_calculus n M (F.metric t) (F.connection t)) x.val |
| 357 | (hoperator t ht x.val x.property)).1) |
| 358 | hslice' hright' harnack' |
| 359 | refine ⟨max 0 ((n : ℝ) ^ 2 * S), le_max_left _ _, ?_⟩ |
| 360 | intro t ht x hx |
| 361 | exact (hnorm_scalar t ht x hx).trans |
| 362 | ((mul_le_mul_of_nonneg_left (hS t ht ⟨x, hx⟩) (sq_nonneg _)).trans (le_max_right _ _)) |
| 363 | |
| 364 | /-- Componentwise Hamilton positivity supplies the bounded-slab Harnack input |
| 365 | to terminal continuation. The geometric local right-hand bound remains explicit. -/ |
| 366 | theorem exists_uniform_curvatureTensorNorm_bound_component_of_local_right_bound |
| 367 | [T3Space M] [SecondCountableTopology M] |
| 368 | (hC : RicciFlowCurvatureTheory.{u}) {T₀ T₁ : ℝ} |
| 369 | (F : RicciFlow n M (Ioo T₀ T₁)) (O : M) |
| 370 | (S : RicciFlow.SmoothExhaustion F O) |
| 371 | {a b : ℝ} (hab : a < b) (hJ : Icc a b ⊆ Ioo T₀ T₁) |
| 372 | (hcomplete : MetricComplete (F.metric a)) |
| 373 | (hcurv : ∀ t ∈ Icc a b, ∀ x, (F.metric a).edist O x ≠ ⊤ → |
| 374 | (F.connection t).NonnegativeCurvatureOperator x) |
| 375 | (hslice : ∀ t ∈ Icc a b, ∃ K : ℝ, 0 ≤ K ∧ |
| 376 | ∀ x, (F.metric a).edist O x ≠ ⊤ → |
| 377 | LeviCivitaData.CurvatureOperatorBound (F.connection t) K x) |
| 378 | (hright : ∀ c ∈ Ico a b, ∃ d ∈ Ioc c b, ∃ K : ℝ, |
| 379 | ∀ t ∈ Icc c d, ∀ x, (F.metric a).edist O x ≠ ⊤ → |
| 380 | (F.connection t).curvatureTensorNorm x ≤ K) : |
| 381 | ∃ K : ℝ, 0 ≤ K ∧ ∀ t ∈ Icc a b, ∀ x, |
| 382 | (F.metric a).edist O x ≠ ⊤ → (F.connection t).curvatureTensorNorm x ≤ K := by |
| 383 | apply exists_uniform_curvatureTensorNorm_bound_on_set_of_local_right_bound_and_harnack |
| 384 | hC F {x | (F.metric a).edist O x ≠ ⊤} hab hJ hcurv hslice hright |
| 385 | intro c hc hbounded x hx t ht |
| 386 | obtain ⟨K, hK⟩ := hbounded |
| 387 | exact scalar_harnack_on_bounded_slab_component_of_smoothExhaustion hC F O S |
| 388 | hc.1 ((Icc_subset_Icc_right hc.2).trans hJ) hcomplete hK |
| 389 | (fun s hs => hcurv s ⟨hs.1, hs.2.trans hc.2⟩) t ⟨ht.1, ht.2.le⟩ x hx |
| 390 | |
| 391 | end Poincare.RicciFlow.Harnack |