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/Sobolev): 4 files cheaper to elaborate (−7.5%, measured)
Browse filesPart of #11. Co-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-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-sobolev-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
+1 −1 Euler/SobolevDifferenceEnergy.lean View file
| @@ -58,7 +58,7 @@ theorem difference_transport_bound {q : ℕ} {T : Type*} [TopologicalSpace T] | ||
| 58 | 58 | have hβ : (1/2 : ℝ)*K.firstBound*((|D.κ|+‖D.direction‖)*velocityBound period q Z R) ≤ |
| 59 | 59 | Kx*velocityBound period q Z R := by |
| 60 | 60 | have hh := mul_le_mul_of_nonneg_right hprod hV |
| 61 | - nlinarith | |
| 61 | + linarith | |
| 62 | 62 | exact mul_le_mul_of_nonneg_right hβ (sq_nonneg _) |
| 63 | 63 | |
| 64 | 64 | /-- The actual Sobolev Laplacian has the fixed metric heat bound obtained by integration by parts. -/ |
+1 −1 Euler/SobolevHeatGenerator.lean View file
| @@ -22,7 +22,7 @@ def laplacianEvaluation (q : ℕ) (hq : 2 ≤ q) : SobolevSpace period q →L[ | ||
| 22 | 22 | theorem laplacianEvaluation_apply {q : ℕ} (hq : 2 ≤ q) (u : SobolevSpace period q) : |
| 23 | 23 | laplacianEvaluation period q hq u = |
| 24 | 24 | ∑ i : Fin 4, word period u hq (fun _ : Fin 2 => i) := by |
| 25 | - simp only [laplacianEvaluation, sum_apply] | |
| 25 | + simp only [laplacianEvaluation] | |
| 26 | 26 | rfl |
| 27 | 27 | |
| 28 | 28 | /-- The actual Laplacian is bounded by four times the complete Sobolev norm. -/ |
+1 −1 Euler/SobolevReflection.lean View file
| @@ -32,7 +32,7 @@ theorem reflectionArray_mem (q : ℕ) (u : SobolevSpace period q) : | ||
| 32 | 32 | · funext t |
| 33 | 33 | rw [map_smul] |
| 34 | 34 | rfl |
| 35 | - · simp only [pow_succ, mul_smul, neg_one_smul, smul_neg] | |
| 35 | + · simp only [pow_succ, mul_smul, neg_one_smul] | |
| 36 | 36 | rfl |
| 37 | 37 | |
| 38 | 38 | /-- Joint pullback reflection as a genuine bounded map of the complete Sobolev space. -/ |
+1 −1 Euler/SobolevSmoothProduct.lean View file
| @@ -103,7 +103,7 @@ theorem productHighLow_sub {q : ℕ} (L : Vector3 →L[ℝ] ℝ) | ||
| 103 | 103 | apply value_injective period |
| 104 | 104 | change value period (productHighLow period L u v) - value period (productHighLow period L w z) = |
| 105 | 105 | value period (productHighLow period L (u-w) v) + value period (productHighLow period L w (v-z)) |
| 106 | - simp only [productHighLow_value, map_sub] | |
| 106 | + simp only [productHighLow_value] | |
| 107 | 107 | rw [show value period (v-z) = value period v - value period z from map_sub (valueOperator period q) v z] |
| 108 | 108 | change scalarProductBilinear period (le_refl 3) L _ _ - scalarProductBilinear period (le_refl 3) L _ _ = |
| 109 | 109 | scalarProductBilinear period (le_refl 3) L _ _ + scalarProductBilinear period (le_refl 3) L _ _ |
+20 −0 routes/s2-euler-sobolev-1/README.md added View file
| @@ -0,0 +1,20 @@ | ||
| 1 | +--- | |
| 2 | +issue: 11 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s2-euler-sobolev-1 | |
| 6 | + | |
| 7 | +S-2, the `Euler/Sobolev*` family: `Euler/SobolevDifferenceEnergy.lean`, | |
| 8 | +`Euler/SobolevHeatGenerator.lean`, `Euler/SobolevReflection.lean` and | |
| 9 | +`Euler/SobolevSmoothProduct.lean`. In each, one line inside a proof changes: a `simp only` list | |
| 10 | +loses entries that do not change the goal (`sum_apply`, `smul_neg`, `map_sub`), and one closing | |
| 11 | +`nlinarith` of a `have` becomes `linarith`. Nothing else changes — no statement, import, docstring | |
| 12 | +or `maxHeartbeats`. The edits are Treant's `speedup_trials` edits from upstream `f9e8bc5` | |
| 13 | +(TitiSkywalker/NavierStokesAndEuler, run of 2026-12-03), carried onto main `d956c7c` and counted | |
| 14 | +there. `docs/build-profile.md` holds S-2's list of the ten costliest files. | |
| 15 | + | |
| 16 | +The measured cost, and how it was counted, is in the pull request's description. | |
| 17 | + | |
| 18 | +## Next | |
| 19 | + | |
| 20 | +Push, let the `challenge` and `build` checks run, and reply to the maintainer's review. | |