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 #558 from s2-ns-angular-1
Browse filesperf(NavierStokes/Angular): 1 file cheaper to elaborate (−1.3%, measured)
main maintainer-statement p1-ns-physical p2-correction-temporal-mean 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-instances-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 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
+2 −2 NavierStokes/AngularMomentReset.lean View file
| @@ -119,7 +119,7 @@ def linearMatrix (lam : ℝ) : Matrix (Fin 2) (Fin 2) ℝ := | ||
| 119 | 119 | theorem linearMatrix_det (lam : ℝ) : |
| 120 | 120 | (linearMatrix lam).det = 2 * moment (angularSlope lam) * moment (pressureSlope lam) * |
| 121 | 121 | (Real.exp (2 * pressureSlope lam) - Real.exp (2 * angularSlope lam)) := by |
| 122 | - simp [linearMatrix, Matrix.det_fin_two] | |
| 122 | + simp [linearMatrix] | |
| 123 | 123 | ring |
| 124 | 124 | |
| 125 | 125 | theorem linearMatrix_det_ne_zero (lam : ℝ) (hlam : 0 < lam) : |
| @@ -312,7 +312,7 @@ theorem relative_first_jet_bound : | ||
| 312 | 312 | _ ≤ ‖c‖ * D0 + ‖c‖ * D1 := add_le_add |
| 313 | 313 | (mul_le_mul hc0 (hb0 y) (abs_nonneg _) (norm_nonneg _)) |
| 314 | 314 | (mul_le_mul hc1 (hb1 y) (abs_nonneg _) (norm_nonneg _)) |
| 315 | - _ ≤ (2 + D0 + D1) * ‖c‖ := by nlinarith [norm_nonneg c] | |
| 315 | + _ ≤ (2 + D0 + D1) * ‖c‖ := by linarith [norm_nonneg c] | |
| 316 | 316 | |
| 317 | 317 | theorem positive_and_slope_of_small (lam : ℝ) (hlam : 0 < lam) (c : Coeff) (y : ℝ) |
| 318 | 318 | (h0 : |relative c y| ≤ 1 / 2) (h1 : |deriv (relative c) y| ≤ lam / 4) : |
+22 −0 routes/s2-ns-angular-1/README.md added View file
| @@ -0,0 +1,22 @@ | ||
| 1 | +--- | |
| 2 | +issue: 11 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s2-ns-angular-1 | |
| 6 | + | |
| 7 | +One unit of S-2 (issue #11): make one fast-to-name, slow-to-elaborate file of the family | |
| 8 | +`NavierStokes/Angular*` cheaper, changing proofs only. | |
| 9 | + | |
| 10 | +The file is `NavierStokes/AngularMomentReset.lean` (4 lines changed, all inside proofs): the | |
| 11 | +explicit `Matrix.det_fin_two` in a `simp` list is dropped (it is already a `simp` lemma), and in one | |
| 12 | +`calc` step `nlinarith` becomes `linarith` (the `D0`/`D1` products cancel there, leaving `0 ≤ 2‖c‖`). | |
| 13 | +No statement, import or docstring changes, and no `maxHeartbeats`. | |
| 14 | + | |
| 15 | +Timing (from /work/unit/unit.json, not measured here): 28.04 G → 27.68 G instructions retired for | |
| 16 | +the file, −1.3%, counted with `lean -j1 -DElab.async=false` under `perf stat -e instructions:u` at | |
| 17 | +main `d956c7c` before and after. See the pull request description for the full method. | |
| 18 | + | |
| 19 | +## Next | |
| 20 | + | |
| 21 | +Done: the pull request is open. If it needs more, the next candidate is another file in the family; | |
| 22 | +the profile is flat, so nothing else in this file is known to be slow. | |