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.OrdinaryEulerStability |
| 2 | import Mathlib.Analysis.ODE.Gronwall |
| 3 | |
| 4 | /-! Actual L² stability of two ordinary Euler solutions. The pressure |
| 5 | and the entire transport term cancel before estimating the remaining |
| 6 | reference-gradient term. All time derivatives are genuine one-sided |
| 7 | derivatives at the endpoints. -/ |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | namespace EulerOrdinarySobolev |
| 12 | |
| 13 | open Set Filter MeasureTheory InnerProductSpace ContinuousLinearMap EulerSmoothLimit |
| 14 | EulerLpTranslation EulerLpTranslation.SmoothL2Field EulerMeanSolenoidal |
| 15 | EulerMeanClassical EulerVolterraConvolution Finset |
| 16 | open scoped ContDiff Topology |
| 17 | |
| 18 | theorem advection_norm_gradient (W U : SmoothL2Field Space) (K : ℝ) |
| 19 | (hK : ∀ x, ‖fderiv ℝ U.field x‖ ≤ K) : |
| 20 | ‖(advectionField W U).toLp‖ ≤ K*‖W.toLp‖ := by |
| 21 | apply Lp.norm_le_mul_norm_of_ae_le_mul |
| 22 | filter_upwards [(advectionField W U).toLp_ae,W.toLp_ae] with x ha hw |
| 23 | rw [ha,hw,advectionField_field] |
| 24 | exact ((fderiv ℝ U.field x).le_opNorm (W.field x)).trans |
| 25 | (mul_le_mul_of_nonneg_right (hK x) (norm_nonneg _)) |
| 26 | |
| 27 | theorem differenceRhs_l2_bound (U W P : SmoothL2Field Space) (K : ℝ) |
| 28 | (hK : ∀ x, ‖fderiv ℝ U.field x‖ ≤ K) |
| 29 | (hdiv : ∀ x, divergence (addField U W).field x=0) |
| 30 | (hW : W.toLp ∈ solenoidalSpace) (hP : P.toLp ∈ gradientSpace) : |
| 31 | 2*⟪W.toLp,(differenceRhs U W P).toLp⟫_ℝ ≤ 2*K*‖W.toLp‖^2 := by |
| 32 | have he := differenceRhs_pairing U W P hdiv hW hP (Fin.elim0 : Fin 0 → Fin 3) |
| 33 | simp only [wordField_zero,transportCommutator_zero,inner_zero_left,neg_zero, |
| 34 | zero_sub] at he |
| 35 | rw [he] |
| 36 | calc |
| 37 | _ ≤ 2*|⟪(advectionField W U).toLp,W.toLp⟫_ℝ| := by |
| 38 | exact mul_le_mul_of_nonneg_left (neg_le_abs _) (by norm_num) |
| 39 | _ ≤ 2*(‖(advectionField W U).toLp‖*‖W.toLp‖) := |
| 40 | mul_le_mul_of_nonneg_left (abs_real_inner_le_norm _ _) (by norm_num) |
| 41 | _ ≤ 2*((K*‖W.toLp‖)*‖W.toLp‖) := mul_le_mul_of_nonneg_left |
| 42 | (mul_le_mul_of_nonneg_right (advection_norm_gradient W U K hK) (norm_nonneg _)) |
| 43 | (by norm_num) |
| 44 | _ = _ := by ring |
| 45 | |
| 46 | theorem linear_stability_within (X X' : ℝ → ℝ) (C T : ℝ) |
| 47 | (hcont : ContinuousOn X (Icc 0 T)) |
| 48 | (hder : ∀ t ∈ Ico 0 T, HasDerivWithinAt X (X' t) (Icc 0 T) t) |
| 49 | (hineq : ∀ t ∈ Ico 0 T, X' t ≤ C*X t) : |
| 50 | ∀ t ∈ Icc 0 T, X t ≤ X 0*Real.exp (C*t) := by |
| 51 | have h := le_gronwallBound_of_liminf_deriv_right_le (K := C) (ε := 0) hcont |
| 52 | (fun t ht r hr => ((hder t ht).mono_of_mem_nhdsWithin |
| 53 | (Icc_mem_nhdsGE_of_mem ht)).liminf_right_slope_le hr) (le_refl (X 0)) |
| 54 | (fun t ht => by simpa only [add_zero] using hineq t ht) |
| 55 | simpa only [gronwallBound_ε0,sub_zero] using h |
| 56 | |
| 57 | namespace Evolution |
| 58 | |
| 59 | variable {T : ℝ} {hT : 0 ≤ T} |
| 60 | |
| 61 | def velocityPath (U : Evolution T hT) : C(Icc (0 : ℝ) T,L2) := |
| 62 | ordinaryWordPath U.velocity U.velocity_continuous (Fin.elim0 : Fin 0 → Fin 3) |
| 63 | |
| 64 | @[simp] theorem velocityPath_apply (U : Evolution T hT) (t : Icc (0 : ℝ) T) : |
| 65 | U.velocityPath t=(U.velocity t).toLp := by |
| 66 | simp only [velocityPath,ordinaryWordPath_apply,wordField_zero] |
| 67 | |
| 68 | def l2EnergyPath (U V : Evolution T hT) : C(Icc (0 : ℝ) T,ℝ) := |
| 69 | ⟨fun t => ‖(U.difference V t).toLp‖^2,by |
| 70 | have h := (ordinaryWordPath (U.difference V) (U.difference_continuous V) |
| 71 | (Fin.elim0 : Fin 0 → Fin 3)).continuous |
| 72 | simpa only [Function.comp_def,ordinaryWordPath_apply,wordField_zero] using |
| 73 | (continuous_pow 2).comp h.norm⟩ |
| 74 | |
| 75 | def l2EnergyDerivative (U V : Evolution T hT) (t : Icc (0 : ℝ) T) : ℝ := |
| 76 | 2*⟪(U.difference V t).toLp,(U.differenceDerivative V t).toLp⟫_ℝ |
| 77 | |
| 78 | theorem l2Energy_hasDerivWithinAt (U V : Evolution T hT) (t : Icc (0 : ℝ) T) : |
| 79 | HasDerivWithinAt (extendPath T hT (U.l2EnergyPath V)) (U.l2EnergyDerivative V t) |
| 80 | (Icc (0 : ℝ) T) t := by |
| 81 | have hd := (ordinaryWord_hasDerivWithinAt T hT (U.difference V) |
| 82 | (U.differenceDerivative V) (U.difference_continuous V) |
| 83 | (U.differenceDerivative_continuous V) (U.difference_time_law V) |
| 84 | (Fin.elim0 : Fin 0 → Fin 3) t).norm_sq |
| 85 | change HasDerivWithinAt (fun r => ‖(U.difference V (projIcc 0 T hT r)).toLp‖^2) |
| 86 | (2*⟪(U.difference V t).toLp,(U.differenceDerivative V t).toLp⟫_ℝ) |
| 87 | (Icc (0 : ℝ) T) t |
| 88 | simpa only [wordField_zero,projIcc_of_mem hT t.property] using hd |
| 89 | |
| 90 | theorem l2EnergyDerivative_bound (U V : Evolution T hT) (K : ℝ) |
| 91 | (hK : ∀ t x, ‖fderiv ℝ (U.velocity t).field x‖ ≤ K) (t : Icc (0 : ℝ) T) : |
| 92 | U.l2EnergyDerivative V t ≤ 2*K*U.l2EnergyPath V t := by |
| 93 | rw [l2EnergyDerivative,differenceDerivative_eq] |
| 94 | apply differenceRhs_l2_bound _ _ _ K (hK t) |
| 95 | · have he : (addField (U.velocity t) (U.difference V t)).field=(V.velocity t).field := by |
| 96 | funext x |
| 97 | simp only [addField_field,difference,fieldSub_field] |
| 98 | abel |
| 99 | rw [he] |
| 100 | exact solenoidal_representative_divergence _ (V.solenoidal t) _ (V.velocity t).smooth |
| 101 | (V.velocity t).toLp_ae |
| 102 | · rw [difference,toLp_fieldSub] |
| 103 | exact solenoidalSpace.sub_mem (V.solenoidal t) (U.solenoidal t) |
| 104 | · rw [pressureDifference,toLp_fieldSub] |
| 105 | exact gradientSpace.sub_mem (V.gradient t) (U.gradient t) |
| 106 | |
| 107 | theorem l2_energy_bound (U V : Evolution T hT) (K : ℝ) |
| 108 | (hK : ∀ t x, ‖fderiv ℝ (U.velocity t).field x‖ ≤ K) (t : Icc (0 : ℝ) T) : |
| 109 | ‖(U.difference V t).toLp‖^2 ≤ |
| 110 | ‖(U.difference V ⟨0,le_rfl,hT⟩).toLp‖^2*Real.exp (2*K*t) := by |
| 111 | have hd (r : ℝ) (hr : r ∈ Ico 0 T) : |
| 112 | HasDerivWithinAt (extendPath T hT (U.l2EnergyPath V)) |
| 113 | (U.l2EnergyDerivative V (projIcc 0 T hT r)) (Icc 0 T) r := by |
| 114 | have h := U.l2Energy_hasDerivWithinAt V ⟨r,hr.1,hr.2.le⟩ |
| 115 | simpa only [projIcc_of_mem hT (show r ∈ Icc 0 T from ⟨hr.1,hr.2.le⟩)] using h |
| 116 | have hb (r : ℝ) (hr : r ∈ Ico 0 T) : |
| 117 | U.l2EnergyDerivative V (projIcc 0 T hT r) ≤ |
| 118 | (2*K)*extendPath T hT (U.l2EnergyPath V) r := |
| 119 | U.l2EnergyDerivative_bound V K hK (projIcc 0 T hT r) |
| 120 | have h := linear_stability_within (extendPath T hT (U.l2EnergyPath V)) |
| 121 | (fun r => U.l2EnergyDerivative V (projIcc 0 T hT r)) (2*K) T |
| 122 | ((U.l2EnergyPath V).continuous.comp continuous_projIcc).continuousOn hd hb t t.property |
| 123 | simpa only [extendPath,projIcc_of_mem hT t.property, |
| 124 | projIcc_of_mem hT (show (0 : ℝ) ∈ Icc 0 T from ⟨le_rfl,hT⟩), |
| 125 | l2EnergyPath,ContinuousMap.coe_mk] using h |
| 126 | |
| 127 | theorem l2_stability (U V : Evolution T hT) (K : ℝ) |
| 128 | (hK : ∀ t x, ‖fderiv ℝ (U.velocity t).field x‖ ≤ K) (t : Icc (0 : ℝ) T) : |
| 129 | ‖(U.difference V t).toLp‖ ≤ |
| 130 | ‖(U.difference V ⟨0,le_rfl,hT⟩).toLp‖*Real.exp (K*t) := by |
| 131 | have h := U.l2_energy_bound V K hK t |
| 132 | rw [show 2*K*(t : ℝ)=K*t+K*t by ring,Real.exp_add] at h |
| 133 | have hp : 0 ≤ ‖(U.difference V ⟨0,le_rfl,hT⟩).toLp‖*Real.exp (K*t) := by positivity |
| 134 | nlinarith [norm_nonneg (U.difference V t).toLp] |
| 135 | |
| 136 | theorem velocityPath_norm_sub_le (U V : Evolution T hT) (K : ℝ) (hK0 : 0 ≤ K) |
| 137 | (hK : ∀ t x, ‖fderiv ℝ (U.velocity t).field x‖ ≤ K) : |
| 138 | ‖V.velocityPath-U.velocityPath‖ ≤ |
| 139 | ‖V.velocityPath ⟨0,le_rfl,hT⟩-U.velocityPath ⟨0,le_rfl,hT⟩‖*Real.exp (K*T) := by |
| 140 | apply (ContinuousMap.norm_le _ (by positivity)).2 |
| 141 | intro t |
| 142 | have h := U.l2_stability V K hK t |
| 143 | simp only [difference,toLp_fieldSub] at h |
| 144 | simpa only [ContinuousMap.sub_apply,velocityPath_apply] using h.trans |
| 145 | (mul_le_mul_of_nonneg_left (Real.exp_le_exp.mpr |
| 146 | (mul_le_mul_of_nonneg_left t.property.2 hK0)) (norm_nonneg _)) |
| 147 | |
| 148 | theorem l2_stability_of_h3 (U V : Evolution T hT) (M : ℝ) |
| 149 | (hM : ∀ t, tensorNorm 3 (U.velocity t) ≤ M) (t : Icc (0 : ℝ) T) : |
| 150 | ‖(U.difference V t).toLp‖ ≤ ‖(U.difference V ⟨0,le_rfl,hT⟩).toLp‖* |
| 151 | Real.exp ((9*EulerSmoothSobolev.smoothEmbeddingConstant*M)*t) := by |
| 152 | apply U.l2_stability V |
| 153 | intro s x |
| 154 | have hb := EulerSmoothSobolev.real_smooth_fderiv_le_H3 3 (U.velocity s).field |
| 155 | (U.velocity s).smooth (fun j _ => (U.velocity s).integrable j) x |
| 156 | rw [← tensorNorm_eq] at hb |
| 157 | exact hb.trans (mul_le_mul_of_nonneg_left (hM s) |
| 158 | (mul_nonneg (by norm_num) EulerSmoothSobolev.smoothEmbeddingConstant_nonneg)) |
| 159 | |
| 160 | end Evolution |
| 161 | end EulerOrdinarySobolev |