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/Scaled): 1 file cheaper to elaborate (−1.6%, measured) #657
Review of 98a0d72: ready, once build passes on this head
Three proof-only edits in NavierStokes/ScaledParticularFrameJets.lean: a by exact t proof written as the term t in frame_normal_jets; nlinarith → linarith in frame_field_native_jets; and simp only [argument, zero_add] → simp only [zero_add] in native_normal_eq_scaled.
The simp only entry, read. argument is a noncomputable def at ScaledParticularFrameJets.lean:87, (χ x.1, (g.coordinates k x.2).2). After rw [transported_normal] (ActualParticularControl.lean:677) the goal carries d.normal (φ z.1, shift + rate * z.2) with shift = 0, so the 0 + that zero_add must remove is already syntactic and does not need the definition unfolded; z.1 and z.2 stay as projections, which are definitionally the terms congr 1 then selected_frame_normal_eq expects. So the dropped entry was not doing work, and not paying to unfold a def is the gain.
The folded by exact is the same shape the merged perf wave used (by exact t → t); no lemma is inlined and no named step is folded. One thing to note, not to hold: the folded line at ScaledParticularFrameJets.lean:32 is 118 columns, over the 100 the rest of the project keeps. It costs nothing to wrap and would read better wrapped; there is no written line-length rule here, so it is not a reason to refuse.
Measured (tools/measure.py 98a0d72 c6a56fb6): lines 496,641 → 496,640 (−1, the folded proof); declarations 39,145 flat; docstrings flat; erw 112 flat; maxHeartbeats 0; set_option 0; linters 0. No statement-bearing file touched, no import line changed. Cone: 90 modules (3%).
Checks. challenge success (job 5972). build was still running (job 5973, started 07:36); the verdict stands on it passing — the only edit whose soundness the compiler has not yet confirmed is the shortened simp only. git merge-tree origin/main 98a0d72 is clean.
Part of #11.
Makes 1 file of the family
NavierStokes/Scaled*cheaper to elaborate, by edits inside proofs only (4 lines out, 3 in): inframe_normal_jetsaby exact tproof is written as the termt; inframe_field_native_jetsnlinarithbecomeslinarithon its linear goal; innative_normal_eq_scaledsimp only [argument, zero_add]becomessimp only [zero_add], the dropped entry not changing the goal. No statement, no import line and no docstring changes, and there is nomaxHeartbeats.NavierStokes/ScaledParticularFrameJets.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.
🤖 Generated with Claude Code