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 #582 from s2-ns-local-1
Browse filesperf(NavierStokes/Local): 1 file cheaper to elaborate (−2.8%, measured)
main maintainer-statement p1-ns-physical 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
+3 −4 NavierStokes/LocalSignedRequest.lean View file
| @@ -267,10 +267,10 @@ theorem moving_radial_bounds {coord a b : ℝ} (U : SlowRegion coord) (ha : 0 < | ||
| 267 | 267 | · calc |
| 268 | 268 | Real.sqrt U.qlo * a ≤ Real.sqrt (MeanRankUpdate.chartQ coord x) * a := |
| 269 | 269 | mul_le_mul_of_nonneg_right hL ha.le |
| 270 | - _ ≤ x.1 := by nlinarith [(lt_div_iff₀ hs).mp hr.1] | |
| 270 | + _ ≤ x.1 := by linarith [(lt_div_iff₀ hs).mp hr.1] | |
| 271 | 271 | · calc |
| 272 | 272 | x.1 ≤ Real.sqrt (MeanRankUpdate.chartQ coord x) * b := |
| 273 | - by nlinarith [(div_lt_iff₀ hs).mp hr.2] | |
| 273 | + by linarith [(div_lt_iff₀ hs).mp hr.2] | |
| 274 | 274 | _ ≤ Real.sqrt U.qhi * b := mul_le_mul_of_nonneg_right hR (ha.trans hab).le |
| 275 | 275 | |
| 276 | 276 | section ClassMaps |
| @@ -868,8 +868,7 @@ theorem physicalDensity_meanClass {coord : ℝ} (U : SlowRegion coord) | ||
| 868 | 868 | exact (((contDiffAt_fst.sqrt (ne_of_gt hx)).pow (e + 1)).inv |
| 869 | 869 | (pow_ne_zero _ (Real.sqrt_pos.mpr hx).ne')).contDiffWithinAt |
| 870 | 870 | have h := MeanIncrementBounds.Class.coefficient_mul hm hp |
| 871 | - simp only [zero_add, SignedStressPrimitive.physicalDensity, SignedStressPrimitive.lengthScale, | |
| 872 | - profileMap, MeanRankUpdate.chartQ, MeanRankUpdate.chartInput_apply, PhysicalCoordinateBounds.qCoord, | |
| 871 | + simp only [zero_add, SignedStressPrimitive.physicalDensity, profileMap, MeanRankUpdate.chartQ, MeanRankUpdate.chartInput_apply, PhysicalCoordinateBounds.qCoord, | |
| 873 | 872 | div_eq_mul_inv, mul_comm] at h ⊢ |
| 874 | 873 | exact h |
| 875 | 874 | |
+16 −0 routes/s2-ns-local-1/README.md added View file
| @@ -0,0 +1,16 @@ | ||
| 1 | +--- | |
| 2 | +issue: 11 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s2-ns-local-1 | |
| 6 | + | |
| 7 | +One file of the family `NavierStokes/Local*`, `NavierStokes/LocalSignedRequest.lean`, made cheaper to | |
| 8 | +elaborate by edits inside proofs: two `nlinarith` calls become `linarith` (in `moving_radial_bounds`), | |
| 9 | +and the `simp only` set in `physicalDensity_meanClass` drops `SignedStressPrimitive.lengthScale`. | |
| 10 | +Statements, imports and docstrings are untouched, and there is no `maxHeartbeats`. Measured | |
| 11 | +−2.8% (29.54 G → 28.70 G instructions retired), before and after on the same machine; the counts | |
| 12 | +and method are in the pull request. | |
| 13 | + | |
| 14 | +## Next | |
| 15 | + | |
| 16 | +The pull request is open; the maintainer agent reads `challenge` and `build` on its head. | |