import OAI.MathematicalPhysics.DefocusingNLS.Profile.RadianFourierDerivatives import OAI.MathematicalPhysics.DefocusingNLS.Linear.SchwartzSampledNonlinearity import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.CutoffNormalizedEquation import OAI.MathematicalPhysics.DefocusingNLS.Nonlinear.CutoffProfileModeDerivative namespace OAI /-! # The exact Fourier transform of the normalized cutoff defect -/ open scoped SchwartzMap Laplacian ContDiff namespace DefocusingNLS local notation "E" => EuclideanSpace โ„ (Fin 12) noncomputable def physicalSchwartzCoefficient (L : โ„) (n : frequencyLattice) : ๐“ข(E, โ„‚) โ†’โ‚—[โ„‚] โ„‚ where toFun ฯˆ := schwartzLatticeCoefficient L (radianFourierKernel ฯˆ) n map_add' ฯˆ ฯ† := by change (((2 * Real.pi * L) ^ 12)โปยน : โ„) * (radianFourierCLM (ฯˆ + ฯ†)) (Lโปยน โ€ข (n : E)) = (((2 * Real.pi * L) ^ 12)โปยน : โ„) * (radianFourierCLM ฯˆ) (Lโปยน โ€ข (n : E)) + (((2 * Real.pi * L) ^ 12)โปยน : โ„) * (radianFourierCLM ฯ†) (Lโปยน โ€ข (n : E)) rw [map_add] simp only [add_apply, mul_add] map_smul' c ฯˆ := by change (((2 * Real.pi * L) ^ 12)โปยน : โ„) * (radianFourierCLM (c โ€ข ฯˆ)) (Lโปยน โ€ข (n : E)) = c * ((((2 * Real.pi * L) ^ 12)โปยน : โ„) * (radianFourierCLM ฯˆ) (Lโปยน โ€ข (n : E))) rw [map_smul radianFourierCLM] simp only [smul_apply, smul_eq_mul] ring @[simp] theorem physicalSchwartzCoefficient_apply (L : โ„) (n : frequencyLattice) (ฯˆ : ๐“ข(E, โ„‚)) : physicalSchwartzCoefficient L n ฯˆ = schwartzLatticeCoefficient L (radianFourierKernel ฯˆ) n := rfl theorem physicalSchwartzCoefficient_laplacian (ฯˆ : ๐“ข(E, โ„‚)) (n : frequencyLattice) : physicalSchwartzCoefficient 1 n (ฮ” ฯˆ) = -((โ€–nโ€– ^ 2 : โ„) : โ„‚) * physicalSchwartzCoefficient 1 n ฯˆ := by change (((2 * Real.pi * 1) ^ 12)โปยน : โ„) * radianFourierKernel (ฮ” ฯˆ) (1โปยน โ€ข (n : E)) = _ simp only [inv_one, one_smul, radianFourierKernel_laplacian, physicalSchwartzCoefficient_apply, schwartzLatticeCoefficient, Submodule.norm_coe] ring theorem physicalSchwartzCoefficient_dilation (R : โ„) (hR : 0 < R) (ฯˆ : ๐“ข(E, โ„‚)) (n : frequencyLattice) : physicalSchwartzCoefficient R n (schwartzPhysicalDilation 0 R hR ฯˆ) = physicalSchwartzCoefficient 1 n ฯˆ := by simp only [physicalSchwartzCoefficient_apply] rw [radianFourierKernel_schwartzPhysicalDilation, schwartzLatticeCoefficient_homogeneousDilation 0 R R hR hR] simp only [mul_zero, Real.rpow_zero, Complex.ofReal_one, one_mul, div_self hR.ne'] noncomputable def cutoffVelocitySchwartz (ฯ‡ : ๐“ข(E, โ„‚)) (hฯ‡ : HasCompactSupport (ฯ‡ : E โ†’ โ„‚)) (Q : E โ†’ โ„‚) (hQ : ContDiff โ„ โˆž Q) (R : โ„) : ๐“ข(E, โ„‚) := (hฯ‡.mul_right (f' := fun x => fderiv โ„ Q (R โ€ข x) ((R / 2) โ€ข x))).toSchwartzMap (ฯ‡.smooth'.mul (((contDiff_infty_iff_fderiv.mp hQ).2.comp (contDiff_id.const_smul R)).clm_apply (contDiff_id.const_smul (R / 2)))) @[simp] theorem cutoffVelocitySchwartz_apply (ฯ‡ : ๐“ข(E, โ„‚)) (hฯ‡ : HasCompactSupport (ฯ‡ : E โ†’ โ„‚)) (Q : E โ†’ โ„‚) (hQ : ContDiff โ„ โˆž Q) (R : โ„) (x : E) : cutoffVelocitySchwartz ฯ‡ hฯ‡ Q hQ R x = ฯ‡ x * fderiv โ„ Q (R โ€ข x) ((R / 2) โ€ข x) := rfl noncomputable def normalizedCutoffDefectSchwartz (a b R : โ„) (m : โ„•) (ฯ‡ : ๐“ข(E, โ„‚)) (hฯ‡ : HasCompactSupport (ฯ‡ : E โ†’ โ„‚)) (Q : E โ†’ โ„‚) (hQ : ContDiff โ„ โˆž Q) : ๐“ข(E, โ„‚) := let ฯˆ := compactDilationFamily ฯ‡ hฯ‡ Q hQ R Complex.I โ€ข cutoffVelocitySchwartz ฯ‡ hฯ‡ Q hQ R + (((R ^ (2 : โ„•))โปยน : โ„) : โ„‚) โ€ข ฮ” ฯˆ + (Complex.I * (a : โ„‚) + (b : โ„‚)) โ€ข ฯˆ - schwartzOddPower m ฯˆ theorem hasCompactSupport_complexCutoff (ฯ‡ : ๐“ข(E, โ„)) (hฯ‡ : HasCompactSupport (ฯ‡ : E โ†’ โ„)) : HasCompactSupport (ฯ‡.postcompCLM Complex.ofRealCLM : E โ†’ โ„‚) := hฯ‡.comp_left (g := fun r : โ„ => (r : โ„‚)) rfl theorem normalizedCutoffDefectSchwartz_apply (a b R : โ„) (hR : 0 < R) (m : โ„•) (ฯ‡ : ๐“ข(E, โ„)) (hฯ‡ : HasCompactSupport (ฯ‡ : E โ†’ โ„)) (Q : E โ†’ โ„‚) (hQ : ContDiff โ„ โˆž Q) (x : E) : normalizedCutoffDefectSchwartz a b R m (ฯ‡.postcompCLM Complex.ofRealCLM) (hasCompactSupport_complexCutoff ฯ‡ hฯ‡) Q hQ x = (ฯ‡ x : โ„‚) * stationarySimilarityDefect a b m Q (R โ€ข x) + cutoffResidual m R ฯ‡ Q (R โ€ข x) := by have hฯ† : (compactDilationFamily (ฯ‡.postcompCLM Complex.ofRealCLM) (hasCompactSupport_complexCutoff ฯ‡ hฯ‡) Q hQ R : E โ†’ โ„‚) = fun z => (ฯ‡ z : โ„‚) * Q (R โ€ข z) := rfl have h := cutoff_normalized_similarity_defect a b R hR m ฯ‡ ฯ‡.smooth' Q hQ x simpa only [normalizedCutoffDefectSchwartz, add_apply, sub_apply, smul_apply, smul_eq_mul, cutoffVelocitySchwartz_apply, compactDilationFamily_apply, SchwartzMap.postcompCLM_apply, Complex.ofRealCLM_apply, SchwartzMap.laplacian_apply, schwartzOddPower_apply, Complex.real_smul, hฯ†] using h theorem physicalSchwartzCoefficient_cutoffDefect (a b R : โ„) (m : โ„•) (ฯ‡ : ๐“ข(E, โ„‚)) (hฯ‡ : HasCompactSupport (ฯ‡ : E โ†’ โ„‚)) (Q : E โ†’ โ„‚) (hQ : ContDiff โ„ โˆž Q) (n : frequencyLattice) : physicalSchwartzCoefficient 1 n (normalizedCutoffDefectSchwartz a b R m ฯ‡ hฯ‡ Q hQ) = Complex.I * physicalSchwartzCoefficient 1 n (cutoffVelocitySchwartz ฯ‡ hฯ‡ Q hQ R) + (-(((R ^ (2 : โ„•))โปยน : โ„) : โ„‚) * ((โ€–nโ€– ^ 2 : โ„) : โ„‚) + Complex.I * (a : โ„‚) + (b : โ„‚)) * physicalSchwartzCoefficient 1 n (compactDilationFamily ฯ‡ hฯ‡ Q hQ R) - physicalSchwartzCoefficient 1 n (schwartzOddPower m (compactDilationFamily ฯ‡ hฯ‡ Q hQ R)) := by rw [normalizedCutoffDefectSchwartz, map_sub, map_add, map_add, map_smul, map_smul, map_smul, physicalSchwartzCoefficient_laplacian] simp only [smul_eq_mul] ring end DefocusingNLS end OAI