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/OriginalExteriorGaps.lean View file
| @@ -68,6 +68,7 @@ theorem exteriorCopiedMark_ne (i : ResidualHalfBandIndex K P D) : | ||
| 68 | 68 | (by simp [(B i.1).edge_eq]) (by simp [(B i.1).edge_eq]) (Or.inr (B i.1).ends_ne) |
| 69 | 69 | (congrArg Prod.fst he) |
| 70 | 70 | |
| 71 | +omit [Fintype (ResidualComplementaryEdge K P D)] in | |
| 71 | 72 | theorem exteriorCopiedBridge_pairwise |
| 72 | 73 | (hbound : ∀ t ∈ K.faces, t.card ≤ 3) |
| 73 | 74 | (hz : ∀ i x, x ∈ (B i.1).piece i.2 → |
+1 −0 PoincareLib/Topology/Manifold/Smoothing/Rigidity/Surfaces/Cuts/PrimalSectorAttachmentFibers.lean View file
| @@ -141,6 +141,7 @@ theorem attached_primal_fiber | ||
| 141 | 141 | (separatedSheet_eq_zeroSheet_iff k i _ _).mpr ⟨hvy, (hz i x hxi).mpr hv⟩ |
| 142 | 142 | exact mem_iUnion.mpr ⟨i, by rw [if_pos hxi]; exact heq.symm⟩ |
| 143 | 143 | |
| 144 | +omit [FiniteDimensional ℝ E] [NormedAddCommGroup F] [NormedSpace ℝ F] [FiniteDimensional ℝ F] in | |
| 144 | 145 | theorem attached_sector_copies_ne |
| 145 | 146 | (hz : ∀ i x, x ∈ C.sector i → |
| 146 | 147 | (k i (heightGraph (g i) x) = 0 ↔ x ∈ C.rim i)) |