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

| 1 | import Mathlib.Analysis.Calculus.Deriv.Pow |
| 2 | import Mathlib.Analysis.Calculus.Deriv.Mul |
| 3 | import Mathlib.Data.Nat.Factorial.Basic |
| 4 | import Mathlib.Tactic.FieldSimp |
| 5 | import Mathlib.Tactic.Linarith |
| 6 | import Mathlib.Tactic.NormNum |
| 7 | import Mathlib.Tactic.Positivity |
| 8 | import Mathlib.Tactic.Ring |
| 9 | |
| 10 | /-! |
| 11 | # Algebraic checks for the natural axis profile |
| 12 | |
| 13 | These theorems concern the scaled leading equations and the two explicit |
| 14 | truncations in Proposition 5.1 of the candidate manuscript. They do not |
| 15 | establish convergence of a formal power series, the nonlinear remainder |
| 16 | estimates, the contraction argument, or the full profile's cone margin. |
| 17 | -/ |
| 18 | |
| 19 | namespace NavierStokes.AxisProfile |
| 20 | |
| 21 | noncomputable section |
| 22 | |
| 23 | /-- The regular zero-datum formal inverse used in the scaled equations. -/ |
| 24 | def radialInverseCoeff (m : ℕ) (f : ℕ → ℝ) : ℕ → ℝ |
| 25 | | 0 => 0 |
| 26 | | n + 1 => f n / (((n : ℝ) + 1) * ((n : ℝ) + m)) |
| 27 | |
| 28 | @[simp] theorem radialInverseCoeff_zero (m : ℕ) (f : ℕ → ℝ) : |
| 29 | radialInverseCoeff m f 0 = 0 := rfl |
| 30 | |
| 31 | /-- The leading angular series coefficient from Proposition 5.1: |
| 32 | `(-χ/2)^n / (n! (n+1)!)`. -/ |
| 33 | def profileCoeff (χ : ℝ) (n : ℕ) : ℝ := |
| 34 | (-χ / 2) ^ n / ((n.factorial : ℝ) * ((n + 1).factorial : ℝ)) |
| 35 | |
| 36 | @[simp] theorem profileCoeff_zero (χ : ℝ) : profileCoeff χ 0 = 1 := by |
| 37 | norm_num [profileCoeff] |
| 38 | |
| 39 | /-- The cubic lower truncation in the manuscript, with `t = Yχ/2`. -/ |
| 40 | def cubicLower (t : ℝ) : ℝ := 1 - t / 2 + t ^ 2 / 12 - t ^ 3 / 144 |
| 41 | |
| 42 | /-- The quartic upper truncation for `f₀ + s f₀'`, in the variable `t=s/2`. -/ |
| 43 | def quarticUpper (t : ℝ) : ℝ := |
| 44 | 1 - t + t ^ 2 / 4 - t ^ 3 / 36 + t ^ 4 / 576 |
| 45 | |
| 46 | /-- A rational positivity certificate for the lower truncation on |
| 47 | `t ≤ 2.05`; the natural application also has `t ≥ 0`. -/ |
| 48 | theorem cubicLower_gt_quarter (t : ℝ) (ht : t ≤ 41 / 20) : |
| 49 | 1 / 4 < cubicLower t := by |
| 50 | have hd : 0 ≤ 41 / 20 - t := sub_nonneg.mpr ht |
| 51 | have h2 : 0 ≤ (41 / 20 - t) ^ 2 := sq_nonneg _ |
| 52 | have h3 : 0 ≤ (41 / 20 - t) ^ 3 := pow_nonneg hd _ |
| 53 | have hidentity : cubicLower t = |
| 54 | cubicLower (41 / 20) + |
| 55 | (1 / 2 - (41 / 20) / 6 + (41 / 20) ^ 2 / 48) * (41 / 20 - t) + |
| 56 | (1 / 12 - (41 / 20) / 48) * (41 / 20 - t) ^ 2 + |
| 57 | (41 / 20 - t) ^ 3 / 144 := by |
| 58 | unfold cubicLower |
| 59 | ring |
| 60 | norm_num [cubicLower] at hidentity |
| 61 | unfold cubicLower |
| 62 | nlinarith |
| 63 | |
| 64 | /-- A direct rational verification of the numerical strict inequality |
| 65 | used for the initial cone margin. -/ |
| 66 | theorem quarticUpper_lt_neg_eighteen_hundredths |
| 67 | (t : ℝ) (hlo : 99 / 50 ≤ t) (hhi : t ≤ 2) : |
| 68 | quarticUpper t < -(18 / 100) := by |
| 69 | have ht : 0 ≤ t := by linarith |
| 70 | have hsmall : 0 ≤ 1 - t / 2 := by linarith |
| 71 | have hsmall_le : 1 - t / 2 ≤ 1 / 100 := by linarith |
| 72 | have hsquare := pow_le_pow_left₀ hsmall hsmall_le 2 |
| 73 | have hcube := pow_le_pow_left₀ (show (0 : ℝ) ≤ 99 / 50 by norm_num) hlo 3 |
| 74 | have hfour := pow_le_pow_left₀ ht hhi 4 |
| 75 | norm_num at hsquare hcube hfour |
| 76 | unfold quarticUpper |
| 77 | nlinarith |
| 78 | |
| 79 | /-- The leading axial profile displayed in the scaled construction. -/ |
| 80 | def leadingAxial (Z L Y : ℝ) : ℝ := -Y * Z / (2 * L) |
| 81 | |
| 82 | end |
| 83 | |
| 84 | end NavierStokes.AxisProfile |