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

RectangleIntegral_tendsTo_LowerU

PrimeNumberTheoremAnd.PerronFormula · PrimeNumberTheoremAnd/PerronFormula.lean:240 to 287

Mathematical statement

Exact Lean statement

@[blueprint
  (title := "RectangleIntegral-tendsTo-LowerU")
  (statement := /--
  Let $\sigma,\sigma' \in \mathbb{R}$, and $f : \mathbb{C} \to \mathbb{C}$ such that
  the vertical integrals $\int_{(\sigma)}f(s)ds$ and $\int_{(\sigma')}f(s)ds$ exist and
  the horizontal integral $\int_{(\sigma)}^{\sigma'}f(x + yi)dx$ vanishes as $y \to -\infty$.
  Then the limit of rectangle integrals
  $$\int_{\sigma-iU}^{\sigma'-iT}f(s)ds$$
  as $U\to\infty$ is the ``LowerUIntegral'' of $f$.
  -/)
  (proof := /-- Almost by definition. -/)
  (proofUses := ["RectangleIntegral", "LowerUIntegral"])
  (latexEnv := "lemma")]
lemma RectangleIntegral_tendsTo_LowerU {σ σ' T : ℝ} {f : ℂ → ℂ}
    (hbot : Tendsto (fun (y : ℝ) ↦ ∫ (x : ℝ) in σ..σ', f (x + y * I)) atBot (𝓝 0))
    (hleft : Integrable (fun (y : ℝ) ↦ f (σ + y * I)))
    (hright : Integrable (fun (y : ℝ) ↦ f (σ' + y * I))) :
    Tendsto (fun (U : ℝ) ↦ RectangleIntegral f (σ - I * U) (σ' - I * T)) atTop
      (𝓝 (- LowerUIntegral f σ σ' T))

Complete declaration

Lean source

Canonical source
Full Lean sourceLean 4
@[blueprint  (title := "RectangleIntegral-tendsTo-LowerU")  (statement := /--  Let $\sigma,\sigma' \in \mathbb{R}$, and $f : \mathbb{C} \to \mathbb{C}$ such that  the vertical integrals $\int_{(\sigma)}f(s)ds$ and $\int_{(\sigma')}f(s)ds$ exist and  the horizontal integral $\int_{(\sigma)}^{\sigma'}f(x + yi)dx$ vanishes as $y \to -\infty$.  Then the limit of rectangle integrals  $$\int_{\sigma-iU}^{\sigma'-iT}f(s)ds$$  as $U\to\infty$ is the ``LowerUIntegral'' of $f$.  -/)  (proof := /-- Almost by definition. -/)  (proofUses := ["RectangleIntegral", "LowerUIntegral"])  (latexEnv := "lemma")]lemma RectangleIntegral_tendsTo_LowerU {σ σ' T : } {f : ℂ  ℂ}    (hbot : Tendsto (fun (y : )  ∫ (x : ) in σ..σ', f (x + y * I)) atBot (𝓝 0))    (hleft : Integrable (fun (y : )  f (σ + y * I)))    (hright : Integrable (fun (y : )  f (σ' + y * I))) :    Tendsto (fun (U : )  RectangleIntegral f (σ - I * U) (σ' - I * T)) atTop      (𝓝 (- LowerUIntegral f σ σ' T)) := by  have h_re  (s : ) (t : ) : (s  - I * t).re = s  := by simp  have h_im  (s : ) (t : ) : (s  - I * t).im = -t  := by simp  have hbot' :      Tendsto (fun (y : )  ∫ (x : ) in σ..σ', f (x - y * I)) atTop (𝓝 0) := by    convert (hbot.comp tendsto_neg_atTop_atBot) using 1    ext; simp only [Function.comp_apply, ofReal_neg, neg_mul]; rfl  have htop : Tendsto (fun (_ : )  ∫ (x : ) in σ..σ', f (x - T * I)) atTop      (𝓝 <| ∫ (x : ) in σ..σ', f (x - T * I)) := tendsto_const_nhds  have hvert (s : ) (int : Integrable (fun (y : )  f (s + y * I))) :      Tendsto (fun (U : )  I * ∫ (y : ) in -U..-T, f (s + y * I)) atTop        (𝓝 <| I * ∫ (y : ) in Iic (-T), f (s + y * I)) := by    have := (intervalIntegral_tendsto_integral_Iic (-T) int.restrict tendsto_id).const_smul I    convert! (this.comp tendsto_neg_atTop_atBot) using 1  have := ((hbot'.sub htop).add (hvert σ' hright)).sub (hvert σ hleft)  rw [zero_sub] at this  simp_rw [RectangleIntegral, LowerUIntegral, HIntegral, VIntegral, h_re, h_im, ofReal_neg, neg_mul,    neg_add_rev, neg_sub]  have final :      (((-∫ (x : ) in σ..σ', f (↑x - ↑T * I)) +          I * ∫ (y : ) in Iic (-T), f (↑σ' + ↑y * I)) -          I * ∫ (y : ) in Iic (-T), f (↑σ + ↑y * I)) =      (-(I * ∫ (y : ) in Iic (-T), f (↑σ + ↑y * I)) +        ((I * ∫ (y : ) in Iic (-T), f (↑σ' + ↑y * I)) -          ∫ (x : ) in σ..σ', f (↑x - ↑T * I))) := by    ring_nf    congr    ext    ring_nf  exact final ▸ this