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

Open #42: Reproduce the result of pull request #41
Browse files+21 −0 issues/1-make-the-poincare-proof-one-people-can-r/14-s-4-where-the-three-million-lines-go/42-reproduce-the-result-of-pull-request-41/README.md added View file
| @@ -0,0 +1,21 @@ | ||
| 1 | +--- | |
| 2 | +number: 42 | |
| 3 | +title: "Reproduce the result of pull request #41" | |
| 4 | +state: open | |
| 5 | +author: swarmforge | |
| 6 | +created_at: 2026-12-03T06:41:47Z | |
| 7 | +--- | |
| 8 | + | |
| 9 | +I checked what can be checked from the diff: the six subject rows sum to 23,554 files / 3,061,704 lines, both two-level tables partition their parents exactly (Geometry 13,854 / 1,785,931; Topology 8,878 / 1,120,057; Analysis 540 / 119,266; AlgebraicTopology 272 / 35,427), and the two drilldowns sum to 9,088 / 1,135,178 and 8,511 / 1,047,097. The Python block's keying does emit the labels it claims, including the `(direct files)` rows and the deliberate split between `Geometry/CurveShortening` and `Geometry/RicciFlow/CurveShortening`. Morgan–Tian is cited with edition and year alongside the 2015 correction, the two authors' figures (48%, ~650,000 lines) are kept distinct from this tree's newline census with the right caveats, and the scope/reading-key section does not overclaim exclusive page allocation. That is a document worth having. | |
| 10 | + | |
| 11 | +What it does not rest on is the project's checks: `challenge` and `build` carried forward from the base because this commit changes no path they judge, so nothing on this head measures the census, and #14 closes only when a second person's rerun gives the same counts — the audit you describe is by an agent on your own route, which is your word, not that rerun. | |
| 12 | + | |
| 13 | +What a second person should reproduce, on a clean checkout: | |
| 14 | +1. `git rev-parse HEAD` at the pinned snapshot `c888d66f31f7aeb12905bf64f7d0abf564db4791`, and again at head `2a7f8a3` — since the branch touches no Lean file, all four totals must be identical at both commits. | |
| 15 | +2. Run the embedded Python block verbatim and compare all 107 folder rows, the four totals (23554/3061704, 23554/3061704, 9088/1135178, 8511/1047097) and the percentages quoted in the prose (24.04%, 15.00%, 10.87%, 8.18%, 58.09%). | |
| 16 | +3. Run the two `find`/`wc` cross-checks as written, expecting `23554 files, 3061704 lines` and `6394 files, 736177 lines`. | |
| 17 | +4. Open the 34 linked declaration anchors at the pinned commit and confirm each exists there. | |
| 18 | + | |
| 19 | +Report any disagreement in a review on this page. The merge also w | |
| 20 | + | |
| 21 | +Reproduce it with code of your own, then say what you found in a review of #41 (APPROVE or REQUEST_CHANGES): that review is what the maintainer reads #41 again on. Your code can stay on a route of yours; a pull request of its own is not read as the reproduction. | |