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.Analysis.Calculus.SmoothCompactness.FiniteDimensional |
| 2 | |
| 3 | /-! |
| 4 | # One smooth subsequence for all terminal coordinate rows |
| 5 | |
| 6 | The existing M07 finite-dimensional extractor is exposed with the actual |
| 7 | compact-domain derivative bounds. Forward and reverse rows are supplied as |
| 8 | one indexed family, so the selected strict subsequence is shared. Source: |
| 9 | reviewed C6d. |
| 10 | -/ |
| 11 | |
| 12 | set_option autoImplicit false |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | |
| 15 | open Set Filter Poincare.Analysis.Calculus |
| 16 | open scoped ContDiff Topology |
| 17 | |
| 18 | universe u v |
| 19 | |
| 20 | namespace PoincareMT.M47 |
| 21 | |
| 22 | theorem terminalCommonInterval_smooth_row_extraction |
| 23 | {E F : ℕ → Type u} |
| 24 | [∀ i, NormedAddCommGroup (E i)] [∀ i, NormedSpace ℝ (E i)] |
| 25 | [∀ i, FiniteDimensional ℝ (E i)] |
| 26 | [∀ i, NormedAddCommGroup (F i)] [∀ i, NormedSpace ℝ (F i)] |
| 27 | [∀ i, FiniteDimensional ℝ (F i)] |
| 28 | {Ω : ∀ i, Set (E i)} (hΩ : ∀ i, IsOpen (Ω i)) |
| 29 | (f : ∀ i, ℕ → E i → F i) |
| 30 | (hf : ∀ i k, ContDiffOn ℝ ∞ (f i k) (Ω i)) |
| 31 | (hbound : ∀ i K, IsCompact K → K ⊆ Ω i → ∀ m : ℕ, ∃ B : ℝ, |
| 32 | ∀ᶠ k in atTop, ∀ x ∈ K, ‖iteratedFDeriv ℝ m (f i k) x‖ ≤ B) : |
| 33 | ∃ σ : ℕ → ℕ, StrictMono σ ∧ ∃ f₀ : ∀ i, E i → F i, |
| 34 | (∀ i, ContDiffOn ℝ ∞ (f₀ i) (Ω i)) ∧ |
| 35 | ∀ i m K, IsCompact K → K ⊆ Ω i → TendstoUniformlyOn |
| 36 | (fun k => iteratedFDeriv ℝ m (f i (σ k))) |
| 37 | (iteratedFDeriv ℝ m (f₀ i)) atTop K := by |
| 38 | exact exists_common_smoothSubsequenceExtraction_finiteDimensional hΩ f hf hbound |
| 39 | |
| 40 | end PoincareMT.M47 |