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.StandardCap.Uniqueness.Imports |
| 2 | import PoincareLib.Geometry.RicciFlow.Local.Theory |
| 3 | import PoincareLib.Geometry.RicciFlow.Curvature.Theory |
| 4 | import PoincareLib.Geometry.RicciFlow.Compactness.Convergence |
| 5 | import PoincareLib.Geometry.RicciFlow.Rescaling.Theory |
| 6 | import PoincareLib.Geometry.RicciFlow.CanonicalNeighborhood.Ancient.Statement |
| 7 | import PoincareLib.Geometry.RicciFlow.Blowup.Controlled.Theory |
| 8 | |
| 9 | /-! |
| 10 | # Earlier services for M35's standard-flow estimates |
| 11 | |
| 12 | All direct carriers are Type 0. M04, compact surface uniqueness and M07 |
| 13 | support geometry of an arbitrary competing flow; M13 supplies actual |
| 14 | rescaling and metric transport; M27 and M30 supply the blowup arguments. |
| 15 | The supplied M34 existence package remains the geometric input. See the |
| 16 | complete derivation in reviews/contracts/2026-09-17-m35-full-contract.md. |
| 17 | -/ |
| 18 | |
| 19 | set_option autoImplicit false |
| 20 | |
| 21 | open scoped Manifold ContDiff Bundle ENNReal Topology |
| 22 | |
| 23 | namespace PoincareMT |
| 24 | |
| 25 | structure M35StandardCapPredecessors : Prop where |
| 26 | curvature : RicciFlowCurvatureTheory.{0} |
| 27 | compact_surface_uniqueness : |
| 28 | ∀ (M : Type) [TopologicalSpace M] |
| 29 | [ChartedSpace (EuclideanSpace ℝ (Fin 2)) M] [IsManifold (𝓡 2) ∞ M] |
| 30 | [T2Space M] [SecondCountableTopology M] [CompactSpace M], |
| 31 | RicciFlowUniqueness 2 M |
| 32 | pointed_compactness : |
| 33 | ∀ {T' T : ℝ} (H : PointedRicciFlowCompactnessHypotheses 3 T' T), |
| 34 | Nonempty (PointedRicciFlowCompactnessConclusion H) |
| 35 | ordinary_flow : ∀ (M : Type) [TopologicalSpace M] |
| 36 | [ChartedSpace (EuclideanSpace ℝ (Fin 3)) M] [IsManifold (𝓡 3) ∞ M] |
| 37 | [T2Space M] [SecondCountableTopology M] |
| 38 | (I : SpacetimeInterval) (F : RicciFlow 3 M I.domain) (Q : ℝ) (hQ : 0 < Q) (a : ℝ), |
| 39 | Nonempty (OrdinaryParabolicRescaling F Q hQ a) |
| 40 | metric_homothety : ∀ (M N : Type) [TopologicalSpace M] |
| 41 | [ChartedSpace (EuclideanSpace ℝ (Fin 3)) M] [IsManifold (𝓡 3) ∞ M] |
| 42 | [TopologicalSpace N] [ChartedSpace (EuclideanSpace ℝ (Fin 3)) N] |
| 43 | [IsManifold (𝓡 3) ∞ N] |
| 44 | [T3Space M] [MeasurableSpace M] [BorelSpace M] |
| 45 | [T3Space N] [MeasurableSpace N] [BorelSpace N] |
| 46 | (g : RiemannianMetric 3 M) (h : RiemannianMetric 3 N) |
| 47 | (f : Diffeomorph (𝓡 3) (𝓡 3) M N ∞) (Q : ℝ), 0 < Q → |
| 48 | MetricHomothety g h f Q → MetricHomothetyCalculus g h f Q |
| 49 | kappa_models : RepairedKappaAlternativeTheory.{0} |
| 50 | long_limits : ∃ epsilon₀ : ℝ, 0 < epsilon₀ ∧ epsilon₀ ≤ 1 / 400 ∧ |
| 51 | M30LongLimitStatement.{0} epsilon₀ |
| 52 | |
| 53 | end PoincareMT |