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 (job 931)
Browse filesChecks
build Program · lake build and axioms
Details
challenge Program · challenge files and build config
Details
ci/docs
Details
+1 −0 PoincareLib/Topology/Manifold/Smoothing/Rigidity/Surfaces/Cuts/BoundaryGraphAttachment.lean View file
| @@ -22,6 +22,7 @@ variable {E F : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] | ||
| 22 | 22 | |
| 23 | 23 | def heightGraph (g : E → F) (x : E) : E × F := (x, g x) |
| 24 | 24 | |
| 25 | +omit [NormedAddCommGroup E] [NormedSpace ℝ E] [FiniteDimensional ℝ E] [NormedAddCommGroup F] [NormedSpace ℝ F] [FiniteDimensional ℝ F] in | |
| 25 | 26 | theorem heightGraph_injective (g : E → F) : Function.Injective (heightGraph g) := |
| 26 | 27 | fun _ _ h ↦ congrArg Prod.fst h |
| 27 | 28 | |
+1 −1 PoincareLib/Topology/Manifold/Smoothing/Rigidity/Surfaces/Cuts/PrimalRimLiftCoverage.lean View file
| @@ -140,7 +140,7 @@ theorem exteriorGap_projection_subset_primalRim | ||
| 140 | 140 | exact ⟨z,⟨C.gap_subset i hzg,fun hc => Set.disjoint_left.mp |
| 141 | 141 | (exteriorGapInterior_disjoint_copies K P D hD hcofaces B h labels C i) hzint hc⟩,rfl⟩ |
| 142 | 142 | |
| 143 | -omit hbound in | |
| 143 | +omit hbound [Fintype (ResidualComplementaryEdge K P D)] in | |
| 144 | 144 | private theorem copiedBridge_over_primalRim_is_endpoint |
| 145 | 145 | (k : Fin 4) {z : E × (ResidualHalfBandIndex K P D → ℝ)} |
| 146 | 146 | (hzB : z ∈ exteriorCopiedBridge K P D hcofaces B h (exteriorFourIndex K P D labels k)) |