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(NavierStokes/Local): 1 file cheaper to elaborate (−2.8%, measured) #582
Merged
+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. | |