Download data/lean/OAI/Analysis/Fourier/SquareFunction/KernelDilation.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 3.97 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Analysis/Fourier/SquareFunction/KernelDilation.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Analysis/Fourier/SquareFunction/KernelDilation.lean
-
curl -L -o KernelDilation.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Analysis/Fourier/SquareFunction/KernelDilation.lean
3.97 kB
| import OAI.Analysis.Fourier.SquareFunction.CombiningConstants | |
| import OAI.Analysis.Fourier.BochnerRiesz.VectorDilation | |
| open OAI.Analysis.Fourier.Wave | |
| /-! Actual normalized kernel dilations and their differential estimates. -/ | |
| namespace OAI.Analysis.Fourier.SquareFunction | |
| open _root_.MeasureTheory Set | |
| open scoped ENNReal | |
| noncomputable def dilatedKernel {n : β} {H : Type*} | |
| [NormedAddCommGroup H] [NormedSpace β H] | |
| (K : Space n β H) (a : β) (x : Space n) : H := | |
| ((a ^ n : β) : β) β’ K (a β’ x) | |
| theorem differentiable_dilatedKernel {n : β} {H : Type*} | |
| [NormedAddCommGroup H] [NormedSpace β H] | |
| {K : Space n β H} (hK : Differentiable β K) (a : β) : | |
| Differentiable β (dilatedKernel K a) := | |
| (hK.comp (differentiable_id.const_smul a)).const_smul ((a ^ n : β) : β) | |
| theorem dilatedKernel_decay {n : β} {H : Type*} | |
| [NormedAddCommGroup H] [NormedSpace β H] | |
| {K : Space n β H} {a q C : β} (ha : 0 < a) | |
| (hK : β u, βK uβ β€ C * (βuβ + 1) ^ (-q)) (x : Space n) : | |
| βdilatedKernel K a xβ β€ C * a ^ n * (a * βxβ + 1) ^ (-q) := by | |
| unfold dilatedKernel | |
| rw [norm_smul, Complex.norm_real, Real.norm_eq_abs, abs_of_nonneg (pow_nonneg ha.le _)] | |
| have h := mul_le_mul_of_nonneg_left (hK (a β’ x)) (pow_nonneg ha.le n) | |
| simpa only [norm_smul, Real.norm_eq_abs, abs_of_pos ha, mul_left_comm, mul_assoc] using h | |
| theorem dilatedKernel_derivative_decay {n : β} {H : Type*} | |
| [NormedAddCommGroup H] [NormedSpace β H] | |
| {K : Space n β H} {a q C : β} (ha : 0 < a) | |
| (hKd : Differentiable β K) | |
| (hK : β u, βfderiv β K uβ β€ C * (βuβ + 1) ^ (-q)) (x : Space n) : | |
| βfderiv β (dilatedKernel K a) xβ β€ C * (a ^ n * a) * (a * βxβ + 1) ^ (-q) := by | |
| let A : Space n βL[β] Space n := a β’ ContinuousLinearMap.id β (Space n) | |
| have hA : βAβ β€ a := by | |
| apply ContinuousLinearMap.opNorm_le_bound _ ha.le | |
| intro u | |
| simp only [A, smul_apply, ContinuousLinearMap.id_apply, | |
| norm_smul, Real.norm_eq_abs, abs_of_pos ha, le_refl] | |
| have hd := ((hKd (a β’ x)).hasFDerivAt.comp x A.hasFDerivAt).const_smul ((a ^ n : β) : β) | |
| have hde : fderiv β (dilatedKernel K a) x = | |
| ((a ^ n : β) : β) β’ ((fderiv β K (a β’ x)).comp A) := hd.fderiv | |
| rw [hde, norm_smul, Complex.norm_real, Real.norm_eq_abs, abs_of_nonneg (pow_nonneg ha.le _)] | |
| calc | |
| _ β€ a ^ n * (βfderiv β K (a β’ x)β * βAβ) := | |
| mul_le_mul_of_nonneg_left (ContinuousLinearMap.opNorm_comp_le _ _) (pow_nonneg ha.le _) | |
| _ β€ a ^ n * (βfderiv β K (a β’ x)β * a) := by gcongr | |
| _ β€ a ^ n * ((C * (βa β’ xβ + 1) ^ (-q)) * a) := by gcongr; exact hK _ | |
| _ = _ := by rw [norm_smul, Real.norm_eq_abs, abs_of_pos ha]; ring | |
| theorem convolve_dilatedKernel {n : β} {H : Type*} | |
| [NormedAddCommGroup H] [NormedSpace β H] [CompleteSpace H] | |
| (K : Space n β H) (f : Space n β β) {a : β} (ha : 0 < a) (x : Space n) : | |
| convolveKernel (dilatedKernel K a) f x = | |
| convolveKernel K (fun y => f (aβ»ΒΉ β’ y)) (a β’ x) := by | |
| have hchange := Measure.integral_comp_smul_of_nonneg (volume : Measure (Space n)) | |
| (fun y => f (aβ»ΒΉ β’ y) β’ K (a β’ x - y)) a (hR := ha.le) | |
| simp only [Space, finrank_euclideanSpace_fin, inv_smul_smulβ ha.ne'] at hchange | |
| have hscale : ((a ^ n : β) : β) β’ | |
| (β« y, f y β’ K (a β’ x - a β’ y)) = | |
| β« y, f (aβ»ΒΉ β’ y) β’ K (a β’ x - y) := by | |
| rw [hchange] | |
| change (a ^ n : β) β’ ((a ^ n)β»ΒΉ β’ (β« y, f (aβ»ΒΉ β’ y) β’ K (a β’ x - y))) = _ | |
| rw [smul_smul, mul_inv_cancelβ (pow_ne_zero n ha.ne'), one_smul] | |
| calc | |
| _ = ((a ^ n : β) : β) β’ (β« y, f y β’ K (a β’ x - a β’ y)) := by | |
| rw [convolveKernel, β integral_smul] | |
| apply integral_congr_ae | |
| filter_upwards [] with y | |
| simp only [dilatedKernel, smul_sub] | |
| exact smul_comm _ _ _ | |
| _ = _ := hscale | |
| end OAI.Analysis.Fourier.SquareFunction | |