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.Generalized.BoundedDistance.GeometryImports |
| 2 | import PoincareLib.Geometry.RicciFlow.Generalized.BoundedDistance.Spacetime.StrongNecks.Geometry.StrongNeckVolumeCharts |
| 3 | |
| 4 | /-! |
| 5 | # A fixed finite coordinate cover of a buffered model cylinder |
| 6 | |
| 7 | The model cover is chosen before any source manifold, metric or neck. |
| 8 | This fixes the number of charts in the uniform upper-volume estimate |
| 9 | used in Morgan--Tian Theorem 5.6, pp. 85-87, and Claims 10.7-10.10. |
| 10 | -/ |
| 11 | |
| 12 | set_option autoImplicit false |
| 13 | |
| 14 | open Set |
| 15 | open scoped Manifold ContDiff Topology |
| 16 | |
| 17 | namespace PoincareMT.M28 |
| 18 | |
| 19 | private abbrev E := EuclideanSpace ℝ (Fin 3) |
| 20 | |
| 21 | /-- Every fixed finite model slab has a finite cover by the actual model |
| 22 | coordinate unit balls, with each chart centered in that same slab. The |
| 23 | choice is independent of all source-neck geometry. -/ |
| 24 | theorem exists_neckVolumeModelChart_finite_cover (S : ℝ) : |
| 25 | ∃ t : Finset (univ ×ˢ Icc (-2 * S) (2 * S) : Set RoundCylinderSpace), |
| 26 | (univ ×ˢ Icc (-2 * S) (2 * S) : Set RoundCylinderSpace) ⊆ |
| 27 | ⋃ z ∈ t, neckVolumeModelChart z.val.1 z.val.2 '' Metric.ball (0 : E) 1 := by |
| 28 | let K : Set RoundCylinderSpace := univ ×ˢ Icc (-2 * S) (2 * S) |
| 29 | let U (z : K) : Set RoundCylinderSpace := |
| 30 | neckVolumeModelChart z.val.1 z.val.2 '' Metric.ball (0 : E) 1 |
| 31 | have hU (z : K) : IsOpen (U z) := by |
| 32 | apply (neckVolumeModelChart z.val.1 z.val.2).isOpen_image_of_subset_source |
| 33 | Metric.isOpen_ball |
| 34 | rw [neckVolumeModelChart_source] |
| 35 | exact subset_univ _ |
| 36 | have hcover : K ⊆ ⋃ z : K, U z := by |
| 37 | intro z hz |
| 38 | apply mem_iUnion.mpr |
| 39 | refine ⟨⟨z, hz⟩, 0, by simp, ?_⟩ |
| 40 | exact neckVolumeModelChart_zero z.1 z.2 |
| 41 | exact (isCompact_univ.prod isCompact_Icc).elim_finite_subcover U hU hcover |
| 42 | |
| 43 | end PoincareMT.M28 |