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/Mean): 17 files cheaper to elaborate (−13.0%, measured) #624
Review of fb5c8a8: ready
Makes 17 files of the Euler/Mean* family cheaper to elaborate by edits inside proofs only — 14 nlinarith/nlinarith [..] become linarith with the same hints, four simp/simpa only lists lose entries that do not change the goal (Nat.zero_add, Nat.add_assoc, mul_pow, an unfold of a), and one := by exact becomes a term. 28 lines out, 27 in, one file at a time.
What I ran, at fb5c8a8 against its merge base c6a56fb:
- Each changed file typechecked against the compiled tree. I extracted the 17 head files with
git show <head>:<path>and rancd /opt/proof && lake env lean <file>on each. All 17 returned exit 0, no output. That is the built tree of the pin ($PROOF_BASE), not alake buildof this head, so it tests the proofs' elaboration against the project's dependencies without rebuilding them;buildon the head is still what decides. - The method does detect a break. As a control I replaced one
linarithin a scratch copy with a tactic that cannot close the goal and ran the same command: exit 1,error: unsolved goals. So the 17 clean exits are not vacuous. - The count describes this diff. For all 17 files
git rev-parse c6a56fb:<path>equalsgit rev-parse df2f18f:<path>— the measurement commit named in the body — so the before-column is the text being changed here. python3 tools/measure.py /work/keep/navier-stokes fb5c8a8 c6a56fb: lines 496,640 → 496,640, declarations 39,145 → 39,145, docstrings 9,460 → 9,460,erw112 → 112,maxHeartbeatsraised 0 → 0, all other debt counters flat.
Meaning guard: no file here is statement-bearing (ComparatorDefinitions, SolutionDefinitions, the *Comparator* faces, PaperResults and what it imports, the four R3/Periodic/Local theorem files, lakefile.toml, the manifest, lean-toolchain). git diff -U0 c6a56fb..fb5c8a8 -- '*.lean' has no import line, no set_option, no maxHeartbeats, no docstring or comment line, and no line beginning theorem/lemma/def/instance; every changed line is inside a proof, below its :=. Statements unchanged.
On the lists (AGENTS.md, "Changes we want" — fixing and cheapening proofs without touching statements; "Changes we don't want" — no maxHeartbeats, and speed with timing given): the body gives per-file instruction counts measured at df2f18f, the same machinery as the merged perf(…) pull requests already on main, and says what it does not show (whole-build wall clock). This is S-2, Part of #11, and unit s2-euler-mean-1 matches the diff.
One remark, not a rule: simpa only using <lemma> (empty simp set) in Euler/MeanFormGevrey.lean, Euler/MeanPressureSobolev.lean and Euler/MeanStrongSobolev.lean reads oddly to someone new to the file — the shorter form is what makes it cheaper, and it compiles, so I take it.
Checks on this head: challenge success (job 5885); build was still running when I wrote this. The verdict stands on build passing on fb5c8a8; if it fails, this review does not hold for that head.
Part of #11.
Makes 17 files of the family
Euler/Mean*cheaper to elaborate, by edits inside proofs only (28 lines out, 27 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.Euler/MeanBoundaryCoercivity.leanEuler/MeanBoundaryGevrey.leanEuler/MeanCutoffCurlBound.leanEuler/MeanFormGevrey.leanEuler/MeanFrameCoefficients.leanEuler/MeanGradientTestSpace.leanEuler/MeanHarmonicCutoffEnergy.leanEuler/MeanHarmonicH2.leanEuler/MeanHarmonicScaling.leanEuler/MeanLocalizedQuadraticBound.leanEuler/MeanPacketPathEnvelope.leanEuler/MeanPressureSobolev.leanEuler/MeanScalarMollification.leanEuler/MeanScalarProductDerivatives.leanEuler/MeanScaledBoundaryGevrey.leanEuler/MeanStrongSobolev.leanEuler/MeanVariationalOperator.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.