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.Induction.Noncollapse.Assembly.Volume.SmallBallVolume |
| 3 | import PoincareLib.Geometry.RicciFlow.Surgery.Control.Basic |
| 4 | |
| 5 | /-! |
| 6 | # Smaller positive tests from the actual doubled-ball cylinder |
| 7 | |
| 8 | The fixed Bishop--Gromov loss depends on no component sign or surgery |
| 9 | scale. Source: MT Theorem 1.34 and Proposition 16.1, pp. 19, 367-368; |
| 10 | seed-low-cylinder.md, Stage I2. |
| 11 | -/ |
| 12 | |
| 13 | set_option autoImplicit false |
| 14 | |
| 15 | open Set |
| 16 | open scoped Manifold ContDiff ENNReal |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | namespace PoincareMT.M47 |
| 21 | |
| 22 | /-- A literal larger cylinder and its physical volume give the same |
| 23 | fixed smaller-ball density, without a nonpositive-component guard. -/ |
| 24 | theorem seed_small_volume_of_larger_cylinder |
| 25 | {F : SurgeryFlowData.{u}} {T rho r k : ℝ} (hTF : T ∈ F.time_domain) |
| 26 | (x : (F.slice T).carrier) (hrho : 0 < rho) (hr : 0 < r) |
| 27 | (hsmall : r ≤ rho) (hk : 0 < k) |
| 28 | (e : SurgeryFlowCylinder F (F.slice T) T 1 (Icc (-rho ^ 2) 0) |
| 29 | ((F.metric T).ball x (2 * rho))) |
| 30 | (hbased : ∀ hs y, y ∈ (F.metric T).ball x (2 * rho) → HEq (e.forward 0 hs y) y) |
| 31 | (hcurv : ∀ s hs y, y ∈ (F.metric T).ball x (2 * rho) → |
| 32 | (F.connection (T + s / 1)).curvatureTensorNorm (e.forward s hs y) ≤ rho⁻¹ ^ 2) |
| 33 | (hvolume : ENNReal.ofReal (k * rho ^ 3) ≤ |
| 34 | calibratedMetricVolume (F.metric T) ((F.metric T).ball x rho)) : |
| 35 | ENNReal.ofReal (Proofs.M46.smallBallLoss * k * r ^ 3) ≤ |
| 36 | calibratedMetricVolume (F.metric T) ((F.metric T).ball x r) := by |
| 37 | have hzero : (0 : ℝ) ∈ Icc (-rho ^ 2) 0 := ⟨neg_nonpos.mpr (sq_nonneg rho), le_rfl⟩ |
| 38 | have hterminal (y : (F.slice T).carrier) (hy : y ∈ (F.metric T).ball x (2 * rho)) : |
| 39 | (F.connection T).curvatureTensorNorm y ≤ rho⁻¹ ^ 2 := by |
| 40 | have hpoint : (⟨T + 0 / 1, e.forward 0 hzero y⟩ : |
| 41 | (t : ℝ) × (F.slice t).carrier) = ⟨T, y⟩ := |
| 42 | Sigma.ext (by simp) (hbased hzero y hy) |
| 43 | have hread := congrArg (fun q : (t : ℝ) × (F.slice t).carrier => |
| 44 | (F.connection q.1).curvatureTensorNorm q.2) hpoint |
| 45 | exact hread ▸ hcurv 0 hzero y hy |
| 46 | exact Proofs.M46.calibrated_small_ball_lower_bound (F.metric T) (F.connection T) x |
| 47 | hrho hr hsmall hk |
| 48 | ((F.slices_compact T hTF).of_isClosed_subset isClosed_closure (subset_univ _)) |
| 49 | hterminal hvolume |
| 50 | |
| 51 | end PoincareMT.M47 |