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
+1 −0 PoincareLib/Topology/Manifold/Smoothing/Rigidity/Surfaces/Cuts/ExteriorProjectionFibers.lean View file
| @@ -51,6 +51,7 @@ theorem bridge_not_mem_selectedDual | ||
| 51 | 51 | hcofaces s.val s.property (B s) 0).subset ⟨hx0, hxD⟩ |
| 52 | 52 | exact Set.disjoint_left.mp ((B s).bridge_disjoint_attachment hbound 0) hx hxa |
| 53 | 53 | |
| 54 | +omit [Fintype (ResidualComplementaryEdge K P D)] in | |
| 54 | 55 | theorem complementary_bridge_copies_ne |
| 55 | 56 | (hbound : ∀ t ∈ K.faces, t.card ≤ 3) |
| 56 | 57 | (hz : ∀ i x, x ∈ (B i.1).piece i.2 → (h i x = 0 ↔ x ∈ (B i.1).attachment i.2)) |
+1 −0 PoincareLib/Topology/Manifold/Smoothing/Rigidity/Surfaces/Cuts/SeparatedDiskAttachment.lean View file
| @@ -107,6 +107,7 @@ theorem separatedSheet_image_attachment (h : ι → E → ℝ) (i : ι) {u d : S | ||
| 107 | 107 | intro x hx |
| 108 | 108 | exact (separatedSheet_eq_zeroSheet_iff h i x x).mpr ⟨rfl, (hzero x (hdu hx)).mpr hx⟩ |
| 109 | 109 | |
| 110 | +omit [NormedAddCommGroup E] [NormedSpace ℝ E] [FiniteDimensional ℝ E] [Fintype ι] in | |
| 110 | 111 | theorem separatedSheets_disjoint (h : ι → E → ℝ) {i j : ι} (hij : i ≠ j) |
| 111 | 112 | {u v d e : Set E} (hde : Disjoint d e) |
| 112 | 113 | (hi : ∀ x ∈ u, h i x = 0 ↔ x ∈ d) (hj : ∀ x ∈ v, h j x = 0 ↔ x ∈ e) : |