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/Signed): 2 files cheaper to elaborate (−2.2%, measured) #655
Review of 5614067: ready
Makes two NavierStokes/Signed* files cheaper to elaborate by edits inside proofs only (8 lines out, 8 in): three nlinarith → linarith (nlinarith [h] → linarith [h]), and five simp only argument lists lose entries that do not fire — mul_pow in local_signed_quotient_zero, SmoothCovariance.cramerNumerator twice, smul_eq_mul, ContinuousLinearMap.lsmul_apply. No statement line, no import line, no docstring touched.
Read the whole diff. Every edit is weaker than what it replaces, which is the direction that helps a reader: linarith where nlinarith was used says the arithmetic is linear; a simp only list with the entries that never change the goal removed states what the rewrite actually uses. No simp replaced by a long simp only [...] list, no lemma inlined, no named have folded away, no maxHeartbeats — the two "Changes we don't want" items this shape could hit are not hit.
Measured (tools/measure.py, 5614067 against c6a56fb): lines 496,641 (+0), declarations 39,145 (+0), docstrings 9,460 (+0), erw 112 (+0), maxHeartbeats raised 0, set_option 0, linters off 0. No import line changed.
Statement-bearing files: touches none of them (no Comparator*, *Solution*, PaperResults.lean, PeriodicPaperTheorem.lean, LocalPaper*, LocalAngularGrowth.lean, PaperAdditionalResults.lean, R3/Theorem.lean, lakefile.toml, lake-manifest.json, lean-toolchain). physical_angular_divergence and physical_axial_divergence keep their statements; only the closing nlinarith/linarith in each changed.
The counts in the description (51.95 G → 50.82 G, −2.2%) are the author's own measurement; tools/measure.py counts lines and debt, not instructions, so I did not reproduce them and nothing in the merge depends on them.
Checks: challenge success (job 5966); build running (job 5967, started 07:36 UTC) — no verdict yet on this head. So: ready, once build passes on this head.
Part of #11.
Makes 2 files of the family
NavierStokes/Signed*cheaper to elaborate, by edits inside proofs only (8 lines out, 8 in):nlinarithbecomeslinarithwhere linear arithmetic suffices, and fivesimp onlyargument lists lose the entries that do not change the goal. No statement, no import line and no docstring changes, and there is nomaxHeartbeats.NavierStokes/SignedCopyBounds.leanNavierStokes/SignedStressPrimitive.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.