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/H6): 2 files cheaper to elaborate (−18.4%, measured) #534
Merged
+2 −2 Euler/H6PressureConstants.lean View file
| @@ -82,7 +82,7 @@ theorem productConstant_polynomial {q : ℕ} {A : SmoothCoefficient period} | ||
| 82 | 82 | _ ≤ L + ∑ _i : Fin 4, ((9 : ℝ) ^ q * L + (9 : ℝ) ^ q * L) := |
| 83 | 83 | add_le_add hzero (Finset.sum_le_sum (fun i _ => add_le_add hbase (hchild i))) |
| 84 | 84 | _ = L + 8 * ((9 : ℝ) ^ q * L) := by simp; ring |
| 85 | - _ ≤ (9 : ℝ) ^ (q + 1) * L := by rw [pow_succ]; nlinarith only [hpower] | |
| 85 | + _ ≤ (9 : ℝ) ^ (q + 1) * L := by rw [pow_succ]; linarith only [hpower] | |
| 86 | 86 | |
| 87 | 87 | /-- A simple bound used to keep the inverse majorant polynomial at each fixed order. -/ |
| 88 | 88 | theorem succ_le_three_pow (q : ℕ) : q + 1 ≤ 3 ^ q := by |
| @@ -114,7 +114,7 @@ theorem inverse_majorant_step {L B M : ℝ} (hL : 1 ≤ L) (hB : L ≤ B) (hM : | ||
| 114 | 114 | have hcube := mul_le_mul_of_nonneg_right hM2 hM0 |
| 115 | 115 | have hprod := mul_le_mul_of_nonneg_right hM (sq_nonneg M) |
| 116 | 116 | have hcubepos : 0 ≤ M ^ 3 := by positivity |
| 117 | - nlinarith only [hLleM, hcube, hprod, hcubepos] | |
| 117 | + linarith only [hLleM, hcube, hprod, hcubepos] | |
| 118 | 118 | |
| 119 | 119 | omit [Fact (0 < period)] in |
| 120 | 120 | /-- Every fixed-order coercive inverse constant is bounded by an explicit polynomial in L. |
+1 −1 Euler/H6TransportSource.lean View file
| @@ -184,6 +184,6 @@ theorem transport_shifted_weighted_bound (q N : ℕ) (ρ : ℝ) (hρ : 0 < ρ) | ||
| 184 | 184 | (fun l => wordSobolevNorm period 6 l b) (fun l => wordSobolevNorm period 6 l e) |
| 185 | 185 | (fun l => wordSobolevNorm_nonneg period 6 l b) (fun l => wordSobolevNorm_nonneg period 6 l e)) |
| 186 | 186 | (productConstant_nonneg period q) |
| 187 | - simpa only [mul_assoc, mul_left_comm, mul_comm] using h | |
| 187 | + simpa only [mul_assoc, mul_left_comm] using h | |
| 188 | 188 | |
| 189 | 189 | end EulerH6Nonlinear |
+20 −0 routes/s2-euler-h6-1/README.md added View file
| @@ -0,0 +1,20 @@ | ||
| 1 | +--- | |
| 2 | +issue: 11 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s2-euler-h6-1 | |
| 6 | + | |
| 7 | +S-2, the `Euler/H6*` family: `Euler/H6PressureConstants.lean` and `Euler/H6TransportSource.lean`, | |
| 8 | +two files near the top of S-2's list of the costliest to elaborate. Inside proofs only, three | |
| 9 | +tactics get cheaper: two closing `nlinarith` steps become `linarith`, and one `simpa only` list | |
| 10 | +drops `mul_comm`. Nothing else changes — no statement, import, docstring or `maxHeartbeats`. The | |
| 11 | +edits are Treant's `speedup_trials` edits from upstream `f9e8bc5` | |
| 12 | +(TitiSkywalker/NavierStokesAndEuler, run of 2026-12-03), carried onto main `d956c7c` and counted | |
| 13 | +there; a file is kept only if it is cheaper here. `docs/build-profile.md` holds S-2's list of the | |
| 14 | +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. | |