lemmalogWindow_iteratedDeriv (v : ℝ→ℂ) (hv : ContDiffℝ∞ v)
(Lρ : ℝ) (n : ℕ) :
iteratedDeriv n (logWindow v L ρ) =
fun y => (L⁻¹)^n • iteratedDeriv n v ((y + ρ) / L) :=by
proof · 7
lines
haveh : (logWindow v L ρ) =
fun y => (fun z => v (L⁻¹ * z)) (y + ρ) :=by
funext y
simp only [logWindow, div_eq_mul_inv, mul_comm]
rw [h, iteratedDeriv_comp_add_const n (fun z => v (L⁻¹ * z)) ρ,
iteratedDeriv_comp_const_smul (hv.of_le (by simp))]
simp only [div_eq_mul_inv, mul_comm]
lemmaexpAffine_iteratedDeriv (a b : ℝ) (n : ℕ) :
iteratedDeriv n (funy : ℝ=> (Real.exp (a * y + b) : ℂ)) =
fun y => (a : ℂ)^n * (Real.exp (a * y + b) : ℂ) :=by
proof · 11
lines
induction n with
| zero => funext y; simp
| succ n ih =>
rw [iteratedDeriv_succ, ih]
funext y
have h := (((hasDerivAt_id y).const_mul a).add_const b).exp
have hc := (Complex.ofRealCLM.hasFDerivAt.comp_hasDerivAt y h).const_mul ((a : ℂ)^n)
simp only [Function.comp_def, id_eq, Complex.ofRealCLM_apply] at hc
rw [hc.deriv]
simp only [mul_one, Complex.ofReal_mul, pow_succ]
ring
lemmalogWindow_support (v : ℝ→ℂ) (MBLρ : ℝ)
(hL : 0 < L) (hρ : |ρ| ≤B * L)
(hv : Function.support v ⊆Set.Icc (-M) M) :
Function.support (logWindow v L ρ) ⊆Set.Icc (-(M+B)*L) ((M+B)*L) :=by
proof · 7
lines
intro y hy
have hy' := hv hy
change -M≤ (y+ρ)/L∧ (y+ρ)/L≤M at hy'
have hl := (le_div_iff₀ hL).mp hy'.1have hu := (div_le_iff₀ hL).mp hy'.2have hr := abs_le.mp hρ
constructor <;> nlinarith
lemmarootedWindow_compact (v : ℝ→ℂ) (MBL ρ a H : ℝ)
(hL : 0 < L) (hρ : |ρ| ≤B * L)
(hv : Function.support v ⊆Set.Icc (-M) M) :
HasCompactSupport (rootedWindow v L ρ a H) :=by
proof · 4
lines
apply HasCompactSupport.of_support_subset_isCompact isCompact_Icc
intro y hy
apply logWindow_support v MBL ρ hL hρ hv
exact (mul_ne_zero_iff.mp hy).2
@[simp]lemmarootSchwartz_apply (v : 𝓢(ℝ, ℂ)) (MBL ρ a Hy : ℝ)
(hL : 0 < L) (hρ : |ρ| ≤B * L)
(hv : Function.support v ⊆Set.Icc (-M) M) :
rootSchwartz v MBL ρ a H hL hρ hv y = rootedWindow v L ρ a H y := rfl
lemmarootSchwartz_derivativeSum (v : 𝓢(ℝ, ℂ)) (MBL ρ a H : ℝ)
(hM : 0≤M) (hB : 0≤B) (hL : 1≤L) (hρ : |ρ| ≤B*L)
(hv : Function.support v ⊆Set.Icc (-M) M) (hH : |a| *(M+B) ≤H)
(k n : ℕ) :
derivativeSeminormSum (rootSchwartz v MBL ρ a H (by linarith) hρ hv) k n ≤
((M+B)*L)^k * rootDerivativeBound v a n :=by
proof · 6
lines
unfold derivativeSeminormSum rootDerivativeBound
rw [Finset.mul_sum]
apply Finset.sum_le_sum
intro i hi
convert rootSchwartz_seminorm v MBL ρ a H hM hB hL hρ hv hH k i using1
ring
theoremrooted_twist_seminorm (v : 𝓢(ℝ, ℂ)) (MBL ρ a Hθ : ℝ)
(hM : 0≤M) (hB : 0≤B) (hL : 1≤L) (hρ : |ρ| ≤B*L)
(hv : Function.support v ⊆Set.Icc (-M) M) (hH : |a| *(M+B) ≤H)
(k n : ℕ) :
(SchwartzMap.seminorm ℝ k n)
(frequencyTwist (rootSchwartz v MBL ρ a H (by linarith) hρ hv) θ) ≤
(M+B)^k * twistedDerivativeBound v a n * L^k * (1+‖θ‖)^n :=by
proof · 10
lines
have hb := frequencyTwist_seminorm_polynomial
(rootSchwartz v MBL ρ a H (by linarith) hρ hv) θ k n
have hd := rootSchwartz_derivativeSum v MBL ρ a H hM hB hL hρ hv hH k n
calc
_ ≤ ((2:ℝ)^n * (1+2*Real.pi)^n *
derivativeSeminormSum (rootSchwartz v MBL ρ a H (by linarith) hρ hv) k n) *
(1+‖θ‖)^n := hb
_ ≤ ((2:ℝ)^n * (1+2*Real.pi)^n *
(((M+B)*L)^k * rootDerivativeBound v a n)) * (1+‖θ‖)^n :=by gcongr
_ = _ :=by unfold twistedDerivativeBound; rw [mul_pow]; ring
theoremrooted_twist_moment_sources (v : 𝓢(ℝ, ℂ)) (MBL ρ a Hθ : ℝ)
(hM : 0≤M) (hB : 0≤B) (hL : 1≤L) (hρ : |ρ| ≤B*L)
(hv : Function.support v ⊆Set.Icc (-M) M) (hH : |a| *(M+B) ≤H)
(Ji : ℕ) (hi : i ≤ momentOrder J) :
(SchwartzMap.seminorm ℝ0 i)
(frequencyTwist (rootSchwartz v MBL ρ a H (by linarith) hρ hv) θ) +
(SchwartzMap.seminorm ℝ (volume : Measureℝ).integrablePower i)
(frequencyTwist (rootSchwartz v MBL ρ a H (by linarith) hρ hv) θ) ≤
windowSourceBound v MB a J * L^(volume : Measureℝ).integrablePower *
(1+‖θ‖)^(momentOrder J) :=by
proof · 21
lines
let p := (volume : Measureℝ).integrablePower
have h0 := rooted_twist_seminorm v MBL ρ a H θ hM hB hL hρ hv hH 0 i
have hp := rooted_twist_seminorm v MBL ρ a H θ hM hB hL hρ hv hH p i
simp only [pow_zero, one_mul, mul_one] at h0
havehs : twistedDerivativeBound v a i ≤∑ j ∈Finset.range (momentOrder J+1), twistedDerivativeBound v a j :=by
apply Finset.single_le_sum (fun j _ => twistedDerivativeBound_nonneg v a j)
exact Finset.mem_range_succ_iff.mpr hi
havehl : 1≤L^p := one_le_pow₀ hL
haveht : (1+‖θ‖)^i ≤ (1+‖θ‖)^(momentOrder J) :=
pow_le_pow_right₀ (by linarith [norm_nonneg θ]) hi
have hc := twistedDerivativeBound_nonneg v a i
havehsum : 0≤∑ j ∈Finset.range (momentOrder J+1), twistedDerivativeBound v a j :=Finset.sum_nonneg (fun _ _ => twistedDerivativeBound_nonneg _ _ _)
calc
_ ≤ twistedDerivativeBound v a i * (1+‖θ‖)^i +
(M+B)^p * twistedDerivativeBound v a i * L^p * (1+‖θ‖)^i := add_le_add h0 hp
_ ≤ twistedDerivativeBound v a i * L^p * (1+‖θ‖)^i +
(M+B)^p * twistedDerivativeBound v a i * L^p * (1+‖θ‖)^i :=by gcongr; nlinarith
_ = (1+(M+B)^p) * twistedDerivativeBound v a i * L^p * (1+‖θ‖)^i :=by ring
_ ≤ _ :=by unfold windowSourceBound; gcongr
theoremrooted_twist_fourier_moment (v : 𝓢(ℝ, ℂ)) (MBL ρ a Hθ : ℝ)
(hM : 0≤M) (hB : 0≤B) (hL : 1≤L) (hρ : |ρ| ≤B*L)
(hv : Function.support v ⊆Set.Icc (-M) M) (hH : |a| *(M+B) ≤H) (J : ℕ) :
(∫t : ℝ, (1+‖t‖)^J *
‖(𝓕 (frequencyTwist (rootSchwartz v MBL ρ a H (by linarith) hρ hv) θ)) t‖) ≤
((2:ℝ)^J * (coefficientMomentBound 0 (windowSourceBound v MB a J) +
coefficientMomentBound J (windowSourceBound v MB a J))) *
L^(volume : Measureℝ).integrablePower * (1+‖θ‖)^(momentOrder J) :=by
proof · 12
lines
have hc := windowSourceBound_nonneg v MB a hM hB Jhave h := uniform_fourier_one_plus_moment
(frequencyTwist (rootSchwartz v MBL ρ a H (by linarith) hρ hv) θ) J1
(windowSourceBound v MB a J * L^(volume : Measureℝ).integrablePower *
(1+‖θ‖)^(momentOrder J)) (by norm_num) (by positivity)
(by
intro i hi
simpa using (rooted_twist_moment_sources v MBL ρ a H θ
hM hB hL hρ hv hH J i hi))
simp only [one_mul, coefficientMomentBound_mul] at h
convert h using1
ring
theoremclipping_ratio_of_column_witness (w : ℝ→ℂ) (ZNq a b : ℝ)
(hZ : 1 < Z) (hq : 1≤ q) (hb : 1≤ b)
(hw : Function.support w ⊆Set.Icc a b)
(hwitness : w (q / Z^N) ≠0) :
1≤Z^(max 0N-N) ∧Z^(max 0N-N) ≤ b :=by
theoremclipped_positive_support (w : ℝ→ℂ) (a b c : ℝ)
(ha : 0 < a) (hc : 1≤ c) (hcb : c ≤ b)
(hw : Function.support w ⊆Set.Icc a b) :
Function.support (fun y => w (c*y)) ⊆Set.Icc (a/b) b :=by
proof · 9
lines
intro y hy
have hs := hw hy
havehcp : 0 < c :=by linarith
havehbp : 0 < b := lt_of_lt_of_le hcp hcb
havehyp : 0 < y :=by nlinarith [hs.1]
constructor
· apply (div_le_iff₀ hbp).mpr
nlinarith [mul_le_mul_of_nonneg_right hcb hyp.le, hs.1]
· nlinarith [hs.2]
theoremfirstRootWindows_prod (V : Fin9→ℝ→ℂ) (y : Fin9→ℝ) :
(∏ i, firstRootWindows V i (y i)) =
(Real.exp (firstRootExponent y) : ℂ) * ∏ i, V i (y i) :=by
proof · 7
lines
simp_rw [firstRootWindows_exp]
rw [Finset.prod_mul_distrib, ←Complex.ofReal_prod, ←Real.exp_sum]
congr 2
simp only [firstRootSlope, firstRootExponent, Fin.sum_univ_succ,
Matrix.cons_val_zero, Matrix.cons_val_succ, Matrix.cons_val_fin_one]
norm_num
ring
theoremsecondRootWindows_prod (V : Fin6→ℝ→ℂ) (y : Fin6→ℝ) :
(∏ i, secondRootWindows V i (y i)) =
(Real.exp (secondRootExponent y) : ℂ) * ∏ i, V i (y i) :=by
proof · 7
lines
simp_rw [secondRootWindows_exp]
rw [Finset.prod_mul_distrib, ←Complex.ofReal_prod, ←Real.exp_sum]
congr 2
simp only [secondRootSlope, secondRootExponent, Fin.sum_univ_succ,
Matrix.cons_val_zero, Matrix.cons_val_succ, Matrix.cons_val_fin_one]
norm_num
ring
theoremfourier_phase_shift (f : ℝ→ℂ) (θ t : ℝ) :
(𝓕 (fun y => logPhase θ y * f y)) t = (𝓕 f) (t-θ) :=by
proof · 8
lines
simp only [Real.fourier_eq', logPhase, smul_eq_mul]
apply integral_congr_ae
filter_upwards with y
rw [← mul_assoc, ←Complex.exp_add]
congr 2
simp only [RCLike.inner_apply, conj_trivial]
push_cast
ring
theoremfourier_translate (f : ℝ→ℂ) (ρ t : ℝ) :
(𝓕 (fun y => f (y+ρ))) t = logPhase t ρ * (𝓕 f) t :=by
proof · 12
lines
have h := congrFun
(VectorFourier.fourierIntegral_comp_add_right Real.fourierChar
(volume : Measureℝ) (innerₗ ℝ) f ρ) t
change _ = Real.fourierChar (inner ℝ ρ t) • (𝓕 f) t at h
haveh' : (𝓕 (fun y => f (y+ρ))) t = Real.fourierChar (inner ℝ ρ t) • (𝓕 f) t :=by
simpa only [Real.fourier_eq, VectorFourier.fourierIntegral, Function.comp_def, innerₗ_apply_apply] using h
rw [h']
simp only [Circle.smul_def, Real.fourierChar_apply, smul_eq_mul, logPhase]
congr 2
simp only [RCLike.inner_apply, conj_trivial]
push_cast
ring
theoremrooted_family_fourier_joint_measurable (v : 𝓢(ℝ, ℂ)) (a H : ℝ) :
StronglyMeasurable (funp : (ℝ×ℝ×ℝ) ×ℝ=>
(𝓕 (fun y => logPhase p.1.2.2 y * rootedWindow v p.1.1 p.1.2.1 a H y)) p.2) :=by
proof · 12
lines
apply InverseKernelSourceUniform.fourier_joint_stronglyMeasurable
(funq : ℝ×ℝ×ℝ=>fun y => logPhase q.2.2 y * rootedWindow v q.1 q.2.1 a H y)
apply Measurable.stronglyMeasurable
change Measurable (funp : (ℝ×ℝ×ℝ) ×ℝ=>
logPhase p.1.2.2 p.2 * ((Real.exp (a*p.2-H*p.1.1) : ℂ) *
v ((p.2+p.1.2.1)/p.1.1)))
havehp : Measurable (funp : (ℝ×ℝ×ℝ) ×ℝ=> logPhase p.1.2.2 p.2) :=by
unfold logPhase
fun_prop
exact hp.mul ((showMeasurable (funp : (ℝ×ℝ×ℝ) ×ℝ=>
(Real.exp (a*p.2-H*p.1.1) : ℂ)) by fun_prop).mul
(v.continuous.measurable.comp (by fun_prop)))
theoremretained_clipped_column (w : ℝ→ℂ) (ZNq a b : ℝ)
(hZ : 1 < Z) (hq : 1≤ q) (ha : 0 < a) (hb : 1≤ b)
(hw : Function.support w ⊆Set.Icc a b)
(hwitness : w (q/Z^N) ≠0) :
let c :=Z^(max 0N-N)
proof · 15
lines
1≤ c ∧ c ≤ b ∧Function.support (fun x => w (c*x)) ⊆Set.Icc (a/b) b ∧∀θ t : ℝ,
(𝓕 (fun y => logPhase θ y * w (c*Real.exp y))) t =
logPhase (t-θ) (Real.log c) * (𝓕 (fun y => w (Real.exp y))) (t-θ) :=by
dsimp only
have hc := clipping_ratio_of_column_witness w ZN q a b hZ hq hb hw hwitness
refine ⟨hc.1, hc.2, clipped_positive_support w a b _ ha hc.1 hc.2 hw, ?_⟩
intro θ t
havehe : (fun y => logPhase θ y * w (Z^(max 0N-N)*Real.exp y)) =
(fun y => logPhase θ y * (fun s => w (Real.exp s)) (y+Real.log (Z^(max 0N-N)))) :=by
ext y
rw [clipped_log_source w _ y (by linarith)]
rw [he]
exact fourier_translated_twist (fun s => w (Real.exp s)) (Real.log (Z^(max 0N-N))) θ t
theoremtranslated_twist_moment_uniform (g : 𝓢(ℝ, ℂ)) (J : ℕ) :
∃C : ℝ, 0≤C∧∀ρ θ : ℝ,
Integrable (funt : ℝ=> (1+‖t‖)^J *
‖(𝓕 (fun y => logPhase θ y * g (y+ρ))) t‖) ∧
(∫t : ℝ, (1+‖t‖)^J * ‖(𝓕 (fun y => logPhase θ y * g (y+ρ))) t‖) ≤C*(1+‖θ‖)^(momentOrder J) :=by
proof · 12
lines
obtain ⟨C, hC, hb⟩ :=InverseMoment.frequencyTwist_fourier_moment J g
refine ⟨C, hC, ?_⟩
intro ρ θ
have he (t : ℝ) : ‖(𝓕 (fun y => logPhase θ y * g (y+ρ))) t‖ =
‖(𝓕 (frequencyTwist g θ)) t‖ :=by
rw [norm_fourier_translated_twist, congrFun (SchwartzMap.fourier_coe _) t]
havehf : (frequencyTwist g θ : ℝ→ℂ) = fun y => logPhase θ y * g y :=by
funext y
exact frequencyTwist_apply g θ y
rw [hf, fourier_phase_shift]
simp_rw [he]
exact ⟨AnalyticBridge.schwartz_fourier_one_plus_integrable _ _, hb θ⟩