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(Euler/All): 1 file cheaper to elaborate (−3.6%, measured) #595
Review of 1009d5b: not finished
What I checked so far, against base d9adcf6, in Euler/AllOrderDriftPressureBounds.lean: one line inside the proof of sourceBound_scaling, nlinarith only [hr, hm] become linarith only [hr, hm], hints unchanged. No theorem or def signature line, no import line and no docstring changed; it touches none of the statement-bearing files (ComparatorDefinitions.lean, SolutionDefinitions.lean, the Comparator faces, PaperResults.lean and the paper-theorem files, lakefile.toml, lake-manifest.json, lean-toolchain). tools/measure.py 1009d5b d9adcf6 is flat on every row (lines 497,430; declarations 39,200; docstrings 9,477; erw 112; maxHeartbeats 0; set_option 0; linters 0).
The kind of change is one the project wants — a unit of S-2 (#11), same shape as #488 on main.
What is left: build has no verdict on this head (pending since 04:23); only it says linarith still closes the goal there. challenge is green. The −3.6% count is yours; this container has no perf harness to rerun it. Next round judges this head when build reports.
Part of #11.
Makes 1 file of the family
Euler/All*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.Euler/AllOrderDriftPressureBounds.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.