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.Blowup.Controlled.Geometry |
| 2 | |
| 3 | /-! |
| 4 | # The backward interval of Theorem 11.8 |
| 5 | |
| 6 | Morgan--Tian Theorem 11.8, p. 272, includes its terminal time and excludes its |
| 7 | finite left endpoint. An infinite horizon gives the full ancient interval. |
| 8 | -/ |
| 9 | |
| 10 | set_option autoImplicit false |
| 11 | |
| 12 | open scoped ENNReal |
| 13 | |
| 14 | namespace PoincareMT.M30 |
| 15 | |
| 16 | /-- An infinite horizon is exactly the ancient domain (Theorem 11.8, p. 272). -/ |
| 17 | @[simp] theorem blowupBackwardInterval_top : |
| 18 | blowupBackwardInterval ⊤ = Set.Iic 0 := by |
| 19 | ext t |
| 20 | simp [blowupBackwardInterval] |
| 21 | |
| 22 | /-- The terminal time is included precisely for a positive horizon |
| 23 | (Theorem 11.8, p. 272). -/ |
| 24 | @[simp] theorem zero_mem_blowupBackwardInterval {T : ℝ≥0∞} : |
| 25 | 0 ∈ blowupBackwardInterval T ↔ 0 < T := by |
| 26 | simp [blowupBackwardInterval] |
| 27 | |
| 28 | /-- Increasing the horizon increases the backward domain |
| 29 | (Theorem 11.8, p. 272). -/ |
| 30 | theorem blowupBackwardInterval_mono {T T' : ℝ≥0∞} (h : T ≤ T') : |
| 31 | blowupBackwardInterval T ⊆ blowupBackwardInterval T' := by |
| 32 | intro t ht |
| 33 | exact ⟨ht.1, ht.2.trans_le h⟩ |
| 34 | |
| 35 | /-- A positive finite horizon gives the expected half-open real interval |
| 36 | (Theorem 11.8, p. 272). -/ |
| 37 | theorem blowupBackwardInterval_ofReal {T : ℝ} (hT : 0 < T) : |
| 38 | blowupBackwardInterval (ENNReal.ofReal T) = Set.Ioc (-T) 0 := by |
| 39 | ext t |
| 40 | simp only [blowupBackwardInterval, Set.mem_ofPred_eq, Set.mem_Ioc, |
| 41 | ENNReal.ofReal_lt_ofReal_iff hT] |
| 42 | constructor |
| 43 | · rintro ⟨ht, h⟩ |
| 44 | exact ⟨neg_lt.mp h, ht⟩ |
| 45 | · rintro ⟨h, ht⟩ |
| 46 | exact ⟨ht, neg_lt.mpr h⟩ |
| 47 | |
| 48 | /-- Every closed slab strictly below the horizon lies in the limit domain |
| 49 | (Theorem 11.8, p. 272; Definition 5.12, p. 90). -/ |
| 50 | theorem closedSlab_subset_blowupBackwardInterval {T : ℝ} {T₀ : ℝ≥0∞} |
| 51 | (hT : ENNReal.ofReal T < T₀) : |
| 52 | Set.Icc (-T) 0 ⊆ blowupBackwardInterval T₀ := by |
| 53 | intro t ht |
| 54 | exact ⟨ht.2, (ENNReal.ofReal_le_ofReal (neg_le.mp ht.1)).trans_lt hT⟩ |
| 55 | |
| 56 | end PoincareMT.M30 |