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 #653 from s2-ns-viscous-1
Browse filesperf(NavierStokes/Viscous): 1 file cheaper to elaborate (−4.3%, measured)
main p1-ns-physical 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
+4 −4 NavierStokes/ViscousPropagator.lean View file
| @@ -93,7 +93,7 @@ theorem weighted_norm_le_initial_add_integral | ||
| 93 | 93 | convert! (hInv t).hasDerivWithinAt.smul (hode t ht) using 1 |
| 94 | 94 | dsimp [v, F, B] |
| 95 | 95 | simp only [sub_apply, smul_apply, |
| 96 | - ContinuousLinearMap.id_apply, map_smul, smul_add] | |
| 96 | + ContinuousLinearMap.id_apply, map_smul] | |
| 97 | 97 | module |
| 98 | 98 | have hB (t : ℝ) (ht : t ∈ Ico a b) (x : H) : ⟪x, B t x⟫_ℝ ≤ 0 := by |
| 99 | 99 | dsimp [B] |
| @@ -227,13 +227,13 @@ theorem plane_norm_sq (x : Plane) : ‖x‖ ^ 2 = (x 0) ^ 2 + (x 1) ^ 2 := by | ||
| 227 | 227 | |
| 228 | 228 | theorem inner_diagonal (lam : ℝ) (x : Plane) : |
| 229 | 229 | ⟪x, diagonal lam x⟫_ℝ = lam * ((x 0) ^ 2 - (x 1) ^ 2) := by |
| 230 | - simp [diagonal, reflection, PiLp.inner_apply, Fin.sum_univ_two, pow_two] | |
| 230 | + simp [diagonal, reflection, PiLp.inner_apply, pow_two] | |
| 231 | 231 | ring |
| 232 | 232 | |
| 233 | 233 | theorem diagonal_energy_le {lam : ℝ} (hlam : 0 ≤ lam) (x : Plane) : |
| 234 | 234 | ⟪x, diagonal lam x⟫_ℝ ≤ lam * ‖x‖ ^ 2 := by |
| 235 | 235 | rw [inner_diagonal, plane_norm_sq] |
| 236 | - nlinarith [mul_nonneg hlam (sq_nonneg (x 1))] | |
| 236 | + linarith [mul_nonneg hlam (sq_nonneg (x 1))] | |
| 237 | 237 | |
| 238 | 238 | /-- Operator norm controls its quadratic form without losing the sign of damping. -/ |
| 239 | 239 | theorem error_energy_le (E : H →L[ℝ] H) (x : H) : |
| @@ -251,7 +251,7 @@ theorem coefficient_energy_le {lam : ℝ} (hlam : 0 ≤ lam) | ||
| 251 | 251 | simp only [coefficient, add_apply, sub_apply, |
| 252 | 252 | smul_apply, ContinuousLinearMap.id_apply, inner_add_right, |
| 253 | 253 | inner_sub_right, inner_smul_right, real_inner_self_eq_norm_sq] |
| 254 | - nlinarith [diagonal_energy_le hlam x, error_energy_le E x] | |
| 254 | + linarith [diagonal_energy_le hlam x, error_energy_le E x] | |
| 255 | 255 | |
| 256 | 256 | /-- The exponential-integral envelope has the required scalar ODE exactly. -/ |
| 257 | 257 | theorem hasDerivAt_envelope {rate : ℝ → ℝ} (hrate : Continuous rate) |
+18 −0 routes/s2-ns-viscous-1/README.md added View file
| @@ -0,0 +1,18 @@ | ||
| 1 | +--- | |
| 2 | +issue: 11 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s2-ns-viscous-1 | |
| 6 | + | |
| 7 | +Unit of issue #11 (S-2, slow files): the family `NavierStokes/Viscous*`, and the one file | |
| 8 | +`NavierStokes/ViscousPropagator.lean` from it. The edits are proof-body only — two `simp` | |
| 9 | +argument lists lose entries that do not change the goal, and two `nlinarith` become | |
| 10 | +`linarith` — with no statement, import, docstring or `maxHeartbeats` change. Measured on the | |
| 11 | +file alone (instructions retired, `lean -j1 -DElab.async=false`): 17.39 G before, 16.64 G | |
| 12 | +after, −4.3%. They come from Treant's `speedup_trials` stage and were carried onto main | |
| 13 | +`df2f18f` and counted again there. | |
| 14 | + | |
| 15 | +## Next | |
| 16 | + | |
| 17 | +Open the pull request; `build` decides whether the edited proofs still elaborate. If it fails, | |
| 18 | +the file's edits are to be revisited as a whole rather than patched one line at a time. | |