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 NavierStokes.AxisProfile |
| 2 | import Mathlib.Analysis.Calculus.SmoothSeries |
| 3 | import Mathlib.Analysis.SpecificLimits.Normed |
| 4 | import Mathlib.Topology.Algebra.InfiniteSum.NatInt |
| 5 | import Mathlib.Tactic.GCongr |
| 6 | |
| 7 | /-! |
| 8 | # Convergent series for the leading natural axis profile |
| 9 | |
| 10 | This module concerns the leading scaled linear equation of Proposition 5.1, |
| 11 | not the nonlinear perturbation or the claimed uniform remainder estimates. |
| 12 | -/ |
| 13 | |
| 14 | noncomputable section |
| 15 | |
| 16 | namespace NavierStokes.AxisSeries |
| 17 | |
| 18 | open scoped BigOperators Topology |
| 19 | open Filter Set |
| 20 | |
| 21 | /-- Terms of a family of entire factorial-denominator series. -/ |
| 22 | def term (k n : ℕ) (t : ℝ) : ℝ := |
| 23 | (-t) ^ n / ((n.factorial : ℝ) * ((n + k).factorial : ℝ)) |
| 24 | |
| 25 | /-- The generalized leading series; the axis profile uses `k=1`. -/ |
| 26 | def bessel (k : ℕ) (t : ℝ) : ℝ := ∑' n : ℕ, term k n t |
| 27 | |
| 28 | theorem term_norm_le (k n : ℕ) (t R : ℝ) (hR : 0 ≤ R) (ht : |t| ≤ R) : |
| 29 | ‖term k n t‖ ≤ R ^ n / (n.factorial : ℝ) := by |
| 30 | have hf : (1 : ℝ) ≤ ((n + k).factorial : ℝ) := by |
| 31 | exact_mod_cast (Nat.factorial_pos (n + k)) |
| 32 | have hn : (0 : ℝ) < (n.factorial : ℝ) := Nat.cast_pos.mpr (Nat.factorial_pos n) |
| 33 | calc |
| 34 | ‖term k n t‖ = |t| ^ n / |
| 35 | ((n.factorial : ℝ) * ((n + k).factorial : ℝ)) := by |
| 36 | simp [term, Real.norm_eq_abs] |
| 37 | _ ≤ R ^ n / ((n.factorial : ℝ) * ((n + k).factorial : ℝ)) := by |
| 38 | gcongr |
| 39 | _ ≤ R ^ n / (n.factorial : ℝ) := by |
| 40 | apply div_le_div_of_nonneg_left (pow_nonneg hR _) hn |
| 41 | nlinarith |
| 42 | |
| 43 | /-- Absolute summability, proved by comparison with the exponential series. -/ |
| 44 | theorem summable_term (k : ℕ) (t : ℝ) : Summable (fun n : ℕ => term k n t) := by |
| 45 | exact Summable.of_norm_bounded |
| 46 | (Real.summable_pow_div_factorial |t|) |
| 47 | (fun n => term_norm_le k n t |t| (abs_nonneg t) le_rfl) |
| 48 | |
| 49 | theorem summable_norm_term (k : ℕ) (t : ℝ) : |
| 50 | Summable (fun n : ℕ => ‖term k n t‖) := by |
| 51 | apply Summable.of_norm_bounded |
| 52 | (Real.summable_pow_div_factorial |t|) |
| 53 | intro n |
| 54 | simpa only [norm_norm] using term_norm_le k n t |t| (abs_nonneg t) le_rfl |
| 55 | |
| 56 | theorem summable_term_tail (k j : ℕ) (t : ℝ) : |
| 57 | Summable (fun n : ℕ => term k (n + j) t) := |
| 58 | (summable_nat_add_iff j).mpr (summable_term k t) |
| 59 | |
| 60 | /-- Differentiating a successor-index term cancels one factorial factor. -/ |
| 61 | theorem hasDerivAt_term_succ (k n : ℕ) (t : ℝ) : |
| 62 | HasDerivAt (term k (n + 1)) (-term (k + 1) n t) t := by |
| 63 | have hn : (n : ℝ) + 1 ≠ 0 := by positivity |
| 64 | have hf : (n.factorial : ℝ) ≠ 0 := Nat.cast_ne_zero.mpr (Nat.factorial_ne_zero n) |
| 65 | have hk : ((n + (k + 1)).factorial : ℝ) ≠ 0 := |
| 66 | Nat.cast_ne_zero.mpr (Nat.factorial_ne_zero _) |
| 67 | convert! (((hasDerivAt_id t).fun_neg.fun_pow (n + 1)).div_const |
| 68 | ((Nat.factorial (n + 1) : ℝ) * (Nat.factorial (n + 1 + k) : ℝ))) using 1 |
| 69 | simp only [term, Nat.add_sub_cancel, Nat.factorial_succ, Nat.cast_mul, |
| 70 | Nat.cast_add, Nat.cast_one, id_eq] |
| 71 | rw [show n + 1 + k = n + (k + 1) by omega] |
| 72 | field_simp |
| 73 | |
| 74 | theorem bessel_eq_constant_add_tail (k : ℕ) (t : ℝ) : |
| 75 | bessel k t = 1 / (k.factorial : ℝ) + ∑' n : ℕ, term k (n + 1) t := by |
| 76 | simpa [bessel, term] using (summable_term k t).tsum_eq_zero_add |
| 77 | |
| 78 | /-- Differentiation of the convergent infinite series on every real point. -/ |
| 79 | theorem hasDerivAt_bessel (k : ℕ) (t : ℝ) : |
| 80 | HasDerivAt (bessel k) (-bessel (k + 1) t) t := by |
| 81 | let R : ℝ := |t| + 1 |
| 82 | have hR : 0 < R := by dsimp [R]; positivity |
| 83 | have ht : t ∈ Ioo (-R) R := by |
| 84 | dsimp [R] |
| 85 | constructor |
| 86 | · linarith [neg_abs_le t] |
| 87 | · linarith [le_abs_self t] |
| 88 | have htail : HasDerivAt (fun x : ℝ => ∑' n : ℕ, term k (n + 1) x) |
| 89 | (∑' n : ℕ, -term (k + 1) n t) t := by |
| 90 | apply hasDerivAt_tsum_of_isPreconnected |
| 91 | (u := fun n : ℕ => R ^ n / (n.factorial : ℝ)) |
| 92 | (g := fun n y => term k (n + 1) y) |
| 93 | (g' := fun n y => -term (k + 1) n y) |
| 94 | (t := Ioo (-R) R) (y₀ := t) |
| 95 | (Real.summable_pow_div_factorial R) isOpen_Ioo isPreconnected_Ioo |
| 96 | · intro n y _ |
| 97 | exact hasDerivAt_term_succ k n y |
| 98 | · intro n y hy |
| 99 | rw [norm_neg] |
| 100 | exact term_norm_le (k + 1) n y R hR.le |
| 101 | (abs_le.mpr ⟨hy.1.le, hy.2.le⟩) |
| 102 | · exact ht |
| 103 | · exact summable_term_tail k 1 t |
| 104 | · exact ht |
| 105 | have hfun : bessel k = fun x : ℝ => |
| 106 | 1 / (k.factorial : ℝ) + ∑' n : ℕ, term k (n + 1) x := by |
| 107 | funext x |
| 108 | exact bessel_eq_constant_add_tail k x |
| 109 | rw [hfun] |
| 110 | simpa only [tsum_neg, bessel] using htail.const_add (1 / (k.factorial : ℝ)) |
| 111 | |
| 112 | theorem deriv_bessel (k : ℕ) : |
| 113 | deriv (bessel k) = fun t : ℝ => -bessel (k + 1) t := by |
| 114 | funext t |
| 115 | exact (hasDerivAt_bessel k t).deriv |
| 116 | |
| 117 | /-- A termwise contiguous relation, with the constant term removed. -/ |
| 118 | theorem term_contiguous (k n : ℕ) (t : ℝ) : |
| 119 | term k (n + 1) t = ((k : ℝ) + 1) * term (k + 1) (n + 1) t - |
| 120 | t * term (k + 2) n t := by |
| 121 | have hn : (n : ℝ) + 1 ≠ 0 := by positivity |
| 122 | have hnk : (n : ℝ) + k + 1 ≠ 0 := by positivity |
| 123 | have hnk' : (n : ℝ) + k + 1 + 1 ≠ 0 := by positivity |
| 124 | have hfn : (n.factorial : ℝ) ≠ 0 := Nat.cast_ne_zero.mpr (Nat.factorial_ne_zero n) |
| 125 | have hfk : ((n + k).factorial : ℝ) ≠ 0 := |
| 126 | Nat.cast_ne_zero.mpr (Nat.factorial_ne_zero _) |
| 127 | simp only [term, show n + 1 + k = (n + k) + 1 by omega, |
| 128 | show n + 1 + (k + 1) = (n + k) + 1 + 1 by omega, |
| 129 | show n + (k + 2) = (n + k) + 1 + 1 by omega, |
| 130 | Nat.factorial_succ, Nat.cast_mul, Nat.cast_add, Nat.cast_one, pow_succ] |
| 131 | field_simp; ring |
| 132 | |
| 133 | theorem factorial_reciprocal (k : ℕ) : |
| 134 | 1 / (k.factorial : ℝ) = ((k : ℝ) + 1) * (1 / ((k + 1).factorial : ℝ)) := by |
| 135 | have hk : (k : ℝ) + 1 ≠ 0 := by positivity |
| 136 | have hf : (k.factorial : ℝ) ≠ 0 := Nat.cast_ne_zero.mpr (Nat.factorial_ne_zero k) |
| 137 | simp only [Nat.factorial_succ, Nat.cast_mul, Nat.cast_add, Nat.cast_one] |
| 138 | field_simp |
| 139 | |
| 140 | /-- The convergent sums satisfy the contiguous relation underlying the ODE. -/ |
| 141 | theorem bessel_contiguous (k : ℕ) (t : ℝ) : |
| 142 | bessel k t = ((k : ℝ) + 1) * bessel (k + 1) t - t * bessel (k + 2) t := by |
| 143 | have htail : (∑' n : ℕ, term k (n + 1) t) = |
| 144 | ((k : ℝ) + 1) * (∑' n : ℕ, term (k + 1) (n + 1) t) - |
| 145 | t * (∑' n : ℕ, term (k + 2) n t) := by |
| 146 | calc |
| 147 | _ = ∑' n : ℕ, (((k : ℝ) + 1) * term (k + 1) (n + 1) t - |
| 148 | t * term (k + 2) n t) := tsum_congr (fun n => term_contiguous k n t) |
| 149 | _ = _ := by |
| 150 | rw [((summable_term_tail (k + 1) 1 t).mul_left ((k : ℝ) + 1)).tsum_sub |
| 151 | ((summable_term (k + 2) t).mul_left t), tsum_mul_left, tsum_mul_left] |
| 152 | rw [bessel_eq_constant_add_tail k t, bessel_eq_constant_add_tail (k + 1) t, |
| 153 | htail, factorial_reciprocal k] |
| 154 | unfold bessel |
| 155 | ring |
| 156 | |
| 157 | theorem second_deriv_bessel (k : ℕ) (t : ℝ) : |
| 158 | deriv (deriv (bessel k)) t = bessel (k + 2) t := by |
| 159 | rw [deriv_bessel] |
| 160 | simpa only [neg_neg, Nat.add_assoc] using (hasDerivAt_bessel (k + 1) t).fun_neg.deriv |
| 161 | |
| 162 | /-- An actual differential equation for the infinite function. -/ |
| 163 | theorem bessel_ode (k : ℕ) (t : ℝ) : |
| 164 | t * deriv (deriv (bessel k)) t + ((k : ℝ) + 1) * deriv (bessel k) t + |
| 165 | bessel k t = 0 := by |
| 166 | rw [second_deriv_bessel, deriv_bessel, bessel_contiguous k t] |
| 167 | ring |
| 168 | |
| 169 | theorem bessel_zero (k : ℕ) : bessel k 0 = 1 / (k.factorial : ℝ) := by |
| 170 | rw [bessel_eq_constant_add_tail] |
| 171 | simp [term] |
| 172 | |
| 173 | /-- The leading regular angular profile in the manuscript's scaled radius. -/ |
| 174 | def profile (χ Y : ℝ) : ℝ := bessel 1 ((χ / 2) * Y) |
| 175 | |
| 176 | theorem profile_eq_tsum (χ Y : ℝ) : |
| 177 | profile χ Y = ∑' n : ℕ, (-χ * Y / 2) ^ n / |
| 178 | ((n.factorial : ℝ) * ((n + 1).factorial : ℝ)) := by |
| 179 | unfold profile bessel term |
| 180 | apply tsum_congr |
| 181 | intro n |
| 182 | congr 2 |
| 183 | ring |
| 184 | |
| 185 | theorem profile_zero (χ : ℝ) : profile χ 0 = 1 := by |
| 186 | simp [profile, bessel_zero] |
| 187 | |
| 188 | theorem hasDerivAt_profile (χ Y : ℝ) : |
| 189 | HasDerivAt (profile χ) (-(χ / 2) * bessel 2 ((χ / 2) * Y)) Y := by |
| 190 | convert! (hasDerivAt_bessel 1 ((χ / 2) * Y)).comp Y |
| 191 | ((hasDerivAt_id Y).const_mul (χ / 2)) using 1 |
| 192 | simp only [mul_one] |
| 193 | ring |
| 194 | |
| 195 | theorem deriv_profile (χ : ℝ) : |
| 196 | deriv (profile χ) = fun Y : ℝ => -(χ / 2) * bessel 2 ((χ / 2) * Y) := by |
| 197 | funext Y |
| 198 | exact (hasDerivAt_profile χ Y).deriv |
| 199 | |
| 200 | theorem second_deriv_profile (χ Y : ℝ) : |
| 201 | deriv (deriv (profile χ)) Y = (χ / 2) ^ 2 * bessel 3 ((χ / 2) * Y) := by |
| 202 | rw [deriv_profile] |
| 203 | have h := ((hasDerivAt_bessel 2 ((χ / 2) * Y)).comp Y |
| 204 | ((hasDerivAt_id Y).const_mul (χ / 2))).const_mul (-(χ / 2)) |
| 205 | convert! h.deriv using 1 |
| 206 | simp only [mul_one] |
| 207 | ring |
| 208 | |
| 209 | /-- The leading regular equation `2(YΦ''+2Φ') = -χΦ`, for the actual sum. -/ |
| 210 | theorem profile_scaled_ode (χ Y : ℝ) : |
| 211 | 2 * (Y * deriv (deriv (profile χ)) Y + 2 * deriv (profile χ) Y) = |
| 212 | -χ * profile χ Y := by |
| 213 | rw [second_deriv_profile, deriv_profile] |
| 214 | unfold profile |
| 215 | rw [bessel_contiguous 1 ((χ / 2) * Y)] |
| 216 | norm_num |
| 217 | ring |
| 218 | |
| 219 | /-- The exact successive-term ratio, including its sign. -/ |
| 220 | theorem term_succ_ratio (k n : ℕ) (t : ℝ) : |
| 221 | term k (n + 1) t = |
| 222 | (-t) / (((n : ℝ) + 1) * ((n : ℝ) + k + 1)) * term k n t := by |
| 223 | have hn : (n : ℝ) + 1 ≠ 0 := by positivity |
| 224 | have hnk : (n : ℝ) + k + 1 ≠ 0 := by positivity |
| 225 | have hfn : (n.factorial : ℝ) ≠ 0 := Nat.cast_ne_zero.mpr (Nat.factorial_ne_zero n) |
| 226 | have hfk : ((n + k).factorial : ℝ) ≠ 0 := |
| 227 | Nat.cast_ne_zero.mpr (Nat.factorial_ne_zero _) |
| 228 | simp only [term, show n + 1 + k = (n + k) + 1 by omega, |
| 229 | Nat.factorial_succ, Nat.cast_mul, Nat.cast_add, Nat.cast_one, pow_succ] |
| 230 | field_simp |
| 231 | |
| 232 | theorem term_sign (k n : ℕ) (t : ℝ) : |
| 233 | term k n t = (-1 : ℝ) ^ n * term k n (-t) := by |
| 234 | simp only [term, neg_neg] |
| 235 | rw [show -t = (-1 : ℝ) * t by ring, mul_pow] |
| 236 | ring |
| 237 | |
| 238 | /-- Once at least the zeroth term is removed, the remaining magnitudes |
| 239 | decrease on `0 ≤ t ≤ 4`, for every nonnegative factorial offset. -/ |
| 240 | theorem magnitude_tail_antitone (k j : ℕ) (hj : 1 ≤ j) |
| 241 | (t : ℝ) (ht0 : 0 ≤ t) (ht : t ≤ 4) : |
| 242 | Antitone (fun n : ℕ => term k (n + j) (-t)) := by |
| 243 | apply antitone_nat_of_succ_le |
| 244 | intro n |
| 245 | rw [show n + 1 + j = (n + j) + 1 by omega, term_succ_ratio] |
| 246 | simp only [neg_neg] |
| 247 | have hm : 0 ≤ term k (n + j) (-t) := by |
| 248 | unfold term |
| 249 | simp only [neg_neg] |
| 250 | positivity |
| 251 | have hd : 0 < (((n + j : ℕ) : ℝ) + 1) * (((n + j : ℕ) : ℝ) + k + 1) := by |
| 252 | positivity |
| 253 | apply mul_le_of_le_one_left hm |
| 254 | apply (div_le_one hd).mpr |
| 255 | have hnj : (1 : ℝ) ≤ ((n + j : ℕ) : ℝ) := by |
| 256 | exact_mod_cast (show 1 ≤ n + j by omega) |
| 257 | have hk : (0 : ℝ) ≤ k := Nat.cast_nonneg k |
| 258 | have hleft : (2 : ℝ) ≤ ((n + j : ℕ) : ℝ) + 1 := by linarith |
| 259 | have hright : (2 : ℝ) ≤ ((n + j : ℕ) : ℝ) + k + 1 := by linarith |
| 260 | have hprod := mul_le_mul hleft hright (by norm_num : (0 : ℝ) ≤ 2) |
| 261 | (by positivity : 0 ≤ ((n + j : ℕ) : ℝ) + 1) |
| 262 | linarith |
| 263 | |
| 264 | /-- The cubic tail is an instance of the preceding magnitude estimate. -/ |
| 265 | theorem cubic_tail_antitone (t : ℝ) (ht0 : 0 ≤ t) (ht : t ≤ 41 / 20) : |
| 266 | Antitone (fun n : ℕ => term 1 (n + 4) (-t)) := |
| 267 | magnitude_tail_antitone 1 4 (by norm_num) t ht0 (by linarith) |
| 268 | |
| 269 | /-- The infinite alternating tail following the cubic has nonnegative sum. -/ |
| 270 | theorem cubic_tail_nonneg (t : ℝ) (ht0 : 0 ≤ t) (ht : t ≤ 41 / 20) : |
| 271 | 0 ≤ ∑' n : ℕ, term 1 (n + 4) t := by |
| 272 | have hsign : (fun n : ℕ => term 1 (n + 4) t) = |
| 273 | fun n : ℕ => (-1 : ℝ) ^ n * term 1 (n + 4) (-t) := by |
| 274 | funext n |
| 275 | rw [term_sign, pow_add] |
| 276 | norm_num |
| 277 | have hs := (summable_term_tail 1 4 t).hasSum |
| 278 | rw [hsign] at hs |
| 279 | have hb := Antitone.alternating_series_le_tendsto hs.tendsto_sum_nat |
| 280 | (cubic_tail_antitone t ht0 ht) 0 |
| 281 | simpa only [hsign, mul_zero, Finset.range_zero, Finset.sum_empty] using hb |
| 282 | |
| 283 | theorem cubic_lower_le_bessel (t : ℝ) (ht0 : 0 ≤ t) (ht : t ≤ 41 / 20) : |
| 284 | AxisProfile.cubicLower t ≤ bessel 1 t := by |
| 285 | have hpoly : (∑ n ∈ Finset.range 4, term 1 n t) = AxisProfile.cubicLower t := by |
| 286 | norm_num [Finset.sum_range_succ, term, AxisProfile.cubicLower, Nat.factorial_succ] |
| 287 | ring |
| 288 | have hs := (summable_term 1 t).sum_add_tsum_nat_add 4 |
| 289 | rw [hpoly] at hs |
| 290 | have ht' := cubic_tail_nonneg t ht0 ht |
| 291 | unfold bessel |
| 292 | linarith |
| 293 | |
| 294 | /-- A uniform positive lower bound for the actual infinite leading series. -/ |
| 295 | theorem bessel_one_gt_quarter (t : ℝ) (ht0 : 0 ≤ t) (ht : t ≤ 41 / 20) : |
| 296 | 1 / 4 < bessel 1 t := |
| 297 | lt_of_lt_of_le (AxisProfile.cubicLower_gt_quarter t ht) |
| 298 | (cubic_lower_le_bessel t ht0 ht) |
| 299 | |
| 300 | /-- Positivity on the entire axis interval requested in Proposition 5.1, |
| 301 | for the leading profile rather than its nonlinear perturbation. -/ |
| 302 | theorem profile_gt_quarter (χ Y : ℝ) (hχ0 : 0 ≤ χ) (hχ1 : χ ≤ 1) |
| 303 | (hY0 : 0 ≤ Y) (hY1 : Y ≤ 41 / 10) : 1 / 4 < profile χ Y := by |
| 304 | apply bessel_one_gt_quarter |
| 305 | · positivity |
| 306 | · nlinarith [mul_nonneg (sub_nonneg.mpr hχ1) hY0] |
| 307 | |
| 308 | theorem profile_pos (χ Y : ℝ) (hχ0 : 0 ≤ χ) (hχ1 : χ ≤ 1) |
| 309 | (hY0 : 0 ≤ Y) (hY1 : Y ≤ 41 / 10) : 0 < profile χ Y := by |
| 310 | have h := profile_gt_quarter χ Y hχ0 hχ1 hY0 hY1 |
| 311 | linarith |
| 312 | |
| 313 | /-- A convergent alternating tail beginning with its positive sign has |
| 314 | nonnegative total, for every offset starting after at least one term. -/ |
| 315 | theorem alternating_tail_nonneg (k j : ℕ) (hj : 1 ≤ j) |
| 316 | (t : ℝ) (ht0 : 0 ≤ t) (ht : t ≤ 4) : |
| 317 | 0 ≤ ∑' n : ℕ, (-1 : ℝ) ^ n * term k (n + j) (-t) := by |
| 318 | have hs : Summable (fun n : ℕ => (-1 : ℝ) ^ n * term k (n + j) (-t)) := by |
| 319 | apply Summable.of_norm_bounded |
| 320 | ((summable_nat_add_iff j).mpr (summable_norm_term k (-t))) |
| 321 | intro n |
| 322 | simp |
| 323 | have hb := Antitone.alternating_series_le_tendsto hs.hasSum.tendsto_sum_nat |
| 324 | (magnitude_tail_antitone k j hj t ht0 ht) 0 |
| 325 | simpa using hb |
| 326 | |
| 327 | /-- Every odd-length truncation with at least one term is an upper bound |
| 328 | on the actual series on this interval. -/ |
| 329 | theorem bessel_le_odd_partial_sum (k j : ℕ) (hj : 1 ≤ j) (hodd : Odd j) |
| 330 | (t : ℝ) (ht0 : 0 ≤ t) (ht : t ≤ 4) : |
| 331 | bessel k t ≤ ∑ n ∈ Finset.range j, term k n t := by |
| 332 | have hsign : ∀ n : ℕ, term k (n + j) t = |
| 333 | -((-1 : ℝ) ^ n * term k (n + j) (-t)) := by |
| 334 | intro n |
| 335 | rw [term_sign, pow_add, hodd.neg_one_pow] |
| 336 | ring |
| 337 | have htail : (∑' n : ℕ, term k (n + j) t) = |
| 338 | -(∑' n : ℕ, (-1 : ℝ) ^ n * term k (n + j) (-t)) := by |
| 339 | simp_rw [hsign] |
| 340 | rw [tsum_neg] |
| 341 | have hs := (summable_term k t).sum_add_tsum_nat_add j |
| 342 | have hnonneg := alternating_tail_nonneg k j hj t ht0 ht |
| 343 | rw [htail] at hs |
| 344 | unfold bessel |
| 345 | linarith |
| 346 | |
| 347 | theorem bessel_one_le_one (t : ℝ) (ht0 : 0 ≤ t) (ht : t ≤ 4) : |
| 348 | bessel 1 t ≤ 1 := by |
| 349 | have h := bessel_le_odd_partial_sum 1 1 (by norm_num) (by norm_num) t ht0 ht |
| 350 | simpa [Finset.sum_range_succ, term] using h |
| 351 | |
| 352 | /-- The quartic upper bound controls the actual factorial-square series. -/ |
| 353 | theorem bessel_zero_lt_neg_eighteen_hundredths |
| 354 | (t : ℝ) (ht0 : 99 / 50 ≤ t) (ht1 : t ≤ 2) : |
| 355 | bessel 0 t < -(18 / 100) := by |
| 356 | have h := bessel_le_odd_partial_sum 0 5 (by norm_num) ⟨2, by norm_num⟩ t |
| 357 | (by linarith) (by linarith) |
| 358 | have hpoly : (∑ n ∈ Finset.range 5, term 0 n t) = AxisProfile.quarticUpper t := by |
| 359 | norm_num [Finset.sum_range_succ, term, AxisProfile.quarticUpper, Nat.factorial_succ] |
| 360 | ring |
| 361 | rw [hpoly] at h |
| 362 | exact lt_of_le_of_lt h (AxisProfile.quarticUpper_lt_neg_eighteen_hundredths t ht0 ht1) |
| 363 | |
| 364 | /-- The derivative combination used in the manuscript's sign test is now |
| 365 | an identity of differentiable infinite functions. -/ |
| 366 | theorem bessel_one_add_mul_deriv (t : ℝ) : |
| 367 | bessel 1 t + t * deriv (bessel 1) t = bessel 0 t := by |
| 368 | rw [deriv_bessel, bessel_contiguous 0 t] |
| 369 | norm_num |
| 370 | ring |
| 371 | |
| 372 | theorem bessel_one_log_slope_gt (t : ℝ) (ht0 : 99 / 50 ≤ t) (ht1 : t ≤ 2) : |
| 373 | 236 / 100 < -2 * t * deriv (bessel 1) t / bessel 1 t := by |
| 374 | have hpos : 0 < bessel 1 t := by |
| 375 | have h := bessel_one_gt_quarter t (by linarith) (by linarith) |
| 376 | linarith |
| 377 | have hupper := bessel_one_le_one t (by linarith) (by linarith) |
| 378 | have hsign := bessel_zero_lt_neg_eighteen_hundredths t ht0 ht1 |
| 379 | rw [← bessel_one_add_mul_deriv t] at hsign |
| 380 | apply (lt_div_iff₀ hpos).mpr |
| 381 | nlinarith |
| 382 | |
| 383 | /-- The exact leading profile has the stated `2.36` slope margin at `Y=4` |
| 384 | when `χ≥0.99`. No perturbation estimate is asserted. -/ |
| 385 | theorem profile_log_slope_at_four (χ : ℝ) (hχ0 : 99 / 100 ≤ χ) (hχ1 : χ ≤ 1) : |
| 386 | 236 / 100 < -8 * deriv (profile χ) 4 / profile χ 4 := by |
| 387 | have h := bessel_one_log_slope_gt ((χ / 2) * 4) (by linarith) (by linarith) |
| 388 | rw [deriv_bessel] at h |
| 389 | rw [deriv_profile] |
| 390 | unfold profile |
| 391 | convert! h using 1 |
| 392 | ring |
| 393 | |
| 394 | end NavierStokes.AxisSeries |
| 395 | |
| 396 | end |