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.PhysicalWaveSum |
| 2 | import NavierStokes.HarmonicCovariance |
| 3 | import NavierStokes.PrimaryPulseBounds |
| 4 | |
| 5 | /-! |
| 6 | # Uniform weighted bounds for actual label sums |
| 7 | |
| 8 | The constants in `UniformClass` are chosen before the label. The spatial |
| 9 | sum estimates use the actual closed label windows and the existing finite |
| 10 | coloring, rather than the total number of labels in an active finite set. |
| 11 | -/ |
| 12 | |
| 13 | noncomputable section |
| 14 | |
| 15 | open Set Function Filter |
| 16 | open scoped ContDiff Topology BigOperators |
| 17 | |
| 18 | namespace NavierStokes.LabelSumBounds |
| 19 | |
| 20 | open WeightedClasses |
| 21 | |
| 22 | private theorem nat_le_infty (m : ℕ) : (m : WithTop ℕ∞) ≤ ∞ := |
| 23 | ENat.natCast_le_of_coe_top_le_withTop le_rfl m |
| 24 | |
| 25 | variable {ι κ E F G : Type*} {D : Type} |
| 26 | variable [NormedAddCommGroup D] [NormedSpace ℝ D] |
| 27 | variable [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 28 | variable [NormedAddCommGroup F] [NormedSpace ℝ F] |
| 29 | variable [NormedAddCommGroup G] [NormedSpace ℝ G] |
| 30 | |
| 31 | /-- The finite-jet constants and polynomial degrees are independent of |
| 32 | both band and label. The majorant may retain a label-dependent envelope. -/ |
| 33 | structure UniformClass (s : StripData D) (w : ι → ℕ → D → ℝ) (α : ℝ) |
| 34 | (f : ι → ℕ → D → E) : Prop where |
| 35 | weight_nonneg : ∀ l n x, x ∈ s.domain → 0 ≤ w l n x |
| 36 | smooth : ∀ l n, ContDiffOn ℝ ∞ (f l n) s.domain |
| 37 | bounds : ∀ m : ℕ, ∃ C : ℝ, 0 ≤ C ∧ ∃ p : ℕ, |
| 38 | ∀ l n x, x ∈ s.domain → ∀ j : ℕ, j ≤ m → |
| 39 | ‖iteratedFDeriv ℝ j (f l n) x‖ ≤ majorant s (w l) α C p n x |
| 40 | |
| 41 | noncomputable abbrev UniformMeanClass (s : StripData D) (α : ℝ) |
| 42 | (f : ι → ℕ → D → E) : Prop := |
| 43 | UniformClass s (fun _ _ x => s.zeta x) α f |
| 44 | |
| 45 | noncomputable abbrev UniformWaveClass (s : StripData D) (P : ι → ℕ → D → ℝ) (α : ℝ) |
| 46 | (f : ι → ℕ → D → E) : Prop := |
| 47 | UniformClass s (fun l n x => Real.sqrt (s.zeta x) * P l n x) α f |
| 48 | |
| 49 | namespace UniformClass |
| 50 | |
| 51 | variable {s : StripData D} {w v : ι → ℕ → D → ℝ} {α β : ℝ} |
| 52 | variable {f g : ι → ℕ → D → E} |
| 53 | |
| 54 | theorem each (hf : UniformClass s w α f) (l : ι) : MemClass s (w l) α (f l) := by |
| 55 | refine ⟨hf.weight_nonneg l, hf.smooth l, ?_⟩ |
| 56 | intro m |
| 57 | obtain ⟨C, hC, p, hb⟩ := hf.bounds m |
| 58 | exact ⟨C, hC, p, hb l⟩ |
| 59 | |
| 60 | theorem reindex (hf : UniformClass s w α f) (a : κ → ι) : |
| 61 | UniformClass s (fun l => w (a l)) α (fun l => f (a l)) := by |
| 62 | refine ⟨fun l => hf.weight_nonneg (a l), fun l => hf.smooth (a l), ?_⟩ |
| 63 | intro m |
| 64 | obtain ⟨C, hC, p, hb⟩ := hf.bounds m |
| 65 | exact ⟨C, hC, p, fun l => hb (a l)⟩ |
| 66 | |
| 67 | theorem zero (hw : ∀ l n x, x ∈ s.domain → 0 ≤ w l n x) : |
| 68 | UniformClass s w α (fun _ _ _ => (0 : E)) := by |
| 69 | refine ⟨hw, fun _ _ => contDiffOn_const, ?_⟩ |
| 70 | intro m |
| 71 | refine ⟨0, le_rfl, 0, ?_⟩ |
| 72 | intro l n x hx j hj |
| 73 | simp [majorant] |
| 74 | |
| 75 | theorem congr (hf : UniformClass s w α f) (hfg : ∀ l n, EqOn (f l n) (g l n) s.domain) : |
| 76 | UniformClass s w α g := by |
| 77 | refine ⟨hf.weight_nonneg, fun l n => (hf.smooth l n).congr |
| 78 | (fun x hx => (hfg l n hx).symm), ?_⟩ |
| 79 | intro m |
| 80 | obtain ⟨C, hC, p, hb⟩ := hf.bounds m |
| 81 | refine ⟨C, hC, p, ?_⟩ |
| 82 | intro l n x hx j hj |
| 83 | have he : f l n =ᶠ[𝓝 x] g l n := |
| 84 | eventually_of_mem (s.isOpen_domain.mem_nhds hx) (hfg l n) |
| 85 | rw [← PhysicalWaveSum.iteratedFDeriv_eq_of_eventuallyEq he j] |
| 86 | exact hb l n x hx j hj |
| 87 | |
| 88 | theorem mono_weight (hf : UniformClass s w α f) |
| 89 | (hv : ∀ l n x, x ∈ s.domain → 0 ≤ v l n x) |
| 90 | (hwv : ∀ l n x, x ∈ s.domain → w l n x ≤ v l n x) : UniformClass s v α f := by |
| 91 | refine ⟨hv, hf.smooth, ?_⟩ |
| 92 | intro m |
| 93 | obtain ⟨C, hC, p, hb⟩ := hf.bounds m |
| 94 | refine ⟨C, hC, p, ?_⟩ |
| 95 | intro l n x hx j hj |
| 96 | apply (hb l n x hx j hj).trans |
| 97 | exact mul_le_mul_of_nonneg_left (hwv l n x hx) |
| 98 | (mul_nonneg (mul_nonneg hC (Real.rpow_pos_of_pos (s.epsilon_pos n) α).le) |
| 99 | (pow_nonneg (s.growth_nonneg n x) p)) |
| 100 | |
| 101 | theorem mono_exponent (hf : UniformClass s w α f) (hβα : β ≤ α) : |
| 102 | UniformClass s w β f := by |
| 103 | refine ⟨hf.weight_nonneg, hf.smooth, ?_⟩ |
| 104 | intro m |
| 105 | obtain ⟨C, hC, p, hb⟩ := hf.bounds m |
| 106 | refine ⟨C, hC, p, ?_⟩ |
| 107 | intro l n x hx j hj |
| 108 | apply (hb l n x hx j hj).trans |
| 109 | apply mul_le_mul_of_nonneg_right _ (hf.weight_nonneg l n x hx) |
| 110 | apply mul_le_mul_of_nonneg_right _ (pow_nonneg (s.growth_nonneg n x) p) |
| 111 | exact mul_le_mul_of_nonneg_left |
| 112 | (Real.rpow_le_rpow_of_exponent_ge (s.epsilon_pos n) (s.epsilon_le_one n) hβα) hC |
| 113 | |
| 114 | theorem add (hf : UniformClass s w α f) (hg : UniformClass s w α g) : |
| 115 | UniformClass s w α (fun l n x => f l n x + g l n x) := by |
| 116 | refine ⟨hf.weight_nonneg, fun l n => (hf.smooth l n).add (hg.smooth l n), ?_⟩ |
| 117 | intro m |
| 118 | obtain ⟨A, hA, p, ha⟩ := hf.bounds m |
| 119 | obtain ⟨B, hB, q, hb⟩ := hg.bounds m |
| 120 | refine ⟨A + B, add_nonneg hA hB, p + q, ?_⟩ |
| 121 | intro l n x hx j hj |
| 122 | rw [fun_iteratedFDeriv_add_apply ((hf.each l).contDiffAt n hx j) ((hg.each l).contDiffAt n hx j)] |
| 123 | calc |
| 124 | _ ≤ ‖iteratedFDeriv ℝ j (f l n) x‖ + ‖iteratedFDeriv ℝ j (g l n) x‖ := norm_add_le _ _ |
| 125 | _ ≤ majorant s (w l) α A p n x + majorant s (w l) α B q n x := |
| 126 | add_le_add (ha l n x hx j hj) (hb l n x hx j hj) |
| 127 | _ ≤ majorant s (w l) α A (p + q) n x + majorant s (w l) α B (p + q) n x := |
| 128 | add_le_add (majorant_mono_degree s (w l) α hA (Nat.le_add_right p q) n x |
| 129 | (hf.weight_nonneg l n x hx)) |
| 130 | (majorant_mono_degree s (w l) α hB (Nat.le_add_left q p) n x (hf.weight_nonneg l n x hx)) |
| 131 | _ = _ := by unfold majorant; ring |
| 132 | |
| 133 | theorem map (hf : UniformClass s w α f) (L : E →L[ℝ] F) : |
| 134 | UniformClass s w α (fun l n x => L (f l n x)) := by |
| 135 | refine ⟨hf.weight_nonneg, fun l n => (hf.smooth l n).continuousLinearMap_comp L, ?_⟩ |
| 136 | intro m |
| 137 | obtain ⟨C, hC, p, hb⟩ := hf.bounds m |
| 138 | refine ⟨‖L‖ * C, mul_nonneg (norm_nonneg _) hC, p, ?_⟩ |
| 139 | intro l n x hx j hj |
| 140 | change ‖iteratedFDeriv ℝ j (L ∘ f l n) x‖ ≤ _ |
| 141 | rw [L.iteratedFDeriv_comp_left ((hf.each l).contDiffAt n hx j) le_rfl] |
| 142 | calc |
| 143 | _ ≤ ‖L‖ * ‖iteratedFDeriv ℝ j (f l n) x‖ := L.norm_compContinuousMultilinearMap_le _ |
| 144 | _ ≤ ‖L‖ * majorant s (w l) α C p n x := mul_le_mul_of_nonneg_left |
| 145 | (hb l n x hx j hj) (norm_nonneg _) |
| 146 | _ = _ := by unfold majorant; ring |
| 147 | |
| 148 | theorem neg (hf : UniformClass s w α f) : |
| 149 | UniformClass s w α (fun l n x => -f l n x) := by |
| 150 | simpa only [_root_.neg_apply, ContinuousLinearMap.id_apply] using |
| 151 | hf.map (-(ContinuousLinearMap.id ℝ E)) |
| 152 | |
| 153 | theorem sub (hf : UniformClass s w α f) (hg : UniformClass s w α g) : |
| 154 | UniformClass s w α (fun l n x => f l n x - g l n x) := by |
| 155 | simpa only [sub_eq_add_neg] using hf.add hg.neg |
| 156 | |
| 157 | theorem sum (F : Finset κ) (f : κ → ι → ℕ → D → E) |
| 158 | (hw : ∀ l n x, x ∈ s.domain → 0 ≤ w l n x) |
| 159 | (hf : ∀ k ∈ F, UniformClass s w α (f k)) : |
| 160 | UniformClass s w α (fun l n x => ∑ k ∈ F, f k l n x) := by |
| 161 | classical |
| 162 | induction F using Finset.induction_on with |
| 163 | | empty => simpa only [Finset.sum_empty] using (zero hw : UniformClass s w α (fun _ _ _ => (0 : E))) |
| 164 | | @insert a F ha ih => |
| 165 | simpa only [Finset.sum_insert ha] using |
| 166 | (hf a (Finset.mem_insert_self _ _)).add |
| 167 | (ih (fun k hk => hf k (Finset.mem_insert_of_mem hk))) |
| 168 | |
| 169 | end UniformClass |
| 170 | |
| 171 | /-- Pointwise finite-jet Leibniz estimate. The two bounds may be frozen |
| 172 | values of variable envelopes at this point. -/ |
| 173 | theorem bilinear_jet_bound (L : E →L[ℝ] F →L[ℝ] G) {U : Set D} (hU : IsOpen U) |
| 174 | {f : D → E} {g : D → F} (hf : ContDiffOn ℝ ∞ f U) (hg : ContDiffOn ℝ ∞ g U) |
| 175 | {x : D} (hx : x ∈ U) {m j : ℕ} (hj : j ≤ m) {A B : ℝ} |
| 176 | (hA : 0 ≤ A) (hB : 0 ≤ B) |
| 177 | (ha : ∀ i ≤ m, ‖iteratedFDeriv ℝ i f x‖ ≤ A) |
| 178 | (hb : ∀ i ≤ m, ‖iteratedFDeriv ℝ i g x‖ ≤ B) : |
| 179 | ‖iteratedFDeriv ℝ j (fun y => L (f y) (g y)) x‖ ≤ ‖L‖ * 2 ^ m * A * B := by |
| 180 | have h := JetBounds.norm_iteratedFDeriv_bilinear_le_on L hU hf hg hx (nat_le_infty j) |
| 181 | have hs : (∑ i ∈ Finset.range (j + 1), (j.choose i : ℝ) * |
| 182 | ‖iteratedFDeriv ℝ i f x‖ * ‖iteratedFDeriv ℝ (j - i) g x‖) ≤ 2 ^ m * A * B := by |
| 183 | calc |
| 184 | _ ≤ ∑ i ∈ Finset.range (j + 1), (j.choose i : ℝ) * A * B := by |
| 185 | apply Finset.sum_le_sum |
| 186 | intro i hi |
| 187 | have hij : i ≤ j := Nat.le_of_lt_succ (Finset.mem_range.mp hi) |
| 188 | exact mul_le_mul (mul_le_mul_of_nonneg_left (ha i (hij.trans hj)) (Nat.cast_nonneg _)) |
| 189 | (hb (j - i) ((Nat.sub_le _ _).trans hj)) (norm_nonneg _) |
| 190 | (mul_nonneg (Nat.cast_nonneg _) hA) |
| 191 | _ = (2 : ℝ) ^ j * A * B := by |
| 192 | rw [← Finset.sum_mul, ← Finset.sum_mul] |
| 193 | have hc : (∑ i ∈ Finset.range (j + 1), (j.choose i : ℝ)) = (2 : ℝ) ^ j := by |
| 194 | exact_mod_cast Nat.sum_range_choose j |
| 195 | rw [hc] |
| 196 | _ ≤ _ := mul_le_mul_of_nonneg_right |
| 197 | (mul_le_mul_of_nonneg_right (pow_le_pow_right₀ (by norm_num) hj) hA) hB |
| 198 | exact (h.trans (mul_le_mul_of_nonneg_left hs (norm_nonneg L))).trans_eq (by ring) |
| 199 | |
| 200 | namespace UniformClass |
| 201 | |
| 202 | variable {s : StripData D} {w v : ι → ℕ → D → ℝ} {α β : ℝ} |
| 203 | variable {f : ι → ℕ → D → E} {g : ι → ℕ → D → F} |
| 204 | |
| 205 | theorem bilinear (hf : UniformClass s w α f) (hg : UniformClass s v β g) |
| 206 | (L : E →L[ℝ] F →L[ℝ] G) : |
| 207 | UniformClass s (fun l n x => w l n x * v l n x) (α + β) |
| 208 | (fun l n x => L (f l n x) (g l n x)) := by |
| 209 | refine ⟨fun l n x hx => mul_nonneg (hf.weight_nonneg l n x hx) (hg.weight_nonneg l n x hx), |
| 210 | fun l n => (L.contDiff.comp_contDiffOn (hf.smooth l n)).clm_apply (hg.smooth l n), ?_⟩ |
| 211 | intro m |
| 212 | obtain ⟨A, hA, p, ha⟩ := hf.bounds m |
| 213 | obtain ⟨B, hB, q, hb⟩ := hg.bounds m |
| 214 | refine ⟨‖L‖ * 2 ^ m * A * B, by positivity, p + q, ?_⟩ |
| 215 | intro l n x hx j hj |
| 216 | calc |
| 217 | _ ≤ ‖L‖ * 2 ^ m * majorant s (w l) α A p n x * majorant s (v l) β B q n x := |
| 218 | bilinear_jet_bound L s.isOpen_domain (hf.smooth l n) (hg.smooth l n) hx hj |
| 219 | (majorant_nonneg s (w l) α hA p n x (hf.weight_nonneg l n x hx)) |
| 220 | (majorant_nonneg s (v l) β hB q n x (hg.weight_nonneg l n x hx)) |
| 221 | (ha l n x hx) (hb l n x hx) |
| 222 | _ = (‖L‖ * 2 ^ m) * |
| 223 | (majorant s (w l) α A p n x * majorant s (v l) β B q n x) := by ring |
| 224 | _ = _ := by rw [majorant_mul]; unfold majorant; ring |
| 225 | |
| 226 | end UniformClass |
| 227 | |
| 228 | theorem uniform_wave_bilinear_mean {s : StripData D} {P : ι → ℕ → D → ℝ} {α β : ℝ} |
| 229 | {f : ι → ℕ → D → E} {g : ι → ℕ → D → F} |
| 230 | (hf : UniformWaveClass s P α f) (hg : UniformWaveClass s P β g) |
| 231 | (hP0 : ∀ l n x, x ∈ s.domain → 0 ≤ P l n x) |
| 232 | (hP1 : ∀ l n x, x ∈ s.domain → P l n x ≤ 1) (L : E →L[ℝ] F →L[ℝ] G) : |
| 233 | UniformMeanClass s (α + β) (fun l n x => L (f l n x) (g l n x)) := by |
| 234 | apply (hf.bilinear hg L).mono_weight (fun _ _ x hx => s.zeta_nonneg x hx) |
| 235 | intro l n x hx |
| 236 | have hs : Real.sqrt (s.zeta x) * Real.sqrt (s.zeta x) = s.zeta x := by |
| 237 | rw [← pow_two, Real.sq_sqrt (s.zeta_nonneg x hx)] |
| 238 | calc |
| 239 | _ = (Real.sqrt (s.zeta x) * Real.sqrt (s.zeta x)) * (P l n x * P l n x) := by ring |
| 240 | _ = s.zeta x * (P l n x * P l n x) := by rw [hs] |
| 241 | _ ≤ s.zeta x * 1 := mul_le_mul_of_nonneg_left |
| 242 | (by nlinarith [hP0 l n x hx, hP1 l n x hx]) (s.zeta_nonneg x hx) |
| 243 | _ = _ := mul_one _ |
| 244 | |
| 245 | /-! ## Closed, enlarged label windows -/ |
| 246 | |
| 247 | abbrev WindowPoint := ℝ × SlotColoring.Position |
| 248 | |
| 249 | /-- The first coordinate is the logarithmic dyadic coordinate. The |
| 250 | window includes a two-level closed band and the actual two-mesh spatial |
| 251 | box used by `SlotColoring`. -/ |
| 252 | noncomputable def closedWindow (d : ℝ) (l : SlotColoring.Label) : Set WindowPoint := |
| 253 | Icc ((l.1 : ℝ) - 2) ((l.1 : ℝ) + 2) ×ˢ SlotColoring.physicalBox d l |
| 254 | |
| 255 | theorem physicalBox_closed (d : ℝ) (l : SlotColoring.Label) : |
| 256 | IsClosed (SlotColoring.physicalBox d l) := by |
| 257 | have he : SlotColoring.physicalBox d l = ⋂ j : Fin 3, |
| 258 | {x : SlotColoring.Position | |x j - SlotColoring.width d j l.1 * (l.2.1 j : ℝ)| ≤ |
| 259 | 2 * SlotColoring.width d j l.1} := by |
| 260 | ext x |
| 261 | simp only [SlotColoring.physicalBox, Set.mem_ofPred_eq, mem_iInter] |
| 262 | rw [he] |
| 263 | exact isClosed_iInter fun j => isClosed_le |
| 264 | (((continuous_apply j).sub continuous_const).abs) continuous_const |
| 265 | |
| 266 | theorem closedWindow_closed (d : ℝ) (l : SlotColoring.Label) : IsClosed (closedWindow d l) := |
| 267 | isClosed_Icc.prod (physicalBox_closed d l) |
| 268 | |
| 269 | theorem closedWindow_adjacency {d : ℝ} {l k : SlotColoring.Label} {x : WindowPoint} |
| 270 | (hl : 1 ≤ l.1) (hk : 1 ≤ k.1) (hne : l ≠ k) |
| 271 | (hxl : x ∈ closedWindow d l) (hxk : x ∈ closedWindow d k) : SlotColoring.Adj d l k := by |
| 272 | have hlk : l.1 ≤ k.1 + 4 := by |
| 273 | have h : (l.1 : ℝ) ≤ (k.1 : ℝ) + 4 := by linarith [hxl.1.1, hxk.1.2] |
| 274 | exact_mod_cast h |
| 275 | have hkl : k.1 ≤ l.1 + 4 := by |
| 276 | have h : (k.1 : ℝ) ≤ (l.1 : ℝ) + 4 := by linarith [hxk.1.1, hxl.1.2] |
| 277 | exact_mod_cast h |
| 278 | exact ⟨hl, hk, hne, hlk, hkl, x.2, hxl.2, hxk.2⟩ |
| 279 | |
| 280 | /-- The already constructed coloring remains injective on these closed |
| 281 | enlargements. Endpoints do not require a separate exceptional case. -/ |
| 282 | theorem closedWindow_color_injective (d : ℝ) (x : WindowPoint) : |
| 283 | Set.InjOn SlotColoring.colorData {l | 1 ≤ l.1 ∧ x ∈ closedWindow d l} := by |
| 284 | intro l hl k hk hcolor |
| 285 | by_contra hne |
| 286 | exact SlotColoring.colorData_proper d |
| 287 | (closedWindow_adjacency hl.1 hk.1 hne hl.2 hk.2) hcolor |
| 288 | |
| 289 | theorem closedWindow_card_le (d : ℝ) (x : WindowPoint) (F : Finset SlotColoring.Label) |
| 290 | (hF : ∀ l ∈ F, 1 ≤ l.1 ∧ x ∈ closedWindow d l) : F.card ≤ 2250 := by |
| 291 | classical |
| 292 | have hi : Set.InjOn SlotColoring.colorData (F : Set SlotColoring.Label) := |
| 293 | (closedWindow_color_injective d x).mono hF |
| 294 | have hc := Finset.card_le_card_of_injOn (t := Finset.univ) SlotColoring.colorData |
| 295 | (fun _ _ => Finset.mem_univ _) hi |
| 296 | simpa only [Finset.card_univ, SlotColoring.palette_card] using hc |
| 297 | |
| 298 | /-- The genuine closed dyadic-mask and slow-mask supports lie inside the |
| 299 | enlargement; the inclusion also applies to every derivative support. -/ |
| 300 | theorem labelRegion_subset_closedWindow {d : ℝ} {l : SlotColoring.Label} {x : WindowPoint} |
| 301 | (hl : 1 ≤ l.1) (hx : x ∈ PhysicalWaveSum.labelRegion d l) (hq : 0 < x.1) : |
| 302 | (SquaredPartition.logCoordinate x.1, x.2) ∈ closedWindow d l := by |
| 303 | have ht := PhysicalWaveSum.logCoordinate_in_band hq |
| 304 | (PhysicalWaveSum.labelRegion_band hx).1 (PhysicalWaveSum.labelRegion_band hx).2 |
| 305 | refine ⟨⟨by linarith [ht.1], by linarith [ht.2]⟩, ?_⟩ |
| 306 | exact SquaredPartition.physicalSlowMask_tsupport_subset_physicalBox d hl _ _ hx.2 |
| 307 | |
| 308 | theorem physicalMask_tsupport_closedWindow {d : ℝ} {l : SlotColoring.Label} {x : WindowPoint} |
| 309 | (hl : 1 ≤ l.1) (hq : 0 < x.1) (hx : x ∈ tsupport (PhysicalWaveSum.physicalMask d l)) : |
| 310 | (SquaredPartition.logCoordinate x.1, x.2) ∈ closedWindow d l := |
| 311 | labelRegion_subset_closedWindow hl (PhysicalWaveSum.physicalMask_tsupport_subset d l hx) hq |
| 312 | |
| 313 | theorem physicalMask_jet_tsupport_closedWindow {d : ℝ} {l : SlotColoring.Label} {x : WindowPoint} |
| 314 | (hl : 1 ≤ l.1) (hq : 0 < x.1) (m : ℕ) |
| 315 | (hx : x ∈ tsupport (iteratedFDeriv ℝ m (PhysicalWaveSum.physicalMask d l))) : |
| 316 | (SquaredPartition.logCoordinate x.1, x.2) ∈ closedWindow d l := |
| 317 | physicalMask_tsupport_closedWindow hl hq ((tsupport_iteratedFDeriv_subset m) hx) |
| 318 | |
| 319 | theorem window_card_le {d : ℝ} {x : WindowPoint} (F : Finset ι) |
| 320 | (label : ι → SlotColoring.Label) (hinj : Set.InjOn label (F : Set ι)) |
| 321 | (hF : ∀ l ∈ F, 1 ≤ (label l).1 ∧ x ∈ closedWindow d (label l)) : F.card ≤ 2250 := by |
| 322 | classical |
| 323 | rw [← Finset.card_image_of_injOn hinj] |
| 324 | apply closedWindow_card_le d x |
| 325 | intro l hl |
| 326 | obtain ⟨a, ha, rfl⟩ := Finset.mem_image.mp hl |
| 327 | exact hF a ha |
| 328 | |
| 329 | theorem jet_zero_off_window {U : Set D} (hU : IsOpen U) {x : D} (hx : x ∈ U) |
| 330 | {d : ℝ} {label : SlotColoring.Label} {χ : D → WindowPoint} (hχ : ContinuousAt χ x) |
| 331 | {f : D → E} (hs : ∀ y ∈ U, f y ≠ 0 → χ y ∈ closedWindow d label) |
| 332 | (hout : χ x ∉ closedWindow d label) (m : ℕ) : iteratedFDeriv ℝ m f x = 0 := by |
| 333 | apply PhysicalWaveSum.jet_zero_off_tsupport |
| 334 | intro hsupport |
| 335 | exact hout (PhysicalWaveSum.closed_property_on_tsupport hU hx hχ |
| 336 | (closedWindow_closed d label) hs hsupport) |
| 337 | |
| 338 | /-- A finite active family may have arbitrarily many labels in total. |
| 339 | Only its at-most-2250 locally supported derivatives contribute at `x`. -/ |
| 340 | theorem finite_sum_jet_bound {U : Set D} (hU : IsOpen U) {x : D} (hx : x ∈ U) |
| 341 | (F : Finset ι) (label : ι → SlotColoring.Label) |
| 342 | (hinj : Set.InjOn label (F : Set ι)) (hlevel : ∀ l ∈ F, 1 ≤ (label l).1) |
| 343 | (d : ℝ) (χ : D → WindowPoint) (hχ : ContinuousAt χ x) |
| 344 | (f : ι → D → E) (m : ℕ) (hf : ∀ l ∈ F, ContDiffAt ℝ m (f l) x) |
| 345 | (hs : ∀ l ∈ F, ∀ y ∈ U, f l y ≠ 0 → χ y ∈ closedWindow d (label l)) |
| 346 | {B : ℝ} (hB : 0 ≤ B) |
| 347 | (hb : ∀ l ∈ F, χ x ∈ closedWindow d (label l) → ‖iteratedFDeriv ℝ m (f l) x‖ ≤ B) : |
| 348 | ‖iteratedFDeriv ℝ m (fun y => ∑ l ∈ F, f l y) x‖ ≤ 2250 * B := by |
| 349 | classical |
| 350 | let A := F.filter (fun l => χ x ∈ closedWindow d (label l)) |
| 351 | have hAF : A ⊆ F := Finset.filter_subset _ _ |
| 352 | have hcard : A.card ≤ 2250 := window_card_le A label (hinj.mono hAF) |
| 353 | (fun l hl => ⟨hlevel l (hAF hl), (Finset.mem_filter.mp hl).2⟩) |
| 354 | have he : (∑ l ∈ A, iteratedFDeriv ℝ m (f l) x) = |
| 355 | ∑ l ∈ F, iteratedFDeriv ℝ m (f l) x := by |
| 356 | apply Finset.sum_subset hAF |
| 357 | intro l hl hn |
| 358 | apply jet_zero_off_window hU hx hχ (hs l hl) _ m |
| 359 | intro hmem |
| 360 | exact hn (Finset.mem_filter.mpr ⟨hl, hmem⟩) |
| 361 | rw [PhysicalWaveSum.iteratedFDeriv_finset_sum_at F hf, ← he] |
| 362 | calc |
| 363 | _ ≤ ∑ l ∈ A, ‖iteratedFDeriv ℝ m (f l) x‖ := norm_sum_le _ _ |
| 364 | _ ≤ ∑ _l ∈ A, B := Finset.sum_le_sum fun l hl => |
| 365 | hb l (hAF hl) (Finset.mem_filter.mp hl).2 |
| 366 | _ = (A.card : ℝ) * B := by rw [Finset.sum_const, nsmul_eq_mul] |
| 367 | _ ≤ 2250 * B := mul_le_mul_of_nonneg_right (by exact_mod_cast hcard) hB |
| 368 | |
| 369 | /-- The actual band-dependent finite label sum retains its weighted |
| 370 | exponent and polynomial degree. The coefficient constant is multiplied |
| 371 | by the fixed overlap bound, not by the active set's total cardinality. -/ |
| 372 | theorem window_sum_memClass {s : StripData D} {w : ℕ → D → ℝ} {α : ℝ} |
| 373 | (labels : ℕ → Finset ι) (label : ℕ → ι → SlotColoring.Label) |
| 374 | (hinj : ∀ n, Set.InjOn (label n) (labels n : Set ι)) |
| 375 | (hlevel : ∀ n l, l ∈ labels n → 1 ≤ (label n l).1) |
| 376 | (d : ℝ) (χ : ℕ → D → WindowPoint) (hχ : ∀ n, ContinuousOn (χ n) s.domain) |
| 377 | {f : ι → ℕ → D → E} (hf : UniformClass s (fun _ => w) α f) |
| 378 | (hw : ∀ n x, x ∈ s.domain → 0 ≤ w n x) |
| 379 | (hs : ∀ n l, l ∈ labels n → ∀ x ∈ s.domain, |
| 380 | f l n x ≠ 0 → χ n x ∈ closedWindow d (label n l)) : |
| 381 | MemClass s w α (fun n x => ∑ l ∈ labels n, f l n x) := by |
| 382 | refine ⟨hw, fun n => ContDiffOn.sum (fun l _ => hf.smooth l n), ?_⟩ |
| 383 | intro m |
| 384 | obtain ⟨C, hC, p, hb⟩ := hf.bounds m |
| 385 | refine ⟨2250 * C, by positivity, p, ?_⟩ |
| 386 | intro n x hx j hj |
| 387 | have hbound := finite_sum_jet_bound s.isOpen_domain hx (labels n) (label n) |
| 388 | (hinj n) (hlevel n) d (χ n) ((hχ n).continuousAt (s.isOpen_domain.mem_nhds hx)) |
| 389 | (fun l => f l n) j (fun l _ => (hf.each l).contDiffAt n hx j) |
| 390 | (fun l hl => hs n l hl) (majorant_nonneg s w α hC p n x (hw n x hx)) |
| 391 | (fun l _ _ => hb l n x hx j hj) |
| 392 | exact hbound.trans_eq (by unfold majorant; ring) |
| 393 | |
| 394 | /-! ## Uniform estimates for the actual angular covariance -/ |
| 395 | |
| 396 | open HarmonicFields CorrectionState |
| 397 | |
| 398 | theorem uniform_realCoefficients {s : StripData D} {P : ι → ℕ → D → ℝ} {α : ℝ} |
| 399 | (a : ι → ℕ → Coefficients D) |
| 400 | (ha : ∀ j, UniformWaveClass s P α (fun l n x => a l n j x)) (j : ℤ) : |
| 401 | UniformWaveClass s P α (fun l n x => HarmonicResidual.realCoefficients (a l n) j x) := by |
| 402 | have h := ((ha j).add ((ha (-j)).map (Complex.conjCLE : ℂ →L[ℝ] ℂ))).map |
| 403 | (ContinuousLinearMap.mul ℝ ℂ (2 : ℂ)⁻¹) |
| 404 | simp only [HarmonicResidual.realCoefficients_apply, |
| 405 | ContinuousLinearMap.mul_apply'] at h ⊢ |
| 406 | exact h |
| 407 | |
| 408 | theorem uniform_angularProduct {s : StripData D} {P : ι → ℕ → D → ℝ} {α β : ℝ} |
| 409 | (a b : ι → ℕ → Coefficients D) (F : Finset ℤ) |
| 410 | (hF : ∀ l n, (a l n).support ⊆ F) |
| 411 | (ha : ∀ j ∈ F, UniformWaveClass s P α (fun l n x => a l n j x)) |
| 412 | (hb : ∀ j ∈ F, UniformWaveClass s P β (fun l n x => b l n (-j) x)) |
| 413 | (hP0 : ∀ l n x, x ∈ s.domain → 0 ≤ P l n x) |
| 414 | (hP1 : ∀ l n x, x ∈ s.domain → P l n x ≤ 1) |
| 415 | (k : ι → ℕ → ℝ) (phase : ι → ℕ → D → ℝ) (kp : ι → ℕ → ℤ) |
| 416 | (hkp : ∀ l n, kp l n ≠ 0) : |
| 417 | UniformMeanClass s (α + β) (fun l n x => HarmonicFields.angularMean (fun θ => |
| 418 | field (a l n) (k l n) (phase l n) (kp l n) (x, θ) * |
| 419 | field (b l n) (k l n) (phase l n) (kp l n) (x, θ))) := by |
| 420 | have hsum : UniformMeanClass s (α + β) (fun l n x => ∑ j ∈ F, a l n j x * b l n (-j) x) := |
| 421 | UniformClass.sum F _ (fun _ _ x hx => s.zeta_nonneg x hx) |
| 422 | (fun j hj => uniform_wave_bilinear_mean (ha j hj) (hb j hj) hP0 hP1 |
| 423 | (ContinuousLinearMap.mul ℝ ℂ)) |
| 424 | apply hsum.congr |
| 425 | intro l n x _ |
| 426 | dsimp only |
| 427 | rw [HarmonicFields.angularMean_product (a l n) (b l n) (k l n) (phase l n) (hkp l n) x] |
| 428 | symm |
| 429 | apply Finset.sum_subset (hF l n) |
| 430 | intro j _ hj |
| 431 | rw [Finsupp.notMem_support_iff.mp hj] |
| 432 | simp |
| 433 | |
| 434 | /-- Real projection includes the conjugate harmonics. Angular integration |
| 435 | is evaluated before taking slow derivatives, so no phase derivative or |
| 436 | carrier frequency is paid in this covariance estimate. -/ |
| 437 | theorem uniform_realAngularProduct {s : StripData D} {P : ι → ℕ → D → ℝ} {α β : ℝ} |
| 438 | (a b : ι → ℕ → Coefficients D) (N : ℕ) |
| 439 | (hband : ∀ l n, BandLimited (a l n) N) |
| 440 | (ha : ∀ j, UniformWaveClass s P α (fun l n x => a l n j x)) |
| 441 | (hb : ∀ j, UniformWaveClass s P β (fun l n x => b l n j x)) |
| 442 | (hP0 : ∀ l n x, x ∈ s.domain → 0 ≤ P l n x) |
| 443 | (hP1 : ∀ l n x, x ∈ s.domain → P l n x ≤ 1) |
| 444 | (k : ι → ℕ → ℝ) (phase : ι → ℕ → D → ℝ) (kp : ι → ℕ → ℤ) |
| 445 | (hkp : ∀ l n, kp l n ≠ 0) : |
| 446 | UniformMeanClass s (α + β) (fun l => angularAverage (fun n p => |
| 447 | (field (a l n) (k l n) (phase l n) (kp l n) p).re * |
| 448 | (field (b l n) (k l n) (phase l n) (kp l n) p).re)) := by |
| 449 | have hF : ∀ l n, (HarmonicResidual.realCoefficients (a l n)).support ⊆ |
| 450 | Finset.Icc (-(N : ℤ)) (N : ℤ) := by |
| 451 | intro l n j hj |
| 452 | have ht := HarmonicResidual.band_realCoefficients (hband l n) j hj |
| 453 | simp only [Finset.mem_Icc] |
| 454 | omega |
| 455 | have hc := uniform_angularProduct |
| 456 | (fun l n => HarmonicResidual.realCoefficients (a l n)) |
| 457 | (fun l n => HarmonicResidual.realCoefficients (b l n)) |
| 458 | (Finset.Icc (-(N : ℤ)) (N : ℤ)) hF |
| 459 | (fun j _ => uniform_realCoefficients a ha j) |
| 460 | (fun j _ => uniform_realCoefficients b hb (-j)) hP0 hP1 k phase kp hkp |
| 461 | apply (hc.map Complex.reCLM).congr |
| 462 | intro l n x _ |
| 463 | exact (HarmonicCovariance.realAngularProduct_eq (a l n) (b l n) |
| 464 | (k l n) (phase l n) (hkp l n) x).symm |
| 465 | |
| 466 | theorem uniform_mixedBlockCovariance {s : StripData D} {P : ι → ℕ → D → ℝ} {α β : ℝ} |
| 467 | (a b : ι → HarmonicBlock D) (N : ℕ) (hband : ∀ l, (a l).BandLimited N) |
| 468 | (hfreq : ∀ l, (b l).frequency = (a l).frequency) |
| 469 | (hphase : ∀ l, (b l).phase = (a l).phase) |
| 470 | (hangular : ∀ l, (b l).angularFrequency = (a l).angularFrequency) |
| 471 | (ha : ∀ i j, UniformWaveClass s P α (fun l n x => (a l).velocity n i j x)) |
| 472 | (hb : ∀ i j, UniformWaveClass s P β (fun l n x => (b l).velocity n i j x)) |
| 473 | (hP0 : ∀ l n x, x ∈ s.domain → 0 ≤ P l n x) |
| 474 | (hP1 : ∀ l n x, x ∈ s.domain → P l n x ≤ 1) |
| 475 | (hkp : ∀ l n, (a l).angularFrequency n ≠ 0) (i j : Fin 3) : |
| 476 | UniformMeanClass s (α + β) |
| 477 | (fun l => bilinearCovariance (a l).oscillation (b l).oscillation i j) := by |
| 478 | have hc := uniform_realAngularProduct (fun l n => (a l).velocity n i) |
| 479 | (fun l n => (b l).velocity n j) N (fun l n => (hband l).1 n i) |
| 480 | (ha i) (hb j) hP0 hP1 (fun l => (a l).frequency) (fun l => (a l).phase) |
| 481 | (fun l => (a l).angularFrequency) hkp |
| 482 | apply hc.congr |
| 483 | intro l n x _ |
| 484 | simp only [bilinearCovariance, HarmonicBlock.oscillation, hfreq, hphase, hangular] |
| 485 | |
| 486 | theorem uniform_blockCovariance {s : StripData D} {P : ι → ℕ → D → ℝ} {α : ℝ} |
| 487 | (a : ι → HarmonicBlock D) (N : ℕ) (hband : ∀ l, (a l).BandLimited N) |
| 488 | (ha : ∀ i j, UniformWaveClass s P α (fun l n x => (a l).velocity n i j x)) |
| 489 | (hP0 : ∀ l n x, x ∈ s.domain → 0 ≤ P l n x) |
| 490 | (hP1 : ∀ l n x, x ∈ s.domain → P l n x ≤ 1) |
| 491 | (hkp : ∀ l n, (a l).angularFrequency n ≠ 0) (i j : Fin 3) : |
| 492 | UniformMeanClass s (α + α) |
| 493 | (fun l => bilinearCovariance (a l).oscillation (a l).oscillation i j) := |
| 494 | uniform_mixedBlockCovariance a a N hband (fun _ => rfl) (fun _ => rfl) (fun _ => rfl) |
| 495 | ha ha hP0 hP1 hkp i j |
| 496 | |
| 497 | /-! ## Actual finite sums and support-induced covariance diagonality -/ |
| 498 | |
| 499 | noncomputable def fieldSum (labels : ℕ → Finset ι) (u : ι → Oscillation D) : Oscillation D := |
| 500 | fun n p i => ∑ l ∈ labels n, u l n p i |
| 501 | |
| 502 | noncomputable def AngularContinuous (u : Oscillation D) : Prop := |
| 503 | ∀ n x i, Continuous (fun θ : ℝ => u n (x, θ) i) |
| 504 | |
| 505 | omit [NormedAddCommGroup D] [NormedSpace ℝ D] in |
| 506 | theorem block_angularContinuous (a : HarmonicBlock D) : AngularContinuous a.oscillation := |
| 507 | fun n x i => Complex.continuous_re.comp |
| 508 | (HarmonicFields.field_angular_continuous (a.velocity n i) (a.frequency n) (a.phase n) |
| 509 | (a.angularFrequency n) x) |
| 510 | |
| 511 | /-- Actual support in a slow-label window and its padded native slot, |
| 512 | viewed through one common auxiliary coordinate. -/ |
| 513 | noncomputable def SupportedOscillations {d h : ℝ} {vr vt : TorusInverse.Plane} |
| 514 | (sys : PartitionedCovariance.SlotSystem d h vr vt) |
| 515 | (label : ℕ → ι → SlotColoring.Label) (χ : ℕ → D → WindowPoint) |
| 516 | (Y : ℕ → D → TorusInverse.Plane) (U : Set D) (u : ι → Oscillation D) : Prop := |
| 517 | ∀ l n x, x ∈ U → ∀ θ i, u l n (x, θ) i ≠ 0 → |
| 518 | χ n x ∈ closedWindow d (label n l) ∧ |
| 519 | Y n x ∈ SlotGeometry.liftedSupport (SlotColoring.nativeIndex h (label n l).1) |
| 520 | (PartitionedCovariance.slotSet h sys.radius vr vt (label n l)) |
| 521 | |
| 522 | omit [NormedAddCommGroup D] [NormedSpace ℝ D] in |
| 523 | theorem supported_cross_product_zero {d h : ℝ} {vr vt : TorusInverse.Plane} |
| 524 | {sys : PartitionedCovariance.SlotSystem d h vr vt} |
| 525 | {label : ℕ → ι → SlotColoring.Label} {χ : ℕ → D → WindowPoint} |
| 526 | {Y : ℕ → D → TorusInverse.Plane} {U : Set D} {u v : ι → Oscillation D} |
| 527 | (hu : SupportedOscillations sys label χ Y U u) |
| 528 | (hv : SupportedOscillations sys label χ Y U v) |
| 529 | {l k : ι} {n : ℕ} (hl : 1 ≤ (label n l).1) (hk : 1 ≤ (label n k).1) |
| 530 | (hne : label n l ≠ label n k) {x : D} (hx : x ∈ U) (θ : ℝ) (i j : Fin 3) : |
| 531 | u l n (x, θ) i * v k n (x, θ) j = 0 := by |
| 532 | by_cases hlu : u l n (x, θ) i = 0 |
| 533 | · simp only [hlu, zero_mul] |
| 534 | by_cases hkv : v k n (x, θ) j = 0 |
| 535 | · simp only [hkv, mul_zero] |
| 536 | obtain ⟨hwL, hsL⟩ := hu l n x hx θ i hlu |
| 537 | obtain ⟨hwK, hsK⟩ := hv k n x hx θ j hkv |
| 538 | exact (Set.disjoint_left.mp (sys.disjoint _ _ (closedWindow_adjacency hl hk hne hwL hwK)) |
| 539 | hsL hsK).elim |
| 540 | |
| 541 | omit [NormedAddCommGroup D] [NormedSpace ℝ D] in |
| 542 | theorem covariance_fieldSum_eq (labels : ℕ → Finset ι) (u v : ι → Oscillation D) |
| 543 | (hu : ∀ l, AngularContinuous (u l)) (hv : ∀ l, AngularContinuous (v l)) |
| 544 | {U : Set D} |
| 545 | (hcross : ∀ n l, l ∈ labels n → ∀ k, k ∈ labels n → l ≠ k → |
| 546 | ∀ x ∈ U, ∀ θ i j, u l n (x, θ) i * v k n (x, θ) j = 0) |
| 547 | (n : ℕ) {x : D} (hx : x ∈ U) (i j : Fin 3) : |
| 548 | bilinearCovariance (fieldSum labels u) (fieldSum labels v) i j n x = |
| 549 | ∑ l ∈ labels n, bilinearCovariance (u l) (v l) i j n x := by |
| 550 | change HarmonicResidual.realAngularMean (fun θ => |
| 551 | (∑ l ∈ labels n, u l n (x, θ) i) * (∑ l ∈ labels n, v l n (x, θ) j)) = _ |
| 552 | have he : (fun θ => (∑ l ∈ labels n, u l n (x, θ) i) * |
| 553 | (∑ l ∈ labels n, v l n (x, θ) j)) = |
| 554 | fun θ => ∑ l ∈ labels n, u l n (x, θ) i * v l n (x, θ) j := by |
| 555 | funext θ |
| 556 | exact PartitionedCovariance.sum_product_diagonal (labels n) _ _ |
| 557 | (fun l hl k hk hlk => hcross n l hl k hk hlk x hx θ i j) |
| 558 | rw [he] |
| 559 | exact HarmonicResidual.realAngularMean_sum (labels n) _ |
| 560 | (fun l _ => (hu l n x i).mul (hv l n x j)) |
| 561 | |
| 562 | omit [NormedAddCommGroup D] [NormedSpace ℝ D] in |
| 563 | theorem supported_covariance_fieldSum_eq {d h : ℝ} {vr vt : TorusInverse.Plane} |
| 564 | {sys : PartitionedCovariance.SlotSystem d h vr vt} |
| 565 | (labels : ℕ → Finset ι) (label : ℕ → ι → SlotColoring.Label) |
| 566 | (hinj : ∀ n, Set.InjOn (label n) (labels n : Set ι)) |
| 567 | (hlevel : ∀ n l, l ∈ labels n → 1 ≤ (label n l).1) |
| 568 | (χ : ℕ → D → WindowPoint) (Y : ℕ → D → TorusInverse.Plane) {U : Set D} |
| 569 | (u v : ι → Oscillation D) |
| 570 | (hu : ∀ l, AngularContinuous (u l)) (hv : ∀ l, AngularContinuous (v l)) |
| 571 | (hsu : SupportedOscillations sys label χ Y U u) |
| 572 | (hsv : SupportedOscillations sys label χ Y U v) |
| 573 | (n : ℕ) {x : D} (hx : x ∈ U) (i j : Fin 3) : |
| 574 | bilinearCovariance (fieldSum labels u) (fieldSum labels v) i j n x = |
| 575 | ∑ l ∈ labels n, bilinearCovariance (u l) (v l) i j n x := by |
| 576 | apply covariance_fieldSum_eq labels u v hu hv _ n hx i j |
| 577 | intro n l hl k hk hne x hx θ i j |
| 578 | exact supported_cross_product_zero hsu hsv (hlevel n l hl) (hlevel n k hk) |
| 579 | (fun he => hne (hinj n hl hk he)) hx θ i j |
| 580 | |
| 581 | omit [NormedAddCommGroup D] [NormedSpace ℝ D] in |
| 582 | theorem covariance_window_support {d h : ℝ} {vr vt : TorusInverse.Plane} |
| 583 | {sys : PartitionedCovariance.SlotSystem d h vr vt} |
| 584 | {label : ℕ → ι → SlotColoring.Label} {χ : ℕ → D → WindowPoint} |
| 585 | {Y : ℕ → D → TorusInverse.Plane} {U : Set D} {u v : ι → Oscillation D} |
| 586 | (hsu : SupportedOscillations sys label χ Y U u) |
| 587 | (l : ι) (n : ℕ) {x : D} (hx : x ∈ U) (i j : Fin 3) |
| 588 | (hne : bilinearCovariance (u l) (v l) i j n x ≠ 0) : |
| 589 | χ n x ∈ closedWindow d (label n l) := by |
| 590 | by_contra hout |
| 591 | have hz (θ : ℝ) : u l n (x, θ) i = 0 := by |
| 592 | by_contra hn |
| 593 | exact hout (hsu l n x hx θ i hn).1 |
| 594 | apply hne |
| 595 | simp only [bilinearCovariance, angularAverage, hz, zero_mul, intervalIntegral.integral_zero, zero_div] |
| 596 | |
| 597 | /-- Generic covariance adapter. The next theorem supplies the uniform |
| 598 | single-label estimates directly from harmonic coefficients. -/ |
| 599 | theorem supported_covariance_sum_mem {s : StripData D} {α : ℝ} |
| 600 | {d h : ℝ} {vr vt : TorusInverse.Plane} |
| 601 | {sys : PartitionedCovariance.SlotSystem d h vr vt} |
| 602 | (labels : ℕ → Finset ι) (label : ℕ → ι → SlotColoring.Label) |
| 603 | (hinj : ∀ n, Set.InjOn (label n) (labels n : Set ι)) |
| 604 | (hlevel : ∀ n l, l ∈ labels n → 1 ≤ (label n l).1) |
| 605 | (χ : ℕ → D → WindowPoint) (hχ : ∀ n, ContinuousOn (χ n) s.domain) |
| 606 | (Y : ℕ → D → TorusInverse.Plane) (u v : ι → Oscillation D) |
| 607 | (hu : ∀ l, AngularContinuous (u l)) (hv : ∀ l, AngularContinuous (v l)) |
| 608 | (hsu : SupportedOscillations sys label χ Y s.domain u) |
| 609 | (hsv : SupportedOscillations sys label χ Y s.domain v) |
| 610 | (hcov : ∀ i j, UniformMeanClass s α (fun l => bilinearCovariance (u l) (v l) i j)) |
| 611 | (i j : Fin 3) : |
| 612 | MeanClass s α (bilinearCovariance (fieldSum labels u) (fieldSum labels v) i j) := by |
| 613 | have hs := window_sum_memClass labels label hinj hlevel d χ hχ (hcov i j) |
| 614 | (fun _ x hx => s.zeta_nonneg x hx) |
| 615 | (fun n l _ x hx hn => covariance_window_support hsu l n hx i j hn) |
| 616 | apply WaveInteractionBounds.class_congr hs |
| 617 | intro n x hx |
| 618 | exact (supported_covariance_fieldSum_eq labels label hinj hlevel χ Y u v hu hv hsu hsv |
| 619 | n hx i j).symm |
| 620 | |
| 621 | /-- Uniform coefficients and genuine native-slot support prove the class |
| 622 | of the actual covariance of the assembled finite active label sums. |
| 623 | Different labels may have different phases and carriers. -/ |
| 624 | theorem harmonic_covariance_sum_mem {s : StripData D} {P : ι → ℕ → D → ℝ} {α β : ℝ} |
| 625 | {d h : ℝ} {vr vt : TorusInverse.Plane} |
| 626 | {sys : PartitionedCovariance.SlotSystem d h vr vt} |
| 627 | (labels : ℕ → Finset ι) (label : ℕ → ι → SlotColoring.Label) |
| 628 | (hinj : ∀ n, Set.InjOn (label n) (labels n : Set ι)) |
| 629 | (hlevel : ∀ n l, l ∈ labels n → 1 ≤ (label n l).1) |
| 630 | (χ : ℕ → D → WindowPoint) (hχ : ∀ n, ContinuousOn (χ n) s.domain) |
| 631 | (Y : ℕ → D → TorusInverse.Plane) |
| 632 | (a b : ι → HarmonicBlock D) (N : ℕ) (hband : ∀ l, (a l).BandLimited N) |
| 633 | (hfreq : ∀ l, (b l).frequency = (a l).frequency) |
| 634 | (hphase : ∀ l, (b l).phase = (a l).phase) |
| 635 | (hangular : ∀ l, (b l).angularFrequency = (a l).angularFrequency) |
| 636 | (ha : ∀ i j, UniformWaveClass s P α (fun l n x => (a l).velocity n i j x)) |
| 637 | (hb : ∀ i j, UniformWaveClass s P β (fun l n x => (b l).velocity n i j x)) |
| 638 | (hP0 : ∀ l n x, x ∈ s.domain → 0 ≤ P l n x) |
| 639 | (hP1 : ∀ l n x, x ∈ s.domain → P l n x ≤ 1) |
| 640 | (hkp : ∀ l n, (a l).angularFrequency n ≠ 0) |
| 641 | (hsu : SupportedOscillations sys label χ Y s.domain (fun l => (a l).oscillation)) |
| 642 | (hsv : SupportedOscillations sys label χ Y s.domain (fun l => (b l).oscillation)) |
| 643 | (i j : Fin 3) : |
| 644 | MeanClass s (α + β) (bilinearCovariance |
| 645 | (fieldSum labels (fun l => (a l).oscillation)) |
| 646 | (fieldSum labels (fun l => (b l).oscillation)) i j) := |
| 647 | supported_covariance_sum_mem labels label hinj hlevel χ hχ Y |
| 648 | (fun l => (a l).oscillation) (fun l => (b l).oscillation) |
| 649 | (fun l => block_angularContinuous (a l)) (fun l => block_angularContinuous (b l)) hsu hsv |
| 650 | (uniform_mixedBlockCovariance a b N hband hfreq hphase hangular ha hb hP0 hP1 hkp) i j |
| 651 | |
| 652 | /-! ## Support adapters for the actual native wave construction -/ |
| 653 | |
| 654 | omit [NormedAddCommGroup D] [NormedSpace ℝ D] in |
| 655 | theorem SupportedOscillations.add {d h : ℝ} {vr vt : TorusInverse.Plane} |
| 656 | {sys : PartitionedCovariance.SlotSystem d h vr vt} |
| 657 | {label : ℕ → ι → SlotColoring.Label} {χ : ℕ → D → WindowPoint} |
| 658 | {Y : ℕ → D → TorusInverse.Plane} {U : Set D} {u v : ι → Oscillation D} |
| 659 | (hu : SupportedOscillations sys label χ Y U u) |
| 660 | (hv : SupportedOscillations sys label χ Y U v) : |
| 661 | SupportedOscillations sys label χ Y U (fun l => u l + v l) := by |
| 662 | intro l n x hx θ i hn |
| 663 | by_cases hzero : u l n (x, θ) i = 0 |
| 664 | · apply hv l n x hx θ i |
| 665 | simpa only [Pi.add_apply, hzero, zero_add] using hn |
| 666 | · exact hu l n x hx θ i hzero |
| 667 | |
| 668 | omit [NormedAddCommGroup D] [NormedSpace ℝ D] in |
| 669 | theorem SupportedOscillations.sub {d h : ℝ} {vr vt : TorusInverse.Plane} |
| 670 | {sys : PartitionedCovariance.SlotSystem d h vr vt} |
| 671 | {label : ℕ → ι → SlotColoring.Label} {χ : ℕ → D → WindowPoint} |
| 672 | {Y : ℕ → D → TorusInverse.Plane} {U : Set D} {u v : ι → Oscillation D} |
| 673 | (hu : SupportedOscillations sys label χ Y U u) |
| 674 | (hv : SupportedOscillations sys label χ Y U v) : |
| 675 | SupportedOscillations sys label χ Y U (fun l => u l - v l) := by |
| 676 | intro l n x hx θ i hn |
| 677 | by_cases hzero : u l n (x, θ) i = 0 |
| 678 | · apply hv l n x hx θ i |
| 679 | simpa only [Pi.sub_apply, hzero, zero_sub, neg_ne_zero] using hn |
| 680 | · exact hu l n x hx θ i hzero |
| 681 | |
| 682 | omit [NormedAddCommGroup D] [NormedSpace ℝ D] in |
| 683 | /-- A native covered profile and a supported slow factor give the exact |
| 684 | support predicate used above. This also covers derivatives of the slow |
| 685 | mask, since their closed supports lie in the same window. -/ |
| 686 | theorem covered_product_supported {d h : ℝ} {vr vt : TorusInverse.Plane} |
| 687 | (sys : PartitionedCovariance.SlotSystem d h vr vt) |
| 688 | (label : ℕ → ι → SlotColoring.Label) (χ : ℕ → D → WindowPoint) |
| 689 | (Y : ℕ → D → TorusInverse.Plane) (U : Set D) |
| 690 | (a : ι → ℕ → D → ℝ → Fin 3 → ℝ) |
| 691 | (f : ι → ℕ → D → ℝ → Fin 3 → TorusInverse.Plane → ℝ) |
| 692 | (ha : ∀ l n x, x ∈ U → ∀ θ i, a l n x θ i ≠ 0 → χ n x ∈ closedWindow d (label n l)) |
| 693 | (hf : ∀ l n x, x ∈ U → ∀ θ i, support (f l n x θ i) ⊆ |
| 694 | PartitionedCovariance.slotSet h sys.radius vr vt (label n l)) : |
| 695 | SupportedOscillations sys label χ Y U (fun l n p i => |
| 696 | a l n p.1 p.2 i * PartitionedCovariance.covered |
| 697 | (SlotColoring.nativeIndex h (label n l).1) (f l n p.1 p.2 i) (Y n p.1)) := by |
| 698 | intro l n x hx θ i hn |
| 699 | obtain ⟨ha0, hf0⟩ := mul_ne_zero_iff.mp hn |
| 700 | exact ⟨ha l n x hx θ i ha0, PartitionedCovariance.covered_support (hf l n x hx θ i) _ hf0⟩ |
| 701 | |
| 702 | omit [NormedAddCommGroup D] [NormedSpace ℝ D] in |
| 703 | /-- The actual physical mask automatically supplies the slow-window |
| 704 | condition for a covered native wave, with arbitrary phase and amplitude. -/ |
| 705 | theorem native_wave_supported {d h : ℝ} {vr vt : TorusInverse.Plane} |
| 706 | (sys : PartitionedCovariance.SlotSystem d h vr vt) |
| 707 | (label : ℕ → ι → SlotColoring.Label) (hlevel : ∀ n l, 1 ≤ (label n l).1) |
| 708 | (q : ℕ → D → ℝ) (position : ℕ → D → SlotColoring.Position) |
| 709 | (Y : ℕ → D → TorusInverse.Plane) (U : Set D) (hq : ∀ n x, x ∈ U → 0 < q n x) |
| 710 | (scale : ι → ℕ → D → Fin 3 → ℝ) |
| 711 | (f : ι → ℕ → D → Fin 3 → TorusInverse.Plane → ℝ) |
| 712 | (mode : ι → ℕ → ℤ) (phase : ι → ℕ → D → TorusInverse.Plane → ℝ) |
| 713 | (hf : ∀ l n x, x ∈ U → ∀ i, support (f l n x i) ⊆ |
| 714 | PartitionedCovariance.slotSet h sys.radius vr vt (label n l)) : |
| 715 | SupportedOscillations sys label |
| 716 | (fun n x => (SquaredPartition.logCoordinate (q n x), position n x)) Y U |
| 717 | (fun l n p i => PartitionedCovariance.wave |
| 718 | (scale l n p.1 i * PartitionedCovariance.physicalMask d (label n l) |
| 719 | (q n p.1) (position n p.1)) |
| 720 | (SlotColoring.nativeIndex h (label n l).1) (f l n p.1 i) |
| 721 | (mode l n) (phase l n p.1) (Y n p.1) p.2) := by |
| 722 | intro l n x hx θ i hn |
| 723 | obtain ⟨hprod, _⟩ := mul_ne_zero_iff.mp hn |
| 724 | obtain ⟨hamp, hprof⟩ := mul_ne_zero_iff.mp hprod |
| 725 | have hmask := (mul_ne_zero_iff.mp hamp).2 |
| 726 | have hregion : (q n x, position n x) ∈ PhysicalWaveSum.labelRegion d (label n l) := |
| 727 | PhysicalWaveSum.physicalMask_support_subset d (label n l) hmask |
| 728 | exact ⟨labelRegion_subset_closedWindow (hlevel n l) hregion (hq n x hx), |
| 729 | PartitionedCovariance.covered_support (hf l n x hx i) _ hprof⟩ |
| 730 | |
| 731 | /-- The signed tail-label convention used by PrimaryFieldAssembly is |
| 732 | injective and has positive levels for every chosen start `N ≥ 1`. -/ |
| 733 | theorem signedTailLabel_admissible {N : ℕ} (hN : 1 ≤ N) : |
| 734 | Function.Injective (PartitionedCovariance.signedTailLabel N) ∧ |
| 735 | ∀ a, 1 ≤ (PartitionedCovariance.signedTailLabel N a).1 := by |
| 736 | refine ⟨PartitionedCovariance.signedTailLabel_injective N, ?_⟩ |
| 737 | intro a |
| 738 | change 1 ≤ a.1.1 + N |
| 739 | omega |
| 740 | |
| 741 | /-! ## The full signed covariance remainder, below CorrectionStep -/ |
| 742 | |
| 743 | abbrev Tensor (D : Type) := Fin 3 → Fin 3 → ScalarField D |
| 744 | |
| 745 | noncomputable def symmetricCovariance (u v : Oscillation D) : Tensor D := |
| 746 | bilinearCovariance u v + bilinearCovariance v u |
| 747 | |
| 748 | /-- Definitionally the same five terms used by CorrectionStep. -/ |
| 749 | noncomputable def signedRemainder (primary old tangent curl : Oscillation D) : Tensor D := |
| 750 | (bilinearCovariance old (tangent + curl) + bilinearCovariance (tangent + curl) old + |
| 751 | bilinearCovariance (tangent + curl) (tangent + curl)) - symmetricCovariance primary tangent |
| 752 | |
| 753 | omit [NormedAddCommGroup D] [NormedSpace ℝ D] in |
| 754 | theorem AngularContinuous.add {u v : Oscillation D} (hu : AngularContinuous u) |
| 755 | (hv : AngularContinuous v) : AngularContinuous (u + v) := |
| 756 | fun n x i => (hu n x i).add (hv n x i) |
| 757 | |
| 758 | omit [NormedAddCommGroup D] [NormedSpace ℝ D] in |
| 759 | theorem AngularContinuous.sub {u v : Oscillation D} (hu : AngularContinuous u) |
| 760 | (hv : AngularContinuous v) : AngularContinuous (u - v) := |
| 761 | fun n x i => (hu n x i).sub (hv n x i) |
| 762 | |
| 763 | omit [NormedAddCommGroup D] [NormedSpace ℝ D] in |
| 764 | theorem covariance_add_left {u v w : Oscillation D} |
| 765 | (hu : AngularContinuous u) (hv : AngularContinuous v) (hw : AngularContinuous w) : |
| 766 | bilinearCovariance (u + v) w = bilinearCovariance u w + bilinearCovariance v w := by |
| 767 | funext i j n x |
| 768 | change HarmonicResidual.realAngularMean (fun θ => (u n (x, θ) i + v n (x, θ) i) * w n (x, θ) j) = _ |
| 769 | simp only [add_mul] |
| 770 | exact HarmonicResidual.realAngularMean_add |
| 771 | ((hu n x i).fun_mul (hw n x j)) ((hv n x i).fun_mul (hw n x j)) |
| 772 | |
| 773 | omit [NormedAddCommGroup D] [NormedSpace ℝ D] in |
| 774 | theorem covariance_add_right {u v w : Oscillation D} |
| 775 | (hu : AngularContinuous u) (hv : AngularContinuous v) (hw : AngularContinuous w) : |
| 776 | bilinearCovariance u (v + w) = bilinearCovariance u v + bilinearCovariance u w := by |
| 777 | funext i j n x |
| 778 | change HarmonicResidual.realAngularMean (fun θ => u n (x, θ) i * (v n (x, θ) j + w n (x, θ) j)) = _ |
| 779 | simp only [mul_add] |
| 780 | exact HarmonicResidual.realAngularMean_add |
| 781 | ((hu n x i).fun_mul (hv n x j)) ((hu n x i).fun_mul (hw n x j)) |
| 782 | |
| 783 | omit [NormedAddCommGroup D] [NormedSpace ℝ D] in |
| 784 | theorem covariance_sub_left {u v w : Oscillation D} |
| 785 | (hu : AngularContinuous u) (hv : AngularContinuous v) (hw : AngularContinuous w) : |
| 786 | bilinearCovariance (u - v) w = bilinearCovariance u w - bilinearCovariance v w := by |
| 787 | funext i j n x |
| 788 | simp only [bilinearCovariance, angularAverage, Pi.sub_apply, sub_mul, |
| 789 | intervalIntegral.integral_sub (((hu n x i).fun_mul (hw n x j)).intervalIntegrable _ _) |
| 790 | (((hv n x i).fun_mul (hw n x j)).intervalIntegrable _ _), sub_div] |
| 791 | |
| 792 | omit [NormedAddCommGroup D] [NormedSpace ℝ D] in |
| 793 | theorem covariance_sub_right {u v w : Oscillation D} |
| 794 | (hu : AngularContinuous u) (hv : AngularContinuous v) (hw : AngularContinuous w) : |
| 795 | bilinearCovariance u (v - w) = bilinearCovariance u v - bilinearCovariance u w := by |
| 796 | funext i j n x |
| 797 | simp only [bilinearCovariance, angularAverage, Pi.sub_apply, mul_sub, |
| 798 | intervalIntegral.integral_sub (((hu n x i).fun_mul (hv n x j)).intervalIntegrable _ _) |
| 799 | (((hu n x i).fun_mul (hw n x j)).intervalIntegrable _ _), sub_div] |
| 800 | |
| 801 | omit [NormedAddCommGroup D] [NormedSpace ℝ D] in |
| 802 | theorem signedRemainder_exact (primary old tangent curl : Oscillation D) |
| 803 | (hp : AngularContinuous primary) (ho : AngularContinuous old) |
| 804 | (ht : AngularContinuous tangent) (hc : AngularContinuous curl) : |
| 805 | signedRemainder primary old tangent curl = |
| 806 | symmetricCovariance (old - primary) tangent + symmetricCovariance old curl + |
| 807 | bilinearCovariance (tangent + curl) (tangent + curl) := by |
| 808 | unfold signedRemainder symmetricCovariance |
| 809 | rw [covariance_add_right ho ht hc, covariance_add_left ht hc ho, |
| 810 | covariance_sub_left ho hp ht, covariance_sub_right ht ho hp] |
| 811 | abel |
| 812 | |
| 813 | structure SameCarrier (a b : HarmonicBlock D) : Prop where |
| 814 | frequency : b.frequency = a.frequency |
| 815 | phase : b.phase = a.phase |
| 816 | angular : b.angularFrequency = a.angularFrequency |
| 817 | |
| 818 | noncomputable def addBlock (a b : HarmonicBlock D) : HarmonicBlock D := |
| 819 | { a with velocity := fun n i => a.velocity n i + b.velocity n i |
| 820 | pressure := fun n => a.pressure n + b.pressure n } |
| 821 | |
| 822 | noncomputable def subBlock (a b : HarmonicBlock D) : HarmonicBlock D := |
| 823 | { a with velocity := fun n i => a.velocity n i - b.velocity n i |
| 824 | pressure := fun n => a.pressure n - b.pressure n } |
| 825 | |
| 826 | omit [NormedAddCommGroup D] [NormedSpace ℝ D] in |
| 827 | theorem addBlock_oscillation (a b : HarmonicBlock D) (h : SameCarrier a b) : |
| 828 | (addBlock a b).oscillation = a.oscillation + b.oscillation := by |
| 829 | funext n x i |
| 830 | simp only [addBlock, HarmonicBlock.oscillation, HarmonicFields.field, |
| 831 | HarmonicFields.evaluate_add, Complex.add_re, Pi.add_apply, h.frequency, h.phase, h.angular] |
| 832 | |
| 833 | omit [NormedAddCommGroup D] [NormedSpace ℝ D] in |
| 834 | theorem subBlock_oscillation (a b : HarmonicBlock D) (h : SameCarrier a b) : |
| 835 | (subBlock a b).oscillation = a.oscillation - b.oscillation := by |
| 836 | funext n x i |
| 837 | simp only [subBlock, HarmonicBlock.oscillation, HarmonicFields.field, |
| 838 | HarmonicFields.evaluate_eq_hom, map_sub, |
| 839 | Complex.sub_re, Pi.sub_apply, h.frequency, h.phase, h.angular] |
| 840 | |
| 841 | omit [NormedAddCommGroup D] [NormedSpace ℝ D] in |
| 842 | theorem addBlock_band {a b : HarmonicBlock D} {N : ℕ} |
| 843 | (ha : a.BandLimited N) (hb : b.BandLimited N) : (addBlock a b).BandLimited N := |
| 844 | ⟨fun n i => (ha.1 n i).add (hb.1 n i), |
| 845 | fun n => (ha.2 n).add (hb.2 n)⟩ |
| 846 | |
| 847 | omit [NormedAddCommGroup D] [NormedSpace ℝ D] in |
| 848 | theorem subBlock_band {a b : HarmonicBlock D} {N : ℕ} |
| 849 | (ha : a.BandLimited N) (hb : b.BandLimited N) : (subBlock a b).BandLimited N := |
| 850 | ⟨fun n i => HarmonicResidual.band_sub (ha.1 n i) (hb.1 n i), |
| 851 | fun n => HarmonicResidual.band_sub (ha.2 n) (hb.2 n)⟩ |
| 852 | |
| 853 | theorem uniform_symmetricCovariance {s : StripData D} {P : ι → ℕ → D → ℝ} {α β : ℝ} |
| 854 | (a b : ι → HarmonicBlock D) (N : ℕ) (hband : ∀ l, (a l).BandLimited N) |
| 855 | (hcarrier : ∀ l, SameCarrier (a l) (b l)) |
| 856 | (ha : ∀ i j, UniformWaveClass s P α (fun l n x => (a l).velocity n i j x)) |
| 857 | (hb : ∀ i j, UniformWaveClass s P β (fun l n x => (b l).velocity n i j x)) |
| 858 | (hP0 : ∀ l n x, x ∈ s.domain → 0 ≤ P l n x) |
| 859 | (hP1 : ∀ l n x, x ∈ s.domain → P l n x ≤ 1) |
| 860 | (hkp : ∀ l n, (a l).angularFrequency n ≠ 0) (i j : Fin 3) : |
| 861 | UniformMeanClass s (α + β) (fun l => symmetricCovariance (a l).oscillation (b l).oscillation i j) := by |
| 862 | have hf := uniform_mixedBlockCovariance a b N hband |
| 863 | (fun l => (hcarrier l).frequency) (fun l => (hcarrier l).phase) (fun l => (hcarrier l).angular) |
| 864 | ha hb hP0 hP1 hkp |
| 865 | have hr : UniformMeanClass s (α + β) |
| 866 | (fun l => bilinearCovariance (b l).oscillation (a l).oscillation i j) := by |
| 867 | apply (hf j i).congr |
| 868 | intro l n x _ |
| 869 | rw [bilinearCovariance_comm] |
| 870 | exact (hf i j).add hr |
| 871 | |
| 872 | /-- Input coefficient bounds with one witness uniform in all spatial |
| 873 | labels. The improved old-minus-primary bound is explicitly retained. -/ |
| 874 | structure SignedFamily (s : StripData D) (P : ι → ℕ → D → ℝ) (α δ β η : ℝ) where |
| 875 | primary : ι → HarmonicBlock D |
| 876 | old : ι → HarmonicBlock D |
| 877 | tangent : ι → HarmonicBlock D |
| 878 | curl : ι → HarmonicBlock D |
| 879 | bandwidth : ℕ |
| 880 | primary_band : ∀ l, (primary l).BandLimited bandwidth |
| 881 | old_band : ∀ l, (old l).BandLimited bandwidth |
| 882 | tangent_band : ∀ l, (tangent l).BandLimited bandwidth |
| 883 | curl_band : ∀ l, (curl l).BandLimited bandwidth |
| 884 | primary_carrier : ∀ l, SameCarrier (old l) (primary l) |
| 885 | tangent_carrier : ∀ l, SameCarrier (old l) (tangent l) |
| 886 | curl_carrier : ∀ l, SameCarrier (old l) (curl l) |
| 887 | old_bounds : ∀ i j, UniformWaveClass s P α (fun l n x => (old l).velocity n i j x) |
| 888 | difference_bounds : ∀ i j, UniformWaveClass s P δ |
| 889 | (fun l n x => (old l).velocity n i j x - (primary l).velocity n i j x) |
| 890 | tangent_bounds : ∀ i j, UniformWaveClass s P β (fun l n x => (tangent l).velocity n i j x) |
| 891 | curl_bounds : ∀ i j, UniformWaveClass s P η (fun l n x => (curl l).velocity n i j x) |
| 892 | envelope_nonneg : ∀ l n x, x ∈ s.domain → 0 ≤ P l n x |
| 893 | envelope_le_one : ∀ l n x, x ∈ s.domain → P l n x ≤ 1 |
| 894 | angular_ne_zero : ∀ l n, (old l).angularFrequency n ≠ 0 |
| 895 | |
| 896 | theorem SignedFamily.uniform_remainder {s : StripData D} {P : ι → ℕ → D → ℝ} {α δ β η γ : ℝ} |
| 897 | (f : SignedFamily s P α δ β η) (hβη : β ≤ η) |
| 898 | (hγd : γ ≤ δ + β) (hγc : γ ≤ α + η) (hγs : γ ≤ 2 * β) (i j : Fin 3) : |
| 899 | UniformMeanClass s γ (fun l => signedRemainder (f.primary l).oscillation |
| 900 | (f.old l).oscillation (f.tangent l).oscillation (f.curl l).oscillation i j) := by |
| 901 | let diff := fun l => subBlock (f.old l) (f.primary l) |
| 902 | let inc := fun l => addBlock (f.tangent l) (f.curl l) |
| 903 | have hdt : ∀ l, SameCarrier (diff l) (f.tangent l) := fun l => |
| 904 | ⟨(f.tangent_carrier l).frequency, (f.tangent_carrier l).phase, (f.tangent_carrier l).angular⟩ |
| 905 | have htc : ∀ l, SameCarrier (f.tangent l) (f.curl l) := fun l => |
| 906 | ⟨(f.curl_carrier l).frequency.trans (f.tangent_carrier l).frequency.symm, |
| 907 | (f.curl_carrier l).phase.trans (f.tangent_carrier l).phase.symm, |
| 908 | (f.curl_carrier l).angular.trans (f.tangent_carrier l).angular.symm⟩ |
| 909 | have hd := uniform_symmetricCovariance diff f.tangent f.bandwidth |
| 910 | (fun l => subBlock_band (f.old_band l) (f.primary_band l)) hdt |
| 911 | f.difference_bounds f.tangent_bounds f.envelope_nonneg f.envelope_le_one f.angular_ne_zero i j |
| 912 | have hc := uniform_symmetricCovariance f.old f.curl f.bandwidth f.old_band f.curl_carrier |
| 913 | f.old_bounds f.curl_bounds f.envelope_nonneg f.envelope_le_one f.angular_ne_zero i j |
| 914 | have hinc : ∀ i j, UniformWaveClass s P β (fun l n x => (inc l).velocity n i j x) := by |
| 915 | intro i j |
| 916 | exact (f.tangent_bounds i j).add ((f.curl_bounds i j).mono_exponent hβη) |
| 917 | have hi := uniform_blockCovariance inc f.bandwidth |
| 918 | (fun l => addBlock_band (f.tangent_band l) (f.curl_band l)) hinc |
| 919 | f.envelope_nonneg f.envelope_le_one |
| 920 | (fun l n => by |
| 921 | change (f.tangent l).angularFrequency n ≠ 0 |
| 922 | rw [(f.tangent_carrier l).angular] |
| 923 | exact f.angular_ne_zero l n) i j |
| 924 | have hall := ((hd.mono_exponent hγd).add (hc.mono_exponent hγc)).add |
| 925 | (hi.mono_exponent (by linarith : γ ≤ β + β)) |
| 926 | apply hall.congr |
| 927 | intro l n x _ |
| 928 | have he := congrArg (fun T : Tensor D => T i j n x) |
| 929 | (signedRemainder_exact (f.primary l).oscillation (f.old l).oscillation |
| 930 | (f.tangent l).oscillation (f.curl l).oscillation |
| 931 | (block_angularContinuous _) (block_angularContinuous _) |
| 932 | (block_angularContinuous _) (block_angularContinuous _)) |
| 933 | simpa only [diff, inc, subBlock_oscillation _ _ (f.primary_carrier l), |
| 934 | addBlock_oscillation _ _ (htc l), Pi.add_apply] using he.symm |
| 935 | |
| 936 | omit [NormedAddCommGroup D] [NormedSpace ℝ D] in |
| 937 | theorem fieldSum_add (labels : ℕ → Finset ι) (u v : ι → Oscillation D) : |
| 938 | fieldSum labels (fun l => u l + v l) = fieldSum labels u + fieldSum labels v := by |
| 939 | funext n x i |
| 940 | simp only [fieldSum, Pi.add_apply, Finset.sum_add_distrib] |
| 941 | |
| 942 | omit [NormedAddCommGroup D] [NormedSpace ℝ D] in |
| 943 | theorem fieldSum_angularContinuous (labels : ℕ → Finset ι) (u : ι → Oscillation D) |
| 944 | (hu : ∀ l, AngularContinuous (u l)) : AngularContinuous (fieldSum labels u) := |
| 945 | fun n x i => continuous_finsetSum (labels n) (fun l _ => hu l n x i) |
| 946 | |
| 947 | omit [NormedAddCommGroup D] [NormedSpace ℝ D] in |
| 948 | theorem supported_signedRemainder_fieldSum_eq {d h : ℝ} {vr vt : TorusInverse.Plane} |
| 949 | {sys : PartitionedCovariance.SlotSystem d h vr vt} |
| 950 | (labels : ℕ → Finset ι) (label : ℕ → ι → SlotColoring.Label) |
| 951 | (hinj : ∀ n, Set.InjOn (label n) (labels n : Set ι)) |
| 952 | (hlevel : ∀ n l, l ∈ labels n → 1 ≤ (label n l).1) |
| 953 | (χ : ℕ → D → WindowPoint) (Y : ℕ → D → TorusInverse.Plane) {U : Set D} |
| 954 | (p o t c : ι → Oscillation D) |
| 955 | (hp : ∀ l, AngularContinuous (p l)) (ho : ∀ l, AngularContinuous (o l)) |
| 956 | (ht : ∀ l, AngularContinuous (t l)) (hc : ∀ l, AngularContinuous (c l)) |
| 957 | (hsp : SupportedOscillations sys label χ Y U p) |
| 958 | (hso : SupportedOscillations sys label χ Y U o) |
| 959 | (hst : SupportedOscillations sys label χ Y U t) |
| 960 | (hsc : SupportedOscillations sys label χ Y U c) |
| 961 | (n : ℕ) {x : D} (hx : x ∈ U) (i j : Fin 3) : |
| 962 | signedRemainder (fieldSum labels p) (fieldSum labels o) |
| 963 | (fieldSum labels t) (fieldSum labels c) i j n x = |
| 964 | ∑ l ∈ labels n, signedRemainder (p l) (o l) (t l) (c l) i j n x := by |
| 965 | have hi : ∀ l, AngularContinuous (t l + c l) := fun l => (ht l).add (hc l) |
| 966 | have hsi := hst.add hsc |
| 967 | have hoi := supported_covariance_fieldSum_eq labels label hinj hlevel χ Y o |
| 968 | (fun l => t l + c l) ho hi hso hsi n hx i j |
| 969 | have hio := supported_covariance_fieldSum_eq labels label hinj hlevel χ Y |
| 970 | (fun l => t l + c l) o hi ho hsi hso n hx i j |
| 971 | have hii := supported_covariance_fieldSum_eq labels label hinj hlevel χ Y |
| 972 | (fun l => t l + c l) (fun l => t l + c l) hi hi hsi hsi n hx i j |
| 973 | have hpt := supported_covariance_fieldSum_eq labels label hinj hlevel χ Y p t hp ht hsp hst n hx i j |
| 974 | have htp := supported_covariance_fieldSum_eq labels label hinj hlevel χ Y t p ht hp hst hsp n hx i j |
| 975 | simp only [fieldSum_add] at hoi hio hii |
| 976 | simp only [signedRemainder, symmetricCovariance, Pi.sub_apply, Pi.add_apply, |
| 977 | hoi, hio, hii, hpt, htp, Finset.sum_add_distrib, Finset.sum_sub_distrib] |
| 978 | |
| 979 | omit [NormedAddCommGroup D] [NormedSpace ℝ D] in |
| 980 | theorem signedRemainder_window_support {d h : ℝ} {vr vt : TorusInverse.Plane} |
| 981 | {sys : PartitionedCovariance.SlotSystem d h vr vt} |
| 982 | {label : ℕ → ι → SlotColoring.Label} {χ : ℕ → D → WindowPoint} |
| 983 | {Y : ℕ → D → TorusInverse.Plane} {U : Set D} {p o t c : ι → Oscillation D} |
| 984 | (hp : SupportedOscillations sys label χ Y U p) |
| 985 | (ho : SupportedOscillations sys label χ Y U o) |
| 986 | (ht : SupportedOscillations sys label χ Y U t) |
| 987 | (hc : SupportedOscillations sys label χ Y U c) |
| 988 | (l : ι) (n : ℕ) {x : D} (hx : x ∈ U) (i j : Fin 3) |
| 989 | (hne : signedRemainder (p l) (o l) (t l) (c l) i j n x ≠ 0) : |
| 990 | χ n x ∈ closedWindow d (label n l) := by |
| 991 | by_contra hout |
| 992 | have hz (u : ι → Oscillation D) (hu : SupportedOscillations sys label χ Y U u) |
| 993 | (θ : ℝ) (k : Fin 3) : u l n (x, θ) k = 0 := by |
| 994 | by_contra hn |
| 995 | exact hout (hu l n x hx θ k hn).1 |
| 996 | apply hne |
| 997 | simp only [signedRemainder, symmetricCovariance, bilinearCovariance, angularAverage, |
| 998 | Pi.add_apply, Pi.sub_apply, hz p hp, hz o ho, hz t ht, hz c hc, zero_add, zero_mul, |
| 999 | intervalIntegral.integral_zero, zero_div, sub_self] |
| 1000 | |
| 1001 | /-- The full signed remainder of the actual assembled fields satisfies |
| 1002 | the fixed target exponent, uniformly over arbitrary finite active label |
| 1003 | sets. The local overlap bound is independent of stage and total size. -/ |
| 1004 | theorem SignedFamily.remainder_sum_mem {s : StripData D} {P : ι → ℕ → D → ℝ} {α δ β η γ : ℝ} |
| 1005 | (f : SignedFamily s P α δ β η) (hβη : β ≤ η) |
| 1006 | (hγd : γ ≤ δ + β) (hγc : γ ≤ α + η) (hγs : γ ≤ 2 * β) |
| 1007 | {d h : ℝ} {vr vt : TorusInverse.Plane} |
| 1008 | {sys : PartitionedCovariance.SlotSystem d h vr vt} |
| 1009 | (labels : ℕ → Finset ι) (label : ℕ → ι → SlotColoring.Label) |
| 1010 | (hinj : ∀ n, Set.InjOn (label n) (labels n : Set ι)) |
| 1011 | (hlevel : ∀ n l, l ∈ labels n → 1 ≤ (label n l).1) |
| 1012 | (χ : ℕ → D → WindowPoint) (hχ : ∀ n, ContinuousOn (χ n) s.domain) |
| 1013 | (Y : ℕ → D → TorusInverse.Plane) |
| 1014 | (hp : SupportedOscillations sys label χ Y s.domain (fun l => (f.primary l).oscillation)) |
| 1015 | (ho : SupportedOscillations sys label χ Y s.domain (fun l => (f.old l).oscillation)) |
| 1016 | (ht : SupportedOscillations sys label χ Y s.domain (fun l => (f.tangent l).oscillation)) |
| 1017 | (hc : SupportedOscillations sys label χ Y s.domain (fun l => (f.curl l).oscillation)) |
| 1018 | (i j : Fin 3) : |
| 1019 | MeanClass s γ (signedRemainder |
| 1020 | (fieldSum labels (fun l => (f.primary l).oscillation)) |
| 1021 | (fieldSum labels (fun l => (f.old l).oscillation)) |
| 1022 | (fieldSum labels (fun l => (f.tangent l).oscillation)) |
| 1023 | (fieldSum labels (fun l => (f.curl l).oscillation)) i j) := by |
| 1024 | have hsum := window_sum_memClass labels label hinj hlevel d χ hχ |
| 1025 | (f.uniform_remainder hβη hγd hγc hγs i j) (fun _ x hx => s.zeta_nonneg x hx) |
| 1026 | (fun n l _ x hx hn => signedRemainder_window_support hp ho ht hc l n hx i j hn) |
| 1027 | apply WaveInteractionBounds.class_congr hsum |
| 1028 | intro n x hx |
| 1029 | exact (supported_signedRemainder_fieldSum_eq labels label hinj hlevel χ Y |
| 1030 | (fun l => (f.primary l).oscillation) (fun l => (f.old l).oscillation) |
| 1031 | (fun l => (f.tangent l).oscillation) (fun l => (f.curl l).oscillation) |
| 1032 | (fun l => block_angularContinuous _) (fun l => block_angularContinuous _) |
| 1033 | (fun l => block_angularContinuous _) (fun l => block_angularContinuous _) |
| 1034 | hp ho ht hc n hx i j).symm |
| 1035 | |
| 1036 | theorem uniform_coefficients_of_nonzero {s : StripData D} {P : ι → ℕ → D → ℝ} {α : ℝ} |
| 1037 | (a : ι → HarmonicBlock D) |
| 1038 | (ha : ∀ i j, j ≠ 0 → UniformWaveClass s P α (fun l n x => (a l).velocity n i j x)) |
| 1039 | (hz : ∀ l n i, (a l).velocity n i 0 = 0) |
| 1040 | (hP : ∀ l n x, x ∈ s.domain → 0 ≤ P l n x) : |
| 1041 | ∀ i j, UniformWaveClass s P α (fun l n x => (a l).velocity n i j x) := by |
| 1042 | intro i j |
| 1043 | by_cases hj : j = 0 |
| 1044 | · subst j |
| 1045 | have hzero : UniformWaveClass s P α (fun _ _ _ => (0 : ℂ)) := |
| 1046 | UniformClass.zero (fun l n x hx => mul_nonneg (Real.sqrt_nonneg _) (hP l n x hx)) |
| 1047 | apply hzero.congr |
| 1048 | intro l n x _ |
| 1049 | simp only [hz, Pi.zero_apply] |
| 1050 | · exact ha i j hj |
| 1051 | |
| 1052 | omit [NormedAddCommGroup D] [NormedSpace ℝ D] in |
| 1053 | theorem covariance_increment_exact (u v : Oscillation D) |
| 1054 | (hu : AngularContinuous u) (hv : AngularContinuous v) : |
| 1055 | bilinearCovariance (u + v) (u + v) - bilinearCovariance u u = |
| 1056 | bilinearCovariance u v + bilinearCovariance v u + bilinearCovariance v v := by |
| 1057 | rw [covariance_add_left hu hv (hu.add hv), covariance_add_right hu hu hv, |
| 1058 | covariance_add_right hv hu hv] |
| 1059 | abel |
| 1060 | |
| 1061 | /-- The actual exact-minus-principal covariance after adding a supported |
| 1062 | curl correction. Taking `α=1/2` and `β=1-κ` gives `3/2-κ`, with no factor |
| 1063 | depending on the total number of active labels. -/ |
| 1064 | theorem harmonic_covariance_increment_sum_mem |
| 1065 | {s : StripData D} {P : ι → ℕ → D → ℝ} {α β : ℝ} (hαβ : α ≤ β) |
| 1066 | {d h : ℝ} {vr vt : TorusInverse.Plane} |
| 1067 | {sys : PartitionedCovariance.SlotSystem d h vr vt} |
| 1068 | (labels : ℕ → Finset ι) (label : ℕ → ι → SlotColoring.Label) |
| 1069 | (hinj : ∀ n, Set.InjOn (label n) (labels n : Set ι)) |
| 1070 | (hlevel : ∀ n l, l ∈ labels n → 1 ≤ (label n l).1) |
| 1071 | (χ : ℕ → D → WindowPoint) (hχ : ∀ n, ContinuousOn (χ n) s.domain) |
| 1072 | (Y : ℕ → D → TorusInverse.Plane) |
| 1073 | (a b : ι → HarmonicBlock D) (N : ℕ) |
| 1074 | (hNa : ∀ l, (a l).BandLimited N) (hNb : ∀ l, (b l).BandLimited N) |
| 1075 | (hcarrier : ∀ l, SameCarrier (a l) (b l)) |
| 1076 | (ha : ∀ i j, UniformWaveClass s P α (fun l n x => (a l).velocity n i j x)) |
| 1077 | (hb : ∀ i j, UniformWaveClass s P β (fun l n x => (b l).velocity n i j x)) |
| 1078 | (hP0 : ∀ l n x, x ∈ s.domain → 0 ≤ P l n x) |
| 1079 | (hP1 : ∀ l n x, x ∈ s.domain → P l n x ≤ 1) |
| 1080 | (hkp : ∀ l n, (a l).angularFrequency n ≠ 0) |
| 1081 | (hsu : SupportedOscillations sys label χ Y s.domain (fun l => (a l).oscillation)) |
| 1082 | (hsv : SupportedOscillations sys label χ Y s.domain (fun l => (b l).oscillation)) |
| 1083 | (i j : Fin 3) : |
| 1084 | MeanClass s (α + β) (fun n x => |
| 1085 | bilinearCovariance |
| 1086 | (fieldSum labels (fun l => (a l).oscillation) + fieldSum labels (fun l => (b l).oscillation)) |
| 1087 | (fieldSum labels (fun l => (a l).oscillation) + fieldSum labels (fun l => (b l).oscillation)) i j n x - |
| 1088 | bilinearCovariance (fieldSum labels (fun l => (a l).oscillation)) |
| 1089 | (fieldSum labels (fun l => (a l).oscillation)) i j n x) := by |
| 1090 | let u := fieldSum labels (fun l => (a l).oscillation) |
| 1091 | let v := fieldSum labels (fun l => (b l).oscillation) |
| 1092 | have hab := harmonic_covariance_sum_mem labels label hinj hlevel χ hχ Y a b N hNa |
| 1093 | (fun l => (hcarrier l).frequency) (fun l => (hcarrier l).phase) |
| 1094 | (fun l => (hcarrier l).angular) ha hb hP0 hP1 hkp hsu hsv |
| 1095 | have hba : MeanClass s (α + β) (bilinearCovariance v u i j) := by |
| 1096 | simpa only [bilinearCovariance_comm] using hab j i |
| 1097 | have hbb := harmonic_covariance_sum_mem labels label hinj hlevel χ hχ Y b b N hNb |
| 1098 | (fun _ => rfl) (fun _ => rfl) (fun _ => rfl) hb hb hP0 hP1 |
| 1099 | (fun l n => by rw [(hcarrier l).angular]; exact hkp l n) hsv hsv i j |
| 1100 | have hall := ((hab i j).add hba).add (hbb.mono_exponent (by linarith : α + β ≤ β + β)) |
| 1101 | apply WaveInteractionBounds.class_congr hall |
| 1102 | intro n x _ |
| 1103 | exact (congrArg (fun T : Tensor D => T i j n x) |
| 1104 | (covariance_increment_exact u v |
| 1105 | (fieldSum_angularContinuous labels _ (fun l => block_angularContinuous (a l))) |
| 1106 | (fieldSum_angularContinuous labels _ (fun l => block_angularContinuous (b l))))).symm |
| 1107 | |
| 1108 | /-! ## Joint-index input estimates and native derivative supports -/ |
| 1109 | |
| 1110 | /-- Joint `(band,label)` envelope estimates yield the required quantifier |
| 1111 | order directly. A uniform polynomial change of slow scale is allowed. |
| 1112 | Neither constants nor polynomial degrees are chosen after the label. -/ |
| 1113 | theorem uniformClass_of_envelopeJets {s : StripData D} |
| 1114 | {V : PhaseJetBounds.Domain (ℕ × ι) D} {W : (ℕ × ι) → D → ℝ} |
| 1115 | {a : (ℕ × ι) → D → E} (ha : PrimaryPulseBounds.EnvelopeJets V W a) |
| 1116 | {w : ι → ℕ → D → ℝ} {α K : ℝ} {q : ℕ} (hK : 1 ≤ K) |
| 1117 | (hscale : ∀ n l, V.scale (n, l) ≤ K * s.slow n ^ q) |
| 1118 | (hdom : ∀ n l, s.domain ⊆ V.carrier (n, l)) |
| 1119 | (hw : ∀ l n x, x ∈ s.domain → 0 ≤ w l n x) |
| 1120 | (hW : ∀ l n x, x ∈ s.domain → W (n, l) x ≤ s.epsilon n ^ α * w l n x) : |
| 1121 | UniformClass s w α (fun l n => a (n, l)) := by |
| 1122 | refine ⟨hw, fun l n => (ha.smooth (n, l)).mono (hdom n l), ?_⟩ |
| 1123 | intro N |
| 1124 | obtain ⟨C, hC, m, hb⟩ := ha.bound N |
| 1125 | have hC0 : 0 ≤ C := zero_le_one.trans hC |
| 1126 | have hK0 : 0 ≤ K := zero_le_one.trans hK |
| 1127 | refine ⟨C * K ^ m, by positivity, q * m, ?_⟩ |
| 1128 | intro l n x hx j hj |
| 1129 | have hp : V.scale (n, l) ^ m ≤ K ^ m * s.growth n x ^ (q * m) := by |
| 1130 | calc |
| 1131 | _ ≤ (K * s.slow n ^ q) ^ m := |
| 1132 | pow_le_pow_left₀ (zero_le_one.trans (V.one_le_scale _)) (hscale n l) m |
| 1133 | _ = K ^ m * s.slow n ^ (q * m) := by rw [mul_pow, ← pow_mul] |
| 1134 | _ ≤ _ := mul_le_mul_of_nonneg_left |
| 1135 | (pow_le_pow_left₀ (zero_le_one.trans (s.one_le_slow n)) (s.slow_le_growth n x) _) (by positivity) |
| 1136 | calc |
| 1137 | _ ≤ C * V.scale (n, l) ^ m * W (n, l) x := hb (n, l) x (hdom n l hx) j hj |
| 1138 | _ ≤ C * V.scale (n, l) ^ m * (s.epsilon n ^ α * w l n x) := |
| 1139 | mul_le_mul_of_nonneg_left (hW l n x hx) (mul_nonneg hC0 |
| 1140 | (pow_nonneg (zero_le_one.trans (V.one_le_scale _)) _)) |
| 1141 | _ ≤ C * (K ^ m * s.growth n x ^ (q * m)) * (s.epsilon n ^ α * w l n x) := |
| 1142 | mul_le_mul_of_nonneg_right (mul_le_mul_of_nonneg_left hp hC0) |
| 1143 | (mul_nonneg (Real.rpow_pos_of_pos (s.epsilon_pos n) α).le (hw l n x hx)) |
| 1144 | _ = _ := by unfold majorant; ring |
| 1145 | |
| 1146 | theorem uniformWaveClass_of_envelopeJets {s : StripData D} |
| 1147 | {V : PhaseJetBounds.Domain (ℕ × ι) D} {W : (ℕ × ι) → D → ℝ} |
| 1148 | {a : (ℕ × ι) → D → E} (ha : PrimaryPulseBounds.EnvelopeJets V W a) |
| 1149 | {P : ι → ℕ → D → ℝ} {α K : ℝ} {q : ℕ} (hK : 1 ≤ K) |
| 1150 | (hscale : ∀ n l, V.scale (n, l) ≤ K * s.slow n ^ q) |
| 1151 | (hdom : ∀ n l, s.domain ⊆ V.carrier (n, l)) |
| 1152 | (hP : ∀ l n x, x ∈ s.domain → 0 ≤ P l n x) |
| 1153 | (hW : ∀ l n x, x ∈ s.domain → |
| 1154 | W (n, l) x ≤ s.epsilon n ^ α * (Real.sqrt (s.zeta x) * P l n x)) : |
| 1155 | UniformWaveClass s P α (fun l n => a (n, l)) := |
| 1156 | uniformClass_of_envelopeJets ha hK hscale hdom |
| 1157 | (fun l n x hx => mul_nonneg (Real.sqrt_nonneg _) (hP l n x hx)) hW |
| 1158 | |
| 1159 | theorem uniformClass_of_polynomialJets {s : StripData D} |
| 1160 | {V : PhaseJetBounds.Domain (ℕ × ι) D} {a : (ℕ × ι) → D → E} |
| 1161 | (ha : PhaseJetBounds.PolynomialJets V a) {K : ℝ} {q : ℕ} (hK : 1 ≤ K) |
| 1162 | (hscale : ∀ n l, V.scale (n, l) ≤ K * s.slow n ^ q) |
| 1163 | (hdom : ∀ n l, s.domain ⊆ V.carrier (n, l)) : |
| 1164 | UniformClass s (fun _ _ _ => 1) 0 (fun l n => a (n, l)) := |
| 1165 | uniformClass_of_envelopeJets (PrimaryPulseBounds.EnvelopeJets.of_polynomial ha) |
| 1166 | hK hscale hdom (fun _ _ _ _ => zero_le_one) (by intro l n x hx; simp) |
| 1167 | |
| 1168 | theorem slotSet_isCompact (h r : ℝ) (vr vt : TorusInverse.Plane) (l : SlotColoring.Label) : |
| 1169 | IsCompact (PartitionedCovariance.slotSet h r vr vt l) := by |
| 1170 | have he : PartitionedCovariance.slotSet h r vr vt l = |
| 1171 | (fun z : ℝ × ℝ => PartitionedCovariance.slotCenter h l + z.1 • vr + z.2 • vt) '' |
| 1172 | (Icc (-(2 * r)) (2 * r) ×ˢ Icc (-(2 * r)) (2 * r)) := by |
| 1173 | ext x |
| 1174 | constructor |
| 1175 | · rintro ⟨ξ, η, hξ, hη, he⟩ |
| 1176 | exact ⟨(ξ, η), ⟨abs_le.mp hξ, abs_le.mp hη⟩, he.symm⟩ |
| 1177 | · rintro ⟨⟨ξ, η⟩, ⟨hξ, hη⟩, he⟩ |
| 1178 | exact ⟨ξ, η, abs_le.mpr hξ, abs_le.mpr hη, he.symm⟩ |
| 1179 | rw [he] |
| 1180 | exact (isCompact_Icc.prod isCompact_Icc).image |
| 1181 | ((continuous_const.add (continuous_fst.smul continuous_const)).add |
| 1182 | (continuous_snd.smul continuous_const)) |
| 1183 | |
| 1184 | /-- Native derivatives stay inside the same closed padded slot, including |
| 1185 | entry and exit. Periodizing such a derivative can therefore reuse |
| 1186 | `PartitionedCovariance.covered_support` and the original slot separation. -/ |
| 1187 | theorem native_jet_tsupport_subset {h r : ℝ} {vr vt : TorusInverse.Plane} |
| 1188 | {l : SlotColoring.Label} {f : TorusInverse.Plane → E} |
| 1189 | (hf : support f ⊆ PartitionedCovariance.slotSet h r vr vt l) (m : ℕ) : |
| 1190 | tsupport (iteratedFDeriv ℝ m f) ⊆ PartitionedCovariance.slotSet h r vr vt l := |
| 1191 | (tsupport_iteratedFDeriv_subset m).trans (closure_minimal hf (slotSet_isCompact h r vr vt l).isClosed) |
| 1192 | |
| 1193 | end NavierStokes.LabelSumBounds |