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 | /-- A common polynomial degree in `S` and the inverse edge distance is enough: |
| 46 | separate finite degrees can always be increased to their sum. The maximum |
| 47 | permits arbitrary positive `delta`, agreeing with `delta⁻¹` when `delta ≤ 1`. -/ |
| 48 | def StripData.growth (s : StripData D) (n : ℕ) (x : D) : ℝ := |
| 49 | s.slow n * max 1 (s.delta x)⁻¹ |
| 50 | |
| 51 | theorem StripData.one_le_growth (s : StripData D) (n : ℕ) (x : D) : |
| 52 | 1 ≤ s.growth n x := |
| 53 | one_le_mul_of_one_le_of_one_le (s.one_le_slow n) (le_max_left _ _) |
| 54 | |
| 55 | theorem StripData.growth_nonneg (s : StripData D) (n : ℕ) (x : D) : |
| 56 | 0 ≤ s.growth n x := le_trans zero_le_one (s.one_le_growth n x) |
| 57 | |
| 58 | theorem StripData.slow_le_growth (s : StripData D) (n : ℕ) (x : D) : |
| 59 | s.slow n ≤ s.growth n x := by |
| 60 | exact le_mul_of_one_le_right ((zero_le_one.trans (s.one_le_slow n))) |
| 61 | (le_max_left _ _) |
| 62 | |
| 63 | def majorant (s : StripData D) (w : ℕ → D → ℝ) (α C : ℝ) (p n : ℕ) (x : D) : ℝ := |
| 64 | C * s.epsilon n ^ α * s.growth n x ^ p * w n x |
| 65 | |
| 66 | theorem majorant_nonneg (s : StripData D) (w : ℕ → D → ℝ) (α : ℝ) |
| 67 | {C : ℝ} (hC : 0 ≤ C) (p n : ℕ) (x : D) (hw : 0 ≤ w n x) : |
| 68 | 0 ≤ majorant s w α C p n x := by |
| 69 | unfold majorant |
| 70 | exact mul_nonneg (mul_nonneg (mul_nonneg hC |
| 71 | (Real.rpow_pos_of_pos (s.epsilon_pos n) α).le) |
| 72 | (pow_nonneg (s.growth_nonneg n x) p)) hw |
| 73 | |
| 74 | theorem majorant_mono_degree (s : StripData D) (w : ℕ → D → ℝ) (α : ℝ) |
| 75 | {C : ℝ} (hC : 0 ≤ C) {p q : ℕ} (hpq : p ≤ q) (n : ℕ) (x : D) |
| 76 | (hw : 0 ≤ w n x) : |
| 77 | majorant s w α C p n x ≤ majorant s w α C q n x := by |
| 78 | apply mul_le_mul_of_nonneg_right _ hw |
| 79 | exact mul_le_mul_of_nonneg_left (pow_le_pow_right₀ (s.one_le_growth n x) hpq) |
| 80 | (mul_nonneg hC (Real.rpow_pos_of_pos (s.epsilon_pos n) α).le) |
| 81 | |
| 82 | theorem majorant_mul (s : StripData D) (w v : ℕ → D → ℝ) |
| 83 | (α β A B : ℝ) (p q n : ℕ) (x : D) : |
| 84 | majorant s w α A p n x * majorant s v β B q n x = |
| 85 | majorant s (fun n x => w n x * v n x) (α + β) (A * B) (p + q) n x := by |
| 86 | unfold majorant |
| 87 | rw [Real.rpow_add (s.epsilon_pos n), pow_add] |
| 88 | ring |
| 89 | |
| 90 | /-- Actual all-order bounds, uniform in band and point. The finite prefix in |
| 91 | the last quantifier is useful for the higher Leibniz inequality. -/ |
| 92 | structure MemClass (s : StripData D) (w : ℕ → D → ℝ) (α : ℝ) |
| 93 | (f : ℕ → D → E) : Prop where |
| 94 | weight_nonneg : ∀ n x, x ∈ s.domain → 0 ≤ w n x |
| 95 | smooth : ∀ n, ContDiffOn ℝ ∞ (f n) s.domain |
| 96 | bounds : ∀ m : ℕ, ∃ C : ℝ, 0 ≤ C ∧ ∃ p : ℕ, |
| 97 | ∀ n x, x ∈ s.domain → ∀ j : ℕ, j ≤ m → |
| 98 | ‖iteratedFDeriv ℝ j (f n) x‖ ≤ majorant s w α C p n x |
| 99 | |
| 100 | abbrev MeanClass (s : StripData D) (α : ℝ) (f : ℕ → D → E) : Prop := |
| 101 | MemClass s (fun _ x => s.zeta x) α f |
| 102 | |
| 103 | abbrev WaveClass (s : StripData D) (P : ℕ → D → ℝ) (α : ℝ) |
| 104 | (f : ℕ → D → E) : Prop := |
| 105 | MemClass s (fun n x => Real.sqrt (s.zeta x) * P n x) α f |
| 106 | |
| 107 | abbrev UnweightedClass (s : StripData D) (α : ℝ) (f : ℕ → D → E) : Prop := |
| 108 | MemClass s (fun _ _ => 1) α f |
| 109 | |
| 110 | /-- A bound on a band-dependent scalar. There is no spatial derivative of |
| 111 | the discrete band index. -/ |
| 112 | def BandBound (s : StripData D) (β : ℝ) (a : ℕ → ℝ) : Prop := |
| 113 | ∃ C : ℝ, 0 ≤ C ∧ ∃ p : ℕ, |
| 114 | ∀ n, ‖a n‖ ≤ C * s.epsilon n ^ β * s.slow n ^ p |
| 115 | |
| 116 | namespace MemClass |
| 117 | |
| 118 | variable {s : StripData D} {w v : ℕ → D → ℝ} {α β : ℝ} |
| 119 | {f g : ℕ → D → E} |
| 120 | |
| 121 | theorem contDiffAt (hf : MemClass s w α f) (n : ℕ) {x : D} |
| 122 | (hx : x ∈ s.domain) (m : ℕ) : ContDiffAt ℝ m (f n) x := |
| 123 | ((hf.smooth n).contDiffAt (s.isOpen_domain.mem_nhds hx)).of_le |
| 124 | (ENat.natCast_le_of_coe_top_le_withTop le_rfl m) |
| 125 | |
| 126 | theorem zero (hw : ∀ n x, x ∈ s.domain → 0 ≤ w n x) : |
| 127 | MemClass s w α (fun _ _ => (0 : E)) := by |
| 128 | refine ⟨hw, fun _ => contDiffOn_const, ?_⟩ |
| 129 | intro m |
| 130 | refine ⟨0, le_rfl, 0, ?_⟩ |
| 131 | intro n x hx j hj |
| 132 | simp [majorant] |
| 133 | |
| 134 | theorem mono_weight (hf : MemClass s w α f) |
| 135 | (hv : ∀ n x, x ∈ s.domain → 0 ≤ v n x) |
| 136 | (hwv : ∀ n x, x ∈ s.domain → w n x ≤ v n x) : MemClass s v α f := by |
| 137 | refine ⟨hv, hf.smooth, ?_⟩ |
| 138 | intro m |
| 139 | obtain ⟨C, hC, p, h⟩ := hf.bounds m |
| 140 | refine ⟨C, hC, p, ?_⟩ |
| 141 | intro n x hx j hj |
| 142 | apply (h n x hx j hj).trans |
| 143 | apply mul_le_mul_of_nonneg_left (hwv n x hx) |
| 144 | exact mul_nonneg (mul_nonneg hC (Real.rpow_pos_of_pos (s.epsilon_pos n) α).le) |
| 145 | (pow_nonneg (s.growth_nonneg n x) p) |
| 146 | |
| 147 | theorem mono_exponent (hf : MemClass s w α f) (hβα : β ≤ α) : |
| 148 | MemClass s w β f := by |
| 149 | refine ⟨hf.weight_nonneg, hf.smooth, ?_⟩ |
| 150 | intro m |
| 151 | obtain ⟨C, hC, p, h⟩ := hf.bounds m |
| 152 | refine ⟨C, hC, p, ?_⟩ |
| 153 | intro n x hx j hj |
| 154 | apply (h n x hx j hj).trans |
| 155 | apply mul_le_mul_of_nonneg_right _ (hf.weight_nonneg n x hx) |
| 156 | apply mul_le_mul_of_nonneg_right _ (pow_nonneg (s.growth_nonneg n x) p) |
| 157 | exact mul_le_mul_of_nonneg_left |
| 158 | (Real.rpow_le_rpow_of_exponent_ge (s.epsilon_pos n) (s.epsilon_le_one n) hβα) hC |
| 159 | |
| 160 | theorem add (hf : MemClass s w α f) (hg : MemClass s w α g) : |
| 161 | MemClass s w α (fun n x => f n x + g n x) := by |
| 162 | refine ⟨hf.weight_nonneg, fun n => (hf.smooth n).add (hg.smooth n), ?_⟩ |
| 163 | intro m |
| 164 | obtain ⟨A, hA, p, ha⟩ := hf.bounds m |
| 165 | obtain ⟨B, hB, q, hb⟩ := hg.bounds m |
| 166 | refine ⟨A + B, add_nonneg hA hB, p + q, ?_⟩ |
| 167 | intro n x hx j hj |
| 168 | rw [fun_iteratedFDeriv_add_apply (hf.contDiffAt n hx j) (hg.contDiffAt n hx j)] |
| 169 | calc |
| 170 | _ ≤ ‖iteratedFDeriv ℝ j (f n) x‖ + ‖iteratedFDeriv ℝ j (g n) x‖ := norm_add_le _ _ |
| 171 | _ ≤ majorant s w α A p n x + majorant s w α B q n x := |
| 172 | add_le_add (ha n x hx j hj) (hb n x hx j hj) |
| 173 | _ ≤ majorant s w α A (p + q) n x + majorant s w α B (p + q) n x := |
| 174 | add_le_add (majorant_mono_degree s w α hA (Nat.le_add_right p q) n x |
| 175 | (hf.weight_nonneg n x hx)) |
| 176 | (majorant_mono_degree s w α hB (Nat.le_add_left q p) n x |
| 177 | (hf.weight_nonneg n x hx)) |
| 178 | _ = _ := by unfold majorant; ring |
| 179 | |
| 180 | theorem fderiv (hf : MemClass s w α f) : |
| 181 | MemClass s w α (fun n => _root_.fderiv ℝ (f n)) := by |
| 182 | refine ⟨hf.weight_nonneg, ?_, ?_⟩ |
| 183 | · intro n |
| 184 | exact (contDiffOn_infty_iff_fderiv_of_isOpen s.isOpen_domain).mp (hf.smooth n) |>.2 |
| 185 | · intro m |
| 186 | obtain ⟨C, hC, p, h⟩ := hf.bounds (m + 1) |
| 187 | refine ⟨C, hC, p, ?_⟩ |
| 188 | intro n x hx j hj |
| 189 | rw [norm_iteratedFDeriv_fderiv] |
| 190 | exact h n x hx (j + 1) (Nat.add_le_add_right hj 1) |
| 191 | |
| 192 | theorem map (hf : MemClass s w α f) (L : E →L[ℝ] F) : |
| 193 | MemClass s w α (fun n x => L (f n x)) := by |
| 194 | refine ⟨hf.weight_nonneg, fun n => (hf.smooth n).continuousLinearMap_comp L, ?_⟩ |
| 195 | intro m |
| 196 | obtain ⟨C, hC, p, h⟩ := hf.bounds m |
| 197 | refine ⟨‖L‖ * C, mul_nonneg (norm_nonneg _) hC, p, ?_⟩ |
| 198 | intro n x hx j hj |
| 199 | change ‖iteratedFDeriv ℝ j (L ∘ f n) x‖ ≤ _ |
| 200 | rw [L.iteratedFDeriv_comp_left (hf.contDiffAt n hx j) le_rfl] |
| 201 | calc |
| 202 | _ ≤ ‖L‖ * ‖iteratedFDeriv ℝ j (f n) x‖ := |
| 203 | L.norm_compContinuousMultilinearMap_le _ |
| 204 | _ ≤ ‖L‖ * majorant s w α C p n x := |
| 205 | mul_le_mul_of_nonneg_left (h n x hx j hj) (norm_nonneg _) |
| 206 | _ = _ := by unfold majorant; ring |
| 207 | |
| 208 | theorem directional (hf : MemClass s w α f) (v : D) : |
| 209 | MemClass s w α (fun n x => _root_.fderiv ℝ (f n) x v) := |
| 210 | hf.fderiv.map (ContinuousLinearMap.apply ℝ E v) |
| 211 | |
| 212 | private theorem bilinear_bound_at (L : E →L[ℝ] F →L[ℝ] G) |
| 213 | {u : D → E} {v : D → F} {A B : ℝ} {m j : ℕ} {x : D} |
| 214 | (hx : x ∈ s.domain) (hu : ContDiffOn ℝ ∞ u s.domain) |
| 215 | (hv : ContDiffOn ℝ ∞ v s.domain) (hA : 0 ≤ A) (hB : 0 ≤ B) |
| 216 | (hju : ∀ i ≤ m, ‖iteratedFDeriv ℝ i u x‖ ≤ A) |
| 217 | (hjv : ∀ i ≤ m, ‖iteratedFDeriv ℝ i v x‖ ≤ B) (hjm : j ≤ m) : |
| 218 | ‖iteratedFDeriv ℝ j (fun y => L (u y) (v y)) x‖ ≤ |
| 219 | ‖L‖ * (2 : ℝ) ^ m * A * B := by |
| 220 | have hsum : (∑ i ∈ Finset.range (j + 1), (j.choose i : ℝ) * |
| 221 | ‖iteratedFDeriv ℝ i u x‖ * ‖iteratedFDeriv ℝ (j - i) v x‖) ≤ |
| 222 | (2 : ℝ) ^ m * A * B := by |
| 223 | calc |
| 224 | _ ≤ ∑ i ∈ Finset.range (j + 1), (j.choose i : ℝ) * A * B := by |
| 225 | apply Finset.sum_le_sum |
| 226 | intro i hi |
| 227 | have hij : i ≤ j := Nat.le_of_lt_succ (Finset.mem_range.mp hi) |
| 228 | apply mul_le_mul |
| 229 | · exact mul_le_mul_of_nonneg_left (hju i (hij.trans hjm)) (Nat.cast_nonneg _) |
| 230 | · exact hjv (j - i) ((Nat.sub_le _ _).trans hjm) |
| 231 | · exact norm_nonneg _ |
| 232 | · exact mul_nonneg (Nat.cast_nonneg _) hA |
| 233 | _ = (2 : ℝ) ^ j * A * B := by |
| 234 | rw [← Finset.sum_mul, ← Finset.sum_mul] |
| 235 | have hc : (∑ i ∈ Finset.range (j + 1), (j.choose i : ℝ)) = (2 : ℝ) ^ j := by |
| 236 | exact_mod_cast Nat.sum_range_choose j |
| 237 | rw [hc] |
| 238 | _ ≤ (2 : ℝ) ^ m * A * B := |
| 239 | mul_le_mul_of_nonneg_right |
| 240 | (mul_le_mul_of_nonneg_right (pow_le_pow_right₀ (by norm_num) hjm) hA) hB |
| 241 | calc |
| 242 | _ ≤ ‖L‖ * ∑ i ∈ Finset.range (j + 1), (j.choose i : ℝ) * |
| 243 | ‖iteratedFDeriv ℝ i u x‖ * ‖iteratedFDeriv ℝ (j - i) v x‖ := |
| 244 | JetBounds.norm_iteratedFDeriv_bilinear_le_on L s.isOpen_domain hu hv hx |
| 245 | (ENat.natCast_le_of_coe_top_le_withTop le_rfl j) |
| 246 | _ ≤ ‖L‖ * ((2 : ℝ) ^ m * A * B) := |
| 247 | mul_le_mul_of_nonneg_left hsum (norm_nonneg L) |
| 248 | _ = _ := by ring |
| 249 | |
| 250 | /-- Actual higher Leibniz estimates add the two decay exponents. -/ |
| 251 | theorem bilinear {u : ℕ → D → F} (hf : MemClass s w α f) |
| 252 | (hu : MemClass s v β u) (L : E →L[ℝ] F →L[ℝ] G) : |
| 253 | MemClass s (fun n x => w n x * v n x) (α + β) |
| 254 | (fun n x => L (f n x) (u n x)) := by |
| 255 | refine ⟨fun n x hx => mul_nonneg (hf.weight_nonneg n x hx) (hu.weight_nonneg n x hx), |
| 256 | fun n => (L.contDiff.comp_contDiffOn (hf.smooth n)).clm_apply (hu.smooth n), ?_⟩ |
| 257 | intro m |
| 258 | obtain ⟨A, hA, p, ha⟩ := hf.bounds m |
| 259 | obtain ⟨B, hB, q, hb⟩ := hu.bounds m |
| 260 | refine ⟨‖L‖ * (2 : ℝ) ^ m * A * B, by positivity, p + q, ?_⟩ |
| 261 | intro n x hx j hj |
| 262 | calc |
| 263 | _ ≤ ‖L‖ * (2 : ℝ) ^ m * majorant s w α A p n x * majorant s v β B q n x := |
| 264 | bilinear_bound_at L hx (hf.smooth n) (hu.smooth n) |
| 265 | (majorant_nonneg s w α hA p n x (hf.weight_nonneg n x hx)) |
| 266 | (majorant_nonneg s v β hB q n x (hu.weight_nonneg n x hx)) |
| 267 | (fun i hi => ha n x hx i hi) (fun i hi => hb n x hx i hi) hj |
| 268 | _ = (‖L‖ * (2 : ℝ) ^ m) * |
| 269 | (majorant s w α A p n x * majorant s v β B q n x) := by ring |
| 270 | _ = _ := by |
| 271 | rw [majorant_mul] |
| 272 | unfold majorant |
| 273 | ring |
| 274 | |
| 275 | theorem smul {a : ℕ → D → ℝ} (ha : MemClass s v β a) |
| 276 | (hf : MemClass s w α f) : |
| 277 | MemClass s (fun n x => v n x * w n x) (β + α) |
| 278 | (fun n x => a n x • f n x) := |
| 279 | ha.bilinear hf (ContinuousLinearMap.lsmul ℝ ℝ) |
| 280 | |
| 281 | theorem mul {a b : ℕ → D → ℝ} (ha : MemClass s w α a) |
| 282 | (hb : MemClass s v β b) : |
| 283 | MemClass s (fun n x => w n x * v n x) (α + β) |
| 284 | (fun n x => a n x * b n x) := by |
| 285 | simpa only [smul_eq_mul] using ha.smul hb |
| 286 | |
| 287 | theorem band_smul {a : ℕ → ℝ} (hf : MemClass s w α f) (ha : BandBound s β a) : |
| 288 | MemClass s w (α + β) (fun n x => a n • f n x) := by |
| 289 | obtain ⟨A, hA, p, ha⟩ := ha |
| 290 | refine ⟨hf.weight_nonneg, fun n => (hf.smooth n).const_smul (a n), ?_⟩ |
| 291 | intro m |
| 292 | obtain ⟨B, hB, q, hb⟩ := hf.bounds m |
| 293 | refine ⟨A * B, mul_nonneg hA hB, p + q, ?_⟩ |
| 294 | intro n x hx j hj |
| 295 | have han : ‖a n‖ ≤ majorant s (fun _ _ => 1) β A p n x := by |
| 296 | apply (ha n).trans |
| 297 | simp only [majorant, mul_one] |
| 298 | apply mul_le_mul_of_nonneg_left |
| 299 | (pow_le_pow_left₀ (zero_le_one.trans (s.one_le_slow n)) (s.slow_le_growth n x) p) |
| 300 | exact mul_nonneg hA (Real.rpow_pos_of_pos (s.epsilon_pos n) β).le |
| 301 | rw [iteratedFDeriv_const_smul_apply' (hf.contDiffAt n hx j)] |
| 302 | rw [norm_smul (a n) (iteratedFDeriv ℝ j (f n) x)] |
| 303 | calc |
| 304 | _ ≤ majorant s (fun _ _ => 1) β A p n x * majorant s w α B q n x := |
| 305 | mul_le_mul han (hb n x hx j hj) (norm_nonneg _) |
| 306 | (majorant_nonneg s (fun _ _ => 1) β hA p n x (by norm_num)) |
| 307 | _ = majorant s (fun n x => 1 * w n x) (β + α) (A * B) (p + q) n x := |
| 308 | majorant_mul s (fun _ _ => 1) w β α A B p q n x |
| 309 | _ = _ := by simp only [majorant, one_mul, add_comm β α] |
| 310 | |
| 311 | theorem sum {ι : Type*} (t : Finset ι) (u : ι → ℕ → D → E) |
| 312 | (hw : ∀ n x, x ∈ s.domain → 0 ≤ w n x) |
| 313 | (hu : ∀ i ∈ t, MemClass s w α (u i)) : |
| 314 | MemClass s w α (fun n x => ∑ i ∈ t, u i n x) := by |
| 315 | classical |
| 316 | revert hu |
| 317 | induction t using Finset.induction_on with |
| 318 | | empty => |
| 319 | intro _ |
| 320 | simpa using (zero (s := s) (α := α) (E := E) hw) |
| 321 | | @insert i t hit ih => |
| 322 | intro hu |
| 323 | have hi := hu i (Finset.mem_insert_self i t) |
| 324 | have ht := ih (fun j hj => hu j (Finset.mem_insert_of_mem hj)) |
| 325 | simpa only [Finset.sum_insert hit] using hi.add ht |
| 326 | |
| 327 | end MemClass |
| 328 | |
| 329 | /-- Constant coefficients give nonzero examples of the unweighted class. -/ |
| 330 | theorem unweighted_const (s : StripData D) (c : E) : |
| 331 | UnweightedClass s 0 (fun _ _ => c) := by |
| 332 | refine ⟨fun _ _ _ => zero_le_one, fun _ => contDiffOn_const, ?_⟩ |
| 333 | intro m |
| 334 | refine ⟨‖c‖, norm_nonneg c, 0, ?_⟩ |
| 335 | intro n x hx j hj |
| 336 | by_cases hj0 : j = 0 |
| 337 | · subst j |
| 338 | simp [majorant, norm_iteratedFDeriv_zero] |
| 339 | · rw [iteratedFDeriv_const_of_ne hj0] |
| 340 | simp [majorant] |
| 341 | |
| 342 | /-- A fixed coefficient with uniform finite jet bounds is an order-zero |
| 343 | unweighted coefficient. This connects the class directly to `JetBounds`. -/ |
| 344 | theorem unweighted_of_finiteJetBounds (s : StripData D) (a : D → E) |
| 345 | (ha : ContDiffOn ℝ ∞ a s.domain) |
| 346 | (hb : ∀ m : ℕ, ∃ C : ℝ, JetBounds.FiniteJetBound m a s.domain C) : |
| 347 | UnweightedClass s 0 (fun _ => a) := by |
| 348 | refine ⟨fun _ _ _ => zero_le_one, fun _ => ha, ?_⟩ |
| 349 | intro m |
| 350 | obtain ⟨C, hC⟩ := hb m |
| 351 | refine ⟨max C 0, le_max_right _ _, 0, ?_⟩ |
| 352 | intro n x hx j hj |
| 353 | simpa only [majorant, Real.rpow_zero, pow_zero, mul_one] using |
| 354 | (hC j hj x hx).trans (le_max_left C 0) |
| 355 | |
| 356 | theorem bandBound_rpow (s : StripData D) (β : ℝ) : |
| 357 | BandBound s β (fun n => s.epsilon n ^ β) := by |
| 358 | refine ⟨1, zero_le_one, 0, ?_⟩ |
| 359 | intro n |
| 360 | simp [Real.norm_eq_abs, abs_of_pos (Real.rpow_pos_of_pos (s.epsilon_pos n) β)] |
| 361 | |
| 362 | /-- Wave products have the mean weight. This uses the actual Leibniz estimate |
| 363 | on coefficients, followed by `(sqrt ζ * P)^2 ≤ ζ`; no derivative identity for |
| 364 | the envelope `P` is postulated. -/ |
| 365 | theorem WaveClass.bilinear_mean {s : StripData D} {P : ℕ → D → ℝ} |
| 366 | {α β : ℝ} {f : ℕ → D → E} {g : ℕ → D → F} |
| 367 | (hf : WaveClass s P α f) (hg : WaveClass s P β g) |
| 368 | (hP0 : ∀ n x, x ∈ s.domain → 0 ≤ P n x) |
| 369 | (hP1 : ∀ n x, x ∈ s.domain → P n x ≤ 1) |
| 370 | (L : E →L[ℝ] F →L[ℝ] G) : |
| 371 | MeanClass s (α + β) (fun n x => L (f n x) (g n x)) := by |
| 372 | apply (MemClass.bilinear hf hg L).mono_weight (fun _ x hx => s.zeta_nonneg x hx) |
| 373 | intro n x hx |
| 374 | have hP2 : P n x * P n x ≤ 1 := by |
| 375 | nlinarith [hP0 n x hx, hP1 n x hx] |
| 376 | calc |
| 377 | _ = (Real.sqrt (s.zeta x)) ^ 2 * (P n x * P n x) := by ring |
| 378 | _ = s.zeta x * (P n x * P n x) := by rw [Real.sq_sqrt (s.zeta_nonneg x hx)] |
| 379 | _ ≤ s.zeta x * 1 := mul_le_mul_of_nonneg_left hP2 (s.zeta_nonneg x hx) |
| 380 | _ = _ := mul_one _ |
| 381 | |
| 382 | theorem WaveClass.mul_mean {s : StripData D} {P : ℕ → D → ℝ} |
| 383 | {α β : ℝ} {f g : ℕ → D → ℝ} |
| 384 | (hf : WaveClass s P α f) (hg : WaveClass s P β g) |
| 385 | (hP0 : ∀ n x, x ∈ s.domain → 0 ≤ P n x) |
| 386 | (hP1 : ∀ n x, x ∈ s.domain → P n x ≤ 1) : |
| 387 | MeanClass s (α + β) (fun n x => f n x * g n x) := by |
| 388 | simpa only [ContinuousLinearMap.lsmul_apply, smul_eq_mul] using |
| 389 | hf.bilinear_mean hg hP0 hP1 (ContinuousLinearMap.lsmul ℝ ℝ) |
| 390 | |
| 391 | /-- A normalized bounded radial weight makes the mean class an algebra. -/ |
| 392 | theorem MeanClass.bilinear {s : StripData D} {α β : ℝ} |
| 393 | {f : ℕ → D → E} {g : ℕ → D → F} |
| 394 | (hf : MeanClass s α f) (hg : MeanClass s β g) |
| 395 | (hζ : ∀ x ∈ s.domain, s.zeta x ≤ 1) (L : E →L[ℝ] F →L[ℝ] G) : |
| 396 | MeanClass s (α + β) (fun n x => L (f n x) (g n x)) := by |
| 397 | apply (MemClass.bilinear hf hg L).mono_weight (fun _ x hx => s.zeta_nonneg x hx) |
| 398 | intro n x hx |
| 399 | simpa only [mul_one] using |
| 400 | mul_le_mul_of_nonneg_left (hζ x hx) (s.zeta_nonneg x hx) |
| 401 | |
| 402 | theorem MeanClass.bilinear_wave {s : StripData D} {P : ℕ → D → ℝ} |
| 403 | {α β : ℝ} {f : ℕ → D → E} {g : ℕ → D → F} |
| 404 | (hf : MeanClass s α f) (hg : WaveClass s P β g) |
| 405 | (hζ : ∀ x ∈ s.domain, s.zeta x ≤ 1) (L : E →L[ℝ] F →L[ℝ] G) : |
| 406 | WaveClass s P (α + β) (fun n x => L (f n x) (g n x)) := by |
| 407 | apply (MemClass.bilinear hf hg L).mono_weight hg.weight_nonneg |
| 408 | intro n x hx |
| 409 | simpa only [one_mul] using |
| 410 | mul_le_mul_of_nonneg_right (hζ x hx) (hg.weight_nonneg n x hx) |
| 411 | |
| 412 | /-- An explicit radial graph operator with a band coefficient `M` and a |
| 413 | spatial coefficient `a`. The two directions can be radial and auxiliary. -/ |
| 414 | noncomputable def graphDerivative (M : ℕ → ℝ) (a : D → ℝ) (e v : D) |
| 415 | (f : ℕ → D → E) : ℕ → D → E := |
| 416 | fun n x => fderiv ℝ (f n) x e + M n • (a x • fderiv ℝ (f n) x v) |
| 417 | |
| 418 | /-- The expanded operator really is differentiation along its graph vector. -/ |
| 419 | theorem graphDerivative_eq_along (M : ℕ → ℝ) (a : D → ℝ) (e v : D) |
| 420 | (f : ℕ → D → E) (n : ℕ) (x : D) : |
| 421 | graphDerivative M a e v f n x = |
| 422 | fderiv ℝ (f n) x (e + M n • (a x • v)) := by |
| 423 | simp [graphDerivative] |
| 424 | |
| 425 | /-- One explicit graph derivative loses at most `κ` in the band exponent. |
| 426 | The coefficient hypothesis is an actual all-jet bound on `a`, not a claim |
| 427 | about the desired output. -/ |
| 428 | theorem MemClass.graphDerivative {s : StripData D} {w : ℕ → D → ℝ} |
| 429 | {α κ : ℝ} {f : ℕ → D → E} {M : ℕ → ℝ} {a : D → ℝ} |
| 430 | (hf : MemClass s w α f) (ha : UnweightedClass s 0 (fun _ => a)) |
| 431 | (hM : BandBound s (-κ) M) (hκ : 0 ≤ κ) (e v : D) : |
| 432 | MemClass s w (α - κ) (graphDerivative M a e v f) := by |
| 433 | have he : MemClass s w (α - κ) (fun n x => _root_.fderiv ℝ (f n) x e) := |
| 434 | (hf.directional e).mono_exponent (sub_le_self α hκ) |
| 435 | have hv : MemClass s w α (fun n x => a x • _root_.fderiv ℝ (f n) x v) := by |
| 436 | simpa only [zero_add, one_mul] using MemClass.smul ha (hf.directional v) |
| 437 | have hmv : MemClass s w (α - κ) |
| 438 | (fun n x => M n • (a x • _root_.fderiv ℝ (f n) x v)) := by |
| 439 | simpa only [sub_eq_add_neg] using hv.band_smul hM |
| 440 | exact he.add hmv |
| 441 | |
| 442 | end |
| 443 | |
| 444 | end NavierStokes.WeightedClasses |