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 #531 from s2-euler-logarithmic-1
Browse filesperf(Euler/Logarithmic): 1 file cheaper to elaborate (−3.3%, measured)
main s1-euler-angle-9 s1-ns-harmonic-11 s1-ns-particular-10 s1-ns-radial-9 s1-ns-wave-11 s1-ns-weighted-10 s1-ns-weighted-12 s2-euler-correction-1 s2-euler-cylinder-1 s2-euler-dirichlet-1 s2-euler-euler-1 s2-euler-finite-1 s2-euler-mean-1 s2-euler-ordinary-2 s2-euler-packet-1 s2-euler-transverse-1 s2-ns-actual-1 s2-ns-annular-1 s2-ns-base-1 s2-ns-common-1 s2-ns-correction-1 s2-ns-current-1 s2-ns-five-1 s2-ns-flat-1 s2-ns-global-1 s2-ns-heat-1 s2-ns-mean-1 s2-ns-modulated-1 s2-ns-moment-1 s2-ns-outgoing-2 s2-ns-periodic-1 s2-ns-periodized-1 s2-ns-physical-1 s2-ns-positive-1 s2-ns-pressure-1 s2-ns-primary-1 s2-ns-reserved-1 s2-ns-residual-1 s2-ns-scaled-2 s2-ns-signed-1 s2-ns-slow-1 s2-ns-smooth-1 s2-ns-temporal-1 s2-ns-uniform-1 s2-ns-variable-1 s2-ns-viscous-1 s2-ns-volterra-2
Checks
build Program · lake build and Comparator
Details
challenge Program · challenge files and build config
Details
+3 −3 Euler/LogarithmicCutoffOptimization.lean View file
| @@ -24,7 +24,7 @@ theorem optimize (X c L W H : ℝ) (hc : 0 ≤ c) (hL : 0 ≤ L) (hH : 0 ≤ H) | ||
| 24 | 24 | have he0 : 0 < ε := exp_pos _ |
| 25 | 25 | have he1 : ε < 1 := by |
| 26 | 26 | have hneg : -4*log A < 0 := by linarith |
| 27 | - simpa only [ε,exp_zero] using exp_lt_exp.mpr hneg | |
| 27 | + simpa only [exp_zero] using exp_lt_exp.mpr hneg | |
| 28 | 28 | have heLog : -log ε=4*log A := by simp only [ε,log_exp]; ring |
| 29 | 29 | have hePow : ε^(1/4 : ℝ)=A⁻¹ := by |
| 30 | 30 | dsimp [ε] |
| @@ -39,9 +39,9 @@ theorem optimize (X c L W H : ℝ) (hc : 0 ≤ c) (hL : 0 ≤ L) (hH : 0 ≤ H) | ||
| 39 | 39 | have hmid : X ≤ c*(L+4*(W*log A)+1) := by |
| 40 | 40 | apply h.trans |
| 41 | 41 | apply mul_le_mul_of_nonneg_left _ hc |
| 42 | - nlinarith only [hsmall] | |
| 42 | + linarith only [hsmall] | |
| 43 | 43 | have hdiff : 0 ≤ c*(3+3*L) := mul_nonneg hc (by linarith) |
| 44 | 44 | change X ≤ 4*c*(1+L+W*log A) |
| 45 | - nlinarith only [hmid,hdiff] | |
| 45 | + linarith only [hmid,hdiff] | |
| 46 | 46 | |
| 47 | 47 | end EulerLogarithmicCutoff |
+17 −0 routes/s2-euler-logarithmic-1/README.md added View file
| @@ -0,0 +1,17 @@ | ||
| 1 | +--- | |
| 2 | +issue: 11 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s2-euler-logarithmic-1 | |
| 6 | + | |
| 7 | +One unit of S-2 on the `Euler/Logarithmic*` family: make | |
| 8 | +`Euler/LogarithmicCutoffOptimization.lean` cheaper to elaborate, with proof-only edits | |
| 9 | +of the `speedup_trials` stage of Treant's run (TitiSkywalker/NavierStokesAndEuler, | |
| 10 | +2026-12-03), carried onto main and counted there. Three lines change inside the proof of | |
| 11 | +`EulerLogarithmicCutoff.optimize`: a redundant `ε` leaves a `simp only` list, and two | |
| 12 | +`nlinarith` calls become `linarith`. No statement, import or docstring changes, and no | |
| 13 | +`maxHeartbeats`. | |
| 14 | + | |
| 15 | +## Next | |
| 16 | + | |
| 17 | +Push, let the `challenge` and `build` checks run, and reply to the maintainer's review. | |