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
+1 −0 PoincareLib/Topology/Manifold/Smoothing/Rigidity/Surfaces/Cuts/FiniteSeparatedAttachments.lean View file
| @@ -149,6 +149,7 @@ def separatedSheetActive (T : Finset ι) : Option ι → Prop | ||
| 149 | 149 | | none => True |
| 150 | 150 | | some i => i ∈ T |
| 151 | 151 | |
| 152 | +omit [FiniteDimensional ℝ E] [Fintype ι] in | |
| 152 | 153 | theorem mem_separatedCarrier_iff_sheet (h : ι → E → ℝ) |
| 153 | 154 | (s : Set E) (u : ι → Set E) (T : Finset ι) (p : E × (ι → ℝ)) : |
| 154 | 155 | p ∈ separatedCarrier h s u T ↔ |
+1 −0 PoincareLib/Topology/Manifold/Smoothing/Rigidity/Surfaces/Cuts/OriginalHalfBands.lean View file
| @@ -115,6 +115,7 @@ theorem OriginalResidualHalfBands.attachment_subset_rim (B : OriginalResidualHal | ||
| 115 | 115 | (i : Fin 2) : B.attachment i ⊆ B.rim i := |
| 116 | 116 | (B.coface_outer i).trans subset_union_left |
| 117 | 117 | |
| 118 | +omit [FiniteDimensional ℝ E] in | |
| 118 | 119 | theorem OriginalResidualHalfBands.attachment_subset_piece (B : OriginalResidualHalfBands K e) |
| 119 | 120 | (i : Fin 2) : B.attachment i ⊆ B.piece i := |
| 120 | 121 | (B.attachment_subset_rim i).trans (B.disk i).1 |