Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Locally uniform termwise differentiation of a Dirichlet series at every order

Proved
ordered_dirichlet_series_all_termwise_derivatives_locally_uniform

by ryanshin · Sep 5, 2026 · Mathlib 0df444a (Lean v4.33.1)

analytic-number-theorydirichlet-seriesformalizationriemann-hypothesis

Let f:N→Cf:\mathbb N\to\mathbb Cf:N→C have signed partial sums M(N)=O(Nr)M(N)=O(N^r)M(N)=O(Nr), with r≥0r\ge0r≥0, and let FFF be its analytic Mellin continuation on Re⁡s>r\operatorname{Re}s>rRes>r. For every integer j≥0j\ge0j≥0,

∑n=1Nf(n)(−log⁡n)jns⟶F(j)(s)locally uniformly on Re⁡s>r.\sum_{n=1}^N\frac{f(n)(-\log n)^j}{n^s}\longrightarrow F^{(j)}(s)\quad\text{locally uniformly on }\operatorname{Re}s>r.n=1∑N​nsf(n)(−logn)j​⟶F(j)(s)locally uniformly on Res>r.

This justifies differentiation term by term to every order despite the absence of an absolute-convergence hypothesis on the Dirichlet series. For positive integers the complex logarithm in the formal statement equals the ordinary real logarithm.

Preamble
import Mathlib.Analysis.Complex.LocallyUniformLimit
import Mathlib.Analysis.Calculus.IteratedDeriv.Defs
import Mathlib.Tactic.Linarith
import Mathlib.Tactic.Ring
import Mathlib.NumberTheory.LSeries.Dirichlet
import Mathlib.NumberTheory.LSeries.SumCoeff
import Mathlib.Analysis.MellinTransform
import Mathlib.Tactic.NormNum
open MeasureTheory
open scoped Topology
Formal statement
theorem ordered_dirichlet_series_all_termwise_derivatives_locally_uniform
    (f : ℕ → ℂ) {r : ℝ} (hr : 0 ≤ r)
    (hO : Asymptotics.IsBigO Filter.atTop
      (fun N : ℕ => ∑ n ∈ Finset.Icc 1 N, f n)
      (fun N : ℕ => (N : ℝ) ^ r)) (j : ℕ) :
    TendstoLocallyUniformlyOn
      (fun N : ℕ => fun s : ℂ => ∑ n ∈ Finset.Icc 1 N,
        f n * (-Complex.log (n : ℂ)) ^ j / (n : ℂ) ^ s)
      (iteratedDeriv j (fun s : ℂ =>
        s * mellin (fun t : ℝ => ∑ n ∈ Finset.Icc 1 ⌊t⌋₊, f n) (-s)))
      Filter.atTop {s : ℂ | r < s.re} := by sorry
Source
Derived application of the Weierstrass differentiation theorem, pinned Mathlib https://github.com/leanprover-community/mathlib4/blob/0df444a360eaa60ab8c11dca51a86af692955474/Mathlib/Analysis/Complex/LocallyUniformLimit.lean#L154, TendstoLocallyUniformlyOn.deriv, combined with the signed local-uniform convergence result proved here from the identities in https://github.com/leanprover-community/mathlib4/blob/0df444a360eaa60ab8c11dca51a86af692955474/Mathlib/NumberTheory/AbelSummation.lean. All-order differentiation is obtained by induction.

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me