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/ExteriorProjectionFibers.lean View file
| @@ -38,6 +38,7 @@ noncomputable def residualQuarterMarks : Set E := | ||
| 38 | 38 | {primalEdgeMark K (complementaryOriginalEdge K P hcofaces s.val) ((B s).ends 0), |
| 39 | 39 | primalEdgeMark K (complementaryOriginalEdge K P hcofaces s.val) ((B s).ends 1)} |
| 40 | 40 | |
| 41 | +omit [Fintype (ResidualComplementaryEdge K P D)] in | |
| 41 | 42 | theorem bridge_not_mem_selectedDual |
| 42 | 43 | (hbound : ∀ t ∈ K.faces, t.card ≤ 3) |
| 43 | 44 | (s : ResidualComplementaryEdge K P D) {x : E} |
+2 −0 PoincareLib/Topology/Manifold/Smoothing/Rigidity/Surfaces/Cuts/OriginalHalfBands.lean View file
| @@ -110,6 +110,7 @@ theorem OriginalResidualHalfBands.attachment_interval (B : OriginalResidualHalfB | ||
| 110 | 110 | residualCofaceContact_exact_interval K hbound hcofaces e B.ends_ne B.edge_eq |
| 111 | 111 | (B.coface i).property.1 (B.coface i).property.2 (B.edge_subset i) |
| 112 | 112 | |
| 113 | +omit [FiniteDimensional ℝ E] in | |
| 113 | 114 | theorem OriginalResidualHalfBands.attachment_subset_rim (B : OriginalResidualHalfBands K e) |
| 114 | 115 | (i : Fin 2) : B.attachment i ⊆ B.rim i := |
| 115 | 116 | (B.coface_outer i).trans subset_union_left |
| @@ -118,6 +119,7 @@ theorem OriginalResidualHalfBands.attachment_subset_piece (B : OriginalResidualH | ||
| 118 | 119 | (i : Fin 2) : B.attachment i ⊆ B.piece i := |
| 119 | 120 | (B.attachment_subset_rim i).trans (B.disk i).1 |
| 120 | 121 | |
| 122 | +omit [FiniteDimensional ℝ E] in | |
| 121 | 123 | theorem OriginalResidualHalfBands.piece_subset_band (B : OriginalResidualHalfBands K e) |
| 122 | 124 | (i : Fin 2) : B.piece i ⊆ residualBand K e := by |
| 123 | 125 | fin_cases i |