The truncated Perron integral
DefinitionWeil_perronThe vertical contour integral at the heart of Perron's formula. For a function on , a real , an abscissa and a height ,
It is written here as an integral in the real variable along the line : with the factor cancels against the in , leaving
No hypotheses are imposed on or on the parameters. Where the integrand fails to be interval integrable the Bochner integral is by convention, so any statement about this quantity carries its own analyticity or integrability hypotheses.
Perron's formula says that for to the right of the abscissa of absolute convergence this integral approximates the partial sum of the Dirichlet series , with an error that decreases in . Moving the line of integration to the left of and collecting the residues released by the shift is what converts a zero-free region for into an asymptotic formula for that partial sum.
/-
# The truncated Perron integral
The vertical contour integral that carries the analytic content of the Perron formula,
`(1 / 2πi) ∫_{σ - iT}^{σ + iT} G(s) x^s / s ds`, parametrised by the real variable
`t` with `s = σ + it`, so that `ds = i dt` and the factor `i` cancels the `i` in `1/2πi`.
-/
import Mathlib.Analysis.SpecialFunctions.Pow.Complex
import Mathlib.MeasureTheory.Integral.IntervalIntegral.Basic
namespace Weil
/-- `perronIntegral G x σ T` is the truncated Perron integral
`(1 / 2πi) ∫_{σ - iT}^{σ + iT} G(s) · x ^ s / s ds`,
written as an integral in the real variable `t` along `s = σ + it`. -/
noncomputable def perronIntegral (G : ℂ → ℂ) (x σ T : ℝ) : ℂ :=
(1 / (2 * Real.pi)) *
∫ t in (-T)..T,
G ((σ : ℂ) + (t : ℂ) * Complex.I) * (x : ℂ) ^ ((σ : ℂ) + (t : ℂ) * Complex.I)
/ ((σ : ℂ) + (t : ℂ) * Complex.I)
end Weil