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.BaseTransportCommutator |
| 2 | import Euler.H6TransportSource |
| 3 | |
| 4 | /-! The actual external transport commutator and its cutoff-independent Gevrey radius-loss estimate. -/ |
| 5 | |
| 6 | /-! ## From `Euler/ExternalScalarCommutator.lean` |
| 7 | |
| 8 | The text of `Euler/ExternalScalarCommutator.lean`, folded into this file, which was its only importer. -/ |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! Actual fixed-H⁶ external scalar multiplication commutators with positive-order binomial bounds. -/ |
| 13 | |
| 14 | noncomputable section |
| 15 | |
| 16 | namespace EulerExternalScalarCommutator |
| 17 | |
| 18 | open MeasureTheory EulerSobolev EulerLiftedGradientSpace EulerMetricTransport EulerTransportDerivatives |
| 19 | EulerCylinderSobolev EulerRealCylinder EulerVectorCylinder EulerH6Nonlinear EulerBaseTransportCommutator |
| 20 | EulerJetProductBounds EulerSpatialSobolevInverse |
| 21 | open scoped ContDiff ENNReal Topology |
| 22 | |
| 23 | variable (period : ℝ) [Fact (0 < period)] |
| 24 | |
| 25 | section Subtraction |
| 26 | variable {F : Type*} [NormedAddCommGroup F] [NormedSpace ℝ F] |
| 27 | |
| 28 | omit [Fact (0 < period)] in |
| 29 | theorem fieldDerivative_sub (a : LiftTangent) (f g : LiftDomain period → F) |
| 30 | (hf : ∀ x, ContDiff ℝ ∞ (localFieldLift period f x)) |
| 31 | (hg : ∀ x, ContDiff ℝ ∞ (localFieldLift period g x)) : |
| 32 | fieldDerivative period a (f-g) = fieldDerivative period a f-fieldDerivative period a g := by |
| 33 | funext x |
| 34 | have h := (((hf x).differentiable (by simp)) 0).hasFDerivAt.sub (((hg x).differentiable (by simp)) 0).hasFDerivAt |
| 35 | exact congrArg (fun A : LiftTangent →L[ℝ] F => A a) h.fderiv |
| 36 | |
| 37 | omit [Fact (0 < period)] in |
| 38 | theorem word_sub {n : ℕ} (w : Fin n → Fin 4) (f g : LiftDomain period → F) |
| 39 | (hf : ∀ x, ContDiff ℝ ∞ (localFieldLift period f x)) |
| 40 | (hg : ∀ x, ContDiff ℝ ∞ (localFieldLift period g x)) : |
| 41 | iteratedFieldDerivative period w (f-g) = iteratedFieldDerivative period w f-iteratedFieldDerivative period w g := by |
| 42 | induction n with |
| 43 | | zero => rfl |
| 44 | | succ n ih => |
| 45 | rw [iteratedFieldDerivative_succ, ih (Fin.tail w), fieldDerivative_sub period _ _ _ |
| 46 | (iteratedFieldDerivative_smooth period _ f hf) (iteratedFieldDerivative_smooth period _ g hg)] |
| 47 | rfl |
| 48 | |
| 49 | end Subtraction |
| 50 | |
| 51 | omit [Fact (0 < period)] in |
| 52 | theorem scalarCommutator_smooth {n : ℕ} (w : Fin n → Fin 4) |
| 53 | (f : LiftDomain period → ℝ) (g : LiftDomain period → Vector3) |
| 54 | (hf : ∀ x, ContDiff ℝ ∞ (localFieldLift period f x)) |
| 55 | (hg : ∀ x, ContDiff ℝ ∞ (localFieldLift period g x)) : |
| 56 | ∀ x, ContDiff ℝ ∞ (localFieldLift period (scalarCommutator period w f g) x) := |
| 57 | fun x => (iteratedFieldDerivative_smooth period w (fun x => f x • g x) (fun y => (hf y).smul (hg y)) x).sub |
| 58 | ((hf x).smul (iteratedFieldDerivative_smooth period w g hg x)) |
| 59 | |
| 60 | theorem scalarCommutator_all_memLp {n : ℕ} (w : Fin n → Fin 4) |
| 61 | (f : LiftDomain period → ℝ) (g : LiftDomain period → Vector3) |
| 62 | (hf : ∀ x, ContDiff ℝ ∞ (localFieldLift period f x)) |
| 63 | (hg : ∀ x, ContDiff ℝ ∞ (localFieldLift period g x)) |
| 64 | (hfL : ∀ j, ∀ u : Fin j → Fin 4, MemLp (iteratedFieldDerivative period u f) 2 (liftMeasure period)) |
| 65 | (hgL : ∀ j, ∀ u : Fin j → Fin 4, MemLp (iteratedFieldDerivative period u g) 2 (liftMeasure period)) : |
| 66 | ∀ j, ∀ u : Fin j → Fin 4, MemLp (iteratedFieldDerivative period u (scalarCommutator period w f g)) 2 (liftMeasure period) := by |
| 67 | intro j u |
| 68 | rw [scalarCommutator, word_sub period u (iteratedFieldDerivative period w (fun x => f x • g x)) |
| 69 | (fun x => f x • iteratedFieldDerivative period w g x) |
| 70 | (iteratedFieldDerivative_smooth period w (fun x => f x • g x) (fun x => (hf x).smul (hg x))) |
| 71 | (fun x => (hf x).smul (iteratedFieldDerivative_smooth period w g hg x))] |
| 72 | exact (word_all_memLp period w _ (product_all_memLp period 3 f g hf hg hfL hgL) j u).sub |
| 73 | (product_all_memLp period 3 f _ hf (iteratedFieldDerivative_smooth period w g hg) hfL |
| 74 | (word_all_memLp period w g hgL) j u) |
| 75 | |
| 76 | /-- Sum of actual H⁶ norms of external commutators at one order. -/ |
| 77 | def commutatorH6Norm (n : ℕ) (f : LiftDomain period → ℝ) (g : LiftDomain period → Vector3) : ℝ := |
| 78 | ∑ w : Fin n → Fin 4, liftSobolevNorm period 6 (scalarCommutator period w f g) |
| 79 | |
| 80 | @[simp] theorem commutatorH6Norm_zero (f : LiftDomain period → ℝ) (g : LiftDomain period → Vector3) : |
| 81 | commutatorH6Norm period 0 f g = 0 := by |
| 82 | simp [commutatorH6Norm, scalarCommutator, iteratedFieldDerivative_zero, liftSobolevNorm, EulerH6Nonlinear.word_zero] |
| 83 | |
| 84 | /-- The exact differential recurrence gives a recurrence of the actual fixed-base Sobolev norms. -/ |
| 85 | theorem commutatorH6Norm_succ_le (n : ℕ) (f : LiftDomain period → ℝ) (g : LiftDomain period → Vector3) |
| 86 | (hf : ∀ x, ContDiff ℝ ∞ (localFieldLift period f x)) |
| 87 | (hg : ∀ x, ContDiff ℝ ∞ (localFieldLift period g x)) |
| 88 | (hfL : ∀ j, ∀ u : Fin j → Fin 4, MemLp (iteratedFieldDerivative period u f) 2 (liftMeasure period)) |
| 89 | (hgL : ∀ j, ∀ u : Fin j → Fin 4, MemLp (iteratedFieldDerivative period u g) 2 (liftMeasure period)) : |
| 90 | commutatorH6Norm period (n+1) f g ≤ ∑ i : Fin 4, |
| 91 | (wordSobolevNorm period 6 n (fun x => fieldDerivative period (standardDirection i) f x • g x) + |
| 92 | commutatorH6Norm period n f (fieldDerivative period (standardDirection i) g)) := by |
| 93 | rw [commutatorH6Norm, sum_word_snoc] |
| 94 | apply Finset.sum_le_sum |
| 95 | intro i _ |
| 96 | rw [wordSobolevNorm, commutatorH6Norm, ← Finset.sum_add_distrib] |
| 97 | apply Finset.sum_le_sum |
| 98 | intro w _ |
| 99 | rw [scalarCommutator_recurrence period _ f g hf hg] |
| 100 | have hi : (Fin.snoc (α := fun _ : Fin (n+1) => Fin 4) w i) (Fin.last n) = i := by simp [Fin.snoc] |
| 101 | simp only [Fin.init_snoc, hi] |
| 102 | have hdf := fieldDerivative_smooth period (standardDirection i) f hf |
| 103 | have hdg := fieldDerivative_smooth period (standardDirection i) g hg |
| 104 | have hdfL := derivative_all_memLp period f hfL i |
| 105 | have hdgL := derivative_all_memLp period g hgL i |
| 106 | exact sobolev_add_le period 6 _ _ |
| 107 | (iteratedFieldDerivative_smooth period w _ (fun x => (hdf x).smul (hg x))) |
| 108 | (scalarCommutator_smooth period w f _ hf hdg) |
| 109 | (fun j _ u => word_all_memLp period w _ (product_all_memLp period 3 _ g hdf hg hdfL hgL) j u) |
| 110 | (fun j _ u => scalarCommutator_all_memLp period w f _ hf hdg hfL hdgL j u) |
| 111 | |
| 112 | /-- The actual external commutator has exactly the positive-coefficient-order binomial convolution. -/ |
| 113 | theorem commutatorH6Norm_bound (n : ℕ) (f : LiftDomain period → ℝ) (g : LiftDomain period → Vector3) |
| 114 | (hf : ∀ x, ContDiff ℝ ∞ (localFieldLift period f x)) |
| 115 | (hg : ∀ x, ContDiff ℝ ∞ (localFieldLift period g x)) |
| 116 | (hfL : ∀ j, ∀ u : Fin j → Fin 4, MemLp (iteratedFieldDerivative period u f) 2 (liftMeasure period)) |
| 117 | (hgL : ∀ j, ∀ u : Fin j → Fin 4, MemLp (iteratedFieldDerivative period u g) 2 (liftMeasure period)) : |
| 118 | commutatorH6Norm period n f g ≤ productConstant period 3 * |
| 119 | commutatorConvolution (fun l => wordSobolevNorm period 6 l f) (fun l => wordSobolevNorm period 6 l g) n := by |
| 120 | induction n generalizing f g with |
| 121 | | zero => simp [commutatorConvolution_eq_sum] |
| 122 | | succ n ih => |
| 123 | apply (commutatorH6Norm_succ_le period n f g hf hg hfL hgL).trans |
| 124 | calc |
| 125 | _ ≤ ∑ i : Fin 4, (productConstant period 3 * leibnizConvolution |
| 126 | (fun l => wordSobolevNorm period 6 l (fieldDerivative period (standardDirection i) f)) |
| 127 | (fun l => wordSobolevNorm period 6 l g) n + productConstant period 3 * commutatorConvolution |
| 128 | (fun l => wordSobolevNorm period 6 l f) |
| 129 | (fun l => wordSobolevNorm period 6 l (fieldDerivative period (standardDirection i) g)) n) := by |
| 130 | apply Finset.sum_le_sum |
| 131 | intro i _ |
| 132 | exact add_le_add (product_wordSobolevNorm_bound period 3 n _ g |
| 133 | (fieldDerivative_smooth period _ f hf) hg (derivative_all_memLp period f hfL i) hgL) |
| 134 | (ih f _ hf (fieldDerivative_smooth period _ g hg) hfL (derivative_all_memLp period g hgL i)) |
| 135 | _ = _ := by |
| 136 | rw [Finset.sum_add_distrib, ← Finset.mul_sum, ← Finset.mul_sum, |
| 137 | sum_leibnizConvolution_left, sum_commutatorConvolution_right, commutatorConvolution_succ] |
| 138 | simp_rw [← wordSobolevNorm_succ] |
| 139 | ring |
| 140 | |
| 141 | end EulerExternalScalarCommutator |
| 142 | end |
| 143 | |
| 144 | end |
| 145 | |
| 146 | noncomputable section |
| 147 | |
| 148 | namespace EulerExternalTransportCommutator |
| 149 | |
| 150 | open MeasureTheory EulerSobolev EulerLiftedGradientSpace EulerMetricTransport EulerTransportDerivatives |
| 151 | EulerCylinderSobolev EulerRealCylinder EulerVectorCylinder EulerH6Nonlinear EulerBaseTransportCommutator |
| 152 | EulerExternalScalarCommutator EulerJetProductBounds EulerSpatialSobolevInverse EulerPacketWeights EulerLiftedCurl |
| 153 | open scoped ContDiff ENNReal Topology |
| 154 | |
| 155 | variable (period : ℝ) [Fact (0 < period)] |
| 156 | |
| 157 | omit [Fact (0 < period)] in |
| 158 | /-- Actual coordinate words commute with each constant-direction derivative of a smooth field. -/ |
| 159 | theorem word_derivative_comm {F : Type*} [NormedAddCommGroup F] [NormedSpace ℝ F] |
| 160 | {n : ℕ} (w : Fin n → Fin 4) (a : LiftTangent) (f : LiftDomain period → F) |
| 161 | (hf : ∀ x, ContDiff ℝ ∞ (localFieldLift period f x)) : |
| 162 | iteratedFieldDerivative period w (fieldDerivative period a f) = |
| 163 | fieldDerivative period a (iteratedFieldDerivative period w f) := by |
| 164 | induction n with |
| 165 | | zero => rfl |
| 166 | | succ n ih => |
| 167 | rw [iteratedFieldDerivative_succ, ih (Fin.tail w)] |
| 168 | funext x |
| 169 | exact fieldDerivatives_commute period _ _ _ (iteratedFieldDerivative_smooth period (Fin.tail w) f hf) x |
| 170 | |
| 171 | /-- The literal external transport commutator D^w(b·∇e)−b·∇D^w e. -/ |
| 172 | def transportCommutator {n : ℕ} (w : Fin n → Fin 4) |
| 173 | (b : LiftDomain period → Domain 4) (e : LiftDomain period → Vector3) : LiftDomain period → Vector3 := |
| 174 | iteratedFieldDerivative period w (transportField period 3 b e) - |
| 175 | transportField period 3 b (iteratedFieldDerivative period w e) |
| 176 | |
| 177 | omit [Fact (0 < period)] in |
| 178 | /-- The actual transport commutator is exactly the sum of the scalar multiplication commutators. -/ |
| 179 | theorem transportCommutator_eq_sum {n : ℕ} (w : Fin n → Fin 4) |
| 180 | (b : LiftDomain period → Domain 4) (e : LiftDomain period → Vector3) |
| 181 | (hb : ∀ x, ContDiff ℝ ∞ (localFieldLift period b x)) |
| 182 | (he : ∀ x, ContDiff ℝ ∞ (localFieldLift period e x)) : |
| 183 | transportCommutator period w b e = ∑ i : Fin 4, |
| 184 | scalarCommutator period w (coordinate 4 i ∘ b) (fieldDerivative period (standardDirection i) e) := by |
| 185 | unfold transportCommutator transportField |
| 186 | rw [word_sum period Finset.univ (fun i : Fin 4 => fun x => b x i • fieldDerivative period (standardDirection i) e x) (fun i _ x => |
| 187 | (postcomp_smooth period (coordinate 4 i) b hb x).smul (fieldDerivative_smooth period (standardDirection i) e he x)) w, |
| 188 | ← Finset.sum_sub_distrib] |
| 189 | apply Finset.sum_congr rfl |
| 190 | intro i _ |
| 191 | rw [scalarCommutator, word_derivative_comm period w (standardDirection i) e he] |
| 192 | rfl |
| 193 | |
| 194 | /-- Sum of the actual H⁶ norms of all external transport commutators at one order. -/ |
| 195 | def transportCommutatorNorm (n : ℕ) (b : LiftDomain period → Domain 4) (e : LiftDomain period → Vector3) : ℝ := |
| 196 | ∑ w : Fin n → Fin 4, liftSobolevNorm period 6 (transportCommutator period w b e) |
| 197 | |
| 198 | /-- Positivity allows monotonicity of the coefficient sequence in the genuine commutator convolution. -/ |
| 199 | theorem commutatorConvolution_mono_left (n : ℕ) (A A' B : ℕ → ℝ) |
| 200 | (hA : ∀ l, A l ≤ A' l) (hB : ∀ l, 0 ≤ B l) : |
| 201 | commutatorConvolution A B n ≤ commutatorConvolution A' B n := by |
| 202 | rw [commutatorConvolution_eq_sum, commutatorConvolution_eq_sum] |
| 203 | exact Finset.sum_le_sum fun l _ => mul_le_mul_of_nonneg_right |
| 204 | (mul_le_mul_of_nonneg_left (hA (l+1)) (Nat.cast_nonneg _)) (hB _) |
| 205 | |
| 206 | /-- The actual external transport commutator has no undifferentiated-velocity term. -/ |
| 207 | theorem transportCommutatorNorm_bound (n : ℕ) |
| 208 | (b : LiftDomain period → Domain 4) (e : LiftDomain period → Vector3) |
| 209 | (hb : ∀ x, ContDiff ℝ ∞ (localFieldLift period b x)) |
| 210 | (he : ∀ x, ContDiff ℝ ∞ (localFieldLift period e x)) |
| 211 | (hbL : ∀ j, ∀ u : Fin j → Fin 4, MemLp (iteratedFieldDerivative period u b) 2 (liftMeasure period)) |
| 212 | (heL : ∀ j, ∀ u : Fin j → Fin 4, MemLp (iteratedFieldDerivative period u e) 2 (liftMeasure period)) : |
| 213 | transportCommutatorNorm period n b e ≤ productConstant period 3 * |
| 214 | commutatorConvolution (fun l => wordSobolevNorm period 6 l b) |
| 215 | (fun l => wordSobolevNorm period 6 (l+1) e) n := by |
| 216 | have hbi (i : Fin 4) := postcomp_smooth period (coordinate 4 i) b hb |
| 217 | have hbiL (i : Fin 4) : ∀ j, ∀ w : Fin j → Fin 4, |
| 218 | MemLp (iteratedFieldDerivative period w (coordinate 4 i ∘ b)) 2 (liftMeasure period) := |
| 219 | fun j w => postcomp_word_memLp period (show j ≤ j by omega) _ b hb (fun r _ v => hbL r v) w |
| 220 | have hw (w : Fin n → Fin 4) : liftSobolevNorm period 6 (transportCommutator period w b e) ≤ |
| 221 | ∑ i : Fin 4, liftSobolevNorm period 6 |
| 222 | (scalarCommutator period w (coordinate 4 i ∘ b) (fieldDerivative period (standardDirection i) e)) := by |
| 223 | rw [transportCommutator_eq_sum period w b e hb he] |
| 224 | have h := wordSobolevNorm_sum_le period Finset.univ 6 0 |
| 225 | (fun i => scalarCommutator period w (coordinate 4 i ∘ b) (fieldDerivative period (standardDirection i) e)) |
| 226 | (fun i _ => scalarCommutator_smooth period w _ _ (hbi i) (fieldDerivative_smooth period _ e he)) |
| 227 | (fun i _ => scalarCommutator_all_memLp period w _ _ (hbi i) (fieldDerivative_smooth period _ e he) |
| 228 | (hbiL i) (derivative_all_memLp period e heL i)) |
| 229 | simpa only [wordSobolevNorm_zero] using h |
| 230 | have hsum := Finset.sum_le_sum (fun w (_ : w ∈ (Finset.univ : Finset (Fin n → Fin 4))) => hw w) |
| 231 | rw [Finset.sum_comm] at hsum |
| 232 | apply hsum.trans |
| 233 | calc |
| 234 | _ ≤ ∑ i : Fin 4, productConstant period 3 * commutatorConvolution |
| 235 | (fun l => wordSobolevNorm period 6 l b) |
| 236 | (fun l => wordSobolevNorm period 6 l (fieldDerivative period (standardDirection i) e)) n := by |
| 237 | apply Finset.sum_le_sum |
| 238 | intro i _ |
| 239 | have hi := commutatorH6Norm_bound period n _ _ (hbi i) (fieldDerivative_smooth period _ e he) |
| 240 | (hbiL i) (derivative_all_memLp period e heL i) |
| 241 | apply hi.trans |
| 242 | apply mul_le_mul_of_nonneg_left _ (productConstant_nonneg period 3) |
| 243 | exact commutatorConvolution_mono_left n _ _ _ |
| 244 | (fun l => wordSobolevNorm_postcomp_le period 6 l (coordinate 4 i) (coordinate_norm_le 4 i) b hb hbL) |
| 245 | (fun l => wordSobolevNorm_nonneg period 6 l _) |
| 246 | _ = _ := by |
| 247 | rw [← Finset.mul_sum, sum_commutatorConvolution_right] |
| 248 | simp_rw [← wordSobolevNorm_succ] |
| 249 | |
| 250 | /-- The actual external transport commutator obeys the radius-loss bound with no cutoff-dependent constant or cutoff-plus-one velocity. -/ |
| 251 | theorem transportCommutator_weighted_bound (N : ℕ) (ρ : ℝ) (hρ : 0 < ρ) |
| 252 | (b : LiftDomain period → Domain 4) (e : LiftDomain period → Vector3) |
| 253 | (hb : ∀ x, ContDiff ℝ ∞ (localFieldLift period b x)) |
| 254 | (he : ∀ x, ContDiff ℝ ∞ (localFieldLift period e x)) |
| 255 | (hbL : ∀ j, ∀ u : Fin j → Fin 4, MemLp (iteratedFieldDerivative period u b) 2 (liftMeasure period)) |
| 256 | (heL : ∀ j, ∀ u : Fin j → Fin 4, MemLp (iteratedFieldDerivative period u e) 2 (liftMeasure period)) : |
| 257 | (∑ n ∈ Finset.range (N+1), weight ρ n * transportCommutatorNorm period n b e) ≤ |
| 258 | productConstant period 3 * ρ⁻¹ * |
| 259 | (∑ l ∈ Finset.range (N+1), weight ρ l * wordSobolevNorm period 6 l b) * |
| 260 | (∑ j ∈ Finset.range (N+1), (j : ℝ)*weight ρ j * wordSobolevNorm period 6 j e) := by |
| 261 | calc |
| 262 | _ ≤ ∑ n ∈ Finset.range (N+1), weight ρ n * (productConstant period 3 * commutatorConvolution |
| 263 | (fun l => wordSobolevNorm period 6 l b) (fun l => wordSobolevNorm period 6 (l+1) e) n) := |
| 264 | Finset.sum_le_sum fun n _ => mul_le_mul_of_nonneg_left |
| 265 | (transportCommutatorNorm_bound period n b e hb he hbL heL) (weight_pos hρ n).le |
| 266 | _ = productConstant period 3 * (∑ n ∈ Finset.range (N+1), ∑ l ∈ Finset.range n, |
| 267 | weight ρ n * (n.choose (l+1) : ℝ) * wordSobolevNorm period 6 (l+1) b * wordSobolevNorm period 6 (n-l) e) := by |
| 268 | simp only [commutatorConvolution_eq_sum, Finset.mul_sum] |
| 269 | apply Finset.sum_congr rfl |
| 270 | intro n _ |
| 271 | apply Finset.sum_congr rfl |
| 272 | intro l hl |
| 273 | have hn : n-(l+1)+1 = n-l := by have := Finset.mem_range.mp hl; omega |
| 274 | rw [hn] |
| 275 | ring |
| 276 | _ ≤ _ := (mul_le_mul_of_nonneg_left |
| 277 | (EulerWeightedConvolution.external_commutator_sum ρ hρ N |
| 278 | (fun l => wordSobolevNorm period 6 l b) (fun l => wordSobolevNorm period 6 l e) |
| 279 | (fun l => wordSobolevNorm_nonneg period 6 l b) (fun l => wordSobolevNorm_nonneg period 6 l e)) |
| 280 | (productConstant_nonneg period 3)).trans_eq (by ring) |
| 281 | |
| 282 | end EulerExternalTransportCommutator |