Download data/lean/OAI/Analysis/Fourier/SquareFunction/EuclideanKernel.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 5.36 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Analysis/Fourier/SquareFunction/EuclideanKernel.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Analysis/Fourier/SquareFunction/EuclideanKernel.lean
-
curl -L -o EuclideanKernel.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Analysis/Fourier/SquareFunction/EuclideanKernel.lean
5.36 kB
| import OAI.Analysis.Fourier.Radial.Kernel | |
| open OAI.Analysis.Fourier.Wave | |
| /-! Uniform-in-scale maximal domination for the polynomial kernel bounds used | |
| in the low- and high-frequency parts of the combining-dilates lemma. -/ | |
| namespace OAI.Analysis.Fourier.SquareFunction | |
| open _root_.MeasureTheory | |
| open scoped ENNReal | |
| noncomputable def polynomialKernelMass (n : β) (q : β) : ββ₯0β := | |
| β«β» z : Space n, ENNReal.ofReal ((βzβ + 1) ^ (-q)) | |
| theorem polynomialKernelMass_lt_top {n : β} {q : β} (hq : (n : β) < q) : | |
| polynomialKernelMass n q < β := by | |
| have hi : Integrable (fun z : Space n => (βzβ + 1) ^ (-q)) := by | |
| simpa only [Space, finrank_euclideanSpace, Fintype.card_fin, add_comm] using | |
| (integrable_one_add_norm (E := Space n) (r := q) (by simpa [Space] using hq)) | |
| have h := hi.hasFiniteIntegral | |
| change (β«β» z : Space n, β(βzβ + 1) ^ (-q)ββ) < β at h | |
| simpa only [polynomialKernelMass, Real.enorm_eq_ofReal | |
| (Real.rpow_nonneg (by positivity : 0 β€ β(_ : Space n)β + 1) (-q))] using h | |
| theorem polynomial_kernel_mass_scaling {n : β} {a : β} (ha : 0 < a) | |
| (q : β) (x : Space n) : | |
| (β«β» y : Space n, ENNReal.ofReal ((a * dist y x + 1) ^ (-q))) = | |
| ENNReal.ofReal ((a ^ n)β»ΒΉ) * polynomialKernelMass n q := by | |
| let F : Space n β ββ₯0β := fun z => ENNReal.ofReal ((βzβ + 1) ^ (-q)) | |
| have hF : Measurable F := | |
| ((continuous_norm.measurable.add_const 1).pow_const _).ennreal_ofReal | |
| calc | |
| _ = β«β» z : Space n, ENNReal.ofReal ((a * βzβ + 1) ^ (-q)) := by | |
| simpa only [dist_eq_norm] using | |
| lintegral_sub_right_eq_self (ΞΌ := volume) | |
| (fun z : Space n => ENNReal.ofReal ((a * βzβ + 1) ^ (-q))) x | |
| _ = β«β» z : Space n, F (a β’ z) := by | |
| simp only [F, norm_smul, Real.norm_eq_abs, abs_of_pos ha] | |
| _ = β«β» z : Space n, F z βMeasure.map (fun z : Space n => a β’ z) volume := | |
| (lintegral_map hF (measurable_const_smul a)).symm | |
| _ = _ := by | |
| rw [Measure.map_addHaar_smul volume ha.ne', lintegral_smul_measure] | |
| simp only [Space, finrank_euclideanSpace, Fintype.card_fin, | |
| abs_of_pos (inv_pos.mpr (pow_pos ha n)), smul_eq_mul] | |
| rfl | |
| /-- Normalizing the dilated kernel cancels its change of volume exactly. -/ | |
| theorem normalized_polynomial_kernel_le_maximal {n : β} {a q : β} | |
| (ha : 0 < a) (hq : 0 < q) {f : Space n β ββ₯0β} (hf : Measurable f) (x : Space n) : | |
| (β«β» y, f y * (ENNReal.ofReal (a ^ n) * ENNReal.ofReal ((a * dist y x + 1) ^ (-q)))) β€ | |
| polynomialKernelMass n q * ballMaximal volume f x := by | |
| have h := OAI.Analysis.Fourier.Radial.integral_scaled_polynomial_kernel_le_maximal volume hf | |
| (fun x r hr => euclidean_ball_finite_pos x hr) hq ha x | |
| rw [polynomial_kernel_mass_scaling ha q x] at h | |
| calc | |
| _ = ENNReal.ofReal (a ^ n) * | |
| β«β» y, f y * ENNReal.ofReal ((a * dist y x + 1) ^ (-q)) := by | |
| rw [β lintegral_const_mul' _ _ ENNReal.ofReal_ne_top] | |
| apply lintegral_congr | |
| intro y | |
| ac_rfl | |
| _ β€ ENNReal.ofReal (a ^ n) * | |
| (ballMaximal volume f x * (ENNReal.ofReal ((a ^ n)β»ΒΉ) * polynomialKernelMass n q)) := | |
| mul_le_mul_right h _ | |
| _ = _ := by | |
| have h0 : ENNReal.ofReal (a ^ n) β 0 := ENNReal.ofReal_ne_zero_iff.mpr (pow_pos ha n) | |
| rw [ENNReal.ofReal_inv_of_pos (pow_pos ha n)] | |
| calc | |
| _ = (ENNReal.ofReal (a ^ n) * (ENNReal.ofReal (a ^ n))β»ΒΉ) * | |
| (polynomialKernelMass n q * ballMaximal volume f x) := by ac_rfl | |
| _ = _ := by rw [ENNReal.mul_inv_cancel h0 ENNReal.ofReal_ne_top, one_mul] | |
| /-- A Hilbert-valued (indeed, Banach-valued) convolution kernel with the source's | |
| normalized polynomial majorant is controlled pointwise by the scalar maximal | |
| function. The estimate is uniform in the dilation parameter `a`. -/ | |
| theorem enorm_kernel_convolution_le_maximal {n : β} {H : Type*} | |
| [NormedAddCommGroup H] [NormedSpace β H] [CompleteSpace H] | |
| {a q C : β} (ha : 0 < a) (hq : 0 < q) | |
| {K : Space n β H} {f : Space n β β} (hf : Measurable f) | |
| (hK : β z, βK zββ β€ ENNReal.ofReal C * | |
| (ENNReal.ofReal (a ^ n) * ENNReal.ofReal ((a * βzβ + 1) ^ (-q)))) (x : Space n) : | |
| ββ« y, f y β’ K (x - y)ββ β€ | |
| ENNReal.ofReal C * (polynomialKernelMass n q * | |
| ballMaximal volume (fun y => βf yββ) x) := by | |
| calc | |
| _ β€ β«β» y, βf y β’ K (x - y)ββ := enorm_integral_le_lintegral_enorm _ | |
| _ = β«β» y, βf yββ * βK (x - y)ββ := by | |
| apply lintegral_congr | |
| intro y | |
| exact enorm_smul _ _ | |
| _ β€ β«β» y, ENNReal.ofReal C * (βf yββ * | |
| (ENNReal.ofReal (a ^ n) * ENNReal.ofReal ((a * dist y x + 1) ^ (-q)))) := by | |
| apply lintegral_mono | |
| intro y | |
| calc | |
| _ β€ βf yββ * (ENNReal.ofReal C * | |
| (ENNReal.ofReal (a ^ n) * ENNReal.ofReal ((a * βx - yβ + 1) ^ (-q)))) := | |
| mul_le_mul_right (hK (x - y)) _ | |
| _ = _ := by rw [norm_sub_rev x y, β dist_eq_norm]; ac_rfl | |
| _ = ENNReal.ofReal C * (β«β» y, βf yββ * | |
| (ENNReal.ofReal (a ^ n) * ENNReal.ofReal ((a * dist y x + 1) ^ (-q)))) := | |
| lintegral_const_mul' _ _ ENNReal.ofReal_ne_top | |
| _ β€ _ := mul_le_mul_right (normalized_polynomial_kernel_le_maximal ha hq hf.enorm x) _ | |
| end OAI.Analysis.Fourier.SquareFunction | |