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.AnnularEvolution.Plateau.Variable.ModulusContinuity |
| 2 | import PoincareLib.Geometry.CurveShortening.Comparison.AnnularEvolution.Plateau.Annulus.WeakMinimizer |
| 3 | |
| 4 | /-! |
| 5 | # An actual continuous modulus minimizer from an admissible annulus |
| 6 | |
| 7 | The observation and weak seed are constructed from the original |
| 8 | admissible annulus. The actual compact-interval direct method and local |
| 9 | Morrey growth then give an interior-continuous jointly minimizing pair. |
| 10 | |
| 11 | Morgan--Tian context: Lemma 19.15 and its annular area-to-energy construction, printed pp. |
| 12 | 447-449. |
| 13 | -/ |
| 14 | |
| 15 | set_option autoImplicit false |
| 16 | |
| 17 | noncomputable section |
| 18 | |
| 19 | open Set Filter MeasureTheory Topology |
| 20 | open scoped Topology Manifold ContDiff |
| 21 | |
| 22 | namespace PoincareMT |
| 23 | |
| 24 | variable {n : ℕ} {M : Type*} [TopologicalSpace M] |
| 25 | [ChartedSpace (EuclideanSpace ℝ (Fin n)) M] [IsManifold (𝓡 n) ∞ M] |
| 26 | [CompactSpace M] [T2Space M] |
| 27 | |
| 28 | /-- An original admissible annulus supplies an actual interior-continuous weak pair |
| 29 | minimizing over any prescribed compact positive modulus interval. Proof expansion for |
| 30 | Morgan-Tian (2007), Lemma 19.15, pp. 447-449. -/ |
| 31 | theorem m64Annulus_exists_continuous_modulus_minimizer |
| 32 | {g : RiemannianMetric n M} {c0 c1 : ℝ → M} (A0 : M64Annulus g c0 c1) |
| 33 | {lo hi : ℝ} (hlo : 0 < lo) (hlohi : lo ≤ hi) : |
| 34 | ∃ (m : ℕ) (e : M → EuclideanSpace ℝ (Fin m)) |
| 35 | (B : M → EuclideanSpace ℝ (Fin m) →L[ℝ] EuclideanSpace ℝ (Fin m) →L[ℝ] ℝ) |
| 36 | (r : ℝ) (L : M64ObservedWeakAnnulus (n := n) e c0 c1), |
| 37 | ContMDiff (𝓡 n) (𝓡 m) ∞ e ∧ IsClosedEmbedding e ∧ |
| 38 | M60.SUChartReadable (n := n) e ∧ Continuous B ∧ |
| 39 | (∀ q v, 0 ≤ B q v v) ∧ (∀ q v w, B q v w = B q w v) ∧ |
| 40 | (∀ (q : M) (v : TangentSpace (𝓡 n) q), |
| 41 | B q (mfderiv (𝓡 n) (𝓡 m) e q v) (mfderiv (𝓡 n) (𝓡 m) e q v) = g.inner q v v) ∧ |
| 42 | r ∈ Icc lo hi ∧ ContinuousOn L.map (interior m64AnnulusDomain) ∧ |
| 43 | ∀ s ∈ Icc lo hi, ∀ W : M64ObservedWeakAnnulus (n := n) e c0 c1, |
| 44 | L.weightedEnergy B r ≤ W.weightedEnergy B s := by |
| 45 | obtain ⟨m, e, he, hei, hread⟩ := M60.suCompactObservation_exists (n := n) (M := M) |
| 46 | have he1 : ContMDiff (𝓡 n) (𝓡 m) 1 e := he.of_le (by simp) |
| 47 | obtain ⟨W0, -, -⟩ := m64ObservedWeakAnnulus_of_annulus A0 e he1 |
| 48 | obtain ⟨B, r, hr, L, hB, hpos, hsymm, hgram, hLcont, hmin⟩ := |
| 49 | m64ObservedWeakAnnulus_exists_continuous_modulus_minimizer |
| 50 | g e he1 hei hread hlo hlohi W0 |
| 51 | exact ⟨m, e, B, r, L, he, hei, hread, hB, hpos, hsymm, |
| 52 | m64ObservedMetric_tangent_diagonal g e he1 B hgram, hr, hLcont, hmin⟩ |
| 53 | |
| 54 | end PoincareMT |