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.Chart.ReaderProjection |
| 2 | import Mathlib.Topology.PartitionOfUnity |
| 3 | |
| 4 | /-! A bounded continuous projection onto the observed tangent spaces. |
| 5 | Morgan--Tian context: Lemma 19.15 and its annular area-to-energy construction, printed pp. |
| 6 | 447-449. |
| 7 | -/ |
| 8 | |
| 9 | set_option autoImplicit false |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | open Set Filter |
| 14 | open scoped Topology Manifold ContDiff |
| 15 | |
| 16 | namespace PoincareMT |
| 17 | |
| 18 | variable {n m : ℕ} {M : Type*} [TopologicalSpace M] |
| 19 | [ChartedSpace (EuclideanSpace ℝ (Fin n)) M] [IsManifold (𝓡 n) ∞ M] |
| 20 | [CompactSpace M] [T2Space M] |
| 21 | |
| 22 | local notation "E" => EuclideanSpace ℝ (Fin m) |
| 23 | |
| 24 | /-- Construct a bounded continuous ambient projection field that fixes exactly the observed |
| 25 | target tangent vectors. Proof expansion for Morgan-Tian (2007), Lemma 19.15, pp. 447-449. -/ |
| 26 | theorem m64ChartReadable_tangent_projection |
| 27 | (e : M → E) (he : ContMDiff (𝓡 n) (𝓡 m) 1 e) |
| 28 | (hread : M60.SUChartReadable (n := n) e) : |
| 29 | ∃ (P : M → E →L[ℝ] E) (K : ℝ), Continuous P ∧ 0 ≤ K ∧ (∀ q, ‖P q‖ ≤ K) ∧ |
| 30 | (∀ q w, P q (mfderiv (𝓡 n) (𝓡 m) e q w) = mfderiv (𝓡 n) (𝓡 m) e q w) ∧ |
| 31 | ∀ q w, P q w ∈ range (mfderiv (𝓡 n) (𝓡 m) e q) := by |
| 32 | classical |
| 33 | choose U H hU hp hH hfix hrange using m64ChartReadable_local_projection e he hread |
| 34 | obtain ⟨rho, hrho⟩ := PartitionOfUnity.exists_isSubordinate isClosed_univ U hU |
| 35 | (fun q _ => mem_iUnion.mpr ⟨q, hp q⟩) |
| 36 | let P : M → E →L[ℝ] E := fun q => ∑ᶠ p, rho p q • H p q |
| 37 | have hP : Continuous P := hrho.continuous_finsum_smul hU hH |
| 38 | have hbounded : Bornology.IsBounded (range P) := (isCompact_range hP).isBounded |
| 39 | obtain ⟨A, hA⟩ := hbounded.exists_norm_le |
| 40 | have heval (q : M) (w : E) : |
| 41 | P q w = ∑ p ∈ rho.finsupport q, rho p q • H p q w := by |
| 42 | change (∑ᶠ p, rho p q • H p q) w = _ |
| 43 | rw [← rho.sum_finsupport_smul_eq_finsum H] |
| 44 | simp only [sum_apply, smul_apply] |
| 45 | have hmem (q p : M) (hp : p ∈ rho.finsupport q) : q ∈ U p := |
| 46 | hrho p (subset_tsupport _ ((rho.mem_finsupport q).mp hp)) |
| 47 | refine ⟨P, max A 0, hP, le_max_right _ _, ?_, ?_, ?_⟩ |
| 48 | · intro q |
| 49 | exact (hA _ (mem_range_self q)).trans (le_max_left _ _) |
| 50 | · intro q w |
| 51 | erw [heval] |
| 52 | calc |
| 53 | _ = ∑ p ∈ rho.finsupport q, rho p q • mfderiv (𝓡 n) (𝓡 m) e q w := by |
| 54 | apply Finset.sum_congr rfl |
| 55 | intro p hp |
| 56 | erw [hfix p q (hmem q p hp) w] |
| 57 | rfl |
| 58 | _ = _ := by rw [← Finset.sum_smul, rho.sum_finsupport (mem_univ q), one_smul] |
| 59 | · intro q w |
| 60 | rw [heval] |
| 61 | change (∑ p ∈ rho.finsupport q, rho p q • H p q w) ∈ |
| 62 | (mfderiv (𝓡 n) (𝓡 m) e q).toLinearMap.range |
| 63 | apply Submodule.sum_mem |
| 64 | intro p hp |
| 65 | exact Submodule.smul_mem _ _ (hrange p q (hmem q p hp) w) |
| 66 | |
| 67 | end PoincareMT |