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.OrdinaryRegularizedCauchy |
| 2 | import Euler.OrdinaryEulerLimit |
| 3 | import Euler.OrdinaryEulerConcatenation |
| 4 | |
| 5 | /-! Genuine continuation of every closed smooth Euler evolution, and |
| 6 | the resulting gradient blowup criterion at a finite maximal horizon. -/ |
| 7 | |
| 8 | /-! ## From `Euler/OrdinaryEulerLocalExistence.lean` |
| 9 | |
| 10 | The text of `Euler/OrdinaryEulerLocalExistence.lean`, folded into this file, which was its only importer. -/ |
| 11 | |
| 12 | section |
| 13 | |
| 14 | /-! General smooth local Euler existence in ordinary R³. The datum |
| 15 | has all actual spatial L² derivatives; no Gevrey radius is assumed. |
| 16 | The solution is the strong Sobolev limit of genuine symmetric |
| 17 | regularized Euler evolutions on one common positive interval. -/ |
| 18 | |
| 19 | noncomputable section |
| 20 | |
| 21 | namespace EulerOrdinarySobolev |
| 22 | |
| 23 | open Set Filter MeasureTheory InnerProductSpace ContinuousLinearMap EulerSmoothLimit |
| 24 | EulerLpTranslation EulerLpTranslation.SmoothL2Field EulerMeanSolenoidal |
| 25 | EulerVolterraConvolution EulerContinuousTimeIntegral Finset |
| 26 | open scoped ContDiff Topology |
| 27 | |
| 28 | namespace RegularizedEvolution |
| 29 | |
| 30 | variable {T : ℝ} {hT : 0 ≤ T} {S : SmoothingOperator} (U : RegularizedEvolution S T hT) |
| 31 | |
| 32 | def derivativePath : C(Icc (0 : ℝ) T,L2) := fieldPath U.derivative U.derivative_continuous |
| 33 | |
| 34 | theorem integral_equation (t : Icc (0 : ℝ) T) : |
| 35 | (U.velocity t).toLp=(U.velocity ⟨0,le_rfl,hT⟩).toLp+ |
| 36 | integral T hT U.derivativePath t := by |
| 37 | have h := eq_initial_add_integral T hT U.derivativePath |
| 38 | (fun r => (U.velocity (projIcc 0 T hT r)).toLp) U.l2_time t |
| 39 | simpa only [projIcc_of_mem hT t.property, |
| 40 | projIcc_of_mem hT (show (0 : ℝ) ∈ Icc 0 T from ⟨le_rfl,hT⟩)] using h |
| 41 | |
| 42 | end RegularizedEvolution |
| 43 | |
| 44 | namespace SmoothLimitData |
| 45 | |
| 46 | variable {T : ℝ} {hT : 0 ≤ T} {U : ∀ n, RegularizedEvolution (regularizer n) T hT} |
| 47 | (L : SmoothLimitData (fun n => (U n).velocity) (fun n => (U n).velocity_continuous)) |
| 48 | |
| 49 | theorem regularized_solenoidal (t : Icc (0 : ℝ) T) : (L.field t).toLp ∈ solenoidalSpace := |
| 50 | gradientSpace.isClosed_orthogonal.mem_of_tendsto (L.toLp_convergence t) |
| 51 | (Eventually.of_forall (fun n => (U n).solenoidal t)) |
| 52 | |
| 53 | theorem regularized_derivative_convergence (M : ℝ) |
| 54 | (hM : ∀ n t, WordBound 4 M ((U n).velocity t)) : |
| 55 | Tendsto (fun n => (U n).derivativePath) atTop |
| 56 | (𝓝 (projectedRhsPath L.field L.field_continuous)) := by |
| 57 | have hp := L.projectedRhsPath_convergence hT (40*M) |
| 58 | (fun n t => tensorNorm_three_le _ M (wordBound_mono (hM n t) (by omega))) |
| 59 | have he (n : ℕ) : |
| 60 | ‖(U n).derivativePath-projectedRhsPath (U n).velocity (U n).velocity_continuous‖ ≤ |
| 61 | regularizerError n*regularizationCost M := by |
| 62 | apply (ContinuousMap.norm_le _ (mul_nonneg (regularizerError_nonneg n) |
| 63 | (regularizationCost_nonneg M))).mpr |
| 64 | intro t |
| 65 | exact regularized_rhs_error n _ ((U n).solenoidal t) M (hM n t) |
| 66 | have hz : Tendsto (fun n => (U n).derivativePath- |
| 67 | projectedRhsPath (U n).velocity (U n).velocity_continuous) atTop (𝓝 0) := by |
| 68 | apply tendsto_iff_norm_sub_tendsto_zero.mpr |
| 69 | simp only [sub_zero] |
| 70 | apply squeeze_zero (fun _ => norm_nonneg _) he |
| 71 | simpa only [zero_mul] using regularizerError_tendsto.mul_const (regularizationCost M) |
| 72 | have h := hz.add hp |
| 73 | simpa only [sub_add_cancel,zero_add] using h |
| 74 | |
| 75 | theorem regularized_integral_equation (M : ℝ) |
| 76 | (hM : ∀ n t, WordBound 4 M ((U n).velocity t)) (t : Icc (0 : ℝ) T) : |
| 77 | (L.field t).toLp=(L.field ⟨0,le_rfl,hT⟩).toLp+ |
| 78 | integral T hT (projectedRhsPath L.field L.field_continuous) t := by |
| 79 | have hi := (ContinuousMap.evalCLM ℝ t).continuous.tendsto |
| 80 | (integral T hT (projectedRhsPath L.field L.field_continuous)) |>.comp |
| 81 | (((integral (E := L2) T hT).continuous.tendsto _).comp |
| 82 | (L.regularized_derivative_convergence M hM)) |
| 83 | have hs := (L.toLp_convergence ⟨0,le_rfl,hT⟩).add hi |
| 84 | exact tendsto_nhds_unique (L.toLp_convergence t) |
| 85 | (hs.congr (fun n => ((U n).integral_equation t).symm)) |
| 86 | |
| 87 | theorem regularized_time (M : ℝ) (hM : ∀ n t, WordBound 4 M ((U n).velocity t)) |
| 88 | (t : Icc (0 : ℝ) T) : |
| 89 | HasDerivWithinAt (fun r => (L.field (projIcc 0 T hT r)).toLp) |
| 90 | (projectedRhs (L.field t)).toLp (Icc (0 : ℝ) T) t := by |
| 91 | have he : (fun r => (L.field (projIcc 0 T hT r)).toLp)= |
| 92 | fun r => (L.field ⟨0,le_rfl,hT⟩).toLp+ |
| 93 | extendPath T hT (integral T hT (projectedRhsPath L.field L.field_continuous)) r := by |
| 94 | funext r |
| 95 | exact L.regularized_integral_equation M hM (projIcc 0 T hT r) |
| 96 | rw [he] |
| 97 | exact (integral_hasDerivWithinAt T hT (projectedRhsPath L.field L.field_continuous) t).const_add _ |
| 98 | |
| 99 | def regularizedEvolution (M : ℝ) (hM : ∀ n t, WordBound 4 M ((U n).velocity t)) : |
| 100 | Evolution T hT where |
| 101 | velocity := L.field |
| 102 | pressureForce t := pressureField (L.field t) |
| 103 | velocity_continuous := L.field_continuous |
| 104 | pressure_continuous := pressureField_continuous L.field L.field_continuous |
| 105 | solenoidal := L.regularized_solenoidal |
| 106 | gradient t := pressureField_mem_gradient (L.field t) |
| 107 | time_law t ht x := by |
| 108 | have hd : ∀ r (hr : r ∈ Ioo 0 T), |
| 109 | HasDerivAt (fun s => (L.field (projIcc 0 T hT s)).toLp) |
| 110 | (projectedRhs (L.field ⟨r,hr.1.le,hr.2.le⟩)).toLp r := by |
| 111 | intro r hr |
| 112 | exact (L.regularized_time M hM ⟨r,hr.1.le,hr.2.le⟩).hasDerivAt (Icc_mem_nhds hr.1 hr.2) |
| 113 | have h := pointwise_derivative_of_l2 T hT L.field (fun s => projectedRhs (L.field s)) |
| 114 | L.field_continuous (projectedRhs_continuous L.field L.field_continuous) hd |
| 115 | ⟨t,ht.1.le,ht.2.le⟩ x |
| 116 | simpa only [projectedRhs_field] using h.hasDerivAt (Icc_mem_nhds ht.1 ht.2) |
| 117 | |
| 118 | end SmoothLimitData |
| 119 | |
| 120 | def regularizedSolution (A : SmoothL2Field Space) (hA : A.toLp ∈ solenoidalSpace) (n : ℕ) : |
| 121 | RegularizedEvolution (regularizer n) (regularizedTime A) (regularizedTime_pos A).le := |
| 122 | Classical.choose ((regularizer n).exists_smooth (regularizedTime A) (regularizedTime_pos A).le A hA) |
| 123 | |
| 124 | theorem regularizedSolution_initial (A : SmoothL2Field Space) (hA : A.toLp ∈ solenoidalSpace) (n : ℕ) : |
| 125 | (regularizedSolution A hA n).velocity ⟨0,le_rfl,(regularizedTime_pos A).le⟩=A := |
| 126 | Classical.choose_spec ((regularizer n).exists_smooth (regularizedTime A) (regularizedTime_pos A).le A hA) |
| 127 | |
| 128 | theorem regularizedSolution_bounds (A : SmoothL2Field Space) (hA : A.toLp ∈ solenoidalSpace) : |
| 129 | ∀ q, ∃ M : ℝ, ∀ n t, tensorNorm q ((regularizedSolution A hA n).velocity t) ≤ M := by |
| 130 | intro q |
| 131 | obtain ⟨M,hM⟩ := regularized_all_order A q |
| 132 | exact ⟨M,fun n t => hM _ _ (regularizedSolution_initial A hA n) t⟩ |
| 133 | |
| 134 | theorem regularizedSolution_cauchy (A : SmoothL2Field Space) (hA : A.toLp ∈ solenoidalSpace) : |
| 135 | CauchySeq (fun n => fieldPath (regularizedSolution A hA n).velocity |
| 136 | (regularizedSolution A hA n).velocity_continuous) := by |
| 137 | obtain ⟨M,hM⟩ := regularizedSolution_bounds A hA 4 |
| 138 | apply regularized_cauchy (regularizedSolution A hA) M |
| 139 | (fun n t k hk w => (wordBound_tensorNorm 4 _ k hk w).trans (hM n t)) |
| 140 | intro j k |
| 141 | simp only [regularizedSolution_initial] |
| 142 | |
| 143 | def localLimit (A : SmoothL2Field Space) (hA : A.toLp ∈ solenoidalSpace) : |
| 144 | SmoothLimitData (fun n => (regularizedSolution A hA n).velocity) |
| 145 | (fun n => (regularizedSolution A hA n).velocity_continuous) := |
| 146 | smoothLimitData (regularizedTime_pos A).le _ _ |
| 147 | (regularizedSolution_bounds A hA) (regularizedSolution_cauchy A hA) |
| 148 | |
| 149 | def localEvolution (A : SmoothL2Field Space) (hA : A.toLp ∈ solenoidalSpace) : |
| 150 | Evolution (regularizedTime A) (regularizedTime_pos A).le := |
| 151 | (localLimit A hA).regularizedEvolution (Classical.choose (regularizedSolution_bounds A hA 4)) |
| 152 | (fun n t k hk w => (wordBound_tensorNorm 4 _ k hk w).trans |
| 153 | (Classical.choose_spec (regularizedSolution_bounds A hA 4) n t)) |
| 154 | |
| 155 | theorem localEvolution_initial (A : SmoothL2Field Space) (hA : A.toLp ∈ solenoidalSpace) : |
| 156 | (localEvolution A hA).velocity ⟨0,le_rfl,(regularizedTime_pos A).le⟩=A := by |
| 157 | apply smoothField_eq_of_toLp_eq |
| 158 | have h := (localLimit A hA).toLp_convergence ⟨0,le_rfl,(regularizedTime_pos A).le⟩ |
| 159 | simp only [regularizedSolution_initial] at h |
| 160 | exact tendsto_nhds_unique h tendsto_const_nhds |
| 161 | |
| 162 | end EulerOrdinarySobolev |
| 163 | end |
| 164 | |
| 165 | end |
| 166 | |
| 167 | noncomputable section |
| 168 | |
| 169 | namespace EulerOrdinarySobolev |
| 170 | |
| 171 | open Set Filter MeasureTheory EulerSmoothLimit EulerLpTranslation |
| 172 | EulerLpTranslation.SmoothL2Field EulerMeanSolenoidal EulerVolterraConvolution |
| 173 | EulerContinuousTimeIntegral |
| 174 | open scoped Topology |
| 175 | |
| 176 | namespace Evolution |
| 177 | |
| 178 | variable {T : ℝ} {hT : 0 ≤ T} (U : Evolution T hT) |
| 179 | |
| 180 | theorem exists_extension (hTpos : 0 < T) : |
| 181 | ∃ (S : ℝ) (hS : 0 < S) (hTS : T < S), ∃ V : Evolution S hS.le, |
| 182 | V.velocity ⟨0,le_rfl,hS.le⟩=U.velocity ⟨0,le_rfl,hT⟩ ∧ |
| 183 | ∀ t : Icc (0 : ℝ) T, |
| 184 | V.velocity ⟨t,t.property.1,t.property.2.trans hTS.le⟩=U.velocity t := by |
| 185 | let A := U.velocity ⟨T,hT,le_rfl⟩ |
| 186 | let V := localEvolution A (U.solenoidal ⟨T,hT,le_rfl⟩) |
| 187 | have hmatch : U.velocity ⟨T,hT,le_rfl⟩=V.velocity ⟨0,le_rfl,(regularizedTime_pos A).le⟩ := |
| 188 | (localEvolution_initial A (U.solenoidal ⟨T,hT,le_rfl⟩)).symm |
| 189 | have hST : T < T+regularizedTime A := lt_add_of_pos_right T (regularizedTime_pos A) |
| 190 | refine ⟨T+regularizedTime A,add_pos hTpos (regularizedTime_pos A),hST, |
| 191 | U.concatenate V hTpos (regularizedTime_pos A) hmatch,?_,?_⟩ |
| 192 | · exact U.concatenate_initial V hTpos (regularizedTime_pos A) hmatch |
| 193 | · exact U.concatenate_left V hTpos (regularizedTime_pos A) hmatch |
| 194 | |
| 195 | end Evolution |
| 196 | |
| 197 | theorem HasEulerEvolution.extend {A : SmoothL2Field Space} {T : ℝ} |
| 198 | (h : HasEulerEvolution A T) : ∃ S, T < S ∧ HasEulerEvolution A S := by |
| 199 | obtain ⟨hT,U,hU⟩ := h |
| 200 | obtain ⟨S,hS,hST,V,hV,_hagree⟩ := U.exists_extension hT |
| 201 | exact ⟨S,hST,hS,V,hV.trans hU⟩ |
| 202 | |
| 203 | namespace FiniteLifespan |
| 204 | |
| 205 | variable {A : SmoothL2Field Space} (L : FiniteLifespan A) |
| 206 | |
| 207 | theorem no_endpoint : ¬ HasEulerEvolution A L.duration := by |
| 208 | intro h |
| 209 | obtain ⟨S,hS,hE⟩ := h.extend |
| 210 | exact L.maximal S hS hE |
| 211 | |
| 212 | theorem gradient_unbounded (K : ℝ) : |
| 213 | ∃ (S : ℝ) (hS : 0 < S) (hSL : S < L.duration) (t : Icc (0 : ℝ) S) (x : Space), |
| 214 | K < ‖fderiv ℝ ((L.evolution S hS hSL).velocity t).field x‖ := by |
| 215 | by_contra hn |
| 216 | push Not at hn |
| 217 | apply L.no_endpoint |
| 218 | apply L.endpoint_of_bounded_gradient ((max K 0)*L.duration) |
| 219 | intro S hS hSL t |
| 220 | apply ((L.evolution S hS hSL).gradientIntegral_le_const (max K 0) |
| 221 | (fun r x => (hn S hS hSL r x).trans (le_max_left K 0)) t).trans |
| 222 | exact mul_le_mul_of_nonneg_left (t.property.2.trans hSL.le) (le_max_right K 0) |
| 223 | |
| 224 | theorem evolution_agrees_at (S T : ℝ) (hS : 0 < S) (hT : 0 < T) |
| 225 | (hSL : S < L.duration) (hTL : T < L.duration) (t : ℝ) |
| 226 | (ht0 : 0 ≤ t) (htS : t ≤ S) (htT : t ≤ T) : |
| 227 | (L.evolution S hS hSL).velocity ⟨t,ht0,htS⟩= |
| 228 | (L.evolution T hT hTL).velocity ⟨t,ht0,htT⟩ := by |
| 229 | rcases le_total S T with hST | hTS |
| 230 | · exact (L.evolution_agrees S T hS hT hSL hTL hST ⟨t,ht0,htS⟩).1.symm |
| 231 | · exact (L.evolution_agrees T S hT hS hTL hSL hTS ⟨t,ht0,htT⟩).1 |
| 232 | |
| 233 | theorem gradient_unbounded_near_endpoint (τ K : ℝ) (hτ : τ < L.duration) : |
| 234 | ∃ (S : ℝ) (hS : 0 < S) (hSL : S < L.duration) (t : Icc (0 : ℝ) S) (x : Space), |
| 235 | τ < t ∧ K < ‖fderiv ℝ ((L.evolution S hS hSL).velocity t).field x‖ := by |
| 236 | by_contra hn |
| 237 | push Not at hn |
| 238 | let R := (max τ 0+L.duration)/2 |
| 239 | have hm : max τ 0 < L.duration := max_lt hτ L.duration_pos |
| 240 | have hR : 0 < R := by dsimp [R]; linarith [le_max_right τ 0,L.duration_pos] |
| 241 | have hRL : R < L.duration := by dsimp [R]; linarith |
| 242 | have hτR : τ < R := by dsimp [R]; linarith [le_max_left τ 0] |
| 243 | let C := ‖(L.evolution R hR hRL).gradientNormPath‖ |
| 244 | obtain ⟨S,hS,hSL,t,x,hx⟩ := L.gradient_unbounded (max C K) |
| 245 | apply (not_lt_of_ge (show ‖fderiv ℝ ((L.evolution S hS hSL).velocity t).field x‖ ≤ max C K from ?_)) hx |
| 246 | by_cases ht : (t : ℝ) ≤ R |
| 247 | · have he := L.evolution_agrees_at S R hS hR hSL hRL t t.property.1 t.property.2 ht |
| 248 | rw [he] |
| 249 | apply ((L.evolution R hR hRL).pointwise_gradient_le ⟨t,t.property.1,ht⟩ x).trans |
| 250 | apply le_trans _ (le_max_left C K) |
| 251 | exact le_trans (le_abs_self _) ((L.evolution R hR hRL).gradientNormPath.norm_coe_le_norm _) |
| 252 | · exact (hn S hS hSL t x (hτR.trans (lt_of_not_ge ht))).trans (le_max_right C K) |
| 253 | |
| 254 | end FiniteLifespan |
| 255 | end EulerOrdinarySobolev |