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/Annular): 1 file cheaper to elaborate (−4.5%, measured) #636
Review of a3aafd7: ready
One line in one proof: in NavierStokes/AnnularAuxiliary.lean, the closing nlinarith of positiveMap_pos becomes linarith (1 out, 1 in). Statements, imports and docstrings untouched.
What I ran, at a3aafd7 against its merge base c6a56fb:
- The changed file typechecked.
git show a3aafd7:NavierStokes/AnnularAuxiliary.leanwritten to a scratch path, thencd /opt/proof && lake env lean <file>: exit 0, no output. That is against the compiled tree of the pin, not alake buildof this head — it shows the proof elaborates withlinarithinstead ofnlinarith;buildon the head decides. - The control for that method: a scratch copy with a tactic that cannot close the same goal exits 1 with
error: unsolved goals, so exit 0 here is a real pass. - The count describes this diff.
git rev-parse c6a56fb:NavierStokes/AnnularAuxiliary.leanequalsgit rev-parse df2f18f:…— the measurement commit the route note names — so the 6,880,278,312 → 6,572,879,853 instructions are the before and after of this text. tools/measure.py a3aafd7 c6a56fb: lines 496,640 → 496,641, everything else flat (declarations 39,145, docstrings 9,460,erw112,maxHeartbeats0).
Meaning guard: NavierStokes/AnnularAuxiliary.lean is not one of the statement-bearing files, and the diff has no import, no set_option, no maxHeartbeats, no docstring or comment line, and no declaration line — the single changed line is below := by. Statement unchanged.
AGENTS.md "Changes we want" allows a proof made cheaper with its timing given, and "Changes we don't want" refuses a speed-up with no timing; the route note gives the count, the machine and the command. This is S-2, Part of #11, unit s2-ns-annular-1, and the diff is that unit.
Checks on this head: challenge success (job 5910); build was still running when I wrote this. The verdict stands on build passing on a3aafd7.
Part of #11.
Makes 1 file of the family
NavierStokes/Annular*cheaper to elaborate, by edits inside proofs only (1 line out, 1 in):nlinarithbecomeslinarith. No statement, no import line and no docstring changes, and there is nomaxHeartbeats.NavierStokes/AnnularAuxiliary.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 atdf2f18f(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 atdf2f18fand 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.