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.OrdinaryTameEnergy |
| 2 | import Euler.OrdinaryEulerL2Stability |
| 3 | |
| 4 | /-! Every integer Sobolev order propagates on the same interval on which |
| 5 | the actual H³ norm is bounded. There is no order-dependent shortening |
| 6 | of time and no postulated energy differential inequality. -/ |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | namespace EulerOrdinarySobolev |
| 11 | |
| 12 | open Set MeasureTheory InnerProductSpace ContinuousLinearMap EulerSmoothLimit |
| 13 | EulerLpTranslation EulerLpTranslation.SmoothL2Field EulerMeanSolenoidal |
| 14 | EulerMeanClassical EulerVolterraConvolution Finset |
| 15 | open scoped ContDiff Topology |
| 16 | |
| 17 | def wordCount (m : ℕ) : ℝ := ∑ n ∈ range (m+1), (3 : ℝ)^n |
| 18 | |
| 19 | theorem wordCount_nonneg (m : ℕ) : 0 ≤ wordCount m := sum_nonneg (fun _ _ => by positivity) |
| 20 | |
| 21 | theorem tensorNorm_le_wordCount (A : SmoothL2Field Space) (m : ℕ) (N : ℝ) |
| 22 | (hN : WordBound m N A) : tensorNorm m A ≤ wordCount m*N := by |
| 23 | calc |
| 24 | _ ≤ ∑ n ∈ range (m+1), (3 : ℝ)^n*N := sum_le_sum |
| 25 | (fun n hn => wordBound_jet_norm hN (by have := mem_range.mp hn; omega)) |
| 26 | _ = _ := by rw [← sum_mul]; rfl |
| 27 | |
| 28 | theorem tensorNorm_le_energy (A : SmoothL2Field Space) (m : ℕ) : |
| 29 | tensorNorm m A ≤ wordCount m*Real.sqrt (wordEnergy m A) := |
| 30 | tensorNorm_le_wordCount A m _ (wordBound_sqrt_energy m A) |
| 31 | |
| 32 | namespace Evolution |
| 33 | |
| 34 | variable {T : ℝ} {hT : 0 ≤ T} |
| 35 | |
| 36 | def integerEnergyPath (U : Evolution T hT) (m : ℕ) : C(Icc (0 : ℝ) T,ℝ) := |
| 37 | ⟨fun t => wordEnergy m (U.velocity t),wordEnergy_continuous U.velocity U.velocity_continuous m⟩ |
| 38 | |
| 39 | def integerEnergyDerivative (U : Evolution T hT) (m : ℕ) (t : Icc (0 : ℝ) T) : ℝ := |
| 40 | integerEnergyProduction m (U.velocity t) (U.derivative t) |
| 41 | |
| 42 | theorem derivative_eq_eulerRhs (U : Evolution T hT) (t : Icc (0 : ℝ) T) : |
| 43 | U.derivative t=eulerRhs (U.velocity t) (U.pressureForce t) := by |
| 44 | apply field_ext |
| 45 | funext x |
| 46 | rw [derivative_field,eulerRhs_field] |
| 47 | |
| 48 | theorem integerEnergy_hasDerivWithinAt (U : Evolution T hT) (m : ℕ) (t : Icc (0 : ℝ) T) : |
| 49 | HasDerivWithinAt (extendPath T hT (U.integerEnergyPath m)) (U.integerEnergyDerivative m t) |
| 50 | (Icc (0 : ℝ) T) t := by |
| 51 | apply wordEnergy_hasDerivWithinAt T hT U.velocity U.derivative |
| 52 | U.velocity_continuous U.derivative_continuous |
| 53 | intro r hr x |
| 54 | simpa only [derivative_field] using U.time_law r hr x |
| 55 | |
| 56 | theorem integerEnergyDerivative_bound (U : Evolution T hT) (m : ℕ) (hm : 3 ≤ m) |
| 57 | (M : ℝ) (hM : ∀ t, WordBound 3 M (U.velocity t)) (t : Icc (0 : ℝ) T) : |
| 58 | U.integerEnergyDerivative m t ≤ tameEnergyConstant m*M*U.integerEnergyPath m t := by |
| 59 | rw [integerEnergyDerivative,derivative_eq_eulerRhs] |
| 60 | apply integer_energy_tame _ _ m hm M (hM t) _ (U.solenoidal t) (U.gradient t) |
| 61 | exact solenoidal_representative_divergence _ (U.solenoidal t) _ (U.velocity t).smooth |
| 62 | (U.velocity t).toLp_ae |
| 63 | |
| 64 | theorem integer_energy_bound (U : Evolution T hT) (m : ℕ) (hm : 3 ≤ m) |
| 65 | (M : ℝ) (hM : ∀ t, WordBound 3 M (U.velocity t)) (t : Icc (0 : ℝ) T) : |
| 66 | wordEnergy m (U.velocity t) ≤ wordEnergy m (U.velocity ⟨0,le_rfl,hT⟩)* |
| 67 | Real.exp (tameEnergyConstant m*M*t) := by |
| 68 | have hd (r : ℝ) (hr : r ∈ Ico 0 T) : |
| 69 | HasDerivWithinAt (extendPath T hT (U.integerEnergyPath m)) |
| 70 | (U.integerEnergyDerivative m (projIcc 0 T hT r)) (Icc 0 T) r := by |
| 71 | have h := U.integerEnergy_hasDerivWithinAt m ⟨r,hr.1,hr.2.le⟩ |
| 72 | simpa only [projIcc_of_mem hT (show r ∈ Icc 0 T from ⟨hr.1,hr.2.le⟩)] using h |
| 73 | have hb (r : ℝ) (hr : r ∈ Ico 0 T) : |
| 74 | U.integerEnergyDerivative m (projIcc 0 T hT r) ≤ |
| 75 | (tameEnergyConstant m*M)*extendPath T hT (U.integerEnergyPath m) r := |
| 76 | U.integerEnergyDerivative_bound m hm M hM (projIcc 0 T hT r) |
| 77 | have h := linear_stability_within (extendPath T hT (U.integerEnergyPath m)) |
| 78 | (fun r => U.integerEnergyDerivative m (projIcc 0 T hT r)) (tameEnergyConstant m*M) T |
| 79 | ((U.integerEnergyPath m).continuous.comp continuous_projIcc).continuousOn hd hb t t.property |
| 80 | simpa only [extendPath,projIcc_of_mem hT t.property, |
| 81 | projIcc_of_mem hT (show (0 : ℝ) ∈ Icc 0 T from ⟨le_rfl,hT⟩), |
| 82 | integerEnergyPath,ContinuousMap.coe_mk] using h |
| 83 | |
| 84 | theorem integer_energy_uniform (U : Evolution T hT) (m : ℕ) (hm : 3 ≤ m) |
| 85 | (M : ℝ) (hM : ∀ t, WordBound 3 M (U.velocity t)) (t : Icc (0 : ℝ) T) : |
| 86 | wordEnergy m (U.velocity t) ≤ wordEnergy m (U.velocity ⟨0,le_rfl,hT⟩)* |
| 87 | Real.exp (tameEnergyConstant m*M*T) := by |
| 88 | apply (U.integer_energy_bound m hm M hM t).trans |
| 89 | apply mul_le_mul_of_nonneg_left _ (wordEnergy_nonneg m _) |
| 90 | apply Real.exp_le_exp.mpr |
| 91 | exact mul_le_mul_of_nonneg_left t.property.2 |
| 92 | (mul_nonneg (tameEnergyConstant_nonneg m) (wordBound_nonneg (hM t))) |
| 93 | |
| 94 | theorem tensorNorm_uniform (U : Evolution T hT) (m : ℕ) (hm : 3 ≤ m) |
| 95 | (M : ℝ) (hM : ∀ t, WordBound 3 M (U.velocity t)) (t : Icc (0 : ℝ) T) : |
| 96 | tensorNorm m (U.velocity t) ≤ wordCount m* |
| 97 | Real.sqrt (wordEnergy m (U.velocity ⟨0,le_rfl,hT⟩)*Real.exp (tameEnergyConstant m*M*T)) := |
| 98 | (tensorNorm_le_energy _ m).trans (mul_le_mul_of_nonneg_left |
| 99 | (Real.sqrt_le_sqrt (U.integer_energy_uniform m hm M hM t)) (wordCount_nonneg m)) |
| 100 | |
| 101 | theorem higher_energy_of_h3 (U : Evolution T hT) (m : ℕ) (hm : 3 ≤ m) |
| 102 | (M : ℝ) (hM : ∀ t, tensorNorm 3 (U.velocity t) ≤ M) (t : Icc (0 : ℝ) T) : |
| 103 | wordEnergy m (U.velocity t) ≤ wordEnergy m (U.velocity ⟨0,le_rfl,hT⟩)* |
| 104 | Real.exp (tameEnergyConstant m*M*T) := by |
| 105 | apply U.integer_energy_uniform m hm M _ t |
| 106 | intro s n hn w |
| 107 | exact (wordBound_tensorNorm 3 (U.velocity s) n hn w).trans (hM s) |
| 108 | |
| 109 | end Evolution |
| 110 | end EulerOrdinarySobolev |