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 two unused section variables in Surfaces/Cuts
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/OriginalHalfBandCofaces.lean View file
| @@ -67,6 +67,7 @@ variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] | ||
| 67 | 67 | (K : SimplicialComplex ℝ E) [Fintype K.faces] |
| 68 | 68 | [Fintype K.barycentricSubdivision.faces] |
| 69 | 69 | |
| 70 | +omit [FiniteDimensional ℝ E] in | |
| 70 | 71 | theorem residualBand_subset_original_cofaces |
| 71 | 72 | (hpure : ∀ s ∈ K.faces, ∃ t ∈ K.faces, s ⊆ t ∧ t.card = 3) |
| 72 | 73 | (hcofaces : ∀ s ∈ K.faces, s.card = 2 → |
+1 −0 PoincareLib/Topology/Manifold/Smoothing/Rigidity/Surfaces/Cuts/OriginalRefinementOrientation.lean View file
| @@ -151,6 +151,7 @@ theorem charted_refined_cofaces_cancel | ||
| 151 | 151 | · exact hcancel T hTf U hUf hTc hUc hTU v w hvw |
| 152 | 152 | (by simp [hTv]) (by simp [hUv]) |
| 153 | 153 | /-! Local mod-two transport used after applying concrete affine owner charts. -/ |
| 154 | +omit [NormedAddCommGroup E] [NormedSpace ℝ E] [FiniteDimensional ℝ E] in | |
| 154 | 155 | theorem original_refined_pair_cancellation |
| 155 | 156 | (sourceSign : Finset E → ZMod 2) (number : E → ℕ) |
| 156 | 157 | {T U s : Finset E} {a b : E} (hs : s = {a, b}) |
+6 −1 routes/p1-surfaces-cuts/README.md View file
| @@ -25,7 +25,12 @@ commit: | ||
| 25 | 25 | `OriginalResidualHalfBands.coface_hulls_inter` and `residualCofaceContact_subset_original_coface` → `omit … in`, |
| 26 | 26 | as the `unusedSectionVars` linter suggests (an instance argument nothing used; the stated claim is unchanged). |
| 27 | 27 | |
| 28 | -Only binder names, one tactic keyword and two `omit` lines change; no statement changes. `python3 checks/challenge.py .` says ok. | |
| 28 | +Job 838 (second head) showed two more unused section variables, fixed in a third commit with `omit … in`: | |
| 29 | +`OriginalHalfBandCofaces.lean:70` (`residualBand_subset_original_cofaces`) and `OriginalRefinementOrientation.lean:154` | |
| 30 | +(`original_refined_pair_cancellation`). It also showed the end of an `unusedSimpArgs` warning (suggesting | |
| 31 | +`simp [or_comm]`) whose file and line were cut off; I leave it for the next log rather than guess. | |
| 32 | + | |
| 33 | +Only binder names, one tactic keyword and `omit` lines change; no statement changes. `python3 checks/challenge.py .` says ok. | |
| 29 | 34 | |
| 30 | 35 | ## Next |
| 31 | 36 | |