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.Topology.Manifold.Poincare.Final.Compatibility.SourceNames |
| 2 | import PoincareLib.Geometry.RicciFlow.Surgery.CanonicalInduction.Seed.Volume.SeedVolume |
| 3 | |
| 4 | /-! |
| 5 | # Pinching on the stopped component history |
| 6 | |
| 7 | The proved M46 scalar-to-full-curvature estimate applies with the identical |
| 8 | services already supplied to M47. It gives a fixed full-curvature coefficient |
| 9 | after rescaling a component whose scalar is bounded above by LQ. Source: |
| 10 | Corollary 4.33, p. 80, in the first-failure argument, pp. 402-405. |
| 11 | See `proof-work/tasks/M47/derivations/component-estimate.md`, Stage D1. |
| 12 | -/ |
| 13 | |
| 14 | set_option autoImplicit false |
| 15 | |
| 16 | open Set |
| 17 | open scoped Manifold ContDiff |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | namespace PoincareMT.M47 |
| 22 | |
| 23 | variable {M : Type u} [TopologicalSpace M] |
| 24 | [ChartedSpace (EuclideanSpace ℝ (Fin 3)) M] [IsManifold (𝓡 3) ∞ M] |
| 25 | {g : RiemannianMetric 3 M} {D : LeviCivitaData g} |
| 26 | |
| 27 | /-- On the stopped scalar-controlled component, pinching gives the |
| 28 | uniform full-curvature coefficient thirteen; Corollary 4.33, p. 80. -/ |
| 29 | theorem component_pinched_curvature_bound (P : M47Predecessors.{u}) |
| 30 | {t Q L : ℝ} {U : Set M} (hpinch : SurgeryPinchedOn D t U) |
| 31 | (hQ : Real.exp 4 ≤ Q) (hL : 1 ≤ L) {x : M} (hx : x ∈ U) |
| 32 | (hscalar : D.scalarCurvature x ≤ L * Q) : |
| 33 | D.curvatureTensorNorm x ≤ 13 * (L * Q) := by |
| 34 | have hQpos : 0 < Q := (Real.exp_pos 4).trans_le hQ |
| 35 | have hQL : Q ≤ L * Q := by nlinarith |
| 36 | exact (Proofs.M46.pinched_curvature_norm_le P.toM46 hpinch hx).trans |
| 37 | (mul_le_mul_of_nonneg_left (max_le hscalar (hQ.trans hQL)) (by norm_num)) |
| 38 | |
| 39 | /-- Absolute pinching supplies the scalar floor used before rescaling; |
| 40 | Definition 4.30 and Corollary 4.33, pp. 79-80. -/ |
| 41 | theorem component_pinched_scalar_floor {t : ℝ} {U : Set M} |
| 42 | (hpinch : SurgeryPinchedOn D t U) {x : M} (hx : x ∈ U) : |
| 43 | -6 ≤ D.scalarCurvature x := by |
| 44 | have hden : 0 < 1 + 4 * t := by linarith [hpinch.1] |
| 45 | have hfloor : (-6 : ℝ) ≤ -6 / (1 + 4 * t) := by |
| 46 | apply (le_div_iff₀ hden).2 |
| 47 | nlinarith [hpinch.1] |
| 48 | exact hfloor.trans (hpinch.2.1 x hx) |
| 49 | |
| 50 | /-- In LQ units the pinched scalar is at least minus one once Q is |
| 51 | at least six; this is the floor for local scalar persistence. -/ |
| 52 | theorem component_pinched_scaled_scalar_floor {t Q L : ℝ} {U : Set M} |
| 53 | (hpinch : SurgeryPinchedOn D t U) (hQ : 6 ≤ Q) (hL : 1 ≤ L) |
| 54 | {x : M} (hx : x ∈ U) : -(L * Q) ≤ D.scalarCurvature x := by |
| 55 | have hQL : 6 ≤ L * Q := by nlinarith |
| 56 | exact (by linarith : -(L * Q) ≤ -6).trans (component_pinched_scalar_floor hpinch hx) |
| 57 | |
| 58 | end PoincareMT.M47 |