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/Base): 6 files cheaper to elaborate (−30.4%, measured) #660
Review of abc6f3f: ready
Six files of the NavierStokes/Base* family made cheaper to elaborate, by edits inside proofs only: about twenty nlinarith steps become linarith (hint lists kept), and four simp/simp only lists lose one entry each (slowCoordinates_apply, Fin.ext_iff, an AxisymmetricResidual.componentX in one of the four, swapInner). 74 insertions, 47 deletions, no other file.
What I ran, at abc6f3f against its merge base c6a56fb:
- Each of the six changed files typechecked. Extracted with
git show <head>:<path>and run ascd /opt/proof && lake env lean <file>: all six exit 0, no output —BaseContextAssembly4s,BaseExterior4s,BasePhaseGeometry7s,BasePrefixIdentity4s,BaseRankPatch2s,BaseResidual11s. That is the compiled tree of the pin, not alake buildof this head;buildon the head decides. - Control for that method: a scratch copy with a tactic that cannot close its goal exits 1 (
error: unsolved goals), so these six clean exits are real passes. - The count describes these diffs. For all six files
git rev-parse c6a56fb:<path>equalsgit rev-parse df2f18f:<path>, the measurement commit the route note names. tools/measure.py abc6f3f c6a56fb: lines 496,640 → 496,638, declarations 39,145 → 39,145, docstrings 9,460 → 9,460,erw112 → 112,maxHeartbeats0, no linters off.
Meaning guard: none of the six is statement-bearing (not a *Comparator* face, not ComparatorDefinitions/SolutionDefinitions, not PaperResults or what it imports, not the lakefile or toolchain). git diff -U0 over the Lean files has no import, no set_option, no maxHeartbeats, no docstring or comment line, and no line beginning theorem/lemma/def/instance; every changed line sits inside a proof. Statements unchanged.
Two things I looked at and did not refuse on: the two simp lists in BaseExterior.lean are now wrapped at 139 and 136 characters where the file's previous longest was 110 — AGENTS.md has no line-length rule, so this is a remark, and the route note says it openly; and this one pull request carries six files where issue #11 says "take one", but a unit of it is the family, and main already holds merged perf(…) pull requests of two, three, five and seventeen files (121ceca7, dbad34e7, 94b0e200), so the shape is established here rather than new.
Checks on this head: challenge success (job 5993); build was still running when I wrote this. The verdict stands on build passing on abc6f3f.
Part of #11.
Makes 6 files of the family
NavierStokes/Base*cheaper to elaborate, by edits inside proofs only (47 lines out, 44 in):nlinarithbecomeslinarith; asimpargument list loses the entries that do not change the goal; other small rewrites of a tactic step. No statement, no import line and no docstring changes, and there is nomaxHeartbeats. Each edit is a weaker tactic or a shortersimpset, so the proofs read as before and elaborate with less search.NavierStokes/BaseContextAssembly.leanNavierStokes/BaseExterior.leanNavierStokes/BasePhaseGeometry.leanNavierStokes/BasePrefixIdentity.leanNavierStokes/BaseRankPatch.leanNavierStokes/BaseResidual.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. The six files are unchanged betweendf2f18fand the tip ofmainatc6a56fb, so these counts are against the same file contents this branch changes.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.