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
+2 −0 PoincareLib/Topology/Manifold/Smoothing/Rigidity/Surfaces/Cuts/ResidualBand.lean View file
| @@ -137,6 +137,7 @@ theorem originalEdgeCentroid_ne_triangleCentroid | ||
| 137 | 137 | rw [Finset.card_map, e.property.2, htc] at hc |
| 138 | 138 | omega |
| 139 | 139 | |
| 140 | +omit [FiniteDimensional ℝ E] in | |
| 140 | 141 | theorem residualCofaceContact_subset_bandRim |
| 141 | 142 | (e : Edge K.vertexAbstractComplex.toPreAbstractSimplicialComplex) |
| 142 | 143 | {t : Finset E} (ht : t ∈ K.faces) (htc : t.card = 3) : |
| @@ -210,6 +211,7 @@ noncomputable def residualBandCorner | ||
| 210 | 211 | (v : K.vertices) (t : Finset E) : E := |
| 211 | 212 | ({v.val, (originalEdgeCentroid K e).val, t.centroid ℝ id} : Finset E).centroid ℝ id |
| 212 | 213 | |
| 214 | +omit [FiniteDimensional ℝ E] [Fintype ↑K.barycentricSubdivision.faces] in | |
| 213 | 215 | private theorem edge_flag_triangle_face |
| 214 | 216 | (e : Edge K.vertexAbstractComplex.toPreAbstractSimplicialComplex) |
| 215 | 217 | {v : K.vertices} (hv : v ∈ e.val) {t : Finset E} (ht : t ∈ K.faces) |