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.RicciFlow.Surgery.Singular.Geometry |
| 2 | import PoincareLib.Geometry.RicciFlow.Harnack.Regularity |
| 3 | import PoincareLib.Geometry.Riemannian.Curvature.LocalIsometryInvariants |
| 4 | import PoincareLib.Geometry.Riemannian.Surface.Regularity |
| 5 | |
| 6 | /-! |
| 7 | # Analytic estimates at the terminal slice |
| 8 | |
| 9 | The old-time estimates pass through the actual isometric slice maps. Smooth |
| 10 | flow boxes then retain their closed bounds at both endpoints at the strict |
| 11 | scalar threshold. This supplies the analytic transport used in |
| 12 | Morgan--Tian, Claim 11.32, pp. 287--288. |
| 13 | -/ |
| 14 | |
| 15 | set_option autoImplicit false |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | |
| 18 | open Set Filter |
| 19 | open scoped Manifold ContDiff Bundle Topology |
| 20 | |
| 21 | universe u |
| 22 | |
| 23 | namespace PoincareMT.DeepHorn |
| 24 | |
| 25 | private theorem scalarDifferential_pullback |
| 26 | {n : ℕ} {X Y : Type u} [TopologicalSpace X] [TopologicalSpace Y] |
| 27 | [ChartedSpace (EuclideanSpace ℝ (Fin n)) X] |
| 28 | [ChartedSpace (EuclideanSpace ℝ (Fin n)) Y] |
| 29 | [IsManifold (𝓡 n) ∞ X] [IsManifold (𝓡 n) ∞ Y] |
| 30 | {g : RiemannianMetric n X} {g' : RiemannianMetric n Y} |
| 31 | (D : LeviCivitaData g) (D' : LeviCivitaData g') |
| 32 | (f : X → Y) (hf : ContMDiff (𝓡 n) (𝓡 n) ∞ f) |
| 33 | (hscalar : ∀ x, D'.scalarCurvature (f x) = D.scalarCurvature x) |
| 34 | (x : X) (v : TangentSpace (𝓡 n) x) : |
| 35 | mvfderiv (𝓡 n) D'.scalarCurvature (f x) (mfderiv (𝓡 n) (𝓡 n) f x v) = |
| 36 | mvfderiv (𝓡 n) D.scalarCurvature x v := by |
| 37 | have heq : D'.scalarCurvature ∘ f = D.scalarCurvature := funext hscalar |
| 38 | have h := mvfderiv_comp_apply x |
| 39 | (D'.contMDiff_scalarCurvature.mdifferentiable (by simp) (f x)) |
| 40 | (hf.mdifferentiable (by simp) x) v |
| 41 | rw [heq] at h |
| 42 | exact h.symm |
| 43 | |
| 44 | private theorem unit_bound_to_tangent_bound |
| 45 | {n : ℕ} {X : Type u} [TopologicalSpace X] |
| 46 | [ChartedSpace (EuclideanSpace ℝ (Fin n)) X] |
| 47 | [IsManifold (𝓡 n) ∞ X] |
| 48 | (g : RiemannianMetric n X) (f : X → ℝ) (x : X) (B : ℝ) |
| 49 | (hunit : ∀ v : TangentSpace (𝓡 n) x, g.inner x v v = 1 → |
| 50 | |mvfderiv (𝓡 n) f x v| ≤ B) |
| 51 | (v : TangentSpace (𝓡 n) x) : |
| 52 | |mvfderiv (𝓡 n) f x v| ≤ B * Real.sqrt (g.inner x v v) := by |
| 53 | by_cases hv : v = 0 |
| 54 | · subst v |
| 55 | simp [mvfderiv] |
| 56 | have hpos : 0 < g.inner x v v := g.pos x v hv |
| 57 | have hs : 0 < Real.sqrt (g.inner x v v) := Real.sqrt_pos.mpr hpos |
| 58 | have hn : g.inner x ((Real.sqrt (g.inner x v v))⁻¹ • v) |
| 59 | ((Real.sqrt (g.inner x v v))⁻¹ • v) = 1 := by |
| 60 | simp only [map_smul, smul_apply, smul_eq_mul] |
| 61 | field_simp |
| 62 | nlinarith [Real.sq_sqrt hpos.le] |
| 63 | have h := hunit ((Real.sqrt (g.inner x v v))⁻¹ • v) hn |
| 64 | simp only [mvfderiv, map_smul, smul_eq_mul, abs_mul, |
| 65 | abs_inv, abs_of_pos hs] at h |
| 66 | simpa only [mvfderiv, mul_comm] using (inv_mul_le_iff₀ hs).mp h |
| 67 | |
| 68 | variable {F : GeneralizedRicciFlowData.{u}} {T : ℝ} |
| 69 | {M : Type u} [TopologicalSpace M] |
| 70 | [ChartedSpace (EuclideanSpace ℝ (Fin 3)) M] |
| 71 | [IsManifold (𝓡 3) ∞ M] [MeasurableSpace M] [BorelSpace M] |
| 72 | [T2Space M] [T3Space M] [SecondCountableTopology M] |
| 73 | |
| 74 | /-- Isometric old-slice identifications preserve the scalar-gradient estimate. -/ |
| 75 | theorem extension_scalar_gradient_bound |
| 76 | (H : SingularTimeAssumptions F T M) (E : GeneralizedFlowExtension F T) |
| 77 | (t : ℝ) (ht : t ∈ F.interval) (x : (E.extended.slice t).carrier) |
| 78 | (hx : H.r₀⁻¹ ^ 2 ≤ (E.extended.connection t).scalarCurvature x) |
| 79 | (v : TangentSpace (𝓡 3) x) (hv : (E.extended.metric t).inner x v v = 1) : |
| 80 | |mvfderiv (𝓡 3) (E.extended.connection t).scalarCurvature x v| ≤ |
| 81 | H.analytic_constant * (E.extended.connection t).scalarCurvature x ^ (3 / 2 : ℝ) := by |
| 82 | obtain ⟨y, rfl⟩ := (E.right_inverse t ht).surjective x |
| 83 | obtain ⟨w, rfl⟩ := ((F.metric t).mfderiv_bijective_of_pullback_eq |
| 84 | (E.extended.metric t) y (E.metric_pullback t ht y)).2 v |
| 85 | rw [scalarDifferential_pullback (F.connection t) (E.extended.connection t) |
| 86 | (E.forward t ht) (E.forward_smooth t ht) (E.scalar_pullback t ht)] |
| 87 | rw [E.scalar_pullback] at hx ⊢ |
| 88 | rw [E.metric_pullback] at hv |
| 89 | exact H.scalar_gradient_bound t ht y hx w hv |
| 90 | |
| 91 | private theorem box_scalar_pullback (G : GeneralizedRicciFlowData.{u}) |
| 92 | (b : G.box_index) (t : ℝ) (ht : t ∈ (G.box b).interval) |
| 93 | (x : (G.box b).carrier.carrier) : |
| 94 | (G.connection t).scalarCurvature ((G.box b).forward t ht x) = |
| 95 | ((G.box b).flow.connection t).scalarCurvature x := by |
| 96 | exact (((G.box b).flow.connection t).scalarCurvature_eq_of_local_isometry |
| 97 | (G.connection t) isOpen_univ ((G.box b).forward_smooth t ht).contMDiffOn |
| 98 | (fun y _ v w => ((G.box b).metric_pullback t ht y v w).symm) (mem_univ x)).symm |
| 99 | |
| 100 | /-- The same old-time estimate holds on each actual box of the extension. -/ |
| 101 | theorem extension_box_scalar_gradient_bound |
| 102 | (H : SingularTimeAssumptions F T M) (E : GeneralizedFlowExtension F T) |
| 103 | (b : E.extended.box_index) (t : ℝ) (ht : t ∈ F.interval) |
| 104 | (hb : t ∈ (E.extended.box b).interval) |
| 105 | (x : (E.extended.box b).carrier.carrier) |
| 106 | (hx : H.r₀⁻¹ ^ 2 ≤ ((E.extended.box b).flow.connection t).scalarCurvature x) |
| 107 | (v : TangentSpace (𝓡 3) x) : |
| 108 | |mvfderiv (𝓡 3) ((E.extended.box b).flow.connection t).scalarCurvature x v| ≤ |
| 109 | H.analytic_constant * ((E.extended.box b).flow.connection t).scalarCurvature x ^ |
| 110 | (3 / 2 : ℝ) * Real.sqrt (((E.extended.box b).flow.metric t).inner x v v) := by |
| 111 | apply unit_bound_to_tangent_bound |
| 112 | intro w hw |
| 113 | have h := extension_scalar_gradient_bound H E t ht |
| 114 | ((E.extended.box b).forward t hb x) |
| 115 | (by simpa only [box_scalar_pullback] using hx) |
| 116 | (mfderiv (𝓡 3) (𝓡 3) ((E.extended.box b).forward t hb) x w) |
| 117 | (by rwa [(E.extended.box b).metric_pullback]) |
| 118 | rwa [box_scalar_pullback, |
| 119 | scalarDifferential_pullback ((E.extended.box b).flow.connection t) |
| 120 | (E.extended.connection t) ((E.extended.box b).forward t hb) |
| 121 | ((E.extended.box b).forward_smooth t hb) (box_scalar_pullback E.extended b t hb)] at h |
| 122 | |
| 123 | private theorem terminal_box_eventually |
| 124 | (H : SingularTimeAssumptions F T M) (E : GeneralizedFlowExtension F T) |
| 125 | (b : E.extended.box_index) (hT : T ∈ (E.extended.box b).interval) : |
| 126 | ∀ᶠ t in 𝓝[<] T, t ∈ F.interval ∧ t ∈ (E.extended.box b).interval := by |
| 127 | have hpos : 0 < T := lt_of_le_of_lt |
| 128 | (H.interval_nonnegative H.reference.tMinus_mem) H.reference.tMinus_lt |
| 129 | obtain ⟨U, hU, heq⟩ := (E.extended.box b).relatively_open |
| 130 | have hTU : T ∈ U := (heq ▸ hT).2 |
| 131 | filter_upwards [self_mem_nhdsWithin, |
| 132 | nhdsWithin_le_nhds (Ioi_mem_nhds hpos), |
| 133 | nhdsWithin_le_nhds (hU.mem_nhds hTU)] with t ht ht0 htU |
| 134 | have htF : t ∈ F.interval := H.interval_exhausts_preterminal ⟨ht0.le, ht⟩ |
| 135 | exact ⟨htF, heq ▸ ⟨E.old_times htF, htU⟩⟩ |
| 136 | |
| 137 | /-- The terminal box retains the gradient bound with the original coefficient. -/ |
| 138 | theorem terminal_box_scalar_gradient_bound |
| 139 | (hM04 : RicciFlowCurvatureCalculus.{u}) |
| 140 | (H : SingularTimeAssumptions F T M) (E : GeneralizedFlowExtension F T) |
| 141 | (b : E.extended.box_index) (hT : T ∈ (E.extended.box b).interval) |
| 142 | (x : (E.extended.box b).carrier.carrier) |
| 143 | (hx : H.r₀⁻¹ ^ 2 < ((E.extended.box b).flow.connection T).scalarCurvature x) |
| 144 | (v : TangentSpace (𝓡 3) x) : |
| 145 | |mvfderiv (𝓡 3) ((E.extended.box b).flow.connection T).scalarCurvature x v| ≤ |
| 146 | H.analytic_constant * ((E.extended.box b).flow.connection T).scalarCurvature x ^ |
| 147 | (3 / 2 : ℝ) * Real.sqrt (((E.extended.box b).flow.metric T).inner x v v) := by |
| 148 | have hevent := terminal_box_eventually H E b hT |
| 149 | have hfilter : 𝓝[<] T ≤ 𝓝[(E.extended.box b).interval] T := |
| 150 | nhdsWithin_le_iff.mpr (hevent.mono fun _ ht => ht.2) |
| 151 | have hscalar := (Poincare.Geometry.RicciFlow.Harnack.scalarCurvature_continuousOn_time |
| 152 | hM04 _ (E.extended.box b).flow x T hT).tendsto.mono_left hfilter |
| 153 | have hdifferential := |
| 154 | (Poincare.Geometry.RicciFlow.Harnack.scalarCurvature_mvfderiv_continuousOn_time |
| 155 | hM04 _ (E.extended.box b).flow x v T hT).tendsto.mono_left hfilter |
| 156 | have hmetric := (Poincare.Geometry.RicciFlow.Harnack.metric_inner_contDiffOn_time |
| 157 | (E.extended.box b).flow x v v).continuousOn T hT |
| 158 | have hupper := (hscalar.rpow_const (Or.inr (by positivity : (0 : ℝ) ≤ 3 / 2))).const_mul |
| 159 | H.analytic_constant |
| 160 | apply le_of_tendsto_of_tendsto hdifferential.abs |
| 161 | (hupper.mul (hmetric.tendsto.mono_left hfilter).sqrt) |
| 162 | filter_upwards [hevent, hscalar.eventually (Ioi_mem_nhds hx)] with t ht htx |
| 163 | exact extension_box_scalar_gradient_bound H E b t ht.1 ht.2 x htx.le v |
| 164 | |
| 165 | /-- Unit scalar-gradient estimates hold on the actual terminal slice above |
| 166 | the strict canonical threshold, with no change in the analytic constant. -/ |
| 167 | theorem terminal_scalar_gradient_bound |
| 168 | (hM04 : RicciFlowCurvatureCalculus.{u}) |
| 169 | (H : SingularTimeAssumptions F T M) (E : GeneralizedFlowExtension F T) |
| 170 | (x : (E.extended.slice T).carrier) |
| 171 | (hx : H.r₀⁻¹ ^ 2 < (E.extended.connection T).scalarCurvature x) |
| 172 | (v : TangentSpace (𝓡 3) x) (hv : (E.extended.metric T).inner x v v = 1) : |
| 173 | |mvfderiv (𝓡 3) (E.extended.connection T).scalarCurvature x v| ≤ |
| 174 | H.analytic_constant * (E.extended.connection T).scalarCurvature x ^ (3 / 2 : ℝ) := by |
| 175 | obtain ⟨b, hT, y, rfl⟩ := E.extended.box_covers T x |
| 176 | obtain ⟨w, rfl⟩ := (((E.extended.box b).flow.metric T).mfderiv_bijective_of_pullback_eq |
| 177 | (E.extended.metric T) y ((E.extended.box b).metric_pullback T hT y)).2 v |
| 178 | rw [scalarDifferential_pullback ((E.extended.box b).flow.connection T) |
| 179 | (E.extended.connection T) ((E.extended.box b).forward T hT) |
| 180 | ((E.extended.box b).forward_smooth T hT) (box_scalar_pullback E.extended b T hT)] |
| 181 | rw [box_scalar_pullback] at hx ⊢ |
| 182 | rw [(E.extended.box b).metric_pullback] at hv |
| 183 | have h := terminal_box_scalar_gradient_bound hM04 H E b hT y hx w |
| 184 | simpa only [hv, Real.sqrt_one, mul_one] using h |
| 185 | |
| 186 | private theorem old_interval_mem_nhds |
| 187 | (H : SingularTimeAssumptions F T M) {t : ℝ} (ht : t ∈ Ioo 0 T) : |
| 188 | F.interval ∈ 𝓝 t := |
| 189 | mem_of_superset (Ioo_mem_nhds ht.1 ht.2) |
| 190 | (fun _ hs => H.interval_exhausts_preterminal ⟨hs.1.le, hs.2⟩) |
| 191 | |
| 192 | private theorem box_interval_mem_nhds |
| 193 | (G : GeneralizedRicciFlowData.{u}) (b : G.box_index) {t : ℝ} |
| 194 | (ht : t ∈ (G.box b).interval) (hI : G.interval ∈ 𝓝 t) : |
| 195 | (G.box b).interval ∈ 𝓝 t := by |
| 196 | obtain ⟨U, hU, heq⟩ := (G.box b).relatively_open |
| 197 | rw [heq] at ht ⊢ |
| 198 | exact inter_mem hI (hU.mem_nhds ht.2) |
| 199 | |
| 200 | private theorem box_time_mem (G : GeneralizedRicciFlowData.{u}) |
| 201 | (b : G.box_index) {t : ℝ} (ht : t ∈ (G.box b).interval) : t ∈ G.interval := by |
| 202 | obtain ⟨U, _, heq⟩ := (G.box b).relatively_open |
| 203 | exact (heq ▸ ht).1 |
| 204 | |
| 205 | /-- Interior old-time scalar evolution in every box of the extension has |
| 206 | the supplied absolute bound. The two box clocks are identified literally. -/ |
| 207 | theorem extension_box_scalar_evolution_bound |
| 208 | (hM04 : RicciFlowCurvatureCalculus.{u}) |
| 209 | (H : SingularTimeAssumptions F T M) (E : GeneralizedFlowExtension F T) |
| 210 | (b : E.extended.box_index) {t : ℝ} (ht : t ∈ Ioo 0 T) |
| 211 | (hb : t ∈ (E.extended.box b).interval) |
| 212 | (x : (E.extended.box b).carrier.carrier) |
| 213 | (hx : H.r₀⁻¹ ^ 2 ≤ ((E.extended.box b).flow.connection t).scalarCurvature x) : |
| 214 | |((E.extended.box b).flow.connection t).laplacian |
| 215 | ((E.extended.box b).flow.connection t).scalarCurvature x + |
| 216 | 2 * ((E.extended.box b).flow.connection t).ricciNormSq x| ≤ |
| 217 | H.analytic_constant * ((E.extended.box b).flow.connection t).scalarCurvature x ^ 2 := by |
| 218 | have htF : t ∈ F.interval := H.interval_exhausts_preterminal ⟨ht.1.le, ht.2⟩ |
| 219 | obtain ⟨a, ha, y, hay⟩ := F.box_covers t |
| 220 | (E.inverse t htF ((E.extended.box b).forward t hb x)) |
| 221 | obtain ⟨c, z, δ, hδ, hcompat⟩ := E.vertical_compatibility a t ha y |
| 222 | obtain ⟨hc, hc_eq⟩ := hcompat t ha (by simpa using hδ) |
| 223 | rw [E.spacetime_slices t htF, hay, E.right_inverse] at hc_eq |
| 224 | have hbc : (E.extended.box b).forward t hb x = |
| 225 | (E.extended.box c).forward t hc z := eq_of_heq (Sigma.mk.inj hc_eq).2 |
| 226 | have hFn := old_interval_mem_nhds H ht |
| 227 | have haN := box_interval_mem_nhds F a ha hFn |
| 228 | have hbN := box_interval_mem_nhds E.extended b hb |
| 229 | (mem_of_superset hFn E.old_times) |
| 230 | have heq : (fun s => ((E.extended.box b).flow.connection s).scalarCurvature x) =ᶠ[𝓝 t] |
| 231 | (fun s => ((F.box a).flow.connection s).scalarCurvature y) := by |
| 232 | filter_upwards [haN, hbN, Metric.ball_mem_nhds t hδ] with s hsa hsb hsδ |
| 233 | obtain ⟨hsc, hext⟩ := hcompat s hsa (by simpa only [Metric.mem_ball, Real.dist_eq] using hsδ) |
| 234 | have hsF := box_time_mem F a hsa |
| 235 | rw [E.spacetime_slices s hsF] at hext |
| 236 | have hext' := eq_of_heq (Sigma.mk.inj hext).2 |
| 237 | calc |
| 238 | _ = (E.extended.connection s).scalarCurvature ((E.extended.box b).forward s hsb x) := |
| 239 | (box_scalar_pullback E.extended b s hsb x).symm |
| 240 | _ = (E.extended.connection s).scalarCurvature ((E.extended.box c).forward s hsc z) := |
| 241 | congrArg _ (E.extended.vertical_compatibility b c t hb hc x z hbc s hsb hsc) |
| 242 | _ = (F.connection s).scalarCurvature ((F.box a).forward s hsa y) := by |
| 243 | rw [← hext', E.scalar_pullback] |
| 244 | _ = _ := box_scalar_pullback F a s hsa y |
| 245 | have heqt := heq.eq_of_nhds |
| 246 | obtain ⟨d, hd, hd_bound⟩ := H.scalar_time_derivative_bound a t ha y (heqt ▸ hx) |
| 247 | have hdb := (hd.hasDerivAt haN).congr_of_eventuallyEq heq |
| 248 | have hev := (hM04.scalar_evolution 3 _ _ (E.extended.box b).flow t hb x).hasDerivAt hbN |
| 249 | rw [hev.unique hdb, heqt] |
| 250 | exact hd_bound |
| 251 | |
| 252 | /-- Scalar evolution is continuous up to every endpoint of a flow box. -/ |
| 253 | private theorem scalarEvolution_continuousOn |
| 254 | (hM04 : RicciFlowCurvatureCalculus.{u}) |
| 255 | (G : GeneralizedRicciFlowData.{u}) (b : G.box_index) |
| 256 | (x : (G.box b).carrier.carrier) : |
| 257 | ContinuousOn (fun t => ((G.box b).flow.connection t).laplacian |
| 258 | ((G.box b).flow.connection t).scalarCurvature x + |
| 259 | 2 * ((G.box b).flow.connection t).ricciNormSq x) (G.box b).interval := by |
| 260 | have hJ : UniqueDiffOn ℝ (G.box b).interval := |
| 261 | uniqueDiffOn_convex (G.box b).flow.interval.convex |
| 262 | ((G.box b).flow.interval.convex.nontrivial_iff_nonempty_interior.mp |
| 263 | (G.box b).flow.nontrivial) |
| 264 | have h := (Poincare.Geometry.RicciFlow.Harnack.scalarCurvature_contDiffOn_time |
| 265 | hM04 _ (G.box b).flow x).continuousOn_derivWithin hJ (by simp) |
| 266 | apply h.congr |
| 267 | intro t ht |
| 268 | exact ((hM04.scalar_evolution 3 _ _ (G.box b).flow t ht x).derivWithin (hJ t ht)).symm |
| 269 | |
| 270 | /-- The actual terminal within-box scalar derivative has the original |
| 271 | absolute estimate above the strict scalar threshold. -/ |
| 272 | theorem terminal_scalar_time_derivative_bound |
| 273 | (hM04 : RicciFlowCurvatureCalculus.{u}) |
| 274 | (H : SingularTimeAssumptions F T M) (E : GeneralizedFlowExtension F T) |
| 275 | (b : E.extended.box_index) (hT : T ∈ (E.extended.box b).interval) |
| 276 | (x : (E.extended.box b).carrier.carrier) |
| 277 | (hx : H.r₀⁻¹ ^ 2 < ((E.extended.box b).flow.connection T).scalarCurvature x) : |
| 278 | ∃ d : ℝ, HasDerivWithinAt |
| 279 | (fun s => ((E.extended.box b).flow.connection s).scalarCurvature x) d |
| 280 | (E.extended.box b).interval T ∧ |
| 281 | |d| ≤ H.analytic_constant * ((E.extended.box b).flow.connection T).scalarCurvature x ^ 2 := by |
| 282 | refine ⟨_, hM04.scalar_evolution 3 _ _ (E.extended.box b).flow T hT x, ?_⟩ |
| 283 | have hevent := terminal_box_eventually H E b hT |
| 284 | have hfilter : 𝓝[<] T ≤ 𝓝[(E.extended.box b).interval] T := |
| 285 | nhdsWithin_le_iff.mpr (hevent.mono fun _ ht => ht.2) |
| 286 | have hscalar := (Poincare.Geometry.RicciFlow.Harnack.scalarCurvature_continuousOn_time |
| 287 | hM04 _ (E.extended.box b).flow x T hT).tendsto.mono_left hfilter |
| 288 | have hevolution := (scalarEvolution_continuousOn hM04 E.extended b x T hT).tendsto.mono_left hfilter |
| 289 | have hpos : 0 < T := lt_of_le_of_lt |
| 290 | (H.interval_nonnegative H.reference.tMinus_mem) H.reference.tMinus_lt |
| 291 | apply le_of_tendsto_of_tendsto hevolution.abs ((hscalar.pow 2).const_mul H.analytic_constant) |
| 292 | filter_upwards [hevent, self_mem_nhdsWithin, |
| 293 | nhdsWithin_le_nhds (Ioi_mem_nhds hpos), hscalar.eventually (Ioi_mem_nhds hx)] |
| 294 | with t ht htt ht0 htx |
| 295 | exact extension_box_scalar_evolution_bound hM04 H E b ⟨ht0, htt⟩ ht.2 x htx.le |
| 296 | |
| 297 | private theorem initial_box_eventually |
| 298 | (H : SingularTimeAssumptions F T M) (E : GeneralizedFlowExtension F T) |
| 299 | (b : E.extended.box_index) (hzero : 0 ∈ (E.extended.box b).interval) : |
| 300 | ∀ᶠ t in 𝓝[>] (0 : ℝ), t ∈ Ioo 0 T ∧ t ∈ (E.extended.box b).interval := by |
| 301 | have hpos : 0 < T := lt_of_le_of_lt |
| 302 | (H.interval_nonnegative H.reference.tMinus_mem) H.reference.tMinus_lt |
| 303 | obtain ⟨U, hU, heq⟩ := (E.extended.box b).relatively_open |
| 304 | have hzeroU : 0 ∈ U := (heq ▸ hzero).2 |
| 305 | filter_upwards [self_mem_nhdsWithin, |
| 306 | nhdsWithin_le_nhds (Iio_mem_nhds hpos), |
| 307 | nhdsWithin_le_nhds (hU.mem_nhds hzeroU)] with t ht0 htT htU |
| 308 | have htF : t ∈ F.interval := H.interval_exhausts_preterminal ⟨ht0.le, htT⟩ |
| 309 | exact ⟨⟨ht0, htT⟩, heq ▸ ⟨E.old_times htF, htU⟩⟩ |
| 310 | |
| 311 | /-- The derivative bound persists at the original initial time in every |
| 312 | box of the extension, by its right limit from positive old times. -/ |
| 313 | theorem initial_scalar_time_derivative_bound |
| 314 | (hM04 : RicciFlowCurvatureCalculus.{u}) |
| 315 | (H : SingularTimeAssumptions F T M) (E : GeneralizedFlowExtension F T) |
| 316 | (b : E.extended.box_index) (hzero : 0 ∈ (E.extended.box b).interval) |
| 317 | (x : (E.extended.box b).carrier.carrier) |
| 318 | (hx : H.r₀⁻¹ ^ 2 < ((E.extended.box b).flow.connection 0).scalarCurvature x) : |
| 319 | ∃ d : ℝ, HasDerivWithinAt |
| 320 | (fun s => ((E.extended.box b).flow.connection s).scalarCurvature x) d |
| 321 | (E.extended.box b).interval 0 ∧ |
| 322 | |d| ≤ H.analytic_constant * ((E.extended.box b).flow.connection 0).scalarCurvature x ^ 2 := by |
| 323 | refine ⟨_, hM04.scalar_evolution 3 _ _ (E.extended.box b).flow 0 hzero x, ?_⟩ |
| 324 | have hevent := initial_box_eventually H E b hzero |
| 325 | have hfilter : 𝓝[>] (0 : ℝ) ≤ 𝓝[(E.extended.box b).interval] 0 := |
| 326 | nhdsWithin_le_iff.mpr (hevent.mono fun _ ht => ht.2) |
| 327 | have hscalar := (Poincare.Geometry.RicciFlow.Harnack.scalarCurvature_continuousOn_time |
| 328 | hM04 _ (E.extended.box b).flow x 0 hzero).tendsto.mono_left hfilter |
| 329 | have hevolution := |
| 330 | (scalarEvolution_continuousOn hM04 E.extended b x 0 hzero).tendsto.mono_left hfilter |
| 331 | apply le_of_tendsto_of_tendsto hevolution.abs |
| 332 | ((hscalar.pow 2).const_mul H.analytic_constant) |
| 333 | filter_upwards [hevent, hscalar.eventually (Ioi_mem_nhds hx)] with t ht htx |
| 334 | exact extension_box_scalar_evolution_bound hM04 H E b ht.1 ht.2 x htx.le |
| 335 | |
| 336 | /-- All slices of the actual extension retain the same gradient constant |
| 337 | above the strict original scalar threshold. -/ |
| 338 | theorem extension_scalar_gradient_bound_of_strict |
| 339 | (hM04 : RicciFlowCurvatureCalculus.{u}) |
| 340 | (H : SingularTimeAssumptions F T M) (E : GeneralizedFlowExtension F T) |
| 341 | (t : ℝ) (ht : t ∈ E.extended.interval) (x : (E.extended.slice t).carrier) |
| 342 | (hx : H.r₀⁻¹ ^ 2 < (E.extended.connection t).scalarCurvature x) |
| 343 | (v : TangentSpace (𝓡 3) x) (hv : (E.extended.metric t).inner x v v = 1) : |
| 344 | |mvfderiv (𝓡 3) (E.extended.connection t).scalarCurvature x v| ≤ |
| 345 | H.analytic_constant * (E.extended.connection t).scalarCurvature x ^ (3 / 2 : ℝ) := by |
| 346 | rcases E.times_subset ht with htold | htT |
| 347 | · exact extension_scalar_gradient_bound H E t htold x hx.le v hv |
| 348 | · have htT' : t = T := mem_singleton_iff.mp htT |
| 349 | subst t |
| 350 | exact terminal_scalar_gradient_bound hM04 H E x hx v hv |
| 351 | |
| 352 | /-- At every time in every box, including zero and the terminal time, the |
| 353 | actual extension retains the supplied absolute scalar derivative bound. -/ |
| 354 | theorem extension_scalar_time_derivative_bound |
| 355 | (hM04 : RicciFlowCurvatureCalculus.{u}) |
| 356 | (H : SingularTimeAssumptions F T M) (E : GeneralizedFlowExtension F T) |
| 357 | (b : E.extended.box_index) (t : ℝ) (ht : t ∈ (E.extended.box b).interval) |
| 358 | (x : (E.extended.box b).carrier.carrier) |
| 359 | (hx : H.r₀⁻¹ ^ 2 < ((E.extended.box b).flow.connection t).scalarCurvature x) : |
| 360 | ∃ d : ℝ, HasDerivWithinAt |
| 361 | (fun s => ((E.extended.box b).flow.connection s).scalarCurvature x) d |
| 362 | (E.extended.box b).interval t ∧ |
| 363 | |d| ≤ H.analytic_constant * ((E.extended.box b).flow.connection t).scalarCurvature x ^ 2 := by |
| 364 | have htE : t ∈ E.extended.interval := box_time_mem E.extended b ht |
| 365 | rcases E.times_subset htE with htold | htT |
| 366 | · have htold' := H.interval_preterminal htold |
| 367 | by_cases htzero : t = 0 |
| 368 | · subst t |
| 369 | exact initial_scalar_time_derivative_bound hM04 H E b ht x hx |
| 370 | · have htpos : 0 < t := lt_of_le_of_ne htold'.1 (Ne.symm htzero) |
| 371 | exact ⟨_, hM04.scalar_evolution 3 _ _ (E.extended.box b).flow t ht x, |
| 372 | extension_box_scalar_evolution_bound hM04 H E b ⟨htpos, htold'.2⟩ ht x hx.le⟩ |
| 373 | · have htT' : t = T := mem_singleton_iff.mp htT |
| 374 | subst t |
| 375 | exact terminal_scalar_time_derivative_bound hM04 H E b ht x hx |
| 376 | |
| 377 | end PoincareMT.DeepHorn |