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.Analysis.Asymptotics.Harnack |
| 2 | import PoincareLib.Geometry.RicciFlow.Basic |
| 3 | import PoincareLib.Geometry.RicciFlow.Curvature.Theory |
| 4 | import PoincareLib.Geometry.RicciFlow.Harnack.Regularity |
| 5 | import PoincareLib.Geometry.RicciFlow.Harnack.Theory |
| 6 | import PoincareLib.Geometry.RicciFlow.Harnack.Path.Energy |
| 7 | |
| 8 | /-! |
| 9 | # Ancient Harnack estimates |
| 10 | |
| 11 | The ancient differential estimate follows from the frozen finite differential |
| 12 | estimate by restricting the actual flow to older finite intervals, identifying |
| 13 | the derivative witnesses, and taking the time-origin limit. Regularity derived |
| 14 | from M04 and the smooth flow extends the inequality to the terminal slice. |
| 15 | |
| 16 | The earlier real-analysis and integrated adapters remain available below. |
| 17 | Source: Morgan--Tian (2007), Theorem 4.37 and Corollary 4.39, p. 81; |
| 18 | Theorem 4.40, p. 82. |
| 19 | -/ |
| 20 | |
| 21 | set_option autoImplicit false |
| 22 | |
| 23 | universe u |
| 24 | |
| 25 | open Set Filter |
| 26 | open MeasureTheory |
| 27 | open scoped intervalIntegral Manifold ContDiff Bundle |
| 28 | |
| 29 | namespace Poincare |
| 30 | |
| 31 | namespace RicciFlow.Harnack |
| 32 | |
| 33 | /-- Removing the elapsed-time factor from finite integrated estimates. -/ |
| 34 | theorem integrated_of_finite_origins {t₁ t₂ A B E : ℝ} |
| 35 | (hfinite : ∀ᶠ T : ℝ in atBot, |
| 36 | A * (t₁ - T) * E ≤ B * (t₂ - T)) : |
| 37 | A * E ≤ B := by |
| 38 | exact Poincare.Asymptotics.ancient_limit_of_scaled_inequality hfinite |
| 39 | |
| 40 | /-- |
| 41 | The usable adapter for a Ricci-flow path: `A` and `B` are the two scalar |
| 42 | curvatures and `E` is the exponential path-energy factor. A future RicciFlow |
| 43 | port supplies `finite`; this theorem performs the complete time-origin limit. |
| 44 | -/ |
| 45 | theorem integrated_of_finite_start |
| 46 | {t₁ t₂ A B E : ℝ} |
| 47 | (finite : ∀ᶠ T : ℝ in atBot, |
| 48 | A * (t₁ - T) * E ≤ B * (t₂ - T)) : |
| 49 | A * E ≤ B := by |
| 50 | exact Poincare.Asymptotics.ancient_limit_of_scaled_inequality finite |
| 51 | |
| 52 | /-- |
| 53 | Extend finite-origin integrated estimates to a terminal time, using the |
| 54 | continuity of the endpoint scalar and the integrability of the path energy. |
| 55 | -/ |
| 56 | theorem integrated_at_terminal_of_finite_origins |
| 57 | {f q : ℝ → ℝ} {a b : ℝ} (hab : a < b) |
| 58 | (hf : ContinuousOn f (Icc a b)) |
| 59 | (hqInt : IntervalIntegrable q volume a b) |
| 60 | (finite : ∀ t ∈ Ioo a b, ∀ᶠ T : ℝ in atBot, |
| 61 | f a * (a - T) * Real.exp (-(∫ s in a..t, q s) / 2) ≤ |
| 62 | f t * (t - T)) : |
| 63 | f a * Real.exp (-(∫ s in a..b, q s) / 2) ≤ f b := by |
| 64 | exact Poincare.Asymptotics.le_at_right_endpoint_of_finite_origins hab hf hqInt finite |
| 65 | |
| 66 | /-- |
| 67 | The terminal consumer applied to a path in the shared `RicciFlow` port. The |
| 68 | finite-origin Harnack producer and scalar-curvature continuity are explicit |
| 69 | hypotheses; this theorem supplies the time-origin and endpoint limit only. |
| 70 | -/ |
| 71 | theorem integrated_at_terminal_of_finite_origins_flow |
| 72 | {n : ℕ} {M : Type u} [TopologicalSpace M] |
| 73 | [ChartedSpace (EuclideanSpace ℝ (Fin n)) M] |
| 74 | [IsManifold (𝓡 n) ∞ M] {J : Set ℝ} |
| 75 | (F : PoincareMT.RicciFlow n M J) {a b : ℝ} (hab : a < b) |
| 76 | (γ : ℝ → M) {x₁ x₂ : M} (hγa : γ a = x₁) (hγb : γ b = x₂) |
| 77 | {q : ℝ → ℝ} |
| 78 | (hscalar : ContinuousOn |
| 79 | (fun t ↦ (F.connection t).scalarCurvature (γ t)) (Icc a b)) |
| 80 | (hqInt : IntervalIntegrable q volume a b) |
| 81 | (finite : ∀ t ∈ Ioo a b, ∀ᶠ T : ℝ in atBot, |
| 82 | (F.connection a).scalarCurvature x₁ * (a - T) * |
| 83 | Real.exp (-(∫ s in a..t, q s) / 2) ≤ |
| 84 | (F.connection t).scalarCurvature (γ t) * (t - T)) : |
| 85 | (F.connection a).scalarCurvature x₁ * |
| 86 | Real.exp (-(∫ s in a..b, q s) / 2) ≤ |
| 87 | (F.connection b).scalarCurvature x₂ := by |
| 88 | let f : ℝ → ℝ := fun t ↦ (F.connection t).scalarCurvature (γ t) |
| 89 | have hf : ContinuousOn f (Icc a b) := by |
| 90 | simpa [f] using hscalar |
| 91 | have h := Poincare.Asymptotics.le_at_right_endpoint_of_finite_origins |
| 92 | hab hf hqInt (by |
| 93 | intro t ht |
| 94 | simpa [f, hγa] using finite t ht) |
| 95 | simpa [f, hγa, hγb] using h |
| 96 | |
| 97 | /-- |
| 98 | The shared M04 regularity and path-energy producers discharge the continuity |
| 99 | and integrability inputs of the flow adapter. The finite-origin Harnack |
| 100 | estimate remains the single geometric premise supplied by the differential |
| 101 | Harnack producer. |
| 102 | -/ |
| 103 | theorem integrated_at_terminal_of_finite_origins_flow_of_regular |
| 104 | {n : ℕ} {M : Type u} [TopologicalSpace M] |
| 105 | [ChartedSpace (EuclideanSpace ℝ (Fin n)) M] |
| 106 | [IsManifold (𝓡 n) ∞ M] {J : Set ℝ} |
| 107 | (hM04 : PoincareMT.RicciFlowCurvatureTheory.{u}) |
| 108 | (F : PoincareMT.RicciFlow n M J) {a b : ℝ} (hab : a < b) |
| 109 | (hJ : Icc a b ⊆ J) (γ : ℝ → M) |
| 110 | (hγ : ContinuousOn γ (Icc a b)) {x₁ x₂ : M} |
| 111 | (hγa : γ a = x₁) (hγb : γ b = x₂) |
| 112 | (henergy : ContinuousOn |
| 113 | (fun s ↦ (F.metric s).inner (γ s) |
| 114 | (mfderiv (𝓘(ℝ, ℝ)) (𝓡 n) γ s 1) |
| 115 | (mfderiv (𝓘(ℝ, ℝ)) (𝓡 n) γ s 1)) (Icc a b)) |
| 116 | (finite : ∀ t ∈ Ioo a b, ∀ᶠ T : ℝ in atBot, |
| 117 | (F.connection a).scalarCurvature x₁ * (a - T) * |
| 118 | Real.exp (-(∫ s in a..t, |
| 119 | (F.metric s).inner (γ s) |
| 120 | (mfderiv (𝓘(ℝ, ℝ)) (𝓡 n) γ s 1) |
| 121 | (mfderiv (𝓘(ℝ, ℝ)) (𝓡 n) γ s 1)) / 2) ≤ |
| 122 | (F.connection t).scalarCurvature (γ t) * (t - T)) : |
| 123 | (F.connection a).scalarCurvature x₁ * |
| 124 | Real.exp (-(∫ s in a..b, |
| 125 | (F.metric s).inner (γ s) |
| 126 | (mfderiv (𝓘(ℝ, ℝ)) (𝓡 n) γ s 1) |
| 127 | (mfderiv (𝓘(ℝ, ℝ)) (𝓡 n) γ s 1)) / 2) ≤ |
| 128 | (F.connection b).scalarCurvature x₂ := by |
| 129 | apply integrated_at_terminal_of_finite_origins_flow F hab γ hγa hγb |
| 130 | · exact Poincare.Geometry.RicciFlow.Harnack.scalarCurvature_continuousOn_path |
| 131 | hM04 J F γ hJ hγ |
| 132 | · exact henergy.intervalIntegrable_of_Icc (le_of_lt hab) |
| 133 | · exact finite |
| 134 | |
| 135 | /-- |
| 136 | The differential endpoint adapter. Once the finite RicciFlow producer gives |
| 137 | the reciprocal-time correction for every sufficiently old origin, the ancient |
| 138 | differential inequality follows, including the terminal time zero. |
| 139 | -/ |
| 140 | theorem differential_of_finite_origins {Q R t : ℝ} |
| 141 | (finite : ∀ᶠ T : ℝ in atBot, 0 ≤ Q + R / (t - T)) : |
| 142 | 0 ≤ Q := by |
| 143 | exact Poincare.Asymptotics.nonneg_of_eventually_add_div_nonneg finite |
| 144 | |
| 145 | /-- The interior differential limit reaches the terminal time zero. -/ |
| 146 | theorem differential_at_zero_of_finite_origins {q r : ℝ → ℝ} |
| 147 | (continuous : ContinuousWithinAt q (Iic 0) 0) |
| 148 | (finite : ∀ t < 0, ∀ᶠ T : ℝ in atBot, |
| 149 | 0 ≤ q t + r t / (t - T)) : |
| 150 | 0 ≤ q 0 := by |
| 151 | exact Poincare.Asymptotics.nonneg_at_zero_of_finite_origins continuous finite |
| 152 | |
| 153 | /-- Nonnegativity on negative times reaches the terminal slice by continuity. -/ |
| 154 | theorem terminal_nonneg_of_negative |
| 155 | {f : ℝ → ℝ} (continuous : ContinuousWithinAt f (Iic 0) 0) |
| 156 | (negative : ∀ t < 0, 0 ≤ f t) : |
| 157 | 0 ≤ f 0 := by |
| 158 | exact Poincare.Asymptotics.nonneg_at_zero_of_nonneg_neg continuous negative |
| 159 | |
| 160 | end RicciFlow.Harnack |
| 161 | |
| 162 | end Poincare |
| 163 | |
| 164 | /-! The path-calculus modules use the canonical `Poincare.Geometry` namespace. |
| 165 | These aliases keep the time-origin adapters available at that boundary while |
| 166 | retaining the historical namespace used by the first Harnack port. -/ |
| 167 | |
| 168 | namespace Poincare.Geometry.RicciFlow.Harnack |
| 169 | |
| 170 | open PoincareMT |
| 171 | |
| 172 | /-- Finite differential Harnack implies the ancient estimate, including time zero. |
| 173 | The finite premise is exactly `HarnackAncientTheory.finite_differential`. -/ |
| 174 | theorem ancient_differential_of_finite |
| 175 | (hM04 : RicciFlowCurvatureTheory.{u}) |
| 176 | (hfinite : |
| 177 | ∀ (n : ℕ) (M : Type u) [TopologicalSpace M] |
| 178 | [ChartedSpace (EuclideanSpace ℝ (Fin n)) M] [IsManifold (𝓡 n) ∞ M] |
| 179 | [T2Space M] [T3Space M] [SecondCountableTopology M], |
| 180 | ∀ T₀ T₁ : ℝ, T₀ < T₁ → |
| 181 | ∀ F : RicciFlow n M (Ioo T₀ T₁), |
| 182 | (∀ t ∈ Ioo T₀ T₁, MetricComplete (F.metric t)) → |
| 183 | (∀ t ∈ Ioo T₀ T₁, ∀ x : M, |
| 184 | LeviCivitaData.NonnegativeCurvatureOperator (F.connection t) x) → |
| 185 | (∀ t ∈ Ioo T₀ T₁, ∃ K : ℝ, 0 ≤ K ∧ |
| 186 | ∀ x : M, LeviCivitaData.CurvatureOperatorBound (F.connection t) K x) → |
| 187 | ∀ t ∈ Ioo T₀ T₁, ∀ x : M, ∀ v : TangentSpace (𝓡 n) x, |
| 188 | ∃ dR : ℝ, |
| 189 | HasDerivWithinAt (fun s ↦ (F.connection s).scalarCurvature x) dR |
| 190 | (Ioo T₀ T₁) t ∧ |
| 191 | dR + (F.connection t).scalarCurvature x / (t - T₀) + |
| 192 | 2 * (mvfderiv (𝓡 n) |
| 193 | (fun y ↦ (F.connection t).scalarCurvature y) x) v + |
| 194 | 2 * (F.connection t).ricci x v v ≥ 0) |
| 195 | {n : ℕ} {M : Type u} [TopologicalSpace M] |
| 196 | [ChartedSpace (EuclideanSpace ℝ (Fin n)) M] [IsManifold (𝓡 n) ∞ M] |
| 197 | [T2Space M] [T3Space M] [SecondCountableTopology M] |
| 198 | (F : RicciFlow n M (Iic 0)) |
| 199 | (hcomplete : ∀ t ≤ 0, MetricComplete (F.metric t)) |
| 200 | (hcurv : ∀ t ≤ 0, ∀ x : M, |
| 201 | LeviCivitaData.NonnegativeCurvatureOperator (F.connection t) x) |
| 202 | (hbound : ∀ t ≤ 0, ∃ K : ℝ, 0 ≤ K ∧ |
| 203 | ∀ x : M, LeviCivitaData.CurvatureOperatorBound (F.connection t) K x) : |
| 204 | ∀ t ≤ 0, ∀ x : M, ∀ v : TangentSpace (𝓡 n) x, |
| 205 | ∃ dR : ℝ, |
| 206 | HasDerivWithinAt (fun s ↦ (F.connection s).scalarCurvature x) dR (Iic 0) t ∧ |
| 207 | dR + 2 * (mvfderiv (𝓡 n) |
| 208 | (fun y ↦ (F.connection t).scalarCurvature y) x) v + |
| 209 | 2 * (F.connection t).ricci x v v ≥ 0 := by |
| 210 | intro t ht x v |
| 211 | let d : ℝ → ℝ := fun s ↦ |
| 212 | (F.connection s).laplacian (F.connection s).scalarCurvature x + |
| 213 | 2 * (F.connection s).ricciNormSq x |
| 214 | let q : ℝ → ℝ := fun s ↦ d s + |
| 215 | 2 * mvfderiv (𝓡 n) (fun y ↦ (F.connection s).scalarCurvature y) x v + |
| 216 | 2 * (F.connection s).ricci x v v |
| 217 | refine ⟨d t, hM04.scalar_evolution n M (Iic 0) F t ht x, ?_⟩ |
| 218 | have hnegative : ∀ s < 0, 0 ≤ q s := by |
| 219 | intro s hs |
| 220 | apply Poincare.Asymptotics.nonneg_of_eventually_add_div_nonneg |
| 221 | (R := (F.connection s).scalarCurvature x) (t := s) |
| 222 | filter_upwards [eventually_lt_atBot s] with T hT |
| 223 | have hT0 : T < 0 := hT.trans hs |
| 224 | have hsub : Ioo T 0 ⊆ Iic (0 : ℝ) := fun _ h ↦ h.2.le |
| 225 | have hne : (Ioo T (0 : ℝ)).Nontrivial := by |
| 226 | refine ⟨T / 2, ⟨by linarith, by linarith⟩, T / 3, |
| 227 | ⟨by linarith, by linarith⟩, ?_⟩ |
| 228 | linarith |
| 229 | let G := restrictFlow F hsub inferInstance hne |
| 230 | obtain ⟨dR, hdR, hineq⟩ := hfinite n M T 0 hT0 G |
| 231 | (fun r hr ↦ hcomplete r hr.2.le) |
| 232 | (fun r hr ↦ hcurv r hr.2.le) |
| 233 | (fun r hr ↦ hbound r hr.2.le) s ⟨hT, hs⟩ x v |
| 234 | have hid : dR = d s := |
| 235 | (hdR.hasDerivAt (Ioo_mem_nhds hT hs)).unique |
| 236 | ((hM04.scalar_evolution n M (Iic 0) F s hs.le x).hasDerivAt |
| 237 | (Iic_mem_nhds hs)) |
| 238 | change 0 ≤ dR + (F.connection s).scalarCurvature x / (s - T) + |
| 239 | 2 * mvfderiv (𝓡 n) (fun y ↦ (F.connection s).scalarCurvature y) x v + |
| 240 | 2 * (F.connection s).ricci x v v at hineq |
| 241 | dsimp only [q] |
| 242 | linarith |
| 243 | rcases lt_or_eq_of_le ht with hlt | rfl |
| 244 | · exact hnegative t hlt |
| 245 | · have hq : ContinuousOn q (Iic 0) := |
| 246 | ((scalarEvolution_continuousOn_ancient hM04 F x).add |
| 247 | ((scalarCurvature_mvfderiv_continuousOn_time hM04 (Iic 0) F x v).const_mul 2)).add |
| 248 | ((ricci_continuousOn_ancient F x v v).const_mul 2) |
| 249 | exact Poincare.Asymptotics.nonneg_at_zero_of_nonneg_neg (hq 0 self_mem_Iic) hnegative |
| 250 | |
| 251 | /-! The integrated ancient field is the exact time-origin limit of the frozen |
| 252 | finite integrated field. -/ |
| 253 | theorem ancient_integrated_of_finite_integrated |
| 254 | (hM04 : RicciFlowCurvatureTheory.{u}) |
| 255 | (finite_integrated : |
| 256 | ∀ (n : ℕ) (M : Type u) [TopologicalSpace M] |
| 257 | [ChartedSpace (EuclideanSpace ℝ (Fin n)) M] [IsManifold (𝓡 n) ∞ M] |
| 258 | [T2Space M] [T3Space M] [SecondCountableTopology M], |
| 259 | ∀ T₀ T₁ t₁ t₂ : ℝ, T₀ < t₁ → t₁ < t₂ → t₂ < T₁ → |
| 260 | ∀ F : RicciFlow n M (Ioo T₀ T₁), |
| 261 | (∀ t ∈ Ioo T₀ T₁, MetricComplete (F.metric t)) → |
| 262 | (∀ t ∈ Ioo T₀ T₁, ∀ x : M, |
| 263 | LeviCivitaData.NonnegativeCurvatureOperator (F.connection t) x) → |
| 264 | (∀ t ∈ Ioo T₀ T₁, ∃ K : ℝ, 0 ≤ K ∧ |
| 265 | ∀ x : M, LeviCivitaData.CurvatureOperatorBound (F.connection t) K x) → |
| 266 | ∀ γ : ℝ → M, ContMDiffOn (𝓘(ℝ, ℝ)) (𝓡 n) 1 γ (Icc t₁ t₂) → |
| 267 | ∀ x₁ x₂ : M, γ t₁ = x₁ → γ t₂ = x₂ → |
| 268 | (F.connection t₂).scalarCurvature x₂ * (t₂ - T₀) ≥ |
| 269 | (F.connection t₁).scalarCurvature x₁ * (t₁ - T₀) * |
| 270 | Real.exp (-spacetimeEnergy F γ t₁ t₂ / 2)) |
| 271 | {n : ℕ} {M : Type u} [TopologicalSpace M] |
| 272 | [ChartedSpace (EuclideanSpace ℝ (Fin n)) M] |
| 273 | [IsManifold (𝓡 n) ∞ M] [T2Space M] [T3Space M] |
| 274 | [SecondCountableTopology M] [ConnectedSpace M] |
| 275 | (F : RicciFlow n M (Iic 0)) |
| 276 | (hcomplete : ∀ t ≤ 0, MetricComplete (F.metric t)) |
| 277 | (hcurv : ∀ t ≤ 0, ∀ x : M, |
| 278 | LeviCivitaData.NonnegativeCurvatureOperator (F.connection t) x) |
| 279 | (hbound : ∀ t ≤ 0, ∃ K : ℝ, 0 ≤ K ∧ |
| 280 | ∀ x : M, LeviCivitaData.CurvatureOperatorBound (F.connection t) K x) |
| 281 | {t₁ t₂ : ℝ} (ht₁₂ : t₁ < t₂) (ht₂ : t₂ ≤ 0) |
| 282 | (γ : ℝ → M) |
| 283 | (hγ : ContMDiffOn (𝓘(ℝ, ℝ)) (𝓡 n) 1 γ (Icc t₁ t₂)) |
| 284 | {x₁ x₂ : M} (hγ₁ : γ t₁ = x₁) (hγ₂ : γ t₂ = x₂) : |
| 285 | (F.connection t₂).scalarCurvature x₂ ≥ |
| 286 | (F.connection t₁).scalarCurvature x₁ * |
| 287 | Real.exp (-spacetimeEnergy F γ t₁ t₂ / 2) := by |
| 288 | apply Poincare.RicciFlow.Harnack.integrated_at_terminal_of_finite_origins_flow |
| 289 | F ht₁₂ γ hγ₁ hγ₂ |
| 290 | · exact scalarCurvature_continuousOn_path hM04 (Iic 0) F γ |
| 291 | (fun s hs ↦ le_trans hs.2 ht₂) hγ.continuousOn |
| 292 | · exact intervalIntegrable_spacetimeEnergy_integrand F ht₁₂ |
| 293 | (fun s hs ↦ le_trans hs.2 ht₂) γ hγ |
| 294 | intro t ht |
| 295 | have ht₁ : t₁ < 0 := lt_of_lt_of_le (lt_trans ht.1 ht.2) ht₂ |
| 296 | filter_upwards [eventually_lt_atBot t₁] with T hT |
| 297 | have hT0 : T < 0 := lt_trans hT ht₁ |
| 298 | have hsub : Ioo T 0 ⊆ Iic (0 : ℝ) := fun s hs ↦ hs.2.le |
| 299 | have hne : (Ioo T (0 : ℝ)).Nontrivial := by |
| 300 | refine ⟨T / 2, ⟨by linarith, by linarith⟩, T / 3, |
| 301 | ⟨by linarith, by linarith⟩, ?_⟩ |
| 302 | linarith |
| 303 | let G := restrictFlow F hsub inferInstance hne |
| 304 | have hIcc' : Icc t₁ t ⊆ Icc t₁ t₂ := by |
| 305 | intro s hs |
| 306 | exact ⟨hs.1, le_trans hs.2 (le_of_lt ht.2)⟩ |
| 307 | have hfin := finite_integrated n M T 0 t₁ t hT ht.1 |
| 308 | (lt_of_lt_of_le ht.2 ht₂) G |
| 309 | (fun s hs ↦ hcomplete s hs.2.le) |
| 310 | (fun s hs ↦ hcurv s hs.2.le) |
| 311 | (fun s hs ↦ hbound s hs.2.le) γ (hγ.mono hIcc') x₁ (γ t) hγ₁ rfl |
| 312 | dsimp [G, restrictFlow] at hfin |
| 313 | exact hfin |
| 314 | |
| 315 | /-- Assign the finite-origin producer to the unchanged frozen M06 fields. -/ |
| 316 | theorem with_ancient_harnack (hM04 : RicciFlowCurvatureTheory.{u}) |
| 317 | (H : HarnackAncientTheory.{u}) : |
| 318 | HarnackAncientTheory.{u} := |
| 319 | { H with |
| 320 | ancient_differential := by |
| 321 | intro n M _ _ _ _ _ _ _ F hcomplete hcurv hbound _ |
| 322 | exact ancient_differential_of_finite hM04 H.finite_differential F |
| 323 | hcomplete hcurv hbound |
| 324 | ancient_integrated := by |
| 325 | intro n M _ _ _ _ _ _ _ F hcomplete hcurv hbound _ |
| 326 | intro t₁ t₂ ht₁₂ ht₂ γ hγ x₁ x₂ hγ₁ hγ₂ |
| 327 | exact ancient_integrated_of_finite_integrated hM04 H.finite_integrated F |
| 328 | hcomplete hcurv hbound ht₁₂ ht₂ γ hγ hγ₁ hγ₂ } |
| 329 | |
| 330 | theorem integrated_of_finite_origins {t₁ t₂ A B E : ℝ} |
| 331 | (hfinite : ∀ᶠ T : ℝ in Filter.atBot, |
| 332 | A * (t₁ - T) * E ≤ B * (t₂ - T)) : |
| 333 | A * E ≤ B := by |
| 334 | exact Poincare.RicciFlow.Harnack.integrated_of_finite_origins hfinite |
| 335 | |
| 336 | theorem integrated_of_finite_start |
| 337 | {t₁ t₂ A B E : ℝ} |
| 338 | (finite : ∀ᶠ T : ℝ in Filter.atBot, |
| 339 | A * (t₁ - T) * E ≤ B * (t₂ - T)) : |
| 340 | A * E ≤ B := by |
| 341 | exact Poincare.RicciFlow.Harnack.integrated_of_finite_start finite |
| 342 | |
| 343 | theorem differential_of_finite_origins {Q R t : ℝ} |
| 344 | (finite : ∀ᶠ T : ℝ in Filter.atBot, 0 ≤ Q + R / (t - T)) : |
| 345 | 0 ≤ Q := by |
| 346 | exact Poincare.RicciFlow.Harnack.differential_of_finite_origins finite |
| 347 | |
| 348 | theorem terminal_nonneg_of_negative |
| 349 | {f : ℝ → ℝ} (continuous : ContinuousWithinAt f (Set.Iic 0) 0) |
| 350 | (negative : ∀ t < 0, 0 ≤ f t) : |
| 351 | 0 ≤ f 0 := by |
| 352 | exact Poincare.RicciFlow.Harnack.terminal_nonneg_of_negative continuous negative |
| 353 | |
| 354 | end Poincare.Geometry.RicciFlow.Harnack |