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.CurveShortening.Comparison.FamilyAdapters |
| 2 | import PoincareLib.Geometry.CurveShortening.Comparison.ApproximationTheory |
| 3 | |
| 4 | /-! |
| 5 | # Applying the static raw-family supplier |
| 6 | |
| 7 | The static record supplies an M64 raw approximation at every sufficiently |
| 8 | large count. This file applies the checked M63 family adapter separately at |
| 9 | each count, retaining the same raw record and the selected analytic geometry. |
| 10 | |
| 11 | Morgan--Tian context: Section 19.4, Definition 19.18 and Claims 19.19-19.22, printed pp. |
| 12 | 450-453. |
| 13 | -/ |
| 14 | |
| 15 | set_option autoImplicit false |
| 16 | |
| 17 | open Set |
| 18 | open scoped Manifold ContDiff Bundle |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | namespace PoincareMT |
| 23 | |
| 24 | variable {M : Type u} [TopologicalSpace M] [T2Space M] |
| 25 | [SecondCountableTopology M] |
| 26 | [ChartedSpace LoopAmbient M] [IsManifold (𝓡 3) ∞ M] |
| 27 | {a b : ℝ} {F : RicciFlow 3 M (Set.Icc a b)} |
| 28 | {G : M63AmbientGeometry F} |
| 29 | |
| 30 | /-- Turn an M64 raw-family supplier into the all-count evolving-family conclusion, using the |
| 31 | already selected M63 analytic geometry. Source: Auxiliary step for MT Definition 19.18 and |
| 32 | Claims 19.19/19.22, pp. 450-453; project construction in |
| 33 | `proof-work/tasks/M64/reports/2026-09-23-static-polygon.md`. -/ |
| 34 | theorem m64FamilyApproximationTheory_from_static_raw |
| 35 | (hM63 : M63RampEstimatesTheory.{u}) |
| 36 | (compact : IsCompact (Set.univ : Set M)) |
| 37 | (analytic : M63AnalyticConclusion F G) |
| 38 | (raw_family : ∀ Gamma : ContinuousMap LoopTwoSphere |
| 39 | (C1FreeLoopSpace (M := M)), M61NullFamily Gamma → |
| 40 | ∀ zeta : ℝ, 0 < zeta → ∃ N0 : ℕ, 0 < N0 ∧ |
| 41 | ∀ N : ℕ, N0 ≤ N → |
| 42 | ∃ A : M64RawFamilyApproximation (F.metric a) (F.connection a) Gamma zeta, |
| 43 | A.count = N) : |
| 44 | M64FamilyApproximationTheory F G := by |
| 45 | intro Gamma hnull zeta hzeta |
| 46 | obtain ⟨N0, hN0, hraw⟩ := raw_family Gamma hnull zeta hzeta |
| 47 | refine ⟨N0, hN0, ?_⟩ |
| 48 | intro N hNN |
| 49 | obtain ⟨raw, hcount⟩ := hraw N hNN |
| 50 | exact m64EvolvingApproximation_from_M63 hM63 compact analytic hnull hzeta raw hcount |
| 51 | |
| 52 | end PoincareMT |