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(NavierStokes/Flat): 1 file cheaper to elaborate (−5.6%, measured)
Browse filesCo-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Checks
challenge Program · challenge files and build config
Details
+4 −4 NavierStokes/FlatKernelBounds.lean View file
| @@ -44,7 +44,7 @@ theorem denominator_sq {x t : ℝ} (ht : 0 ≤ t) : | ||
| 44 | 44 | |
| 45 | 45 | theorem one_le_denominator {x t : ℝ} (ht : 0 ≤ t) : 1 ≤ denominator x t := by |
| 46 | 46 | apply Real.one_le_sqrt.2 |
| 47 | - nlinarith [mul_nonneg (sq_nonneg x) ht] | |
| 47 | + linarith [mul_nonneg (sq_nonneg x) ht] | |
| 48 | 48 | |
| 49 | 49 | theorem hasDerivAt_denominator {x t : ℝ} (ht : 0 ≤ t) : |
| 50 | 50 | HasDerivAt (fun y => denominator y t) |
| @@ -53,7 +53,7 @@ theorem hasDerivAt_denominator {x t : ℝ} (ht : 0 ≤ t) : | ||
| 53 | 53 | simpa only [Pi.pow_apply, id_eq, Nat.cast_ofNat, Nat.reduceSub, pow_one, mul_one] using |
| 54 | 54 | (((hasDerivAt_id x).pow 2).mul_const t).const_add 1 |
| 55 | 55 | convert! hbase.sqrt (ne_of_gt (base_pos ht)) using 1 |
| 56 | - simp only [denominator, div_eq_mul_inv, mul_inv_rev] | |
| 56 | + simp only [denominator, div_eq_mul_inv] | |
| 57 | 57 | ring |
| 58 | 58 | |
| 59 | 59 | theorem hasDerivAt_inv_denominator {x t : ℝ} (ht : 0 ≤ t) : |
| @@ -70,7 +70,7 @@ theorem hasDerivAt_coordinate {x t : ℝ} (ht : 0 ≤ t) : | ||
| 70 | 70 | have hsq := denominator_sq (x := x) ht |
| 71 | 71 | simp only [id_eq] at * |
| 72 | 72 | field_simp [hd] |
| 73 | - nlinarith [congrArg (fun z : ℝ => z * denominator x t) hsq] | |
| 73 | + linarith [congrArg (fun z : ℝ => z * denominator x t) hsq] | |
| 74 | 74 | |
| 75 | 75 | /-- Finite expressions in the variables needed by every kernel derivative. -/ |
| 76 | 76 | inductive Expr where |
| @@ -169,7 +169,7 @@ theorem denominator_le_polynomial {R x t : ℝ} (hR : 0 ≤ R) | ||
| 169 | 169 | have hd : denominator x t ≤ 1 + x ^ 2 * t := by |
| 170 | 170 | nlinarith [denominator_sq (x := x) ht, one_le_denominator (x := x) ht, |
| 171 | 171 | sq_nonneg (denominator x t - 1)] |
| 172 | - exact hd.trans (by nlinarith [mul_le_mul_of_nonneg_right hsq ht, sq_nonneg R]) | |
| 172 | + exact hd.trans (by linarith [mul_le_mul_of_nonneg_right hsq ht, sq_nonneg R]) | |
| 173 | 173 | |
| 174 | 174 | theorem abs_inv_denominator_le_one {x t : ℝ} (ht : 0 ≤ t) : |
| 175 | 175 | |(denominator x t)⁻¹| ≤ 1 := by |
+17 −0 routes/s2-ns-flat-1/README.md added View file
| @@ -0,0 +1,17 @@ | ||
| 1 | +--- | |
| 2 | +issue: 11 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s2-ns-flat-1 | |
| 6 | + | |
| 7 | +One unit of S-2: the family `NavierStokes/Flat*`. It makes | |
| 8 | +`NavierStokes/FlatKernelBounds.lean` cheaper to elaborate — 17.65 G to 16.67 G | |
| 9 | +instructions retired, −5.6% — by four edits inside proofs: three `nlinarith` become `linarith` | |
| 10 | +in `one_le_denominator`, `hasDerivAt_coordinate` and `denominator_le_polynomial`, and a | |
| 11 | +`simp only` set in `hasDerivAt_denominator` loses `mul_inv_rev`. No statement, import line or | |
| 12 | +docstring changes, and no `maxHeartbeats`. The edits are Treant's `speedup_trials` | |
| 13 | +(2026-12-03), carried onto main at `df2f18f` and counted there. | |
| 14 | + | |
| 15 | +## Next | |
| 16 | + | |
| 17 | +Push, open the pull request against `main`, and answer the maintainer's review. | |