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/Parametric): 4 files cheaper to elaborate (−2.3%, measured) #589
Merged
+1 −1 NavierStokes/ParametricHeatTail.lean View file
| @@ -599,7 +599,7 @@ theorem diffusion_mem {eta : ℝ} (hη : eta ∈ Icc (-1 : ℝ) 1) : | ||
| 599 | 599 | have hp := mul_nonneg (show 0 ≤ 1 - eta by linarith [hη.2]) |
| 600 | 600 | (show 0 ≤ 1 + eta by linarith [hη.1]) |
| 601 | 601 | dsimp [diffusion] |
| 602 | - constructor <;> nlinarith [sq_nonneg eta] | |
| 602 | + constructor <;> linarith [sq_nonneg eta] | |
| 603 | 603 | |
| 604 | 604 | theorem diffusion_hasDerivAt (eta : ℝ) : HasDerivAt diffusion (-2 * eta) eta := by |
| 605 | 605 | convert! (hasDerivAt_const eta (1 : ℝ)).sub ((hasDerivAt_id eta).pow 2) using 1 ; |
+4 −6 NavierStokes/ParametricKernelBounds.lean View file
| @@ -198,14 +198,13 @@ theorem transform_derivative_bound (n : ℕ) {R : ℝ} (hR : 0 ≤ R) : | ||
| 198 | 198 | intro y t hy ht |
| 199 | 199 | have hcoord : |y.2| ≤ R := by |
| 200 | 200 | simpa only [Real.norm_eq_abs] using (norm_snd_le y).trans hy |
| 201 | - have hpow : 1 ≤ (1 + t) ^ N := by | |
| 202 | - simpa using pow_le_pow_right₀ (by linarith : 1 ≤ 1 + t) (Nat.zero_le N) | |
| 201 | + have hpow : 1 ≤ (1 + t) ^ N := pow_le_pow_right₀ (by linarith : 1 ≤ 1 + t) (Nat.zero_le N) | |
| 203 | 202 | calc |
| 204 | 203 | ‖iteratedFDeriv ℝ n (transform t) y‖ ≤ |
| 205 | 204 | 1 + |iteratedDeriv n (fun x => coordinate x t) y.2| := |
| 206 | 205 | norm_iteratedFDeriv_transform_le n hn ht y |
| 207 | 206 | _ ≤ 1 + C * (1 + t) ^ N := add_le_add_right (hbound y.2 t hcoord ht) 1 |
| 208 | - _ ≤ (C + 1) * (1 + t) ^ N := by nlinarith | |
| 207 | + _ ≤ (C + 1) * (1 + t) ^ N := by linarith | |
| 209 | 208 | |
| 210 | 209 | def amplitude (j : ℕ) (x t : ℝ) : ℝ := denominator x t ^ j / denominator x t ^ 3 |
| 211 | 210 | |
| @@ -263,8 +262,7 @@ theorem profile_comp_derivative_bound {b : E × ℝ → ℝ} (hb : ContDiff ℝ | ||
| 263 | 262 | refine ⟨(n.factorial : ℝ) * B * (1 + A) ^ n, M * n, by positivity, ?_⟩ |
| 264 | 263 | intro y t hy ht |
| 265 | 264 | have ht1 : 1 ≤ 1 + t := by linarith |
| 266 | - have hpow : 1 ≤ (1 + t) ^ M := by | |
| 267 | - simpa using pow_le_pow_right₀ ht1 (Nat.zero_le M) | |
| 265 | + have hpow : 1 ≤ (1 + t) ^ M := pow_le_pow_right₀ ht1 (Nat.zero_le M) | |
| 268 | 266 | have hD : 1 ≤ (1 + A) * (1 + t) ^ M := by nlinarith |
| 269 | 267 | have hcomp := norm_iteratedFDeriv_comp_le hb (transform_contDiff ht) |
| 270 | 268 | (nat_le_smooth n) y |
| @@ -279,7 +277,7 @@ theorem profile_comp_derivative_bound {b : E × ℝ → ℝ} (hb : ContDiff ℝ | ||
| 279 | 277 | · calc |
| 280 | 278 | ‖iteratedFDeriv ℝ k (transform t) y‖ ≤ A * (1 + t) ^ M := |
| 281 | 279 | htransform k hkn y t hy ht |
| 282 | - _ ≤ (1 + A) * (1 + t) ^ M := by nlinarith | |
| 280 | + _ ≤ (1 + A) * (1 + t) ^ M := by linarith | |
| 283 | 281 | _ ≤ ((1 + A) * (1 + t) ^ M) ^ k := by |
| 284 | 282 | simpa only [pow_one] using pow_le_pow_right₀ hD hk1 |
| 285 | 283 | |
+1 −1 NavierStokes/ParametricRadialExtension.lean View file
| @@ -233,7 +233,7 @@ theorem extension_zero_exterior {S : Set ℝ} (w : ParameterWindow S) {F : Plane | ||
| 233 | 233 | {B : ℝ} (hB : 0 ≤ B) |
| 234 | 234 | (hzero : ∀ eta ∈ S, ∀ r, B ≤ r → F (r, eta) = 0) |
| 235 | 235 | {p : Plane} (hX : B ^ 2 / 2 ≤ p.1) : extension w F hF he p = 0 := by |
| 236 | - have hX0 : 0 ≤ p.1 := by nlinarith [sq_nonneg B] | |
| 236 | + have hX0 : 0 ≤ p.1 := by linarith [sq_nonneg B] | |
| 237 | 237 | have hsqrt : B ≤ Real.sqrt (2 * p.1) := by |
| 238 | 238 | apply (Real.le_sqrt hB (mul_nonneg (by norm_num : (0 : ℝ) ≤ 2) hX0)).mpr |
| 239 | 239 | linarith |
+1 −1 NavierStokes/ParametricTerminalCompensation.lean View file
| @@ -132,7 +132,7 @@ theorem exists_variable_compensation (P : Patch) (lam : ℝ) (hlam : 0 ≤ lam) | ||
| 132 | 132 | have hC : 0 < C := by dsimp [C]; positivity |
| 133 | 133 | have hBC : B ≤ C := by dsimp [C]; linarith |
| 134 | 134 | have hTC : T ≤ C := by dsimp [C]; linarith |
| 135 | - have hDBC : D * B ≤ C := by dsimp [T] at hTC; nlinarith [mul_pos hD (mul_pos hJ hB)] | |
| 135 | + have hDBC : D * B ≤ C := by dsimp [T] at hTC; linarith [mul_pos hD (mul_pos hJ hB)] | |
| 136 | 136 | refine ⟨ε₀ / D, C, div_pos hε₀ hD, hC, ?_⟩ |
| 137 | 137 | intro v hv hvsmall |
| 138 | 138 | let d : ℝ → Coeff := fun η => amplitudeDebt (a η) (v η) |
+16 −0 routes/s2-ns-parametric-1/README.md added View file
| @@ -0,0 +1,16 @@ | ||
| 1 | +--- | |
| 2 | +issue: 11 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s2-ns-parametric-1 | |
| 6 | + | |
| 7 | +S-2, one unit: the family `NavierStokes/Parametric*`, four files made cheaper to | |
| 8 | +elaborate — `ParametricHeatTail.lean`, `ParametricKernelBounds.lean`, | |
| 9 | +`ParametricRadialExtension.lean` and `ParametricTerminalCompensation.lean`. The edits | |
| 10 | +are Treant's `speedup_trials` stage carried onto main and counted file by file | |
| 11 | +(16 lines changed: 9 out, 7 in); they touch proofs only — no statement, import or | |
| 12 | +docstring change, and no `maxHeartbeats`. | |
| 13 | + | |
| 14 | +## Next | |
| 15 | + | |
| 16 | +Push, let `challenge` and `build` report, and reply to the maintainer's review. | |