File size: 3,846 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
import OAI.Analysis.Fourier.LocalSmoothing.Sharpness.Profile

noncomputable section
namespace OAI.Analysis.Fourier.LocalSmoothing.Sharpness

open Set Filter _root_.MeasureTheory
open scoped Topology ContDiff

def phase (v : ℝ) : β„‚ := Complex.exp (Complex.I * (v : β„‚))

@[simp] theorem norm_phase (v : ℝ) : β€–phase vβ€– = 1 :=
  Complex.norm_exp_I_mul_ofReal v

theorem phase_mul (u v : ℝ) : phase u * phase v = phase (u+v) := by
  unfold phase
  rw [← Complex.exp_add]
  congr 1
  push_cast
  ring

theorem integrable_phase_weight {g : ℝ β†’ ℝ} (hg : Continuous g)
    (hc : HasCompactSupport g) (t : ℝ) {K : ℝ β†’ β„‚} (hK : Continuous K) :
    Integrable (fun Οƒ => phase (-t*Οƒ) * (g Οƒ : β„‚) * K Οƒ) := by
  have hp : Continuous (fun Οƒ : ℝ => phase (-t*Οƒ)) := by unfold phase; fun_prop
  have hcg : Continuous (fun Οƒ => (g Οƒ : β„‚)) := Complex.continuous_ofReal.comp hg
  have hsc0 : HasCompactSupport (fun Οƒ => (g Οƒ : β„‚)) := by
    apply hc.mono'
    intro σ hσ
    apply subset_tsupport g
    intro hz
    apply hσ
    simp only [hz,Complex.ofReal_zero]
  have hsc1 : HasCompactSupport (fun Οƒ => phase (-t*Οƒ) * (g Οƒ : β„‚)) := hsc0.mul_left
  have hsc : HasCompactSupport (fun Οƒ => phase (-t*Οƒ) * (g Οƒ : β„‚) * K Οƒ) := hsc1.mul_right
  exact ((hp.mul hcg).mul hK).integrable_of_hasCompactSupport hsc

theorem integral_two_phases {g : ℝ β†’ ℝ} (hg : Continuous g)
    (hc : HasCompactSupport g) (c : β„‚) (r t : ℝ) :
    (∫ Οƒ : ℝ, phase (-t*Οƒ) * (g Οƒ : β„‚) *
      (c * phase (r*Οƒ) + star c * phase (-r*Οƒ))) =
      c * radialProfile g (r-t) + star c * radialProfile g (-(r+t)) := by
  have hi (v : ℝ) : Integrable (fun Οƒ : ℝ => phase (v*Οƒ) * (g Οƒ : β„‚)) := by
    simpa only [neg_neg,mul_one] using
      integrable_phase_weight hg hc (-v) (K := fun _ => (1:β„‚)) continuous_const
  have he (Οƒ : ℝ) :
      phase (-t*Οƒ) * (g Οƒ : β„‚) * (c*phase (r*Οƒ)+star c*phase (-r*Οƒ)) =
      c*(phase ((r-t)*Οƒ)*(g Οƒ:β„‚)) + star c*(phase ((-(r+t))*Οƒ)*(g Οƒ:β„‚)) := by
    calc
      _ = c*(phase (-t*Οƒ)*phase (r*Οƒ))*(g Οƒ:β„‚) +
          star c*(phase (-t*Οƒ)*phase (-r*Οƒ))*(g Οƒ:β„‚) := by ring
      _ = _ := by
        rw [phase_mul,phase_mul]
        rw [show -t*Οƒ+r*Οƒ=(r-t)*Οƒ by ring,
          show -t*Οƒ + -r*Οƒ=(-(r+t))*Οƒ by ring]
        ring
  simp_rw [he]
  rw [integral_add ((hi _).const_mul c) ((hi _).const_mul (star c)),
    integral_const_mul,integral_const_mul]
  rfl

/-- Integrating a pointwise two-phase expansion against a compact radial
amplitude preserves its explicit error. -/
theorem integral_two_phase_error {g : ℝ β†’ ℝ} (hg : Continuous g)
    (hc : HasCompactSupport g) {K : ℝ β†’ β„‚} (hK : Continuous K)
    (c : β„‚) (r t E : ℝ) (_ : 0 ≀ E)
    (herr : βˆ€ Οƒ ∈ tsupport g,
      β€–K Οƒ - (c*phase (r*Οƒ)+star c*phase (-r*Οƒ))β€– ≀ E) :
    β€–(∫ Οƒ : ℝ, phase (-t*Οƒ)*(g Οƒ:β„‚)*K Οƒ) -
      (c*radialProfile g (r-t)+star c*radialProfile g (-(r+t)))β€– ≀
        E * ∫ Οƒ, β€–g Οƒβ€– := by
  let Q : ℝ β†’ β„‚ := fun Οƒ => c*phase (r*Οƒ)+star c*phase (-r*Οƒ)
  have hQ : Continuous Q := by unfold Q phase; fun_prop
  rw [← integral_two_phases hg hc c r t,
    ← integral_sub (integrable_phase_weight hg hc t hK)
      (integrable_phase_weight hg hc t hQ), ← integral_const_mul]
  apply norm_integral_le_of_norm_le ((hg.integrable_of_hasCompactSupport hc).norm.const_mul E)
  filter_upwards [] with Οƒ
  change β€–phase (-t*Οƒ)*(g Οƒ:β„‚)*K Οƒ - phase (-t*Οƒ)*(g Οƒ:β„‚)*Q Οƒβ€– ≀ E*β€–g Οƒβ€–
  rw [← mul_sub,norm_mul,norm_mul,norm_phase,one_mul,Complex.norm_real]
  by_cases hs : Οƒ ∈ tsupport g
  Β· exact (mul_le_mul_of_nonneg_left (herr Οƒ hs) (norm_nonneg _)).trans_eq (mul_comm _ _)
  Β· rw [image_eq_zero_of_notMem_tsupport hs]
    simp

end OAI.Analysis.Fourier.LocalSmoothing.Sharpness