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)
Browse filesPart of #11. In Euler/UnshiftedPressure.lean, inside the proof of unshifted_weighted_inverse, drop a redundant entry from a simp only list and close with linarith instead of nlinarith. Proofs only; no statement, import or docstring changes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
main maintainer-statement 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-euler-unshifted-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
+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. | |