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.Surgery.StandardCap.Uniqueness.Imports |
| 2 | import PoincareLib.Geometry.RicciFlow.Surgery.StandardCap.Uniqueness.Blowup.Cylinder.Jets.CylinderJetStability |
| 3 | |
| 4 | /-! |
| 5 | # Full-open-neck convergence of the frozen covariant norm |
| 6 | |
| 7 | Morgan-Tian Definition 2.16 and Theorem 12.28, pp. 323-324. |
| 8 | Uniform ordinary jets on the open neck control the literal frozen |
| 9 | norm. Only the explicit cylinder model is evaluated at a limiting |
| 10 | axial endpoint; the actual tensors are evaluated at interior points. |
| 11 | -/ |
| 12 | |
| 13 | set_option autoImplicit false |
| 14 | |
| 15 | open Set Filter |
| 16 | open scoped Manifold ContDiff Bundle Topology |
| 17 | |
| 18 | namespace PoincareMT.M35 |
| 19 | |
| 20 | /-- Definition 2.16: uniform coefficient errors over the full |
| 21 | open neck give uniform convergence of its actual covariant error norm. -/ |
| 22 | theorem full_cylinder_jet_difference_uniform |
| 23 | (order : ℕ) (I : Set ℝ) (hI : IsCompact I) (hItime : ∀ u ∈ I, u < 1) (l : ℝ) |
| 24 | (B C : ℕ → ℝ → RoundCylinderTwoTensor) |
| 25 | (hB : ∀ k u, u ∈ I → ∀ q : UnitTwoSphere, ∀ s ∈ Ioo (-l) l, ∀ a b : Fin 3, |
| 26 | ContDiffAt ℝ ∞ (fun y => roundCylinderTensorCoefficient (B k u) |
| 27 | (chartAt (EuclideanSpace ℝ (Fin 2)) q) y a b) (0, s)) |
| 28 | (hC : ∀ k u, u ∈ I → ∀ q : UnitTwoSphere, ∀ s ∈ Ioo (-l) l, ∀ a b : Fin 3, |
| 29 | ContDiffAt ℝ ∞ (fun y => roundCylinderTensorCoefficient (C k u) |
| 30 | (chartAt (EuclideanSpace ℝ (Fin 2)) q) y a b) (0, s)) |
| 31 | (hjet : ∀ m ≤ order, ∀ a b : Fin 3, ∀ eta : ℝ, 0 < eta → |
| 32 | ∃ N : ℕ, ∀ k ≥ N, ∀ u ∈ I, ∀ q : UnitTwoSphere, ∀ s ∈ Ioo (-l) l, |
| 33 | ‖iteratedFDeriv ℝ m (fun y => roundCylinderTensorCoefficient (B k u) |
| 34 | (chartAt (EuclideanSpace ℝ (Fin 2)) q) y a b - |
| 35 | roundCylinderTensorCoefficient (C k u) |
| 36 | (chartAt (EuclideanSpace ℝ (Fin 2)) q) y a b) (0, s)‖ < eta) |
| 37 | (eta : ℝ) (heta : 0 < eta) : |
| 38 | ∃ N : ℕ, ∀ k ≥ N, ∀ u ∈ I, ∀ z : RoundCylinderSpace, |
| 39 | z.2 ∈ Ioo (-l) l → roundCylinderJetDifferenceSquared u (B k u) (C k u) order z < eta := by |
| 40 | classical |
| 41 | by_contra hn |
| 42 | push Not at hn |
| 43 | choose sigma hsigma u hu z hz hbad using hn |
| 44 | have hsig : Tendsto sigma atTop atTop := tendsto_atTop_mono hsigma tendsto_id |
| 45 | obtain ⟨p, hp, phi, hphi, hconv⟩ := (hI.prod isCompact_Icc).tendsto_subseq |
| 46 | (x := fun k => (u k, (z k).2)) (fun k => ⟨hu k, (hz k).1.le, (hz k).2.le⟩) |
| 47 | have hut : Tendsto (u ∘ phi) atTop (𝓝 p.1) := (continuous_fst.tendsto p).comp hconv |
| 48 | have hst : Tendsto (fun k => (z (phi k)).2) atTop (𝓝 p.2) := |
| 49 | (continuous_snd.tendsto p).comp hconv |
| 50 | have hsel := hsig.comp hphi.tendsto_atTop |
| 51 | have hcoeff (m : ℕ) (hm : m ≤ order) (a b : Fin 3) : |
| 52 | Tendsto (fun k => iteratedFDeriv ℝ m (fun y => |
| 53 | roundCylinderTensorCoefficient (B (sigma (phi k)) (u (phi k))) |
| 54 | (chartAt (EuclideanSpace ℝ (Fin 2)) (z (phi k)).1) y a b - |
| 55 | roundCylinderTensorCoefficient (C (sigma (phi k)) (u (phi k))) |
| 56 | (chartAt (EuclideanSpace ℝ (Fin 2)) (z (phi k)).1) y a b) |
| 57 | (0, (z (phi k)).2)) atTop (𝓝 0) := by |
| 58 | apply Metric.tendsto_atTop.mpr |
| 59 | intro d hd |
| 60 | obtain ⟨N, hN⟩ := hjet m hm a b d hd |
| 61 | obtain ⟨K, hK⟩ := eventually_atTop.mp (hsel.eventually (eventually_ge_atTop N)) |
| 62 | refine ⟨K, fun k hk => ?_⟩ |
| 63 | simpa only [dist_zero_right] using hN (sigma (phi k)) (hK k hk) |
| 64 | (u (phi k)) (hu (phi k)) (z (phi k)).1 (z (phi k)).2 (hz (phi k)) |
| 65 | have hnorm := roundCylinderJetDifferenceSquared_tendsto_zero order |
| 66 | (u ∘ phi) (fun k => hItime _ (hu (phi k))) p.1 (hItime _ hp.1) hut |
| 67 | (fun k => (z (phi k)).1) |
| 68 | (fun k => B (sigma (phi k)) (u (phi k))) |
| 69 | (fun k => C (sigma (phi k)) (u (phi k))) |
| 70 | (fun k => (z (phi k)).2) p.2 hst |
| 71 | (fun k => hB _ _ (hu (phi k)) _ _ (hz (phi k))) |
| 72 | (fun k => hC _ _ (hu (phi k)) _ _ (hz (phi k))) hcoeff |
| 73 | obtain ⟨k, hk⟩ := (hnorm.eventually (Iio_mem_nhds heta)).exists |
| 74 | exact (not_lt_of_ge (hbad (phi k))) hk |
| 75 | |
| 76 | end PoincareMT.M35 |