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.RicciFlow.Surgery.StandardCap.UniquenessData |
| 2 | |
| 3 | /-! |
| 4 | # Identifying a partial standard limit |
| 5 | |
| 6 | Morgan--Tian, Lemma 16.8 and Corollary 16.9, pp. 372-373, identify the |
| 7 | constructed partial limit by Theorem 12.5. These lemmas apply M35 to that |
| 8 | same initial metric and compare it to an arbitrary maximal model decoration. |
| 9 | The construction and convergence of the partial limit are not assumed here |
| 10 | as consequences of uniqueness. |
| 11 | -/ |
| 12 | |
| 13 | set_option autoImplicit false |
| 14 | |
| 15 | namespace PoincareMT |
| 16 | |
| 17 | namespace RepairedStandardCapUniquenessData |
| 18 | |
| 19 | variable {g₀ : StandardInitialMetric} {E : RepairedStandardCapExistenceData g₀} |
| 20 | (U : RepairedStandardCapUniquenessData g₀ E) |
| 21 | |
| 22 | include U |
| 23 | |
| 24 | /-- Every maximal decoration has the unit lifetime used in Corollary 16.9, |
| 25 | p. 373, by M35's lifetime uniqueness. -/ |
| 26 | theorem model_lifetime_one (G : MaximalStandardCapFlow g₀) : G.base.lifetime = 1 := |
| 27 | (U.unique_lifetime G).symm.trans U.lifetime_one |
| 28 | |
| 29 | /-- On the unit time interval the arbitrary maximal model is the |
| 30 | selected M34 model (Lemma 16.8, p. 372). -/ |
| 31 | theorem model_metric_eq (G : MaximalStandardCapFlow g₀) |
| 32 | {t : ℝ} (ht : t ∈ Set.Ico (0 : ℝ) 1) : E.flow.metric t = G.metric t := by |
| 33 | apply U.unique_metric G t |
| 34 | simpa only [U.lifetime_one, U.model_lifetime_one G, Set.inter_self] using ht |
| 35 | |
| 36 | /-- A genuine partial limit agrees with the selected standard solution on |
| 37 | the common time interval (Lemma 16.8, p. 372). -/ |
| 38 | theorem partial_metric_eq (G : PartialStandardCapFlow g₀) |
| 39 | {t : ℝ} (ht : t ∈ Set.Ico (0 : ℝ) 1) (hG : t < G.lifetime) : |
| 40 | G.flow.metric t = E.flow.metric t := by |
| 41 | symm |
| 42 | apply U.partial_unique_metric G t |
| 43 | exact ⟨by simpa only [U.lifetime_one] using ht, ht.1, hG⟩ |
| 44 | |
| 45 | /-- After partial-limit identification, the limit may be compared to the |
| 46 | observation's maximal model (Corollary 16.9, p. 373). -/ |
| 47 | theorem partial_metric_eq_model (G : PartialStandardCapFlow g₀) |
| 48 | (S : MaximalStandardCapFlow g₀) {t : ℝ} |
| 49 | (ht : t ∈ Set.Ico (0 : ℝ) 1) (hG : t < G.lifetime) : |
| 50 | G.flow.metric t = S.metric t := |
| 51 | (U.partial_metric_eq G ht hG).trans (U.model_metric_eq S ht) |
| 52 | |
| 53 | end RepairedStandardCapUniquenessData |
| 54 | |
| 55 | end PoincareMT |