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/ResidualBridges.lean View file
| @@ -76,6 +76,7 @@ theorem residualBridge_eq_image | ||
| 76 | 76 | rw [residualBridge, primalEdgeMark_first_formula K e heq, |
| 77 | 77 | primalEdgeMark_second_formula K e heq, segment_lineMap_image _ _ (by norm_num)] |
| 78 | 78 | |
| 79 | +omit [FiniteDimensional ℝ E] in | |
| 79 | 80 | theorem residualBridge_subset_openEdge |
| 80 | 81 | (e : Edge K.vertexAbstractComplex.toPreAbstractSimplicialComplex) |
| 81 | 82 | {a b : K.vertices} (heq : e.val = {a, b}) : |
+1 −0 PoincareLib/Topology/Manifold/Smoothing/Rigidity/Surfaces/Cuts/RetainedEdgeFibers.lean View file
| @@ -59,6 +59,7 @@ theorem edge_subset_of_mem_openSegment_mem_convexHull | ||
| 59 | 59 | exact hza hz' |
| 60 | 60 | simpa only [Finset.insert_subset_iff, Finset.singleton_subset_iff] using And.intro ha hb |
| 61 | 61 | |
| 62 | +omit [FiniteDimensional ℝ E] in | |
| 62 | 63 | theorem mem_convexHull_iff_edge_subset |
| 63 | 64 | {a b z : E} (hab : a ≠ b) (he : ({a, b} : Finset E) ∈ K.faces) |
| 64 | 65 | (hz : z ∈ openSegment ℝ a b) (u : Triangle K) : |