Download data/lean/OAI/Analysis/Fourier/SquareFunction/Radius/Dyadic.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 4.84 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Analysis/Fourier/SquareFunction/Radius/Dyadic.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Analysis/Fourier/SquareFunction/Radius/Dyadic.lean
-
curl -L -o Dyadic.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Analysis/Fourier/SquareFunction/Radius/Dyadic.lean
4.84 kB
| import OAI.Analysis.Fourier.SquareFunction.Shell.L2 | |
| /-! Lebesgue-measure bookkeeping for the passage from radius blocks `[1,2]` | |
| to the full Stein square function with measure `dr/r`. -/ | |
| namespace OAI.Analysis.Fourier.SquareFunction | |
| open _root_.MeasureTheory Set | |
| open scoped ENNReal | |
| theorem setLIntegral_radius_dilate {a : β} (ha : 0 < a) | |
| (F : β β ββ₯0β) (hF : Measurable F) : | |
| (β«β» r in Icc a (2 * a), F r) = | |
| ENNReal.ofReal a * β«β» s in Icc (1 : β) 2, F (a * s) := by | |
| have hm (s : β) : a * s β Icc a (2 * a) β s β Icc (1 : β) 2 := by | |
| change (a β€ a * s β§ a * s β€ 2 * a) β (1 β€ s β§ s β€ 2) | |
| rw [mul_comm 2 a] | |
| constructor | |
| Β· intro h | |
| exact β¨(mul_le_mul_iff_rightβ ha).mp (by simpa using h.1), (mul_le_mul_iff_rightβ ha).mp h.2β© | |
| Β· intro h | |
| exact β¨by simpa using mul_le_mul_of_nonneg_left h.1 ha.le, | |
| mul_le_mul_of_nonneg_left h.2 ha.leβ© | |
| have he : (fun s => (Icc a (2 * a)).indicator F (a * s)) = | |
| (Icc (1 : β) 2).indicator (fun s => F (a * s)) := by | |
| funext s | |
| by_cases hs : s β Icc (1 : β) 2 <;> simp [indicator, hm, hs] | |
| have hd := lintegral_dilate_real ((Icc a (2 * a)).indicator F) | |
| (hF.indicator measurableSet_Icc) ha | |
| rw [he, lintegral_indicator measurableSet_Icc, lintegral_indicator measurableSet_Icc] at hd | |
| have hc : ENNReal.ofReal a * ENNReal.ofReal aβ»ΒΉ = 1 := by | |
| rw [β ENNReal.ofReal_mul ha.le, mul_inv_cancelβ ha.ne', ENNReal.ofReal_one] | |
| calc | |
| _ = ENNReal.ofReal a * (ENNReal.ofReal aβ»ΒΉ * β«β» r in Icc a (2 * a), F r) := by | |
| rw [β mul_assoc, hc, one_mul] | |
| _ = _ := congrArg (fun z => ENNReal.ofReal a * z) hd.symm | |
| theorem setLIntegral_radius_ratio_dilate {a : β} (ha : 0 < a) | |
| (F : β β ββ₯0β) (hF : Measurable F) : | |
| (β«β» r in Icc a (2 * a), F r / ENNReal.ofReal r) = | |
| β«β» s in Icc (1 : β) 2, F (a * s) / ENNReal.ofReal s := by | |
| have hm : Measurable (fun r => F r / ENNReal.ofReal r) := | |
| hF.div ENNReal.continuous_ofReal.measurable | |
| rw [setLIntegral_radius_dilate ha (fun r => F r / ENNReal.ofReal r) hm, | |
| β lintegral_const_mul' _ _ ENNReal.ofReal_ne_top] | |
| apply lintegral_congr | |
| intro s | |
| rw [ENNReal.ofReal_mul ha.le, div_eq_mul_inv, div_eq_mul_inv, ENNReal.mul_inv] | |
| calc | |
| _ = (ENNReal.ofReal a * (ENNReal.ofReal a)β»ΒΉ) * | |
| (F (a * s) * (ENNReal.ofReal s)β»ΒΉ) := by ring | |
| _ = _ := by rw [ENNReal.mul_inv_cancel (by positivity) ENNReal.ofReal_ne_top, one_mul] | |
| all_goals simp | |
| theorem radius_ratio_dyadic_bound (F : β β ββ₯0β) (hF : Measurable F) : | |
| (β«β» r in Ioi (0 : β), F r / ENNReal.ofReal r) β€ | |
| β' k : β€, β«β» s in Icc (1 : β) 2, F ((2 : β) ^ k * s) := by | |
| have hcover : Ioi (0 : β) β β k : β€, Icc ((2 : β) ^ k) (2 * (2 : β) ^ k) := by | |
| intro r hr | |
| obtain β¨k, hlo, hhiβ© := exists_mem_Ico_zpow hr (by norm_num : (1 : β) < 2) | |
| apply mem_iUnion.mpr | |
| refine β¨k, hlo, ?_β© | |
| simpa only [zpow_addβ (by norm_num : (2 : β) β 0), zpow_one, mul_comm] using hhi.le | |
| calc | |
| _ β€ β«β» r in β k : β€, Icc ((2 : β) ^ k) (2 * (2 : β) ^ k), | |
| F r / ENNReal.ofReal r := lintegral_mono_set hcover | |
| _ β€ β' k : β€, β«β» r in Icc ((2 : β) ^ k) (2 * (2 : β) ^ k), | |
| F r / ENNReal.ofReal r := lintegral_iUnion_le _ _ | |
| _ β€ _ := by | |
| apply ENNReal.tsum_le_tsum | |
| intro k | |
| rw [setLIntegral_radius_ratio_dilate (by positivity) F hF] | |
| apply setLIntegral_mono' measurableSet_Icc | |
| intro s hs | |
| have hden : 1 β€ ENNReal.ofReal s := by simpa using ENNReal.ofReal_le_ofReal hs.1 | |
| calc | |
| _ β€ F ((2 : β) ^ k * s) / 1 := ENNReal.div_le_div_left hden _ | |
| _ = _ := div_one _ | |
| theorem measurable_first_section {X Y Z : Type*} | |
| [MeasurableSpace X] [MeasurableSpace Y] [MeasurableSpace Z] | |
| {F : X Γ Y β Z} (hF : Measurable F) (y : Y) : | |
| Measurable (fun x => F (x, y)) := | |
| hF.comp (measurable_id.prodMk measurable_const) | |
| theorem radius_square_dyadic_bound (F : β β β) (hF : Measurable F) : | |
| (β«β» r in Ioi (0 : β), βF rββ ^ (2 : β) / ENNReal.ofReal r) ^ (1 / 2 : β) β€ | |
| (β' k : β€, eLpNorm (fun s => F ((2 : β) ^ k * s)) | |
| 2 (volume.restrict (Icc (1 : β) 2)) ^ (2 : β)) ^ (1 / 2 : β) := by | |
| have hb := radius_ratio_dyadic_bound (fun r => βF rββ ^ (2 : β)) | |
| (hF.enorm.pow_const (2 : β)) | |
| have he (k : β€) : | |
| eLpNorm (fun s => F ((2 : β) ^ k * s)) | |
| 2 (volume.restrict (Icc (1 : β) 2)) ^ (2 : β) = | |
| β«β» s in Icc (1 : β) 2, βF ((2 : β) ^ k * s)ββ ^ (2 : β) := | |
| eLpNorm_two_rpow_general _ (hF.comp (measurable_const.mul measurable_id)).aestronglyMeasurable | |
| simp_rw [he] | |
| exact ENNReal.rpow_le_rpow hb (by norm_num) | |
| end OAI.Analysis.Fourier.SquareFunction | |