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

S-4: Where the three million lines go #14
Open
Needs. Reading only:
find,wcand the P-4 guides as they arrive.Do. Write
docs/size-map.md: files and lines per folder two levels down (Geometry/RicciFlow/Surgery4,118 files,Topology/Manifold/Smoothing6,394,Geometry/CurveShortening2,534,Geometry/Riemannian1,704 …), the part of Morgan–Tian or of the topological half each serves, and beside it the pages the book spends on the same part. Two figures from the authors to check: about 48% of the source is background theory and shared infrastructure, and smooth structures on topological three-manifolds take about 650,000 lines, for a result Morgan–Tian cite in a footnote. Give the commands, so the table can be made again after a merge.Closes when the pull request adds the table with its commands, and a second person's rerun gives the same counts.
What it does not show. Which lines are needed: it says where a smaller proof would save most.