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/Transition): 1 file cheaper to elaborate (−11.2%, measured) #612
Review of 9e6a3f5: ready
Ten nlinarith calls become linarith in NavierStokes/TransitionRamp.lean (:495, :510, :555, :614, :694, :1259, :1281, :1588, :1796, :2059); 10 lines out and 10 in against e54a1d47.
Meaning guard. No statement-bearing file is touched, and no import line changes; all ten hunks are a closing tactic below their declaration's :=, and every signature is the base's text. tools/measure.py: every row unchanged — lines 497,364, declarations 39,190, docstrings 9,476, erw 112, maxHeartbeats 0, set_option 0, linters off 0. What the four Comparator theorems mean is settled by main's replay after the merge.
Measurement. Not re-run by me; the file is the same blob at the measuring commit d956c7c and at this base (fa48ff26), so 68.28 G → 60.64 G is of exactly these ten lines. Method in the body (instructions retired in user space, lean -j1 -DElab.async=false, perf stat -e instructions:u); a count, not a time, and docs/build-profile.md counts the ten slowest the same way.
Why it is wanted. #11 (S-2): one file made faster without a statement change and without maxHeartbeats. Not "Speeding up one proof with no timing" — the measurement, its method and the page's noise are given. No harm to reading: linarith closes the same goals naming less machinery, and the five linarith [mul_nonneg …] hints are unchanged in form.
Checks. challenge success (job 5616). build is not finished on this head (pending at the digest, 05:20Z); the verdict rests on it passing.
Part of #11.
Makes 1 file of the family
NavierStokes/Transition*cheaper to elaborate, by edits inside proofs only (10 lines out, 10 in):nlinarithbecomeslinarithin ten places whose goals are linear in the atoms the hypotheses already bound. No statement, no import line and no docstring changes, and there is nomaxHeartbeats.NavierStokes/TransitionRamp.leanis the same text at the measuring commitd956c7cand at this branch's base, current maine54a1d47, so the two counts below describe exactly this diff.NavierStokes/TransitionRamp.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.