Download data/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffFourierDefect.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 5.88 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffFourierDefect.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffFourierDefect.lean
-
curl -L -o CutoffFourierDefect.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/MathematicalPhysics/DefocusingNLS/Nonlinear/CutoffFourierDefect.lean
5.88 kB
| 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 | |