| @@ -155,78 +155,6 @@ section FamilyEstimate |
| 155 | 155 | variable {ι : Type*} {Q H : Type} [NormedAddCommGroup Q] [NormedSpace ℝ Q] |
| 156 | 156 | variable [NormedAddCommGroup H] [InnerProductSpace ℝ H] [CompleteSpace H] |
| 157 | 157 | |
| 158 | | -/-- A band-uniform family version of the joint forced estimate. Both input |
| 159 | | -predicates refer to actual full derivatives of the coefficient and source. -/ |
| 160 | | -theorem forced_family_envelope_jets |
| 161 | | - (D : PhaseJetBounds.Domain ι Q) (V : ι → Set ℝ) (hV : ∀ i, IsOpen (V i)) |
| 162 | | - (L μ : ι → ℝ) (hL : ∀ i, 0 < L i) (hI : ∀ i, Icc 0 (L i) ⊆ V i) |
| 163 | | - (A : ι → Q × ℝ → H →L[ℝ] H) |
| 164 | | - (hA : PhaseJetBounds.PolynomialJets (productDomain D V hV) A) |
| 165 | | - (P rate : ι → ℝ → ℝ) (hP : ∀ i t, 0 < P i t) |
| 166 | | - (hdP : ∀ i t, HasDerivAt (P i) (rate i t * P i t) t) |
| 167 | | - (w : ι → Q → ℝ) (hw : ∀ i p, p ∈ D.carrier i → 0 ≤ w i p) |
| 168 | | - (f : ι → Q × ℝ → H) |
| 169 | | - (hf : EnvelopeJets (productDomain D V hV) (fun i z => w i z.1 * P i z.2) f) |
| 170 | | - {K₀ : ℝ} (hK₀ : 1 ≤ K₀) (hμ : ∀ i, 0 ≤ μ i) |
| 171 | | - (hslot : ∀ i, L i ≤ K₀ * D.scale i) |
| 172 | | - (hExp : ∀ i, Real.exp (μ i * L i) ≤ K₀) |
| 173 | | - (henergy : ∀ i p, p ∈ D.carrier i → ∀ v ∈ Icc 0 (L i), ∀ x : H, |
| 174 | | - ⟪x, A i (p, v) x⟫_ℝ ≤ (rate i v + μ i) * ‖x‖ ^ 2) : |
| 175 | | - EnvelopeJets (productDomain D (fun i => Ioo 0 (L i)) (fun _ => isOpen_Ioo)) |
| 176 | | - (fun i z => w i z.1 * P i z.2) |
| 177 | | - (fun i => JointODE.reparamSolution 0 (A i) (fun _ => 0) (f i)) := by |
| 178 | | - refine ⟨fun i x hx => mul_nonneg (hw i x.1 hx.1) (hP i x.2).le, ?_, ?_⟩ |
| 179 | | - · intro i z hz |
| 180 | | - exact (JointODE.reparamSolution_contDiffAt (D.carrier i) (V i) (D.isOpen i) (hV i) (hI i) |
| 181 | | - (A i) (fun _ => 0) (f i) (hA.smooth i) contDiffOn_const (hf.smooth i) |
| 182 | | - (show z ∈ D.carrier i ×ˢ Icc 0 (L i) from ⟨hz.1, hz.2.1.le, hz.2.2.le⟩)).contDiffWithinAt |
| 183 | | - intro N |
| 184 | | - obtain ⟨C, hC, m, hm⟩ := hA.bound N |
| 185 | | - obtain ⟨C', hC', m', hm'⟩ := hf.bound N |
| 186 | | - let K := C + C' + K₀ + 1 |
| 187 | | - have hK : 1 ≤ K := by dsimp [K]; linarith |
| 188 | | - have hCK : C ≤ K := by dsimp [K]; linarith |
| 189 | | - have hC'K : C' ≤ K := by dsimp [K]; linarith |
| 190 | | - have hK₀K : K₀ ≤ K := by dsimp [K]; linarith |
| 191 | | - let B := (2 : ℝ) ^ (N + 1) * rescaleConstant N K ^ 3 |
| 192 | | - have hB : 1 ≤ B := one_le_mul_of_one_le_of_one_le (one_le_pow₀ (by norm_num)) |
| 193 | | - (one_le_pow₀ (hK.trans (le_rescaleConstant N K))) |
| 194 | | - refine ⟨B ^ (N + 1), one_le_pow₀ hB, (m + m' + 2) * (N + 1), ?_⟩ |
| 195 | | - intro i z hz j hj |
| 196 | | - have hS := D.one_le_scale i |
| 197 | | - have hS0 := zero_le_one.trans hS |
| 198 | | - have hw0 := hw i z.1 hz.1 |
| 199 | | - have hAj : ∀ k ≤ N, ∀ v ∈ Icc 0 (L i), |
| 200 | | - ‖iteratedFDeriv ℝ k (A i) (z.1, v)‖ ≤ K * D.scale i ^ (m + m') := by |
| 201 | | - intro k hk v hv |
| 202 | | - exact (hm i k hk (z.1, v) ⟨hz.1, hI i hv⟩).trans |
| 203 | | - (mul_le_mul hCK (pow_le_pow_right₀ hS (Nat.le_add_right m m')) |
| 204 | | - (pow_nonneg hS0 _) (zero_le_one.trans hK)) |
| 205 | | - have hfj : ∀ k ≤ N, ∀ v ∈ Icc 0 (L i), |
| 206 | | - ‖iteratedFDeriv ℝ k (f i) (z.1, v)‖ ≤ w i z.1 * K * D.scale i ^ (m + m') * P i v := by |
| 207 | | - intro k hk v hv |
| 208 | | - calc |
| 209 | | - _ ≤ C' * D.scale i ^ m' * (w i z.1 * P i v) := hm' i (z.1, v) ⟨hz.1, hI i hv⟩ k hk |
| 210 | | - _ ≤ K * D.scale i ^ (m + m') * (w i z.1 * P i v) := |
| 211 | | - mul_le_mul_of_nonneg_right (mul_le_mul hC'K |
| 212 | | - (pow_le_pow_right₀ hS (Nat.le_add_left m' m)) (pow_nonneg hS0 _) |
| 213 | | - (zero_le_one.trans hK)) (mul_nonneg hw0 (hP i v).le) |
| 214 | | - _ = _ := by ring |
| 215 | | - have hh := forced_joint_jet_bound (hL i) hS hK (hμ i) hw0 |
| 216 | | - ((hslot i).trans (mul_le_mul_of_nonneg_right hK₀K hS0)) |
| 217 | | - ((hExp i).trans hK₀K) (D.carrier i) (V i) (D.isOpen i) (hV i) (hI i) |
| 218 | | - (A i) (hA.smooth i) (P i) (rate i) (hP i) (hdP i) (f i) (hf.smooth i) hz.1 |
| 219 | | - ⟨hz.2.1.le, hz.2.2.le⟩ (henergy i z.1 hz.1) (m + m') N hAj hfj j hj |
| 220 | | - calc |
| 221 | | - _ ≤ w i z.1 * B ^ (j + 1) * D.scale i ^ ((m + m' + 2) * (j + 1)) * P i z.2 := hh |
| 222 | | - _ = (B ^ (j + 1) * D.scale i ^ ((m + m' + 2) * (j + 1))) * |
| 223 | | - (w i z.1 * P i z.2) := by ring |
| 224 | | - _ ≤ _ := mul_le_mul_of_nonneg_right |
| 225 | | - (mul_le_mul (pow_le_pow_right₀ hB (Nat.add_le_add_right hj 1)) |
| 226 | | - (pow_le_pow_right₀ hS (Nat.mul_le_mul_left _ (Nat.add_le_add_right hj 1))) |
| 227 | | - (pow_nonneg hS0 _) (pow_nonneg (zero_le_one.trans hB) _)) |
| 228 | | - (mul_nonneg hw0 (hP i z.2).le) |
| 229 | | - |
| 230 | 158 | end FamilyEstimate |
| 231 | 159 | |
| 232 | 160 | section EnvelopeTransfer |
| @@ -235,22 +163,6 @@ variable {ι E F : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 235 | 163 | variable [NormedAddCommGroup F] [NormedSpace ℝ F] |
| 236 | 164 | variable {D : PhaseJetBounds.Domain ι E} {w : ι → E → ℝ} {f g : ι → E → F} |
| 237 | 165 | |
| 238 | | -/-- Local equality transfers the actual derivative estimates; no derivatives |
| 239 | | -of an extension outside the open carrier are used. -/ |
| 240 | | -theorem envelopeJets_congr (hf : EnvelopeJets D w f) |
| 241 | | - (he : ∀ i, EqOn (f i) (g i) (D.carrier i)) : EnvelopeJets D w g := by |
| 242 | | - refine ⟨hf.nonneg, fun i => (hf.smooth i).congr (he i).symm, ?_⟩ |
| 243 | | - intro N |
| 244 | | - obtain ⟨C, hC, m, hb⟩ := hf.bound N |
| 245 | | - refine ⟨C, hC, m, ?_⟩ |
| 246 | | - intro i x hx j hj |
| 247 | | - have heq : f i =ᶠ[𝓝 x] g i := eventually_of_mem ((D.isOpen i).mem_nhds hx) (he i) |
| 248 | | - have heq' : f i =ᶠ[𝓝[univ] x] g i := by simpa only [nhdsWithin_univ] using heq |
| 249 | | - have hjet := heq'.iteratedFDerivWithin_eq (𝕜 := ℝ) heq.self_of_nhds j |
| 250 | | - simp only [iteratedFDerivWithin_univ] at hjet |
| 251 | | - rw [← hjet] |
| 252 | | - exact hb i x hx j hj |
| 253 | | - |
| 254 | 166 | end EnvelopeTransfer |
| 255 | 167 | |
| 256 | 168 | section AffineEvaluation |
| @@ -273,34 +185,6 @@ theorem norm_jet_comp_affine {U : Set F} (hU : IsOpen U) {f : F → G} |
| 273 | 185 | simpa only [Function.comp_def, iteratedFDeriv_comp_add_left] using |
| 274 | 186 | PhaseJetBounds.norm_jet_comp_linear hV hft L hx j |
| 275 | 187 | |
| 276 | | -theorem envelopeJets_precomp_affine {D : PhaseJetBounds.Domain ι E} |
| 277 | | - {D' : PhaseJetBounds.Domain ι F} {w : ι → F → ℝ} {f : ι → F → G} |
| 278 | | - (hf : EnvelopeJets D' w f) (L : ι → E →L[ℝ] F) (c : ι → F) |
| 279 | | - (hscale : ∀ i, D'.scale i = D.scale i) |
| 280 | | - (hmap : ∀ i, MapsTo (fun x => c i + L i x) (D.carrier i) (D'.carrier i)) |
| 281 | | - {C : ℝ} {k : ℕ} (hC : 1 ≤ C) (hL : ∀ i, ‖L i‖ ≤ C * D.scale i ^ k) : |
| 282 | | - EnvelopeJets D (fun i x => w i (c i + L i x)) (fun i x => f i (c i + L i x)) := by |
| 283 | | - refine ⟨fun i x hx => hf.nonneg i _ (hmap i hx), |
| 284 | | - fun i => (hf.smooth i).comp (contDiffOn_const.add (L i).contDiff.contDiffOn) (hmap i), ?_⟩ |
| 285 | | - intro N |
| 286 | | - obtain ⟨A, hA, m, hm⟩ := hf.bound N |
| 287 | | - refine ⟨A * C ^ N, one_le_mul_of_one_le_of_one_le hA (one_le_pow₀ hC), m + k * N, ?_⟩ |
| 288 | | - intro i x hx j hj |
| 289 | | - have hc : 1 ≤ C * D.scale i ^ k := |
| 290 | | - one_le_mul_of_one_le_of_one_le hC (one_le_pow₀ (D.one_le_scale i)) |
| 291 | | - have hpow : ‖L i‖ ^ j ≤ (C * D.scale i ^ k) ^ N := |
| 292 | | - (pow_le_pow_left₀ (norm_nonneg _) (hL i) j).trans (pow_le_pow_right₀ hc hj) |
| 293 | | - have hw := hf.nonneg i (c i + L i x) (hmap i hx) |
| 294 | | - have hb : 0 ≤ A * D'.scale i ^ m * w i (c i + L i x) := |
| 295 | | - mul_nonneg (mul_nonneg (zero_le_one.trans hA) |
| 296 | | - (pow_nonneg (zero_le_one.trans (D'.one_le_scale i)) _)) hw |
| 297 | | - calc |
| 298 | | - _ ≤ ‖iteratedFDeriv ℝ j (f i) (c i + L i x)‖ * ‖L i‖ ^ j := |
| 299 | | - norm_jet_comp_affine (D'.isOpen i) (hf.smooth i) (L i) (c i) (hmap i hx) j |
| 300 | | - _ ≤ (A * D'.scale i ^ m * w i (c i + L i x)) * (C * D.scale i ^ k) ^ N := |
| 301 | | - mul_le_mul (hm i _ (hmap i hx) j hj) hpow (pow_nonneg (norm_nonneg _) _) hb |
| 302 | | - _ = _ := by rw [hscale, mul_pow, pow_add, pow_mul]; ring |
| 303 | | - |
| 304 | 188 | end AffineEvaluation |
| 305 | 189 | |
| 306 | 190 | section CopyFamilies |
| @@ -312,63 +196,6 @@ variable {ι : Type} {P V H : Type} [NormedAddCommGroup P] [NormedSpace ℝ P] |
| 312 | 196 | variable [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 313 | 197 | variable [NormedAddCommGroup H] [InnerProductSpace ℝ H] [CompleteSpace H] |
| 314 | 198 | |
| 315 | | -/-- The same bound for the actual copy-path Volterra extension. Uniqueness |
| 316 | | -identifies it with the endpoint-rescaled solve on an open slot. -/ |
| 317 | | -theorem anchoredSolve_family_envelope_jets |
| 318 | | - (D : PhaseJetBounds.Domain ι (P × Plane)) (I : ι → Set ℝ) (hI : ∀ i, IsOpen (I i)) |
| 319 | | - (L μ : ι → ℝ) (hL : ∀ i, 0 < L i) (hslotI : ∀ i, Icc 0 (L i) ⊆ I i) |
| 320 | | - (d : ι → LinearData P V H) (g : ι → Geometry) (copy : ι → Frequency) |
| 321 | | - (hA : PhaseJetBounds.PolynomialJets (productDomain D I hI) |
| 322 | | - (fun i => (d i).coefficientAlong (g i) (copy i))) |
| 323 | | - (W rate : ι → ℝ → ℝ) (hW : ∀ i t, 0 < W i t) |
| 324 | | - (hdW : ∀ i t, HasDerivAt (W i) (rate i t * W i t) t) |
| 325 | | - (w : ι → P × Plane → ℝ) (hw : ∀ i p, p ∈ D.carrier i → 0 ≤ w i p) |
| 326 | | - (hf : EnvelopeJets (productDomain D I hI) (fun i z => w i z.1 * W i z.2) |
| 327 | | - (fun i => (d i).forcingAlong (g i) (copy i))) |
| 328 | | - {K : ℝ} (hK : 1 ≤ K) (hμ : ∀ i, 0 ≤ μ i) |
| 329 | | - (hslot : ∀ i, L i ≤ K * D.scale i) (hExp : ∀ i, Real.exp (μ i * L i) ≤ K) |
| 330 | | - (henergy : ∀ i p, p ∈ D.carrier i → ∀ v ∈ Icc 0 (L i), ∀ x : H, |
| 331 | | - ⟪x, (d i).coefficientAlong (g i) (copy i) (p, v) x⟫_ℝ ≤ (rate i v + μ i) * ‖x‖ ^ 2) : |
| 332 | | - EnvelopeJets (productDomain D (fun i => Ioo 0 (L i)) (fun _ => isOpen_Ioo)) |
| 333 | | - (fun i z => w i z.1 * W i z.2) |
| 334 | | - (fun i z => (d i).anchoredSolve (g i) (hL i).le (copy i) z.1 z.2) := by |
| 335 | | - have hs := forced_family_envelope_jets D I hI L μ hL hslotI _ hA W rate hW hdW w hw _ hf |
| 336 | | - hK hμ hslot hExp henergy |
| 337 | | - apply envelopeJets_congr hs |
| 338 | | - intro i z hz |
| 339 | | - have hAc := (hA.smooth i).continuousOn.mono (prod_mono Subset.rfl (hslotI i)) |
| 340 | | - have hfc := (hf.smooth i).continuousOn.mono (prod_mono Subset.rfl (hslotI i)) |
| 341 | | - exact JointODE.reparamSolution_eq_actualSolution (hL i).le _ _ _ hAc hfc |
| 342 | | - ⟨hz.1, hz.2.1.le, hz.2.2.le⟩ |
| 343 | | - |
| 344 | | -/-- Evaluation at the current native slot costs only the norm of the actual |
| 345 | | -affine coordinate map. This statement is uniform over copy indices. -/ |
| 346 | | -theorem copySolve_envelope_of_anchored |
| 347 | | - (D D' : PhaseJetBounds.Domain ι (P × Plane)) (L : ι → ℝ) (hL : ∀ i, 0 < L i) |
| 348 | | - (d : ι → LinearData P V H) (g : ι → Geometry) (copy : ι → Frequency) |
| 349 | | - (w : ι → P × Plane → ℝ) (W : ι → ℝ → ℝ) |
| 350 | | - (hs : EnvelopeJets (productDomain D (fun i => Ioo 0 (L i)) (fun _ => isOpen_Ioo)) |
| 351 | | - (fun i z => w i z.1 * W i z.2) |
| 352 | | - (fun i z => (d i).anchoredSolve (g i) (hL i).le (copy i) z.1 z.2)) |
| 353 | | - (hscale : ∀ i, D.scale i = D'.scale i) |
| 354 | | - (hdom : ∀ i, D'.carrier i ⊆ D.carrier i) |
| 355 | | - (hslot : ∀ i p, p ∈ D'.carrier i → ((g i).coordinates (copy i) p.2).2 ∈ Ioo 0 (L i)) |
| 356 | | - {C : ℝ} {k : ℕ} (hC : 1 ≤ C) |
| 357 | | - (hcost : ∀ i, CommonCoverClass.argumentCost (g i) ≤ C * D'.scale i ^ k) : |
| 358 | | - EnvelopeJets D' (fun i p => w i p * W i ((g i).coordinates (copy i) p.2).2) |
| 359 | | - (fun i => (d i).copySolve (g i) (hL i).le (copy i)) := by |
| 360 | | - have hh := envelopeJets_precomp_affine hs |
| 361 | | - (fun i => CommonCoverClass.currentLinear P (g i)) |
| 362 | | - (fun i => CommonCoverClass.currentArgument (P := P) (g i) (copy i) 0) |
| 363 | | - hscale (fun i p hp => ?_) hC |
| 364 | | - (fun i => (CommonCoverClass.norm_currentLinear_le (P := P) (g i)).trans (hcost i)) |
| 365 | | - · simp_rw [← CommonCoverClass.currentArgument_affine] at hh |
| 366 | | - simp only [CommonCoverClass.currentArgument] at hh ⊢ |
| 367 | | - exact hh |
| 368 | | - · dsimp only |
| 369 | | - rw [← CommonCoverClass.currentArgument_affine] |
| 370 | | - exact ⟨hdom i hp, hslot i p hp⟩ |
| 371 | | - |
| 372 | 199 | end CopyFamilies |
| 373 | 200 | |
| 374 | 201 | section CopyJointEstimate |
| @@ -379,72 +206,6 @@ variable {P V H : Type} [NormedAddCommGroup P] [NormedSpace ℝ P] |
| 379 | 206 | variable [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 380 | 207 | variable [NormedAddCommGroup H] [InnerProductSpace ℝ H] [CompleteSpace H] |
| 381 | 208 | |
| 382 | | -/-- Full derivatives of the actual current copy field. In particular the |
| 383 | | -scale `S` may be the frozen spatial growth/edge factor at `p`; no uniform |
| 384 | | -distance from a cutoff edge is required. -/ |
| 385 | | -theorem copySolve_joint_jet_bound (d : LinearData P V H) (g : Geometry) (copy : Frequency) |
| 386 | | - {L S K μ w : ℝ} (hL : 0 < L) (hS : 1 ≤ S) (hK : 1 ≤ K) (hμ : 0 ≤ μ) (hw : 0 ≤ w) |
| 387 | | - (hslot : L ≤ K * S) (hExp : Real.exp (μ * L) ≤ K) |
| 388 | | - {U : Set P} (hU : IsOpen U) |
| 389 | | - (hA : ContDiffOn ℝ ∞ d.coefficient (U ×ˢ univ)) |
| 390 | | - (hB : ContDiffOn ℝ ∞ d.forcingMap (U ×ˢ univ)) |
| 391 | | - (hf : ContDiffOn ℝ ∞ d.source (U ×ˢ univ)) |
| 392 | | - (W rate : ℝ → ℝ) (hW : ∀ t, 0 < W t) (hdW : ∀ t, HasDerivAt W (rate t * W t) t) |
| 393 | | - {p : P × Plane} (hp : p.1 ∈ U) (heta : (g.coordinates copy p.2).2 ∈ Ioo 0 L) |
| 394 | | - (henergy : ∀ v ∈ Icc 0 L, ∀ x : H, |
| 395 | | - ⟪x, d.coefficientAlong g copy (p, v) x⟫_ℝ ≤ (rate v + μ) * ‖x‖ ^ 2) |
| 396 | | - (m N : ℕ) |
| 397 | | - (hAj : ∀ j ≤ N, ∀ v ∈ Icc 0 L, |
| 398 | | - ‖iteratedFDeriv ℝ j (d.coefficientAlong g copy) (p, v)‖ ≤ K * S ^ m) |
| 399 | | - (hfj : ∀ j ≤ N, ∀ v ∈ Icc 0 L, |
| 400 | | - ‖iteratedFDeriv ℝ j (d.forcingAlong g copy) (p, v)‖ ≤ w * K * S ^ m * W v) |
| 401 | | - (j : ℕ) (hj : j ≤ N) : |
| 402 | | - ‖iteratedFDeriv ℝ j (d.copySolve g hL.le copy) p‖ ≤ |
| 403 | | - w * ((2 : ℝ) ^ (N + 1) * rescaleConstant N K ^ 3) ^ (j + 1) * |
| 404 | | - S ^ ((m + 2) * (j + 1)) * W (g.coordinates copy p.2).2 * |
| 405 | | - CommonCoverClass.argumentCost g ^ j := by |
| 406 | | - let A := d.coefficientAlong g copy |
| 407 | | - let f := d.forcingAlong g copy |
| 408 | | - let r := JointODE.reparamSolution 0 A (fun _ => 0) f |
| 409 | | - let T := (U ×ˢ (univ : Set Plane)) ×ˢ Ioo 0 L |
| 410 | | - have hT : IsOpen T := (hU.prod isOpen_univ).prod isOpen_Ioo |
| 411 | | - have hAs : ContDiffOn ℝ ∞ A ((U ×ˢ univ) ×ˢ (univ : Set ℝ)) := d.coefficientAlong_contDiffOn g copy hA |
| 412 | | - have hfs : ContDiffOn ℝ ∞ f ((U ×ˢ univ) ×ˢ (univ : Set ℝ)) := d.forcingAlong_contDiffOn g copy hB hf |
| 413 | | - have hrs : ContDiffOn ℝ ∞ r T := by |
| 414 | | - intro z hz |
| 415 | | - exact (JointODE.reparamSolution_contDiffAt (U ×ˢ univ) univ (hU.prod isOpen_univ) |
| 416 | | - isOpen_univ (subset_univ _) A (fun _ => 0) f hAs contDiffOn_const hfs |
| 417 | | - (show z ∈ (U ×ˢ univ) ×ˢ Icc 0 L from ⟨hz.1, hz.2.1.le, hz.2.2.le⟩)).contDiffWithinAt |
| 418 | | - have hcur : CommonCoverClass.currentArgument g copy p ∈ T := ⟨⟨hp, mem_univ _⟩, heta⟩ |
| 419 | | - have heq : (fun q => r (CommonCoverClass.currentArgument g copy q)) =ᶠ[𝓝 p] |
| 420 | | - d.copySolve g hL.le copy := by |
| 421 | | - filter_upwards [((CommonCoverClass.currentArgument_smooth (P := P) g copy).continuous.isOpen_preimage _ hT).mem_nhds hcur] with q hq |
| 422 | | - exact JointODE.reparamSolution_eq_actualSolution hL.le A (fun _ => 0) f |
| 423 | | - (hAs.continuousOn.mono (prod_mono Subset.rfl (subset_univ _))) |
| 424 | | - (hfs.continuousOn.mono (prod_mono Subset.rfl (subset_univ _))) |
| 425 | | - (show CommonCoverClass.currentArgument g copy q ∈ (U ×ˢ univ) ×ˢ Icc 0 L from |
| 426 | | - ⟨hq.1, hq.2.1.le, hq.2.2.le⟩) |
| 427 | | - have heq' : (fun q => r (CommonCoverClass.currentArgument g copy q)) =ᶠ[𝓝[univ] p] |
| 428 | | - d.copySolve g hL.le copy := by simpa only [nhdsWithin_univ] using heq |
| 429 | | - have hjet := heq'.iteratedFDerivWithin_eq (𝕜 := ℝ) heq.self_of_nhds j |
| 430 | | - simp only [iteratedFDerivWithin_univ] at hjet |
| 431 | | - rw [← hjet] |
| 432 | | - have haff := norm_jet_comp_affine hT hrs (CommonCoverClass.currentLinear P g) |
| 433 | | - (CommonCoverClass.currentArgument (P := P) g copy 0) |
| 434 | | - (by simpa only [← CommonCoverClass.currentArgument_affine] using hcur) j |
| 435 | | - simp_rw [← CommonCoverClass.currentArgument_affine] at haff |
| 436 | | - have hbnd := forced_joint_jet_bound hL hS hK hμ hw hslot hExp (U ×ˢ univ) univ |
| 437 | | - (hU.prod isOpen_univ) isOpen_univ (subset_univ _) A hAs W rate hW hdW f hfs |
| 438 | | - ⟨hp, mem_univ _⟩ ⟨heta.1.le, heta.2.le⟩ henergy m N hAj hfj j hj |
| 439 | | - apply haff.trans |
| 440 | | - exact mul_le_mul hbnd |
| 441 | | - (pow_le_pow_left₀ (norm_nonneg _) (CommonCoverClass.norm_currentLinear_le (P := P) g) j) |
| 442 | | - (pow_nonneg (norm_nonneg _) j) |
| 443 | | - (by |
| 444 | | - have := hW (g.coordinates copy p.2).2 |
| 445 | | - have hR := hK.trans (le_rescaleConstant N K) |
| 446 | | - positivity) |
| 447 | | - |
| 448 | 209 | end CopyJointEstimate |
| 449 | 210 | |
| 450 | 211 | section CopyClass |
| @@ -455,99 +216,6 @@ variable {P V H : Type} [NormedAddCommGroup P] [NormedSpace ℝ P] |
| 455 | 216 | variable [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 456 | 217 | variable [NormedAddCommGroup H] [InnerProductSpace ℝ H] [CompleteSpace H] |
| 457 | 218 | |
| 458 | | -/-- The actual particular solution belongs to `W_α`. Input bounds are on |
| 459 | | -the full joint derivatives of the pulled-back coefficient and source; |
| 460 | | -the edge power may depend on the requested derivative order. -/ |
| 461 | | -theorem copySolve_waveClass |
| 462 | | - (s : StripData (P × Plane)) (α : ℝ) |
| 463 | | - (d : ℕ → LinearData P V H) (g : ℕ → Geometry) (copy : ℕ → Frequency) |
| 464 | | - (L μ : ℕ → ℝ) (hL : ∀ n, 0 < L n) |
| 465 | | - (W rate : ℕ → ℝ → ℝ) (hW : ∀ n t, 0 < W n t) |
| 466 | | - (hdW : ∀ n t, HasDerivAt (W n) (rate n t * W n t) t) |
| 467 | | - {U : Set P} (hU : IsOpen U) (hdom : ∀ p ∈ s.domain, p.1 ∈ U) |
| 468 | | - (hA : ∀ n, ContDiffOn ℝ ∞ (d n).coefficient (U ×ˢ univ)) |
| 469 | | - (hB : ∀ n, ContDiffOn ℝ ∞ (d n).forcingMap (U ×ˢ univ)) |
| 470 | | - (hf : ∀ n, ContDiffOn ℝ ∞ (d n).source (U ×ˢ univ)) |
| 471 | | - (heta : ∀ n p, p ∈ s.domain → ((g n).coordinates (copy n) p.2).2 ∈ Ioo 0 (L n)) |
| 472 | | - {K₀ : ℝ} {q : ℕ} (hK₀ : 1 ≤ K₀) (hμ : ∀ n, 0 ≤ μ n) |
| 473 | | - (hslot : ∀ n, L n ≤ K₀ * s.slow n) (hExp : ∀ n, Real.exp (μ n * L n) ≤ K₀) |
| 474 | | - (hcost : ∀ n, CommonCoverClass.argumentCost (g n) ≤ K₀ * s.slow n ^ q) |
| 475 | | - (henergy : ∀ n p, p ∈ s.domain → ∀ v ∈ Icc 0 (L n), ∀ x : H, |
| 476 | | - ⟪x, (d n).coefficientAlong (g n) (copy n) (p, v) x⟫_ℝ ≤ |
| 477 | | - (rate n v + μ n) * ‖x‖ ^ 2) |
| 478 | | - (hinput : ∀ N : ℕ, ∃ C : ℝ, 0 ≤ C ∧ ∃ m : ℕ, ∀ n p, p ∈ s.domain → |
| 479 | | - ∀ j ≤ N, ∀ v ∈ Icc 0 (L n), |
| 480 | | - ‖iteratedFDeriv ℝ j ((d n).coefficientAlong (g n) (copy n)) (p, v)‖ ≤ |
| 481 | | - C * s.growth n p ^ m ∧ |
| 482 | | - ‖iteratedFDeriv ℝ j ((d n).forcingAlong (g n) (copy n)) (p, v)‖ ≤ |
| 483 | | - (s.epsilon n ^ α * Real.sqrt (s.zeta p)) * C * s.growth n p ^ m * W n v) : |
| 484 | | - WaveClass s (fun n p => W n ((g n).coordinates (copy n) p.2).2) α |
| 485 | | - (fun n => (d n).copySolve (g n) (hL n).le (copy n)) := by |
| 486 | | - refine ⟨fun n p _ => mul_nonneg (Real.sqrt_nonneg _) (hW n _).le, ?_, ?_⟩ |
| 487 | | - · intro n p hp |
| 488 | | - exact ((d n).copySolve_contDiffAt (g n) (hL n).le hU (copy n) |
| 489 | | - (hA n) (hB n) (hf n) (hdom p hp) (heta n p hp)).contDiffWithinAt |
| 490 | | - intro N |
| 491 | | - obtain ⟨C, hC, m, hm⟩ := hinput N |
| 492 | | - let K := C + K₀ + 1 |
| 493 | | - have hK : 1 ≤ K := by dsimp [K]; linarith |
| 494 | | - have hCK : C ≤ K := by dsimp [K]; linarith |
| 495 | | - have hK₀K : K₀ ≤ K := by dsimp [K]; linarith |
| 496 | | - let B := (2 : ℝ) ^ (N + 1) * rescaleConstant N K ^ 3 |
| 497 | | - have hB' : 1 ≤ B := one_le_mul_of_one_le_of_one_le (one_le_pow₀ (by norm_num)) |
| 498 | | - (one_le_pow₀ (hK.trans (le_rescaleConstant N K))) |
| 499 | | - refine ⟨B ^ (N + 1) * K₀ ^ N, by positivity, (m + 2) * (N + 1) + q * N, ?_⟩ |
| 500 | | - intro n p hp j hj |
| 501 | | - have hG := s.one_le_growth n p |
| 502 | | - have hG0 := s.growth_nonneg n p |
| 503 | | - have heps := (Real.rpow_pos_of_pos (s.epsilon_pos n) α).le |
| 504 | | - have hw : 0 ≤ s.epsilon n ^ α * Real.sqrt (s.zeta p) := mul_nonneg heps (Real.sqrt_nonneg _) |
| 505 | | - have hAj : ∀ k ≤ N, ∀ v ∈ Icc 0 (L n), |
| 506 | | - ‖iteratedFDeriv ℝ k ((d n).coefficientAlong (g n) (copy n)) (p, v)‖ ≤ K * s.growth n p ^ m := by |
| 507 | | - intro k hk v hv |
| 508 | | - exact ((hm n p hp k hk v hv).1).trans |
| 509 | | - (mul_le_mul_of_nonneg_right hCK (pow_nonneg hG0 _)) |
| 510 | | - have hfj : ∀ k ≤ N, ∀ v ∈ Icc 0 (L n), |
| 511 | | - ‖iteratedFDeriv ℝ k ((d n).forcingAlong (g n) (copy n)) (p, v)‖ ≤ |
| 512 | | - (s.epsilon n ^ α * Real.sqrt (s.zeta p)) * K * s.growth n p ^ m * W n v := by |
| 513 | | - intro k hk v hv |
| 514 | | - exact ((hm n p hp k hk v hv).2).trans |
| 515 | | - (mul_le_mul_of_nonneg_right (mul_le_mul_of_nonneg_right |
| 516 | | - (mul_le_mul_of_nonneg_left hCK hw) (pow_nonneg hG0 _)) (hW n v).le) |
| 517 | | - have hh := copySolve_joint_jet_bound (d n) (g n) (copy n) (hL n) hG hK (hμ n) hw |
| 518 | | - ((hslot n).trans (mul_le_mul hK₀K (s.slow_le_growth n p) |
| 519 | | - (zero_le_one.trans (s.one_le_slow n)) (zero_le_one.trans hK))) |
| 520 | | - ((hExp n).trans hK₀K) hU (hA n) (hB n) (hf n) (W n) (rate n) (hW n) (hdW n) |
| 521 | | - (hdom p hp) (heta n p hp) (henergy n p hp) m N hAj hfj j hj |
| 522 | | - have hcg : CommonCoverClass.argumentCost (g n) ≤ K₀ * s.growth n p ^ q := |
| 523 | | - (hcost n).trans (mul_le_mul_of_nonneg_left |
| 524 | | - (pow_le_pow_left₀ (zero_le_one.trans (s.one_le_slow n)) (s.slow_le_growth n p) q) |
| 525 | | - (zero_le_one.trans hK₀)) |
| 526 | | - have hcp : CommonCoverClass.argumentCost (g n) ^ j ≤ K₀ ^ N * s.growth n p ^ (q * N) := by |
| 527 | | - calc |
| 528 | | - _ ≤ (K₀ * s.growth n p ^ q) ^ j := pow_le_pow_left₀ |
| 529 | | - (zero_le_one.trans (CommonCoverClass.one_le_argumentCost (g n))) hcg j |
| 530 | | - _ ≤ (K₀ * s.growth n p ^ q) ^ N := pow_le_pow_right₀ |
| 531 | | - (one_le_mul_of_one_le_of_one_le hK₀ (one_le_pow₀ hG)) hj |
| 532 | | - _ = _ := by rw [mul_pow, pow_mul] |
| 533 | | - have hwp := (hW n ((g n).coordinates (copy n) p.2).2).le |
| 534 | | - calc |
| 535 | | - _ ≤ (s.epsilon n ^ α * Real.sqrt (s.zeta p)) * B ^ (j + 1) * |
| 536 | | - s.growth n p ^ ((m + 2) * (j + 1)) * W n ((g n).coordinates (copy n) p.2).2 * |
| 537 | | - CommonCoverClass.argumentCost (g n) ^ j := hh |
| 538 | | - _ ≤ (s.epsilon n ^ α * Real.sqrt (s.zeta p)) * B ^ (N + 1) * |
| 539 | | - s.growth n p ^ ((m + 2) * (N + 1)) * W n ((g n).coordinates (copy n) p.2).2 * |
| 540 | | - (K₀ ^ N * s.growth n p ^ (q * N)) := by |
| 541 | | - apply mul_le_mul _ hcp |
| 542 | | - (pow_nonneg (zero_le_one.trans (CommonCoverClass.one_le_argumentCost (g n))) _) |
| 543 | | - (by positivity) |
| 544 | | - apply mul_le_mul_of_nonneg_right _ hwp |
| 545 | | - exact mul_le_mul |
| 546 | | - (mul_le_mul_of_nonneg_left (pow_le_pow_right₀ hB' (Nat.add_le_add_right hj 1)) hw) |
| 547 | | - (pow_le_pow_right₀ hG (Nat.mul_le_mul_left _ (Nat.add_le_add_right hj 1))) |
| 548 | | - (pow_nonneg hG0 _) (by positivity) |
| 549 | | - _ = _ := by unfold majorant; rw [pow_add]; ring |
| 550 | | - |
| 551 | 219 | end CopyClass |
| 552 | 220 | |
| 553 | 221 | section ControlData |
| @@ -590,16 +258,6 @@ structure CopyControl (s : StripData (P × Plane)) (α : ℝ) |
| 590 | 258 | ‖iteratedFDeriv ℝ j ((d n).forcingAlong (g n) (copy n)) (p, v)‖ ≤ |
| 591 | 259 | (s.epsilon n ^ α * Real.sqrt (s.zeta p)) * C * s.growth n p ^ m * W n v |
| 592 | 260 | |
| 593 | | -theorem CopyControl.waveClass {s : StripData (P × Plane)} {α : ℝ} |
| 594 | | - {d : ℕ → LinearData P V H} {g : ℕ → Geometry} {copy : ℕ → Frequency} |
| 595 | | - {L : ℕ → ℝ} {W : ℕ → ℝ → ℝ} (h : CopyControl s α d g copy L W) |
| 596 | | - (hL : ∀ n, 0 < L n) : |
| 597 | | - WaveClass s (fun n p => W n ((g n).coordinates (copy n) p.2).2) α |
| 598 | | - (fun n => (d n).copySolve (g n) (hL n).le (copy n)) := |
| 599 | | - copySolve_waveClass s α d g copy L h.errorRate hL W h.rate h.envelope_pos h.envelope_deriv |
| 600 | | - h.open_slow h.domain h.coefficient_smooth h.forcingMap_smooth h.source_smooth h.current_slot |
| 601 | | - h.constant_ge_one h.errorRate_nonneg h.length_bound h.exponential_bound h.coordinate_bound h.energy h.input_jets |
| 602 | | - |
| 603 | 261 | end ControlData |
| 604 | 262 | |
| 605 | 263 | section CopyEquation |
| @@ -624,36 +282,6 @@ theorem path_hasDerivAt (g : Geometry) (k : Frequency) (Y : Plane) (s : ℝ) : |
| 624 | 282 | simpa only [one_smul, id_eq] using |
| 625 | 283 | (((hasDerivAt_id s).sub_const (g.coordinates k Y).2).smul_const (slotDirection g)).const_add Y |
| 626 | 284 | |
| 627 | | -/-- Differentiation of the actual reanchored copy solve is differentiation |
| 628 | | -along the fixed common-coordinate slot vector. -/ |
| 629 | | -theorem along_copySolve (d : LinearData P V H) (g : Geometry) {a b : ℝ} (hab : a ≤ b) |
| 630 | | - {U : Set P} (hU : IsOpen U) (k : Frequency) |
| 631 | | - (hA : ContDiffOn ℝ ∞ d.coefficient (U ×ˢ univ)) |
| 632 | | - (hB : ContDiffOn ℝ ∞ d.forcingMap (U ×ˢ univ)) |
| 633 | | - (hf : ContDiffOn ℝ ∞ d.source (U ×ˢ univ)) |
| 634 | | - {p : P} (hp : p ∈ U) (Y : Plane) (heta : (g.coordinates k Y).2 ∈ Ioo a b) : |
| 635 | | - HarmonicCalculus.along (fun _ => ((0 : P), slotDirection g)) (d.copySolve g hab k) (p, Y) = |
| 636 | | - d.coefficient (p, g.coordinates k Y) (d.copySolve g hab k (p, Y)) + |
| 637 | | - d.forcingMap (p, g.coordinates k Y) (d.source (p, Y)) := by |
| 638 | | - let t := (g.coordinates k Y).2 |
| 639 | | - have hpath : HasDerivAt (fun s => (p, g.path k Y s)) ((0 : P), slotDirection g) t := |
| 640 | | - (hasDerivAt_const t p).prodMk (path_hasDerivAt g k Y t) |
| 641 | | - have hcopy : DifferentiableAt ℝ (d.copySolve g hab k) (p, Y) := |
| 642 | | - (d.copySolve_contDiffAt g hab hU k hA hB hf (p := (p, Y)) hp heta).differentiableAt (by simp) |
| 643 | | - have hc : HasFDerivAt (d.copySolve g hab k) |
| 644 | | - (fderiv ℝ (d.copySolve g hab k) (p, Y)) (p, g.path k Y t) := by |
| 645 | | - simpa only [t, g.path_current] using hcopy.hasFDerivAt |
| 646 | | - have hd : HasDerivAt (fun s => d.copySolve g hab k (p, g.path k Y s)) |
| 647 | | - (fderiv ℝ (d.copySolve g hab k) (p, Y) ((0 : P), slotDirection g)) t := |
| 648 | | - HasFDerivAt.comp_hasDerivAt (l := d.copySolve g hab k) |
| 649 | | - (l' := fderiv ℝ (d.copySolve g hab k) (p, Y)) |
| 650 | | - (f := fun s => (p, g.path k Y s)) t hc hpath |
| 651 | | - have hs := d.copySolve_alongPath_hasDerivAt g hab k hA.continuousOn hB.continuousOn |
| 652 | | - hf.continuousOn hp Y ⟨t, heta.1.le, heta.2.le⟩ |
| 653 | | - have he := hd.unique hs |
| 654 | | - simpa only [HarmonicCalculus.along, LinearData.coefficientAlong, LinearData.forcingAlong, |
| 655 | | - t, g.path_current, Prod.mk.eta] using he |
| 656 | | - |
| 657 | 285 | noncomputable def nativePoint (g : Geometry) (k : Frequency) (p : P × Plane) : P × Plane := |
| 658 | 286 | (p.1, g.coordinates k p.2) |
| 659 | 287 | |
| @@ -669,32 +297,6 @@ noncomputable def copyPressure (t : TangentData P H) (g : Geometry) |
| 669 | 297 | {a b : ℝ} (hab : a ≤ b) (k : Frequency) (frequency : ℝ) (p : P × Plane) : ℂ := |
| 670 | 298 | Complex.I * (copyPressureReal t g hab k p : ℂ) / (frequency : ℂ) |
| 671 | 299 | |
| 672 | | -/-- Exact pressure cancellation for the constructed copy solution. This |
| 673 | | -equation is derived from the ODE; it is not an assumption on an output. -/ |
| 674 | | -theorem copySolve_pressure_balance (t : TangentData P H) (g : Geometry) |
| 675 | | - {a b : ℝ} (hab : a ≤ b) {U : Set P} (hU : IsOpen U) (k : Frequency) |
| 676 | | - (hA : ContDiffOn ℝ ∞ t.linearData.coefficient (U ×ˢ univ)) |
| 677 | | - (hB : ContDiffOn ℝ ∞ t.linearData.forcingMap (U ×ˢ univ)) |
| 678 | | - (hf : ContDiffOn ℝ ∞ t.source (U ×ˢ univ)) |
| 679 | | - {p : P} (hp : p ∈ U) (Y : Plane) (heta : (g.coordinates k Y).2 ∈ Ioo a b) : |
| 680 | | - HarmonicCalculus.along (fun _ => ((0 : P), slotDirection g)) |
| 681 | | - (t.linearData.copySolve g hab k) (p, Y) + |
| 682 | | - t.action (p, g.coordinates k Y) (t.linearData.copySolve g hab k (p, Y)) + |
| 683 | | - t.damping (p, g.coordinates k Y) • t.linearData.copySolve g hab k (p, Y) - |
| 684 | | - copyPressureReal t g hab k (p, Y) • t.normal (p, g.coordinates k Y) = -t.source (p, Y) := by |
| 685 | | - rw [along_copySolve t.linearData g hab hU k hA hB hf hp Y heta] |
| 686 | | - simp only [show t.linearData.source = t.source from rfl] |
| 687 | | - have he : t.linearData.coefficient (p, g.coordinates k Y) (t.linearData.copySolve g hab k (p, Y)) + |
| 688 | | - t.linearData.forcingMap (p, g.coordinates k Y) (t.source (p, Y)) = |
| 689 | | - TangentProjection.projectedRhs (t.normal (p, g.coordinates k Y)) |
| 690 | | - (t.normalDot (p, g.coordinates k Y)) (t.linearData.copySolve g hab k (p, Y)) |
| 691 | | - (t.action (p, g.coordinates k Y) (t.linearData.copySolve g hab k (p, Y))) |
| 692 | | - (t.source (p, Y)) (t.damping (p, g.coordinates k Y)) := by |
| 693 | | - simp only [TangentData.linearData, negativeTangentProjection_apply, |
| 694 | | - ← sub_eq_add_neg, TangentODE.projectedOperator_apply] |
| 695 | | - rw [he] |
| 696 | | - exact TangentProjection.pressure_cancellation _ _ _ _ _ _ |
| 697 | | - |
| 698 | 300 | end CopyEquation |
| 699 | 301 | |
| 700 | 302 | section WeightedPressure |
| @@ -704,22 +306,6 @@ open WeightedClasses |
| 704 | 306 | variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 705 | 307 | variable {s : StripData E} {w : ℕ → E → ℝ} {α : ℝ} |
| 706 | 308 | |
| 707 | | -/-- The epsilon power retained in a constructed envelope is exactly the |
| 708 | | -exponent in the manuscript's all-jet class. -/ |
| 709 | | -theorem envelopeJets_memClass {f : ℕ → E → ProblemStatement.Space} |
| 710 | | - (hf : EnvelopeJets (PrimaryPulseBounds.phaseDomain s) |
| 711 | | - (fun n x => s.epsilon n ^ α * w n x) f) |
| 712 | | - (hw : ∀ n x, x ∈ s.domain → 0 ≤ w n x) : MemClass s w α f := by |
| 713 | | - have hg := hf.memClass s (fun _ => rfl) (fun _ => rfl) |
| 714 | | - refine ⟨hw, hg.smooth, ?_⟩ |
| 715 | | - intro m |
| 716 | | - obtain ⟨C, hC, p, hb⟩ := hg.bounds m |
| 717 | | - refine ⟨C, hC, p, ?_⟩ |
| 718 | | - intro n x hx j hj |
| 719 | | - convert! hb n x hx j hj using 1 |
| 720 | | - simp only [majorant, Real.rpow_zero] |
| 721 | | - ring |
| 722 | | - |
| 723 | 309 | theorem real_inner_class {u v : ℕ → E → ProblemStatement.Space} |
| 724 | 310 | (hu : UnweightedClass s 0 u) (hv : MemClass s w α v) : |
| 725 | 311 | MemClass s w α (fun n x => ⟪u n x, v n x⟫_ℝ) := by |
| @@ -851,66 +437,6 @@ theorem normalDot_complexify (N a : ProblemStatement.Space) : |
| 851 | 437 | normalDot N (CurlClassBounds.complexify a) = (⟪N, a⟫_ℝ : ℂ) := by |
| 852 | 438 | simp [normalDot, PiLp.inner_apply, Fin.sum_univ_three, mul_comm] |
| 853 | 439 | |
| 854 | | -/-- Tangency is propagated by the constructed ODE, then transferred to |
| 855 | | -the complex coefficient used in the harmonic field. -/ |
| 856 | | -theorem copyVelocity_tangent (t : TangentData P ProblemStatement.Space) (g : Geometry) |
| 857 | | - {a b : ℝ} (hab : a ≤ b) {U : Set P} (k : Frequency) |
| 858 | | - (hA : ContinuousOn t.linearData.coefficient (U ×ˢ univ)) |
| 859 | | - (hB : ContinuousOn t.linearData.forcingMap (U ×ˢ univ)) |
| 860 | | - (hf : ContinuousOn t.source (U ×ˢ univ)) (hδ : ContinuousOn t.damping (U ×ˢ univ)) |
| 861 | | - {p : P} (hp : p ∈ U) (Y : Plane) |
| 862 | | - (hn0 : ∀ v ∈ Icc a b, t.normal (p, ((g.coordinates k Y).1, v)) ≠ 0) |
| 863 | | - (hn : ∀ v ∈ Icc a b, |
| 864 | | - HasDerivAt (fun r => t.normal (p, ((g.coordinates k Y).1, r))) |
| 865 | | - (t.normalDot (p, ((g.coordinates k Y).1, v))) v) |
| 866 | | - (heta : (g.coordinates k Y).2 ∈ Icc a b) : |
| 867 | | - normalDot (t.normal (p, g.coordinates k Y)) (copyVelocity t g hab k (p, Y)) = 0 := by |
| 868 | | - rw [copyVelocity, normalDot_complexify, |
| 869 | | - t.copySolve_tangent g hab k hA hB hf hδ hp Y hn0 hn heta] |
| 870 | | - rfl |
| 871 | | - |
| 872 | | -/-- The pressure in `copyPressure` cancels the actual principal operator |
| 873 | | -of the copy wave. The three matching hypotheses identify only primitive |
| 874 | | -normal, damping, and base-action data with the displayed physical operator. -/ |
| 875 | | -theorem copySolve_principal (t : TangentData P ProblemStatement.Space) (g : Geometry) |
| 876 | | - {a b : ℝ} (hab : a ≤ b) {U : Set P} (hU : IsOpen U) (k : Frequency) |
| 877 | | - (hA : ContDiffOn ℝ ∞ t.linearData.coefficient (U ×ˢ univ)) |
| 878 | | - (hB : ContDiffOn ℝ ∞ t.linearData.forcingMap (U ×ˢ univ)) |
| 879 | | - (hf : ContDiffOn ℝ ∞ t.source (U ×ˢ univ)) |
| 880 | | - (ε frequency : ℝ) (hfrequency : frequency ≠ 0) |
| 881 | | - (R F G Φ : P × Plane → ℝ) (Vr Vθ Vz : P × Plane → P × Plane) |
| 882 | | - {p : P} (hp : p ∈ U) (Y : Plane) (heta : (g.coordinates k Y).2 ∈ Ioo a b) |
| 883 | | - (hN : phaseNormal R Vr Vθ Vz Φ (p, Y) = t.normal (p, g.coordinates k Y)) |
| 884 | | - (hδ : t.damping (p, g.coordinates k Y) = |
| 885 | | - ε * frequency ^ 2 * ‖phaseNormal R Vr Vθ Vz Φ (p, Y)‖ ^ 2) |
| 886 | | - (hK : CurlClassBounds.complexify |
| 887 | | - (t.action (p, g.coordinates k Y) (t.linearData.copySolve g hab k (p, Y))) = |
| 888 | | - LinearWaveResidual.shear R F G Vr (copyVelocity t g hab k) (p, Y)) : |
| 889 | | - LinearWaveResidual.principal ε frequency R F G Vr Vθ Vz |
| 890 | | - (fun _ => ((0 : P), slotDirection g)) Φ (copyVelocity t g hab k) |
| 891 | | - (copyPressure t g hab k frequency) (p, Y) = -CurlClassBounds.complexify (t.source (p, Y)) := by |
| 892 | | - have hu : DifferentiableAt ℝ (t.linearData.copySolve g hab k) (p, Y) := |
| 893 | | - (t.linearData.copySolve_contDiffAt g hab hU k hA hB hf (p := (p, Y)) hp heta).differentiableAt (by simp) |
| 894 | | - have hd := along_copySolve t.linearData g hab hU k hA hB hf hp Y heta |
| 895 | | - simp only [TangentData.linearData, negativeTangentProjection_apply, |
| 896 | | - ← sub_eq_add_neg, TangentODE.projectedOperator_apply] at hd |
| 897 | | - have hdu : along (fun _ => ((0 : P), slotDirection g)) (t.linearData.copySolve g hab k) (p, Y) = |
| 898 | | - TangentProjection.projectedRhs (phaseNormal R Vr Vθ Vz Φ (p, Y)) |
| 899 | | - (t.normalDot (p, g.coordinates k Y)) (t.linearData.copySolve g hab k (p, Y)) |
| 900 | | - (t.action (p, g.coordinates k Y) (t.linearData.copySolve g hab k (p, Y))) |
| 901 | | - (t.source (p, Y)) (ε * frequency ^ 2 * ‖phaseNormal R Vr Vθ Vz Φ (p, Y)‖ ^ 2) := by |
| 902 | | - rw [← hδ, hN] |
| 903 | | - exact hd |
| 904 | | - have hh := principal_eq_neg_source_of_projected ε frequency hfrequency R F G Φ Vr Vθ Vz |
| 905 | | - (fun _ => ((0 : P), slotDirection g)) (t.linearData.copySolve g hab k) |
| 906 | | - (fun z => t.normalDot (nativePoint g k z)) |
| 907 | | - (fun z => t.action (nativePoint g k z) (t.linearData.copySolve g hab k z)) t.source hu hdu hK |
| 908 | | - ext i |
| 909 | | - have hi := congrFun hh i |
| 910 | | - simp only [LinearWaveResidual.principal, projectedPressure, copyPressure, copyPressureReal, |
| 911 | | - copyVelocity, nativePoint, hN, Pi.neg_apply] at hi ⊢ |
| 912 | | - exact hi |
| 913 | | - |
| 914 | 440 | /-- The coefficient family to which the cutoff and exact-curl construction |
| 915 | 441 | is applied; neither velocity nor pressure is supplied as an output input. -/ |
| 916 | 442 | noncomputable def copyCoefficients (base : LinearWaveBounds.WaveCoefficients (P × Plane)) |
| @@ -985,116 +511,6 @@ theorem forcing_eq_columns (d : FrameData Q) (f : Q × ℝ → PrimaryODE.Space) |
| 985 | 511 | |
| 986 | 512 | variable {ι : Type*} |
| 987 | 513 | |
| 988 | | -/-- The actual moving-frame source projection preserves the entire source |
| 989 | | -envelope, including its small prefactor. -/ |
| 990 | | -theorem frame_forcing_envelope_jets |
| 991 | | - {D : PhaseJetBounds.Domain ι (Q × ℝ)} {d : ι → FrameData Q} |
| 992 | | - (hd : PhaseJetBounds.FrameJets D d) {w : ι → Q × ℝ → ℝ} {f : ι → Q × ℝ → PrimaryODE.Space} |
| 993 | | - (hf : EnvelopeJets D w f) : EnvelopeJets D w (fun i => (d i).forcing (f i)) := by |
| 994 | | - have hc (j : Fin 3) : PhaseJetBounds.PolynomialJets D |
| 995 | | - (fun i => (d i).forcing (fun _ => ProblemStatement.coordinateVector j)) := |
| 996 | | - hd.forcing (PhaseJetBounds.PolynomialJets.const_fixed _) |
| 997 | | - have h (j : Fin 3) := (hf.map (EuclideanSpace.proj j)).smul_polynomial (hc j) |
| 998 | | - apply (h 0 |>.add (h 1) |>.add (h 2)).congr |
| 999 | | - intro i z hz |
| 1000 | | - rw [forcing_eq_columns, Fin.sum_univ_three] |
| 1001 | | - rfl |
| 1002 | | - |
| 1003 | | -/-- A forced family in the genuine modal coordinates. The energy estimate |
| 1004 | | -comes from the four explicit modal errors and nonnegative viscosity, rather |
| 1005 | | -than an energy hypothesis about the ambient projected operator. -/ |
| 1006 | | -theorem forced_modal_family_envelope_jets |
| 1007 | | - (D : PhaseJetBounds.Domain ι Q) (V : ι → Set ℝ) (hV : ∀ i, IsOpen (V i)) |
| 1008 | | - (L : ι → ℝ) (hL : ∀ i, 0 < L i) (hI : ∀ i, Icc 0 (L i) ⊆ V i) |
| 1009 | | - (d : ι → FrameData Q) (hd : PhaseJetBounds.FrameJets (productDomain D V hV) d) |
| 1010 | | - (harmonic : ℤ) (hharmonic : harmonic ≠ 0) |
| 1011 | | - (W rate referenceDamping : ι → ℝ → ℝ) (hW : ∀ i t, 0 < W i t) |
| 1012 | | - (hdW : ∀ i t, HasDerivAt (W i) (rate i t * W i t) t) |
| 1013 | | - (w : ι → Q → ℝ) (hw : ∀ i p, p ∈ D.carrier i → 0 ≤ w i p) |
| 1014 | | - (f : ι → Q × ℝ → PrimaryODE.Space) |
| 1015 | | - (hf : EnvelopeJets (productDomain D V hV) (fun i z => w i z.1 * W i z.2) f) |
| 1016 | | - {K C E : ℝ} (hK : 1 ≤ K) (hC : 0 ≤ C) (hE : 0 ≤ E) |
| 1017 | | - (hslot : ∀ i, L i ≤ K * D.scale i) |
| 1018 | | - (href : ∀ i p, p ∈ D.carrier i → ∀ v ∈ Icc 0 (L i), |
| 1019 | | - rate i v = (d i).eigenvalue (p, v) - referenceDamping i v) |
| 1020 | | - (hlam : ∀ i p, p ∈ D.carrier i → ∀ v ∈ Icc 0 (L i), 0 ≤ (d i).eigenvalue (p, v)) |
| 1021 | | - (hvisc : ∀ i p, p ∈ D.carrier i → ∀ v ∈ Icc 0 (L i), 0 ≤ (d i).viscosity (p, v)) |
| 1022 | | - (hviscError : ∀ i p, p ∈ D.carrier i → ∀ v ∈ Icc 0 (L i), |
| 1023 | | - referenceDamping i v - E / D.scale i ≤ (d i).viscosity (p, v)) |
| 1024 | | - (herror : ∀ i p, p ∈ D.carrier i → ∀ v ∈ Icc 0 (L i), |
| 1025 | | - |(d i).error11 (p, v)| ≤ C / D.scale i ∧ |(d i).error12 (p, v)| ≤ C / D.scale i ∧ |
| 1026 | | - |(d i).error21 (p, v)| ≤ C / D.scale i ∧ |(d i).error22 (p, v)| ≤ C / D.scale i) : |
| 1027 | | - EnvelopeJets (productDomain D (fun i => Ioo 0 (L i)) (fun _ => isOpen_Ioo)) |
| 1028 | | - (fun i z => w i z.1 * W i z.2) |
| 1029 | | - (fun i z => solution (hL i).le (d i) harmonic (fun _ => 0) (f i) z.1 z.2) := by |
| 1030 | | - let μ := fun i => (E + 4 * C) / D.scale i |
| 1031 | | - let K' := K + Real.exp ((E + 4 * C) * K) + 1 |
| 1032 | | - have hKK' : K ≤ K' := by dsimp [K']; linarith [Real.exp_pos ((E + 4 * C) * K)] |
| 1033 | | - have hK' : 1 ≤ K' := hK.trans hKK' |
| 1034 | | - have hμ : ∀ i, 0 ≤ μ i := fun i => div_nonneg (by positivity) (zero_le_one.trans (D.one_le_scale i)) |
| 1035 | | - have hExp : ∀ i, Real.exp (μ i * L i) ≤ K' := by |
| 1036 | | - intro i |
| 1037 | | - have hs : 0 < D.scale i := lt_of_lt_of_le zero_lt_one (D.one_le_scale i) |
| 1038 | | - have hr : L i / D.scale i ≤ K := (div_le_iff₀ hs).mpr (by simpa only [mul_comm] using hslot i) |
| 1039 | | - have hh : μ i * L i ≤ (E + 4 * C) * K := by |
| 1040 | | - dsimp [μ] |
| 1041 | | - calc |
| 1042 | | - _ = (E + 4 * C) * (L i / D.scale i) := by ring |
| 1043 | | - _ ≤ _ := mul_le_mul_of_nonneg_left hr (by positivity) |
| 1044 | | - exact (Real.exp_le_exp.mpr hh).trans (by dsimp [K']; linarith) |
| 1045 | | - have henergy : ∀ i p, p ∈ D.carrier i → ∀ v ∈ Icc 0 (L i), ∀ x : PrimaryODE.State, |
| 1046 | | - ⟪x, (d i).coefficient harmonic (p, v) x⟫_ℝ ≤ (rate i v + μ i) * ‖x‖ ^ 2 := by |
| 1047 | | - intro i p hp v hv x |
| 1048 | | - rw [href i p hp v hv] |
| 1049 | | - exact (d i).energy_bound (p, v) hharmonic (hlam i p hp v hv) (hvisc i p hp v hv) |
| 1050 | | - (hviscError i p hp v hv) (herror i p hp v hv) x |
| 1051 | | - have hs := forced_family_envelope_jets D V hV L μ hL hI |
| 1052 | | - (fun i => (d i).coefficient harmonic) (hd.coefficient harmonic) W rate hW hdW w hw |
| 1053 | | - (fun i => (d i).forcing (f i)) (frame_forcing_envelope_jets hd hf) hK' hμ |
| 1054 | | - (fun i => (hslot i).trans (mul_le_mul_of_nonneg_right hKK' (zero_le_one.trans (D.one_le_scale i)))) |
| 1055 | | - hExp henergy |
| 1056 | | - apply hs.congr |
| 1057 | | - intro i z hz |
| 1058 | | - exact JointODE.reparamSolution_eq_actualSolution (hL i).le _ _ _ |
| 1059 | | - (((hd.smoothOn i).coefficient harmonic).continuousOn.mono (prod_mono Subset.rfl (hI i))) |
| 1060 | | - (((hd.smoothOn i).forcing (hf.smooth i)).continuousOn.mono (prod_mono Subset.rfl (hI i))) |
| 1061 | | - ⟨hz.1, hz.2.1.le, hz.2.2.le⟩ |
| 1062 | | - |
| 1063 | | -/-- The same forced estimate after actual moving-frame reconstruction. The |
| 1064 | | -reference energy bound is used only in the modal two-dimensional state. -/ |
| 1065 | | -theorem forced_ambient_family_envelope_jets |
| 1066 | | - (D : PhaseJetBounds.Domain ι Q) (V : ι → Set ℝ) (hV : ∀ i, IsOpen (V i)) |
| 1067 | | - (L : ι → ℝ) (hL : ∀ i, 0 < L i) (hI : ∀ i, Icc 0 (L i) ⊆ V i) |
| 1068 | | - (d : ι → FrameData Q) (hd : PhaseJetBounds.FrameJets (productDomain D V hV) d) |
| 1069 | | - (harmonic : ℤ) (hharmonic : harmonic ≠ 0) |
| 1070 | | - (W rate referenceDamping : ι → ℝ → ℝ) (hW : ∀ i t, 0 < W i t) |
| 1071 | | - (hdW : ∀ i t, HasDerivAt (W i) (rate i t * W i t) t) |
| 1072 | | - (w : ι → Q → ℝ) (hw : ∀ i p, p ∈ D.carrier i → 0 ≤ w i p) |
| 1073 | | - (f : ι → Q × ℝ → PrimaryODE.Space) |
| 1074 | | - (hf : EnvelopeJets (productDomain D V hV) (fun i z => w i z.1 * W i z.2) f) |
| 1075 | | - {K C E : ℝ} (hK : 1 ≤ K) (hC : 0 ≤ C) (hE : 0 ≤ E) |
| 1076 | | - (hslot : ∀ i, L i ≤ K * D.scale i) |
| 1077 | | - (href : ∀ i p, p ∈ D.carrier i → ∀ v ∈ Icc 0 (L i), |
| 1078 | | - rate i v = (d i).eigenvalue (p, v) - referenceDamping i v) |
| 1079 | | - (hlam : ∀ i p, p ∈ D.carrier i → ∀ v ∈ Icc 0 (L i), 0 ≤ (d i).eigenvalue (p, v)) |
| 1080 | | - (hvisc : ∀ i p, p ∈ D.carrier i → ∀ v ∈ Icc 0 (L i), 0 ≤ (d i).viscosity (p, v)) |
| 1081 | | - (hviscError : ∀ i p, p ∈ D.carrier i → ∀ v ∈ Icc 0 (L i), |
| 1082 | | - referenceDamping i v - E / D.scale i ≤ (d i).viscosity (p, v)) |
| 1083 | | - (herror : ∀ i p, p ∈ D.carrier i → ∀ v ∈ Icc 0 (L i), |
| 1084 | | - |(d i).error11 (p, v)| ≤ C / D.scale i ∧ |(d i).error12 (p, v)| ≤ C / D.scale i ∧ |
| 1085 | | - |(d i).error21 (p, v)| ≤ C / D.scale i ∧ |(d i).error22 (p, v)| ≤ C / D.scale i) : |
| 1086 | | - EnvelopeJets (productDomain D (fun i => Ioo 0 (L i)) (fun _ => isOpen_Ioo)) |
| 1087 | | - (fun i z => w i z.1 * W i z.2) |
| 1088 | | - (fun i z => ambientSolution (hL i).le (d i) harmonic (fun _ => 0) (f i) z.1 z.2) := by |
| 1089 | | - have hm := forced_modal_family_envelope_jets D V hV L hL hI d hd harmonic hharmonic |
| 1090 | | - W rate referenceDamping hW hdW w hw f hf hK hC hE hslot href hlam hvisc hviscError herror |
| 1091 | | - apply ambient_envelope_jets hm |
| 1092 | | - intro j |
| 1093 | | - have hc := EnvelopeJets.of_polynomial (synthesisColumn_polynomial hd j) |
| 1094 | | - have hcr := hc.restrict (D' := productDomain D (fun i => Ioo 0 (L i)) (fun _ => isOpen_Ioo)) |
| 1095 | | - (fun _ => rfl) (fun i z hz => ⟨hz.1, hI i ⟨hz.2.1.le, hz.2.2.le⟩⟩) |
| 1096 | | - exact hcr.to_polynomial (fun _ _ _ => le_rfl) |
| 1097 | | - |
| 1098 | 514 | end ModalConstruction |
| 1099 | 515 | |
| 1100 | 516 | section ModalJetTransfer |
| @@ -1658,53 +1074,6 @@ private theorem shear_at_constant (R F G : E → ℝ) (Vr : E → E) |
| 1658 | 1074 | LinearWaveResidual.shear R F G Vr (fun _ => a x) x = |
| 1659 | 1075 | LinearWaveResidual.shear R F G Vr a x := rfl |
| 1660 | 1076 | |
| 1661 | | -/-- Exact cancellation for an arbitrary complex source, obtained from |
| 1662 | | -the two actual real copy solves. -/ |
| 1663 | | -theorem complexCopy_principal (t : TangentData P ProblemStatement.Space) |
| 1664 | | - (source : P × Plane → ComplexVector) (g : Geometry) {a b : ℝ} (hab : a ≤ b) |
| 1665 | | - {U : Set P} (hU : IsOpen U) (copy : Frequency) |
| 1666 | | - (hA : ContDiffOn ℝ ∞ t.linearData.coefficient (U ×ˢ univ)) |
| 1667 | | - (hB : ContDiffOn ℝ ∞ t.linearData.forcingMap (U ×ˢ univ)) |
| 1668 | | - (hf : ContDiffOn ℝ ∞ source (U ×ˢ univ)) |
| 1669 | | - (ε frequency : ℝ) (hfrequency : frequency ≠ 0) |
| 1670 | | - (R F G Φ : P × Plane → ℝ) (Vr Vθ Vz : P × Plane → P × Plane) |
| 1671 | | - {p : P} (hp : p ∈ U) (Y : Plane) (heta : (g.coordinates copy Y).2 ∈ Ioo a b) |
| 1672 | | - (hN : phaseNormal R Vr Vθ Vz Φ (p, Y) = t.normal (p, g.coordinates copy Y)) |
| 1673 | | - (hδ : t.damping (p, g.coordinates copy Y) = |
| 1674 | | - ε * frequency ^ 2 * ‖phaseNormal R Vr Vθ Vz Φ (p, Y)‖ ^ 2) |
| 1675 | | - (hK : ∀ v : ProblemStatement.Space, |
| 1676 | | - CurlClassBounds.complexify (t.action (p, g.coordinates copy Y) v) = |
| 1677 | | - LinearWaveResidual.shear R F G Vr (fun _ => CurlClassBounds.complexify v) (p, Y)) : |
| 1678 | | - LinearWaveResidual.principal ε frequency R F G Vr Vθ Vz |
| 1679 | | - (fun _ => ((0 : P), slotDirection g)) Φ (complexCopyVelocity t source g hab copy) |
| 1680 | | - (complexCopyPressure t source g hab copy frequency) (p, Y) = -source (p, Y) := by |
| 1681 | | - rw [complexCopyVelocity_eq_parts, complexCopyPressure_eq_parts] |
| 1682 | | - have hfr : ContDiffOn ℝ ∞ (realData t source).source (U ×ˢ univ) := realPart.contDiff.comp_contDiffOn hf |
| 1683 | | - have hfi : ContDiffOn ℝ ∞ (imagData t source).source (U ×ˢ univ) := imagPart.contDiff.comp_contDiffOn hf |
| 1684 | | - have hr := copySolve_principal (realData t source) g hab hU copy hA hB hfr ε frequency hfrequency R F G Φ Vr Vθ Vz |
| 1685 | | - (p := p) hp Y heta hN hδ ( |
| 1686 | | - (hK ((realData t source).linearData.copySolve g hab copy (p, Y))).trans |
| 1687 | | - (shear_at_constant R F G Vr (copyVelocity (realData t source) g hab copy) (p, Y))) |
| 1688 | | - have hi := copySolve_principal (imagData t source) g hab hU copy hA hB hfi ε frequency hfrequency R F G Φ Vr Vθ Vz |
| 1689 | | - (p := p) hp Y heta hN hδ ( |
| 1690 | | - (hK ((imagData t source).linearData.copySolve g hab copy (p, Y))).trans |
| 1691 | | - (shear_at_constant R F G Vr (copyVelocity (imagData t source) g hab copy) (p, Y))) |
| 1692 | | - have hur : DifferentiableAt ℝ ((realData t source).linearData.copySolve g hab copy) (p, Y) := |
| 1693 | | - ((realData t source).linearData.copySolve_contDiffAt g hab hU copy hA hB hfr (p := (p, Y)) hp heta).differentiableAt (by simp) |
| 1694 | | - have hui : DifferentiableAt ℝ ((imagData t source).linearData.copySolve g hab copy) (p, Y) := |
| 1695 | | - ((imagData t source).linearData.copySolve_contDiffAt g hab hU copy hA hB hfi (p := (p, Y)) hp heta).differentiableAt (by simp) |
| 1696 | | - have hvr := copyVelocity_component_differentiable (realData t source) g hab copy (p := (p, Y)) hur |
| 1697 | | - have hvi := copyVelocity_component_differentiable (imagData t source) g hab copy (p := (p, Y)) hui |
| 1698 | | - have hc := principal_parts_cancel ε frequency R F G Φ Vr Vθ Vz |
| 1699 | | - (fun _ => ((0 : P), slotDirection g)) (copyVelocity (realData t source) g hab copy) (copyVelocity (imagData t source) g hab copy) |
| 1700 | | - (copyPressure (realData t source) g hab copy frequency) (copyPressure (imagData t source) g hab copy frequency) |
| 1701 | | - (CurlClassBounds.complexify ((realData t source).source (p, Y))) (CurlClassBounds.complexify ((imagData t source).source (p, Y))) |
| 1702 | | - (x := (p, Y)) hvr hvi hr hi |
| 1703 | | - have hparts : CurlClassBounds.complexify ((realData t source).source (p, Y)) + |
| 1704 | | - Complex.I • CurlClassBounds.complexify ((imagData t source).source (p, Y)) = source (p, Y) := |
| 1705 | | - complex_parts (source (p, Y)) |
| 1706 | | - exact hc.trans (congrArg Neg.neg hparts) |
| 1707 | | - |
| 1708 | 1077 | /-- The same exact cancellation with regularity required only along the |
| 1709 | 1078 | actual finite copy paths. -/ |
| 1710 | 1079 | theorem complexCopy_principal_of_path (t : TangentData P ProblemStatement.Space) |
| @@ -1773,40 +1142,6 @@ structure CopyGeometryMatch (s : StripData (P × Plane)) (dirs : GraphDirections |
| 1773 | 1142 | LinearWaveResidual.shear (base.radius n) (base.frequencyBase n) (base.axialBase n) |
| 1774 | 1143 | (dirs.radialField n) (fun _ => CurlClassBounds.complexify v) x |
| 1775 | 1144 | |
| 1776 | | -/-- Every amplitude and pressure hypothesis of the linear-wave estimate |
| 1777 | | -is obtained from the actual forced solves and their primitive input bounds. -/ |
| 1778 | | -theorem complexCopy_inputBounds |
| 1779 | | - {s : StripData (P × Plane)} {α κ : ℝ} {dirs : GraphDirections (P × Plane)} |
| 1780 | | - (base : WaveCoefficients (P × Plane)) |
| 1781 | | - (t : ℕ → TangentData P ProblemStatement.Space) (source : ℕ → P × Plane → ComplexVector) |
| 1782 | | - (g : ℕ → Geometry) (copy : ℕ → Frequency) (L : ℕ → ℝ) (hL : ∀ n, 0 < L n) |
| 1783 | | - (W : ℕ → ℝ → ℝ) |
| 1784 | | - (hr : CopyControl s α (fun n => (realData (t n) (source n)).linearData) g copy L W) |
| 1785 | | - (hi : CopyControl s α (fun n => (imagData (t n) (source n)).linearData) g copy L W) |
| 1786 | | - (hb : InputBounds s (fun n p => W n ((g n).coordinates (copy n) p.2).2) α κ dirs (zeroAmplitudes base)) |
| 1787 | | - (hN : PhaseJetBounds.PolynomialJets (CurlClassBounds.phaseDomain s) |
| 1788 | | - (fun n p => (t n).normal (nativePoint (g n) (copy n) p))) |
| 1789 | | - (hNdot : UnweightedClass s 0 (fun n p => (t n).normalDot (nativePoint (g n) (copy n) p))) |
| 1790 | | - (hA : UnweightedClass s 0 (fun n p => (t n).action (nativePoint (g n) (copy n) p))) |
| 1791 | | - (hf : WaveClass s (fun n p => W n ((g n).coordinates (copy n) p.2).2) α source) |
| 1792 | | - {b M : ℝ} (hpos : 0 < b) |
| 1793 | | - (hlower : ∀ n p, p ∈ s.domain → b ≤ ‖(t n).normal (nativePoint (g n) (copy n) p)‖) |
| 1794 | | - (hupper : ∀ n p, p ∈ s.domain → ‖(t n).normal (nativePoint (g n) (copy n) p)‖ ≤ M) |
| 1795 | | - (hfrequency : BandBound s (1 / 2) (fun n => 1 / base.frequency n)) : |
| 1796 | | - InputBounds s (fun n p => W n ((g n).coordinates (copy n) p.2).2) α κ dirs |
| 1797 | | - (complexCopyCoefficients base t source g copy L hL) := by |
| 1798 | | - have hru := hr.waveClass hL |
| 1799 | | - have hiu := hi.waveClass hL |
| 1800 | | - have hv := complexCopyVelocity_class (hL := hL) hru hiu |
| 1801 | | - have hpr := copyPressure_class (t := fun n => realData (t n) (source n)) (hL := hL) |
| 1802 | | - hN hNdot hA hru (hf.map realPart) hpos hlower hupper hfrequency |
| 1803 | | - have hpi := copyPressure_class (t := fun n => imagData (t n) (source n)) (hL := hL) |
| 1804 | | - hN hNdot hA hiu (hf.map imagPart) hpos hlower hupper hfrequency |
| 1805 | | - have hp := hpr.add (constant_complex_mul hpi Complex.I) |
| 1806 | | - exact { hb with |
| 1807 | | - amplitude := fun i => hv.map (ContinuousLinearMap.proj i) |
| 1808 | | - pressure := hp } |
| 1809 | | - |
| 1810 | 1145 | /-- Every amplitude and pressure hypothesis of the linear-wave estimate |
| 1811 | 1146 | is obtained from the actual forced solves and their primitive input bounds. -/ |
| 1812 | 1147 | theorem complexCopy_inputBounds_of_modal |
| @@ -1841,34 +1176,6 @@ theorem complexCopy_inputBounds_of_modal |
| 1841 | 1176 | amplitude := fun i => hv.map (ContinuousLinearMap.proj i) |
| 1842 | 1177 | pressure := hp } |
| 1843 | 1178 | |
| 1844 | | -/-- The constructed complex coefficient satisfies the principal cancellation |
| 1845 | | -needed by the exact residual decomposition. No cancellation hypothesis is |
| 1846 | | -accepted as an input. -/ |
| 1847 | | -theorem complexCopyCoefficients_principal |
| 1848 | | - {s : StripData (P × Plane)} {dirs : GraphDirections (P × Plane)} |
| 1849 | | - (base : WaveCoefficients (P × Plane)) |
| 1850 | | - (t : ℕ → TangentData P ProblemStatement.Space) (source : ℕ → P × Plane → ComplexVector) |
| 1851 | | - (g : ℕ → Geometry) (copy : ℕ → Frequency) (L : ℕ → ℝ) (hL : ∀ n, 0 < L n) |
| 1852 | | - {U : Set P} (hU : IsOpen U) (hdom : ∀ p ∈ s.domain, p.1 ∈ U) |
| 1853 | | - (hA : ∀ n, ContDiffOn ℝ ∞ (t n).linearData.coefficient (U ×ˢ univ)) |
| 1854 | | - (hB : ∀ n, ContDiffOn ℝ ∞ (t n).linearData.forcingMap (U ×ˢ univ)) |
| 1855 | | - (hf : ∀ n, ContDiffOn ℝ ∞ (source n) (U ×ˢ univ)) |
| 1856 | | - (hslot : ∀ n p, p ∈ s.domain → ((g n).coordinates (copy n) p.2).2 ∈ Ioo 0 (L n)) |
| 1857 | | - (hgeometry : CopyGeometryMatch s dirs base t g copy) |
| 1858 | | - (hfrequency : ∀ n, base.frequency n ≠ 0) : |
| 1859 | | - ∀ n x, x ∈ s.domain → |
| 1860 | | - (complexCopyCoefficients base t source g copy L hL).principal s dirs n x = -source n x := by |
| 1861 | | - intro n x hx |
| 1862 | | - have hh := complexCopy_principal (t n) (source n) (g n) (hL n).le hU (copy n) (hA n) (hB n) (hf n) |
| 1863 | | - (s.epsilon n) (base.frequency n) (hfrequency n) (base.radius n) (base.frequencyBase n) |
| 1864 | | - (base.axialBase n) (base.phase n) (dirs.radialField n) (fun _ => dirs.angular) (dirs.axialField s n) |
| 1865 | | - (hdom x hx) x.2 (hslot n x hx) (hgeometry.normal n x hx) (hgeometry.damping n x hx) |
| 1866 | | - (hgeometry.action n x hx) |
| 1867 | | - have hfast : dirs.fastField n = fun _ => ((0 : P), slotDirection (g n)) := by |
| 1868 | | - funext z |
| 1869 | | - exact hgeometry.fast n |
| 1870 | | - simpa only [WaveCoefficients.principal, complexCopyCoefficients, hfast, Prod.mk.eta] using hh |
| 1871 | | - |
| 1872 | 1179 | /-- The principal equation for the actual modal construction. All required |
| 1873 | 1180 | regularity is local to the finite integration interval. -/ |
| 1874 | 1181 | theorem complexCopyCoefficients_principal_of_modal |
| @@ -1929,112 +1236,6 @@ theorem complexCopyCoefficients_tangent_of_modal |
| 1929 | 1236 | (copyVelocity (imagData (t n) (source n)) (g n) (hL n).le (copy n) x) = 0 at htI |
| 1930 | 1237 | rw [hadd, htR, htI, mul_zero, add_zero] |
| 1931 | 1238 | |
| 1932 | | -/-- Complete class and actual residual statements for the constructed complex |
| 1933 | | -particular wave. Both Gaussian cutoff terms remain on the right-hand side. -/ |
| 1934 | | -theorem constructed_particular_wave |
| 1935 | | - {s : StripData (P × Plane)} {α κ : ℝ} {dirs : GraphDirections (P × Plane)} |
| 1936 | | - (base : WaveCoefficients (P × Plane)) |
| 1937 | | - (t : ℕ → TangentData P ProblemStatement.Space) (source : ℕ → P × Plane → ComplexVector) |
| 1938 | | - (g : ℕ → Geometry) (copy : ℕ → Frequency) (L : ℕ → ℝ) (hL : ∀ n, 0 < L n) |
| 1939 | | - (W : ℕ → ℝ → ℝ) |
| 1940 | | - (hr : CopyControl s α (fun n => (realData (t n) (source n)).linearData) g copy L W) |
| 1941 | | - (hi : CopyControl s α (fun n => (imagData (t n) (source n)).linearData) g copy L W) |
| 1942 | | - (hb : InputBounds s (fun n p => W n ((g n).coordinates (copy n) p.2).2) α κ dirs (zeroAmplitudes base)) |
| 1943 | | - (hN : PhaseJetBounds.PolynomialJets (CurlClassBounds.phaseDomain s) |
| 1944 | | - (fun n p => (t n).normal (nativePoint (g n) (copy n) p))) |
| 1945 | | - (hNdot : UnweightedClass s 0 (fun n p => (t n).normalDot (nativePoint (g n) (copy n) p))) |
| 1946 | | - (hA : UnweightedClass s 0 (fun n p => (t n).action (nativePoint (g n) (copy n) p))) |
| 1947 | | - (hf : WaveClass s (fun n p => W n ((g n).coordinates (copy n) p.2).2) α source) |
| 1948 | | - {b M : ℝ} (hpos : 0 < b) |
| 1949 | | - (hlower : ∀ n p, p ∈ s.domain → b ≤ ‖(t n).normal (nativePoint (g n) (copy n) p)‖) |
| 1950 | | - (hupper : ∀ n p, p ∈ s.domain → ‖(t n).normal (nativePoint (g n) (copy n) p)‖ ≤ M) |
| 1951 | | - (hfrequency : BandBound s (1 / 2) (fun n => 1 / base.frequency n)) |
| 1952 | | - (hgeometry : CopyGeometryMatch s dirs base t g copy) |
| 1953 | | - (hfrequency_ne : ∀ n, base.frequency n ≠ 0) |
| 1954 | | - (hsource_smooth : ∀ n, ContDiffOn ℝ ∞ (source n) (hr.slowDomain ×ˢ univ)) |
| 1955 | | - (hκ : κ ≤ 1 / 2) (ψ : ℕ → P × Plane → ℝ) (hψ : UnweightedClass s 0 ψ) |
| 1956 | | - {R : P × Plane → ℝ} (hR : base.radius = fun _ => R) |
| 1957 | | - (hg : ExactConditions s dirs ((complexCopyCoefficients base t source g copy L hL).corrected s dirs ψ)) : |
| 1958 | | - let a := complexCopyCoefficients base t source g copy L hL |
| 1959 | | - let P := fun n p => W n ((g n).coordinates (copy n) p.2).2 |
| 1960 | | - WaveClass s P α a.amplitude ∧ |
| 1961 | | - WaveClass s P α (a.corrected s dirs ψ).amplitude ∧ |
| 1962 | | - WaveClass s P (α + 1 / 2) (a.corrected s dirs ψ).pressure ∧ |
| 1963 | | - WaveClass s P (α + 1 / 2 - 3 * κ) (a.constructedGood s dirs ψ) ∧ |
| 1964 | | - ∀ n x, x ∈ s.domain → |
| 1965 | | - (a.corrected s dirs ψ).harmonicResidual s dirs n x + |
| 1966 | | - (fun i => source n x i * carrier (a.frequency n) (a.phase n) x) = |
| 1967 | | - (fun i => (a.constructedGood s dirs ψ n x i + |
| 1968 | | - excludedSlotError dirs ψ a.amplitude source n x i) * carrier (a.frequency n) (a.phase n) x) := by |
| 1969 | | - let a := complexCopyCoefficients base t source g copy L hL |
| 1970 | | - have h0 := complexCopy_inputBounds base t source g copy L hL W hr hi hb hN hNdot hA hf |
| 1971 | | - hpos hlower hupper hfrequency |
| 1972 | | - have hNa : PhaseJetBounds.PolynomialJets (CurlClassBounds.phaseDomain s) (a.normal s dirs) := by |
| 1973 | | - apply hN.congr |
| 1974 | | - intro n x hx |
| 1975 | | - exact (hgeometry.normal n x hx).symm |
| 1976 | | - have hlow : ∀ n x, x ∈ s.domain → b ≤ ‖a.normal s dirs n x‖ := by |
| 1977 | | - intro n x hx |
| 1978 | | - change b ≤ ‖base.normal s dirs n x‖ |
| 1979 | | - rw [hgeometry.normal n x hx] |
| 1980 | | - exact hlower n x hx |
| 1981 | | - have hupp : ∀ n x, x ∈ s.domain → ‖a.normal s dirs n x‖ ≤ M := by |
| 1982 | | - intro n x hx |
| 1983 | | - change ‖base.normal s dirs n x‖ ≤ M |
| 1984 | | - rw [hgeometry.normal n x hx] |
| 1985 | | - exact hupper n x hx |
| 1986 | | - have hsolve := complexCopyCoefficients_principal base t source g copy L hL hr.open_slow hr.domain |
| 1987 | | - hr.coefficient_smooth hr.forcingMap_smooth hsource_smooth hr.current_slot hgeometry hfrequency_ne |
| 1988 | | - have hcorr := (h0.with_cutoff hψ).curlCorrection_class hR hNa hpos hlow hupp hfrequency |
| 1989 | | - have hc := (h0.with_cutoff hψ).add_curl_amplitude hκ (fun i => CurlClassBounds.class_component hcorr i) |
| 1990 | | - have hout := constructed_linear_wave_with_excluded h0 hκ hψ hR hNa hpos hlow hupp hfrequency hsolve hg |
| 1991 | | - exact ⟨component_classes h0.amplitude, component_classes hc.amplitude, hc.pressure, hout.1, hout.2⟩ |
| 1992 | | - |
| 1993 | | -/-- The cutoff remainder is both retained in the exact equation and proved |
| 1994 | | -smaller than every prescribed epsilon power under the Gaussian envelope. -/ |
| 1995 | | -theorem constructed_particular_wave_with_flat_error |
| 1996 | | - {s : StripData (P × Plane)} {α κ : ℝ} {dirs : GraphDirections (P × Plane)} |
| 1997 | | - (base : WaveCoefficients (P × Plane)) |
| 1998 | | - (t : ℕ → TangentData P ProblemStatement.Space) (source : ℕ → P × Plane → ComplexVector) |
| 1999 | | - (g : ℕ → Geometry) (copy : ℕ → Frequency) (L : ℕ → ℝ) (hL : ∀ n, 0 < L n) |
| 2000 | | - (W : ℕ → ℝ → ℝ) |
| 2001 | | - (hr : CopyControl s α (fun n => (realData (t n) (source n)).linearData) g copy L W) |
| 2002 | | - (hi : CopyControl s α (fun n => (imagData (t n) (source n)).linearData) g copy L W) |
| 2003 | | - (hb : InputBounds s (fun n p => W n ((g n).coordinates (copy n) p.2).2) α κ dirs (zeroAmplitudes base)) |
| 2004 | | - (hN : PhaseJetBounds.PolynomialJets (CurlClassBounds.phaseDomain s) |
| 2005 | | - (fun n p => (t n).normal (nativePoint (g n) (copy n) p))) |
| 2006 | | - (hNdot : UnweightedClass s 0 (fun n p => (t n).normalDot (nativePoint (g n) (copy n) p))) |
| 2007 | | - (hA : UnweightedClass s 0 (fun n p => (t n).action (nativePoint (g n) (copy n) p))) |
| 2008 | | - (hf : WaveClass s (fun n p => W n ((g n).coordinates (copy n) p.2).2) α source) |
| 2009 | | - {b M : ℝ} (hpos : 0 < b) |
| 2010 | | - (hlower : ∀ n p, p ∈ s.domain → b ≤ ‖(t n).normal (nativePoint (g n) (copy n) p)‖) |
| 2011 | | - (hupper : ∀ n p, p ∈ s.domain → ‖(t n).normal (nativePoint (g n) (copy n) p)‖ ≤ M) |
| 2012 | | - (hfrequency : BandBound s (1 / 2) (fun n => 1 / base.frequency n)) |
| 2013 | | - (hgeometry : CopyGeometryMatch s dirs base t g copy) |
| 2014 | | - (hfrequency_ne : ∀ n, base.frequency n ≠ 0) |
| 2015 | | - (hsource_smooth : ∀ n, ContDiffOn ℝ ∞ (source n) (hr.slowDomain ×ˢ univ)) |
| 2016 | | - (hκ : κ ≤ 1 / 2) (slot : GaussianTailFlat.SlotFamily s) |
| 2017 | | - (hfast : ∀ n, slot.linear n (dirs.fastScale n • dirs.fast) = (slot.length n)⁻¹) |
| 2018 | | - (edges : GaussianTailFlat.FlatEdges s) (scales : GaussianTailFlat.BandScaleControl s) |
| 2019 | | - {c : ℝ} (hc : 0 < c) |
| 2020 | | - (hW : ∀ n x, x ∈ s.domain → W n ((g n).coordinates (copy n) x.2).2 ≤ |
| 2021 | | - Real.exp (-c * (slot.coordinate n x - 1 / 2) ^ 2 * slot.length n)) |
| 2022 | | - {R : P × Plane → ℝ} (hR : base.radius = fun _ => R) |
| 2023 | | - (hg : ExactConditions s dirs ((complexCopyCoefficients base t source g copy L hL).corrected s dirs slot.cutoff)) : |
| 2024 | | - let a := complexCopyCoefficients base t source g copy L hL |
| 2025 | | - let P := fun n p => W n ((g n).coordinates (copy n) p.2).2 |
| 2026 | | - WaveClass s P (α + 1 / 2 - 3 * κ) (a.constructedGood s dirs slot.cutoff) ∧ |
| 2027 | | - (∀ β : ℝ, UnweightedClass s β (excludedSlotError dirs slot.cutoff a.amplitude source)) ∧ |
| 2028 | | - ∀ n x, x ∈ s.domain → |
| 2029 | | - (a.corrected s dirs slot.cutoff).harmonicResidual s dirs n x + |
| 2030 | | - (fun i => source n x i * carrier (a.frequency n) (a.phase n) x) = |
| 2031 | | - (fun i => (a.constructedGood s dirs slot.cutoff n x i + |
| 2032 | | - excludedSlotError dirs slot.cutoff a.amplitude source n x i) * carrier (a.frequency n) (a.phase n) x) := by |
| 2033 | | - have hres := constructed_particular_wave base t source g copy L hL W hr hi hb hN hNdot hA hf |
| 2034 | | - hpos hlower hupper hfrequency hgeometry hfrequency_ne hsource_smooth hκ slot.cutoff slot.cutoff_memClass hR hg |
| 2035 | | - exact ⟨hres.2.2.2.1, fun β => excludedSlotError_all_gains slot dirs hfast edges scales hres.1 hf hc hW β, |
| 2036 | | - hres.2.2.2.2⟩ |
| 2037 | | - |
| 2038 | 1239 | |
| 2039 | 1240 | /-- Complete class and actual residual statements for the constructed complex |
| 2040 | 1241 | particular wave. Both Gaussian cutoff terms remain on the right-hand side. -/ |
| @@ -2096,50 +1297,6 @@ theorem constructed_modal_particular_wave |
| 2096 | 1297 | have hout := constructed_linear_wave_with_excluded h0 hκ hψ hR hNa hpos hlow hupp hfrequency hsolve hg |
| 2097 | 1298 | exact ⟨component_classes h0.amplitude, component_classes hc.amplitude, hc.pressure, hout.1, hout.2⟩ |
| 2098 | 1299 | |
| 2099 | | -/-- The cutoff remainder is both retained in the exact equation and proved |
| 2100 | | -smaller than every prescribed epsilon power under the Gaussian envelope. -/ |
| 2101 | | -theorem constructed_modal_particular_wave_with_flat_error |
| 2102 | | - {s : StripData (P × Plane)} {α κ : ℝ} {dirs : GraphDirections (P × Plane)} |
| 2103 | | - (base : WaveCoefficients (P × Plane)) |
| 2104 | | - (t : ℕ → TangentData P ProblemStatement.Space) (source : ℕ → P × Plane → ComplexVector) |
| 2105 | | - (g : ℕ → Geometry) (copy : ℕ → Frequency) (L : ℕ → ℝ) (hL : ∀ n, 0 < L n) |
| 2106 | | - (W : ℕ → ℝ → ℝ) (d : ℕ → PrimaryODE.FrameData (P × ℝ)) (harmonic : ℤ) |
| 2107 | | - (hr : ModalCopyControl s α d (fun n => realData (t n) (source n)) harmonic g copy L W) |
| 2108 | | - (hi : ModalCopyControl s α d (fun n => imagData (t n) (source n)) harmonic g copy L W) |
| 2109 | | - (hb : InputBounds s (fun n p => W n ((g n).coordinates (copy n) p.2).2) α κ dirs (zeroAmplitudes base)) |
| 2110 | | - (hN : PhaseJetBounds.PolynomialJets (CurlClassBounds.phaseDomain s) |
| 2111 | | - (fun n p => (t n).normal (nativePoint (g n) (copy n) p))) |
| 2112 | | - (hNdot : UnweightedClass s 0 (fun n p => (t n).normalDot (nativePoint (g n) (copy n) p))) |
| 2113 | | - (hA : UnweightedClass s 0 (fun n p => (t n).action (nativePoint (g n) (copy n) p))) |
| 2114 | | - (hf : WaveClass s (fun n p => W n ((g n).coordinates (copy n) p.2).2) α source) |
| 2115 | | - {b M : ℝ} (hpos : 0 < b) |
| 2116 | | - (hlower : ∀ n p, p ∈ s.domain → b ≤ ‖(t n).normal (nativePoint (g n) (copy n) p)‖) |
| 2117 | | - (hupper : ∀ n p, p ∈ s.domain → ‖(t n).normal (nativePoint (g n) (copy n) p)‖ ≤ M) |
| 2118 | | - (hfrequency : BandBound s (1 / 2) (fun n => 1 / base.frequency n)) |
| 2119 | | - (hgeometry : CopyGeometryMatch s dirs base t g copy) |
| 2120 | | - (hfrequency_ne : ∀ n, base.frequency n ≠ 0) |
| 2121 | | - (hκ : κ ≤ 1 / 2) (slot : GaussianTailFlat.SlotFamily s) |
| 2122 | | - (hfast : ∀ n, slot.linear n (dirs.fastScale n • dirs.fast) = (slot.length n)⁻¹) |
| 2123 | | - (edges : GaussianTailFlat.FlatEdges s) (scales : GaussianTailFlat.BandScaleControl s) |
| 2124 | | - {c : ℝ} (hc : 0 < c) |
| 2125 | | - (hW : ∀ n x, x ∈ s.domain → W n ((g n).coordinates (copy n) x.2).2 ≤ |
| 2126 | | - Real.exp (-c * (slot.coordinate n x - 1 / 2) ^ 2 * slot.length n)) |
| 2127 | | - {R : P × Plane → ℝ} (hR : base.radius = fun _ => R) |
| 2128 | | - (hg : ExactConditions s dirs ((complexCopyCoefficients base t source g copy L hL).corrected s dirs slot.cutoff)) : |
| 2129 | | - let a := complexCopyCoefficients base t source g copy L hL |
| 2130 | | - let P := fun n p => W n ((g n).coordinates (copy n) p.2).2 |
| 2131 | | - WaveClass s P (α + 1 / 2 - 3 * κ) (a.constructedGood s dirs slot.cutoff) ∧ |
| 2132 | | - (∀ β : ℝ, UnweightedClass s β (excludedSlotError dirs slot.cutoff a.amplitude source)) ∧ |
| 2133 | | - ∀ n x, x ∈ s.domain → |
| 2134 | | - (a.corrected s dirs slot.cutoff).harmonicResidual s dirs n x + |
| 2135 | | - (fun i => source n x i * carrier (a.frequency n) (a.phase n) x) = |
| 2136 | | - (fun i => (a.constructedGood s dirs slot.cutoff n x i + |
| 2137 | | - excludedSlotError dirs slot.cutoff a.amplitude source n x i) * carrier (a.frequency n) (a.phase n) x) := by |
| 2138 | | - have hres := constructed_modal_particular_wave base t source g copy L hL W d harmonic hr hi hb hN hNdot hA hf |
| 2139 | | - hpos hlower hupper hfrequency hgeometry hfrequency_ne hκ slot.cutoff slot.cutoff_memClass hR hg |
| 2140 | | - exact ⟨hres.2.2.2.1, fun β => excludedSlotError_all_gains slot dirs hfast edges scales hres.1 hf hc hW β, |
| 2141 | | - hres.2.2.2.2⟩ |
| 2142 | | - |
| 2143 | 1300 | end ConstructedWave |
| 2144 | 1301 | |
| 2145 | 1302 | section AngularAndCurl |
| @@ -2148,74 +1305,8 @@ open CommonCoverSolve TorusInverse HarmonicCalculus WeightedClasses LinearWaveBo |
| 2148 | 1305 | |
| 2149 | 1306 | variable {P : Type} [NormedAddCommGroup P] [NormedSpace ℝ P] |
| 2150 | 1307 | |
| 2151 | | -/-- Primitive angular invariance of the real geometry and source is |
| 2152 | | -preserved by both actual complex outputs. The carrier remains equivariant. -/ |
| 2153 | | -theorem complexCopyCoefficients_invariant |
| 2154 | | - (base : WaveCoefficients (P × Plane)) |
| 2155 | | - (t : ℕ → TangentData P ProblemStatement.Space) (source : ℕ → P × Plane → ComplexVector) |
| 2156 | | - (g : ℕ → Geometry) (copy : ℕ → Frequency) (L : ℕ → ℝ) (hL : ∀ n, 0 < L n) |
| 2157 | | - (θ : P) |
| 2158 | | - (hr : ∀ n, CopyAngularInvariance.TangentInvariant θ (realData (t n) (source n))) |
| 2159 | | - (hi : ∀ n, CopyAngularInvariance.TangentInvariant θ (imagData (t n) (source n))) (n : ℕ) : |
| 2160 | | - CopyAngularInvariance.Invariant (θ, (0 : Plane)) |
| 2161 | | - ((complexCopyCoefficients base t source g copy L hL).amplitude n) ∧ |
| 2162 | | - CopyAngularInvariance.Invariant (θ, (0 : Plane)) |
| 2163 | | - ((complexCopyCoefficients base t source g copy L hL).pressure n) := by |
| 2164 | | - constructor |
| 2165 | | - · exact (((hr n).copySolve_invariant (g n) (hL n).le (copy n)).map CurlClassBounds.complexify).map₂ |
| 2166 | | - (((hi n).copySolve_invariant (g n) (hL n).le (copy n)).map CurlClassBounds.complexify) |
| 2167 | | - (fun a b => a + Complex.I • b) |
| 2168 | | - · exact ((hr n).copyPressure_invariant (g n) (hL n).le (copy n) (base.frequency n)).map₂ |
| 2169 | | - ((hi n).copyPressure_invariant (g n) (hL n).le (copy n) (base.frequency n)) |
| 2170 | | - (fun a b => a + Complex.I * b) |
| 2171 | | - |
| 2172 | | -/-- The modal construction really realizes the corrected field as a curl, |
| 2173 | | -and its actual harmonic divergence vanishes. No output tangency or smoothness |
| 2174 | | -hypothesis is used. -/ |
| 2175 | | -theorem modal_corrected_is_curl_and_divergence_zero |
| 2176 | | - {s : StripData (P × Plane)} {α : ℝ} {dirs : GraphDirections (P × Plane)} |
| 2177 | | - (base : WaveCoefficients (P × Plane)) |
| 2178 | | - (t : ℕ → TangentData P ProblemStatement.Space) (source : ℕ → P × Plane → ComplexVector) |
| 2179 | | - (g : ℕ → Geometry) (copy : ℕ → Frequency) (L : ℕ → ℝ) (hL : ∀ n, 0 < L n) |
| 2180 | | - (W : ℕ → ℝ → ℝ) (d : ℕ → PrimaryODE.FrameData (P × ℝ)) (harmonic : ℤ) |
| 2181 | | - (hr : ModalCopyControl s α d (fun n => realData (t n) (source n)) harmonic g copy L W) |
| 2182 | | - (hi : ModalCopyControl s α d (fun n => imagData (t n) (source n)) harmonic g copy L W) |
| 2183 | | - (hgeometry : CopyGeometryMatch s dirs base t g copy) |
| 2184 | | - (ψ : ℕ → P × Plane → ℝ) (n : ℕ) (hψ : ContDiffOn ℝ ∞ (ψ n) s.domain) |
| 2185 | | - (G : CurlClassBounds.CylindricalGeometry s.domain (base.radius n) (dirs.radialField n) |
| 2186 | | - (fun _ => dirs.angular) (dirs.axialField s n)) |
| 2187 | | - (hK : base.frequency n ≠ 0) (hΦ : ContDiffOn ℝ ∞ (base.phase n) s.domain) |
| 2188 | | - (hn : ∀ x ∈ s.domain, base.normal s dirs n x ≠ 0) {x : P × Plane} (hx : x ∈ s.domain) : |
| 2189 | | - let a := complexCopyCoefficients base t source g copy L hL |
| 2190 | | - CurlClassBounds.cylindricalCurl (base.radius n) (dirs.radialField n) (fun _ => dirs.angular) |
| 2191 | | - (dirs.axialField s n) ((a.withCutoff ψ).curlPotential s dirs n) x = |
| 2192 | | - vectorMode (base.frequency n) (base.phase n) ((a.corrected s dirs ψ).amplitude n) x ∧ |
| 2193 | | - cylindricalDivergence (base.radius n) (dirs.radialField n) (fun _ => dirs.angular) (dirs.axialField s n) |
| 2194 | | - (vectorMode (base.frequency n) (base.phase n) ((a.corrected s dirs ψ).amplitude n)) x = 0 := by |
| 2195 | | - let a := complexCopyCoefficients base t source g copy L hL |
| 2196 | | - have hvr := CurlClassBounds.complexify.contDiff.comp_contDiffOn (hr.contDiffOn hL n) |
| 2197 | | - have hvi := CurlClassBounds.complexify.contDiff.comp_contDiffOn (hi.contDiffOn hL n) |
| 2198 | | - have hv : ContDiffOn ℝ ∞ (a.amplitude n) s.domain := |
| 2199 | | - hvr.add ((complexScale Complex.I).contDiff.comp_contDiffOn hvi) |
| 2200 | | - have ht := complexCopyCoefficients_tangent_of_modal base t source g copy L hL W d harmonic hr hi hgeometry n |
| 2201 | | - have hcut := cutoff_tangent (a := a) ψ n ht |
| 2202 | | - exact ⟨CurlClassBounds.cylindricalCurl_vectorPotential G hK hΦ (hψ.smul hv) hn hcut hx, |
| 2203 | | - CurlClassBounds.realizedCoefficient_divergence G hK hΦ (hψ.smul hv) hn hcut hx⟩ |
| 2204 | | - |
| 2205 | 1308 | variable {D : Type*} [NormedAddCommGroup D] [NormedSpace ℝ D] |
| 2206 | 1309 | |
| 2207 | | -/-- Localization is retained after taking the actual curl, including on |
| 2208 | | -the cutoff boundary. -/ |
| 2209 | | -theorem correctedCurl_tsupport_subset (s : StripData D) (dirs : GraphDirections D) |
| 2210 | | - (a : WaveCoefficients D) (ψ : ℕ → D → ℝ) (n : ℕ) : |
| 2211 | | - tsupport (CurlClassBounds.cylindricalCurl (a.radius n) (dirs.radialField n) (fun _ => dirs.angular) |
| 2212 | | - (dirs.axialField s n) ((a.withCutoff ψ).curlPotential s dirs n)) ⊆ |
| 2213 | | - tsupport (ψ n) ∩ tsupport (a.amplitude n) := by |
| 2214 | | - have h := CurlClassBounds.realizedWave_tsupport_subset (a.frequency n) (a.radius n) |
| 2215 | | - (dirs.radialField n) (fun _ => dirs.angular) (dirs.axialField s n) (a.phase n) |
| 2216 | | - (fun x => ψ n x • a.amplitude n x) |
| 2217 | | - exact h.trans (subset_inter (tsupport_smul_subset_left _ _) (tsupport_smul_subset_right _ _)) |
| 2218 | | - |
| 2219 | 1310 | end AngularAndCurl |
| 2220 | 1311 | |
| 2221 | 1312 | section RealityAndSupport |
| @@ -2224,96 +1315,6 @@ open CommonCoverSolve TorusInverse HarmonicCalculus |
| 2224 | 1315 | |
| 2225 | 1316 | variable {P : Type} [NormedAddCommGroup P] [NormedSpace ℝ P] |
| 2226 | 1317 | |
| 2227 | | -noncomputable def scaleTangentSource (t : TangentData P ProblemStatement.Space) (c : ℝ) : |
| 2228 | | - TangentData P ProblemStatement.Space := { t with source := fun p => c • t.source p } |
| 2229 | | - |
| 2230 | | -omit [NormedAddCommGroup P] [NormedSpace ℝ P] in |
| 2231 | | -theorem copyVelocity_scaleSource (t : TangentData P ProblemStatement.Space) (c : ℝ) |
| 2232 | | - (g : Geometry) {a b : ℝ} (hab : a ≤ b) (k : Frequency) (p : P × Plane) : |
| 2233 | | - copyVelocity (scaleTangentSource t c) g hab k p = c • copyVelocity t g hab k p := by |
| 2234 | | - change CurlClassBounds.complexify |
| 2235 | | - ((CopySolveCompatibility.scaleSource t.linearData c).copySolve g hab k p) = _ |
| 2236 | | - rw [CopySolveCompatibility.copySolve_scaleSource] |
| 2237 | | - exact map_smul _ _ _ |
| 2238 | | - |
| 2239 | | -omit [NormedAddCommGroup P] [NormedSpace ℝ P] in |
| 2240 | | -theorem copyPressureReal_scaleSource (t : TangentData P ProblemStatement.Space) (c : ℝ) |
| 2241 | | - (g : Geometry) {a b : ℝ} (hab : a ≤ b) (k : Frequency) (p : P × Plane) : |
| 2242 | | - copyPressureReal (scaleTangentSource t c) g hab k p = c * copyPressureReal t g hab k p := by |
| 2243 | | - have hs : (scaleTangentSource t c).linearData.copySolve g hab k p = |
| 2244 | | - c • t.linearData.copySolve g hab k p := |
| 2245 | | - CopySolveCompatibility.copySolve_scaleSource t.linearData g hab c k p.1 p.2 |
| 2246 | | - change TangentProjection.pressureCoefficient (t.normal (nativePoint g k p)) |
| 2247 | | - (t.normalDot (nativePoint g k p)) ((scaleTangentSource t c).linearData.copySolve g hab k p) |
| 2248 | | - (t.action (nativePoint g k p) ((scaleTangentSource t c).linearData.copySolve g hab k p)) |
| 2249 | | - (c • t.source p) = c * TangentProjection.pressureCoefficient (t.normal (nativePoint g k p)) |
| 2250 | | - (t.normalDot (nativePoint g k p)) (t.linearData.copySolve g hab k p) |
| 2251 | | - (t.action (nativePoint g k p) (t.linearData.copySolve g hab k p)) (t.source p) |
| 2252 | | - rw [hs] |
| 2253 | | - simp only [TangentProjection.pressureCoefficient, map_smul, real_inner_smul_right] |
| 2254 | | - ring |
| 2255 | | - |
| 2256 | | -omit [NormedAddCommGroup P] [NormedSpace ℝ P] in |
| 2257 | | -theorem copyPressure_scaleSource (t : TangentData P ProblemStatement.Space) (c : ℝ) |
| 2258 | | - (g : Geometry) {a b : ℝ} (hab : a ≤ b) (k : Frequency) (frequency : ℝ) (p : P × Plane) : |
| 2259 | | - copyPressure (scaleTangentSource t c) g hab k frequency p = c • copyPressure t g hab k frequency p := by |
| 2260 | | - simp only [copyPressure, copyPressureReal_scaleSource, Complex.ofReal_mul, Complex.real_smul] |
| 2261 | | - ring |
| 2262 | | - |
| 2263 | | -noncomputable def conjugateSource (f : P × Plane → ComplexVector) : P × Plane → ComplexVector := |
| 2264 | | - fun p i => star (f p i) |
| 2265 | | - |
| 2266 | | -omit [NormedAddCommGroup P] [NormedSpace ℝ P] in |
| 2267 | | -theorem realData_conjugate (t : TangentData P ProblemStatement.Space) (f : P × Plane → ComplexVector) : |
| 2268 | | - realData t (conjugateSource f) = realData t f := by |
| 2269 | | - have he : (fun p => realPart (conjugateSource f p)) = fun p => realPart (f p) := by |
| 2270 | | - funext p |
| 2271 | | - ext i |
| 2272 | | - simp [conjugateSource] |
| 2273 | | - unfold realData |
| 2274 | | - rw [he] |
| 2275 | | - |
| 2276 | | -omit [NormedAddCommGroup P] [NormedSpace ℝ P] in |
| 2277 | | -theorem imagData_conjugate (t : TangentData P ProblemStatement.Space) (f : P × Plane → ComplexVector) : |
| 2278 | | - imagData t (conjugateSource f) = scaleTangentSource (imagData t f) (-1) := by |
| 2279 | | - have he : (fun p => imagPart (conjugateSource f p)) = fun p => (-1 : ℝ) • imagPart (f p) := by |
| 2280 | | - funext p |
| 2281 | | - ext i |
| 2282 | | - simp [conjugateSource] |
| 2283 | | - unfold imagData scaleTangentSource |
| 2284 | | - rw [he] |
| 2285 | | - |
| 2286 | | -omit [NormedAddCommGroup P] [NormedSpace ℝ P] in |
| 2287 | | -/-- Conjugation of a source conjugates the actual zero-entry velocity. -/ |
| 2288 | | -theorem complexCopyVelocity_conjugate (t : TangentData P ProblemStatement.Space) |
| 2289 | | - (f : P × Plane → ComplexVector) (g : Geometry) {a b : ℝ} (hab : a ≤ b) |
| 2290 | | - (k : Frequency) (p : P × Plane) : |
| 2291 | | - complexCopyVelocity t (conjugateSource f) g hab k p = |
| 2292 | | - fun i => star (complexCopyVelocity t f g hab k p i) := by |
| 2293 | | - rw [complexCopyVelocity, realData_conjugate, imagData_conjugate, copyVelocity_scaleSource] |
| 2294 | | - ext i |
| 2295 | | - simp [complexCopyVelocity, copyVelocity] |
| 2296 | | - |
| 2297 | | -omit [NormedAddCommGroup P] [NormedSpace ℝ P] in |
| 2298 | | -/-- The sign change of the harmonic frequency is essential to pressure |
| 2299 | | -conjugation. This proves the symmetry required for a real paired wave. -/ |
| 2300 | | -theorem complexCopyPressure_conjugate (t : TangentData P ProblemStatement.Space) |
| 2301 | | - (f : P × Plane → ComplexVector) (g : Geometry) {a b : ℝ} (hab : a ≤ b) |
| 2302 | | - (k : Frequency) (frequency : ℝ) (p : P × Plane) : |
| 2303 | | - complexCopyPressure t (conjugateSource f) g hab k (-frequency) p = |
| 2304 | | - star (complexCopyPressure t f g hab k frequency p) := by |
| 2305 | | - rw [complexCopyPressure, realData_conjugate, imagData_conjugate, copyPressure_scaleSource] |
| 2306 | | - simp [complexCopyPressure, copyPressure] |
| 2307 | | - ring |
| 2308 | | - |
| 2309 | | -omit [NormedAddCommGroup P] [NormedSpace ℝ P] in |
| 2310 | | -theorem complexCopyVelocity_at_entry (t : TangentData P ProblemStatement.Space) |
| 2311 | | - (f : P × Plane → ComplexVector) (g : Geometry) {a b : ℝ} (hab : a ≤ b) |
| 2312 | | - (k : Frequency) (p : P) (ξ : ℝ) : |
| 2313 | | - complexCopyVelocity t f g hab k (p, g.point k (ξ, a)) = 0 := by |
| 2314 | | - simp only [complexCopyVelocity, copyVelocity, LinearData.copySolve_at_entry, |
| 2315 | | - map_zero, smul_zero, add_zero] |
| 2316 | | - |
| 2317 | 1318 | /-- Support is propagated along the actual earlier-point path. Pointwise |
| 2318 | 1319 | vanishing of the source at only the current point is not used. -/ |
| 2319 | 1320 | theorem complexCopyVelocity_zero_of_path (t : TangentData P ProblemStatement.Space) |
| @@ -2398,48 +1399,6 @@ noncomputable def periodizedCopies (g : Geometry) (κ : Plane → ℝ) |
| 2398 | 1399 | (F : Frequency → P × Plane → H) (p : P × Plane) : H := |
| 2399 | 1400 | ∑' k : Frequency, κ (g.coordinates k p.2) • F k p |
| 2400 | 1401 | |
| 2401 | | -omit [NormedAddCommGroup P] [NormedSpace ℝ P] [CompleteSpace H] in |
| 2402 | | -/-- Compact localization makes the displayed series an actual finite sum |
| 2403 | | -at each point; no summability fallback is used by the construction. -/ |
| 2404 | | -theorem periodizedCopies_eq_finite_sum (g : Geometry) {κ : Plane → ℝ} (hκ : HasCompactSupport κ) |
| 2405 | | - (F : Frequency → P × Plane → H) (p : P × Plane) : |
| 2406 | | - ∃ I : Finset Frequency, periodizedCopies g κ F p = ∑ k ∈ I, κ (g.coordinates k p.2) • F k p := by |
| 2407 | | - obtain ⟨I, hI⟩ := g.finite_copy_cutoffs hκ ‖p.2‖ |
| 2408 | | - refine ⟨I, tsum_eq_sum (fun k hk => ?_)⟩ |
| 2409 | | - rw [hI p.2 le_rfl k hk, zero_smul] |
| 2410 | | - |
| 2411 | | -omit [NormedAddCommGroup P] [NormedSpace ℝ P] [CompleteSpace H] in |
| 2412 | | -/-- On a plateau occupied by exactly one copy, periodization gives that |
| 2413 | | -actual copy. No summability convention enters this equality. -/ |
| 2414 | | -theorem periodizedCopies_eq_single (g : Geometry) (κ : Plane → ℝ) |
| 2415 | | - (F : Frequency → P × Plane → H) (k : Frequency) (p : P × Plane) |
| 2416 | | - (hk : κ (g.coordinates k p.2) = 1) |
| 2417 | | - (hother : ∀ l : Frequency, l ≠ k → κ (g.coordinates l p.2) = 0) : |
| 2418 | | - periodizedCopies g κ F p = F k p := by |
| 2419 | | - unfold periodizedCopies |
| 2420 | | - rw [tsum_eq_single k (fun l hl => by rw [hother l hl, zero_smul]), hk, one_smul] |
| 2421 | | - |
| 2422 | | -omit [NormedSpace ℝ P] [CompleteSpace H] in |
| 2423 | | -theorem periodizedCopies_eventuallyEq_single (g : Geometry) (κ : Plane → ℝ) |
| 2424 | | - (F : Frequency → P × Plane → H) (k : Frequency) (p : P × Plane) |
| 2425 | | - (hκ : ∀ᶠ y in 𝓝 p, κ (g.coordinates k y.2) = 1 ∧ |
| 2426 | | - ∀ l : Frequency, l ≠ k → κ (g.coordinates l y.2) = 0) : |
| 2427 | | - periodizedCopies g κ F =ᶠ[𝓝 p] F k := by |
| 2428 | | - filter_upwards [hκ] with y hy |
| 2429 | | - exact periodizedCopies_eq_single g κ F k y hy.1 hy.2 |
| 2430 | | - |
| 2431 | | -omit [CompleteSpace H] in |
| 2432 | | -/-- Germ agreement preserves every actual Fréchet derivative, including |
| 2433 | | -mixed derivatives in the slow and torus variables. -/ |
| 2434 | | -theorem periodizedCopies_iteratedFDeriv_eq_single (g : Geometry) (κ : Plane → ℝ) |
| 2435 | | - (F : Frequency → P × Plane → H) (k : Frequency) (p : P × Plane) |
| 2436 | | - (hκ : ∀ᶠ y in 𝓝 p, κ (g.coordinates k y.2) = 1 ∧ |
| 2437 | | - ∀ l : Frequency, l ≠ k → κ (g.coordinates l y.2) = 0) (m : ℕ) : |
| 2438 | | - iteratedFDeriv ℝ m (periodizedCopies g κ F) p = iteratedFDeriv ℝ m (F k) p := by |
| 2439 | | - have he := periodizedCopies_eventuallyEq_single g κ F k p hκ |
| 2440 | | - have hw : periodizedCopies g κ F =ᶠ[𝓝[univ] p] F k := by simpa only [nhdsWithin_univ] using he |
| 2441 | | - simpa only [iteratedFDerivWithin_univ] using hw.iteratedFDerivWithin_eq he.self_of_nhds m |
| 2442 | | - |
| 2443 | 1402 | omit [NormedAddCommGroup P] [NormedSpace ℝ P] [CompleteSpace H] in |
| 2444 | 1403 | theorem periodizedCopies_periodic (g : Geometry) (κ : Plane → ℝ) |
| 2445 | 1404 | (F : Frequency → P × Plane → H) (p : P) |
| @@ -2534,22 +1493,6 @@ theorem phaseNormal_reindex (e : E ≃ₗᵢ[ℝ] F) (R : F → ℝ) (Vr Vθ Vz |
| 2534 | 1493 | (fun y => Φ (e y)) x = phaseNormal R Vr Vθ Vz Φ (e x) := by |
| 2535 | 1494 | simp only [phaseNormal, along_reindex e _ hΦ] |
| 2536 | 1495 | |
| 2537 | | -theorem principal_reindex (e : E ≃ₗᵢ[ℝ] F) (ε frequency : ℝ) |
| 2538 | | - (R F₀ G Φ : F → ℝ) (Vr Vθ Vz Vf : F → F) (a : F → ComplexVector) (p : F → ℂ) |
| 2539 | | - {x : E} (hF : DifferentiableAt ℝ F₀ (e x)) (hG : DifferentiableAt ℝ G (e x)) |
| 2540 | | - (hΦ : DifferentiableAt ℝ Φ (e x)) |
| 2541 | | - (ha : ∀ i, DifferentiableAt ℝ (fun y => a y i) (e x)) : |
| 2542 | | - LinearWaveResidual.principal ε frequency (fun y => R (e y)) (fun y => F₀ (e y)) (fun y => G (e y)) |
| 2543 | | - (reindexVector e Vr) (reindexVector e Vθ) (reindexVector e Vz) (reindexVector e Vf) |
| 2544 | | - (fun y => Φ (e y)) (fun y => a (e y)) (fun y => p (e y)) x = |
| 2545 | | - LinearWaveResidual.principal ε frequency R F₀ G Vr Vθ Vz Vf Φ a p (e x) := by |
| 2546 | | - have hN := phaseNormal_reindex e R Vr Vθ Vz hΦ |
| 2547 | | - have hK : LinearWaveResidual.shear (fun y => R (e y)) (fun y => F₀ (e y)) (fun y => G (e y)) |
| 2548 | | - (reindexVector e Vr) (fun y => a (e y)) x = LinearWaveResidual.shear R F₀ G Vr a (e x) := by |
| 2549 | | - simp only [LinearWaveResidual.shear, along_reindex e Vr hF, along_reindex e Vr hG] |
| 2550 | | - ext i |
| 2551 | | - simp only [LinearWaveResidual.principal, hN, hK, along_reindex e Vf (ha i)] |
| 2552 | | - |
| 2553 | 1496 | noncomputable def reindexCoefficients (e : E ≃ₗᵢ[ℝ] F) (a : WaveCoefficients F) : WaveCoefficients E where |
| 2554 | 1497 | radius n x := a.radius n (e x) |
| 2555 | 1498 | radialBase n x := a.radialBase n (e x) |