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/Ordinary): 1 file cheaper to elaborate (−5.4%, measured) #626
Merged
+3 −3 Euler/OrdinaryQuadraticControl.lean View file
| @@ -26,10 +26,10 @@ theorem quadratic_energy_bound (T C : ℝ) (hT : 0 ≤ T) | ||
| 26 | 26 | have hfd (r : ℝ) (hr : r ∈ Icc 0 T) : HasDerivWithinAt f (f' r) (Icc 0 T) r := by |
| 27 | 27 | have hi := ((hd r hr).const_add 1).inv (hp r hr).ne' |
| 28 | 28 | have hl := ((hasDerivAt_id r).const_mul C).hasDerivWithinAt (s := Icc 0 T) |
| 29 | - simpa only [f,f',id_eq,mul_one,Pi.inv_apply] using hi.fun_add hl | |
| 29 | + simpa only [f,id_eq,mul_one,Pi.inv_apply] using hi.fun_add hl | |
| 30 | 30 | have hfn (r : ℝ) (hr : r ∈ Icc 0 T) : 0 ≤ f' r := by |
| 31 | 31 | have hdv : X' r/(1+X r)^2 ≤ C := (div_le_iff₀ (sq_pos_of_pos (hp r hr))).mpr (by |
| 32 | - simpa only [mul_comm C] using hb r hr) | |
| 32 | + simpa only using hb r hr) | |
| 33 | 33 | dsimp [f'] |
| 34 | 34 | rw [neg_div] |
| 35 | 35 | linarith |
| @@ -47,6 +47,6 @@ theorem quadratic_energy_bound (T C : ℝ) (hT : 0 ≤ T) | ||
| 47 | 47 | rw [he,one_div] |
| 48 | 48 | linarith |
| 49 | 49 | have hcross := (div_le_div_iff₀ (mul_pos (by norm_num) (hp 0 hz)) (hp t ht)).mp hi |
| 50 | - nlinarith | |
| 50 | + linarith | |
| 51 | 51 | |
| 52 | 52 | end EulerOrdinarySobolev |
+19 −0 routes/s2-euler-ordinary-2/README.md added View file
| @@ -0,0 +1,19 @@ | ||
| 1 | +--- | |
| 2 | +issue: 11 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s2-euler-ordinary-2 | |
| 6 | + | |
| 7 | +One unit of S-2 (make slow files faster), on the family `Euler/Ordinary*`: make | |
| 8 | +`Euler/OrdinaryQuadraticControl.lean` cheaper to elaborate. The edits are three, all inside the proof of | |
| 9 | +`quadratic_energy_bound`: `nlinarith` becomes `linarith`, and two `simp only` argument lists lose the entries | |
| 10 | +(`f'`, `mul_comm C`) that do not change the goal. No statement, import line or docstring changes, and there is no | |
| 11 | +`maxHeartbeats`. Measured as instructions retired per file: 9.34 G before, 8.83 G after (−5.4%), at main `df2f18f`; | |
| 12 | +PR.md says how it was counted. | |
| 13 | + | |
| 14 | +The edits come from Treant's `speedup_trials` stage (TitiSkywalker/NavierStokesAndEuler, run of 2026-12-03), carried | |
| 15 | +onto this project's main and counted again here. | |
| 16 | + | |
| 17 | +## Next | |
| 18 | + | |
| 19 | +The pull request is open; `build` decides that the file elaborates. Nothing further is planned for this branch. | |