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/Child): 2 files cheaper to elaborate (−17.1%, measured)
Browse filesCo-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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-child-1 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
ci/docs
Details
+8 −8 Euler/ChildParticleFieldBounds.lean View file
| @@ -98,7 +98,7 @@ theorem parentComposed_bound (U : SmoothL2Field Space) (hU : HasLabelBound G.K U | ||
| 98 | 98 | (by linarith [G.amp_nonneg]) (by linarith [G.rad_nonneg]) G.inner_positive |
| 99 | 99 | U G.K G.K G.K_nonneg G.K_nonneg (hasJetBound_of_labelBound U G.K hU) |
| 100 | 100 | exact h.mono G.K_nonneg (G.compositionRadius_nonneg G.K G.K_nonneg) le_rfl |
| 101 | - (G.compositionRadius_le_radius G.K (by nlinarith [G.K_nonneg])) | |
| 101 | + (G.compositionRadius_le_radius G.K (by linarith [G.K_nonneg])) | |
| 102 | 102 | |
| 103 | 103 | def firstCoefficient (U : SmoothL2Field Space) (x : Space) : Space →L[ℝ] Space := |
| 104 | 104 | fderiv ℝ U.field (G.inner x) |
| @@ -117,8 +117,8 @@ theorem firstCoefficient_bound (U : SmoothL2Field Space) (hU : HasLabelBound G.K | ||
| 117 | 117 | have hc := hd.comp G.inner_smooth (U.smooth.fderiv_right (m := ∞) (by simp)) |
| 118 | 118 | G.firstAmplitude_nonneg (by linarith [G.amp_nonneg]) (by linarith [G.rad_nonneg]) |
| 119 | 119 | (mul_nonneg (by norm_num) G.K_nonneg) G.inner_positive |
| 120 | - exact hc.mono G.firstAmplitude_nonneg (G.compositionRadius_nonneg _ (by nlinarith [G.K_nonneg])) | |
| 121 | - le_rfl (G.compositionRadius_le_radius (4*G.K) (by nlinarith [G.K_nonneg])) | |
| 120 | + exact hc.mono G.firstAmplitude_nonneg (G.compositionRadius_nonneg _ (by linarith [G.K_nonneg])) | |
| 121 | + le_rfl (G.compositionRadius_le_radius (4*G.K) (by linarith [G.K_nonneg])) | |
| 122 | 122 | |
| 123 | 123 | theorem secondCoefficient_bound (U : SmoothL2Field Space) (hU : HasLabelBound G.K U) : |
| 124 | 124 | HasSupBound (G.secondCoefficient U) G.secondAmplitude G.radius := by |
| @@ -128,10 +128,10 @@ theorem secondCoefficient_bound (U : SmoothL2Field Space) (hU : HasLabelBound G. | ||
| 128 | 128 | have hc := hd.comp G.inner_smooth |
| 129 | 129 | ((U.smooth.fderiv_right (m := ∞) (by simp)).fderiv_right (m := ∞) (by simp)) |
| 130 | 130 | G.secondAmplitude_nonneg (by linarith [G.amp_nonneg]) (by linarith [G.rad_nonneg]) |
| 131 | - (by nlinarith [G.K_nonneg]) G.inner_positive | |
| 131 | + (by linarith [G.K_nonneg]) G.inner_positive | |
| 132 | 132 | have he : (4 : ℝ)*(4*G.K)=16*G.K := by ring |
| 133 | 133 | rw [he] at hc |
| 134 | - exact hc.mono G.secondAmplitude_nonneg (G.compositionRadius_nonneg _ (by nlinarith [G.K_nonneg])) | |
| 134 | + exact hc.mono G.secondAmplitude_nonneg (G.compositionRadius_nonneg _ (by linarith [G.K_nonneg])) | |
| 135 | 135 | le_rfl (G.compositionRadius_le_radius (16*G.K) le_rfl) |
| 136 | 136 | |
| 137 | 137 | theorem velocity_bound_radius : G.velocity.HasJetBound G.amp G.radius := |
| @@ -210,16 +210,16 @@ theorem childDisplacement_bound : G.childDisplacement.HasJetBound G.amplitude G. | ||
| 210 | 210 | have h₁ := mul_nonneg G.firstAmplitude_nonneg G.amp_nonneg |
| 211 | 211 | have h₂ := mul_nonneg G.secondAmplitude_nonneg (sq_nonneg G.amp) |
| 212 | 212 | unfold amplitude |
| 213 | - nlinarith | |
| 213 | + linarith | |
| 214 | 214 | |
| 215 | 215 | theorem childVelocity_bound : G.childVelocity.HasJetBound G.amplitude G.radius := by |
| 216 | 216 | have h := ((G.parentComposed_bound G.parentVelocity G.parentVelocity_bound).add G.velocity_bound_radius).add |
| 217 | 217 | (G.firstTerm_bound G.parentDisplacement G.parentDisplacement_bound) |
| 218 | 218 | have h₁ := mul_nonneg G.firstAmplitude_nonneg G.amp_nonneg |
| 219 | 219 | have h₂ := mul_nonneg G.secondAmplitude_nonneg (sq_nonneg G.amp) |
| 220 | - apply h.mono (by nlinarith [G.K_nonneg,G.amp_nonneg]) G.radius_nonneg _ le_rfl | |
| 220 | + apply h.mono (by linarith [G.K_nonneg,G.amp_nonneg]) G.radius_nonneg _ le_rfl | |
| 221 | 221 | unfold amplitude |
| 222 | - nlinarith | |
| 222 | + linarith | |
| 223 | 223 | |
| 224 | 224 | theorem childAcceleration_bound : G.childAcceleration.HasJetBound G.amplitude G.radius := by |
| 225 | 225 | have h := (((((G.parentComposed_bound G.parentAcceleration G.parentAcceleration_bound).add |
+3 −3 Euler/ChildParticleSourceBound.lean View file
| @@ -36,7 +36,7 @@ theorem amplitude_le_power (k : ℝ) (hk1 : 1 ≤ k) | ||
| 36 | 36 | unfold amplitude secondAmplitude firstAmplitude |
| 37 | 37 | ring |
| 38 | 38 | calc |
| 39 | - G.amplitude ≤ (2+45*embeddingCost)*k^5 := by rw [he]; nlinarith [hs] | |
| 39 | + G.amplitude ≤ (2+45*embeddingCost)*k^5 := by rw [he]; linarith [hs] | |
| 40 | 40 | _ ≤ k*k^5 := mul_le_mul_of_nonneg_right hbig (pow_nonneg hk0 5) |
| 41 | 41 | _ = k^6 := by ring |
| 42 | 42 | |
| @@ -49,7 +49,7 @@ theorem radius_le_power (k : ℝ) (hk : 69 ≤ k) | ||
| 49 | 49 | have hamp : 1+G.amp ≤ 2*k := by linarith |
| 50 | 50 | have h16 : 16*G.K ≤ 16*k := mul_le_mul_of_nonneg_left hK (by norm_num) |
| 51 | 51 | have hm := mul_le_mul hamp h16 (mul_nonneg (by norm_num) G.K_nonneg) (mul_nonneg (by norm_num) hk0) |
| 52 | - have hinner : (1+G.amp)*(16*G.K)+2 ≤ 34*k^2 := by nlinarith [hm] | |
| 52 | + have hinner : (1+G.amp)*(16*G.K)+2 ≤ 34*k^2 := by linarith [hm] | |
| 53 | 53 | have hinner0 : 0 ≤ (1+G.amp)*(16*G.K)+2 := by |
| 54 | 54 | have := G.amp_nonneg |
| 55 | 55 | have := G.K_nonneg |
| @@ -58,7 +58,7 @@ theorem radius_le_power (k : ℝ) (hk : 69 ≤ k) | ||
| 58 | 58 | have hk24 : k^2 ≤ k^4 := pow_le_pow_right₀ hk1 (by omega) |
| 59 | 59 | have hsum := add_le_add hprod (hR.trans hk24) |
| 60 | 60 | calc |
| 61 | - G.radius ≤ 69*k^4 := by unfold radius compositionRadius; nlinarith [hsum] | |
| 61 | + G.radius ≤ 69*k^4 := by unfold radius compositionRadius; linarith [hsum] | |
| 62 | 62 | _ ≤ k*k^4 := mul_le_mul_of_nonneg_right hk (pow_nonneg hk0 4) |
| 63 | 63 | _ = k^5 := by ring |
| 64 | 64 | |
+15 −0 routes/s2-euler-child-1/README.md added View file
| @@ -0,0 +1,15 @@ | ||
| 1 | +--- | |
| 2 | +issue: 11 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s2-euler-child-1 | |
| 6 | + | |
| 7 | +One unit of S-2 (#11), the family `Euler/Child*`: two files, `Euler/ChildParticleFieldBounds.lean` | |
| 8 | +and `Euler/ChildParticleSourceBound.lean`, made cheaper to elaborate. The edits are `nlinarith` | |
| 9 | +become `linarith` inside proofs only, with the same hypotheses (11 lines out, 11 in); no statement, | |
| 10 | +import line or docstring changes, and no `maxHeartbeats`. The counts and how they were taken are in | |
| 11 | +the pull request's description: −2.7% and −39.8% on the two files, −17.1% on the two together. | |
| 12 | + | |
| 13 | +## Next | |
| 14 | + | |
| 15 | +Push, let the `challenge` and `build` checks run, and reply to the maintainer's review. | |