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
+3 −0 PoincareLib/Topology/Manifold/Smoothing/Rigidity/Surfaces/Cuts/PrimalSectorAttachmentFibers.lean View file
| @@ -33,9 +33,11 @@ theorem sector_subset (i : Fin 4) : C.sector i ⊆ d := by | ||
| 33 | 33 | · exact Or.inr (Or.inl hx) |
| 34 | 34 | · exact Or.inr (Or.inr hx) |
| 35 | 35 | |
| 36 | +omit [FiniteDimensional ℝ E] in | |
| 36 | 37 | theorem rim_subset (i : Fin 4) : C.rim i ⊆ q := |
| 37 | 38 | (C.sector_rim i).symm.subset.trans inter_subset_right |
| 38 | 39 | |
| 40 | +omit [FiniteDimensional ℝ E] in | |
| 39 | 41 | theorem center_mem_spoke (i : Fin 4) : C.center ∈ C.spoke i := |
| 40 | 42 | (C.spoke_ball i).1 (Or.inl rfl) |
| 41 | 43 | |
| @@ -52,6 +54,7 @@ theorem spoke_eq_sector_inter (i : Fin 4) : | ||
| 52 | 54 | have hi : i + 3 + 1 = i := by fin_cases i <;> decide |
| 53 | 55 | simpa only [hi] using (C.sector_inter_next (i + 3)).symm |
| 54 | 56 | |
| 57 | +omit [FiniteDimensional ℝ E] in | |
| 55 | 58 | theorem spoke_sector_mem_iff (i j : Fin 4) {x : E} |
| 56 | 59 | (hx : x ∈ C.spoke i) (hxc : x ≠ C.center) : |
| 57 | 60 | x ∈ C.sector j ↔ j = i ∨ j = i + 3 := by |