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) #548
Merged
+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. | |