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.Real.Sqrt |
| 2 | import Mathlib.Tactic.FieldSimp |
| 3 | import Mathlib.Tactic.Linarith |
| 4 | import Mathlib.Tactic.Ring |
| 5 | |
| 6 | /-! |
| 7 | # Reference pulse growth |
| 8 | |
| 9 | This file verifies the scalar reference growth calculation in Lemma 8.5 and |
| 10 | Proposition A.4 of the supplied manuscript. The denominator `(1 + u^2)^(3/2)` |
| 11 | is written as `(1 + u^2) * sqrt (1 + u^2)` to avoid fractional-power notation. |
| 12 | These results do not assert bounds on the actual variable-coefficient ODE or |
| 13 | on its parameter derivatives. |
| 14 | -/ |
| 15 | |
| 16 | namespace NavierStokes.PulseGrowth |
| 17 | |
| 18 | /-- Scalar growth of the positive reference mode after the chosen viscous damping. -/ |
| 19 | noncomputable def netGrowth (lam u s : ℝ) : ℝ := |
| 20 | lam / Real.sqrt (1 + s ^ 2) - |
| 21 | lam * (1 + s ^ 2) / ((1 + u ^ 2) * Real.sqrt (1 + u ^ 2)) |
| 22 | |
| 23 | theorem one_add_sq_pos (s : ℝ) : 0 < 1 + s ^ 2 := by |
| 24 | positivity |
| 25 | |
| 26 | theorem radius_pos (s : ℝ) : 0 < Real.sqrt (1 + s ^ 2) := |
| 27 | Real.sqrt_pos.2 (one_add_sq_pos s) |
| 28 | |
| 29 | theorem dampingDenominator_pos (u : ℝ) : |
| 30 | 0 < (1 + u ^ 2) * Real.sqrt (1 + u ^ 2) := |
| 31 | mul_pos (one_add_sq_pos u) (radius_pos u) |
| 32 | |
| 33 | /-- The prescribed damping exactly cancels growth at the threshold. -/ |
| 34 | theorem netGrowth_at_threshold (lam u : ℝ) : netGrowth lam u u = 0 := by |
| 35 | unfold netGrowth |
| 36 | field_simp [ne_of_gt (one_add_sq_pos u), ne_of_gt (radius_pos u)]; ring |
| 37 | |
| 38 | /-- Magnitude of either signed schedule, in the slot-time variable. -/ |
| 39 | noncomputable def slotMagnitude (u ell v : ℝ) : ℝ := u / 2 + u * v / ell |
| 40 | |
| 41 | theorem slotMagnitude_midpoint (u ell : ℝ) (hell : ell ≠ 0) : |
| 42 | slotMagnitude u ell (ell / 2) = u := by |
| 43 | unfold slotMagnitude |
| 44 | field_simp; ring |
| 45 | |
| 46 | theorem slotMagnitude_nonneg {u ell v : ℝ} (hu : 0 ≤ u) (hell : 0 < ell) |
| 47 | (hv : 0 ≤ v) : 0 ≤ slotMagnitude u ell v := by |
| 48 | unfold slotMagnitude |
| 49 | positivity |
| 50 | |
| 51 | /-- Zero reference growth at the slot midpoint. -/ |
| 52 | theorem netGrowth_slot_midpoint (lam u ell : ℝ) (hell : ell ≠ 0) : |
| 53 | netGrowth lam u (slotMagnitude u ell (ell / 2)) = 0 := by |
| 54 | rw [slotMagnitude_midpoint u ell hell, netGrowth_at_threshold] |
| 55 | |
| 56 | end NavierStokes.PulseGrowth |