Skip to main content
AlexKontorovich/PrimeNumberTheoremAnd
Source indexedtheorem · leanprover/lean4:v4.32.0

ZetaAppendix.lemma_aachmonophase

PrimeNumberTheoremAnd.IEANTN.ZetaAppendix · PrimeNumberTheoremAnd/IEANTN/ZetaAppendix.lean:1028 to 1089

Mathematical statement

Exact Lean statement

@[blueprint
  "lem:aachmonophase"
  (title := "Non-stationary phase estimate")
  (statement := /--
Let $\varphi:[a,b]\to \mathbb{R}$ be $C^1$ with $\varphi'(t)\ne 0$ for all $t\in [a,b]$.
Let $h:[a,b]\to \mathbb{R}$ be such that $g(t) = h(t)/\varphi'(t)$ is continuous and
$|g(t)|$ is non-increasing. Then
\[\left|\int_a^b h(t) e(\varphi(t)) dt\right|\leq \frac{|g(a)|}{\pi}.\]
-/)
  (proof := /--
Since $\varphi$ is $C^1$, $e(\varphi(t))$ is $C^1$, and
$h(t) e(\varphi(t)) = \frac{h(t)}{2\pi i \varphi'(t)} \frac{d}{dt} e(\varphi(t))$ everywhere.
By Lemma \ref{lem:aachra}, $g$ is of bounded variation. Hence, we can integrate by parts:
\[\int_a^b h(t) e(\varphi(t)) dt =
  \left. \frac{h(t) e(\varphi(t))}{2\pi i \varphi'(t)}\right|_a^b -
  \int_a^b e(\varphi(t))\, d\left(\frac{h(t)}{2\pi i \varphi'(t)}\right).
\]
The first term on the right has absolute value $\leq \frac{|g(a)|+|g(b)|}{2\pi}$.
Again by Lemma \ref{lem:aachra},
\[\left|
\int_a^b e(\varphi(t))\, d\left(\frac{h(t)}{2\pi i \varphi'(t)}\right)
\right|\leq \frac{1}{2\pi} \|g\|_{\mathrm{TV}} = \frac{|g(a)|-|g(b)|}{2\pi}.
\]
We are done by
$\frac{|g(a)|+|g(b)|}{2\pi} + \frac{|g(a)|-|g(b)|}{2\pi} = \frac{|g(a)|}{\pi}$.
-/)
  (latexEnv := "lemma")
  (discussion := 548)]
theorem lemma_aachmonophase {a b : ℝ} (ha : a < b) (φ : ℝ → ℝ) (hφ_C1 : ContDiffOn ℝ 1 φ (Set.Icc a b))
    (hφ'_ne0 : ∀ t ∈ Set.Icc a b, deriv φ t ≠ 0) (h g : ℝ → ℝ) (hg : ∀ t, g t = h t / deriv φ t)
    (hg_cont : ContinuousOn g (Set.Icc a b)) (hg_mon : AntitoneOn (fun t ↦ |g t|) (Set.Icc a b)) :
    ‖∫ t in Set.Icc a b, h t * e (φ t)‖ ≤ |g a| / π

Complete declaration

Lean source

Canonical source
Full Lean sourceLean 4
@[blueprint  "lem:aachmonophase"  (title := "Non-stationary phase estimate")  (statement := /--Let $\varphi:[a,b]\to \mathbb{R}$ be $C^1$ with $\varphi'(t)\ne 0$ for all $t\in [a,b]$.Let $h:[a,b]\to \mathbb{R}$ be such that $g(t) = h(t)/\varphi'(t)$ is continuous and$|g(t)|$ is non-increasing. Then\[\left|\int_a^b h(t) e(\varphi(t)) dt\right|\leq \frac{|g(a)|}{\pi}.\]-/)  (proof := /--Since $\varphi$ is $C^1$, $e(\varphi(t))$ is $C^1$, and$h(t) e(\varphi(t)) = \frac{h(t)}{2\pi i \varphi'(t)} \frac{d}{dt} e(\varphi(t))$ everywhere.By Lemma \ref{lem:aachra}, $g$ is of bounded variation. Hence, we can integrate by parts:\[\int_a^b h(t) e(\varphi(t)) dt =  \left. \frac{h(t) e(\varphi(t))}{2\pi i \varphi'(t)}\right|_a^b -  \int_a^b e(\varphi(t))\, d\left(\frac{h(t)}{2\pi i \varphi'(t)}\right).\]The first term on the right has absolute value $\leq \frac{|g(a)|+|g(b)|}{2\pi}$.Again by Lemma \ref{lem:aachra},\[\left|\int_a^b e(\varphi(t))\, d\left(\frac{h(t)}{2\pi i \varphi'(t)}\right)\right|\leq \frac{1}{2\pi} \|g\|_{\mathrm{TV}} = \frac{|g(a)|-|g(b)|}{2\pi}.\]We are done by$\frac{|g(a)|+|g(b)|}{2\pi} + \frac{|g(a)|-|g(b)|}{2\pi} = \frac{|g(a)|}{\pi}$.-/)  (latexEnv := "lemma")  (discussion := 548)]theorem lemma_aachmonophase {a b : } (ha : a < b) (φ :   ) (hφ_C1 : ContDiffOn  1 φ (Set.Icc a b))    (hφ'_ne0 :  t  Set.Icc a b, deriv φ t  0) (h g :   ) (hg :  t, g t = h t / deriv φ t)    (hg_cont : ContinuousOn g (Set.Icc a b)) (hg_mon : AntitoneOn (fun t  |g t|) (Set.Icc a b)) :    ‖∫ t in Set.Icc a b, h t * e (φ t)‖  |g a| / π := by  let F :  := fun t  (1 / (2 * Real.pi * I)) * (exp (2 * Real.pi * I * φ t))  have h_integral_bound : ‖∫ t in Set.Icc a b, (g t : ℂ) * (deriv F t)‖  (⨆ t  Set.Icc a b, ‖F t‖) * (2 * |g a|) :=    lemma_IBP_bound_abs_antitone ha g F hg_cont hg_mon <|      ContDiffOn.mul contDiffOn_const <| contDiff_exp.comp_contDiffOn <|        ContDiffOn.mul contDiffOn_const <| ofRealCLM.contDiff.comp_contDiffOn hφ_C1  have h_deriv_F :  t  Set.Ioo a b, deriv F t = (exp (2 * Real.pi * I * φ t)) * (deriv φ t) := by    intro t ht    rw [deriv_const_mul]    · norm_num [Complex.exp_ne_zero, mul_comm]      erw [HasDerivAt.deriv (HasDerivAt.comp t (Complex.hasDerivAt_exp _) (HasDerivAt.mul (HasDerivAt.ofReal_comp        (hφ_C1.differentiableOn_one |> DifferentiableOn.hasDerivAt <| Icc_mem_nhds ht.1 ht.2)) <| hasDerivAt_const ..))]      norm_num      ring_nf      simp    · apply Complex.differentiableAt_exp.comp      apply DifferentiableAt.const_mul <| ofRealCLM.differentiableAt.comp _ <| DifferentiableOn.differentiableAt        hφ_C1.differentiableOn_one (Icc_mem_nhds ht.1 ht.2) ..  have h_norm_F : ⨆ t  Set.Icc a b, ‖F t‖ = 1 / (2 * Real.pi) := by    dsimp only [F]    rw [@ciSup_eq_of_forall_le_of_forall_lt_exists_gt] <;> norm_num [norm_exp, abs_of_nonneg pi_pos.le]    · exact fun t  by rw [ciSup_eq_ite]; split_ifs <;> norm_num; linarith [pi_pos]    · exact fun w hw  a, hw.trans_le <| by rw [ciSup_pos]; norm_num; linarith  have h_integral_subst : ‖∫ t in Set.Icc a b, (g t : ℂ) * (deriv F t)‖ = ‖∫ t in Set.Icc a b,      (h t : ℂ) * (exp (2 * Real.pi * I * φ t))‖ := by    simp only [integral_Icc_eq_integral_Ioc, integral_Ioc_eq_integral_Ioo]    rw [setIntegral_congr_fun measurableSet_Ioo fun t ht  by rw [h_deriv_F t ht, hg t]]    simp only [div_eq_mul_inv, ofReal_mul, ofReal_inv, mul_comm, mul_left_comm, mul_assoc]    refine congr_arg Norm.norm <| setIntegral_congr_fun measurableSet_Ioo <| fun x hx  ?_    simp [mul_inv_cancel_left₀ (ofReal_ne_zero.mpr (hφ'_ne0 x (Set.Ioo_subset_Icc_self hx)))]  exact h_integral_subst ▸ h_integral_bound.trans (by rw [h_norm_F]; ring_nf; norm_num [pi_pos.ne'])