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/ResidualBand.lean View file
| @@ -350,6 +350,7 @@ theorem primal_coface_contact_inter | ||
| 350 | 350 | exact (Finset.eq_of_subset_of_card_le hsub |
| 351 | 351 | ((K.barycentricSubdivision_card_le (N := 2) hbound s hs).trans_eq hcard.symm)).symm |
| 352 | 352 | |
| 353 | +omit [FiniteDimensional ℝ E] in | |
| 353 | 354 | theorem residualCofaceContact_disjoint |
| 354 | 355 | (e : Edge K.vertexAbstractComplex.toPreAbstractSimplicialComplex) |
| 355 | 356 | {t u : Finset E} (ht : t ∈ K.faces) (hu : u ∈ K.faces) |
+1 −0 PoincareLib/Topology/Manifold/Smoothing/Rigidity/Surfaces/Cuts/ResidualBandCut.lean View file
| @@ -38,6 +38,7 @@ theorem residualBand_halfEdge_passage | ||
| 38 | 38 | K.barycentricSubdivision.vertexDualRim_singleton, originalVertexCentroid_val, |
| 39 | 39 | residualBand, residualBandRim, primalEdgeMark, Finset.pair_comm] using h |
| 40 | 40 | |
| 41 | +omit [FiniteDimensional ℝ E] [DecidableEq E] in | |
| 41 | 42 | private theorem segment_lineMap_interval (a b : E) {u v : ℝ} (huv : u ≤ v) : |
| 42 | 43 | segment ℝ (AffineMap.lineMap a b u) (AffineMap.lineMap a b v) = |
| 43 | 44 | AffineMap.lineMap a b '' Icc u v := by |