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.BoundedDistance.GeometryImports |
| 2 | import PoincareLib.Geometry.RicciFlow.Generalized.BoundedDistance.Spacetime.StrongNecks.Curvature.StrongNeckCurvatureBounds |
| 3 | import PoincareLib.Geometry.RicciFlow.Generalized.BoundedDistance.Spacetime.StrongNecks.Geometry.StrongNeckHalfFlow |
| 4 | import PoincareLib.Geometry.RicciFlow.Generalized.BoundedDistance.Spacetime.StrongNecks.Geometry.StrongNeckShiBounds |
| 5 | |
| 6 | /-! |
| 7 | # Actual curvature bounds for every normalized source index |
| 8 | |
| 9 | Theorem 3.28, Morgan--Tian p. 51, and Proposition 5.14, pp. 90-91. |
| 10 | The original strong-neck comparison supplies the whole half-window bound; |
| 11 | the local Shi application constructs all terminal derivative bounds. |
| 12 | The constants precede every source flow and its chosen rescaling. This |
| 13 | fills the analytic source-family inputs of M28 derivations 32 and 33. |
| 14 | -/ |
| 15 | |
| 16 | set_option autoImplicit false |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | |
| 19 | open Set |
| 20 | open scoped Manifold ContDiff Bundle Topology |
| 21 | |
| 22 | universe u |
| 23 | |
| 24 | namespace PoincareMT.M28 |
| 25 | |
| 26 | /-- Original strong-neck data produce uniform half-window curvature and |
| 27 | all terminal derivative bounds, with no curvature hypothesis supplied by |
| 28 | the source family; Theorem 3.28 and Proposition 5.14, pp. 51, 90-91. -/ |
| 29 | theorem exists_strongNeck_source_bounds_accuracy |
| 30 | (hShi : LocalCurvatureDerivativeEstimates.{u}) : |
| 31 | ∃ epsilon₀ : ℝ, 0 < epsilon₀ ∧ epsilon₀ ≤ (1 / 200 : ℝ) ∧ |
| 32 | ∃ K : ℝ, 0 < K ∧ |
| 33 | ∀ epsilon : ℝ, 0 < epsilon → epsilon ≤ epsilon₀ → |
| 34 | ∃ B : ℕ → ℝ, (∀ m, 0 < B m) ∧ |
| 35 | ∀ (F : GeneralizedRicciFlowData.{u}) (t : ℝ) |
| 36 | (S : GeneralizedStrongNeck F t epsilon) |
| 37 | (H : RescaledRawCylinderData (C := F.slice t) |
| 38 | (U := strongNeckOpen S) (J := strongNeckBackwardInterval) |
| 39 | (strongNeckCylinder S) (GeneralizedStrongNeck.physical_interval_subset S)), |
| 40 | let G := GeneralizedStrongNeck.rescaled_half_flow S H |
| 41 | (∀ s ∈ Icc (-(1 / 2 : ℝ)) 0, ∀ x : strongNeckOpen S, |
| 42 | (G.connection s).curvatureTensorNorm x ≤ K) ∧ |
| 43 | ∀ m : ℕ, ∀ q ∈ (G.metric 0).ball (strongNeckSourceCenter S) |
| 44 | (epsilon⁻¹ / 16), (G.connection 0).curvatureDerivativeNorm m q ≤ B m := by |
| 45 | classical |
| 46 | obtain ⟨epsilon₀, hepsilon₀, hthreshold, K, hK, hcurvature⟩ := |
| 47 | exists_strongNeck_rescaled_curvature_bound.{u} |
| 48 | refine ⟨epsilon₀, hepsilon₀, hthreshold, K, hK, ?_⟩ |
| 49 | intro epsilon hepsilon hsmall |
| 50 | choose B hB hderiv using |
| 51 | fun m => exists_source_neck_terminal_derivative_bound hShi hepsilon hK m |
| 52 | refine ⟨B, hB, ?_⟩ |
| 53 | intro F t S H |
| 54 | let G := GeneralizedStrongNeck.rescaled_half_flow S H |
| 55 | have hRm : ∀ s ∈ Icc (-(1 / 2 : ℝ)) 0, ∀ x : strongNeckOpen S, |
| 56 | (G.connection s).curvatureTensorNorm x ≤ K := |
| 57 | hcurvature F t epsilon S H hsmall |
| 58 | refine ⟨hRm, ?_⟩ |
| 59 | have hhalf : epsilon < 1 / 2 := |
| 60 | lt_of_le_of_lt (hsmall.trans hthreshold) (by norm_num) |
| 61 | let N := GeneralizedStrongNeck.rescaled_half_source_neck S H hhalf |
| 62 | intro m q hq |
| 63 | exact hderiv m (strongNeckOpen S) G N rfl rfl hRm q hq |
| 64 | |
| 65 | end PoincareMT.M28 |