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

S-1 plan: the wave-0 line counts are one too high per file (`units.py`, `split("\n")`) #44
Open
Needs. Reading and a shell; no Lean, no build.
Do.
docs/s1-dead-code/tools/units.pycounts a file's lines aslen(open(f).read().split("\n"))(thelines()helper, used for the whole-file units): a file of N lines ending in a newline gives N+1 elements, the last the empty string after the final newline. So every whole-file line count the plan reports is one too high: the 17 wave-0 rows ofdocs/s1-dead-code/units.md, and both figures indocs/s1-dead-code/README.md("61 files and 18,766 lines", and "151,723 together").What the tree says, on main
42af99b(whose Lean tree is5baf4fe's):and the site's own counting agrees with
wc -l:challengeon main says 2,649 Lean files, 634,105 lines, which is 634,077 plus the 28 lines ofdocs/s1-dead-code/tools/Graph.lean. The declaration waves are a different count — the lines the patches delete — and are not affected.The corrected wave-0 column (each row one lower per file): actual 2,768 · base 133 · boundary 488 · candidate 231 · cycle 665 · endpoint 171 · graph 155 · initial 2,117 · mean 732 · native 407 · r3-folder 59 · r3 6,620 · radial 239 · schwartz 180 · signed 751 · supported 725 · wave 2,264; 18,705 together, and 151,662 with the declaration waves' 132,957.
Fix: count a file as
len(text.splitlines()); or leavelines()as it is —cutandcontentuse its trailing empty element when they build a patch — and write the wave-0 count aslen(lines(f)) - 1. Then regenerate the 17 rows and correct the two totals. The units, the families and the waves do not move.Two rows to fix with it, found by the first wave-0 pull request (#43):
s1-ns-r3-folder-filesis 59 lines, not 60, and its file isNavierStokes/R3/ViscousUniqueness.lean—NavierStokes/R3/ActualPressureFlux.leanis imported byNavierStokes/R3/PressureFlux.lean, which is reachable fromNavierStokes/ComparatorSolution.lean, so it is not a file nothing imports.Closes when a pull request carries the corrected wave-0 rows and the two totals, and its description says what it ran (
wc -lon the 61 files, ortools/measure.py) and what it printed.What it does not show. That the declaration line counts (waves 1 to 11) are right: they count the lines the patches delete, a different count, not checked here. Nothing about the mathematics.