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 Euler.GevreyMetricEstimate |
| 2 | import Euler.EnergyMetricPaths |
| 3 | |
| 4 | /-! A genuine metric Gevrey bound supplies the uniform Banach norm used in actual continuation. -/ |
| 5 | |
| 6 | /-! ## From `Euler/GevreyContinuationNorm.lean` |
| 7 | |
| 8 | The text of `Euler/GevreyContinuationNorm.lean`, folded into this file, which was its only importer. -/ |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! Actual complete-Sobolev control from a positive-radius finite Gevrey bound, for parabolic continuation. -/ |
| 13 | |
| 14 | noncomputable section |
| 15 | |
| 16 | namespace EulerGevreyContinuationNorm |
| 17 | |
| 18 | open EulerLiftedGradientSpace EulerCylinderSobolevSpace EulerCylinderSobolev EulerSpatialSobolevInverse |
| 19 | EulerJetProductBounds EulerH6Pressure EulerSobolevGevreyOperators EulerPacketWeights EulerGevreyMetricEstimate |
| 20 | |
| 21 | /-- At every retained derivative order, the Gevrey weight is bounded below by one positive fixed-cutoff weight. -/ |
| 22 | theorem weight_lower (ρ δ : ℝ) (hδ : 0 < δ) (hδρ : δ ≤ ρ) (hδ1 : δ ≤ 1) |
| 23 | (n N : ℕ) (hn : n ≤ N) : weight δ N ≤ weight ρ n := by |
| 24 | have hρ : 0 ≤ ρ := hδ.le.trans hδρ |
| 25 | have hp : δ^N ≤ ρ^n := (pow_le_pow_of_le_one hδ.le hδ1 hn).trans (pow_le_pow_left₀ hδ.le hδρ n) |
| 26 | have hf : (n.factorial : ℝ) ≤ (N.factorial : ℝ) := by exact_mod_cast Nat.factorial_le hn |
| 27 | have hsq : (n.factorial : ℝ)^2 ≤ (N.factorial : ℝ)^2 := by |
| 28 | nlinarith [show (0 : ℝ) ≤ (n.factorial : ℝ) from Nat.cast_nonneg _] |
| 29 | exact div_le_div₀ (pow_nonneg hρ n) hp (by positivity) hsq |
| 30 | |
| 31 | variable (period : ℝ) [Fact (0 < period)] |
| 32 | |
| 33 | /-- Each actual derivative coordinate is bounded by its genuine homogeneous derivative-sum norm. -/ |
| 34 | theorem word_le_level {s : ℕ} (u : SobolevSpace period s) (w : SobolevWord s) : |
| 35 | ‖u.val w‖ ≤ levelNorm period (toJet period u) w.1.val := by |
| 36 | rw [levelNorm_eq_words] |
| 37 | have h := Finset.single_le_sum (s := (Finset.univ : Finset (Fin w.1.val → Fin 4))) |
| 38 | (fun v _ => norm_nonneg ((toJet period u).word v)) (Finset.mem_univ w.2) |
| 39 | rw [toJet_word period u (by have := w.1.isLt; omega) w.2] at h |
| 40 | exact h |
| 41 | |
| 42 | /-- Every derivative coordinate through the full energy order is contained in one retained external/base block. -/ |
| 43 | theorem level_le_block {s : ℕ} (u : SobolevSpace period s) (N m : ℕ) (hm : m ≤ N+6) : |
| 44 | levelNorm period (toJet period u) m ≤ blockNorm period (toJet period u) 6 (min m N) := by |
| 45 | let n := min m N |
| 46 | have hn : n ≤ m := Nat.min_le_left m N |
| 47 | have hr : m-n ≤ 6 := by dsimp [n]; omega |
| 48 | have he : n+(m-n) = m := Nat.add_sub_of_le hn |
| 49 | have h := Finset.single_le_sum (s := Finset.range 7) |
| 50 | (fun r _ => (levelNorm_nonneg (toJet period u) : 0 ≤ levelNorm period (toJet period u) (n+r))) |
| 51 | (show m-n ∈ Finset.range 7 by exact Finset.mem_range.mpr (by omega)) |
| 52 | rw [he] at h |
| 53 | exact h |
| 54 | |
| 55 | /-- A finite actual Gevrey bound controls the complete energy-order Sobolev norm on every positive-radius interval. -/ |
| 56 | theorem norm_le_weighted {s : ℕ} (N : ℕ) (hS : s ≤ N+6) (ρ δ : ℝ) |
| 57 | (hδ : 0 < δ) (hδρ : δ ≤ ρ) (hδ1 : δ ≤ 1) (u : SobolevSpace period s) : |
| 58 | ‖u‖ ≤ weightedNorm period 6 N ρ u / weight δ N := by |
| 59 | have hρ : 0 < ρ := hδ.trans_le hδρ |
| 60 | have hw : 0 < weight δ N := weight_pos hδ N |
| 61 | change ‖u.val‖ ≤ _ |
| 62 | apply (pi_norm_le_iff_of_nonneg (div_nonneg (weightedNorm_nonneg period 6 N ρ hρ u) hw.le)).mpr |
| 63 | intro w |
| 64 | have hm : w.1.val ≤ N+6 := (Nat.le_of_lt_succ w.1.isLt).trans hS |
| 65 | let n := min w.1.val N |
| 66 | have hn : n ≤ N := Nat.min_le_right w.1.val N |
| 67 | have hc := (word_le_level period u w).trans (level_le_block period u N w.1.val hm) |
| 68 | have hh := Finset.single_le_sum (s := Finset.range (N+1)) |
| 69 | (fun i _ => mul_nonneg (weight_pos hρ i).le (show 0 ≤ blockNorm period (toJet period u) 6 i from blockNorm_nonneg _)) |
| 70 | (show n ∈ Finset.range (N+1) by exact Finset.mem_range.mpr (by omega)) |
| 71 | have hle : weight δ N*‖u.val w‖ ≤ weightedNorm period 6 N ρ u := by |
| 72 | calc |
| 73 | _ ≤ weight ρ n*‖u.val w‖ := mul_le_mul_of_nonneg_right (weight_lower ρ δ hδ hδρ hδ1 n N hn) (norm_nonneg _) |
| 74 | _ ≤ weight ρ n*blockNorm period (toJet period u) 6 n := mul_le_mul_of_nonneg_left hc (weight_pos hρ n).le |
| 75 | _ ≤ _ := hh |
| 76 | exact (le_div_iff₀ hw).mpr (by simpa only [mul_comm] using hle) |
| 77 | |
| 78 | /-- A metric Gevrey bound gives the actual finite-Sobolev state bound needed by the uniform local restart theorem. -/ |
| 79 | theorem norm_le_metric {s : ℕ} (N : ℕ) (hN : N+6 ≤ s) (hS : s ≤ N+6) (ρ δ : ℝ) |
| 80 | (hδ : 0 < δ) (hδρ : δ ≤ ρ) (hδ1 : δ ≤ 1) |
| 81 | (K : LiftL2 period →L[ℝ] LiftL2 period) (u : SobolevSpace period s) (c : ℝ) (hc : 0 < c) |
| 82 | (hK : ∀ v, c^2*‖v‖^2 ≤ inner ℝ (K v) v) : |
| 83 | ‖u‖ ≤ metricAmplification c*energyNorm period N hN ρ K u / weight δ N := by |
| 84 | exact (norm_le_weighted period N hS ρ δ hδ hδρ hδ1 u).trans |
| 85 | (div_le_div_of_nonneg_right (weightedNorm_le_energy period N hN ρ (hδ.trans_le hδρ) K u c hc hK) (weight_pos hδ N).le) |
| 86 | |
| 87 | end EulerGevreyContinuationNorm |
| 88 | end |
| 89 | |
| 90 | end |
| 91 | |
| 92 | noncomputable section |
| 93 | |
| 94 | namespace EulerGevreyPathNorm |
| 95 | |
| 96 | open Set EulerLiftedGradientSpace EulerCylinderSobolevSpace EulerGevreyMetricEstimate |
| 97 | EulerGevreyContinuationNorm EulerEnergyMetricPaths EulerPacketWeights |
| 98 | open scoped Topology |
| 99 | |
| 100 | variable (period : ℝ) [Fact (0 < period)] |
| 101 | |
| 102 | /-- A uniform metric-energy bound controls the actual continuous Sobolev path norm. -/ |
| 103 | theorem norm_le_of_energy_bound {q : ℕ} (N : ℕ) (hN : N+6 ≤ q+1) (hS : q+1 ≤ N+6) |
| 104 | (T : ℝ) (R : C(Icc (0 : ℝ) T,ℝ)) |
| 105 | (K : C(Icc (0 : ℝ) T,LiftL2 period →L[ℝ] LiftL2 period)) |
| 106 | (e : C(Icc (0 : ℝ) T,SobolevSpace period (q+1))) |
| 107 | (c δ E : ℝ) (hc : 0 < c) (hδ : 0 < δ) (hδ1 : δ ≤ 1) (hE : 0 ≤ E) |
| 108 | (hR : ∀ t, δ ≤ R t) (hK : ∀ t v, c^2*‖v‖^2 ≤ inner ℝ (K t v) v) |
| 109 | (he : ∀ t, energyPath period N hN T R K e t ≤ E) : |
| 110 | ‖e‖ ≤ metricAmplification c*E/weight δ N := by |
| 111 | have ha : 0 ≤ metricAmplification c := (by norm_num : (0 : ℝ) ≤ 1).trans (metricAmplification_one_le hc) |
| 112 | have hw := weight_pos hδ N |
| 113 | apply (ContinuousMap.norm_le e (div_nonneg (mul_nonneg ha hE) hw.le)).mpr |
| 114 | intro t |
| 115 | have h := norm_le_metric period N hN hS (R t) δ hδ (hR t) hδ1 (K t) (e t) c hc (hK t) |
| 116 | have he' : energyNorm period N hN (R t) (K t) (e t) ≤ E := by |
| 117 | simpa only [energyPath_apply] using he t |
| 118 | exact h.trans (div_le_div_of_nonneg_right (mul_le_mul_of_nonneg_left he' ha) hw.le) |
| 119 | |
| 120 | end EulerGevreyPathNorm |