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.Blowup.Construction.ShortTime.Terminal.TerminalLocalGeometry |
| 2 | import PoincareLib.Geometry.RicciFlow.Blowup.Construction.PartialLimits.NormalCoverService |
| 3 | import PoincareLib.Topology.Sequences.Diagonal |
| 4 | |
| 5 | /-! |
| 6 | # All-radius normal covers of the actual terminal components |
| 7 | |
| 8 | Morgan--Tian Theorem 5.9 and Corollary 5.10, pp. 88--89, and Claim 11.5, |
| 9 | p. 270. Fixed stage geometry feeds the precise local normal-cover service. |
| 10 | One strict selection retains every earlier stage and its actual curvature |
| 11 | derivative bounds. The normal-cover metric family is constant; no |
| 12 | stationary Ricci flow or common backward lifetime is asserted. |
| 13 | -/ |
| 14 | |
| 15 | set_option autoImplicit false |
| 16 | |
| 17 | open Set Filter |
| 18 | open scoped Manifold ContDiff Topology ENNReal |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | namespace PoincareMT.M30 |
| 23 | |
| 24 | attribute [local instance] FlowCarrier.topologicalSpace FlowCarrier.measurableSpace |
| 25 | FlowCarrier.borelSpace FlowCarrier.chartedSpace FlowCarrier.isManifold |
| 26 | FlowCarrier.t2Space FlowCarrier.t3Space FlowCarrier.secondCountable |
| 27 | |
| 28 | /-- The actual normalized source components admit simultaneous finite |
| 29 | normal covers at all integer radii, with the derivative input for their |
| 30 | coordinate jets (Theorem 5.9 and Claim 11.5, pp. 88--89 and 270). -/ |
| 31 | theorem exists_terminalComponent_normal_covers |
| 32 | (hNormal : UniformNormalCoverService.{u}) |
| 33 | (hC : RicciFlowCurvatureTheory.{u}) {S : GeneralizedBlowupSequence.{u}} |
| 34 | {epsilon canonicalConstant kappa r₀ mu : ℝ} |
| 35 | (H : M30CommonBlowupControls S epsilon canonicalConstant kappa r₀ mu) |
| 36 | (hbound : GeneralizedBlowupBoundedDistance S) : |
| 37 | ∃ sigma : ℕ → ℕ, StrictMono sigma ∧ |
| 38 | ∃ R rho : ℕ → ℝ, ∃ N : ℕ → ℕ, |
| 39 | (∀ j, 0 < rho j ∧ 2 * rho j < R j ∧ R j < 1) ∧ |
| 40 | (∀ k j, j ≤ k → Nonempty |
| 41 | (NormalChartCover (fun _ => terminalComponentMetric S (sigma k)) |
| 42 | (terminalComponentBase S (sigma k)) (-1) 1 |
| 43 | ((j : ℝ) + 1) (R j) (rho j) (1 / 4) (9 / 4) (N j))) ∧ |
| 44 | ∀ j m : ℕ, ∃ D : ℝ, 0 ≤ D ∧ ∀ᶠ k in atTop, |
| 45 | ∀ x ∈ (terminalComponentMetric S (sigma k)).ball |
| 46 | (terminalComponentBase S (sigma k)) ((j : ℝ) + 1 + R j), |
| 47 | (terminalComponentMetric S (sigma k)).leviCivitaData.curvatureDerivativeNorm |
| 48 | m x ≤ D := by |
| 49 | obtain ⟨K, vlower, Vupper, hK, hv, hV, hgeometry⟩ := |
| 50 | exists_terminalComponent_local_geometry hC H hbound |
| 51 | choose R rho N hrho hrhoR hR hfactory using fun j => |
| 52 | hNormal 3 (K := K j) (δ := 1) (v := vlower j) (V := Vupper j) |
| 53 | (by norm_num) (hK j) zero_lt_one (hv j) (hV j) |
| 54 | have hcovers (j : ℕ) : ∀ᶠ k in atTop, Nonempty |
| 55 | (NormalChartCover (fun _ => terminalComponentMetric S k) |
| 56 | (terminalComponentBase S k) (-1) 1 ((j : ℝ) + 1) |
| 57 | (R j) (rho j) (1 / 4) (9 / 4) (N j)) := by |
| 58 | filter_upwards [hgeometry j] with k hk |
| 59 | let : PreconnectedSpace (terminalComponentCarrier S k).carrier := |
| 60 | ⟨(terminalComponentCarrier S k).connected.isPreconnected⟩ |
| 61 | exact hfactory j (terminalComponentCarrier S k).carrier |
| 62 | (terminalComponentMetric S k) (terminalComponentMetric S k).leviCivitaData |
| 63 | (terminalComponentBase S k) ((j : ℝ) + 1) ((j : ℝ) + 3) |
| 64 | (by positivity) (by linarith) hk.1 hk.2.1 hk.2.2.1 hk.2.2.2 |
| 65 | obtain ⟨sigma, hsigma, hcover⟩ := Poincare.exists_strictMono_forall_le_of_eventually hcovers |
| 66 | refine ⟨sigma, hsigma, R, rho, N, fun j => ⟨hrho j, hrhoR j, hR j⟩, hcover, ?_⟩ |
| 67 | intro j m |
| 68 | have hRpos : 0 < R j := (mul_pos zero_lt_two (hrho j)).trans (hrhoR j) |
| 69 | obtain ⟨D, hD, htail⟩ := eventually_terminalComponent_curvatureDerivativeNorm_le |
| 70 | hC H hbound ((j : ℝ) + 1 + R j) (by positivity) m |
| 71 | exact ⟨D, hD.le, hsigma.tendsto_atTop.eventually htail⟩ |
| 72 | |
| 73 | end PoincareMT.M30 |