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/BoundaryGraphAttachment.lean View file
| @@ -26,6 +26,7 @@ omit [NormedAddCommGroup E] [NormedSpace ℝ E] [FiniteDimensional ℝ E] [Norme | ||
| 26 | 26 | theorem heightGraph_injective (g : E → F) : Function.Injective (heightGraph g) := |
| 27 | 27 | fun _ _ h ↦ congrArg Prod.fst h |
| 28 | 28 | |
| 29 | +omit [NormedAddCommGroup E] [NormedSpace ℝ E] [FiniteDimensional ℝ E] [NormedAddCommGroup F] [NormedSpace ℝ F] [FiniteDimensional ℝ F] in | |
| 29 | 30 | @[simp] theorem heightGraph_mem_image (g : E → F) (s : Set E) (x : E) : |
| 30 | 31 | heightGraph g x ∈ heightGraph g '' s ↔ x ∈ s := by |
| 31 | 32 | constructor |
+1 −0 PoincareLib/Topology/Manifold/Smoothing/Rigidity/Surfaces/Cuts/ExteriorProjectionFibers.lean View file
| @@ -179,6 +179,7 @@ theorem residualBridge_inter_primalRim | ||
| 179 | 179 | change (B s).ends 1 ∈ (complementaryOriginalEdge K P hcofaces s.val).val |
| 180 | 180 | simp [(B s).edge_eq])⟩ |
| 181 | 181 | |
| 182 | +omit [Fintype (ResidualComplementaryEdge K P D)] in | |
| 182 | 183 | theorem residualBridgeUnion_inter_primalRim |
| 183 | 184 | (hP : P ≤ K.vertexAbstractComplex.edgeGraph) : |
| 184 | 185 | residualBridgeUnion K P D hcofaces B ∩ |