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.Curvature.Calculus |
| 2 | import PoincareLib.Geometry.RicciFlow.Harnack.Noncompact.AncientVolume.Splitting.SelectedEndpoints |
| 3 | import PoincareLib.Geometry.RicciFlow.Harnack.Noncompact.AncientVolume.Splitting.SmallSelectedLine |
| 4 | import PoincareLib.Geometry.RicciFlow.Harnack.Noncompact.AncientVolume.ScalarRatio.Cone.MetricComparison |
| 5 | import PoincareLib.Geometry.Curvature.Operator.SectionalBounds |
| 6 | import PoincareLib.Geometry.Riemannian.Comparison.Toponogov |
| 7 | import PoincareLib.Geometry.Riemannian.Comparison.Volume.Polar.NoBranching |
| 8 | |
| 9 | /-! |
| 10 | # Intrinsic comparison for selected endpoints |
| 11 | |
| 12 | The published Toponogov theorem applies to the actual minimizing geodesics. |
| 13 | Constant reparameterization identifies their unit initial tangent vectors |
| 14 | with the normalized coordinate derivatives retained by spatial selection. |
| 15 | |
| 16 | References: Morgan--Tian, Theorem 2.4, p. 23, and Theorem 5.35, |
| 17 | pp. 100--102; Kleiner--Lott (corrected 2013), Proposition 41.13, p. 2678. |
| 18 | -/ |
| 19 | |
| 20 | noncomputable section |
| 21 | set_option autoImplicit false |
| 22 | set_option backward.isDefEq.respectTransparency false |
| 23 | |
| 24 | open Set Filter |
| 25 | open scoped Manifold ContDiff Topology Bundle ENNReal |
| 26 | |
| 27 | universe u |
| 28 | |
| 29 | namespace PoincareMT.RiemannianMetric |
| 30 | |
| 31 | variable {n : ℕ} {M : Type*} [TopologicalSpace M] [T3Space M] [ConnectedSpace M] |
| 32 | [ChartedSpace (EuclideanSpace ℝ (Fin n)) M] [IsManifold (𝓡 n) ∞ M] |
| 33 | |
| 34 | omit [T3Space M] [ConnectedSpace M] in |
| 35 | private theorem initial_velocity_eq_of_chart_deriv |
| 36 | {g : RiemannianMetric n M} {γ : ℝ → M} {I : Set ℝ} |
| 37 | (hγ : g.IsGeodesicOn γ I) (h0 : (0 : ℝ) ∈ I) |
| 38 | {p : M} (hp : γ 0 = p) {v : EuclideanSpace ℝ (Fin n)} |
| 39 | (hd : HasDerivAt (fun t => extChartAt (𝓡 n) p (γ t)) v 0) : |
| 40 | mfderiv 𝓘(ℝ, ℝ) (𝓡 n) γ 0 1 = v := by |
| 41 | have hc : MDifferentiableAt (𝓡 n) (𝓡 n) (extChartAt (𝓡 n) p) (γ 0) := by |
| 42 | rw [hp] |
| 43 | exact mdifferentiableAt_extChartAt (mem_chart_source _ p) |
| 44 | have hchain := mfderiv_comp 0 hc ((hγ.contMDiffAt h0).mdifferentiableAt (by simp)) |
| 45 | rw [mfderiv_eq_fderiv] at hchain |
| 46 | have hv := congrArg (fun L => L (1 : ℝ)) hchain |
| 47 | change (fderiv ℝ (fun t => extChartAt (𝓡 n) p (γ t)) 0) 1 = |
| 48 | mfderiv (𝓡 n) (𝓡 n) (extChartAt (𝓡 n) p) (γ 0) |
| 49 | (mfderiv 𝓘(ℝ, ℝ) (𝓡 n) γ 0 1) at hv |
| 50 | rw [fderiv_eq_smul_deriv, one_smul, hd.deriv] at hv |
| 51 | have hid : ∀ w : TangentSpace (𝓡 n) (γ 0), |
| 52 | mfderiv (𝓡 n) (𝓡 n) (extChartAt (𝓡 n) p) (γ 0) w = w := by |
| 53 | rw [hp] |
| 54 | intro w |
| 55 | rw [mfderiv_extChartAt_self] |
| 56 | rfl |
| 57 | exact (hv.trans (hid _)).symm |
| 58 | |
| 59 | private theorem unit_reparameterization_of_fractional_segment |
| 60 | (g : RiemannianMetric n M) {p q : M} {ε : ℝ} {γ : ℝ → M} |
| 61 | (hε : 0 < ε) (hγ : g.IsGeodesicOn γ (Ioo (-ε) (1 + ε))) |
| 62 | (hγ0 : γ 0 = p) (hγ1 : γ 1 = q) |
| 63 | (hmin : ∀ s ∈ Icc (0 : ℝ) 1, ∀ t ∈ Icc (0 : ℝ) 1, |
| 64 | g.edist (γ s) (γ t) = ENNReal.ofReal |s - t| * g.edist p q) |
| 65 | {v : TangentSpace (𝓡 n) p} |
| 66 | (hd : HasDerivAt (fun t => extChartAt (𝓡 n) p (γ t)) |
| 67 | ((g.edist p q).toReal • v) 0) |
| 68 | (ha : 0 < (g.edist p q).toReal) : |
| 69 | let a := (g.edist p q).toReal |
| 70 | let η := fun t => γ (a⁻¹ * t) |
| 71 | g.IsGeodesicOn η (Icc 0 a) ∧ η 0 = p ∧ η a = q ∧ |
| 72 | mfderiv 𝓘(ℝ, ℝ) (𝓡 n) η 0 1 = v ∧ |
| 73 | (∀ t ∈ Icc 0 a, g.tangentNorm (η t) (mfderiv 𝓘(ℝ, ℝ) (𝓡 n) η t 1) = 1) ∧ |
| 74 | ∀ s ∈ Icc 0 a, ∀ t ∈ Icc 0 a, |
| 75 | g.edist (η s) (η t) = ENNReal.ofReal |s - t| := by |
| 76 | let a := (g.edist p q).toReal |
| 77 | let η := fun t => γ (a⁻¹ * t) |
| 78 | have ha' : 0 < a := ha |
| 79 | have hparam {t : ℝ} (ht : t ∈ Icc 0 a) : a⁻¹ * t ∈ Icc (0 : ℝ) 1 := by |
| 80 | rw [mul_comm, ← div_eq_mul_inv] |
| 81 | exact ⟨div_nonneg ht.1 ha.le, (div_le_one ha).mpr ht.2⟩ |
| 82 | have hgeo : g.IsGeodesicOn η (Icc 0 a) := by |
| 83 | intro t ht |
| 84 | apply hγ.comp_mul a⁻¹ t |
| 85 | have ht' := hparam ht |
| 86 | exact ⟨by linarith [ht'.1], by linarith [ht'.2]⟩ |
| 87 | have hzero : η 0 = p := by simpa only [η, mul_zero] using hγ0 |
| 88 | have hend : η a = q := by simpa only [η, inv_mul_cancel₀ ha'.ne'] using hγ1 |
| 89 | have hderiv : HasDerivAt (fun t => extChartAt (𝓡 n) p (η t)) v 0 := by |
| 90 | have hd0 : HasDerivAt (fun t => extChartAt (𝓡 n) p (γ t)) (a • v) (a⁻¹ * 0) := by |
| 91 | simpa only [mul_zero] using hd |
| 92 | have h := hd0.scomp 0 ((hasDerivAt_id (0 : ℝ)).const_mul a⁻¹) |
| 93 | simpa only [Function.comp_def, mul_one, smul_smul, inv_mul_cancel₀ ha'.ne', one_smul] |
| 94 | using h |
| 95 | have hvel := initial_velocity_eq_of_chart_deriv hgeo ⟨le_rfl, ha.le⟩ hzero hderiv |
| 96 | have hnorm : g.tangentNorm p v = 1 := by |
| 97 | let : Bundle.RiemannianBundle (TangentSpace (𝓡 n) : M → Type _) := ⟨g.toRiemannianMetric⟩ |
| 98 | have h := congrArg ENNReal.toReal |
| 99 | (hγ.initial_tangentNorm_eq_of_edist_segment hε hγ0 hd hmin) |
| 100 | change (ENNReal.ofReal ‖a • v‖).toReal = a at h |
| 101 | rw [ENNReal.toReal_ofReal (norm_nonneg _), norm_smul, Real.norm_eq_abs, abs_of_pos ha'] at h |
| 102 | exact (mul_left_cancel₀ ha'.ne' (h.trans (mul_one a).symm)) |
| 103 | refine ⟨hgeo, hzero, hend, hvel, ?_, ?_⟩ |
| 104 | · intro t ht |
| 105 | rw [Poincare.VolumeComparison.tangentNorm_eq_of_mem_Icc g hgeo ht |
| 106 | ⟨le_rfl, ha.le⟩, hvel] |
| 107 | dsimp only [η] |
| 108 | rw [mul_zero, hγ0] |
| 109 | exact hnorm |
| 110 | · intro s hs t ht |
| 111 | change g.edist (γ (a⁻¹ * s)) (γ (a⁻¹ * t)) = _ |
| 112 | rw [hmin _ (hparam hs) _ (hparam ht), |
| 113 | ← ENNReal.ofReal_toReal (g.edist_ne_top p q), |
| 114 | ← ENNReal.ofReal_mul (abs_nonneg _)] |
| 115 | congr 1 |
| 116 | rw [show a⁻¹ * s - a⁻¹ * t = a⁻¹ * (s - t) by ring, |
| 117 | abs_mul, abs_of_pos (inv_pos.mpr ha)] |
| 118 | change a⁻¹ * |s - t| * a = |s - t| |
| 119 | rw [mul_right_comm, inv_mul_cancel₀ ha'.ne', one_mul] |
| 120 | |
| 121 | /-- The hinge inequality for the exact normalized initial coordinate |
| 122 | directions retained by selected minimizing geodesics. -/ |
| 123 | theorem toponogov_hinge_of_fractional_segments |
| 124 | (g : RiemannianMetric n M) (D : LeviCivitaData g) |
| 125 | (hcomplete : MetricComplete g) (hsec : D.NonnegativeSectionalCurvature) |
| 126 | (p x y : M) (ε₁ ε₂ : ℝ) (γ₁ γ₂ : ℝ → M) |
| 127 | (v w : TangentSpace (𝓡 n) p) (hε₁ : 0 < ε₁) (hε₂ : 0 < ε₂) |
| 128 | (hγ₁ : g.IsGeodesicOn γ₁ (Ioo (-ε₁) (1 + ε₁))) |
| 129 | (hγ₂ : g.IsGeodesicOn γ₂ (Ioo (-ε₂) (1 + ε₂))) |
| 130 | (hγ₁0 : γ₁ 0 = p) (hγ₁1 : γ₁ 1 = x) (hγ₂0 : γ₂ 0 = p) (hγ₂1 : γ₂ 1 = y) |
| 131 | (hmin₁ : ∀ a ∈ Icc (0 : ℝ) 1, ∀ b ∈ Icc (0 : ℝ) 1, |
| 132 | g.edist (γ₁ a) (γ₁ b) = ENNReal.ofReal |a - b| * g.edist p x) |
| 133 | (hmin₂ : ∀ a ∈ Icc (0 : ℝ) 1, ∀ b ∈ Icc (0 : ℝ) 1, |
| 134 | g.edist (γ₂ a) (γ₂ b) = ENNReal.ofReal |a - b| * g.edist p y) |
| 135 | (hd₁ : HasDerivAt (fun t => extChartAt (𝓡 n) p (γ₁ t)) ((g.edist p x).toReal • v) 0) |
| 136 | (hd₂ : HasDerivAt (fun t => extChartAt (𝓡 n) p (γ₂ t)) ((g.edist p y).toReal • w) 0) : |
| 137 | (g.edist x y).toReal ^ 2 ≤ (g.edist p x).toReal ^ 2 + (g.edist p y).toReal ^ 2 - |
| 138 | 2 * (g.edist p x).toReal * (g.edist p y).toReal * g.inner p v w := by |
| 139 | have hcomm (x y : M) : (g.edist x y).toReal = (g.edist y x).toReal := by |
| 140 | let := g.toMetricSpace |
| 141 | exact dist_comm x y |
| 142 | by_cases hxp : x = p |
| 143 | · rw [hxp] |
| 144 | simp [RiemannianMetric.edist, Manifold.riemannianEDist_self] |
| 145 | by_cases hyp : y = p |
| 146 | · rw [hyp, hcomm x p] |
| 147 | simp [RiemannianMetric.edist, Manifold.riemannianEDist_self] |
| 148 | have ha : 0 < (g.edist p x).toReal := by |
| 149 | let := g.toMetricSpace |
| 150 | exact dist_pos.mpr (Ne.symm hxp) |
| 151 | have hb : 0 < (g.edist p y).toReal := by |
| 152 | let := g.toMetricSpace |
| 153 | exact dist_pos.mpr (Ne.symm hyp) |
| 154 | obtain ⟨hη₁, hη₁0, hη₁a, hv, _, hη₁min⟩ := |
| 155 | unit_reparameterization_of_fractional_segment g hε₁ hγ₁ hγ₁0 hγ₁1 hmin₁ hd₁ ha |
| 156 | obtain ⟨hη₂, hη₂0, hη₂b, hw, hη₂speed, hη₂min⟩ := |
| 157 | unit_reparameterization_of_fractional_segment g hε₂ hγ₂ hγ₂0 hγ₂1 hmin₂ hd₂ hb |
| 158 | simpa only [hη₁a, hη₂b, hv, hw] using |
| 159 | g.toponogov_hinge D hcomplete hsec ha hb hη₁ hη₂ hη₁0 hη₂0 hη₂speed hη₁min hη₂min |
| 160 | |
| 161 | set_option maxHeartbeats 800000 in |
| 162 | /-- Complete nonnegative sectional curvature constructs the trimmed opposite |
| 163 | segments at the selected centers, with any prescribed fixed radius margin. |
| 164 | Both intrinsic comparisons follow from Toponogov. -/ |
| 165 | theorem exists_selected_normalized_opposite_segments |
| 166 | (g : RiemannianMetric n M) (D : LeviCivitaData g) |
| 167 | (hcomplete : MetricComplete g) (hsec : D.NonnegativeSectionalCurvature) |
| 168 | (p : M) (q : ℕ → M) (r Q : ℕ → ℝ) |
| 169 | (hr : ∀ i, 0 < r i) (hQ : ∀ i, 0 < Q i) |
| 170 | (hdtop : Tendsto (fun i => (g.edist p (q i)).toReal) atTop atTop) |
| 171 | (hDtop : Tendsto (fun i => (g.edist p (q i)).toReal * Real.sqrt (Q i)) atTop atTop) |
| 172 | (hLtop : Tendsto (fun i => r i * Real.sqrt (Q i)) atTop atTop) |
| 173 | (hsmall : Tendsto (fun i => r i / (g.edist p (q i)).toReal) atTop (𝓝 0)) |
| 174 | {K : ℝ} (hK : 0 ≤ K) : |
| 175 | ∃ σ : ℕ → ℕ, StrictMono σ ∧ |
| 176 | let G := fun i => rescaledMetric g (Q (σ i)) (hQ (σ i)) |
| 177 | ∃ s : ℕ → ℝ, ∃ minus plus : ℕ → ℝ → M, |
| 178 | (∀ i, 0 < s i ∧ K * s i ≤ r (σ i) * Real.sqrt (Q (σ i))) ∧ |
| 179 | Tendsto (fun i => s i / (r (σ i) * Real.sqrt (Q (σ i)))) atTop (𝓝 0) ∧ |
| 180 | Tendsto (fun i => s i / 2) atTop atTop ∧ |
| 181 | (∀ i, minus i 0 = q (σ i) ∧ plus i 0 = q (σ i) ∧ |
| 182 | minus i (s i / 2) ∈ (G i).ball (q (σ i)) (s i) ∧ |
| 183 | plus i (s i / 2) ∈ (G i).ball (q (σ i)) (s i)) ∧ |
| 184 | (∀ i, ∀ a ∈ Icc (0 : ℝ) (s i / 2), ∀ b ∈ Icc (0 : ℝ) (s i / 2), |
| 185 | ((G i).edist (minus i a) (minus i b)).toReal = |a - b|) ∧ |
| 186 | (∀ i, ∀ a ∈ Icc (0 : ℝ) (s i / 2), ∀ b ∈ Icc (0 : ℝ) (s i / 2), |
| 187 | ((G i).edist (plus i a) (plus i b)).toReal = |a - b|) ∧ |
| 188 | Tendsto (fun i => |
| 189 | ((s i / 2) ^ 2 + (s i / 2) ^ 2 - |
| 190 | ((G i).edist (minus i (s i / 2)) (plus i (s i / 2))).toReal ^ 2) / |
| 191 | (2 * (s i / 2) * (s i / 2))) atTop (𝓝 (-1)) := by |
| 192 | have hcomp : ∀ i j (minus plus : ℝ → M) (A B : ℝ), 0 < A → 0 < B → |
| 193 | minus 0 = q i → minus A = p → plus 0 = q i → plus B = q j → |
| 194 | (∀ s ∈ Icc (0 : ℝ) A, ∀ t ∈ Icc (0 : ℝ) A, |
| 195 | ((rescaledMetric g (Q i) (hQ i)).edist (minus s) (minus t)).toReal = |s - t|) → |
| 196 | (∀ s ∈ Icc (0 : ℝ) B, ∀ t ∈ Icc (0 : ℝ) B, |
| 197 | ((rescaledMetric g (Q i) (hQ i)).edist (plus s) (plus t)).toReal = |s - t|) → |
| 198 | ∀ s ∈ Icc (0 : ℝ) A, ∀ t ∈ Icc (0 : ℝ) B, |
| 199 | s ^ 2 + t ^ 2 - 2 * s * t * |
| 200 | ((A ^ 2 + B ^ 2 - ((rescaledMetric g (Q i) (hQ i)).edist p (q j)).toReal ^ 2) / |
| 201 | (2 * A * B)) ≤ |
| 202 | ((rescaledMetric g (Q i) (hQ i)).edist (minus s) (plus t)).toReal ^ 2 := by |
| 203 | intro i j minus plus A B hA hB hm0 hmA hp0 hpB hm hp |
| 204 | let gi := rescaledMetric g (Q i) (hQ i) |
| 205 | let Di := rescaledMetric_connection g D (Q i) (hQ i) |
| 206 | have hseci : Di.NonnegativeSectionalCurvature := by |
| 207 | intro x v w |
| 208 | rw [rescaledMetric_curvatureTensor] |
| 209 | exact mul_nonneg (hQ i).le (hsec x v w) |
| 210 | have hm' : ∀ s ∈ Icc (0 : ℝ) A, ∀ t ∈ Icc (0 : ℝ) A, |
| 211 | gi.edist (minus s) (minus t) = ENNReal.ofReal |s - t| := by |
| 212 | intro s hs t ht |
| 213 | rw [← ENNReal.ofReal_toReal (gi.edist_ne_top _ _), hm s hs t ht] |
| 214 | have hp' : ∀ s ∈ Icc (0 : ℝ) B, ∀ t ∈ Icc (0 : ℝ) B, |
| 215 | gi.edist (plus s) (plus t) = ENNReal.ofReal |s - t| := by |
| 216 | intro s hs t ht |
| 217 | rw [← ENNReal.ofReal_toReal (gi.edist_ne_top _ _), hp s hs t ht] |
| 218 | simpa only [hmA, hpB] using gi.toponogov_corresponding_side_of_edist_segments |
| 219 | Di (metricComplete_rescaledMetric g (Q i) (hQ i) hcomplete) hseci |
| 220 | hA hB hm0 hp0 hm' hp' |
| 221 | obtain ⟨σ, hσ, _, ε, γ, v, vlim, _, _, _, k, _, _, |
| 222 | s, minus, plus, hs, hsmall', hstop, hbase, hminus, hplus, hangle⟩ := |
| 223 | g.exists_selected_normalized_opposite_segments_of_comparison hcomplete |
| 224 | p q r Q hr hQ hdtop hDtop hLtop hsmall hK |
| 225 | (g.toponogov_hinge_of_fractional_segments D hcomplete hsec p) hcomp |
| 226 | exact ⟨σ, hσ, s, minus, plus, hs, hsmall', hstop, hbase, hminus, hplus, hangle⟩ |
| 227 | |
| 228 | end PoincareMT.RiemannianMetric |
| 229 | |
| 230 | namespace PoincareMT.RicciFlow |
| 231 | |
| 232 | attribute [local instance] FlowCarrier.topologicalSpace FlowCarrier.chartedSpace |
| 233 | FlowCarrier.isManifold |
| 234 | attribute [local instance] smallCarrier smallChartedSpace smallIsManifold |
| 235 | |
| 236 | set_option maxHeartbeats 1000000 in |
| 237 | /-- The actual selected scalar rescalings have a line in their same buffered |
| 238 | small ancient limit. The terminal segments, their buffer margin, earlier |
| 239 | segments, and all triangle comparisons are constructed from the original |
| 240 | bounded ancient flow and the selected scale limits. -/ |
| 241 | theorem exists_isometric_line_of_selected_small_rescalings |
| 242 | {m : ℕ} {M : Type u} [TopologicalSpace M] [T3Space M] |
| 243 | [SecondCountableTopology M] [ConnectedSpace M] [NoncompactSpace M] |
| 244 | [MeasurableSpace M] [BorelSpace M] |
| 245 | [ChartedSpace (EuclideanSpace ℝ (Fin (m + 1))) M] [IsManifold (𝓡 (m + 1)) ∞ M] |
| 246 | (hC : RicciFlowCurvatureCalculus.{u}) (hm : 0 < m) |
| 247 | (F : RicciFlow (m + 1) M (Iic 0)) |
| 248 | (hcomplete : ∀ t ≤ 0, MetricComplete (F.metric t)) |
| 249 | (hoperator : ∀ t ≤ 0, ∀ x, (F.connection t).NonnegativeCurvatureOperator x) |
| 250 | {K : ℝ} (hK : 0 ≤ K) |
| 251 | (hbound : ∀ t ≤ 0, ∀ x, (F.connection t).curvatureTensorNorm x ≤ K) |
| 252 | (t₀ : ℝ) (ht₀ : t₀ < 0) (p : M) (q : ℕ → M) (r Q : ℕ → ℝ) |
| 253 | (hr : ∀ i, 0 < r i) (hQ : ∀ i, 0 < Q i) |
| 254 | (hscalar : ∀ i, ∀ x ∈ (F.metric t₀).ball (q i) (r i), |
| 255 | (F.connection t₀).scalarCurvature x ≤ 4 * Q i) |
| 256 | (hdtop : Tendsto (fun i => ((F.metric t₀).edist p (q i)).toReal) atTop atTop) |
| 257 | (hDtop : Tendsto (fun i => ((F.metric t₀).edist p (q i)).toReal * Real.sqrt (Q i)) |
| 258 | atTop atTop) |
| 259 | (hLtop : Tendsto (fun i => r i * Real.sqrt (Q i)) atTop atTop) |
| 260 | (hsmall : Tendsto (fun i => r i / ((F.metric t₀).edist p (q i)).toReal) atTop (𝓝 0)) |
| 261 | {δ : ℝ} (hδ : 0 < δ) |
| 262 | (G : AncientPointedGeometricConvergence |
| 263 | (fun _ => (FlowCarrier.ofConnectedManifold (m + 1) M).shrink) |
| 264 | (fun i t => (F.interiorAncientRescaleAt (Q i) (hQ i) t₀).shrink.metric (t - δ)) |
| 265 | (fun i => equivShrink M (q i)) δ) |
| 266 | (hGcomplete : G.limitCarrier.metricComplete (G.limitFlow.metric 0)) : |
| 267 | letI := G.limitCarrier.metricSpaceOf (G.limitFlow.metric 0) |
| 268 | ∃ gamma : ℝ → G.limitCarrier.carrier, Isometry gamma ∧ gamma 0 = G.base := by |
| 269 | let H := fun i => F.interiorAncientRescaleAt (Q i) (hQ i) t₀ |
| 270 | let L := fun i => r i * Real.sqrt (Q i) |
| 271 | have htime (i : ℕ) (s : ℝ) (hs : s ≤ 0) : t₀ + s / Q i ≤ 0 := |
| 272 | (add_le_of_nonpos_right (div_nonpos_of_nonpos_of_nonneg hs (hQ i).le)).trans ht₀.le |
| 273 | have hwindow (i : ℕ) (a : ℝ) : Icc a 0 ⊆ interior (Iio (-t₀ * Q i)) := by |
| 274 | rw [isOpen_Iio.interior_eq] |
| 275 | intro s hs |
| 276 | exact hs.2.trans_lt (mul_pos (neg_pos.mpr ht₀) (hQ i)) |
| 277 | have hcH (i : ℕ) (s : ℝ) (hs : s ≤ 0) : MetricComplete ((H i).metric s) := by |
| 278 | exact F.parabolicRescale_metricComplete _ _ _ _ _ _ _ (hcomplete _ (htime i s hs)) |
| 279 | have hoH (i : ℕ) (s : ℝ) (hs : s ≤ 0) (x : M) : |
| 280 | ((H i).connection s).NonnegativeCurvatureOperator x := by |
| 281 | exact F.parabolicRescale_nonnegativeCurvatureOperator _ _ _ _ _ _ _ _ |
| 282 | (hoperator _ (htime i s hs) x) |
| 283 | have hmetric0 (i : ℕ) : (H i).metric 0 = rescaledMetric (F.metric t₀) (Q i) (hQ i) := by |
| 284 | change rescaledMetric (F.metric (t₀ + 0 / Q i)) (Q i) (hQ i) = _ |
| 285 | rw [zero_div, add_zero] |
| 286 | have hball (i : ℕ) : ((H i).metric 0).ball (q i) (L i) = |
| 287 | (F.metric t₀).ball (q i) (r i) := by |
| 288 | rw [hmetric0, rescaledMetric_ball_allDimensions] |
| 289 | dsimp only [L] |
| 290 | rw [mul_div_cancel_right₀ _ (Real.sqrt_pos.mpr (hQ i)).ne'] |
| 291 | have hscalarH (i : ℕ) (s : ℝ) (hs : s ≤ 0) (x : M) |
| 292 | (hx : x ∈ ((H i).metric 0).ball (q i) (L i)) : |
| 293 | ((H i).connection s).scalarCurvature x ≤ 4 := by |
| 294 | have hst : t₀ + s / Q i ≤ t₀ := |
| 295 | add_le_of_nonpos_right (div_nonpos_of_nonpos_of_nonneg hs (hQ i).le) |
| 296 | have h := ((F.scalarCurvature_monotoneOn_of_bounded_ancient hC hcomplete |
| 297 | hoperator hK hbound x) (hst.trans ht₀.le) ht₀.le hst).trans |
| 298 | (hscalar i x ((hball i) ▸ hx)) |
| 299 | dsimp only [H, interiorAncientRescaleAt] |
| 300 | rw [parabolicRescale_scalarCurvature] |
| 301 | calc |
| 302 | _ ≤ (Q i)⁻¹ * (4 * Q i) := mul_le_mul_of_nonneg_left h (inv_nonneg.mpr (hQ i).le) |
| 303 | _ = 4 := by field_simp [(hQ i).ne'] |
| 304 | have hRic (i : ℕ) (s : ℝ) (hs : s ≤ 0) (x : M) |
| 305 | (v : TangentSpace (𝓡 (m + 1)) x) : 0 ≤ ((H i).connection s).ricci x v v := |
| 306 | (((H i).connection s).ricci_bounds_of_nonnegative_curvatureOperator |
| 307 | (hC.tensor_calculus (m + 1) M ((H i).metric s) ((H i).connection s)) |
| 308 | x (hoH i s hs x) v).1 |
| 309 | have hupper (i : ℕ) (s : ℝ) (hs : s ∈ Icc (-δ) 0) (x : M) |
| 310 | (hx : x ∈ ((H i).metric 0).ball (q i) (L i)) (v : TangentSpace (𝓡 (m + 1)) x) : |
| 311 | ((H i).connection s).ricci x v v ≤ 4 * ((H i).metric s).inner x v v := by |
| 312 | have hn : 0 ≤ ((H i).metric s).inner x v v := by |
| 313 | let : Bundle.RiemannianBundle (TangentSpace (𝓡 (m + 1)) : M → Type _) := |
| 314 | ⟨((H i).metric s).toRiemannianMetric⟩ |
| 315 | exact @real_inner_self_nonneg (TangentSpace (𝓡 (m + 1)) x) _ _ v |
| 316 | exact ((((H i).connection s).ricci_bounds_of_nonnegative_curvatureOperator |
| 317 | (hC.tensor_calculus (m + 1) M ((H i).metric s) ((H i).connection s)) |
| 318 | x (hoH i s hs.2 x) v).2).trans |
| 319 | (mul_le_mul_of_nonneg_right (hscalarH i s hs.2 x hx) hn) |
| 320 | have hsec : (F.connection t₀).NonnegativeSectionalCurvature := by |
| 321 | intro x v w |
| 322 | exact (F.connection t₀).curvatureTensor_self_nonneg_of_nonnegative_curvatureOperator |
| 323 | x (hoperator t₀ ht₀.le x) v w |
| 324 | obtain ⟨σ, hσ, s, minus, plus, hs, _, hstop, hbase, hminus, hplus, hangle⟩ := |
| 325 | (F.metric t₀).exists_selected_normalized_opposite_segments (F.connection t₀) |
| 326 | (hcomplete t₀ ht₀.le) hsec p (fun i => q (G.subsequence i)) |
| 327 | (fun i => r (G.subsequence i)) (fun i => Q (G.subsequence i)) |
| 328 | (fun i => hr (G.subsequence i)) (fun i => hQ (G.subsequence i)) |
| 329 | (hdtop.comp G.subsequence_strictMono.tendsto_atTop) |
| 330 | (hDtop.comp G.subsequence_strictMono.tendsto_atTop) |
| 331 | (hLtop.comp G.subsequence_strictMono.tendsto_atTop) |
| 332 | (hsmall.comp G.subsequence_strictMono.tendsto_atTop) |
| 333 | (K := 4 * Real.exp (4 * δ)) (by positivity) |
| 334 | apply exists_isometric_line_of_small_selected_terminal_segments hC hm |
| 335 | (fun i => Iio (-t₀ * Q i)) H hδ (Λ := 4) (by norm_num) (scale := 1) (by norm_num) |
| 336 | (fun i a => (hwindow i a).trans interior_subset) (fun i => hwindow i (-δ)) |
| 337 | (fun i t ht => hcH i t ht.2) (fun i t ht => hRic i t ht.2) q L hupper G hGcomplete |
| 338 | σ hσ s (fun i => (hs i).1) (fun i => (hs i).2) minus plus |
| 339 | (fun i => s i / 2) (fun i => s i / 2) |
| 340 | (fun i => half_pos (hs i).1) (fun i => half_pos (hs i).1) |
| 341 | (fun i => (hbase i).1) (fun i => (hbase i).2.1) |
| 342 | · intro i a ha b hb |
| 343 | rw [hmetric0] |
| 344 | exact hminus i a ha b hb |
| 345 | · intro i a ha b hb |
| 346 | rw [hmetric0] |
| 347 | exact hplus i a ha b hb |
| 348 | · intro i |
| 349 | rw [hmetric0] |
| 350 | exact (hbase i).2.2.1 |
| 351 | · intro i |
| 352 | rw [hmetric0] |
| 353 | exact (hbase i).2.2.2 |
| 354 | · exact hstop |
| 355 | · exact hstop |
| 356 | · simpa only [hmetric0] using hangle |
| 357 | · intro i α β A B hA hB hα0 hβ0 hα hβ |
| 358 | let j := G.subsequence (σ i) |
| 359 | have hsecH : ((H j).connection (-δ)).NonnegativeSectionalCurvature := by |
| 360 | intro x v w |
| 361 | exact ((H j).connection (-δ)).curvatureTensor_self_nonneg_of_nonnegative_curvatureOperator |
| 362 | x (hoH j (-δ) (by linarith) x) v w |
| 363 | apply ((H j).metric (-δ)).toponogov_corresponding_side_of_edist_segments |
| 364 | ((H j).connection (-δ)) (hcH j (-δ) (by linarith)) hsecH hA hB hα0 hβ0 |
| 365 | · intro a ha b hb |
| 366 | rw [← ENNReal.ofReal_toReal (((H j).metric (-δ)).edist_ne_top _ _), hα a ha b hb] |
| 367 | · intro a ha b hb |
| 368 | rw [← ENNReal.ofReal_toReal (((H j).metric (-δ)).edist_ne_top _ _), hβ a ha b hb] |
| 369 | |
| 370 | end PoincareMT.RicciFlow |