File size: 4,795 Bytes
4a56cd6 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 | import OAI.MeasureTheory.Falconer.Shells.HighShellParentEnergy
import OAI.MeasureTheory.Falconer.Shells.HighShellProfileMass
import OAI.MeasureTheory.Falconer.Shells.HighShellMeasurable
import OAI.MeasureTheory.Falconer.Shells.HighShellErrorPower
import OAI.MeasureTheory.Falconer.Shells.ShellApproximationError
namespace OAI
namespace PlanarFalconer
open Set MeasureTheory Filter
namespace PositiveDistanceData
theorem uniform_high_shell_parent_bound {sig lam eps T : β}
(hsig : 0 < sig) (heps : 0 < eps) :
β n Nβ : β, β d : PositiveDistanceData, β (B : β) (Ξ΄ : β),
RegularizedProfileData d.Q d.Ο d.N B Ξ΄ d.lam d.mass β
Nβ β€ d.N β d.sig = sig β d.lam = lam β
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 β
d.X.length = d.a β d.Y.length = d.a β
β v : β, (d.t:β)-d.sig*d.N β€ v β v β€ d.t β
β Ξ¨ : β β β, Measurable Ξ¨ β (β x, 0 β€ Ξ¨ x) β
(β x, Ξ¨ x β 0 β x β Ioo (1/4:β) 4) β
β W : β, 0 β€ W β (β x, Ξ¨ x β€ W) β
(β x β Icc (1/2:β) 2, 1 β€ Ξ¨ x) β
β H : β, 0 β€ H β
(β j β Finset.range (n+1),
β b β inverseLeibnizTerms j (pairMaskIndices d.inverseDescriptorList), β ΞΎ,
(d.inversePhasedHF v Ξ¨ b.2 ΞΎ).toReal β€ H) β
(2:β)^(-(d.a:β)) *
(β« r in Icc ((2:β)^(v-1)) ((2:β)^(v+1)), βcharFun d.weightedDistance rβ^2) β€
((2:β)^d.N)^eps*H+((2:β)^d.N)^(-T) := by
obtain β¨n,Nβ,hββ© := uniform_high_shell_profile_error (lam := lam) (T := (T+3)/2) hsig
obtain β¨Nβ,hββ© := uniform_spatialLeibniz_sum_subpower 96 2004 (by norm_num) (by norm_num)
(show 0 < eps/4 by linarith) n
obtain β¨Nβ,hββ© := fixed_constant_absorbed (half_pos heps) 4
refine β¨n,max 1 (max Nβ (max Nβ Nβ)),?_β©
intro d B δ hd hN hsig' hlam hQ hsep hq hqs hw ht hX hY v hv hvt Ψ hΨ hpos hs W hW hΨW hone H hH0 hH
let := hd.probability
let := d.weightedDistance_isFinite hQ hsep
have hN1 : Nβ β€ d.N := (le_max_left _ _).trans ((le_max_right _ _).trans hN)
have hN2 : Nβ β€ d.N := (le_max_left _ _).trans ((le_max_right _ _).trans ((le_max_right _ _).trans hN))
have hN3 : Nβ β€ d.N := (le_max_right _ _).trans ((le_max_right _ _).trans ((le_max_right _ _).trans hN))
let R : β := (2:β)^d.N
let ΞΌ := volume.restrict (Icc ((2:β)^(v-1)) ((2:β)^(v+1)))
let e := R^(-((T+3)/2))
have herr : βα΅ r βΞΌ, βcharFun d.weightedDistance r-d.normalizedHighShellF n v rβ β€ e := by
filter_upwards [ae_restrict_mem measurableSet_Icc] with r hr
exact hβ d B Ξ΄ hd hN1 hsig' hlam hQ hsep hq hqs hw ht hX hY v r hv hr.1
have hi : Integrable (fun r => βcharFun d.weightedDistance rβ^2) ΞΌ :=
integrable_norm_square_bounded ΞΌ _ measurable_charFun measureReal_nonneg
(Eventually.of_forall (fun r => norm_charFun_le r))
have hsq := (shell_square_approximation ΞΌ _ _ (d.normalizedHighShellF_measurable hQ hsep n v)
hi (show 0 β€ e by dsimp [e]; positivity) herr).2
have hmain := d.normalizedHighShellF_parent_energy hQ hsep (by rw [hsig']; exact hsig.le)
hq hqs hw hv n Ψ hΨ hpos hs hW hΨW hone hH0 hH
let S := β j β Finset.range (n+1), spatialLeibnizCost 96 2004 (by norm_num) (by norm_num) j
(fun k => d.mass k-(k:β)/(d.N:β)) d.N d.q d.a d.t
have hS : S β€ R^(eps/4) := hβ d.N hN2 _ d.q d.a d.t hq
have hS0 : 0 β€ S := by
apply Finset.sum_nonneg
intro j hj
apply mul_nonneg (spatialFourierCost_nonneg ..)
apply mul_nonneg _ (by positivity)
apply List.sum_nonneg
intro x hx
obtain β¨b,hb,rflβ© := List.mem_map.mp hx
positivity
have hcost : 4*S^2 β€ R^eps := by
calc
_ β€ R^(eps/2)*(R^(eps/4))^2 :=
mul_le_mul (hβ d.N hN3) (pow_le_pow_leftβ hS0 hS 2) (sq_nonneg _) (by positivity)
_ = _ := by
rw [β Real.rpow_mul_natCast (show 0 β€ R by dsimp [R]; positivity),
β Real.rpow_add (show 0 < R by dsimp [R]; positivity)]
congr 1
ring
have herror := high_shell_error_power d.N d.a ((le_max_left _ _).trans hN)
(hvt.trans (Nat.cast_le.mpr ht)) T
calc
_ β€ (2:β)^(-(d.a:β)) * (2*(β« r, βd.normalizedHighShellF n v rβ^2 βΞΌ)+2*e^2*ΞΌ.real univ) :=
mul_le_mul_of_nonneg_left hsq (by positivity)
_ = 2*((2:β)^(-(d.a:β))*(β« r, βd.normalizedHighShellF n v rβ^2 βΞΌ))+
(2:β)^(-(d.a:β))*(2*e^2*ΞΌ.real univ) := by ring
_ β€ 2*(2*S^2*H)+R^(-T) :=
add_le_add (mul_le_mul_of_nonneg_left hmain (by norm_num)) herror
_ β€ R^eps*H+R^(-T) := by nlinarith [mul_le_mul_of_nonneg_right hcost hH0]
end PositiveDistanceData
end PlanarFalconer
end OAI
|