lemmasinh_le_mul_exp (x : ℝ) :
Real.sinh x ≤ x * Real.exp x :=by
proof · 4
lines
have h := mul_le_mul_of_nonneg_left (Real.add_one_le_exp (-2*x)) (Real.exp_pos x).le
rw [←Real.exp_add, show x+(-2*x) = -x by ring] at h
rw [Real.sinh_eq]
nlinarith
simp only [zG,Complex.norm_real,Real.norm_eq_abs,abs_div,Real.abs_sinh,abs_mul,abs_of_pos hz]
apply (div_le_iff₀ hz).mpr
have h := sinh_le_mul_exp (|m| * z)
nlinarith
lemmaControlledDensity.add {c : ℝ} {d : ℕ} {f g : ℝ→ℂ}
(hf : ControlledDensity c d f) (hg : ControlledDensity c d g) : ControlledDensity c d (f+g) :=by
proof · 6
lines
rcases hf with ⟨hf,A,hA,hfA⟩
rcases hg with ⟨hg,B,hB,hgB⟩
refine ⟨hf.add hg,A+B,add_nonneg hA hB,?_⟩
intro z hz
have h := (norm_add_le (f z) (g z)).trans (add_le_add (hfA z hz) (hgB z hz))
simpa only [Pi.add_apply,add_mul] using h
lemmaControlledDensity.smul {c : ℝ} {d : ℕ} {f : ℝ→ℂ}
(hf : ControlledDensity c d f) (a : ℂ) : ControlledDensity c d (a • f) :=by
proof · 5
lines
rcases hf with ⟨hf,A,hA,hfA⟩
refine ⟨hf.const_smul a,‖a‖*A,mul_nonneg (norm_nonneg a) hA,?_⟩
intro z hz
simpa only [Pi.smul_apply,norm_smul,mul_assoc] using
mul_le_mul_of_nonneg_left (hfA z hz) (norm_nonneg a)
lemmazDensity_controlled {m : ℝ} {N : ℕ} {f : ℝ→ℂ} (hf : f ∈ zDensity m N) :
ControlledDensity |m| (2*N) f :=by
proof · 9
lines
induction hf usingSubmodule.span_induction with
| mem f hf =>
rcases hf with ((⟨j,rfl⟩ | ⟨j,rfl⟩) | rfl)
· exact zMonomial_controlled m (byhave:= j.isLt; omega)
· exact zCoshJet_controlled m (byhave:= j.isLt; omega)
· exact zG_controlled m (2*N)
| zero => exact ControlledDensity.zero _ _
| add f g hf hg hfi hgi => exact hfi.add hgi
| smul a f hf hfi => exact hfi.smul a
lemmaweightedJet_hasDerivAt (f : ℝ→ℂ) (j : ℕ) (u z : ℝ) :
HasDerivAt (fun t => weightedJet f j t z) (weightedJet f (j+1) u z) u :=by
proof · 9
lines
have hr := ((hypJet_hasDerivAt (j+1) (u*z)).comp u
((hasDerivAt_id u).mul_const z)).const_mul (z^j)
have hd := (hr.ofReal_comp.const_mul (f z)).mul_const (z:ℂ)
have he := hd.div_const (Real.sinh (Real.pi*z/2):ℂ)
convert he using1 <;> try rfl
dsimp [weightedJet]
push_cast
rw [pow_succ]
ring
lemmajetBound_integrable (A : ℝ) {a : ℝ} (ha : 0≤ a) (ha' : a < Real.pi/2) (d j : ℕ) :
IntegrableOn (jetBound A a d j) (Set.Ioi0) :=by
proof · 7
lines
have hi := ((polynomial_kernel_integrable j ha ha').add
(polynomial_kernel_integrable (d+j) ha ha')).const_mul A
change Integrable _ _
convert hi using1
ext z
dsimp [jetBound]
ring
lemmaweightedJet_norm_le {f : ℝ→ℂ} {c Aa z u : ℝ} {d : ℕ}
(hA : 0≤A) (hz : 0 < z)
(hf : ‖f z‖ ≤A*(1+z^d)*Real.exp (c*z)) (ha : c+|u| ≤ a) (j : ℕ) :
‖weightedJet f j u z‖ ≤ jetBound A a d j z :=by
proof · 16
lines
have hz0 := hz.le
havehden : 0≤Real.sinh (Real.pi*z/2) :=Real.sinh_nonneg_iff.mpr (by positivity)
have hh := hypJet_abs_le (j+1) (u*z)
rw [abs_mul,abs_of_pos hz] at hh
simp only [weightedJet, norm_div, norm_mul,Complex.norm_real,Real.norm_eq_abs,
abs_pow,abs_of_pos hz,abs_of_nonneg hden]
calc
‖f z‖ * (z^j * |hypJet (j+1) (u*z)|) * z / Real.sinh (Real.pi*z/2)
≤ (A*(1+z^d)*Real.exp (c*z)) * (z^j*Real.exp (|u| * z)) * z / Real.sinh (Real.pi*z/2) :=by
gcongr
_ = A*(z^(j+1)+z^(d+j+1))*Real.exp ((c+|u|)*z)/Real.sinh (Real.pi*z/2) :=by
simp only [add_mul,Real.exp_add,pow_add,pow_one]
ring
_ ≤ jetBound A a d j z :=by
dsimp [jetBound]
gcongr
lemmaweightedJet_integrable {f : ℝ→ℂ} {c : ℝ} {d : ℕ}
(hf : ControlledDensity c d f) (hc : 0≤ c) {u : ℝ} (hu : c+|u| < Real.pi/2) (j : ℕ) :
IntegrableOn (weightedJet f j u) (Set.Ioi0) :=by
proof · 5
lines
obtain ⟨A,hA,hfA⟩ := hf.2
apply (jetBound_integrable A (add_nonneg hc (abs_nonneg u)) hu d j).mono'
· exact (weightedJet_measurable hf.1 j u).aestronglyMeasurable
· filter_upwards [ae_restrict_mem measurableSet_Ioi] with z hz
exact weightedJet_norm_le hA hz (hfA z hz) le_rfl j
lemmaweightedIntegral_hasDerivAt {f : ℝ→ℂ} {c : ℝ} {d : ℕ}
(hf : ControlledDensity c d f) (hc : 0≤ c) {u : ℝ} (hu : c+|u| < Real.pi/2) (j : ℕ) :
HasDerivAt (weightedIntegral f j) (weightedIntegral f (j+1) u) u :=by
proof · 16
lines
obtain ⟨A,hA,hfA⟩ := hf.2let a := (Real.pi/2+(c+|u|))/2haveha : c+|u| < a :=by dsimp [a]; linarith
haveha0 : 0≤ a := (add_nonneg hc (abs_nonneg u)).trans ha.le
haveha' : a < Real.pi/2:=by dsimp [a]; linarith
let s := {t : ℝ | c+|t| < a}
havehs : s ∈ 𝓝 u := (isOpen_lt (continuous_const.add continuous_abs) continuous_const).mem_nhds ha
exact (hasDerivAt_integral_of_dominated_loc_of_deriv_le hs
(Filter.Eventually.of_forall (fun t => (weightedJet_measurable hf.1 j t).aestronglyMeasurable))
(weightedJet_integrable hf hc hu j) (weightedJet_measurable hf.1 (j+1) u).aestronglyMeasurable
(by
filter_upwards [ae_restrict_mem measurableSet_Ioi] with z hz
intro t ht
exact weightedJet_norm_le hA hz (hfA z hz) (le_of_lt ht) (j+1))
(jetBound_integrable A ha0 ha' d (j+1))
(ae_of_all _ (fun z t _ => weightedJet_hasDerivAt f j t z))).2
lemmaweightedIntegral_iteratedDeriv {f : ℝ→ℂ} {c : ℝ} {d : ℕ}
(hf : ControlledDensity c d f) (hc : 0≤ c) {u : ℝ} (hu : c+|u| < Real.pi/2) (j : ℕ) :
iteratedDeriv j (zTransform f) u = weightedIntegral f j u :=by
proof · 9
lines
induction j generalizing u with
| zero => exact (weightedIntegral_zero f u).symm
| succ j ih =>havehn : ∀ᶠ t in 𝓝 u, c+|t| < Real.pi/2:=
(isOpen_lt (continuous_const.add continuous_abs) continuous_const).mem_nhds hu
havehe : iteratedDeriv j (zTransform f) =ᶠ[𝓝 u] weightedIntegral f j :=
hn.mono (fun t ht => ih ht)
rw [iteratedDeriv_succ,he.deriv_eq]
exact (weightedIntegral_hasDerivAt hf hc hu j).deriv
lemmaControlledDensity.mul_zD {f : ℝ→ℂ} {c : ℝ} {d : ℕ}
(hf : ControlledDensity c d f) (m : ℝ) :
ControlledDensity (c+|m|) d (fun z => zD m z * f z) :=by
proof · 10
lines
rcases hf with ⟨hf,A,hA,hfA⟩
refine ⟨?_,3*A,by positivity,?_⟩
· exact (by unfold zD; fun_prop : Measurable (zD m)).mul hf
· intro z hz
calc
‖zD m z * f z‖ = ‖zD m z‖ * ‖f z‖ := norm_mul _ _
_ ≤ (3*Real.exp (|m| * z)) * (A*(1+z^d)*Real.exp (c*z)) :=
mul_le_mul (zD_norm_le m hz.le) (hfA z hz) (norm_nonneg _) (by positivity)
_ = (3*A)*(1+z^d)*Real.exp ((c+|m|)*z) :=by
rw [add_mul, Real.exp_add]; ring
lemmazTransform_fusion {f : ℝ→ℂ} {c : ℝ} {d : ℕ}
(hf : ControlledDensity c d f) (hc : 0≤ c) (m u : ℝ)
(hu : c+|u|+|m| < Real.pi/2) :
zTransform f (u-m) + zTransform f (u+m) - zTransform f u =
zTransform (fun z => zD m z * f z) u :=by
proof · 14
lines
haveh₁ : c+|u-m| < Real.pi/2:=by linarith [abs_sub u m]
haveh₂ : c+|u+m| < Real.pi/2:=by linarith [abs_add_le u m]
haveh₃ : c+|u| < Real.pi/2:=by linarith [abs_nonneg m]
have hi₁ := weightedJet_integrable hf hc h₁ 0have hi₂ := weightedJet_integrable hf hc h₂ 0have hi₃ := weightedJet_integrable hf hc h₃ 0have he (t : ℝ) : weightedJet f 0 t = zKernel f t := funext (weightedJet_zero f t)
rw [he] at hi₁ hi₂ hi₃
unfold zTransform
rw [← integral_add hi₁ hi₂]
havehis : IntegrableOn (fun z => zKernel f (u-m) z + zKernel f (u+m) z) (Set.Ioi0) := hi₁.add hi₂
rw [← integral_sub his hi₃]
apply integral_congr_ae
exact ae_of_all _ (fun z => zKernel_fusion f m u z)
lemmaintegralInterpolant_fusion {f : ℝ→ℂ} {c : ℝ} {d : ℕ}
(hf : ControlledDensity c d f) (hc : 0≤ c) (m u : ℝ) (ρ : ℂ)
(hu : c+|u|+|m| < Real.pi/2) :
integralInterpolant ρ f (u-m) + integralInterpolant ρ f (u+m) - integralInterpolant ρ f u =
integralFusion m ρ f u :=by
proof · 6
lines
have ht := zTransform_fusion hf hc m u hu
dsimp [integralInterpolant,integralFusion]
rw [show (2:ℝ)*(u-m)=2*u-2*m by ring,
show (2:ℝ)*(u+m)=2*u+2*m by ring,Real.cos_sub, Real.cos_add]
push_cast
linear_combination ht
lemmaintegralInterpolant_fusion_eventually {f : ℝ→ℂ} {c : ℝ} {d : ℕ}
(hf : ControlledDensity c d f) (hc : 0≤ c) (m u : ℝ) (ρ : ℂ)
(hu : c+|u|+|m| < Real.pi/2) :
(fun t => integralInterpolant ρ f (t-m)+integralInterpolant ρ f (t+m)-integralInterpolant ρ f t)
=ᶠ[𝓝 u] integralFusion m ρ f :=by
proof · 3
lines
havehn : ∀ᶠ t in 𝓝 u, c+|t|+|m| < Real.pi/2:=
(isOpen_lt ((continuous_const.add continuous_abs).add continuous_const) continuous_const).mem_nhds hu
exact hn.mono (fun t ht => integralInterpolant_fusion hf hc m t ρ ht)