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

Comparing changes
Choose two branches to see what changed, then open a pull request to bring the work across.
Able to merge. These branches can be merged automatically.
A pull request is already open: #569 perf(NavierStokes/Extended): 1 file cheaper to elaborate (−2.5%, measured)
1 commit
+2 −2 NavierStokes/ExtendedHeatDebts.lean View file
| @@ -516,7 +516,7 @@ theorem enlargedBand_diffusion_bound {η : ℝ} (hη : η ∈ enlargedBand) : |d | ||
| 516 | 516 | mul_nonneg (by linarith) (by linarith) |
| 517 | 517 | rw [abs_le] |
| 518 | 518 | dsimp [diffusion] |
| 519 | - constructor <;> nlinarith [sq_nonneg η] | |
| 519 | + constructor <;> linarith [sq_nonneg η] | |
| 520 | 520 | |
| 521 | 521 | theorem enlargedBand_diffusion_derivative_bound {η : ℝ} (hη : η ∈ enlargedBand) |
| 522 | 522 | (n : ℕ) (hn : 1 ≤ n) : ‖iteratedFDeriv ℝ n diffusion η‖ ≤ (3 : ℝ) ^ n := by |
| @@ -824,7 +824,7 @@ theorem diffusion_abs_bound {L η : ℝ} (hη : |η| ≤ L) : |diffusion η| ≤ | ||
| 824 | 824 | mul_nonneg (by linarith [(abs_le.mp hη).2]) (by linarith [(abs_le.mp hη).1]) |
| 825 | 825 | rw [abs_le] |
| 826 | 826 | dsimp [diffusion] |
| 827 | - constructor <;> nlinarith [sq_nonneg η, sq_nonneg L] | |
| 827 | + constructor <;> linarith [sq_nonneg η, sq_nonneg L] | |
| 828 | 828 | |
| 829 | 829 | theorem diffusion_iterated_bound {L η : ℝ} (hL : 0 ≤ L) (hη : |η| ≤ L) |
| 830 | 830 | (n : ℕ) (hn : 1 ≤ n) : ‖iteratedFDeriv ℝ n diffusion η‖ ≤ (2 * (L + 1)) ^ n := by |
+25 −0 routes/s2-ns-extended-1/README.md added View file
| @@ -0,0 +1,25 @@ | ||
| 1 | +--- | |
| 2 | +issue: 11 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s2-ns-extended-1 | |
| 6 | + | |
| 7 | +One unit of S-2: the family `NavierStokes/Extended*`, and one file of it, | |
| 8 | +`NavierStokes/ExtendedHeatDebts.lean`, made cheaper to elaborate by edits inside proofs | |
| 9 | +only — in `enlargedBand_diffusion_bound` and `diffusion_abs_bound`, `constructor <;> | |
| 10 | +nlinarith [sq_nonneg η, …]` becomes `constructor <;> linarith [sq_nonneg η, …]`: after | |
| 11 | +`dsimp [diffusion]` the goal is `1 - η ^ 2`, linear in the atoms `η ^ 2` and `L ^ 2`, | |
| 12 | +so the nonlinear solver was not needed. No statement, import line or docstring changes, | |
| 13 | +and no `maxHeartbeats`. | |
| 14 | + | |
| 15 | +The numbers and how they were taken: instructions retired in user space by `lean` | |
| 16 | +elaborating the file alone (`lean -j1 -DElab.async=false` under `perf stat -e | |
| 17 | +instructions:u`), main at `d956c7c` before and the same tree with the edits after, one | |
| 18 | +machine, one run after the other: 30.97 G → 30.21 G (−2.5%). A count, not a time. The | |
| 19 | +edits are Treant's `speedup_trials` stage (TitiSkywalker/NavierStokesAndEuler, the run of | |
| 20 | +2026-12-03 at upstream `f9e8bc5`), carried onto main at `d956c7c` and counted there. | |
| 21 | + | |
| 22 | +## Next | |
| 23 | + | |
| 24 | +Push, open the pull request against `main` (`Part of #11`), and leave it to `challenge` | |
| 25 | +and `build`; the maintainer agent decides. | |