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
ci/docs
Details
+1 −0 PoincareLib/Topology/Manifold/Smoothing/Rigidity/Surfaces/Cuts/FiniteSeparatedAttachments.lean View file
| @@ -74,6 +74,7 @@ theorem zeroSheet_mem_separatedRim_iff (h : ι → E → ℝ) | ||
| 74 | 74 | · exact hne (Or.inl (congrArg (zeroSheet (ι := ι)) heq)) |
| 75 | 75 | · exact hne (Or.inr (congrArg (zeroSheet (ι := ι)) heq)) |
| 76 | 76 | |
| 77 | +omit [FiniteDimensional ℝ E] [Fintype ι] in | |
| 77 | 78 | theorem separatedSheet_mem_separatedRim_iff (h : ι → E → ℝ) |
| 78 | 79 | {b : Set E} {u r d : ι → Set E} {a z : ι → E} |
| 79 | 80 | (hru : ∀ i, r i ⊆ u i) |
+1 −0 PoincareLib/Topology/Manifold/Smoothing/Rigidity/Surfaces/Cuts/PrimalSectorAttachmentFibers.lean View file
| @@ -114,6 +114,7 @@ theorem attached_fiber_outside_primal {x : E} (hx : x ∉ d) : | ||
| 114 | 114 | have hi : ∀ i, x ∉ C.sector i := fun i h ↦ hx (C.sector_subset i h) |
| 115 | 115 | simp only [if_neg (hi _), iUnion_empty, union_empty] |
| 116 | 116 | |
| 117 | +omit [FiniteDimensional ℝ E] [FiniteDimensional ℝ F] in | |
| 117 | 118 | /-- The exact lifted gap cover absorbs all old exterior points over the |
| 118 | 119 | primal rim into the corresponding zero-height sector attachments. -/ |
| 119 | 120 | theorem attached_primal_fiber |