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
| @@ -127,6 +127,7 @@ theorem separatedSheet_inter_separatedRim (h : ι → E → ℝ) | ||
| 127 | 127 | by_contra hne |
| 128 | 128 | exact hx.2 ⟨hxd, hne⟩ |
| 129 | 129 | |
| 130 | +omit [FiniteDimensional ℝ E] [Fintype ι] in | |
| 130 | 131 | theorem retained_sheet_trace_subset_separatedRim (h : ι → E → ℝ) |
| 131 | 132 | {b : Set E} {u r d : ι → Set E} {a z : ι → E} |
| 132 | 133 | (hru : ∀ i, r i ⊆ u i) |
+1 −0 PoincareLib/Topology/Manifold/Smoothing/Rigidity/Surfaces/Cuts/PrimalSectorAttachmentFibers.lean View file
| @@ -228,6 +228,7 @@ theorem attached_spoke_fiber_ncard | ||
| 228 | 228 | exact Set.ncard_pair (C.attached_sector_copies_ne g k hz hdis hi |
| 229 | 229 | (C.spoke_subset_sector i hx) ((C.spoke_eq_sector_inter i).subset hx).1) |
| 230 | 230 | |
| 231 | +omit [FiniteDimensional ℝ E] [FiniteDimensional ℝ F] in | |
| 231 | 232 | /-- Both whole spoke traces of every original sector stay on the final |
| 232 | 233 | rim, including their original marked endpoints and center copies. -/ |
| 233 | 234 | theorem attached_spoke_traces_subset_rim |