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.Spacetime.Rescaling.DomainCalculus |
| 2 | import PoincareLib.Geometry.Spacetime.Rescaling.BackwardEndpoints |
| 3 | import PoincareLib.Geometry.Spacetime.Rescaling.Bounds |
| 4 | |
| 5 | /-! Ported from Mapher06/Poincare-MorganTian, `PoincareMT/Definitions/M13Rescaling.lean`, |
| 6 | revision `49331b7d7ecad38f53e4300c3b35d6a84b2cc648`. |
| 7 | Declaration bodies are unchanged; only imports and module placement differ. -/ |
| 8 | |
| 9 | /-! |
| 10 | # Complete constructed parabolic rescaling |
| 11 | |
| 12 | Morgan-Tian Definition 3.40, p. 61, with actual compatible domains from |
| 13 | Definitions 3.38 and 3.41, pp. 61-62. All fields refer to one selected |
| 14 | constructed rescaling. Existence of this record is the full M13 theorem's |
| 15 | conclusion, and no definition obtains it from an admitted theorem. |
| 16 | -/ |
| 17 | |
| 18 | set_option autoImplicit false |
| 19 | |
| 20 | open scoped Manifold ContDiff Bundle ENNReal Topology |
| 21 | |
| 22 | universe u |
| 23 | |
| 24 | namespace PoincareMT |
| 25 | |
| 26 | /-- One actual rescaling and all its metric, differential and domain identities. -/ |
| 27 | structure GeneralizedParabolicRescaling {n : ℕ} {X : Type u} [TopologicalSpace X] |
| 28 | {A : AdaptedMetricAtlas n X} (R : GeneralizedFlowCarrierConclusion A) |
| 29 | (Q : ℝ) (hQ : 0 < Q) (a : ℝ) where |
| 30 | geometry : ParabolicSpacetimeRescaling R Q hQ a |
| 31 | horizontal : ParabolicHorizontalCalculus geometry |
| 32 | backwardEndpoints : ParabolicBackwardEndpointCalculus geometry |
| 33 | bounds : ParabolicScaleBounds geometry |
| 34 | domains : ParabolicDomainTransport.{u, u} geometry |
| 35 | domain_calculus : ParabolicDomainCalculus domains |
| 36 | coordinateDomains : ParabolicDomainTransport.{u, 0} geometry |
| 37 | coordinate_domain_calculus : ParabolicDomainCalculus coordinateDomains |
| 38 | ball_neighborhoods : ∀ (t : ℝ) (p : (R.slices t).Point) (r : ℝ), 0 < r → |
| 39 | ∀ K : SpacetimeInterval, Nonempty (ParabolicBallNeighborhoodTransport geometry t p r K) |
| 40 | |
| 41 | end PoincareMT |