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.OrdinaryRegularizedFlow |
| 2 | import Euler.OrdinaryQuadraticControl |
| 3 | import Euler.OrdinaryEulerHigherEnergy |
| 4 | |
| 5 | /-! Uniform energy bounds for the actual regularized flows. Symmetry |
| 6 | and translation commutation transfer the exact energy production to |
| 7 | the smoothed velocity, where the checked Euler cancellations apply. -/ |
| 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 | namespace SmoothingOperator |
| 19 | |
| 20 | variable (S : SmoothingOperator) |
| 21 | |
| 22 | theorem rhs_pairing (A : SmoothL2Field Space) {n : ℕ} (w : Fin n → Fin 3) : |
| 23 | ⟪(wordField A w).toLp,(wordField (S.rhs A.toLp) w).toLp⟫_ℝ= |
| 24 | ⟪(wordField (S.field A.toLp) w).toLp, |
| 25 | (wordField (fieldNeg (advectionField (S.field A.toLp) (S.field A.toLp))) w).toLp⟫_ℝ := by |
| 26 | simp only [rhs,wordField_neg,toLp_fieldNeg,inner_neg_right,field_word,← S.symmetric] |
| 27 | |
| 28 | theorem rhs_energy (A : SmoothL2Field Space) (m : ℕ) (hm : 3 ≤ m) |
| 29 | (M : ℝ) (hM : WordBound 3 M A) : |
| 30 | integerEnergyProduction m A (S.rhs A.toLp) ≤ tameEnergyConstant m*M*wordEnergy m A := by |
| 31 | let B := S.field A.toLp |
| 32 | have he : fieldNeg (advectionField B B)=eulerRhs B (fieldSub B B) := by |
| 33 | apply field_ext |
| 34 | funext x |
| 35 | simp only [fieldNeg_field,advectionField_field,eulerRhs_field,fieldSub_field,sub_self,sub_zero] |
| 36 | have hp : (fieldSub B B).toLp ∈ gradientSpace := by |
| 37 | rw [toLp_fieldSub,sub_self] |
| 38 | exact gradientSpace.zero_mem |
| 39 | have hb : B.toLp ∈ solenoidalSpace := by |
| 40 | rw [field_toLp] |
| 41 | exact S.solenoidal _ |
| 42 | have hx : integerEnergyProduction m A (S.rhs A.toLp)= |
| 43 | integerEnergyProduction m B (eulerRhs B (fieldSub B B)) := by |
| 44 | simp only [integerEnergyProduction,S.rhs_pairing,← he,B] |
| 45 | rw [hx] |
| 46 | apply (integer_energy_tame B (fieldSub B B) m hm M |
| 47 | (S.field_wordBound A 3 M hM) (S.field_divergence A.toLp) hb hp).trans |
| 48 | exact mul_le_mul_of_nonneg_left (S.field_energy_le A m) |
| 49 | (mul_nonneg (tameEnergyConstant_nonneg m) (wordBound_nonneg hM)) |
| 50 | |
| 51 | end SmoothingOperator |
| 52 | |
| 53 | namespace RegularizedEvolution |
| 54 | |
| 55 | variable {S : SmoothingOperator} {T : ℝ} {hT : 0 ≤ T} (U : RegularizedEvolution S T hT) |
| 56 | |
| 57 | def energy (m : ℕ) : C(Icc (0 : ℝ) T,ℝ) := |
| 58 | ⟨fun t => wordEnergy m (U.velocity t),wordEnergy_continuous U.velocity U.velocity_continuous m⟩ |
| 59 | |
| 60 | def energyDerivative (m : ℕ) (t : Icc (0 : ℝ) T) : ℝ := |
| 61 | integerEnergyProduction m (U.velocity t) (U.derivative t) |
| 62 | |
| 63 | theorem energy_time (m : ℕ) (t : Icc (0 : ℝ) T) : |
| 64 | HasDerivWithinAt (extendPath T hT (U.energy m)) (U.energyDerivative m t) (Icc (0 : ℝ) T) t := by |
| 65 | apply wordEnergy_hasDerivWithinAt T hT U.velocity U.derivative |
| 66 | U.velocity_continuous U.derivative_continuous |
| 67 | intro r hr x |
| 68 | exact (U.pointwise_time ⟨r,hr.1.le,hr.2.le⟩ x).hasDerivAt (Icc_mem_nhds hr.1 hr.2) |
| 69 | |
| 70 | theorem energy_tame (m : ℕ) (hm : 3 ≤ m) (M : ℝ) (t : Icc (0 : ℝ) T) |
| 71 | (hM : WordBound 3 M (U.velocity t)) : |
| 72 | U.energyDerivative m t ≤ tameEnergyConstant m*M*U.energy m t := |
| 73 | S.rhs_energy (U.velocity t) m hm M hM |
| 74 | |
| 75 | theorem energy_quadratic (t : Icc (0 : ℝ) T) : |
| 76 | U.energyDerivative 3 t ≤ tameEnergyConstant 3*(1+U.energy 3 t)^2 := by |
| 77 | have h := U.energy_tame 3 (le_refl 3) _ t (wordBound_sqrt_energy 3 (U.velocity t)) |
| 78 | change U.energyDerivative 3 t ≤ tameEnergyConstant 3*Real.sqrt (U.energy 3 t)*U.energy 3 t at h |
| 79 | apply h.trans |
| 80 | have hx : 0 ≤ U.energy 3 t := wordEnergy_nonneg 3 _ |
| 81 | have hr : 0 ≤ Real.sqrt (U.energy 3 t) := Real.sqrt_nonneg _ |
| 82 | have hs := Real.sq_sqrt hx |
| 83 | have hsq : Real.sqrt (U.energy 3 t)*U.energy 3 t ≤ (1+U.energy 3 t)^2 := by |
| 84 | have hl : Real.sqrt (U.energy 3 t) ≤ 1+U.energy 3 t := by nlinarith |
| 85 | nlinarith [mul_le_mul_of_nonneg_right hl hx] |
| 86 | simpa only [mul_assoc] using mul_le_mul_of_nonneg_left hsq (tameEnergyConstant_nonneg 3) |
| 87 | |
| 88 | theorem short_energy (hsmall : tameEnergyConstant 3*T ≤ (1+U.energy 3 ⟨0,le_rfl,hT⟩)⁻¹/2) |
| 89 | (t : Icc (0 : ℝ) T) : U.energy 3 t ≤ 2*U.energy 3 ⟨0,le_rfl,hT⟩+1 := by |
| 90 | have hp (r : ℝ) (hr : r ∈ Icc 0 T) : projIcc 0 T hT r=⟨r,hr⟩ := projIcc_of_mem hT hr |
| 91 | have h := quadratic_energy_bound T (tameEnergyConstant 3) hT |
| 92 | (extendPath T hT (U.energy 3)) (fun r => U.energyDerivative 3 (projIcc 0 T hT r)) |
| 93 | ((U.energy 3).continuous.comp continuous_projIcc).continuousOn |
| 94 | (fun r _hr => wordEnergy_nonneg 3 (U.velocity (projIcc 0 T hT r))) |
| 95 | (fun r hr => by simpa only [hp r hr] using U.energy_time 3 ⟨r,hr⟩) |
| 96 | (fun r _hr => U.energy_quadratic (projIcc 0 T hT r)) (tameEnergyConstant_nonneg 3) |
| 97 | (by simpa only [extendPath,hp 0 ⟨le_rfl,hT⟩] using hsmall) t t.property |
| 98 | simpa only [extendPath,hp (t : ℝ) t.property,hp 0 ⟨le_rfl,hT⟩] using h |
| 99 | |
| 100 | theorem energy_uniform (m : ℕ) (hm : 3 ≤ m) (M : ℝ) |
| 101 | (hM : ∀ t, WordBound 3 M (U.velocity t)) (t : Icc (0 : ℝ) T) : |
| 102 | wordEnergy m (U.velocity t) ≤ wordEnergy m (U.velocity ⟨0,le_rfl,hT⟩)* |
| 103 | Real.exp (tameEnergyConstant m*M*T) := by |
| 104 | have hd (r : ℝ) (hr : r ∈ Ico 0 T) : |
| 105 | HasDerivWithinAt (extendPath T hT (U.energy m)) |
| 106 | (U.energyDerivative m (projIcc 0 T hT r)) (Icc 0 T) r := by |
| 107 | simpa only [projIcc_of_mem hT (show r ∈ Icc 0 T from ⟨hr.1,hr.2.le⟩)] using |
| 108 | U.energy_time m ⟨r,hr.1,hr.2.le⟩ |
| 109 | have he := linear_stability_within (extendPath T hT (U.energy m)) |
| 110 | (fun r => U.energyDerivative m (projIcc 0 T hT r)) (tameEnergyConstant m*M) T |
| 111 | ((U.energy m).continuous.comp continuous_projIcc).continuousOn hd |
| 112 | (fun r _hr => U.energy_tame m hm M (projIcc 0 T hT r) (hM _)) t t.property |
| 113 | have hi : wordEnergy m (U.velocity t) ≤ wordEnergy m (U.velocity ⟨0,le_rfl,hT⟩)* |
| 114 | Real.exp (tameEnergyConstant m*M*t) := by |
| 115 | simpa only [extendPath,projIcc_of_mem hT t.property, |
| 116 | projIcc_of_mem hT (show (0 : ℝ) ∈ Icc 0 T from ⟨le_rfl,hT⟩),energy,ContinuousMap.coe_mk] using he |
| 117 | apply hi.trans |
| 118 | apply mul_le_mul_of_nonneg_left _ (wordEnergy_nonneg m _) |
| 119 | apply Real.exp_le_exp.mpr |
| 120 | exact mul_le_mul_of_nonneg_left t.property.2 |
| 121 | (mul_nonneg (tameEnergyConstant_nonneg m) (wordBound_nonneg (hM t))) |
| 122 | |
| 123 | end RegularizedEvolution |
| 124 | |
| 125 | def regularizedTime (A : SmoothL2Field Space) : ℝ := |
| 126 | (2*(1+tameEnergyConstant 3)*(1+wordEnergy 3 A))⁻¹ |
| 127 | |
| 128 | theorem regularizedTime_pos (A : SmoothL2Field Space) : 0 < regularizedTime A := by |
| 129 | have := tameEnergyConstant_nonneg 3 |
| 130 | have := wordEnergy_nonneg 3 A |
| 131 | unfold regularizedTime |
| 132 | positivity |
| 133 | |
| 134 | def regularizedH3 (A : SmoothL2Field Space) : ℝ := Real.sqrt (2*wordEnergy 3 A+1) |
| 135 | |
| 136 | theorem regularized_h3 (A : SmoothL2Field Space) {S : SmoothingOperator} |
| 137 | (U : RegularizedEvolution S (regularizedTime A) (regularizedTime_pos A).le) |
| 138 | (hinit : U.velocity ⟨0,le_rfl,(regularizedTime_pos A).le⟩=A) |
| 139 | (t : Icc (0 : ℝ) (regularizedTime A)) : WordBound 3 (regularizedH3 A) (U.velocity t) := by |
| 140 | have he : U.energy 3 ⟨0,le_rfl,(regularizedTime_pos A).le⟩=wordEnergy 3 A := congrArg (wordEnergy 3) hinit |
| 141 | have hc : 0 < 1+tameEnergyConstant 3 := by linarith [tameEnergyConstant_nonneg 3] |
| 142 | have ha : 0 < 1+wordEnergy 3 A := by linarith [wordEnergy_nonneg 3 A] |
| 143 | have hs : tameEnergyConstant 3*regularizedTime A ≤ (1+wordEnergy 3 A)⁻¹/2 := by |
| 144 | calc |
| 145 | _ ≤ (1+tameEnergyConstant 3)*regularizedTime A := by |
| 146 | nlinarith [regularizedTime_pos A] |
| 147 | _ = _ := by unfold regularizedTime; field_simp [hc.ne',ha.ne'] |
| 148 | have hu := U.short_energy (by simpa only [he] using hs) t |
| 149 | rw [he] at hu |
| 150 | intro n hn w |
| 151 | exact (wordBound_sqrt_energy 3 (U.velocity t) n hn w).trans (Real.sqrt_le_sqrt hu) |
| 152 | |
| 153 | theorem regularized_all_order (A : SmoothL2Field Space) (q : ℕ) : |
| 154 | ∃ C : ℝ, ∀ (S : SmoothingOperator) |
| 155 | (U : RegularizedEvolution S (regularizedTime A) (regularizedTime_pos A).le), |
| 156 | U.velocity ⟨0,le_rfl,(regularizedTime_pos A).le⟩=A → |
| 157 | ∀ t, tensorNorm q (U.velocity t) ≤ C := by |
| 158 | let m := max 3 q |
| 159 | refine ⟨wordCount q*Real.sqrt (wordEnergy m A* |
| 160 | Real.exp (tameEnergyConstant m*regularizedH3 A*regularizedTime A)),?_⟩ |
| 161 | intro S U hinit t |
| 162 | have hu := U.energy_uniform m (le_max_left 3 q) (regularizedH3 A) |
| 163 | (regularized_h3 A U hinit) t |
| 164 | rw [hinit] at hu |
| 165 | apply tensorNorm_le_wordCount |
| 166 | intro n hn w |
| 167 | exact (wordBound_sqrt_energy m (U.velocity t) n (hn.trans (le_max_right 3 q)) w).trans |
| 168 | (Real.sqrt_le_sqrt hu) |
| 169 | |
| 170 | end EulerOrdinarySobolev |