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.AncientKappa.Compactness.Boundedness.Escape |
| 2 | import PoincareLib.Geometry.RicciFlow.AncientKappa.Compactness.Boundedness.Projective.Scale |
| 3 | |
| 4 | /-! |
| 5 | # Excluding projective necks along the selected curvature sequence |
| 6 | |
| 7 | The actual source scalar determines the cylinder scale. Its decay and the |
| 8 | escape of the selected centers contradict the geometric projective scale |
| 9 | bound in the one fixed terminal metric. |
| 10 | |
| 11 | Reference: Kleiner--Lott, Theorem 46.1, pp. 2687-2688. |
| 12 | -/ |
| 13 | |
| 14 | noncomputable section |
| 15 | set_option autoImplicit false |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | |
| 18 | open Set Filter |
| 19 | open Poincare.Riemannian.Soul |
| 20 | open scoped Manifold ContDiff Bundle Topology |
| 21 | |
| 22 | namespace PoincareMT.RicciFlow.SelectedAncientRescalings |
| 23 | |
| 24 | variable {M : Type} [TopologicalSpace M] [T2Space M] [T3Space M] |
| 25 | [SecondCountableTopology M] [ConnectedSpace M] [NoncompactSpace M] |
| 26 | [MeasurableSpace M] [BorelSpace M] |
| 27 | [ChartedSpace (EuclideanSpace ℝ (Fin 3)) M] [IsManifold (𝓡 3) ∞ M] |
| 28 | {b κ : ℝ} {F : RicciFlow 3 M (Iic b)} {p : M} |
| 29 | (S : SelectedAncientRescalings F κ p) |
| 30 | |
| 31 | /-- No subsequence of the actual selected centers can eventually carry |
| 32 | antipodal cylinder covers at its prescribed scalar scales. -/ |
| 33 | theorem exists_no_eventual_projective_necks |
| 34 | (hc : MetricComplete (F.metric b)) |
| 35 | (hsec : (F.connection b).NonnegativeSectionalCurvature) : |
| 36 | ∃ ε₀ : ℝ, 0 < ε₀ ∧ ∀ ε : ℝ, 0 < ε → ε ≤ ε₀ → |
| 37 | ∀ σ : ℕ → ℕ, StrictMono σ → |
| 38 | ∀ (Φ : ℕ → RoundCylinderSpace → M) (q : UnitTwoSphere), |
| 39 | ¬ (∀ᶠ i in atTop, |
| 40 | IsLocalDiffeomorphOn ((𝓡 2).prod 𝓘(ℝ, ℝ)) (𝓡 3) ∞ (Φ i) |
| 41 | (univ ×ˢ Ioo (-ε⁻¹) ε⁻¹) ∧ |
| 42 | (∀ z ∈ univ ×ˢ Icc (-ε⁻¹) ε⁻¹, ∀ w ∈ univ ×ˢ Icc (-ε⁻¹) ε⁻¹, |
| 43 | Φ i z = Φ i w ↔ w = z ∨ w = (-z.1, z.2)) ∧ |
| 44 | RoundCylinderClose ε 0 (fun z v w => |
| 45 | (F.connection b).scalarCurvature (S.center (σ i)) * |
| 46 | roundCylinderPullback (F.metric b) (Φ i) z v w) ∧ |
| 47 | Φ i (q, 0) = S.center (σ i)) := by |
| 48 | let := (F.metric b).toMetricSpace |
| 49 | obtain ⟨ε₀, hε₀, s₀, hs₀, hbound⟩ := |
| 50 | (F.metric b).exists_remote_projective_neck_scale_lower_bound (F.connection b) hc hsec p |
| 51 | refine ⟨ε₀, hε₀, ?_⟩ |
| 52 | intro ε hε hεsmall σ hσ Φ q hnecks |
| 53 | have hcenters := (S.centers_exhaustion_tendsto_atTop hc hsec).comp hσ.tendsto_atTop |
| 54 | have hscales := S.original_scales_tendsto_zero.comp hσ.tendsto_atTop |
| 55 | have houtside := S.eventually_outside_projective_half_slabs hσ hε Φ q |
| 56 | (hnecks.mono fun _ hi => ⟨hi.1.contMDiffOn, hi.2.2⟩) |
| 57 | have himpossible : ∀ᶠ i : ℕ in atTop, False := by |
| 58 | filter_upwards [hnecks, hcenters.eventually_ge_atTop 2, |
| 59 | hscales.eventually_lt_const hs₀, houtside] with i hi hcᵢ hsᵢ hpᵢ |
| 60 | have hr : 0 < 1 / Real.sqrt ((F.connection b).scalarCurvature (S.center (σ i))) := |
| 61 | one_div_pos.mpr (Real.sqrt_pos.mpr (S.scalar_pos (σ i))) |
| 62 | have hnormalize : |
| 63 | (1 / Real.sqrt ((F.connection b).scalarCurvature (S.center (σ i))))⁻¹ ^ 2 = |
| 64 | (F.connection b).scalarCurvature (S.center (σ i)) := by |
| 65 | simp only [one_div, inv_inv] |
| 66 | exact Real.sq_sqrt (S.scalar_pos (σ i)).le |
| 67 | have hremote : 2 ≤ busemannExhaustion p (Φ i (q, 0)) := by |
| 68 | rw [hi.2.2.2] |
| 69 | exact hcᵢ |
| 70 | have hb := hbound ε _ hε hr hεsmall (Φ i) hi.1 hi.2.1 |
| 71 | (by simpa only [hnormalize] using hi.2.2.1) q hremote hpᵢ |
| 72 | exact (not_lt_of_ge hb) hsᵢ |
| 73 | exact (Filter.Eventually.exists himpossible).choose_spec |
| 74 | |
| 75 | end PoincareMT.RicciFlow.SelectedAncientRescalings |