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.Theory |
| 2 | |
| 3 | /-! |
| 4 | # Curvature calculus and local derivative estimates |
| 5 | |
| 6 | The analytic part of the curvature theory suffices for differential Harnack, |
| 7 | bounded-ancient dimension reduction, and asymptotic volume decay. Its seven |
| 8 | fields have the exact types of the corresponding frozen curvature services. |
| 9 | The full reviewed theory maps to this smaller interface without changing its |
| 10 | statement or any of its fields. |
| 11 | |
| 12 | References: Morgan--Tian, Theorems 3.28--3.29, pp. 51--52, Theorem 4.40, |
| 13 | p. 82, and Theorem 9.59, pp. 222--225. |
| 14 | -/ |
| 15 | |
| 16 | set_option autoImplicit false |
| 17 | |
| 18 | open scoped Manifold ContDiff Bundle |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | namespace PoincareMT |
| 23 | |
| 24 | /-- Tensor calculus, the three curvature evolution equations, and local Shi |
| 25 | estimates, without curvature preservation or scalar barrier assumptions. -/ |
| 26 | structure RicciFlowCurvatureCalculus : Prop where |
| 27 | tensor_calculus : |
| 28 | ∀ (n : ℕ) (M : Type u) [TopologicalSpace M] |
| 29 | [ChartedSpace (EuclideanSpace ℝ (Fin n)) M] [IsManifold (𝓡 n) ∞ M] |
| 30 | (g : RiemannianMetric n M) (D : LeviCivitaData g), D.CurvatureTensorCalculus |
| 31 | curvature_norm_zero : |
| 32 | ∀ (n : ℕ) (M : Type u) [TopologicalSpace M] |
| 33 | [ChartedSpace (EuclideanSpace ℝ (Fin n)) M] [IsManifold (𝓡 n) ∞ M] |
| 34 | (g : RiemannianMetric n M) (D : LeviCivitaData g) (x : M), |
| 35 | D.curvatureDerivativeNorm 0 x = D.curvatureTensorNorm x |
| 36 | scalar_regular : |
| 37 | ∀ (n : ℕ) (M : Type u) [TopologicalSpace M] |
| 38 | [ChartedSpace (EuclideanSpace ℝ (Fin n)) M] [IsManifold (𝓡 n) ∞ M] |
| 39 | (J : Set ℝ) (F : RicciFlow n M J), |
| 40 | ContMDiffOn ((𝓘(ℝ, ℝ)).prod (𝓡 n)) (𝓘(ℝ, ℝ)) ∞ |
| 41 | (fun p : ℝ × M ↦ (F.connection p.1).scalarCurvature p.2) (J ×ˢ Set.univ) |
| 42 | scalar_evolution : |
| 43 | ∀ (n : ℕ) (M : Type u) [TopologicalSpace M] |
| 44 | [ChartedSpace (EuclideanSpace ℝ (Fin n)) M] [IsManifold (𝓡 n) ∞ M] |
| 45 | (J : Set ℝ) (F : RicciFlow n M J) (t : ℝ), t ∈ J → ∀ x : M, |
| 46 | HasDerivWithinAt (fun s ↦ (F.connection s).scalarCurvature x) |
| 47 | ((F.connection t).laplacian (F.connection t).scalarCurvature x + |
| 48 | 2 * (F.connection t).ricciNormSq x) J t |
| 49 | curvature_evolution : |
| 50 | ∀ (n : ℕ) (M : Type u) [TopologicalSpace M] |
| 51 | [ChartedSpace (EuclideanSpace ℝ (Fin n)) M] [IsManifold (𝓡 n) ∞ M] |
| 52 | (J : Set ℝ) (F : RicciFlow n M J) (t : ℝ), t ∈ J → |
| 53 | ∀ (x : M) (v₁ v₂ v₃ v₄ : TangentSpace (𝓡 n) x), |
| 54 | HasDerivWithinAt (fun s ↦ (F.connection s).curvatureTensor x v₁ v₂ v₃ v₄) |
| 55 | ((F.connection t).tensorLaplacian (F.connection t).riemannEvaluation x |
| 56 | ![v₁, v₂, v₃, v₄] + (F.connection t).curvatureReaction x v₁ v₂ v₃ v₄) J t |
| 57 | ricci_evolution : |
| 58 | ∀ (n : ℕ) (M : Type u) [TopologicalSpace M] |
| 59 | [ChartedSpace (EuclideanSpace ℝ (Fin n)) M] [IsManifold (𝓡 n) ∞ M] |
| 60 | (J : Set ℝ) (F : RicciFlow n M J) (t : ℝ), t ∈ J → |
| 61 | ∀ (x : M) (v w : TangentSpace (𝓡 n) x), |
| 62 | HasDerivWithinAt (fun s ↦ (F.connection s).ricci x v w) |
| 63 | ((F.connection t).tensorLaplacian (F.connection t).ricciEvaluation x ![v, w] + |
| 64 | (F.connection t).ricciReaction x v w) J t |
| 65 | local_derivative_estimates : |
| 66 | ∀ (n k : ℕ) (K α r : ℝ), 0 < K → 0 < α → 0 < r → |
| 67 | ∃ C : ℝ, 0 < C ∧ |
| 68 | ∀ (M : Type u) [TopologicalSpace M] |
| 69 | [ChartedSpace (EuclideanSpace ℝ (Fin n)) M] [IsManifold (𝓡 n) ∞ M] |
| 70 | [T2Space M] [SecondCountableTopology M], |
| 71 | ∀ (T : ℝ), 0 < T → T ≤ α / K → |
| 72 | ∀ (F : RicciFlow n M (Set.Icc 0 T)) (p : M), |
| 73 | IsCompact (closure ((F.metric 0).ball p r)) → |
| 74 | (∀ t ∈ Set.Icc 0 T, ∀ x ∈ (F.metric 0).ball p r, |
| 75 | (F.connection t).curvatureTensorNorm x ≤ K) → |
| 76 | ∀ t ∈ Set.Ioc 0 T, ∀ x ∈ (F.metric 0).ball p (r / 2), |
| 77 | (F.connection t).curvatureDerivativeNorm k x ≤ C / t ^ ((k : ℝ) / 2) |
| 78 | |
| 79 | /-- The reviewed full curvature theory supplies its analytic fields. -/ |
| 80 | theorem RicciFlowCurvatureTheory.toCalculus (hC : RicciFlowCurvatureTheory.{u}) : |
| 81 | RicciFlowCurvatureCalculus.{u} where |
| 82 | tensor_calculus := hC.tensor_calculus |
| 83 | curvature_norm_zero := hC.curvature_norm_zero |
| 84 | scalar_regular := hC.scalar_regular |
| 85 | scalar_evolution := hC.scalar_evolution |
| 86 | curvature_evolution := hC.curvature_evolution |
| 87 | ricci_evolution := hC.ricci_evolution |
| 88 | local_derivative_estimates := hC.local_derivative_estimates |
| 89 | |
| 90 | instance : Coe RicciFlowCurvatureTheory.{u} RicciFlowCurvatureCalculus.{u} := |
| 91 | ⟨RicciFlowCurvatureTheory.toCalculus⟩ |
| 92 | |
| 93 | end PoincareMT |