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.AnnulusTheory |
| 2 | import PoincareLib.Geometry.CurveShortening.Comparison.AnnularEvolution.Infimum |
| 3 | |
| 4 | /-! |
| 5 | # Elementary fields of annular evolution |
| 6 | |
| 7 | Once an admissible annulus is supplied at every time, the first three fields |
| 8 | of `M64AnnulusFlowConclusion` follow from the guarded area-range lemmas. The |
| 9 | regularity, forward-variation, and exponential fields are deliberately left |
| 10 | to their geometric producers. |
| 11 | |
| 12 | Morgan--Tian context: Lemma 19.15 and its annular area-to-energy construction, printed pp. |
| 13 | 447-449. |
| 14 | -/ |
| 15 | |
| 16 | set_option autoImplicit false |
| 17 | |
| 18 | open Set |
| 19 | open scoped Manifold ContDiff Bundle Topology |
| 20 | |
| 21 | universe u |
| 22 | |
| 23 | namespace PoincareMT |
| 24 | |
| 25 | variable {n : ℕ} {M : Type u} [TopologicalSpace M] |
| 26 | [ChartedSpace (EuclideanSpace ℝ (Fin n)) M] |
| 27 | [IsManifold (𝓡 n) ∞ M] |
| 28 | {a b : ℝ} {F : RicciFlow n M (Set.Icc a b)} |
| 29 | |
| 30 | /-- Actual annuli at each time supply nonempty area classes, lower bounds and nonnegative |
| 31 | least areas. Source: Morgan--Tian (2007), Lemma 19.15 and Corollary 19.16, pp. 447-449; |
| 32 | project derivation |
| 33 | `proof-work/tasks/M64/reports/2026-09-27-annulus-energy-and-finite-variation-derivation.md`. -/ |
| 34 | theorem m64AnnulusFlow_elementary_fields |
| 35 | {circumference : ℝ} {P : M62.CircleProductData F circumference} |
| 36 | {c0 c1 : ℝ → ℝ → P.charts.Point} |
| 37 | (hA : ∀ t ∈ Set.Icc a b, |
| 38 | Nonempty (M64Annulus (P.flow.metric t) |
| 39 | (fun x => c0 x t) (fun x => c1 x t))) : |
| 40 | (∀ t ∈ Set.Icc a b, |
| 41 | Nonempty (M64Annulus (P.flow.metric t) |
| 42 | (fun x => c0 x t) (fun x => c1 x t))) ∧ |
| 43 | (∀ t ∈ Set.Icc a b, |
| 44 | BddBelow (m64AnnulusAreaRange (P.flow.metric t) |
| 45 | (fun x => c0 x t) (fun x => c1 x t))) ∧ |
| 46 | (∀ t ∈ Set.Icc a b, |
| 47 | 0 ≤ m64FlowAnnulusArea P c0 c1 t) := by |
| 48 | refine ⟨hA, ?_, ?_⟩ |
| 49 | · intro t ht |
| 50 | exact m64AnnulusAreaRange_bddBelow (P.flow.metric t) |
| 51 | (fun x => c0 x t) (fun x => c1 x t) |
| 52 | · intro t ht |
| 53 | obtain ⟨A⟩ := hA t ht |
| 54 | simpa only [m64FlowAnnulusArea] using m64LeastAnnulusArea_nonneg A |
| 55 | |
| 56 | end PoincareMT |