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.Extinction.Width.Class.Topology.Providers |
| 2 | import PoincareLib.AlgebraicTopology.HomotopyGroup.LoopSpace.Basepoint.Service |
| 3 | import PoincareLib.AlgebraicTopology.HomotopyGroup.LoopSpace.Families.IdentificationSystem |
| 4 | |
| 5 | /-! |
| 6 | # M59 loop classes and basepoint transport proof entry |
| 7 | |
| 8 | The coherent loop-space identification uses C1 approximation, cubical |
| 9 | adjunction and the compact and noncompact universal-cover arguments. |
| 10 | The higher-basepoint service is constructed from cubical homotopy extension. |
| 11 | Component realization and M58's short-loop consequence are checked |
| 12 | applications of that construction. |
| 13 | -/ |
| 14 | |
| 15 | set_option autoImplicit false |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | namespace PoincareMT |
| 20 | |
| 21 | /-- M59: given the applied M02 closed-topology and M58 short-loop services, |
| 22 | construct one coherent C1-loop-space comparison system. On every closed |
| 23 | connected smooth three-manifold with pi2=0 and a chosen point, it identifies |
| 24 | pi2 of the null-loop component with pi3 of the manifold, relates the genuine |
| 25 | absolute and relative square models, and supplies normalized regular sphere |
| 26 | representatives. Raw free homotopy characterizes their based class equality |
| 27 | and yields regular-family homotopy. Smooth maps give actual regular |
| 28 | postcomposition and commute with the same chosen comparisons. |
| 29 | |
| 30 | For the free-class comparison, use the simply connected cover: on a compact |
| 31 | cover apply M02 and the degree/Lefschetz argument for the deck action; on a |
| 32 | noncompact cover use Hurewicz and top-dimensional homology vanishing. The |
| 33 | general finite-free-product classification, finite-cover package and full |
| 34 | noncompact contractibility are not exported by this milestone. |
| 35 | |
| 36 | On a selected surgery component, realize a specified pi3 class using the |
| 37 | same sphere parameter and comparison. Under M58's uniform short-loop length |
| 38 | threshold on the chosen metric, this represented class is the identity. |
| 39 | The legacy width adapter retains its actual carrier, metric and class. |
| 40 | |
| 41 | Also construct one higher-homotopy basepoint service on every space in the |
| 42 | working universe. Its maps descend from actual GenLoop operations, satisfy |
| 43 | identity, path-composition and reverse-path laws, preserve the group identity |
| 44 | and multiplication in positive dimensions, and commute with continuous |
| 45 | postcomposition. Homotopy extension gives the positive-dimensional operation |
| 46 | equivalent to Hatcher's beta_(p.symm) for a path p from source to target; |
| 47 | at dimension zero it preserves the path-component class. These are |
| 48 | construction methods for the exported laws, not additional defining |
| 49 | equations in the service type. |
| 50 | |
| 51 | Sources: Morgan--Tian Claim 18.16 and Definition 18.17, p. 430; Lemma 18.27 and |
| 52 | Corollary 18.28, p. 434. Perelman III Section 1 supplies the relative-loop |
| 53 | formulation. The fixed-point/free-class argument uses Hatcher Theorem 2C.3, |
| 54 | p. 179, and Proposition 4A.2, p. 422, with the archived corrections. The |
| 55 | full derivation, homology support, corrected short-loop threshold and C1 |
| 56 | qualification are in `reviews/contracts/M59-round1.md`, as narrowed by |
| 57 | `reviews/contracts/2026-09-20-note05-contract-amendments.md`, and |
| 58 | `reviews/errata/2026-09-10-surgery-extinction-audit.md`. The 2015 Section 19.2 |
| 59 | correction does not change these Chapter 18 topology claims. Basepoint |
| 60 | transport uses Hatcher Section 4.1, pp. 341-342; its derivation and producer |
| 61 | ownership are in `reviews/contracts/2026-09-17-m59-basepoint-producer-round1.md`. -/ |
| 62 | theorem m59LoopClassesAndComponentTopology |
| 63 | (P02 : RepairedClosedTopologyProvider.{u}) |
| 64 | (P58 : RepairedShortLoopTrivialityTheory.{u}) : |
| 65 | M59LoopClassesAndComponentTopologyTheory.{u} := by |
| 66 | let S := m59IdentificationSystem P02 |
| 67 | refine ⟨S, m59ComponentRepresentative_from_identification S, ?_⟩ |
| 68 | exact ⟨m59ShortLoopPiThree_of_service P58 S, m59HigherBasepointTransportService_nonempty⟩ |
| 69 | |
| 70 | /-- Apply the exact earlier milestones once for downstream consumers. -/ |
| 71 | theorem m59LoopClassesAndComponentTopology_from_predecessors : |
| 72 | M59LoopClassesAndComponentTopologyTheory.{u} := |
| 73 | m59LoopClassesAndComponentTopology m59ClosedTopologyProvider_from_M02 |
| 74 | repairedShortLoopTriviality |
| 75 | |
| 76 | end PoincareMT |