File size: 4,353 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
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