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.AxisSeries |
| 2 | |
| 3 | /-! |
| 4 | # The numerical bounds for the axis comparison profile |
| 5 | |
| 6 | The profile in `axis:model-series` is an actual convergent series. The |
| 7 | following bounds retain the rational lower bound in `axis:model-positive`, |
| 8 | including its stated decimal consequence, on the whole interval `[0, 4.1]`. |
| 9 | -/ |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | namespace NavierStokes.AxisModelBounds |
| 14 | |
| 15 | /-- The comparison function `f₀` in the axis construction. -/ |
| 16 | def model (z : ℝ) : ℝ := AxisSeries.profile 1 z |
| 17 | |
| 18 | theorem model_eq_series (z : ℝ) : |
| 19 | model z = ∑' n : ℕ, |
| 20 | (-z / 2) ^ n / ((n.factorial : ℝ) * ((n + 1).factorial : ℝ)) := by |
| 21 | simpa only [model, neg_mul, one_mul] using AxisSeries.profile_eq_tsum 1 z |
| 22 | |
| 23 | /-- The cubic truncation is bounded below by its exact endpoint value. -/ |
| 24 | theorem cubicLower_ge_endpoint (t : ℝ) (ht : t ≤ 41 / 20) : |
| 25 | (305719 / 1152000 : ℝ) ≤ AxisProfile.cubicLower t := by |
| 26 | have hd : 0 ≤ 41 / 20 - t := sub_nonneg.mpr ht |
| 27 | have h2 : 0 ≤ (41 / 20 - t) ^ 2 := sq_nonneg _ |
| 28 | have h3 : 0 ≤ (41 / 20 - t) ^ 3 := pow_nonneg hd _ |
| 29 | have hidentity : AxisProfile.cubicLower t = |
| 30 | AxisProfile.cubicLower (41 / 20) + |
| 31 | (1 / 2 - (41 / 20) / 6 + (41 / 20) ^ 2 / 48) * (41 / 20 - t) + |
| 32 | (1 / 12 - (41 / 20) / 48) * (41 / 20 - t) ^ 2 + |
| 33 | (41 / 20 - t) ^ 3 / 144 := by |
| 34 | unfold AxisProfile.cubicLower |
| 35 | ring |
| 36 | norm_num [AxisProfile.cubicLower] at hidentity |
| 37 | unfold AxisProfile.cubicLower |
| 38 | nlinarith |
| 39 | |
| 40 | theorem bessel_one_lower (t : ℝ) (ht0 : 0 ≤ t) (ht : t ≤ 41 / 20) : |
| 41 | (305719 / 1152000 : ℝ) ≤ AxisSeries.bessel 1 t := |
| 42 | (cubicLower_ge_endpoint t ht).trans (AxisSeries.cubic_lower_le_bessel t ht0 ht) |
| 43 | |
| 44 | /-- The full bounds hold uniformly for every `0 ≤ χ ≤ 1`. -/ |
| 45 | theorem profile_bounds (χ Y : ℝ) (hχ0 : 0 ≤ χ) (hχ1 : χ ≤ 1) |
| 46 | (hY0 : 0 ≤ Y) (hY1 : Y ≤ 41 / 10) : |
| 47 | (305719 / 1152000 : ℝ) ≤ AxisSeries.profile χ Y ∧ |
| 48 | AxisSeries.profile χ Y ≤ 1 := by |
| 49 | have ht0 : 0 ≤ (χ / 2) * Y := mul_nonneg (div_nonneg hχ0 (by norm_num)) hY0 |
| 50 | have ht : (χ / 2) * Y ≤ 41 / 20 := by nlinarith |
| 51 | exact ⟨bessel_one_lower _ ht0 ht, |
| 52 | AxisSeries.bessel_one_le_one _ ht0 (by linarith)⟩ |
| 53 | |
| 54 | /-- The exact rational and decimal bounds printed for `f₀`. -/ |
| 55 | theorem model_bounds (z : ℝ) (hz0 : 0 ≤ z) (hz1 : z ≤ 41 / 10) : |
| 56 | (53 / 200 : ℝ) < (305719 / 1152000 : ℝ) ∧ |
| 57 | (305719 / 1152000 : ℝ) ≤ model z ∧ model z ≤ 1 := by |
| 58 | exact ⟨by norm_num, profile_bounds 1 z (by norm_num) (by norm_num) hz0 hz1⟩ |
| 59 | |
| 60 | end NavierStokes.AxisModelBounds |