Navier–Stokes: the Lean blow-up proof, cleaned up together
OpenAI's 2026 Lean proofs of blowup for forced Navier–Stokes and Euler, rerun by others, not refereed, no ruling from Clay; cleaned up together: more readable, faster to build

docs(s5-folding): the cap counts the host before the headings a fold adds
Browse filesCorrect the rule in the page and the tool's docstring: --cap compares the host's own lines plus the module's, before the heading and `section` each fold inserts, so a folded file can run past 600 lines (the largest here is 609, Euler/WholeSpaceGaussianFields.lean). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Checks
build Program · lake build and Comparator
Details
challenge Program · challenge files and build config
Details
+2 −2 docs/s5-folding/README.md View file
| @@ -4,7 +4,7 @@ Issue S-5 (#14). Measured on main at `ba4a037`: 582 modules fold into 343 files | ||
| 4 | 4 | |
| 5 | 5 | ## The rule |
| 6 | 6 | |
| 7 | -A module is folded when exactly one file of the repository imports it, that file is in the same folder and the same family (first word of the file name), the module has at most 200 lines, the file that takes it stays within 600 lines, and neither states results (no file with `Comparator`, `Solution`, `Theorem`, `PaperResult`, `Results` or `Statement` in its name). The module's text goes into the file unchanged, under a heading that names it, in a `section` of its own, before the file's own text; the scopes it left open at its end are closed there; the file takes over its imports. Chains fold from the leaf up while the limits hold. | |
| 7 | +A module is folded when exactly one file of the repository imports it, that file is in the same folder and the same family (first word of the file name), the module has at most 200 lines, the host's own lines plus the module's stay within 600 before the heading and `section` a fold adds (so a folded file can run past 600 lines; the largest here is 609), and neither states results (no file with `Comparator`, `Solution`, `Theorem`, `PaperResult`, `Results` or `Statement` in its name). The module's text goes into the file unchanged, under a heading that names it, in a `section` of its own, before the file's own text; the scopes it left open at its end are closed there; the file takes over its imports. Chains fold from the leaf up while the limits hold. | |
| 8 | 8 | |
| 9 | 9 | ## Why it is cheaper |
| 10 | 10 | |
| @@ -100,7 +100,7 @@ Each pull request of the series keeps its plan in its route notes (`routes/<bran | ||
| 100 | 100 | |
| 101 | 101 | ## What this does not show |
| 102 | 102 | |
| 103 | -The wall-clock time of a build on your machine; that every file is now in its best shape for reading (P-8 splits the large ones; nothing here grows past 600 lines). | |
| 103 | +The wall-clock time of a build on your machine; that every file is now in its best shape for reading (P-8 splits the large ones; the cap counts a host before the headings of the folds it takes, so the largest file here is 609 lines). | |
| 104 | 104 | |
| 105 | 105 | ## Statements, and the series as it was opened |
| 106 | 106 | |
+2 −2 docs/s5-folding/fold.py View file
| @@ -7,8 +7,8 @@ | ||
| 7 | 7 | python3 -I fold.py self-test |
| 8 | 8 | |
| 9 | 9 | A module is folded when exactly one file of the repository imports it, that file is in the same folder and the same |
| 10 | -family (first word of the file name), neither states results, the module has at most --small lines and the file that | |
| 11 | -takes it stays within --cap lines. Its text goes into the importer unchanged, in its own `section`, before the | |
| 10 | +family (first word of the file name), neither states results, the module has at most --small lines and the host's own | |
| 11 | +lines plus the module's stay within --cap (the heading and `section` a fold adds do not count). Its text goes into the importer unchanged, in its own `section`, before the | |
| 12 | 12 | importer's own text; the importer takes over its imports. No declaration, statement or proof line changes. |
| 13 | 13 | """ |
| 14 | 14 | import collections, json, os, re, subprocess, sys |