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 #629 from s2-ns-mean-1
Browse filesperf(NavierStokes/Mean): 1 file cheaper to elaborate (−0.7%, measured)
main p1-ns-physical p2-correction-temporal-mean s2-instances-1 s2-ns-periodic-1 s2-ns-smooth-1 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/MeanRankUpdate.lean View file
| @@ -541,7 +541,7 @@ theorem modelBox_slope_pos {coord qlo qhi rlo rhi : ℝ} (hc : 0 < coord) (hc1 : | ||
| 541 | 541 | (modelToInverse coord y).1 := by |
| 542 | 542 | rw [modelToInverse_slope (hqlo.trans_le hy.1.1)] |
| 543 | 543 | have hη : y.2.2 ^ 2 ≤ 1 := by nlinarith [hy.2.2.1, hy.2.2.2] |
| 544 | - nlinarith [mul_le_mul_of_nonneg_left hη hc.le] | |
| 544 | + linarith [mul_le_mul_of_nonneg_left hη hc.le] | |
| 545 | 545 | |
| 546 | 546 | theorem modelBox_image_isCompact {qlo qhi rlo rhi : ℝ} (hqlo : 0 < qlo) (coord : ℝ) : |
| 547 | 547 | IsCompact (modelToInverse coord '' modelBox qlo qhi rlo rhi) := |
| @@ -681,7 +681,7 @@ noncomputable def chartInput : ChartPoint →L[ℝ] ModelPoint := | ||
| 681 | 681 | theorem chartInput_norm_le_one : ‖chartInput‖ ≤ 1 := by |
| 682 | 682 | apply ContinuousLinearMap.opNorm_le_bound _ zero_le_one |
| 683 | 683 | intro p |
| 684 | - simp only [chartInput_apply, one_mul, Prod.norm_def] | |
| 684 | + simp only [one_mul, Prod.norm_def] | |
| 685 | 685 | apply max_le |
| 686 | 686 | · exact (le_max_left _ _).trans ((le_max_left _ _).trans (le_max_right _ _)) |
| 687 | 687 | · exact max_le (le_max_left _ _) ((le_max_right _ _).trans ((le_max_left _ _).trans (le_max_right _ _))) |
+17 −0 routes/s2-ns-mean-1/README.md added View file
| @@ -0,0 +1,17 @@ | ||
| 1 | +--- | |
| 2 | +issue: 11 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s2-ns-mean-1 | |
| 6 | + | |
| 7 | +One unit of S-2, on the family `NavierStokes/Mean*`: `NavierStokes/MeanRankUpdate.lean` made cheaper to elaborate by | |
| 8 | +two edits inside proofs only (2 lines out, 2 in). In `modelBox_slope_pos`, `nlinarith` becomes `linarith` on the same | |
| 9 | +hint list; in `chartInput_norm_le_one`, a `simp only` list loses `chartInput_apply`, which `Prod.norm_def` already | |
| 10 | +reaches by reduction. No statement, import line or docstring changes, and no `maxHeartbeats`. The edits were carried | |
| 11 | +onto main `df2f18f` from Treant's `speedup_trials` stage (TitiSkywalker/NavierStokesAndEuler, 2026-12-03) and counted | |
| 12 | +there: 39.10 G instructions before, 38.84 G after, −0.7%. Counts are `perf stat -e instructions:u` on `lean -j1 | |
| 13 | +-DElab.async=false`; PR.md says how two runs agree. | |
| 14 | + | |
| 15 | +## Next | |
| 16 | + | |
| 17 | +Push and open the pull request into `main` (body PR.md); `build` decides, and the maintainer agent reviews after it. | |