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.SobolevWordLevel |
| 2 | import Euler.FunctionalVelocity |
| 3 | |
| 4 | /-! Genuine finite-Sobolev norms of the small four-component transport drift. -/ |
| 5 | |
| 6 | noncomputable section |
| 7 | |
| 8 | namespace EulerSobolevDriftNorm |
| 9 | |
| 10 | open MeasureTheory Filter EulerSobolev EulerLiftedGradientSpace EulerCylinderSobolevSpace |
| 11 | EulerCylinderSobolev EulerSpatialSobolevInverse EulerMetricTransport EulerH6Pressure |
| 12 | EulerH6Nonlinear EulerJetProductBounds EulerSobolevGevreyOperators EulerSobolevWordLevel |
| 13 | EulerFunctionalVelocity EulerStrongSmoothJet EulerVectorCylinder EulerRealCylinder |
| 14 | open scoped ContDiff ENNReal Topology |
| 15 | |
| 16 | variable (period : ℝ) [Fact (0 < period)] |
| 17 | |
| 18 | /-- Postcomposition of an actual derivative coordinate with the fixed drift map. -/ |
| 19 | def driftWordOperator {s : ℕ} (L : Vector3 →L[ℝ] Domain 4) (w : SobolevWord s) : |
| 20 | SobolevSpace period s →L[ℝ] Lp (Domain 4) 2 (liftMeasure period) := |
| 21 | (L.compLpL 2 (liftMeasure period)).comp (wordOperator period w) |
| 22 | |
| 23 | /-- The exact sum of L² norms of drift derivatives at one total derivative order. -/ |
| 24 | def driftLevelNorm {s : ℕ} (n : ℕ) (L : Vector3 →L[ℝ] Domain 4) |
| 25 | (u : SobolevSpace period s) : ℝ := |
| 26 | ∑ w : Fin n → Fin 4, ‖L.compLpL 2 (liftMeasure period) ((toJet period u).word w)‖ |
| 27 | |
| 28 | /-- The drift norm at one external order, including all derivatives in the fixed base Sobolev block. -/ |
| 29 | def driftBlockNorm {s : ℕ} (q n : ℕ) (L : Vector3 →L[ℝ] Domain 4) |
| 30 | (u : SobolevSpace period s) : ℝ := |
| 31 | ∑ r ∈ Finset.range (q+1), driftLevelNorm period (n+r) L u |
| 32 | |
| 33 | /-- The weighted genuine drift norm, retaining cancellations in the fixed velocity map. -/ |
| 34 | def weightedDriftNorm {s : ℕ} (q N : ℕ) (ρ : ℝ) (L : Vector3 →L[ℝ] Domain 4) |
| 35 | (u : SobolevSpace period s) : ℝ := |
| 36 | ∑ n ∈ Finset.range (N+1), EulerPacketWeights.weight ρ n * driftBlockNorm period q n L u |
| 37 | |
| 38 | theorem driftWordOperator_eq {s n : ℕ} (hn : n ≤ s) (L : Vector3 →L[ℝ] Domain 4) |
| 39 | (w : Fin n → Fin 4) (u : SobolevSpace period s) : |
| 40 | L.compLpL 2 (liftMeasure period) ((toJet period u).word w) = |
| 41 | driftWordOperator period L ⟨⟨n, Nat.lt_succ_of_le hn⟩, w⟩ u := by |
| 42 | rw [toJet_word period u hn] |
| 43 | rfl |
| 44 | |
| 45 | theorem driftLevelNorm_nonneg {s : ℕ} (n : ℕ) (L : Vector3 →L[ℝ] Domain 4) |
| 46 | (u : SobolevSpace period s) : 0 ≤ driftLevelNorm period n L u := |
| 47 | Finset.sum_nonneg fun _ _ => norm_nonneg _ |
| 48 | |
| 49 | theorem driftBlockNorm_nonneg {s : ℕ} (q n : ℕ) (L : Vector3 →L[ℝ] Domain 4) |
| 50 | (u : SobolevSpace period s) : 0 ≤ driftBlockNorm period q n L u := |
| 51 | Finset.sum_nonneg fun _ _ => driftLevelNorm_nonneg period _ L u |
| 52 | |
| 53 | theorem weightedDriftNorm_nonneg {s : ℕ} (q N : ℕ) (ρ : ℝ) (hρ : 0 < ρ) |
| 54 | (L : Vector3 →L[ℝ] Domain 4) (u : SobolevSpace period s) : |
| 55 | 0 ≤ weightedDriftNorm period q N ρ L u := |
| 56 | Finset.sum_nonneg fun n _ => mul_nonneg (EulerPacketWeights.weight_pos hρ n).le |
| 57 | (driftBlockNorm_nonneg period q n L u) |
| 58 | |
| 59 | /-- Valid drift coordinates are continuous on the complete finite Sobolev space. -/ |
| 60 | theorem continuous_driftLevelNorm {s n : ℕ} (hn : n ≤ s) (L : Vector3 →L[ℝ] Domain 4) : |
| 61 | Continuous (driftLevelNorm period (s := s) n L) := by |
| 62 | unfold driftLevelNorm |
| 63 | apply continuous_finsetSum |
| 64 | intro w _ |
| 65 | simp_rw [driftWordOperator_eq period hn] |
| 66 | exact (driftWordOperator period L ⟨⟨n, Nat.lt_succ_of_le hn⟩, w⟩).continuous.norm |
| 67 | |
| 68 | theorem continuous_driftBlockNorm {s q n : ℕ} (h : n+q ≤ s) (L : Vector3 →L[ℝ] Domain 4) : |
| 69 | Continuous (driftBlockNorm period (s := s) q n L) := by |
| 70 | apply continuous_finsetSum |
| 71 | intro r hr |
| 72 | exact continuous_driftLevelNorm period (by have := Finset.mem_range.mp hr; omega) L |
| 73 | |
| 74 | /-- Joint continuity in radius and field follows directly from finite sums of continuous linear coordinates. -/ |
| 75 | theorem continuous_weightedDriftNorm_pair {s : ℕ} (q N : ℕ) (hN : N+q ≤ s) |
| 76 | (L : Vector3 →L[ℝ] Domain 4) : |
| 77 | Continuous (fun p : ℝ × SobolevSpace period s => weightedDriftNorm period q N p.1 L p.2) := by |
| 78 | apply continuous_finsetSum |
| 79 | intro n hn |
| 80 | have hw : Continuous (fun p : ℝ × SobolevSpace period s => EulerPacketWeights.weight p.1 n) := by |
| 81 | unfold EulerPacketWeights.weight |
| 82 | fun_prop |
| 83 | exact hw.mul ((continuous_driftBlockNorm period |
| 84 | (by have := Finset.mem_range.mp hn; omega : n+q ≤ s) L).comp continuous_snd) |
| 85 | |
| 86 | theorem continuous_weightedDriftNorm {s : ℕ} (q N : ℕ) (hN : N+q ≤ s) (ρ : ℝ) |
| 87 | (L : Vector3 →L[ℝ] Domain 4) : Continuous (weightedDriftNorm period (s := s) q N ρ L) := |
| 88 | (continuous_weightedDriftNorm_pair period q N hN L).comp (continuous_const.prodMk continuous_id) |
| 89 | |
| 90 | /-- The drift norm is subadditive without discarding its directional cancellations. -/ |
| 91 | theorem driftLevelNorm_add_le {s n : ℕ} (hn : n ≤ s) (L : Vector3 →L[ℝ] Domain 4) |
| 92 | (u v : SobolevSpace period s) : |
| 93 | driftLevelNorm period n L (u+v) ≤ driftLevelNorm period n L u + driftLevelNorm period n L v := by |
| 94 | unfold driftLevelNorm |
| 95 | rw [← Finset.sum_add_distrib] |
| 96 | apply Finset.sum_le_sum |
| 97 | intro w _ |
| 98 | simp_rw [driftWordOperator_eq period hn] |
| 99 | rw [map_add] |
| 100 | exact norm_add_le _ _ |
| 101 | |
| 102 | theorem weightedDriftNorm_add_le {s : ℕ} (q N : ℕ) (hN : N+q ≤ s) (ρ : ℝ) (hρ : 0 < ρ) |
| 103 | (L : Vector3 →L[ℝ] Domain 4) (u v : SobolevSpace period s) : |
| 104 | weightedDriftNorm period q N ρ L (u+v) ≤ |
| 105 | weightedDriftNorm period q N ρ L u + weightedDriftNorm period q N ρ L v := by |
| 106 | unfold weightedDriftNorm |
| 107 | rw [← Finset.sum_add_distrib] |
| 108 | apply Finset.sum_le_sum |
| 109 | intro n hn |
| 110 | rw [← mul_add] |
| 111 | apply mul_le_mul_of_nonneg_left _ (EulerPacketWeights.weight_pos hρ n).le |
| 112 | unfold driftBlockNorm |
| 113 | rw [← Finset.sum_add_distrib] |
| 114 | exact Finset.sum_le_sum fun r hr => driftLevelNorm_add_le period |
| 115 | (by have := Finset.mem_range.mp hn; have := Finset.mem_range.mp hr; omega) L u v |
| 116 | |
| 117 | /-- The coarse comparison is used for the correction field, not for the prescribed drift. -/ |
| 118 | theorem driftLevelNorm_le {s : ℕ} (n : ℕ) (L : Vector3 →L[ℝ] Domain 4) |
| 119 | (u : SobolevSpace period s) : |
| 120 | driftLevelNorm period n L u ≤ ‖L‖ * levelNorm period (toJet period u) n := by |
| 121 | rw [levelNorm_eq_words, Finset.mul_sum] |
| 122 | exact Finset.sum_le_sum fun w _ => |
| 123 | ((L.compLpL 2 (liftMeasure period)).le_opNorm _).trans |
| 124 | (mul_le_mul_of_nonneg_right L.norm_compLpL_le (norm_nonneg _)) |
| 125 | |
| 126 | theorem weightedDriftNorm_le_weightedNorm {s : ℕ} (q N : ℕ) (ρ : ℝ) (hρ : 0 < ρ) |
| 127 | (L : Vector3 →L[ℝ] Domain 4) (u : SobolevSpace period s) : |
| 128 | weightedDriftNorm period q N ρ L u ≤ ‖L‖ * weightedNorm period q N ρ u := by |
| 129 | unfold weightedDriftNorm weightedNorm |
| 130 | rw [Finset.mul_sum] |
| 131 | apply Finset.sum_le_sum |
| 132 | intro n _ |
| 133 | have h : driftBlockNorm period q n L u ≤ ‖L‖ * blockNorm period (toJet period u) q n := by |
| 134 | unfold driftBlockNorm blockNorm |
| 135 | rw [Finset.mul_sum] |
| 136 | exact Finset.sum_le_sum fun r _ => driftLevelNorm_le period (n+r) L u |
| 137 | exact (mul_le_mul_of_nonneg_left h (EulerPacketWeights.weight_pos hρ n).le).trans_eq (by ring) |
| 138 | |
| 139 | omit [Fact (0 < period)] in |
| 140 | /-- Four contractive coordinate functionals assemble into a map of norm at most four. -/ |
| 141 | theorem velocityMap_norm_le_four (L : Fin 4 → Vector3 →L[ℝ] ℝ) (hL : ∀ i, ‖L i‖ ≤ 1) : |
| 142 | ‖velocityMap L‖ ≤ 4 := by |
| 143 | apply ContinuousLinearMap.opNorm_le_bound _ (by norm_num) |
| 144 | intro z |
| 145 | calc |
| 146 | ‖velocityMap L z‖ ≤ ∑ i : Fin 4, ‖velocityMap L z i‖ := EulerSobolevDerivativeNorm.norm_le_sum_coordinates 4 _ |
| 147 | _ ≤ ∑ _i : Fin 4, ‖z‖ := Finset.sum_le_sum fun i _ => |
| 148 | ((L i).le_opNorm z).trans (by simpa using mul_le_mul_of_nonneg_right (hL i) (norm_nonneg z)) |
| 149 | _ = _ := by simp |
| 150 | |
| 151 | theorem weightedDriftNorm_velocityMap_le {s : ℕ} (q N : ℕ) (ρ : ℝ) (hρ : 0 < ρ) |
| 152 | (L : Fin 4 → Vector3 →L[ℝ] ℝ) (hL : ∀ i, ‖L i‖ ≤ 1) (u : SobolevSpace period s) : |
| 153 | weightedDriftNorm period q N ρ (velocityMap L) u ≤ 4 * weightedNorm period q N ρ u := |
| 154 | (weightedDriftNorm_le_weightedNorm period q N ρ hρ (velocityMap L) u).trans |
| 155 | (mul_le_mul_of_nonneg_right (velocityMap_norm_le_four L hL) (weightedNorm_nonneg period q N ρ hρ u)) |
| 156 | |
| 157 | section Classical |
| 158 | |
| 159 | variable {F : Type*} [NormedAddCommGroup F] [NormedSpace ℝ F] |
| 160 | |
| 161 | /-- External-word Sobolev blocks equal the sum over the corresponding total derivative orders. -/ |
| 162 | theorem wordSobolevNorm_eq_total (q n : ℕ) (f : LiftDomain period → F) : |
| 163 | wordSobolevNorm period q n f = ∑ r ∈ Finset.range (q+1), |
| 164 | ∑ w : Fin (n+r) → Fin 4, (eLpNorm (iteratedFieldDerivative period w f) 2 (liftMeasure period)).toReal := by |
| 165 | induction n generalizing f with |
| 166 | | zero => |
| 167 | simp only [wordSobolevNorm_zero, liftSobolevNorm] |
| 168 | apply Finset.sum_congr rfl |
| 169 | intro r _ |
| 170 | rw [Nat.zero_add] |
| 171 | | succ n ih => |
| 172 | rw [wordSobolevNorm_succ] |
| 173 | simp_rw [ih] |
| 174 | rw [Finset.sum_comm] |
| 175 | apply Finset.sum_congr rfl |
| 176 | intro r _ |
| 177 | rw [show n+1+r = (n+r)+1 by omega, ← Fintype.sum_prod_type'] |
| 178 | symm |
| 179 | exact Fintype.sum_equiv (EulerSpatialSobolevInverse.SpatialJet.wordSnocEquiv (n+r)) |
| 180 | (fun w => (eLpNorm (iteratedFieldDerivative period w f) 2 (liftMeasure period)).toReal) |
| 181 | (fun v => (eLpNorm (iteratedFieldDerivative period v.2 |
| 182 | (EulerTransportDerivatives.fieldDerivative period (standardDirection v.1) f)) 2 (liftMeasure period)).toReal) |
| 183 | (fun w => by |
| 184 | change (eLpNorm (iteratedFieldDerivative period w f) 2 (liftMeasure period)).toReal = |
| 185 | (eLpNorm (iteratedFieldDerivative period (Fin.init w) |
| 186 | (EulerTransportDerivatives.fieldDerivative period (standardDirection (w (Fin.last (n+r)))) f)) 2 |
| 187 | (liftMeasure period)).toReal |
| 188 | rw [word_init_last period w f]) |
| 189 | |
| 190 | end Classical |
| 191 | |
| 192 | /-- Each postcomposed strong word agrees almost everywhere with the actual classical drift derivative. -/ |
| 193 | theorem driftWord_ae {s n : ℕ} (hn : n ≤ s) (L : Vector3 →L[ℝ] Domain 4) |
| 194 | (w : Fin n → Fin 4) (u : SobolevSpace period s) (f : LiftDomain period → Vector3) |
| 195 | (hu : (value period u : LiftDomain period → Vector3) =ᵐ[liftMeasure period] f) |
| 196 | (hf : ∀ x, ContDiff ℝ ∞ (localFieldLift period f x)) : |
| 197 | (L.compLpL 2 (liftMeasure period) ((toJet period u).word w) : LiftDomain period → Domain 4) |
| 198 | =ᵐ[liftMeasure period] iteratedFieldDerivative period w (L ∘ f) := by |
| 199 | rw [iteratedFieldDerivative_postcomp period L w f hf] |
| 200 | filter_upwards [L.coeFn_compLpL ((toJet period u).word w), |
| 201 | jet_word_ae period hn (value period u) (toJet period u) w f hu hf] with x hx hy |
| 202 | rw [hx, hy] |
| 203 | rfl |
| 204 | |
| 205 | theorem driftLevelNorm_eq_classical {s n : ℕ} (hn : n ≤ s) (L : Vector3 →L[ℝ] Domain 4) |
| 206 | (u : SobolevSpace period s) (f : LiftDomain period → Vector3) |
| 207 | (hu : (value period u : LiftDomain period → Vector3) =ᵐ[liftMeasure period] f) |
| 208 | (hf : ∀ x, ContDiff ℝ ∞ (localFieldLift period f x)) : |
| 209 | driftLevelNorm period n L u = ∑ w : Fin n → Fin 4, |
| 210 | (eLpNorm (iteratedFieldDerivative period w (L ∘ f)) 2 (liftMeasure period)).toReal := by |
| 211 | apply Finset.sum_congr rfl |
| 212 | intro w _ |
| 213 | rw [Lp.norm_def] |
| 214 | exact congrArg ENNReal.toReal (eLpNorm_congr_ae (driftWord_ae period hn L w u f hu hf)) |
| 215 | |
| 216 | /-- The rough drift block is exactly the classical external-word Sobolev norm on every smooth representative. -/ |
| 217 | theorem driftBlockNorm_eq_classical {s q n : ℕ} (h : n+q ≤ s) (L : Vector3 →L[ℝ] Domain 4) |
| 218 | (u : SobolevSpace period s) (f : LiftDomain period → Vector3) |
| 219 | (hu : (value period u : LiftDomain period → Vector3) =ᵐ[liftMeasure period] f) |
| 220 | (hf : ∀ x, ContDiff ℝ ∞ (localFieldLift period f x)) : |
| 221 | driftBlockNorm period q n L u = wordSobolevNorm period q n (L ∘ f) := by |
| 222 | rw [wordSobolevNorm_eq_total] |
| 223 | apply Finset.sum_congr rfl |
| 224 | intro r hr |
| 225 | exact driftLevelNorm_eq_classical period (by have := Finset.mem_range.mp hr; omega) L u f hu hf |
| 226 | |
| 227 | /-- Exact representative identity for the finite weighted drift norm. -/ |
| 228 | theorem weightedDriftNorm_eq_classical {s : ℕ} (q N : ℕ) (hN : N+q ≤ s) (ρ : ℝ) |
| 229 | (L : Vector3 →L[ℝ] Domain 4) (u : SobolevSpace period s) (f : LiftDomain period → Vector3) |
| 230 | (hu : (value period u : LiftDomain period → Vector3) =ᵐ[liftMeasure period] f) |
| 231 | (hf : ∀ x, ContDiff ℝ ∞ (localFieldLift period f x)) : |
| 232 | weightedDriftNorm period q N ρ L u = |
| 233 | ∑ n ∈ Finset.range (N+1), EulerPacketWeights.weight ρ n * wordSobolevNorm period q n (L ∘ f) := by |
| 234 | apply Finset.sum_congr rfl |
| 235 | intro n hn |
| 236 | rw [driftBlockNorm_eq_classical period (by have := Finset.mem_range.mp hn; omega) L u f hu hf] |
| 237 | |
| 238 | /-- Restriction of the finite Sobolev ambient space preserves each retained drift coordinate. -/ |
| 239 | theorem driftLevelNorm_restrict {s t n : ℕ} (h : t ≤ s) (hn : n ≤ t) |
| 240 | (L : Vector3 →L[ℝ] Domain 4) (u : SobolevSpace period s) : |
| 241 | driftLevelNorm period n L (restrictOperator period h u) = driftLevelNorm period n L u := by |
| 242 | apply Finset.sum_congr rfl |
| 243 | intro w _ |
| 244 | rw [toJet_word period (restrictOperator period h u) hn, toJet_word period u (hn.trans h)] |
| 245 | rfl |
| 246 | |
| 247 | theorem weightedDriftNorm_restrict {s t : ℕ} (h : t ≤ s) (q N : ℕ) (hN : N+q ≤ t) |
| 248 | (ρ : ℝ) (L : Vector3 →L[ℝ] Domain 4) (u : SobolevSpace period s) : |
| 249 | weightedDriftNorm period q N ρ L (restrictOperator period h u) = weightedDriftNorm period q N ρ L u := by |
| 250 | apply Finset.sum_congr rfl |
| 251 | intro n hn |
| 252 | congr 1 |
| 253 | apply Finset.sum_congr rfl |
| 254 | intro r hr |
| 255 | exact driftLevelNorm_restrict period h |
| 256 | (by have := Finset.mem_range.mp hn; have := Finset.mem_range.mp hr; omega) L u |
| 257 | |
| 258 | theorem weightedDriftNorm_truncate {s : ℕ} (q N : ℕ) (hN : N+q ≤ s) |
| 259 | (ρ : ℝ) (L : Vector3 →L[ℝ] Domain 4) (u : SobolevSpace period (s+1)) : |
| 260 | weightedDriftNorm period q N ρ L (truncateOperator period s u) = weightedDriftNorm period q N ρ L u := by |
| 261 | have he : truncateOperator period s u = restrictOperator period (Nat.le_succ s) u := by |
| 262 | apply value_injective period |
| 263 | rfl |
| 264 | rw [he] |
| 265 | exact weightedDriftNorm_restrict period (Nat.le_succ s) q N hN ρ L u |
| 266 | |
| 267 | /-- Actual smooth approximations converge in the drift norm at every retained weighted cutoff. -/ |
| 268 | theorem weightedDriftNorm_smoothApprox_tendsto {s : ℕ} (q N : ℕ) (hN : N+q ≤ s) |
| 269 | (ρ : ℝ) (L : Vector3 →L[ℝ] Domain 4) (u : SobolevSpace period s) : |
| 270 | Tendsto (fun n => weightedDriftNorm period q N ρ L |
| 271 | (restrictOperator period (by omega : s ≤ s+3) (smoothApprox period s n u))) atTop |
| 272 | (𝓝 (weightedDriftNorm period q N ρ L u)) := |
| 273 | ((continuous_weightedDriftNorm period q N hN ρ L).tendsto u).comp (smoothApprox_tendsto period u) |
| 274 | |
| 275 | /-- A zero field has zero drift at every valid weighted cutoff. -/ |
| 276 | theorem weightedDriftNorm_zero {s : ℕ} (q N : ℕ) (hN : N+q ≤ s) (ρ : ℝ) |
| 277 | (L : Vector3 →L[ℝ] Domain 4) : weightedDriftNorm period q N ρ L (0 : SobolevSpace period s) = 0 := by |
| 278 | apply Finset.sum_eq_zero |
| 279 | intro n hn |
| 280 | apply mul_eq_zero_of_right |
| 281 | apply Finset.sum_eq_zero |
| 282 | intro r hr |
| 283 | apply Finset.sum_eq_zero |
| 284 | intro w _ |
| 285 | rw [driftWordOperator_eq period |
| 286 | (by have := Finset.mem_range.mp hn; have := Finset.mem_range.mp hr; omega : n+r ≤ s), map_zero, norm_zero] |
| 287 | |
| 288 | /-- Smoothing errors themselves tend to zero in the genuine drift norm. -/ |
| 289 | theorem weightedDriftNorm_smoothApprox_sub_tendsto {s : ℕ} (q N : ℕ) (hN : N+q ≤ s) |
| 290 | (ρ : ℝ) (L : Vector3 →L[ℝ] Domain 4) (u : SobolevSpace period s) : |
| 291 | Tendsto (fun n => weightedDriftNorm period q N ρ L |
| 292 | (restrictOperator period (by omega : s ≤ s+3) (smoothApprox period s n u) - u)) atTop (𝓝 0) := by |
| 293 | have h := ((continuous_weightedDriftNorm period q N hN ρ L).tendsto (0 : SobolevSpace period s)).comp |
| 294 | (by simpa only [sub_self] using (smoothApprox_tendsto period u).sub (tendsto_const_nhds (x := u))) |
| 295 | simpa only [Function.comp_def, weightedDriftNorm_zero period q N hN ρ L] using h |
| 296 | |
| 297 | end EulerSobolevDriftNorm |