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.ModulusCircleComparison |
| 2 | import PoincareLib.Geometry.CurveShortening.Comparison.AnnularEvolution.Plateau.Weak.MinimizerPowerGrowth |
| 3 | |
| 4 | /-! |
| 5 | # Actual Morrey growth for positive-modulus minimizers |
| 6 | |
| 7 | The weighted minimizer's genuine cone comparison combines with the |
| 8 | polar annular integral to contract its unweighted disk energy. Scalar |
| 9 | iteration and tangent coercivity give the actual local column power |
| 10 | bounds used by the proved Morrey representative theorem. |
| 11 | |
| 12 | Morgan--Tian context: Lemma 19.15 and its annular area-to-energy construction, printed pp. |
| 13 | 447-449. |
| 14 | -/ |
| 15 | |
| 16 | set_option autoImplicit false |
| 17 | |
| 18 | noncomputable section |
| 19 | |
| 20 | open Set Filter MeasureTheory Topology |
| 21 | open scoped Topology Manifold ContDiff |
| 22 | |
| 23 | namespace PoincareMT.M64ObservedWeakAnnulus |
| 24 | |
| 25 | variable {n m : ℕ} {M : Type*} [TopologicalSpace M] |
| 26 | [ChartedSpace (EuclideanSpace ℝ (Fin n)) M] [IsManifold (𝓡 n) ∞ M] |
| 27 | [CompactSpace M] [T2Space M] |
| 28 | {e : M → EuclideanSpace ℝ (Fin m)} {c0 c1 : ℝ → M} |
| 29 | |
| 30 | local notation "E" => EuclideanSpace ℝ (Fin m) |
| 31 | local notation "S" => interior m64AnnulusDomain |
| 32 | |
| 33 | /-- Weighted minimality contracts the genuine unweighted disk energy by a center-independent |
| 34 | ratio at radius factor `exp (-1)`. Proof expansion for Morgan-Tian (2007), Lemma 19.15, pp. |
| 35 | 447-449. -/ |
| 36 | theorem weighted_energy_contraction |
| 37 | (A : M64ObservedWeakAnnulus (n := n) e c0 c1) |
| 38 | (g : RiemannianMetric n M) (he : ContMDiff (𝓡 n) (𝓡 m) 1 e) |
| 39 | (hei : IsClosedEmbedding e) (hread : M60.SUChartReadable (n := n) e) |
| 40 | (Q : M → E →L[ℝ] E →L[ℝ] ℝ) (hQ : Continuous Q) (hpos : ∀ q v, 0 ≤ Q q v v) |
| 41 | {C : ℝ} (hC : 0 ≤ C) |
| 42 | (hcoercive : ∀ (q : M) (v : E), v ∈ range (mfderiv (𝓡 n) (𝓡 m) e q) → |
| 43 | ‖v‖ ^ 2 ≤ C * Q q v v) {modulus : ℝ} (hmodulus : 0 < modulus) |
| 44 | (hmin : ∀ W : M64ObservedWeakAnnulus (n := n) e c0 c1, |
| 45 | A.weightedEnergy Q modulus ≤ W.weightedEnergy Q modulus) : |
| 46 | ∃ q : ℝ, 0 < q ∧ q < 1 ∧ ∀ (a : LoopPlane) (rho : ℝ), 0 < rho → |
| 47 | Metric.closedBall a rho ⊆ S → |
| 48 | A.diskEnergy Q a (rho * Real.exp (-1)) ≤ q * A.diskEnergy Q a rho := by |
| 49 | obtain ⟨C0, hC0, hcomp⟩ := |
| 50 | A.weighted_circle_energy_comparison g he hei hread Q hQ hpos hmodulus hmin |
| 51 | have hbounded : Bornology.IsBounded (range Q) := (isCompact_range hQ).isBounded |
| 52 | obtain ⟨B, hB⟩ := hbounded.exists_norm_le |
| 53 | have hb (q : M) : ‖Q q‖ ≤ B := hB _ (mem_range_self q) |
| 54 | let L := C0 * (4 * C) |
| 55 | have hL : 0 ≤ L := mul_nonneg hC0.le (mul_nonneg (by norm_num) hC) |
| 56 | have hL2 : 0 < L + 2 := by linarith |
| 57 | refine ⟨(L + 1) / (L + 2), div_pos (by linarith) hL2, |
| 58 | (div_lt_one hL2).mpr (by linarith), ?_⟩ |
| 59 | intro a rho hrho hKS |
| 60 | let Y := A.diskEnergy Q a (rho * Real.exp (-1)) |
| 61 | let X := A.diskEnergy Q a rho |
| 62 | have hball : Metric.ball a rho ⊆ S := Metric.ball_subset_closedBall.trans hKS |
| 63 | have hYX : Y ≤ X := A.diskEnergy_mono Q hQ hei.isEmbedding hb hpos a |
| 64 | (mul_le_of_le_one_right hrho.le (Real.exp_le_one_iff.mpr (by norm_num))) hball |
| 65 | have hYpoint : ∀ᵐ s ∂volume.restrict (Icc (0 : ℝ) 1), |
| 66 | Y ≤ C0 * A.angularEnergy a rho s := by |
| 67 | filter_upwards [hcomp a rho hrho hKS, ae_restrict_mem measurableSet_Icc] with s hs hsI |
| 68 | have hsmall : rho * Real.exp (-1) ≤ rho * Real.exp (-s) := |
| 69 | mul_le_mul_of_nonneg_left (Real.exp_le_exp.mpr (by linarith [hsI.2])) hrho.le |
| 70 | have hlarge : rho * Real.exp (-s) ≤ rho := |
| 71 | mul_le_of_le_one_right hrho.le (Real.exp_le_one_iff.mpr (neg_nonpos.mpr hsI.1)) |
| 72 | exact (A.diskEnergy_mono Q hQ hei.isEmbedding hb hpos a hsmall |
| 73 | ((Metric.ball_subset_ball hlarge).trans hball)).trans hs |
| 74 | have hYint : Y ≤ C0 * ∫ s in Icc (0 : ℝ) 1, A.angularEnergy a rho s := by |
| 75 | have hi := integral_mono_ae (integrable_const Y) |
| 76 | ((A.angularEnergy_integrable a hrho hKS).const_mul C0) hYpoint |
| 77 | rw [integral_const_mul] at hi |
| 78 | simpa using hi |
| 79 | have hangular := A.angularEnergy_integral_le_annular_energy |
| 80 | Q hQ hei.isEmbedding hb hpos hC hcoercive a hrho hKS |
| 81 | have hY : Y ≤ L * (X - Y) := |
| 82 | hYint.trans ((mul_le_mul_of_nonneg_left hangular hC0.le).trans_eq (by dsimp [L, X, Y]; ring)) |
| 83 | change Y ≤ (L + 1) / (L + 2) * X |
| 84 | rw [div_mul_eq_mul_div] |
| 85 | apply (le_div_iff₀ hL2).mpr |
| 86 | nlinarith |
| 87 | |
| 88 | /-- Uniform contraction of the weighted minimizer gives actual column power growth at every |
| 89 | center admitting the same outer disk. Proof expansion for Morgan-Tian (2007), Lemma 19.15, |
| 90 | pp. 447-449. -/ |
| 91 | theorem weighted_uniform_column_power_growth |
| 92 | (A : M64ObservedWeakAnnulus (n := n) e c0 c1) |
| 93 | (g : RiemannianMetric n M) (he : ContMDiff (𝓡 n) (𝓡 m) 1 e) |
| 94 | (hei : IsClosedEmbedding e) (hread : M60.SUChartReadable (n := n) e) |
| 95 | (Q : M → E →L[ℝ] E →L[ℝ] ℝ) (hQ : Continuous Q) (hpos : ∀ q v, 0 ≤ Q q v v) |
| 96 | {C : ℝ} (hC : 0 ≤ C) |
| 97 | (hcoercive : ∀ (q : M) (v : E), v ∈ range (mfderiv (𝓡 n) (𝓡 m) e q) → |
| 98 | ‖v‖ ^ 2 ≤ C * Q q v v) {modulus : ℝ} (hmodulus : 0 < modulus) |
| 99 | (hmin : ∀ W : M64ObservedWeakAnnulus (n := n) e c0 c1, |
| 100 | A.weightedEnergy Q modulus ≤ W.weightedEnergy Q modulus) {R : ℝ} (hR : 0 < R) : |
| 101 | ∃ beta : ℝ, 0 < beta ∧ ∃ K : ℝ, 0 ≤ K ∧ |
| 102 | ∀ a : LoopPlane, Metric.closedBall a R ⊆ S → |
| 103 | ∀ r ∈ Ioc (0 : ℝ) R, ∀ i : Fin 2, |
| 104 | (∫ p in Metric.ball a r, ‖A.column i p‖ ^ 2) ≤ K * r ^ beta := by |
| 105 | obtain ⟨q, hq, hq1, hstep⟩ := |
| 106 | A.weighted_energy_contraction g he hei hread Q hQ hpos hC hcoercive hmodulus hmin |
| 107 | obtain ⟨beta, hbeta, K, hK, hpower⟩ := |
| 108 | m64Morrey_exists_uniform_power_of_contraction hR hq hq1 (A.energy_nonneg Q hpos) |
| 109 | have hbounded : Bornology.IsBounded (range Q) := (isCompact_range hQ).isBounded |
| 110 | obtain ⟨B, hB⟩ := hbounded.exists_norm_le |
| 111 | have hb (q : M) : ‖Q q‖ ≤ B := hB _ (mem_range_self q) |
| 112 | refine ⟨beta, hbeta, 2 * C * K, by positivity, ?_⟩ |
| 113 | intro a ha r hr i |
| 114 | have hball (s : ℝ) (hs : s ≤ R) : Metric.ball a s ⊆ S := |
| 115 | Metric.ball_subset_closedBall.trans ((Metric.closedBall_subset_closedBall hs).trans ha) |
| 116 | have hmono : MonotoneOn (A.diskEnergy Q a) (Ioc (0 : ℝ) R) := by |
| 117 | intro s hs t ht hst |
| 118 | exact A.diskEnergy_mono Q hQ hei.isEmbedding hb hpos a hst (hball t ht.2) |
| 119 | have hbase := A.diskEnergy_le_energy Q hQ hei.isEmbedding hb hpos a R (hball R le_rfl) |
| 120 | have hsmall := hpower (A.diskEnergy Q a) hmono hbase |
| 121 | (fun s hs => hstep a s hs.1 ((Metric.closedBall_subset_closedBall hs.2).trans ha)) r hr |
| 122 | calc |
| 123 | _ ≤ 2 * C * A.diskEnergy Q a r := |
| 124 | A.column_disk_energy_le Q hQ hei.isEmbedding hb hpos hC hcoercive a r (hball r hr.2) i |
| 125 | _ ≤ 2 * C * (K * r ^ beta) := mul_le_mul_of_nonneg_left hsmall (by positivity) |
| 126 | _ = _ := by ring |
| 127 | |
| 128 | /-- Every interior point of the actual weighted minimizer has the all-centers weak-column |
| 129 | growth needed by Morrey averaging. Proof expansion for Morgan-Tian (2007), Lemma 19.15, pp. |
| 130 | 447-449. -/ |
| 131 | theorem weighted_local_column_power_growth |
| 132 | (A : M64ObservedWeakAnnulus (n := n) e c0 c1) |
| 133 | (g : RiemannianMetric n M) (he : ContMDiff (𝓡 n) (𝓡 m) 1 e) |
| 134 | (hei : IsClosedEmbedding e) (hread : M60.SUChartReadable (n := n) e) |
| 135 | (Q : M → E →L[ℝ] E →L[ℝ] ℝ) (hQ : Continuous Q) (hpos : ∀ q v, 0 ≤ Q q v v) |
| 136 | {C : ℝ} (hC : 0 ≤ C) |
| 137 | (hcoercive : ∀ (q : M) (v : E), v ∈ range (mfderiv (𝓡 n) (𝓡 m) e q) → |
| 138 | ‖v‖ ^ 2 ≤ C * Q q v v) {modulus : ℝ} (hmodulus : 0 < modulus) |
| 139 | (hmin : ∀ W : M64ObservedWeakAnnulus (n := n) e c0 c1, |
| 140 | A.weightedEnergy Q modulus ≤ W.weightedEnergy Q modulus) |
| 141 | (a : LoopPlane) (ha : a ∈ S) : |
| 142 | ∃ rho : ℝ, 0 < rho ∧ Metric.closedBall a (2 * rho) ⊆ S ∧ |
| 143 | ∃ K : ℝ, 0 ≤ K ∧ ∃ beta : ℝ, 0 < beta ∧ |
| 144 | ∀ b ∈ Metric.closedBall a rho, ∀ r ∈ Ioc (0 : ℝ) rho, ∀ i : Fin 2, |
| 145 | (∫ p in Metric.ball b r, ‖A.column i p‖ ^ 2) ≤ K * r ^ beta := by |
| 146 | obtain ⟨delta, hdelta, hball⟩ := Metric.isOpen_iff.mp isOpen_interior a ha |
| 147 | let rho := delta / 4 |
| 148 | have hrho : 0 < rho := div_pos hdelta (by norm_num) |
| 149 | have hlarge : Metric.closedBall a (2 * rho) ⊆ S := |
| 150 | (Metric.closedBall_subset_ball (show 2 * rho < delta by dsimp [rho]; linarith)).trans hball |
| 151 | obtain ⟨beta, hbeta, K, hK, hpower⟩ := A.weighted_uniform_column_power_growth |
| 152 | g he hei hread Q hQ hpos hC hcoercive hmodulus hmin hrho |
| 153 | refine ⟨rho, hrho, hlarge, K, hK, beta, hbeta, ?_⟩ |
| 154 | intro b hb r hr i |
| 155 | have hba : Metric.closedBall b rho ⊆ S := |
| 156 | (Metric.closedBall_subset_closedBall' (show rho + dist b a ≤ 2 * rho from by |
| 157 | linarith [Metric.mem_closedBall.mp hb])).trans hlarge |
| 158 | exact hpower b hba r hr i |
| 159 | |
| 160 | end PoincareMT.M64ObservedWeakAnnulus |