Download data/lean/OAI/Analysis/Fourier/SquareFunction/Shell/L2.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 7.44 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Analysis/Fourier/SquareFunction/Shell/L2.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Analysis/Fourier/SquareFunction/Shell/L2.lean
-
curl -L -o L2.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Analysis/Fourier/SquareFunction/Shell/L2.lean
7.44 kB
| import OAI.Analysis.Fourier.SquareFunction.Shell.Mixed | |
| import OAI.Analysis.Fourier.Wave.Schwartz | |
| open OAI.Analysis.Fourier.Wave | |
| /-! Exact Plancherel energy for the thin-shell square function. -/ | |
| namespace OAI.Analysis.Fourier.SquareFunction | |
| open _root_.MeasureTheory FourierTransform | |
| open scoped ENNReal | |
| theorem eLpNorm_two_rpow_general {X H : Type*} [MeasurableSpace X] | |
| [NormedAddCommGroup H] (ΞΌ : Measure X) {g : X β H} | |
| (hg : AEStronglyMeasurable g ΞΌ) : | |
| eLpNorm g 2 ΞΌ ^ (2 : β) = β«β» x, βg xββ ^ (2 : β) βΞΌ := by | |
| rw [eLpNorm_eq_lintegral_rpow_enorm_toReal (by norm_num) (by norm_num) hg] | |
| change ((β«β» x, βg xββ ^ (2 : β) βΞΌ) ^ (1 / 2 : β)) ^ (2 : β) = _ | |
| rw [β ENNReal.rpow_mul] | |
| norm_num | |
| theorem lintegral_dilate_real (g : β β ββ₯0β) (hg : Measurable g) | |
| {Ξ΄ : β} (hΞ΄ : 0 < Ξ΄) : | |
| (β«β» t : β, g (Ξ΄ * t)) = ENNReal.ofReal Ξ΄β»ΒΉ * β«β» t : β, g t := by | |
| have hm : Measure.map (fun t : β => Ξ΄ * t) volume = ENNReal.ofReal Ξ΄β»ΒΉ β’ volume := by | |
| simpa [smul_eq_mul, abs_of_pos (inv_pos.mpr hΞ΄)] using | |
| Measure.map_addHaar_smul (volume : Measure β) hΞ΄.ne' | |
| have hd : Measurable (fun t : β => Ξ΄ * t) := measurable_const.mul measurable_id | |
| have hh := lintegral_map' (ΞΌ := (volume : Measure β)) hg.aemeasurable hd.aemeasurable | |
| rw [hm, lintegral_smul_measure] at hh | |
| exact hh.symm | |
| theorem lintegral_enorm_two_eq_ofReal_integral {X H : Type*} [MeasurableSpace X] | |
| [NormedAddCommGroup H] {ΞΌ : Measure X} {g : X β H} (hg : MemLp g 2 ΞΌ) : | |
| (β«β» x, βg xββ ^ (2 : β) βΞΌ) = ENNReal.ofReal (β« x, βg xβ ^ 2 βΞΌ) := by | |
| have hi := (memLp_two_iff_integrable_sq_norm hg.aestronglyMeasurable).1 hg | |
| rw [ofReal_integral_eq_lintegral_ofReal hi (Filter.Eventually.of_forall fun x => sq_nonneg βg xβ)] | |
| apply lintegral_congr | |
| intro x | |
| rw [ENNReal.rpow_two, ENNReal.ofReal_pow (norm_nonneg _) 2, ofReal_norm] | |
| theorem halfWaveIntegral_lintegral_two {n : β} (t : β) (f : SchwartzMap (Space n) β) : | |
| (β«β» x : Space n, βOAI.Analysis.Fourier.LocalSmoothing.halfWaveIntegral t f xββ ^ (2 : β)) = | |
| eLpNorm f 2 volume ^ (2 : β) := by | |
| rw [lintegral_enorm_two_eq_ofReal_integral (OAI.Analysis.Fourier.Wave.memLp_halfWaveIntegral_two t f), | |
| OAI.Analysis.Fourier.Wave.halfWaveIntegral_energy t f, eLpNorm_two_rpow_general volume f.continuous.aestronglyMeasurable] | |
| exact (lintegral_enorm_two_eq_ofReal_integral (ΞΌ := volume) (f.memLp 2)).symm | |
| theorem weighted_energy_of_slice_energy {X : Type*} [MeasurableSpace X] | |
| (ΞΌ : Measure X) [SFinite ΞΌ] (w : β β β) (hw : Measurable w) | |
| (F : X Γ β β β) (hF : Measurable F) (B : ββ₯0β) | |
| (hB : β t, (β«β» x, βF (x, t)ββ ^ (2 : β) βΞΌ) = B) : | |
| (β«β» x, (β«β» t : β, βw t * F (x, t)ββ ^ (2 : β)) βΞΌ) = | |
| (β«β» t : β, βw tββ ^ (2 : β)) * B := by | |
| have hm : Measurable (fun z : X Γ β => w z.2 * F z) := | |
| (hw.comp measurable_snd).mul hF | |
| rw [lintegral_lintegral_swap (hm.enorm.pow_const (2 : β)).aemeasurable] | |
| simp_rw [enorm_mul, ENNReal.mul_rpow_of_nonneg _ _ (by norm_num : (0 : β) β€ 2)] | |
| have hi (t : β) : (β«β» x, βw tββ ^ (2 : β) * βF (x, t)ββ ^ (2 : β) βΞΌ) = | |
| βw tββ ^ (2 : β) * B := by | |
| have ht : Measurable (fun x : X => F (x, t)) := hF.comp (measurable_id.prodMk measurable_const) | |
| exact (lintegral_const_mul _ (ht.enorm.pow_const (2 : β))).trans | |
| (congrArg (fun z => βw tββ ^ (2 : β) * z) (hB t)) | |
| simp_rw [hi] | |
| exact lintegral_mul_const _ (hw.enorm.pow_const (2 : β)) | |
| theorem weighted_halfWave_energy {n : β} (w : β β β) (hw : Measurable w) | |
| (f : SchwartzMap (Space n) β) : | |
| (β«β» x : Space n, β«β» t : β, βw t * OAI.Analysis.Fourier.LocalSmoothing.halfWaveIntegral t f xββ ^ (2 : β)) = | |
| (β«β» t : β, βw tββ ^ (2 : β)) * eLpNorm f 2 volume ^ (2 : β) := | |
| weighted_energy_of_slice_energy volume w hw (fun z => OAI.Analysis.Fourier.LocalSmoothing.halfWaveIntegral z.2 f z.1) | |
| (OAI.Analysis.Fourier.LocalSmoothing.continuous_halfWaveIntegral f).measurable _ (fun t => halfWaveIntegral_lintegral_two t f) | |
| theorem thinShellSquareNorm_energy {n : β} (Ο : SchwartzMap β β) | |
| {Ξ΄ : β} (hΞ΄ : 0 < Ξ΄) (f : SchwartzMap (Space n) β) : | |
| (β«β» x : Space n, βthinShellSquareNorm Ο Ξ΄ f xββ ^ (2 : β)) = | |
| ENNReal.ofReal Ξ΄ * eLpNorm Ο 2 volume ^ (2 : β) * eLpNorm f 2 volume ^ (2 : β) := by | |
| let w : β β β := fun t => (π Ο : SchwartzMap β β) (Ξ΄ * t) | |
| have hw : Measurable w := (π Ο : SchwartzMap β β).continuous.measurable.comp | |
| (measurable_const.mul measurable_id) | |
| have hm : Measurable (fun z : Space n Γ β => w z.2 * OAI.Analysis.Fourier.LocalSmoothing.halfWaveIntegral z.2 f z.1) := | |
| (hw.comp measurable_snd).mul (OAI.Analysis.Fourier.LocalSmoothing.continuous_halfWaveIntegral f).measurable | |
| simp_rw [thinShellSquareNorm_sq Ο hΞ΄ f] | |
| rw [lintegral_const_mul _ (hm.enorm.pow_const (2 : β)).lintegral_prod_right] | |
| rw [weighted_halfWave_energy w hw f] | |
| have hwt : (β«β» t : β, βw tββ ^ (2 : β)) = | |
| ENNReal.ofReal Ξ΄β»ΒΉ * eLpNorm Ο 2 volume ^ (2 : β) := by | |
| rw [show (fun t => βw tββ ^ (2 : β)) = | |
| (fun t => β(π Ο : SchwartzMap β β) (Ξ΄ * t)ββ ^ (2 : β)) from rfl] | |
| rw [lintegral_dilate_real _ ((π Ο : SchwartzMap β β).continuous.measurable.enorm.pow_const (2 : β)) hΞ΄, | |
| β eLpNorm_two_rpow_general volume (π Ο : SchwartzMap β β).continuous.aestronglyMeasurable, | |
| SchwartzMap.fourier_coe, eLpNorm_fourier_line Ο.integrable (Ο.memLp 2)] | |
| rw [hwt] | |
| have hc : ENNReal.ofReal Ξ΄ ^ (2 : β) * ENNReal.ofReal Ξ΄β»ΒΉ = ENNReal.ofReal Ξ΄ := by | |
| rw [ENNReal.rpow_two, pow_two, β ENNReal.ofReal_mul hΞ΄.le, | |
| β ENNReal.ofReal_mul (mul_nonneg hΞ΄.le hΞ΄.le), mul_inv_cancel_rightβ hΞ΄.ne'] | |
| calc | |
| _ = (ENNReal.ofReal Ξ΄ ^ (2 : β) * ENNReal.ofReal Ξ΄β»ΒΉ) * | |
| eLpNorm Ο 2 volume ^ (2 : β) * eLpNorm f 2 volume ^ (2 : β) := by ac_rfl | |
| _ = _ := by rw [hc] | |
| theorem eLpNorm_thinShellSquareNorm_two {n : β} (Ο : SchwartzMap β β) | |
| {Ξ΄ : β} (hΞ΄ : 0 < Ξ΄) (f : SchwartzMap (Space n) β) : | |
| eLpNorm (thinShellSquareNorm Ο Ξ΄ f) 2 volume = | |
| ENNReal.ofReal Ξ΄ ^ (1 / 2 : β) * eLpNorm Ο 2 volume * eLpNorm f 2 volume := by | |
| have h := congrArg (fun z : ββ₯0β => z ^ (1 / 2 : β)) (thinShellSquareNorm_energy Ο hΞ΄ f) | |
| rw [β eLpNorm_two_rpow_general volume (measurable_thinShellSquareNorm Ο hΞ΄ f).aestronglyMeasurable, | |
| β ENNReal.rpow_mul] at h | |
| have he : (2 : β) * (1 / 2) = 1 := by norm_num | |
| rw [he, ENNReal.rpow_one] at h | |
| refine h.trans ?_ | |
| simp only [ENNReal.mul_rpow_of_nonneg _ _ (by norm_num : (0 : β) β€ 1 / 2), | |
| β ENNReal.rpow_mul, he, ENNReal.rpow_one] | |
| theorem memLp_thinShellSquareNorm_two {n : β} (Ο : SchwartzMap β β) | |
| {Ξ΄ : β} (hΞ΄ : 0 < Ξ΄) (f : SchwartzMap (Space n) β) : | |
| MemLp (thinShellSquareNorm Ο Ξ΄ f) 2 volume := by | |
| change eLpNorm (thinShellSquareNorm Ο Ξ΄ f) 2 volume < β€ | |
| rw [eLpNorm_thinShellSquareNorm_two Ο hΞ΄ f] | |
| exact ENNReal.mul_lt_top (ENNReal.mul_lt_top | |
| (ENNReal.rpow_lt_top_of_nonneg (by norm_num) ENNReal.ofReal_ne_top) | |
| (Ο.memLp 2).eLpNorm_lt_top) (f.memLp 2).eLpNorm_lt_top | |
| end OAI.Analysis.Fourier.SquareFunction | |