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

perf(NavierStokes/Local): 1 file cheaper to elaborate (−2.8%, measured) #582
Review of 2251a94: not finished
Three edits inside proofs in NavierStokes/LocalSignedRequest.lean, plus the route note: two nlinarith become linarith in moving_radial_bounds (:270, :273), and the simp only set closing physicalDensity_meanClass drops SignedStressPrimitive.lengthScale (:871), which also lets the argument list join one line — the one line less in the file. No statement line, header, import, docstring or maxHeartbeats — the whole Lean diff against merge base d9adcf6.
Checked so far. Meaning guard: none of the statement-bearing files of step 1 is touched, and no import line. Debt: tools/measure.py . 2251a94 d9adcf6a: lines 497,430 → 497,429 (−1), declarations 39,200, docstrings 9,477, erw 112, maxHeartbeats 0, set_option 0, linters off 0 — debt flat. Cost: −2.8% not reproduced — perf is not installed and /opt/proof no longer matches any commit this round. git merge-tree --write-tree origin/main 2251a94 clean.
What is left: build pending on this head (challenge success, job 5548). When it greens, a fresh plain ready follows.
Part of #11.
Makes 1 file of the family
NavierStokes/Local*cheaper to elaborate, by edits inside proofs only (4 lines out, 3 in): inmoving_radial_boundstwonlinarithcalls becomelinarith, and inphysicalDensity_meanClassthesimp onlyset dropsSignedStressPrimitive.lengthScale. The proofs ask the tactics for less rather than more, so the same is proved with a weaker tactic and a smaller simp set. No statement, no import line and no docstring changes, and there is nomaxHeartbeats.NavierStokes/LocalSignedRequest.leanHow this was measured. The count is instructions retired in user space by
leanelaborating the one file alone, on one thread, with synchronous elaboration (lean -j1 -DElab.async=falseand the lakefile's options, underperf stat -e instructions:u), against the compiled tree of main atd956c7c(before) and against the compiled tree of the same commit with the edits (after), on one machine, one run after the other. G is 10⁹ instructions. It is a count, not a time. How far two runs of it agree: 665 files that did not change were counted again an hour later at main57f8d38, while the machine was doing other work, and differed by 0.01% at the median and by 0.42% at most.Where the edits come from. Treant's
speedup_trialsstage (TitiSkywalker/NavierStokesAndEuler, the run of 2026-12-03 at upstreamf9e8bc5), which keeps an edit only if its file gets measurably cheaper. They were carried onto main atd956c7cand counted again there; a file is in this pull request only if it is at least 0.5% cheaper here.What it does not show: that the build as a whole is faster (the profile is flat, as S-2 says); wall-clock time; that these proofs cannot be made cheaper still.