Mellin inversion: the smoothed partial sum as a vertical contour integral of
ProvedDavenport.perron_smoothed_eq_integralThroughout, is a fixed smoothing kernel: a function on supported in , nonnegative on , with ; Smooth1 ν ε is the smoothed indicator of obtained by Mellin convolution with the delta-spike (it equals on , on , and lies in ), and is its Mellin transform (Mathlib's mellin).
Statement. Let be complex coefficients with (the von Mangoldt function), let and , and put . Then
This is the smoothed Perron formula: Mellin inversion applied termwise to the absolutely convergent Dirichlet series on the line , where . It is the starting point of the contour method for partial sums of ; the platform theorem SmoothedChebyshevDirichlet is the special case , and the present statement is used with in the character prime number theorem.
Formalization Note. VerticalIntegral' f σ is ; LSeries a s is ; the right-hand side is a tsum over (the term vanishes since is forced by ).
import Definitions.Def_MellinCalculus_defs import Definitions.Def_ResidueCalcOnRectangles_defs import Mathlib.NumberTheory.LSeries.Basic import Mathlib.NumberTheory.ArithmeticFunction.VonMangoldt import Mathlib.Analysis.MellinTransform import Mathlib.Analysis.SpecialFunctions.Pow.Real import Mathlib.Analysis.SpecialFunctions.Pow.Complex import Mathlib.Analysis.SpecialFunctions.Log.Basic import Mathlib.Analysis.SpecialFunctions.Integrals.Basic import Mathlib.MeasureTheory.Integral.IntervalIntegral.Basic open Set MeasureTheory
namespace Davenport
theorem perron_smoothed_eq_integral {ν : ℝ → ℝ} (diffν : ContDiff ℝ 1 ν)
(suppν : ν.support ⊆ Icc (1 / 2) 2) (νnonneg : ∀ x > 0, 0 ≤ ν x)
(mass_one : ∫ x in Ioi (0 : ℝ), ν x / x = 1)
(a : ℕ → ℂ) (ha : ∀ n : ℕ, ‖a n‖ ≤ ArithmeticFunction.vonMangoldt n)
{X : ℝ} (hX : 3 < X) {ε : ℝ} (hε : 0 < ε) (hε1 : ε < 1) :
VerticalIntegral'
(fun s : ℂ ↦ LSeries a s * mellin (fun x ↦ (Smooth1 ν ε x : ℂ)) s * (X : ℂ) ^ s)
(1 + (Real.log X)⁻¹)
= ∑' n : ℕ, a n * (Smooth1 ν ε (n / X) : ℂ) := by sorry
end Davenport