math / data /lean /OAI /MeasureTheory /Falconer /Geometry /CellNormalization.lean
introvoyz045's picture
Migrated from GitHub
4a56cd6 verified
Raw History Blame Contribute Delete
6.27 kB
import OAI.MeasureTheory.Falconer.Radial.RadialZoomBounds
import OAI.MeasureTheory.Falconer.Geometry.FiniteScaleBall
import OAI.MeasureTheory.Falconer.Recursion.ProfileIncrementFrostman
namespace OAI
/-! # The actual cell normalization used by the middle radial interval -/
namespace Falconer.Regularization
open Set MeasureTheory
open scoped ENNReal
variable {d : β„•}
theorem cell_normalization_map (ρ : Measure (Space d)) (p : β„•) (c : Space d)
{b : ℝ} (hb : 0 < b) :
Measure.map (radialZoom (b*(2:ℝ)^p) (by positivity) c) ρ =
Measure.map (radialZoom b hb.ne' 0) (Measure.map (cellScaleMap p c) ρ) := by
rw [Measure.map_map (radialZoom b hb.ne' 0).measurable (cellScaleMap_continuous p c).measurable]
congr 1
ext x
simp only [Function.comp_apply,radialZoom_apply,cellScaleMap,sub_zero,smul_smul]
theorem cell_normalization_support (Q : DyadicCube d) (hQ : Q.side = 1)
(ρ : Measure (Space d)) (P : CellPath d) {b : ℝ} (hb : 0 < b) :
βˆ€α΅ z βˆ‚Measure.map (radialZoom (b*(2:ℝ)^P.length) (by positivity) (Q.descendant P).center)
(ProbabilityTheory.cond ρ (Q.descendant P).carrier), β€–zβ€– ≀ b*Real.sqrt d := by
rw [cell_normalization_map _ _ _ hb]
apply radialZoom_ae_bound _ hb 0
simpa only [sub_zero] using rescaled_conditional_support Q hQ ρ P
theorem cell_normalization_quarter_point (Q : DyadicCube d) (hQ : Q.side = 1)
(P : CellPath d) {b : ℝ} (hb : 0 < b) (hsmall : b*Real.sqrt d ≀ 1/4)
{z : Space d} (hz : z ∈ (Q.descendant P).carrier) :
β€–z-(Q.descendant P).centerβ€– ≀ 1/(4*(b*(2:ℝ)^P.length)) := by
have hh := rescaled_cell_norm_bound Q hQ P hz
rw [cellScaleMap,norm_smul,Real.norm_eq_abs,abs_of_pos (by positivity : 0 < (2:ℝ)^P.length)] at hh
have hm := (mul_le_mul_of_nonneg_left hh hb.le).trans hsmall
apply (le_div_iffβ‚€ (by positivity : 0 < 4*(b*(2:ℝ)^P.length))).mpr
nlinarith
theorem conditional_frostman_coefficient_ge_one (d N : β„•) {s E lam : ℝ}
(hs : 0 ≀ s) (hE : 0 ≀ E) (hlam : 0 ≀ lam) :
1 ≀ (((2*Nat.ceil (2+4*Real.sqrt d)+1)^d:β„•):ℝ)*(2:ℝ)^s*
((2:ℝ)^N)^(E+2*((d:ℝ)+1)*lam) := by
have hdim : (1:ℝ) ≀ (((2*Nat.ceil (2+4*Real.sqrt d)+1)^d:β„•):ℝ) := by
exact_mod_cast (one_le_powβ‚€ (by omega : 1 ≀ 2*Nat.ceil (2+4*Real.sqrt d)+1) :
1 ≀ (2*Nat.ceil (2+4*Real.sqrt d)+1)^d)
have htwo : 1 ≀ (2:ℝ)^s := Real.one_le_rpow (by norm_num) hs
have hR : 1 ≀ ((2:ℝ)^N)^(E+2*((d:ℝ)+1)*lam) :=
Real.one_le_rpow (one_le_powβ‚€ (by norm_num)) (by positivity)
exact one_le_mul_of_one_le_of_one_le (one_le_mul_of_one_le_of_one_le hdim htwo) hR
theorem sourceClass_normalized_conditional_frostman (Q : DyadicCube d) (hQ : Q.side = 1)
(ΞΌ : Measure (Space d)) [IsProbabilityMeasure ΞΌ] {N B : β„•} (hN : 0 < N) (hB : 0 < B)
{lam s E b : ℝ} (hs : 0 ≀ s) (hE : 0 ≀ E) (hlam : 0 ≀ lam)
(hb : 0 < b) (hb1 : b ≀ 1) (hwidth : (B:ℝ) ≀ lam*(N:ℝ))
(hlarge : (2:ℝ)^(N/B+2) ≀ ((2:ℝ)^N)^lam)
{pβ‚€ : CellPath d} (hpβ‚€ : pβ‚€ ∈ regularizationLeaves Q ΞΌ N)
{p t : β„•} (hpt : p ≀ t) (htN : t ≀ N) {P : CellPath d} (hP : P.length = p)
(hPpos : 0 < sourceClass Q ΞΌ N B pβ‚€ (Q.descendant P).carrier)
(hinc : βˆ€ n, p ≀ n β†’ n ≀ t β†’
s*(n-p:β„•)/N-E ≀ sourceProfile Q ΞΌ N B pβ‚€ n-sourceProfile Q ΞΌ N B pβ‚€ p) :
βˆ€ x : Space d, βˆ€ r : ℝ, 0 < r β†’ 1/(2:ℝ)^(t-p) ≀ r β†’
Measure.map (radialZoom (b*(2:ℝ)^p) (by positivity) (Q.descendant P).center)
(ProbabilityTheory.cond (sourceClass Q ΞΌ N B pβ‚€) (Q.descendant P).carrier)
(Metric.ball x r) ≀
ENNReal.ofReal (((((2*Nat.ceil (2+4*Real.sqrt d)+1)^d:β„•):ℝ)*(2:ℝ)^s*
((2:ℝ)^N)^(E+2*((d:ℝ)+1)*lam))*b^(-s)*r^s) := by
have hside : 0 < Q.side := by rw [hQ]; norm_num
have : IsProbabilityMeasure (ProbabilityTheory.cond (sourceClass Q ΞΌ N B pβ‚€)
(Q.descendant P).carrier) := sourceClass_conditional_probability Q hside ΞΌ N B hpβ‚€ P hPpos
intro x r hr hΞ΄
rw [cell_normalization_map _ _ _ hb]
apply radialZoom_frostman_bound _ hb hb1
(conditional_frostman_coefficient_ge_one d N hs hE hlam) hs (by simp) 0
(sourceClass_conditional_frostman_of_increment Q hQ ΞΌ hN hB hs hwidth hlarge
hpβ‚€ hpt htN hP hPpos hinc) x r hr hΞ΄
theorem sourceClass_scaled_dyadic_ball (Q : DyadicCube d) (hQ : Q.side = 1)
(ΞΌ : Measure (Space d)) [IsProbabilityMeasure ΞΌ] {N B : β„•} (hN : 0 < N) (hB : 0 < B)
{lam s E b K : ℝ} (hs : 0 ≀ s) (hE : 0 ≀ E) (hlam : 0 ≀ lam)
(hb : 0 < b) (hb1 : b ≀ 1) (hwidth : (B:ℝ) ≀ lam*(N:ℝ))
(hlarge : (2:ℝ)^(N/B+2) ≀ ((2:ℝ)^N)^lam)
{pβ‚€ : CellPath d} (hpβ‚€ : pβ‚€ ∈ regularizationLeaves Q ΞΌ N)
{p t M : β„•} (hpt : p ≀ t) (htN : t ≀ N) (hM : M ≀ t-p)
{P : CellPath d} (hP : P.length = p)
(hPpos : 0 < sourceClass Q ΞΌ N B pβ‚€ (Q.descendant P).carrier)
(hinc : βˆ€ n, p ≀ n β†’ n ≀ t β†’
s*(n-p:β„•)/N-E ≀ sourceProfile Q ΞΌ N B pβ‚€ n-sourceProfile Q ΞΌ N B pβ‚€ p)
(hcoef : (((((2*Nat.ceil (2+4*Real.sqrt d)+1)^d:β„•):ℝ)*(2:ℝ)^s*
((2:ℝ)^N)^(E+2*((d:ℝ)+1)*lam))*b^(-s)) ≀ K) :
βˆ€ x : Space d, βˆ€ j : β„•, j ≀ M β†’
ProbabilityTheory.cond (sourceClass Q ΞΌ N B pβ‚€) (Q.descendant P).carrier
(Metric.ball x ((1/(2:ℝ)^j)/(b*(2:ℝ)^p))) ≀
ENNReal.ofReal (K*(1/(2:ℝ)^j)^s) := by
intro x j hj
have ha : 0 < b*(2:ℝ)^p := by positivity
have hr : 1/(2:ℝ)^(t-p) ≀ 1/(2:ℝ)^j :=
one_div_le_one_div_of_le (by positivity) (pow_le_pow_rightβ‚€ (by norm_num) (hj.trans hM))
have hh := sourceClass_normalized_conditional_frostman Q hQ ΞΌ hN hB hs hE hlam hb hb1
hwidth hlarge hpβ‚€ hpt htN hP hPpos hinc
(radialZoom (b*(2:ℝ)^p) ha.ne' (Q.descendant P).center x)
(1/(2:ℝ)^j) (by positivity) hr
rw [radialZoom_ball_apply _ ha] at hh
have hc : (Q.descendant P).center+(b*(2:ℝ)^p)⁻¹ β€’
radialZoom (b*(2:ℝ)^p) ha.ne' (Q.descendant P).center x = x := by
simp only [radialZoom_apply,smul_smul,inv_mul_cancelβ‚€ ha.ne',one_smul]
abel
rw [hc] at hh
apply hh.trans
exact ENNReal.ofReal_le_ofReal (mul_le_mul_of_nonneg_right hcoef (by positivity))
end Falconer.Regularization
end OAI