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 NavierStokes.JetBounds |
| 2 | import Mathlib.Analysis.InnerProductSpace.PiL2 |
| 3 | import Mathlib.Tactic.Linarith |
| 4 | |
| 5 | /-! |
| 6 | # Indexed weighted classes of actual stripped derivatives |
| 7 | |
| 8 | The index is a band, not a differentiable variable. Every derivative below is |
| 9 | Mathlib's `iteratedFDeriv` of the actual coefficient on an open domain. |
| 10 | Constants and polynomial degrees are chosen before the band and point. |
| 11 | |
| 12 | The statements hold on real normed spaces, in particular on the Euclidean |
| 13 | strips used by the construction. Radiality of the prescribed smooth weight |
| 14 | is not needed for these closure results. |
| 15 | -/ |
| 16 | |
| 17 | namespace NavierStokes.WeightedClasses |
| 18 | |
| 19 | noncomputable section |
| 20 | |
| 21 | open scoped BigOperators ContDiff |
| 22 | |
| 23 | variable {D E F G : Type*} |
| 24 | [NormedAddCommGroup D] [NormedSpace ℝ D] |
| 25 | [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 26 | [NormedAddCommGroup F] [NormedSpace ℝ F] |
| 27 | [NormedAddCommGroup G] [NormedSpace ℝ G] |
| 28 | |
| 29 | /-- Geometry and positive indexed scales for a stripped coefficient family. |
| 30 | `epsilon` may in particular be `Q n ^ h`. -/ |
| 31 | structure StripData (D : Type*) [NormedAddCommGroup D] [NormedSpace ℝ D] where |
| 32 | domain : Set D |
| 33 | isOpen_domain : IsOpen domain |
| 34 | epsilon : ℕ → ℝ |
| 35 | epsilon_pos : ∀ n, 0 < epsilon n |
| 36 | epsilon_le_one : ∀ n, epsilon n ≤ 1 |
| 37 | slow : ℕ → ℝ |
| 38 | one_le_slow : ∀ n, 1 ≤ slow n |
| 39 | delta : D → ℝ |
| 40 | delta_pos : ∀ x ∈ domain, 0 < delta x |
| 41 | zeta : D → ℝ |
| 42 | zeta_smooth : ContDiffOn ℝ ∞ zeta domain |
| 43 | zeta_nonneg : ∀ x ∈ domain, 0 ≤ zeta x |
| 44 | |
| 45 | abbrev EuclideanStripData (d : ℕ) := StripData (EuclideanSpace ℝ (Fin d)) |
| 46 | |
| 47 | /-- A common polynomial degree in `S` and the inverse edge distance is enough: |
| 48 | separate finite degrees can always be increased to their sum. The maximum |
| 49 | permits arbitrary positive `delta`, agreeing with `delta⁻¹` when `delta ≤ 1`. -/ |
| 50 | def StripData.growth (s : StripData D) (n : ℕ) (x : D) : ℝ := |
| 51 | s.slow n * max 1 (s.delta x)⁻¹ |
| 52 | |
| 53 | theorem StripData.one_le_growth (s : StripData D) (n : ℕ) (x : D) : |
| 54 | 1 ≤ s.growth n x := |
| 55 | one_le_mul_of_one_le_of_one_le (s.one_le_slow n) (le_max_left _ _) |
| 56 | |
| 57 | theorem StripData.growth_nonneg (s : StripData D) (n : ℕ) (x : D) : |
| 58 | 0 ≤ s.growth n x := le_trans zero_le_one (s.one_le_growth n x) |
| 59 | |
| 60 | theorem StripData.slow_le_growth (s : StripData D) (n : ℕ) (x : D) : |
| 61 | s.slow n ≤ s.growth n x := by |
| 62 | exact le_mul_of_one_le_right ((zero_le_one.trans (s.one_le_slow n))) |
| 63 | (le_max_left _ _) |
| 64 | |
| 65 | theorem StripData.separate_powers_le_growth (s : StripData D) (p q n : ℕ) (x : D) : |
| 66 | s.slow n ^ p * (max 1 (s.delta x)⁻¹) ^ q ≤ s.growth n x ^ (p + q) := by |
| 67 | have he0 : 0 ≤ max 1 (s.delta x)⁻¹ := zero_le_one.trans (le_max_left _ _) |
| 68 | have he : max 1 (s.delta x)⁻¹ ≤ s.growth n x := by |
| 69 | calc |
| 70 | _ = 1 * max 1 (s.delta x)⁻¹ := (one_mul _).symm |
| 71 | _ ≤ s.slow n * max 1 (s.delta x)⁻¹ := |
| 72 | mul_le_mul_of_nonneg_right (s.one_le_slow n) he0 |
| 73 | rw [pow_add] |
| 74 | exact mul_le_mul |
| 75 | (pow_le_pow_left₀ (zero_le_one.trans (s.one_le_slow n)) (s.slow_le_growth n x) p) |
| 76 | (pow_le_pow_left₀ he0 he q) (pow_nonneg he0 q) (pow_nonneg (s.growth_nonneg n x) p) |
| 77 | |
| 78 | def majorant (s : StripData D) (w : ℕ → D → ℝ) (α C : ℝ) (p n : ℕ) (x : D) : ℝ := |
| 79 | C * s.epsilon n ^ α * s.growth n x ^ p * w n x |
| 80 | |
| 81 | theorem majorant_nonneg (s : StripData D) (w : ℕ → D → ℝ) (α : ℝ) |
| 82 | {C : ℝ} (hC : 0 ≤ C) (p n : ℕ) (x : D) (hw : 0 ≤ w n x) : |
| 83 | 0 ≤ majorant s w α C p n x := by |
| 84 | unfold majorant |
| 85 | exact mul_nonneg (mul_nonneg (mul_nonneg hC |
| 86 | (Real.rpow_pos_of_pos (s.epsilon_pos n) α).le) |
| 87 | (pow_nonneg (s.growth_nonneg n x) p)) hw |
| 88 | |
| 89 | theorem majorant_mono_degree (s : StripData D) (w : ℕ → D → ℝ) (α : ℝ) |
| 90 | {C : ℝ} (hC : 0 ≤ C) {p q : ℕ} (hpq : p ≤ q) (n : ℕ) (x : D) |
| 91 | (hw : 0 ≤ w n x) : |
| 92 | majorant s w α C p n x ≤ majorant s w α C q n x := by |
| 93 | apply mul_le_mul_of_nonneg_right _ hw |
| 94 | exact mul_le_mul_of_nonneg_left (pow_le_pow_right₀ (s.one_le_growth n x) hpq) |
| 95 | (mul_nonneg hC (Real.rpow_pos_of_pos (s.epsilon_pos n) α).le) |
| 96 | |
| 97 | theorem majorant_mul (s : StripData D) (w v : ℕ → D → ℝ) |
| 98 | (α β A B : ℝ) (p q n : ℕ) (x : D) : |
| 99 | majorant s w α A p n x * majorant s v β B q n x = |
| 100 | majorant s (fun n x => w n x * v n x) (α + β) (A * B) (p + q) n x := by |
| 101 | unfold majorant |
| 102 | rw [Real.rpow_add (s.epsilon_pos n), pow_add] |
| 103 | ring |
| 104 | |
| 105 | /-- Actual all-order bounds, uniform in band and point. The finite prefix in |
| 106 | the last quantifier is useful for the higher Leibniz inequality. -/ |
| 107 | structure MemClass (s : StripData D) (w : ℕ → D → ℝ) (α : ℝ) |
| 108 | (f : ℕ → D → E) : Prop where |
| 109 | weight_nonneg : ∀ n x, x ∈ s.domain → 0 ≤ w n x |
| 110 | smooth : ∀ n, ContDiffOn ℝ ∞ (f n) s.domain |
| 111 | bounds : ∀ m : ℕ, ∃ C : ℝ, 0 ≤ C ∧ ∃ p : ℕ, |
| 112 | ∀ n x, x ∈ s.domain → ∀ j : ℕ, j ≤ m → |
| 113 | ‖iteratedFDeriv ℝ j (f n) x‖ ≤ majorant s w α C p n x |
| 114 | |
| 115 | abbrev MeanClass (s : StripData D) (α : ℝ) (f : ℕ → D → E) : Prop := |
| 116 | MemClass s (fun _ x => s.zeta x) α f |
| 117 | |
| 118 | abbrev WaveClass (s : StripData D) (P : ℕ → D → ℝ) (α : ℝ) |
| 119 | (f : ℕ → D → E) : Prop := |
| 120 | MemClass s (fun n x => Real.sqrt (s.zeta x) * P n x) α f |
| 121 | |
| 122 | abbrev UnweightedClass (s : StripData D) (α : ℝ) (f : ℕ → D → E) : Prop := |
| 123 | MemClass s (fun _ _ => 1) α f |
| 124 | |
| 125 | /-- Stage constants are deliberately not uniform in the stage index. -/ |
| 126 | def StageClasses (s : StripData D) (w : ℕ → D → ℝ) (α : ℕ → ℝ) |
| 127 | (f : ℕ → ℕ → D → E) : Prop := ∀ stage, MemClass s w (α stage) (f stage) |
| 128 | |
| 129 | /-- A bound on a band-dependent scalar. There is no spatial derivative of |
| 130 | the discrete band index. -/ |
| 131 | def BandBound (s : StripData D) (β : ℝ) (a : ℕ → ℝ) : Prop := |
| 132 | ∃ C : ℝ, 0 ≤ C ∧ ∃ p : ℕ, |
| 133 | ∀ n, ‖a n‖ ≤ C * s.epsilon n ^ β * s.slow n ^ p |
| 134 | |
| 135 | namespace MemClass |
| 136 | |
| 137 | variable {s : StripData D} {w v : ℕ → D → ℝ} {α β : ℝ} |
| 138 | {f g : ℕ → D → E} |
| 139 | |
| 140 | theorem contDiffAt (hf : MemClass s w α f) (n : ℕ) {x : D} |
| 141 | (hx : x ∈ s.domain) (m : ℕ) : ContDiffAt ℝ m (f n) x := |
| 142 | ((hf.smooth n).contDiffAt (s.isOpen_domain.mem_nhds hx)).of_le |
| 143 | (ENat.natCast_le_of_coe_top_le_withTop le_rfl m) |
| 144 | |
| 145 | /-- The common-degree definition accepts the manuscript's separate |
| 146 | logarithmic and inverse-edge polynomial degrees. -/ |
| 147 | theorem of_separate_bounds |
| 148 | (hw : ∀ n x, x ∈ s.domain → 0 ≤ w n x) |
| 149 | (hsmooth : ∀ n, ContDiffOn ℝ ∞ (f n) s.domain) |
| 150 | (hb : ∀ m : ℕ, ∃ C : ℝ, 0 ≤ C ∧ ∃ p q : ℕ, |
| 151 | ∀ n x, x ∈ s.domain → ∀ j : ℕ, j ≤ m → |
| 152 | ‖iteratedFDeriv ℝ j (f n) x‖ ≤ |
| 153 | C * s.epsilon n ^ α * s.slow n ^ p * (max 1 (s.delta x)⁻¹) ^ q * w n x) : |
| 154 | MemClass s w α f := by |
| 155 | refine ⟨hw, hsmooth, ?_⟩ |
| 156 | intro m |
| 157 | obtain ⟨C, hC, p, q, h⟩ := hb m |
| 158 | refine ⟨C, hC, p + q, ?_⟩ |
| 159 | intro n x hx j hj |
| 160 | apply (h n x hx j hj).trans |
| 161 | calc |
| 162 | _ = (C * s.epsilon n ^ α) * |
| 163 | (s.slow n ^ p * (max 1 (s.delta x)⁻¹) ^ q) * w n x := by ring |
| 164 | _ ≤ (C * s.epsilon n ^ α) * s.growth n x ^ (p + q) * w n x := |
| 165 | mul_le_mul_of_nonneg_right |
| 166 | (mul_le_mul_of_nonneg_left (s.separate_powers_le_growth p q n x) |
| 167 | (mul_nonneg hC (Real.rpow_pos_of_pos (s.epsilon_pos n) α).le)) (hw n x hx) |
| 168 | _ = _ := rfl |
| 169 | |
| 170 | theorem zero (hw : ∀ n x, x ∈ s.domain → 0 ≤ w n x) : |
| 171 | MemClass s w α (fun _ _ => (0 : E)) := by |
| 172 | refine ⟨hw, fun _ => contDiffOn_const, ?_⟩ |
| 173 | intro m |
| 174 | refine ⟨0, le_rfl, 0, ?_⟩ |
| 175 | intro n x hx j hj |
| 176 | simp [majorant] |
| 177 | |
| 178 | theorem mono_weight (hf : MemClass s w α f) |
| 179 | (hv : ∀ n x, x ∈ s.domain → 0 ≤ v n x) |
| 180 | (hwv : ∀ n x, x ∈ s.domain → w n x ≤ v n x) : MemClass s v α f := by |
| 181 | refine ⟨hv, hf.smooth, ?_⟩ |
| 182 | intro m |
| 183 | obtain ⟨C, hC, p, h⟩ := hf.bounds m |
| 184 | refine ⟨C, hC, p, ?_⟩ |
| 185 | intro n x hx j hj |
| 186 | apply (h n x hx j hj).trans |
| 187 | apply mul_le_mul_of_nonneg_left (hwv n x hx) |
| 188 | exact mul_nonneg (mul_nonneg hC (Real.rpow_pos_of_pos (s.epsilon_pos n) α).le) |
| 189 | (pow_nonneg (s.growth_nonneg n x) p) |
| 190 | |
| 191 | theorem mono_exponent (hf : MemClass s w α f) (hβα : β ≤ α) : |
| 192 | MemClass s w β f := by |
| 193 | refine ⟨hf.weight_nonneg, hf.smooth, ?_⟩ |
| 194 | intro m |
| 195 | obtain ⟨C, hC, p, h⟩ := hf.bounds m |
| 196 | refine ⟨C, hC, p, ?_⟩ |
| 197 | intro n x hx j hj |
| 198 | apply (h n x hx j hj).trans |
| 199 | apply mul_le_mul_of_nonneg_right _ (hf.weight_nonneg n x hx) |
| 200 | apply mul_le_mul_of_nonneg_right _ (pow_nonneg (s.growth_nonneg n x) p) |
| 201 | exact mul_le_mul_of_nonneg_left |
| 202 | (Real.rpow_le_rpow_of_exponent_ge (s.epsilon_pos n) (s.epsilon_le_one n) hβα) hC |
| 203 | |
| 204 | theorem add (hf : MemClass s w α f) (hg : MemClass s w α g) : |
| 205 | MemClass s w α (fun n x => f n x + g n x) := by |
| 206 | refine ⟨hf.weight_nonneg, fun n => (hf.smooth n).add (hg.smooth n), ?_⟩ |
| 207 | intro m |
| 208 | obtain ⟨A, hA, p, ha⟩ := hf.bounds m |
| 209 | obtain ⟨B, hB, q, hb⟩ := hg.bounds m |
| 210 | refine ⟨A + B, add_nonneg hA hB, p + q, ?_⟩ |
| 211 | intro n x hx j hj |
| 212 | rw [fun_iteratedFDeriv_add_apply (hf.contDiffAt n hx j) (hg.contDiffAt n hx j)] |
| 213 | calc |
| 214 | _ ≤ ‖iteratedFDeriv ℝ j (f n) x‖ + ‖iteratedFDeriv ℝ j (g n) x‖ := norm_add_le _ _ |
| 215 | _ ≤ majorant s w α A p n x + majorant s w α B q n x := |
| 216 | add_le_add (ha n x hx j hj) (hb n x hx j hj) |
| 217 | _ ≤ majorant s w α A (p + q) n x + majorant s w α B (p + q) n x := |
| 218 | add_le_add (majorant_mono_degree s w α hA (Nat.le_add_right p q) n x |
| 219 | (hf.weight_nonneg n x hx)) |
| 220 | (majorant_mono_degree s w α hB (Nat.le_add_left q p) n x |
| 221 | (hf.weight_nonneg n x hx)) |
| 222 | _ = _ := by unfold majorant; ring |
| 223 | |
| 224 | theorem add_min (hf : MemClass s w α f) (hg : MemClass s w β g) : |
| 225 | MemClass s w (min α β) (fun n x => f n x + g n x) := |
| 226 | (hf.mono_exponent (min_le_left _ _)).add (hg.mono_exponent (min_le_right _ _)) |
| 227 | |
| 228 | theorem fderiv (hf : MemClass s w α f) : |
| 229 | MemClass s w α (fun n => _root_.fderiv ℝ (f n)) := by |
| 230 | refine ⟨hf.weight_nonneg, ?_, ?_⟩ |
| 231 | · intro n |
| 232 | exact (contDiffOn_infty_iff_fderiv_of_isOpen s.isOpen_domain).mp (hf.smooth n) |>.2 |
| 233 | · intro m |
| 234 | obtain ⟨C, hC, p, h⟩ := hf.bounds (m + 1) |
| 235 | refine ⟨C, hC, p, ?_⟩ |
| 236 | intro n x hx j hj |
| 237 | rw [norm_iteratedFDeriv_fderiv] |
| 238 | exact h n x hx (j + 1) (Nat.add_le_add_right hj 1) |
| 239 | |
| 240 | theorem map (hf : MemClass s w α f) (L : E →L[ℝ] F) : |
| 241 | MemClass s w α (fun n x => L (f n x)) := by |
| 242 | refine ⟨hf.weight_nonneg, fun n => (hf.smooth n).continuousLinearMap_comp L, ?_⟩ |
| 243 | intro m |
| 244 | obtain ⟨C, hC, p, h⟩ := hf.bounds m |
| 245 | refine ⟨‖L‖ * C, mul_nonneg (norm_nonneg _) hC, p, ?_⟩ |
| 246 | intro n x hx j hj |
| 247 | change ‖iteratedFDeriv ℝ j (L ∘ f n) x‖ ≤ _ |
| 248 | rw [L.iteratedFDeriv_comp_left (hf.contDiffAt n hx j) le_rfl] |
| 249 | calc |
| 250 | _ ≤ ‖L‖ * ‖iteratedFDeriv ℝ j (f n) x‖ := |
| 251 | L.norm_compContinuousMultilinearMap_le _ |
| 252 | _ ≤ ‖L‖ * majorant s w α C p n x := |
| 253 | mul_le_mul_of_nonneg_left (h n x hx j hj) (norm_nonneg _) |
| 254 | _ = _ := by unfold majorant; ring |
| 255 | |
| 256 | theorem directional (hf : MemClass s w α f) (v : D) : |
| 257 | MemClass s w α (fun n x => _root_.fderiv ℝ (f n) x v) := |
| 258 | hf.fderiv.map (ContinuousLinearMap.apply ℝ E v) |
| 259 | |
| 260 | private theorem bilinear_bound_at (L : E →L[ℝ] F →L[ℝ] G) |
| 261 | {u : D → E} {v : D → F} {A B : ℝ} {m j : ℕ} {x : D} |
| 262 | (hx : x ∈ s.domain) (hu : ContDiffOn ℝ ∞ u s.domain) |
| 263 | (hv : ContDiffOn ℝ ∞ v s.domain) (hA : 0 ≤ A) (hB : 0 ≤ B) |
| 264 | (hju : ∀ i ≤ m, ‖iteratedFDeriv ℝ i u x‖ ≤ A) |
| 265 | (hjv : ∀ i ≤ m, ‖iteratedFDeriv ℝ i v x‖ ≤ B) (hjm : j ≤ m) : |
| 266 | ‖iteratedFDeriv ℝ j (fun y => L (u y) (v y)) x‖ ≤ |
| 267 | ‖L‖ * (2 : ℝ) ^ m * A * B := by |
| 268 | have hsum : (∑ i ∈ Finset.range (j + 1), (j.choose i : ℝ) * |
| 269 | ‖iteratedFDeriv ℝ i u x‖ * ‖iteratedFDeriv ℝ (j - i) v x‖) ≤ |
| 270 | (2 : ℝ) ^ m * A * B := by |
| 271 | calc |
| 272 | _ ≤ ∑ i ∈ Finset.range (j + 1), (j.choose i : ℝ) * A * B := by |
| 273 | apply Finset.sum_le_sum |
| 274 | intro i hi |
| 275 | have hij : i ≤ j := Nat.le_of_lt_succ (Finset.mem_range.mp hi) |
| 276 | apply mul_le_mul |
| 277 | · exact mul_le_mul_of_nonneg_left (hju i (hij.trans hjm)) (Nat.cast_nonneg _) |
| 278 | · exact hjv (j - i) ((Nat.sub_le _ _).trans hjm) |
| 279 | · exact norm_nonneg _ |
| 280 | · exact mul_nonneg (Nat.cast_nonneg _) hA |
| 281 | _ = (2 : ℝ) ^ j * A * B := by |
| 282 | rw [← Finset.sum_mul, ← Finset.sum_mul] |
| 283 | have hc : (∑ i ∈ Finset.range (j + 1), (j.choose i : ℝ)) = (2 : ℝ) ^ j := by |
| 284 | exact_mod_cast Nat.sum_range_choose j |
| 285 | rw [hc] |
| 286 | _ ≤ (2 : ℝ) ^ m * A * B := |
| 287 | mul_le_mul_of_nonneg_right |
| 288 | (mul_le_mul_of_nonneg_right (pow_le_pow_right₀ (by norm_num) hjm) hA) hB |
| 289 | calc |
| 290 | _ ≤ ‖L‖ * ∑ i ∈ Finset.range (j + 1), (j.choose i : ℝ) * |
| 291 | ‖iteratedFDeriv ℝ i u x‖ * ‖iteratedFDeriv ℝ (j - i) v x‖ := |
| 292 | JetBounds.norm_iteratedFDeriv_bilinear_le_on L s.isOpen_domain hu hv hx |
| 293 | (ENat.natCast_le_of_coe_top_le_withTop le_rfl j) |
| 294 | _ ≤ ‖L‖ * ((2 : ℝ) ^ m * A * B) := |
| 295 | mul_le_mul_of_nonneg_left hsum (norm_nonneg L) |
| 296 | _ = _ := by ring |
| 297 | |
| 298 | /-- Actual higher Leibniz estimates add the two decay exponents. -/ |
| 299 | theorem bilinear {u : ℕ → D → F} (hf : MemClass s w α f) |
| 300 | (hu : MemClass s v β u) (L : E →L[ℝ] F →L[ℝ] G) : |
| 301 | MemClass s (fun n x => w n x * v n x) (α + β) |
| 302 | (fun n x => L (f n x) (u n x)) := by |
| 303 | refine ⟨fun n x hx => mul_nonneg (hf.weight_nonneg n x hx) (hu.weight_nonneg n x hx), |
| 304 | fun n => (L.contDiff.comp_contDiffOn (hf.smooth n)).clm_apply (hu.smooth n), ?_⟩ |
| 305 | intro m |
| 306 | obtain ⟨A, hA, p, ha⟩ := hf.bounds m |
| 307 | obtain ⟨B, hB, q, hb⟩ := hu.bounds m |
| 308 | refine ⟨‖L‖ * (2 : ℝ) ^ m * A * B, by positivity, p + q, ?_⟩ |
| 309 | intro n x hx j hj |
| 310 | calc |
| 311 | _ ≤ ‖L‖ * (2 : ℝ) ^ m * majorant s w α A p n x * majorant s v β B q n x := |
| 312 | bilinear_bound_at L hx (hf.smooth n) (hu.smooth n) |
| 313 | (majorant_nonneg s w α hA p n x (hf.weight_nonneg n x hx)) |
| 314 | (majorant_nonneg s v β hB q n x (hu.weight_nonneg n x hx)) |
| 315 | (fun i hi => ha n x hx i hi) (fun i hi => hb n x hx i hi) hj |
| 316 | _ = (‖L‖ * (2 : ℝ) ^ m) * |
| 317 | (majorant s w α A p n x * majorant s v β B q n x) := by ring |
| 318 | _ = _ := by |
| 319 | rw [majorant_mul] |
| 320 | unfold majorant |
| 321 | ring |
| 322 | |
| 323 | theorem smul {a : ℕ → D → ℝ} (ha : MemClass s v β a) |
| 324 | (hf : MemClass s w α f) : |
| 325 | MemClass s (fun n x => v n x * w n x) (β + α) |
| 326 | (fun n x => a n x • f n x) := |
| 327 | ha.bilinear hf (ContinuousLinearMap.lsmul ℝ ℝ) |
| 328 | |
| 329 | theorem mul {a b : ℕ → D → ℝ} (ha : MemClass s w α a) |
| 330 | (hb : MemClass s v β b) : |
| 331 | MemClass s (fun n x => w n x * v n x) (α + β) |
| 332 | (fun n x => a n x * b n x) := by |
| 333 | simpa only [smul_eq_mul] using ha.smul hb |
| 334 | |
| 335 | theorem band_smul {a : ℕ → ℝ} (hf : MemClass s w α f) (ha : BandBound s β a) : |
| 336 | MemClass s w (α + β) (fun n x => a n • f n x) := by |
| 337 | obtain ⟨A, hA, p, ha⟩ := ha |
| 338 | refine ⟨hf.weight_nonneg, fun n => (hf.smooth n).const_smul (a n), ?_⟩ |
| 339 | intro m |
| 340 | obtain ⟨B, hB, q, hb⟩ := hf.bounds m |
| 341 | refine ⟨A * B, mul_nonneg hA hB, p + q, ?_⟩ |
| 342 | intro n x hx j hj |
| 343 | have han : ‖a n‖ ≤ majorant s (fun _ _ => 1) β A p n x := by |
| 344 | apply (ha n).trans |
| 345 | simp only [majorant, mul_one] |
| 346 | apply mul_le_mul_of_nonneg_left |
| 347 | (pow_le_pow_left₀ (zero_le_one.trans (s.one_le_slow n)) (s.slow_le_growth n x) p) |
| 348 | exact mul_nonneg hA (Real.rpow_pos_of_pos (s.epsilon_pos n) β).le |
| 349 | rw [iteratedFDeriv_const_smul_apply' (hf.contDiffAt n hx j)] |
| 350 | rw [norm_smul (a n) (iteratedFDeriv ℝ j (f n) x)] |
| 351 | calc |
| 352 | _ ≤ majorant s (fun _ _ => 1) β A p n x * majorant s w α B q n x := |
| 353 | mul_le_mul han (hb n x hx j hj) (norm_nonneg _) |
| 354 | (majorant_nonneg s (fun _ _ => 1) β hA p n x (by norm_num)) |
| 355 | _ = majorant s (fun n x => 1 * w n x) (β + α) (A * B) (p + q) n x := |
| 356 | majorant_mul s (fun _ _ => 1) w β α A B p q n x |
| 357 | _ = _ := by simp only [majorant, one_mul, add_comm β α] |
| 358 | |
| 359 | theorem sum {ι : Type*} (t : Finset ι) (u : ι → ℕ → D → E) |
| 360 | (hw : ∀ n x, x ∈ s.domain → 0 ≤ w n x) |
| 361 | (hu : ∀ i ∈ t, MemClass s w α (u i)) : |
| 362 | MemClass s w α (fun n x => ∑ i ∈ t, u i n x) := by |
| 363 | classical |
| 364 | revert hu |
| 365 | induction t using Finset.induction_on with |
| 366 | | empty => |
| 367 | intro _ |
| 368 | simpa using (zero (s := s) (α := α) (E := E) hw) |
| 369 | | @insert i t hit ih => |
| 370 | intro hu |
| 371 | have hi := hu i (Finset.mem_insert_self i t) |
| 372 | have ht := ih (fun j hj => hu j (Finset.mem_insert_of_mem hj)) |
| 373 | simpa only [Finset.sum_insert hit] using hi.add ht |
| 374 | |
| 375 | end MemClass |
| 376 | |
| 377 | /-- Constant coefficients give nonzero examples of the unweighted class. -/ |
| 378 | theorem unweighted_const (s : StripData D) (c : E) : |
| 379 | UnweightedClass s 0 (fun _ _ => c) := by |
| 380 | refine ⟨fun _ _ _ => zero_le_one, fun _ => contDiffOn_const, ?_⟩ |
| 381 | intro m |
| 382 | refine ⟨‖c‖, norm_nonneg c, 0, ?_⟩ |
| 383 | intro n x hx j hj |
| 384 | by_cases hj0 : j = 0 |
| 385 | · subst j |
| 386 | simp [majorant, norm_iteratedFDeriv_zero] |
| 387 | · rw [iteratedFDeriv_const_of_ne hj0] |
| 388 | simp [majorant] |
| 389 | |
| 390 | /-- A fixed coefficient with uniform finite jet bounds is an order-zero |
| 391 | unweighted coefficient. This connects the class directly to `JetBounds`. -/ |
| 392 | theorem unweighted_of_finiteJetBounds (s : StripData D) (a : D → E) |
| 393 | (ha : ContDiffOn ℝ ∞ a s.domain) |
| 394 | (hb : ∀ m : ℕ, ∃ C : ℝ, JetBounds.FiniteJetBound m a s.domain C) : |
| 395 | UnweightedClass s 0 (fun _ => a) := by |
| 396 | refine ⟨fun _ _ _ => zero_le_one, fun _ => ha, ?_⟩ |
| 397 | intro m |
| 398 | obtain ⟨C, hC⟩ := hb m |
| 399 | refine ⟨max C 0, le_max_right _ _, 0, ?_⟩ |
| 400 | intro n x hx j hj |
| 401 | simpa only [majorant, Real.rpow_zero, pow_zero, mul_one] using |
| 402 | (hC j hj x hx).trans (le_max_left C 0) |
| 403 | |
| 404 | theorem bandBound_rpow (s : StripData D) (β : ℝ) : |
| 405 | BandBound s β (fun n => s.epsilon n ^ β) := by |
| 406 | refine ⟨1, zero_le_one, 0, ?_⟩ |
| 407 | intro n |
| 408 | simp [Real.norm_eq_abs, abs_of_pos (Real.rpow_pos_of_pos (s.epsilon_pos n) β)] |
| 409 | |
| 410 | /-- Wave products have the mean weight. This uses the actual Leibniz estimate |
| 411 | on coefficients, followed by `(sqrt ζ * P)^2 ≤ ζ`; no derivative identity for |
| 412 | the envelope `P` is postulated. -/ |
| 413 | theorem WaveClass.bilinear_mean {s : StripData D} {P : ℕ → D → ℝ} |
| 414 | {α β : ℝ} {f : ℕ → D → E} {g : ℕ → D → F} |
| 415 | (hf : WaveClass s P α f) (hg : WaveClass s P β g) |
| 416 | (hP0 : ∀ n x, x ∈ s.domain → 0 ≤ P n x) |
| 417 | (hP1 : ∀ n x, x ∈ s.domain → P n x ≤ 1) |
| 418 | (L : E →L[ℝ] F →L[ℝ] G) : |
| 419 | MeanClass s (α + β) (fun n x => L (f n x) (g n x)) := by |
| 420 | apply (MemClass.bilinear hf hg L).mono_weight (fun _ x hx => s.zeta_nonneg x hx) |
| 421 | intro n x hx |
| 422 | have hP2 : P n x * P n x ≤ 1 := by |
| 423 | nlinarith [hP0 n x hx, hP1 n x hx] |
| 424 | calc |
| 425 | _ = (Real.sqrt (s.zeta x)) ^ 2 * (P n x * P n x) := by ring |
| 426 | _ = s.zeta x * (P n x * P n x) := by rw [Real.sq_sqrt (s.zeta_nonneg x hx)] |
| 427 | _ ≤ s.zeta x * 1 := mul_le_mul_of_nonneg_left hP2 (s.zeta_nonneg x hx) |
| 428 | _ = _ := mul_one _ |
| 429 | |
| 430 | theorem WaveClass.mul_mean {s : StripData D} {P : ℕ → D → ℝ} |
| 431 | {α β : ℝ} {f g : ℕ → D → ℝ} |
| 432 | (hf : WaveClass s P α f) (hg : WaveClass s P β g) |
| 433 | (hP0 : ∀ n x, x ∈ s.domain → 0 ≤ P n x) |
| 434 | (hP1 : ∀ n x, x ∈ s.domain → P n x ≤ 1) : |
| 435 | MeanClass s (α + β) (fun n x => f n x * g n x) := by |
| 436 | simpa only [ContinuousLinearMap.lsmul_apply, smul_eq_mul] using |
| 437 | hf.bilinear_mean hg hP0 hP1 (ContinuousLinearMap.lsmul ℝ ℝ) |
| 438 | |
| 439 | /-- A normalized bounded radial weight makes the mean class an algebra. -/ |
| 440 | theorem MeanClass.bilinear {s : StripData D} {α β : ℝ} |
| 441 | {f : ℕ → D → E} {g : ℕ → D → F} |
| 442 | (hf : MeanClass s α f) (hg : MeanClass s β g) |
| 443 | (hζ : ∀ x ∈ s.domain, s.zeta x ≤ 1) (L : E →L[ℝ] F →L[ℝ] G) : |
| 444 | MeanClass s (α + β) (fun n x => L (f n x) (g n x)) := by |
| 445 | apply (MemClass.bilinear hf hg L).mono_weight (fun _ x hx => s.zeta_nonneg x hx) |
| 446 | intro n x hx |
| 447 | simpa only [mul_one] using |
| 448 | mul_le_mul_of_nonneg_left (hζ x hx) (s.zeta_nonneg x hx) |
| 449 | |
| 450 | theorem MeanClass.bilinear_wave {s : StripData D} {P : ℕ → D → ℝ} |
| 451 | {α β : ℝ} {f : ℕ → D → E} {g : ℕ → D → F} |
| 452 | (hf : MeanClass s α f) (hg : WaveClass s P β g) |
| 453 | (hζ : ∀ x ∈ s.domain, s.zeta x ≤ 1) (L : E →L[ℝ] F →L[ℝ] G) : |
| 454 | WaveClass s P (α + β) (fun n x => L (f n x) (g n x)) := by |
| 455 | apply (MemClass.bilinear hf hg L).mono_weight hg.weight_nonneg |
| 456 | intro n x hx |
| 457 | simpa only [one_mul] using |
| 458 | mul_le_mul_of_nonneg_right (hζ x hx) (hg.weight_nonneg n x hx) |
| 459 | |
| 460 | /-- An explicit radial graph operator with a band coefficient `M` and a |
| 461 | spatial coefficient `a`. The two directions can be radial and auxiliary. -/ |
| 462 | noncomputable def graphDerivative (M : ℕ → ℝ) (a : D → ℝ) (e v : D) |
| 463 | (f : ℕ → D → E) : ℕ → D → E := |
| 464 | fun n x => fderiv ℝ (f n) x e + M n • (a x • fderiv ℝ (f n) x v) |
| 465 | |
| 466 | /-- The expanded operator really is differentiation along its graph vector. -/ |
| 467 | theorem graphDerivative_eq_along (M : ℕ → ℝ) (a : D → ℝ) (e v : D) |
| 468 | (f : ℕ → D → E) (n : ℕ) (x : D) : |
| 469 | graphDerivative M a e v f n x = |
| 470 | fderiv ℝ (f n) x (e + M n • (a x • v)) := by |
| 471 | simp [graphDerivative] |
| 472 | |
| 473 | /-- One explicit graph derivative loses at most `κ` in the band exponent. |
| 474 | The coefficient hypothesis is an actual all-jet bound on `a`, not a claim |
| 475 | about the desired output. -/ |
| 476 | theorem MemClass.graphDerivative {s : StripData D} {w : ℕ → D → ℝ} |
| 477 | {α κ : ℝ} {f : ℕ → D → E} {M : ℕ → ℝ} {a : D → ℝ} |
| 478 | (hf : MemClass s w α f) (ha : UnweightedClass s 0 (fun _ => a)) |
| 479 | (hM : BandBound s (-κ) M) (hκ : 0 ≤ κ) (e v : D) : |
| 480 | MemClass s w (α - κ) (graphDerivative M a e v f) := by |
| 481 | have he : MemClass s w (α - κ) (fun n x => _root_.fderiv ℝ (f n) x e) := |
| 482 | (hf.directional e).mono_exponent (sub_le_self α hκ) |
| 483 | have hv : MemClass s w α (fun n x => a x • _root_.fderiv ℝ (f n) x v) := by |
| 484 | simpa only [zero_add, one_mul] using MemClass.smul ha (hf.directional v) |
| 485 | have hmv : MemClass s w (α - κ) |
| 486 | (fun n x => M n • (a x • _root_.fderiv ℝ (f n) x v)) := by |
| 487 | simpa only [sub_eq_add_neg] using hv.band_smul hM |
| 488 | exact he.add hmv |
| 489 | |
| 490 | noncomputable def graphIterate (M : ℕ → ℝ) (a : D → ℝ) (e v : D) |
| 491 | (f : ℕ → D → E) : ℕ → ℕ → D → E |
| 492 | | 0 => f |
| 493 | | j + 1 => graphDerivative M a e v (graphIterate M a e v f j) |
| 494 | |
| 495 | /-- Every finite number of explicit graph derivatives has its finite loss. |
| 496 | Arbitrarily high *additional stripped jets* are still controlled at the same |
| 497 | resulting exponent, as recorded by `MemClass`. -/ |
| 498 | theorem MemClass.graphIterate {s : StripData D} {w : ℕ → D → ℝ} |
| 499 | {α κ : ℝ} {f : ℕ → D → E} {M : ℕ → ℝ} {a : D → ℝ} |
| 500 | (hf : MemClass s w α f) (ha : UnweightedClass s 0 (fun _ => a)) |
| 501 | (hM : BandBound s (-κ) M) (hκ : 0 ≤ κ) (e v : D) (j : ℕ) : |
| 502 | MemClass s w (α - (j : ℝ) * κ) (graphIterate M a e v f j) := by |
| 503 | induction j with |
| 504 | | zero => |
| 505 | unfold WeightedClasses.graphIterate |
| 506 | simpa only [Nat.cast_zero, zero_mul, sub_zero] using hf |
| 507 | | succ j ih => |
| 508 | have h := ih.graphDerivative ha hM hκ e v |
| 509 | have he : (α - (j : ℝ) * κ) - κ = α - ((j + 1 : ℕ) : ℝ) * κ := by |
| 510 | push_cast |
| 511 | ring |
| 512 | rw [he] at h |
| 513 | exact h |
| 514 | |
| 515 | end |
| 516 | |
| 517 | end NavierStokes.WeightedClasses |