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): two shortcut instances, 96 files cheaper to elaborate (whole tree −0.54%, measured) #668
Open
Some checks haven’t completed yet
challenge Program · challenge files and build config
Details
build Program · lake build and Comparator
The site’s maintainer has yet to read this pull request
This branch has no conflicts with the base branch
This pull request changes the project’s rules
Part of #11.
Adds two shortcut instances, and nothing else (11 lines in two files):
EulerCylinderSobolevSpace.instContinuousAddSobolevSpace:ContinuousAddonSobolevSpace period q, at the end ofEuler/CylinderSobolevSpace.lean;EulerSourcePotentialCoefficient.instDistribSMulContinuousMapBoundedForm:DistribSMul ℝonC(K, Space →ᵇ Space →L[ℝ] ℝ), inEuler/SourcePotentialTimeCoefficient.lean.Both are
inferInstance: Lean already finds these instances, after a long search that every file downstream repeats each time it needs one. With the shortcut the search ends at once. No statement and no proof changes, and there is nomaxHeartbeats.Euler/ViscousSourcePathLimit.leanEuler/CorrectionLimitPathDerivative.leanEuler/InviscidCorrectionCompatibility.leanEuler/CorrectionLowerData.leanEuler/CorrectionEnergyTime.leanEuler/SourcePotentialTimeCoefficient.lean(holds one of the two)Euler/CylinderSobolevSpace.lean(holds the other)96 files get cheaper by 0.5% or more (304 G together) and 30 get dearer by 0.5% or more (8 G together; the dearest is
NavierStokes/CorrectionInitialization.lean, 297.0 G → 299.4 G). The file that declares the first instance pays for declaring it; the files that use it gain.How this was measured. The count is instructions retired in user space by
leanelaborating 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 atba4a037(before) and against the compiled tree of the same commit with the two instances (after); every file of the tree was counted both times, on one machine, one run after the other. G is 10⁹ instructions, T is 10¹². It is a count, not a time.Where the change comes from. Treant's
instancesstage (TitiSkywalker/NavierStokesAndEuler, the run of 2026-12-03 at upstreamf9e8bc5) profiles typeclass search and adds a direct instance where a search is slow and repeated; it accepted these two and measured −0.54% of the tree there. The names and the docstrings are this pull request's; the instances and where they stand are Treant's.What it does not show: the wall-clock time of a build; that these are the only two searches worth a shortcut.