| @@ -287,16 +287,6 @@ theorem curlRemainder_contDiffAt (K : ℝ) {R : D → ℝ} {Vr Vθ Vz : D → D} |
| 287 | 287 | rw [he] |
| 288 | 288 | exact (cylindricalCurl_contDiffAt hR hRn hr hθ hz hB).const_smul (inverseCarrier K) |
| 289 | 289 | |
| 290 | | -theorem realizedCoefficient_contDiffAt (K : ℝ) {R : D → ℝ} {Vr Vθ Vz : D → D} |
| 291 | | - {Φ : D → ℝ} {a : D → ComplexVector} {x : D} |
| 292 | | - (hR : ContDiffAt ℝ ∞ R x) (hRn : R x ≠ 0) |
| 293 | | - (hr : ContDiffAt ℝ ∞ Vr x) (hθ : ContDiffAt ℝ ∞ Vθ x) (hz : ContDiffAt ℝ ∞ Vz x) |
| 294 | | - (hΦ : ContDiffAt ℝ ∞ Φ x) (ha : ContDiffAt ℝ ∞ a x) |
| 295 | | - (hn : phaseNormal R Vr Vθ Vz Φ x ≠ 0) : |
| 296 | | - ContDiffAt ℝ ∞ (realizedCoefficient K R Vr Vθ Vz Φ a) x := |
| 297 | | - ha.add (curlRemainder_contDiffAt K hR hRn hr hθ hz |
| 298 | | - (normalCoefficient_contDiffAt (phaseNormal_contDiffAt hR hRn hr hθ hz hΦ) ha hn)) |
| 299 | | - |
| 300 | 290 | /-- Curl realization itself uses the first coefficient derivatives and |
| 301 | 291 | tangency at the selected point, with no surrounding geometric identities. -/ |
| 302 | 292 | theorem cylindricalCurl_vectorPotential_of_differentiable |
| @@ -421,50 +411,6 @@ theorem realizedCoefficient_divergence_at {K : ℝ} (hK : K ≠ 0) |
| 421 | 411 | exact divergence_curl_zero_at G (vectorPotential_contDiffAt K G.radius_smooth G.radius_ne |
| 422 | 412 | G.radial_smooth G.angular_smooth G.axial_smooth hΦ ha hn) |
| 423 | 413 | |
| 424 | | -theorem cylindricalDivergence_contDiffAt {R : D → ℝ} {Vr Vθ Vz : D → D} |
| 425 | | - {a : D → ComplexVector} {x : D} |
| 426 | | - (hR : ContDiffAt ℝ ∞ R x) (hRn : R x ≠ 0) |
| 427 | | - (hr : ContDiffAt ℝ ∞ Vr x) (hθ : ContDiffAt ℝ ∞ Vθ x) (hz : ContDiffAt ℝ ∞ Vz x) |
| 428 | | - (ha : ContDiffAt ℝ ∞ a x) : ContDiffAt ℝ ∞ (cylindricalDivergence R Vr Vθ Vz a) x := by |
| 429 | | - have hai := contDiffAt_pi.mp ha |
| 430 | | - exact (((contDiffAt_along hr (hai 0)).add ((hR.inv hRn).smul (hai 0))).add |
| 431 | | - ((hR.inv hRn).smul (contDiffAt_along hθ (hai 1)))).add (contDiffAt_along hz (hai 2)) |
| 432 | | - |
| 433 | | -omit [NormedSpace ℝ D] in |
| 434 | | -theorem eq_zero_of_mem_closure {E : Type*} [NormedAddCommGroup E] |
| 435 | | - {f : D → E} {C : Set D} {x : D} (hf : ContinuousAt f x) |
| 436 | | - (hx : x ∈ closure C) (hzero : EqOn f (fun _ => 0) C) : f x = 0 := by |
| 437 | | - have hm := mem_closure_image hf hx |
| 438 | | - have hs : f '' C ⊆ ({0} : Set E) := by |
| 439 | | - rintro y ⟨z, hz, rfl⟩ |
| 440 | | - exact hzero hz |
| 441 | | - have he := closure_mono hs hm |
| 442 | | - simpa only [closure_singleton, mem_singleton_iff] using he |
| 443 | | - |
| 444 | | -/-- A second legitimate boundary interface: tangency on a set whose interior |
| 445 | | -approaches the selected point. Continuity of the actual divergence is derived |
| 446 | | -from the supplied ambient jets. -/ |
| 447 | | -theorem realizedCoefficient_divergence_of_mem_closure_interior {K : ℝ} (hK : K ≠ 0) |
| 448 | | - {R : D → ℝ} {Vr Vθ Vz : D → D} {Φ : D → ℝ} {a : D → ComplexVector} {C : Set D} {x : D} |
| 449 | | - (hG : ∀ y ∈ C, GeometryAt R Vr Vθ Vz y) |
| 450 | | - (hΦ : ∀ y ∈ C, ContDiffAt ℝ ∞ Φ y) (ha : ∀ y ∈ C, ContDiffAt ℝ ∞ a y) |
| 451 | | - (hn : ∀ y ∈ C, phaseNormal R Vr Vθ Vz Φ y ≠ 0) |
| 452 | | - (ht : ∀ y ∈ C, normalDot (phaseNormal R Vr Vθ Vz Φ y) (a y) = 0) |
| 453 | | - (hx : x ∈ C) (hclosure : x ∈ closure (interior C)) : |
| 454 | | - cylindricalDivergence R Vr Vθ Vz |
| 455 | | - (vectorMode K Φ (realizedCoefficient K R Vr Vθ Vz Φ a)) x = 0 := by |
| 456 | | - have G := hG x hx |
| 457 | | - have hc := realizedCoefficient_contDiffAt K G.radius_smooth G.radius_ne |
| 458 | | - G.radial_smooth G.angular_smooth G.axial_smooth (hΦ x hx) (ha x hx) (hn x hx) |
| 459 | | - apply eq_zero_of_mem_closure |
| 460 | | - (cylindricalDivergence_contDiffAt G.radius_smooth G.radius_ne G.radial_smooth G.angular_smooth |
| 461 | | - G.axial_smooth (vectorMode_contDiffAt K (hΦ x hx) hc)).continuousAt hclosure |
| 462 | | - intro y hy |
| 463 | | - have hyC := interior_subset hy |
| 464 | | - apply realizedCoefficient_divergence_at hK (hG y hyC) (hΦ y hyC) (ha y hyC) (hn y hyC) |
| 465 | | - filter_upwards [isOpen_interior.mem_nhds hy] with z hz |
| 466 | | - exact ht z (interior_subset hz) |
| 467 | | - |
| 468 | 414 | end Curl |
| 469 | 415 | |
| 470 | 416 | /-! ## Literal cutoff/curl residual from primitive pointwise data -/ |
| @@ -612,36 +558,6 @@ section Copies |
| 612 | 558 | variable {I : Type} {a : PeriodizedWaveBounds.CopyData D I} {s : StripData D} |
| 613 | 559 | {d : GraphDirections D} {C : ℕ → I → Set D} {P : ℕ → I → D → ℝ} {α κ : ℝ} |
| 614 | 560 | |
| 615 | | -theorem rawJets_of_localInput |
| 616 | | - (h : LocalizedWaveBounds.InputBounds s C P α κ d (LocalizedWaveBounds.rawFamily a)) |
| 617 | | - (hψ : LocalizedWaveBounds.LocalUnweighted s C 0 a.cutoff) |
| 618 | | - (n : ℕ) (i : I) {x : D} (hx : x ∈ s.domain) (hi : x ∈ C n i) |
| 619 | | - (hΦ : ContDiffAt ℝ ∞ (a.background.phase n) x) |
| 620 | | - (hR : a.background.radius n x ≠ 0) (hN : a.background.normal s d n x ≠ 0) : |
| 621 | | - RawJetsAt (a.raw i) s d (fun n => a.cutoff n i) n x := |
| 622 | | - ⟨h.radial_profile.smooth n i x hx hi, hΦ, h.radius.smooth n i x hx hi, |
| 623 | | - (h.radial_base.smooth n i x hx hi).differentiableAt (by simp), |
| 624 | | - (h.frequency_base.smooth n i x hx hi).differentiableAt (by simp), |
| 625 | | - (h.axial_base.smooth n i x hx hi).differentiableAt (by simp), |
| 626 | | - contDiffAt_pi.mpr (fun j => (h.amplitude j).smooth n i x hx hi), |
| 627 | | - (h.pressure.smooth n i x hx hi).differentiableAt (by simp), |
| 628 | | - hψ.smooth n i x hx hi, hR, hN⟩ |
| 629 | | - |
| 630 | | -theorem native_cancellation_of_principal |
| 631 | | - (h : LocalizedWaveBounds.InputBounds s C P α κ d (LocalizedWaveBounds.rawFamily a)) |
| 632 | | - (hψ : LocalizedWaveBounds.LocalUnweighted s C 0 a.cutoff) |
| 633 | | - (n : ℕ) (i : I) {x : D} (hx : x ∈ s.domain) (hi : x ∈ C n i) |
| 634 | | - (hΦ : ContDiffAt ℝ ∞ (a.background.phase n) x) |
| 635 | | - (hR : a.background.radius n x ≠ 0) (hN : a.background.normal s d n x ≠ 0) |
| 636 | | - (g : AngularData (a.raw i) s d (fun n => a.cutoff n i) n) |
| 637 | | - (hDr : along (d.radialField n) (a.background.radius n) x = 1) |
| 638 | | - (hsolve : (a.raw i).principal s d n x = -a.source n x) : |
| 639 | | - (a.corrected s d i).harmonicResidual s d n x + |
| 640 | | - (fun j => a.source n x j * carrier (a.background.frequency n) (a.background.phase n) x) = |
| 641 | | - (fun j => (a.localGood s d n i x j + a.localGaussian d n i x j) * |
| 642 | | - carrier (a.background.frequency n) (a.background.phase n) x) := |
| 643 | | - (rawJets_of_localInput h hψ n i hx hi hΦ hR hN).cancellation g hDr a.source hsolve |
| 644 | | - |
| 645 | 561 | theorem native_realizes_curl_at (n : ℕ) (i : I) (x : D) |
| 646 | 562 | (h : RawJetsAt (a.raw i) s d (fun n => a.cutoff n i) n x) |
| 647 | 563 | (hK : a.background.frequency n ≠ 0) |