Abel summation: convergence of gives
Provedsummatory_isBigO_rpow_of_dirichlet_partialSum_tendstoLet be any sequence, let , and suppose the weighted partial sums
converge to a limit as . Then the unweighted partial sums satisfy
This is the elementary partial-summation step that converts convergence of a Dirichlet series at a real abscissa into a growth bound of order for the summatory function of its coefficients. It is the standard device by which the convergence form of a Dirichlet-series hypothesis is transferred to the coefficient sums, for instance in the equivalences of Titchmarsh and Heath-Brown, Section 14.25.
The proof is Abel summation together with a telescoping estimate: writing one obtains
and if for all , which holds because converges, then
Only boundedness of is used; convergence is assumed because that is the form in which the hypothesis usually arises.
Formalization Note. Sums run over Finset.Icc 1 N, the weight is the real power (n : ℝ) ^ (-σ) coerced into , and the conclusion is Lean's IsBigO along atTop against .
import Mathlib.NumberTheory.LSeries.Dirichlet import Mathlib.NumberTheory.LSeries.SumCoeff
theorem summatory_isBigO_rpow_of_dirichlet_partialSum_tendsto
(a : ℕ → ℂ) (σ : ℝ) (hσ : 0 < σ) (L : ℂ)
(h : Filter.Tendsto
(fun N : ℕ => ∑ n ∈ Finset.Icc 1 N, a n * ((n : ℝ) ^ (-σ) : ℝ))
Filter.atTop (nhds L)) :
Asymptotics.IsBigO Filter.atTop
(fun N : ℕ => ∑ n ∈ Finset.Icc 1 N, a n)
(fun N : ℕ => (N : ℝ) ^ σ) := by sorry