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

Merge pull request #626 from s2-euler-ordinary-2
Browse filesperf(Euler/Ordinary): 1 file cheaper to elaborate (−5.4%, measured)
main p1-ns-physical p2-correction-temporal-mean s2-instances-1 s2-ns-periodic-1 s2-ns-smooth-1 s5-cap-1 s5-euler-all-1 s5-euler-base-1 s5-euler-bounded-1 s5-euler-canonical-1 s5-euler-coefficient-1 s5-euler-compact-1 s5-euler-continuous-1 s5-euler-correction-1 s5-euler-cylinder-1 s5-euler-drift-1 s5-euler-duhamel-1 s5-euler-elapsed-1 s5-euler-elapsed-2 s5-euler-euler-1 s5-euler-external-1 s5-euler-field-1 s5-euler-fixed-1 s5-euler-gained-1 s5-euler-gaussian-1 s5-euler-gevrey-1 s5-euler-graph-1 s5-euler-h5-1 s5-euler-h6-1 s5-euler-heat-1 s5-euler-inviscid-1 s5-euler-lifted-1 s5-euler-linear-1 s5-euler-lp-1 s5-euler-mean-1 s5-euler-mixed-1 s5-euler-ordinary-1 s5-euler-packet-1 s5-euler-parameter-1 s5-euler-parent-1 s5-euler-physical-1 s5-euler-projected-1 s5-euler-quadratic-1 s5-euler-regularized-1 s5-euler-small-1 s5-euler-smooth-1 s5-euler-sobolev-1 s5-euler-source-1 s5-euler-stage-1 s5-euler-static-1 s5-euler-terminal-1 s5-euler-time-1 s5-euler-top-1 s5-euler-transverse-1 s5-euler-weighted-1 s5-euler-whole-1 s5-ns-actual-1 s5-ns-axis-1 s5-ns-generic-1 s5-ns-label-1 s5-ns-local-1 s5-ns-mean-1 s5-ns-moment-1 s5-ns-particular-1 s5-ns-periodic-1 s5-ns-periodize-1 s5-ns-positive-1 s5-ns-r3-folder-1 s5-ns-reference-1 s5-ns-sharp-1 s5-ns-smooth-1 s5-ns-torus-1 s5-ns-valid-1 s5-ns-whole-1 s5-ns-within-1
Checks
build Program · lake build and Comparator
Details
challenge Program · challenge files and build config
Details
+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. | |