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
+2 −0 PoincareLib/Topology/Manifold/Smoothing/Rigidity/Surfaces/Cuts/SeparatedDiskAttachment.lean View file
| @@ -68,6 +68,7 @@ theorem separatedSheet_distinct_eq_iff (h : ι → E → ℝ) {i j : ι} (hij : | ||
| 68 | 68 | · rintro ⟨rfl, hi, hj⟩ |
| 69 | 69 | simp [separatedSheet, hi, hj] |
| 70 | 70 | |
| 71 | +omit [Fintype ι] [DecidableEq ι] in | |
| 71 | 72 | /-- Exact heights are constructed from the disk and interval triangulations. -/ |
| 72 | 73 | theorem exists_separating_disk_heights {u r d : ι → Set E} {a b : ι → E} |
| 73 | 74 | (hu : ∀ i, IsFinitePLBallPair (ℝ × ℝ) (u i) (r i)) |
| @@ -122,6 +123,7 @@ def separatedRim (h : ι → E → ℝ) (b : Set E) (r d : ι → Set E) | ||
| 122 | 123 | (zeroSheet '' b ∪ ⋃ i ∈ T, separatedSheet h i '' r i) \ |
| 123 | 124 | ⋃ i ∈ T, ((zeroSheet '' d i) \ {zeroSheet (ι := ι) (a i), zeroSheet (ι := ι) (z i)}) |
| 124 | 125 | |
| 126 | +omit [FiniteDimensional ℝ E] [Fintype ι] in | |
| 125 | 127 | theorem separatedCarrier_insert (h : ι → E → ℝ) (s : Set E) (u : ι → Set E) |
| 126 | 128 | (T : Finset ι) (i : ι) : |
| 127 | 129 | separatedCarrier h s u (insert i T) = separatedCarrier h s u T ∪ separatedSheet h i '' u i := by |