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/Unshifted): 1 file cheaper to elaborate (−14.5%, measured) #543
Merged
+2 −2 Euler/UnshiftedPressure.lean View file
| @@ -72,14 +72,14 @@ theorem unshifted_weighted_inverse (ρ Rc M : ℝ) (hρ : 0 < ρ) (hRc : 0 ≤ R | ||
| 72 | 72 | M * ((∑ n ∈ range (N + 1), v n * F n) + |
| 73 | 73 | ∑ n ∈ range (N + 1), v n * ∑ l ∈ range n, |
| 74 | 74 | (n.choose (l + 1) : ℝ) * A (l + 1) * Z (n - (l + 1))) := by |
| 75 | - simp only [mul_add, sum_add_distrib, mul_sum, mul_left_comm, mul_comm] | |
| 75 | + simp only [mul_add, sum_add_distrib, mul_sum, mul_left_comm] | |
| 76 | 76 | rw [hsumid] at hs |
| 77 | 77 | have hzsum : 0 ≤ ∑ n ∈ range (N + 1), v n * Z n := |
| 78 | 78 | sum_nonneg (fun n _ => mul_nonneg (hv n) (hZ n)) |
| 79 | 79 | have hsmall' := mul_le_mul_of_nonneg_right hsmall hzsum |
| 80 | 80 | have hcomm' := mul_le_mul_of_nonneg_left hcomm (show 0 ≤ M by linarith) |
| 81 | 81 | change (∑ n ∈ range (N + 1), v n * Z n) ≤ 2 * M * ∑ n ∈ range (N + 1), v n * F n |
| 82 | - nlinarith | |
| 82 | + linarith | |
| 83 | 83 | |
| 84 | 84 | end EulerWeightedPressure |
| 85 | 85 | |
+21 −0 routes/s2-euler-unshifted-1/README.md added View file
| @@ -0,0 +1,21 @@ | ||
| 1 | +--- | |
| 2 | +issue: 11 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s2-euler-unshifted-1 | |
| 6 | + | |
| 7 | +S-2, one unit: the family `Euler/Unshifted*`, in its single file `Euler/UnshiftedPressure.lean`. | |
| 8 | +Two edits inside proofs, carried from Treant's `speedup_trials` stage (TitiSkywalker/NavierStokesAndEuler, | |
| 9 | +the run of 2026-12-03 at upstream `f9e8bc5`): in `unshifted_weighted_inverse`, a `simp only` list loses | |
| 10 | +`mul_comm` (the other entries do not need it), and the closing `nlinarith` becomes `linarith`, which | |
| 11 | +suffices because the goal after `change` is linear. No statement, import or docstring changes; no | |
| 12 | +`maxHeartbeats`. | |
| 13 | + | |
| 14 | +Measured on main at `d956c7c`, instructions retired in user space, one file, one thread | |
| 15 | +(`lean -j1 -DElab.async=false`, `perf stat -e instructions:u`): 12.29 G before, 10.51 G after, −14.5%. | |
| 16 | +The numbers are unit.json's `timing`; they were not re-taken here. | |
| 17 | + | |
| 18 | +## Next | |
| 19 | + | |
| 20 | +Push and open the pull request into `main`; let `challenge` and `build` report, then answer the | |
| 21 | +maintainer's review. The unit is done with this push unless a review asks for a change. | |