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.Noncollapse.Provider |
| 2 | |
| 3 | /-! |
| 4 | # Noncollapsing from a configuration provider |
| 5 | |
| 6 | Adapted from Mapher `Proofs/M15/Thm8_1_Provider.lean` at |
| 7 | `0c5d5c4e1ecbc12703b1994e226df1b15d2e8d39`. |
| 8 | Morgan-Tian Theorem 8.1, p. 169. |
| 9 | -/ |
| 10 | |
| 11 | set_option autoImplicit false |
| 12 | |
| 13 | open scoped Manifold ContDiff Bundle ENNReal Topology |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | namespace PoincareMT.Generalized.Noncollapse |
| 18 | |
| 19 | /-- Apply the uniform estimate to each configuration supplied on the region. -/ |
| 20 | theorem provider_implies_noncollapse {n : ℕ} {X : Type u} [TopologicalSpace X] |
| 21 | {time : X → ℝ} {I : SpacetimeInterval} |
| 22 | (G : GeneralizedLGeometryTransport n X time I) (Omega : Set G.Point) |
| 23 | (taubar l₀ V r₀ : ℝ) (U : M15GeneralizedUniformData.{u} n taubar l₀ V) : |
| 24 | M15ProviderImpliesNoncollapse G Omega taubar l₀ V r₀ U.kappa U := by |
| 25 | intro provider |
| 26 | refine ⟨rfl, ?_⟩ |
| 27 | intro p hp r hr hr₀ x hx K C _ _ _ _ _ B |
| 28 | obtain ⟨E, ⟨D⟩⟩ := provider.provide p hp r hr hr₀ x hx K C B |
| 29 | exact U.estimate X time I G (G.spacetime.timeFunction p) x E r K C B D |
| 30 | |
| 31 | end PoincareMT.Generalized.Noncollapse |