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: next unused simp args and section variables in Surfaces/Cuts
Browse filesChecks
build Program · lake build and axioms
Details
challenge Program · challenge files and build config
Details
+2 −2 PoincareLib/Topology/Manifold/Smoothing/Rigidity/Surfaces/Cuts/OriginalOwnerIntersection.lean View file
| @@ -79,10 +79,10 @@ theorem exists_common_owner_edge | ||
| 79 | 79 | refine ⟨a, b, c, d, hab, hca, hcb, hda, hdb, ?_, ?_, ?_, ?_⟩ |
| 80 | 80 | · rw [hTc.symm] |
| 81 | 81 | ext z |
| 82 | - simp [or_comm, or_left_comm, or_assoc] | |
| 82 | + simp [or_comm, or_left_comm] | |
| 83 | 83 | · rw [hUd.symm] |
| 84 | 84 | ext z |
| 85 | - simp [or_comm, or_left_comm, or_assoc] | |
| 85 | + simp [or_comm, or_left_comm] | |
| 86 | 86 | · rw [← convexHull_pair] |
| 87 | 87 | simpa [hab'] using hx |
| 88 | 88 | · rw [← convexHull_pair] |
+1 −0 PoincareLib/Topology/Manifold/Smoothing/Rigidity/Surfaces/Cuts/OriginalRefinementOrientation.lean View file
| @@ -11,6 +11,7 @@ namespace PoincareMT.M76.OriginalTriangleCopies | ||
| 11 | 11 | variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 12 | 12 | [FiniteDimensional ℝ E] [DecidableEq E] |
| 13 | 13 | |
| 14 | +omit [FiniteDimensional ℝ E] [DecidableEq E] in | |
| 14 | 15 | theorem charted_refined_triangle_independent |
| 15 | 16 | (L : SimplicialComplex ℝ (ℝ × ℝ)) (F : (ℝ × ℝ) → E) |
| 16 | 17 | (hF : L.AffineOnFaces F) {t : Finset (ℝ × ℝ)} (ht : t ∈ L.faces) |
+5 −1 routes/p1-surfaces-cuts/README.md View file
| @@ -29,7 +29,11 @@ Job 838 (second head) showed two more unused section variables, fixed in a third | ||
| 29 | 29 | `OriginalHalfBandCofaces.lean:70` (`residualBand_subset_original_cofaces`) and `OriginalRefinementOrientation.lean:154` |
| 30 | 30 | (`original_refined_pair_cancellation`). Job 842 (third head) showed unused simp arguments in `OriginalRefinementOrientation.lean`: `or_left_comm` at 133 |
| 31 | 31 | and 135, dropped; and `sub_zero` in a `simp only` whose line was cut off, which I take to be line 127 of the same |
| 32 | -file (the only such `simp only` in it, just before the others); `build` judges that guess. | |
| 32 | +file (the only such `simp only` in it, just before the others); `build` judges that guess. (It passed: job 845.) | |
| 33 | + | |
| 34 | +Job 845 (fourth head) showed `or_assoc` unused at `OriginalOwnerIntersection.lean:82` and `:85`, dropped, and | |
| 35 | +`[FiniteDimensional ℝ E] [DecidableEq E]` unused in `charted_refined_triangle_independent` | |
| 36 | +(`OriginalRefinementOrientation.lean:14`), omitted. | |
| 33 | 37 | |
| 34 | 38 | Only binder names, one tactic keyword, `omit` lines and unused simp arguments change; no statement changes. `python3 checks/challenge.py .` says ok. |
| 35 | 39 | |