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/PrimalRimLiftCoverage.lean View file
| @@ -52,6 +52,7 @@ private theorem residualBand_primal_contacts | ||
| 52 | 52 | |
| 53 | 53 | include hbound |
| 54 | 54 | |
| 55 | +omit [Fintype (ResidualComplementaryEdge K P D)] in | |
| 55 | 56 | theorem complementary_attachment_primal_contact |
| 56 | 57 | (i : ResidualHalfBandIndex K P D) {x : E} |
| 57 | 58 | (hx : x ∈ (B i.1).attachment i.2) |
+2 −0 PoincareLib/Topology/Manifold/Smoothing/Rigidity/Surfaces/Cuts/PrimalSectorAttachmentFibers.lean View file
| @@ -39,12 +39,14 @@ theorem rim_subset (i : Fin 4) : C.rim i ⊆ q := | ||
| 39 | 39 | theorem center_mem_spoke (i : Fin 4) : C.center ∈ C.spoke i := |
| 40 | 40 | (C.spoke_ball i).1 (Or.inl rfl) |
| 41 | 41 | |
| 42 | +omit [FiniteDimensional ℝ E] in | |
| 42 | 43 | theorem spoke_subset_sector (i : Fin 4) : C.spoke i ⊆ C.sector i := |
| 43 | 44 | (subset_union_left.trans subset_union_right).trans (C.sector_ball i).1 |
| 44 | 45 | |
| 45 | 46 | theorem center_mem_sector (i : Fin 4) : C.center ∈ C.sector i := |
| 46 | 47 | C.spoke_subset_sector i (C.center_mem_spoke i) |
| 47 | 48 | |
| 49 | +omit [FiniteDimensional ℝ E] in | |
| 48 | 50 | theorem spoke_eq_sector_inter (i : Fin 4) : |
| 49 | 51 | C.spoke i = C.sector (i + 3) ∩ C.sector i := by |
| 50 | 52 | have hi : i + 3 + 1 = i := by fin_cases i <;> decide |