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/Bounded): 2 files cheaper to elaborate (−6.7%, measured) #525
Merged
+1 −1 Euler/BoundedInverseGevrey.lean View file
| @@ -62,6 +62,6 @@ theorem solution_gevrey | ||
| 62 | 62 | have ha := mul_le_mul_of_nonneg_right hMC hS |
| 63 | 63 | have hf' := mul_le_mul_of_nonneg_right hMD (majorant_nonneg R hR0 d k) |
| 64 | 64 | change ‖iteratedFDeriv ℝ k u x‖ ≤ M*(majorant R d k+S) |
| 65 | - nlinarith | |
| 65 | + linarith | |
| 66 | 66 | |
| 67 | 67 | end EulerBoundedInverseGevrey |
+1 −1 Euler/BoundedMildContinuation.lean View file
| @@ -27,7 +27,7 @@ theorem advance_grid (S δ a : ℝ) (hδ : 0 ≤ δ) (n : ℕ) | ||
| 27 | 27 | · have hna : (n : ℝ)*δ ≤ a := by simpa only [min_eq_left hn] using hgrid |
| 28 | 28 | apply (min_le_left _ _).trans |
| 29 | 29 | push_cast |
| 30 | - nlinarith only [hna] | |
| 30 | + linarith only [hna] | |
| 31 | 31 | · have hSa : S ≤ a := by simpa only [min_eq_right (le_of_not_ge hn)] using hgrid |
| 32 | 32 | exact (min_le_right _ _).trans (by linarith) |
| 33 | 33 | · exact min_le_right _ _ |
+22 −0 routes/s2-euler-bounded-1/README.md added View file
| @@ -0,0 +1,22 @@ | ||
| 1 | +--- | |
| 2 | +issue: 11 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s2-euler-bounded-1 | |
| 6 | + | |
| 7 | +One unit of S-2 (#11): two files of the `Euler/Bounded*` family made cheaper to elaborate. | |
| 8 | +`Euler/BoundedInverseGevrey.lean` and `Euler/BoundedMildContinuation.lean` each swap one | |
| 9 | +tactic inside a proof for a weaker one that suffices — `nlinarith` becomes `linarith`, and | |
| 10 | +`nlinarith only [hna]` becomes `linarith only [hna]`. No statement, import line or docstring | |
| 11 | +changes, and there is no `maxHeartbeats`. | |
| 12 | + | |
| 13 | +The edits come from Treant's `speedup_trials` stage (TitiSkywalker/NavierStokesAndEuler, | |
| 14 | +the run of 2026-12-03 at upstream `f9e8bc5`), carried onto main at `d956c7c` and counted | |
| 15 | +again there. Instructions retired, one file alone on one thread with `lean -j1 -DElab.async=false` | |
| 16 | +under `perf stat -e instructions:u`: 10.93 G → 9.18 G for `BoundedInverseGevrey`, 16.53 G → 16.44 G | |
| 17 | +for `BoundedMildContinuation`; 27.46 G → 25.62 G for the two together (−6.7%). | |
| 18 | + | |
| 19 | +## Next | |
| 20 | + | |
| 21 | +Push and open the pull request into main; let `challenge` and `build` report, then reply to the | |
| 22 | +maintainer's review. | |