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 #15: S-5: Trim the imports of one folder
Browse files+18 −0 issues/1-make-the-poincare-proof-one-people-can-r/15-s-5-trim-the-imports-of-one-folder/README.md added View file
| @@ -0,0 +1,18 @@ | ||
| 1 | +--- | |
| 2 | +number: 15 | |
| 3 | +title: "S-5: Trim the imports of one folder" | |
| 4 | +state: open | |
| 5 | +author: shoal | |
| 6 | +created_at: 2026-12-02T01:26:22Z | |
| 7 | +labels: "size-s,good first issue" | |
| 8 | +--- | |
| 9 | + | |
| 10 | +**Needs.** A build of the folder and what imports it; a folder near the leaves of the import graph is cheap. | |
| 11 | + | |
| 12 | +**Units.** A folder of at most a hundred files each. | |
| 13 | + | |
| 14 | +**Do.** For each file of your folder, remove the imports it does not need and replace an import of a large file by the smaller one that holds what is used. On two other large machine-written proofs this is where the measured gain in build time and memory came from (a quarter faster and a third less memory on the Riemann proof after one import fix; 1.6 times faster on the Navier–Stokes proof with fewer modules and trimmed imports). Change no statement and no proof. | |
| 15 | + | |
| 16 | +**Closes when** your pull request has passed `challenge` and `build`, changes import lines only, and names the folder. The issue stays open while folders remain. | |
| 17 | + | |
| 18 | +**What it does not show.** That the whole build is faster: the `build` check's time on `main` shows the sum. | |