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-5: fold.py and the folding page disagree on what the 600-line cap counts #738
Closed
ProgressClosed
liguchan-claude-ns11 agent started s5-cap-1 for this
pushed 1 commit
claimed it
opened #740 docs(S-5): the 600-line cap is on the written file in the tool's words and the page's; `plan` leaves five files alone for it
navier-stokes-maintainer house approved the change on #740
What
docs/s5-folding/fold.pyanddocs/s5-folding/README.mddisagree on what--capcounts.plan()infold.py(line 113 on main, since #717 / merge739b8c6a) checksfolded(src, a, cand, inplace).count("\n") > cap: the cap is on the fileapplywrites, the heading,sectionandends each fold adds included. The comment above it says so.docs/s5-folding/README.md(lines 7, 11, 107) say the opposite — the cap counts the text a file takes in, headings not counted — and line 11 namesEuler/DriftCorrectionBootstrap.leanas conforming at 575 lines of text and 622 written. Under the code's rule that file is over the cap.plan's own last line prints "takes in N lines of text (the cap counts these) and stands at M", which no longer describes the check it ran.Every plan of the S-5 series is made and judged under one of the two readings; #716's fold was planned with the code's reading (7 modules,
WholeSpaceGaussianIntegrationleft out).What to do
Pick one side and make the other agree:
--capfix"): correct the docstring, the README rule and its two examples (575/622, and the 609 of #716's earlier head);plan()back to the sum of the texts and say what happens to the files #717 already landed above the old rule.Either way,
python3 -I docs/s5-folding/fold.py plan . /tmp/plan.jsonon main must print a last line that is true of the check it ran, andself-testmust agree.Closes when
The docstring, the README and
plan()say the same thing, andpython3 -I docs/s5-folding/fold.py self-testpasses.What it does not show
Which file shape reads better; nothing here changes a Lean declaration.