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(NavierStokes/Future): 1 file cheaper to elaborate (−4.5%, measured) #578
Merged
+4 −4 NavierStokes/FuturePressureBounds.lean View file
| @@ -184,9 +184,9 @@ theorem clock_le_four_angular_square (d : TailData) (y : ℝ) {eta : ℝ} | ||
| 184 | 184 | have hdiv : (1 : ℝ) / 2 ≤ 1 / (1 + eta ^ 2) := |
| 185 | 185 | one_div_le_one_div_of_le (by positivity) (by linarith) |
| 186 | 186 | simpa only [one_div] using hdiv |
| 187 | - nlinarith [sq_nonneg ((1 + eta ^ 2)⁻¹ - 1 / 2)] | |
| 187 | + linarith [sq_nonneg ((1 + eta ^ 2)⁻¹ - 1 / 2)] | |
| 188 | 188 | rw [angular_square_factorization] |
| 189 | - nlinarith [mul_le_mul_of_nonneg_left hk (clockWeight_pos d y).le] | |
| 189 | + linarith [mul_le_mul_of_nonneg_left hk (clockWeight_pos d y).le] | |
| 190 | 190 | |
| 191 | 191 | /-- A single numerical constant, independent of every schedule parameter. -/ |
| 192 | 192 | noncomputable def envelopeConstant : ℝ := 5 * Real.exp (6 / 5) |
| @@ -405,11 +405,11 @@ theorem Pi_second_deriv_abs_le_pressure (d : TailData) (y : ℝ) {eta : ℝ} | ||
| 405 | 405 | have h1 : |2 * (1 - eta ^ 2) / (1 + eta ^ 2) ^ 2| ≤ 2 := by |
| 406 | 406 | rw [abs_of_nonneg (by positivity : 0 ≤ 2 * (1 - eta ^ 2) / (1 + eta ^ 2) ^ 2)] |
| 407 | 407 | apply (div_le_iff₀ hpos).mpr |
| 408 | - nlinarith [sq_nonneg eta] | |
| 408 | + linarith [sq_nonneg eta] | |
| 409 | 409 | have h2 : |8 * eta ^ 2 / (1 + eta ^ 2) ^ 2| ≤ 8 := by |
| 410 | 410 | rw [abs_of_nonneg (by positivity : 0 ≤ 8 * eta ^ 2 / (1 + eta ^ 2) ^ 2)] |
| 411 | 411 | apply (div_le_iff₀ hpos).mpr |
| 412 | - nlinarith | |
| 412 | + linarith | |
| 413 | 413 | rw [Pi_second_deriv_eta] |
| 414 | 414 | calc |
| 415 | 415 | _ ≤ |(2 * (1 - eta ^ 2) / (1 + eta ^ 2) ^ 2) * futureMass d y 1 eta| + |
+19 −0 routes/s2-ns-future-1/README.md added View file
| @@ -0,0 +1,19 @@ | ||
| 1 | +--- | |
| 2 | +issue: 11 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s2-ns-future-1 | |
| 6 | + | |
| 7 | +One unit of S-2 (issue #11), on the family `NavierStokes/Future*`: one file, | |
| 8 | +`NavierStokes/FuturePressureBounds.lean`, made cheaper to elaborate. Four | |
| 9 | +`nlinarith` calls inside proofs become `linarith` (4 lines out, 4 in); no | |
| 10 | +statement, import line or docstring changes, and no `maxHeartbeats`. | |
| 11 | +The edits are Treant's `speedup_trials` edits (2026-12-03), carried onto main | |
| 12 | +at `d956c7c` and counted there: 27.91 G to 26.64 G instructions retired, −4.5%. | |
| 13 | + | |
| 14 | +## Next | |
| 15 | + | |
| 16 | +The branch is pushed and the pull request is open; `challenge` and `build` | |
| 17 | +report on it and the maintainer decides. If `build` rejects one of the four | |
| 18 | +`linarith` lines, restore `nlinarith` on that line, re-count the file and | |
| 19 | +report the new number in the description. | |