Download data/lean/OAI/MeasureTheory/Falconer/Shells/HighShellFourierError.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 4.35 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/MeasureTheory/Falconer/Shells/HighShellFourierError.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/MeasureTheory/Falconer/Shells/HighShellFourierError.lean
-
curl -L -o HighShellFourierError.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/MeasureTheory/Falconer/Shells/HighShellFourierError.lean
4.35 kB
| import OAI.MeasureTheory.Falconer.Shells.NormalizedHighShellError | |
| import OAI.MeasureTheory.Falconer.Fourier.WeightedDistanceFourier | |
| namespace OAI | |
| namespace PlanarFalconer | |
| open Set MeasureTheory Filter | |
| namespace PositiveDistanceData | |
| noncomputable def normalizedHighShellF (d : PositiveDistanceData) (n : β) (v r : β) : β := | |
| (d.levelMass^(-2:β€):β) β’ β« z, d.normalizedHighShellKernel n v r | |
| (sourceConeCircle (sourceParentAxis (d.Q.descendant d.X) (d.Q.descendant d.Y))) z βd.cellPair | |
| theorem normalizedHighShellF_error_of_pointwise (d : PositiveDistanceData) [IsFiniteMeasure d.Ο] | |
| (hQ : 0 < d.Q.side) (hs : d.StronglySeparated) (n : β) (v r Ξ΅ : β) | |
| (herr : β x β (d.Q.descendant d.X).carrier, β y β (d.Q.descendant d.Y).carrier, | |
| β(d.spatialWeight (x,y):β)*Complex.exp (Complex.I*((r*dist x y:β):β)) - | |
| d.normalizedHighShellKernel n v r | |
| (sourceConeCircle (sourceParentAxis (d.Q.descendant d.X) (d.Q.descendant d.Y))) (x,y)β β€ Ξ΅) : | |
| Integrable (d.normalizedHighShellKernel n v r | |
| (sourceConeCircle (sourceParentAxis (d.Q.descendant d.X) (d.Q.descendant d.Y)))) d.cellPair β§ | |
| βcharFun d.weightedDistance r - d.normalizedHighShellF n v rβ β€ | |
| d.levelMass^(-2:β€) * d.cellPair.real univ * Ξ΅ := by | |
| let Ο := sourceConeCircle (sourceParentAxis (d.Q.descendant d.X) (d.Q.descendant d.Y)) | |
| let K := d.normalizedHighShellKernel n v r Ο | |
| let f : Plane Γ Plane β β := fun z => | |
| (d.spatialWeight z:β)*Complex.exp (Complex.I*((r*dist z.1 z.2:β):β)) | |
| have hfm : Measurable f := by | |
| apply Measurable.mul (Complex.measurable_ofReal.comp d.measurable_spatialWeight) | |
| fun_prop | |
| have hfb : βα΅ z βd.cellPair, βf zβ β€ 1 := by | |
| filter_upwards [d.ae_cellPair_mem] with z hz | |
| have hwβ := d.spatialWeight_nonneg hQ z | |
| have hwβ := d.spatialWeight_le_one hQ hs hz.1 hz.2 | |
| simpa [f,norm_mul,Complex.norm_exp,Complex.mul_re,Complex.mul_im, | |
| Complex.norm_real,Real.norm_eq_abs,abs_of_nonneg hwβ] using hwβ | |
| have hfi : Integrable f d.cellPair := Integrable.of_bound hfm.aestronglyMeasurable 1 hfb | |
| have hkm : Measurable K := (d.normalizedHighShellKernel_measurable n v Ο | |
| (measurable_sourceConeCircle _)).comp (f := fun z : Plane Γ Plane => (r,z)) | |
| (measurable_const.prodMk measurable_id) | |
| have he : βα΅ z βd.cellPair, βf z-K zβ β€ Ξ΅ := by | |
| filter_upwards [d.ae_cellPair_mem] with z hz | |
| exact herr z.1 hz.1 z.2 hz.2 | |
| have hki : Integrable K d.cellPair := by | |
| refine Integrable.of_bound hkm.aestronglyMeasurable (Ξ΅+1) ?_ | |
| filter_upwards [he,hfb] with z hz hb | |
| calc | |
| βK zβ = β(K z-f z)+f zβ := by rw [sub_add_cancel] | |
| _ β€ βK z-f zβ+βf zβ := norm_add_le _ _ | |
| _ β€ Ξ΅+1 := add_le_add (by simpa only [norm_sub_rev] using hz) hb | |
| refine β¨hki,?_β© | |
| have hfour : charFun d.weightedDistance r = (d.levelMass^(-2:β€):β) β’ β« z, f z βd.cellPair := by | |
| rw [d.weightedDistance_fourier hQ] | |
| simp only [f,mul_comm Complex.I] | |
| rw [hfour,normalizedHighShellF,β smul_sub] | |
| change β(d.levelMass^(-2:β€):β) β’ ((β« z, f z βd.cellPair)-(β« z, K z βd.cellPair))β β€ _ | |
| rw [β integral_sub hfi hki,norm_smul,Real.norm_eq_abs, | |
| abs_of_nonneg (by positivity : 0 β€ d.levelMass^(-2:β€))] | |
| have hb := norm_integral_le_of_norm_le_const he | |
| have hh := mul_le_mul_of_nonneg_left hb (by positivity : 0 β€ d.levelMass^(-2:β€)) | |
| exact hh.trans_eq (by ring) | |
| theorem uniform_high_shell_fourier_error {sig T : β} (hsig : 0 < sig) : | |
| β n Nβ : β, β d : PositiveDistanceData, β [IsFiniteMeasure d.Ο], | |
| Nβ β€ d.N β d.sig = sig β 0 < d.Q.side β d.StronglySeparated β 0 < d.q β | |
| d.sig*d.N β€ (d.q:β) β d.a+100*d.q < d.t β d.t β€ d.N β | |
| β v r : β, (d.t:β)-d.sig*d.N β€ v β (2:β)^(v-1) β€ r β | |
| βcharFun d.weightedDistance r - d.normalizedHighShellF n v rβ β€ | |
| d.levelMass^(-2:β€) * d.cellPair.real univ * ((2:β)^d.N)^(-T) := by | |
| obtain β¨n,Nβ,hββ© := uniform_normalized_high_shell_error (T := T) hsig | |
| refine β¨n,Nβ,?_β© | |
| intro d inst hN hd hQ hs hq hqs hw ht v r hv hr | |
| exact (d.normalizedHighShellF_error_of_pointwise hQ hs n v r _ | |
| (hβ d hN hd hQ hs hq hqs hw ht v r hv hr)).2 | |
| end PositiveDistanceData | |
| end PlanarFalconer | |
| end OAI | |