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

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

open Set Metric Filter _root_.MeasureTheory
open scoped Topology ContDiff

def radialBump : ContDiffBump (3/2 : ℝ) where
  rIn := 1/8
  rOut := 1/4
  rIn_pos := by norm_num
  rIn_lt_rOut := by norm_num

theorem radialBump_support : tsupport (radialBump : ℝ → ℝ) ⊆ Icc 1 2 := by
  apply closure_minimal ?_ isClosed_Icc
  intro x hx
  by_contra hn
  have hd : (1/4:ℝ) ≤ dist x (3/2) := by
    rw [Real.dist_eq]
    have hn' : x < 1 ∨ 2 < x := by simpa only [mem_Icc,not_and_or,not_le] using hn
    rcases hn' with h | h
    · have := neg_le_abs (x-3/2)
      linarith
    · have := le_abs_self (x-3/2)
      linarith
  exact hx (radialBump.zero_of_le_dist hd)

theorem radialBump_zero_notMem : (0:ℝ) ∉ tsupport (radialBump : ℝ → ℝ) := by
  intro h
  have := (radialBump_support h).1
  norm_num at this

def weightedRadialBump (m : ℝ) (x : ℝ) : ℝ := x^m * radialBump x

theorem weightedRadialBump_support (m : ℝ) :
    tsupport (weightedRadialBump m) ⊆ Icc 1 2 :=
  tsupport_mul_subset_right.trans radialBump_support

theorem weightedRadialBump_contDiff (m : ℝ) : ContDiff ℝ ∞ (weightedRadialBump m) := by
  rw [contDiff_iff_contDiffAt]
  intro x
  by_cases hx : x = 0
  · subst x
    apply (contDiffAt_const (c := (0:ℝ))).congr_of_eventuallyEq
    filter_upwards [notMem_tsupport_iff_eventuallyEq.mp radialBump_zero_notMem] with y hy
    simp only [weightedRadialBump,hy,Pi.zero_apply,mul_zero]
  · exact (contDiffAt_id.rpow_const_of_ne hx).mul radialBump.contDiff.contDiffAt

theorem weightedRadialBump_hasCompactSupport (m : ℝ) :
    HasCompactSupport (weightedRadialBump m) := radialBump.hasCompactSupport.mul_left

theorem weightedRadialBump_integrable (m : ℝ) : Integrable (weightedRadialBump m) :=
  (weightedRadialBump_contDiff m).continuous.integrable_of_hasCompactSupport
    (weightedRadialBump_hasCompactSupport m)

theorem weightedRadialBump_integral_pos (m : ℝ) : 0 < ∫ x, weightedRadialBump m x := by
  apply (weightedRadialBump_contDiff m).continuous.integral_pos_of_hasCompactSupport_nonneg_nonzero
    (x := (3/2:ℝ)) (weightedRadialBump_hasCompactSupport m)
  · intro x
    by_cases hx : 0 ≤ x
    · exact mul_nonneg (Real.rpow_nonneg hx _) radialBump.nonneg
    · have hb : radialBump x = 0 := image_eq_zero_of_notMem_tsupport (by
        intro hh
        have := (radialBump_support hh).1
        linarith)
      change 0 ≤ x ^ m * radialBump x
      simp only [hb,mul_zero,le_refl]
  · have hb : radialBump (3/2) = 1 := radialBump.one_of_mem_closedBall (by
      simp only [mem_closedBall,dist_self,radialBump]
      norm_num)
    simp only [weightedRadialBump,hb,mul_one]
    positivity

theorem weightedRadialBump_profile (m : ℝ) :
    ∃ η c : ℝ, 0 < η ∧ 0 < c ∧
      (∀ v, |v| ≤ η → c ≤ ‖radialProfile (weightedRadialBump m) v‖) ∧
      Tendsto (fun s => radialProfile (weightedRadialBump m) (-s)) atTop (𝓝 0) := by
  obtain ⟨η,c,hη,hc,hnear⟩ := radialProfile_lower_near_zero
    (weightedRadialBump_integrable m) (weightedRadialBump_integral_pos m)
  exact ⟨η,c,hη,hc,hnear,radialProfile_negative_tendsto _⟩

end OAI.Analysis.Fourier.LocalSmoothing.Sharpness