math / data /lean /OAI /MathematicalPhysics /DefocusingNLS /Spectrum /SpectralAngularJet.lean
introvoyz045's picture
Migrated from GitHub
4a56cd6 verified
Raw History Blame Contribute Delete
2.18 kB
import OAI.MathematicalPhysics.DefocusingNLS.Spectrum.SpectralRegularEquation
namespace OAI
/-! Restoring the angular factor in a regular radial spectral column. -/
namespace DefocusingNLS
noncomputable def spectralAngularJet (ell : β„•) (Y : ℝ β†’ β„‚ Γ— β„‚) (r : ℝ) : β„‚ Γ— β„‚ :=
((r : β„‚)^ell*(Y r).1,
(r : β„‚)^ell*((ell : β„‚)/(r : β„‚)*(Y r).1+(Y r).2))
theorem spectralAngularPower_hasDerivAt (ell : β„•) (r : ℝ) (hr : r β‰  0) :
HasDerivAt (fun s : ℝ => (s : β„‚)^ell) ((r : β„‚)^ell*(ell : β„‚)/(r : β„‚)) r := by
cases ell with
| zero => simpa using hasDerivAt_const r (1 : β„‚)
| succ ell =>
convert! ((hasDerivAt_id r).ofReal_comp.pow (ell+1)) using 1
simp only [Nat.add_sub_cancel,id_eq,Complex.ofReal_one,mul_one]
rw [pow_succ]
field_simp [Complex.ofReal_ne_zero.mpr hr]
theorem spectralAngularJet_hasDerivAt (ell : β„•) (h C F : β„‚) (Y : ℝ β†’ β„‚ Γ— β„‚)
(r : ℝ) (hr : r β‰  0)
(hY : HasDerivAt Y ((Y r).2,
-(((2*ell+11 : β„•) : β„‚)/(r : β„‚)+h*Complex.I*(r : β„‚)/2)*(Y r).2-C*(Y r).1+F) r) :
HasDerivAt (spectralAngularJet ell Y)
((spectralAngularJet ell Y r).2,
-(11/(r : β„‚)+h*Complex.I*(r : β„‚)/2)*(spectralAngularJet ell Y r).2-
(C-h*Complex.I*(ell : β„‚)/2-((ell*(ell+10) : β„•) : β„‚)/(r : β„‚)^2)*
(spectralAngularJet ell Y r).1+(r : β„‚)^ell*F) r := by
have hp := spectralAngularPower_hasDerivAt ell r hr
have hc : HasDerivAt (fun s : ℝ => (ell : β„‚)/(s : β„‚)) (-(ell : β„‚)/(r : β„‚)^2) r := by
convert! (((hasDerivAt_id r).ofReal_comp.inv (Complex.ofReal_ne_zero.mpr hr)).const_mul
(ell : β„‚)) using 1
simp only [id_eq,Complex.ofReal_one]
ring
have hv : HasDerivAt (fun s : ℝ => (s : β„‚)^ell*(Y s).1)
(spectralAngularJet ell Y r).2 r := by
apply (hp.mul hY.fst).congr_deriv
unfold spectralAngularJet
ring
have hd := (hv.prodMk (hp.mul ((hc.mul hY.fst).add hY.snd)))
apply hd.congr_deriv
apply Prod.ext
Β· rfl
Β· unfold spectralAngularJet
simp only [Pi.mul_apply,Pi.add_apply]
push_cast
field_simp [Complex.ofReal_ne_zero.mpr hr]
ring
end DefocusingNLS
end OAI