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.CurveShortening.Comparison.PolygonApproximation.Interpolator.HorizontalColumn |
| 2 | |
| 3 | /-! |
| 4 | # A uniform short-circle cone interpolator |
| 5 | |
| 6 | M63 supplies the actual short minimizing interpolation. Its compact |
| 7 | endpoint bound, normalized on the unit tangent ball, becomes a linear |
| 8 | bound on arbitrary endpoint velocities. Both constants precede the circle. |
| 9 | |
| 10 | Morgan--Tian context: Lemma 19.15 and its annular area-to-energy construction, printed pp. |
| 11 | 447-449. |
| 12 | -/ |
| 13 | |
| 14 | set_option autoImplicit false |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | |
| 17 | open Set Bundle |
| 18 | open scoped Manifold ContDiff Topology Bundle ENNReal |
| 19 | |
| 20 | namespace PoincareMT |
| 21 | |
| 22 | variable {n : ℕ} {M : Type*} [TopologicalSpace M] [T2Space M] |
| 23 | [ChartedSpace (EuclideanSpace ℝ (Fin n)) M] [IsManifold (𝓡 n) ∞ M] |
| 24 | |
| 25 | /-- Choose a smooth short interpolator with a uniform linear endpoint differential bound |
| 26 | before the circle. Proof expansion for Morgan-Tian (2007), Lemma 19.15, pp. 447-449. -/ |
| 27 | theorem m64_exists_local_cone_interpolator |
| 28 | (g : RiemannianMetric n M) (hcompact : IsCompact (univ : Set M)) : |
| 29 | ∃ r : ℝ, 0 < r ∧ ∃ B : ℝ, 0 ≤ B ∧ ∃ H : ℝ × (M × M) → M, |
| 30 | ContMDiffOn (𝓘(ℝ, ℝ).prod ((𝓡 n).prod (𝓡 n))) (𝓡 n) ∞ H |
| 31 | (Ioo (-1 : ℝ) 2 ×ˢ {pq : M × M | g.edist pq.1 pq.2 < ENNReal.ofReal r}) ∧ |
| 32 | (∀ p q, g.edist p q ≤ ENNReal.ofReal (r / 2) → |
| 33 | H (0, p, q) = p ∧ H (1, p, q) = q ∧ |
| 34 | (∀ t ∈ Icc (0 : ℝ) 1, |
| 35 | g.tangentNorm (H (t, p, q)) |
| 36 | (mfderiv 𝓘(ℝ, ℝ) (𝓡 n) (fun s => H (s, p, q)) t 1) = |
| 37 | (g.edist p q).toReal) ∧ |
| 38 | (∀ t ∈ Icc (0 : ℝ) 1, ∀ w : TangentSpace (𝓡 n) q, |
| 39 | g.tangentNorm (H (t, p, q)) |
| 40 | (mfderiv (𝓘(ℝ, ℝ).prod ((𝓡 n).prod (𝓡 n))) (𝓡 n) H |
| 41 | (t, p, q) (0, 0, w)) ≤ B * g.tangentNorm q w)) ∧ |
| 42 | (∀ p t, H (t, p, p) = p) := by |
| 43 | let : Bundle.RiemannianBundle (TangentSpace (𝓡 n) : M → Type _) := |
| 44 | ⟨g.toRiemannianMetric⟩ |
| 45 | obtain ⟨r, hr, H, hH, hgeom, hdiag, _⟩ := |
| 46 | M63.exists_smooth_minimizing_interpolator g hcompact |
| 47 | obtain ⟨B, hB, hbound⟩ := |
| 48 | m64_interpolator_endpoint_bound_on_short_tube g hcompact hr H hH 1 |
| 49 | refine ⟨r, hr, B, hB, H, hH, ?_, hdiag⟩ |
| 50 | intro p q hpq |
| 51 | have hshort : g.edist p q < ENNReal.ofReal r := |
| 52 | hpq.trans_lt ((ENNReal.ofReal_lt_ofReal_iff hr).mpr (by linarith)) |
| 53 | obtain ⟨h0, h1, _, hspeed, _⟩ := hgeom p q hshort |
| 54 | refine ⟨h0, h1, ?_, ?_⟩ |
| 55 | · intro t ht |
| 56 | exact hspeed t ⟨by linarith [ht.1], by linarith [ht.2]⟩ |
| 57 | · intro t ht w |
| 58 | let L := mfderiv (𝓘(ℝ, ℝ).prod ((𝓡 n).prod (𝓡 n))) (𝓡 n) H (t, p, q) |
| 59 | change ‖L (0, 0, w)‖ ≤ B * ‖w‖ |
| 60 | by_cases hw : w = 0 |
| 61 | · subst w |
| 62 | change ‖L 0‖ ≤ B * ‖(0 : TangentSpace (𝓡 n) q)‖ |
| 63 | simp |
| 64 | have hwpos : 0 < ‖w‖ := norm_pos_iff.mpr hw |
| 65 | have hunit : g.tangentNorm q (‖w‖⁻¹ • w) ≤ 1 := by |
| 66 | change ‖‖w‖⁻¹ • w‖ ≤ 1 |
| 67 | rw [norm_smul, Real.norm_eq_abs, abs_inv, abs_norm, inv_mul_cancel₀ hwpos.ne'] |
| 68 | have hb := hbound t ht p q hpq 0 (by change ‖(0 : TangentSpace (𝓡 n) p)‖ ≤ 1; simp) |
| 69 | (‖w‖⁻¹ • w) hunit |
| 70 | have hin : ((0 : ℝ), (0 : TangentSpace (𝓡 n) p), ‖w‖⁻¹ • w) = |
| 71 | ‖w‖⁻¹ • ((0 : ℝ), (0 : TangentSpace (𝓡 n) p), w) := by simp |
| 72 | change ‖L (0, 0, ‖w‖⁻¹ • w)‖ ≤ B at hb |
| 73 | rw [hin, map_smul, norm_smul, Real.norm_eq_abs, abs_inv, abs_norm] at hb |
| 74 | have hm := mul_le_mul_of_nonneg_left hb hwpos.le |
| 75 | rw [← mul_assoc, mul_inv_cancel₀ hwpos.ne', one_mul] at hm |
| 76 | simpa only [mul_comm] using hm |
| 77 | |
| 78 | end PoincareMT |