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 884)
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/OriginalCutCoherentSigns.lean View file
| @@ -169,6 +169,7 @@ private theorem mapped_numbered_boundary_cross_parity_reverse [DecidableEq E] | ||
| 169 | 169 | linear_combination (norm := ring_nf) hrev |
| 170 | 170 | simp only [show (2 : ZMod 2) = 0 from rfl, mul_zero, sub_zero] |
| 171 | 171 | |
| 172 | +omit [NormedAddCommGroup E] [NormedSpace ℝ E] in | |
| 172 | 173 | /-- The source numbering, rather than any numbering of image vertices, |
| 173 | 174 | controls the boundary contribution of an affine image triangle. -/ |
| 174 | 175 | theorem mapped_numbered_edge_apex_parity [DecidableEq E] |
+2 −0 PoincareLib/Topology/Manifold/Smoothing/Rigidity/Surfaces/Cuts/PrimalRimLiftCoverage.lean View file
| @@ -72,6 +72,7 @@ theorem complementary_attachment_primal_contact | ||
| 72 | 72 | · exact Or.inl (hcorner 0 ha) |
| 73 | 73 | · exact Or.inr (hcorner 1 hb) |
| 74 | 74 | |
| 75 | +omit [Fintype (ResidualComplementaryEdge K P D)] in | |
| 75 | 76 | private theorem selectedDual_inter_primal_subset_rim {x : E} |
| 76 | 77 | (hxD : x ∈ K.barycentricSubdivision.vertexDualUnion |
| 77 | 78 | (selectedDualCentroidSet K P D hD hcofaces)) |
| @@ -137,6 +138,7 @@ theorem exteriorGap_projection_subset_primalRim | ||
| 137 | 138 | exact ⟨z,⟨C.gap_subset i hzg,fun hc => Set.disjoint_left.mp |
| 138 | 139 | (exteriorGapInterior_disjoint_copies K P D hD hcofaces B h labels C i) hzint hc⟩,rfl⟩ |
| 139 | 140 | |
| 141 | +omit hbound in | |
| 140 | 142 | private theorem copiedBridge_over_primalRim_is_endpoint |
| 141 | 143 | (k : Fin 4) {z : E × (ResidualHalfBandIndex K P D → ℝ)} |
| 142 | 144 | (hzB : z ∈ exteriorCopiedBridge K P D hcofaces B h (exteriorFourIndex K P D labels k)) |