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

P-1: omit unused section variables named by build
Browse filesChecks
build Program · lake build and axioms
Details
challenge Program · challenge files and build config
Details
+2 −0 PoincareLib/Topology/Manifold/Smoothing/Rigidity/Surfaces/Cuts/SeparatedDiskAttachment.lean View file
| @@ -92,6 +92,7 @@ theorem exists_separating_disk_heights {u r d : ι → Set E} {a b : ι → E} | ||
| 92 | 92 | choose h hh hzero using hone |
| 93 | 93 | exact ⟨h, hh, hzero⟩ |
| 94 | 94 | |
| 95 | +omit [FiniteDimensional ℝ E] [Fintype ι] in | |
| 95 | 96 | theorem separatedSheet_inter_base (h : ι → E → ℝ) (i : ι) {s u d : Set E} |
| 96 | 97 | (hdu : d ⊆ u) (hds : d ⊆ s) (hzero : ∀ x ∈ u, h i x = 0 ↔ x ∈ d) : |
| 97 | 98 | (zeroSheet (ι := ι) '' s) ∩ (separatedSheet h i '' u) = zeroSheet (ι := ι) '' d := by |
| @@ -104,6 +105,7 @@ theorem separatedSheet_inter_base (h : ι → E → ℝ) (i : ι) {s u d : Set E | ||
| 104 | 105 | exact ⟨⟨x, hds hx, rfl⟩, ⟨x, hdu hx, |
| 105 | 106 | (separatedSheet_eq_zeroSheet_iff h i x x).mpr ⟨rfl, (hzero x (hdu hx)).mpr hx⟩⟩⟩ |
| 106 | 107 | |
| 108 | +omit [FiniteDimensional ℝ E] [Fintype ι] in | |
| 107 | 109 | theorem separatedSheet_image_attachment (h : ι → E → ℝ) (i : ι) {u d : Set E} |
| 108 | 110 | (hdu : d ⊆ u) (hzero : ∀ x ∈ u, h i x = 0 ↔ x ∈ d) : |
| 109 | 111 | separatedSheet h i '' d = zeroSheet (ι := ι) '' d := by |