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 #613 from s2-ns-volterra-1
Browse filesperf(NavierStokes/Volterra): 2 files cheaper to elaborate (−1.0%, measured)
main maintainer-statement p1-ns-physical 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 −3 NavierStokes/VolterraAnalyticBounds.lean View file
| @@ -110,7 +110,7 @@ theorem matrixAction_lowZero_eq_zero {A : Coeff} (hA : DerivativeShape A) | ||
| 110 | 110 | |
| 111 | 111 | @[simp] theorem matrixAction_zero (A : Coeff) : matrixAction A 0 = 0 := by |
| 112 | 112 | funext r z i |
| 113 | - simp [matrixAction, Matrix.mulVec, dotProduct] | |
| 113 | + simp [matrixAction, Matrix.mulVec] | |
| 114 | 114 | |
| 115 | 115 | @[simp] theorem letter_zero (A₀ A₁ : Coeff) (b : Bool) : letter A₀ A₁ b 0 = 0 := by |
| 116 | 116 | cases b <;> simp [letter] |
| @@ -350,7 +350,7 @@ theorem word_radialBound {A₀ A₁ : Coeff} {F : Field} {T σ B M δ : ℝ} {c | ||
| 350 | 350 | | true => |
| 351 | 351 | have hg : ρ + δ + (losses w : ℝ) * δ ≤ σ := by |
| 352 | 352 | simp only [losses, Nat.cast_add, Nat.cast_one] at hgap |
| 353 | - nlinarith | |
| 353 | + linarith | |
| 354 | 354 | have hr : ρ + δ ≤ σ := le_trans (le_add_of_nonneg_right |
| 355 | 355 | (mul_nonneg (Nat.cast_nonneg _) hδ.le)) hg |
| 356 | 356 | have hd := (ih hg).parameterDeriv hδ ((ha w).mono_radius hr) |
| @@ -360,7 +360,7 @@ theorem word_radialBound {A₀ A₁ : Coeff} {F : Field} {T σ B M δ : ℝ} {c | ||
| 360 | 360 | change RadialBound (radialInverse (matrixAction A₁ (parameterDeriv (word A₀ A₁ w F)))) |
| 361 | 361 | T c ρ _ _ |
| 362 | 362 | convert! h using 1 |
| 363 | - simp only [List.length_cons, losses, pow_succ, div_eq_mul_inv] | |
| 363 | + simp only [List.length_cons, losses, pow_succ] | |
| 364 | 364 | ring |
| 365 | 365 | |
| 366 | 366 | /-- Half the word length, rounded upward. -/ |
+2 −3 NavierStokes/VolterraParity.lean View file
| @@ -74,7 +74,7 @@ theorem equationRHS_reflect (A₀ A₁ : Coeff) (f W : Field) : | ||
| 74 | 74 | reflectedForcing (equationRHS A₀ A₁ f W) := by |
| 75 | 75 | funext r z i |
| 76 | 76 | simp [equationRHS, reflectCoeff, reflectedForcing, reflectField, matrixAction, |
| 77 | - parameterDeriv, Matrix.mulVec, dotProduct, Finset.sum_neg_distrib] | |
| 77 | + Matrix.mulVec, dotProduct, Finset.sum_neg_distrib] | |
| 78 | 78 | ring |
| 79 | 79 | |
| 80 | 80 | /-- The sign from radial reflection is exactly the sign in the reflected |
| @@ -82,8 +82,7 @@ forcing. This is an identity of actual Bochner integrals. -/ | ||
| 82 | 82 | theorem radialInverse_reflect (F : Field) : |
| 83 | 83 | radialInverse (reflectedForcing F) = reflectField (radialInverse F) := by |
| 84 | 84 | funext r z i |
| 85 | - simp [radialInverse, reflectedForcing, reflectField, smul_neg, | |
| 86 | - intervalIntegral.integral_neg, mul_neg, neg_smul] | |
| 85 | + simp [radialInverse, reflectedForcing, reflectField, intervalIntegral.integral_neg, mul_neg, neg_smul] | |
| 87 | 86 | |
| 88 | 87 | theorem radialInverse_equationRHS_reflect (A₀ A₁ : Coeff) (f W : Field) : |
| 89 | 88 | radialInverse (equationRHS (reflectCoeff A₀) (reflectCoeff A₁) |
+17 −0 routes/s2-ns-volterra-1/README.md added View file
| @@ -0,0 +1,17 @@ | ||
| 1 | +--- | |
| 2 | +issue: 11 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s2-ns-volterra-1 | |
| 6 | + | |
| 7 | +Issue #11 (S-2, make one slow file faster), the family `NavierStokes/Volterra*`: `VolterraAnalyticBounds.lean` | |
| 8 | +(19.05 G → 18.73 G instructions, −1.7%) and `VolterraParity.lean` (31.47 G → 31.30 G, −0.5%). The edits are the | |
| 9 | +proof-internal ones from Treant's `speedup_trials` stage carried onto main at `d956c7c`; no statement, import line, | |
| 10 | +docstring or `maxHeartbeats` changes. Both files stay in: the edits only drop `simp` arguments that do not change the | |
| 11 | +goal, replace an over-strong `nlinarith` by `linarith`, and merge a `simp` list onto one line. | |
| 12 | + | |
| 13 | +## Next | |
| 14 | + | |
| 15 | +`challenge` passes on `s2-ns-volterra-1`; `build` is to be read on the pull request's head. If a proof turns out | |
| 16 | +fragile under a Lean bump, the `linarith` at `VolterraAnalyticBounds.lean` (`word_radialBound`, the `true` branch) | |
| 17 | +is the one to re-try first. | |