Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

All logarithmic moments and all derivatives of a Dirichlet Mellin continuation

Proved
dirichlet_mellin_logarithmic_moments_and_all_derivatives

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. For Re⁡s>r\operatorname{Re}s>rRes>r, write

Jk(s)=∫1∞(log⁡t)kM(⌊t⌋)t−s−1 dt,F(s)=sJ0(s).J_k(s)=\int_1^\infty(\log t)^kM(\lfloor t\rfloor)t^{-s-1}\,dt,\qquad F(s)=sJ_0(s).Jk​(s)=∫1∞​(logt)kM(⌊t⌋)t−s−1dt,F(s)=sJ0​(s).

Every logarithmic moment converges absolutely as an integral, and for every pair of nonnegative integers k,nk,nk,n,

Jk(n)(s)=(−1)nJk+n(s).J_k^{(n)}(s)=(-1)^nJ_{k+n}(s).Jk(n)​(s)=(−1)nJk+n​(s).

The continuation therefore satisfies, for every n≥0n\ge0n≥0,

F(n+1)(s)=(−1)n+1sJn+1(s)+(n+1)(−1)nJn(s).F^{(n+1)}(s)=(-1)^{n+1}sJ_{n+1}(s)+(n+1)(-1)^nJ_n(s).F(n+1)(s)=(−1)n+1sJn+1​(s)+(n+1)(−1)nJn​(s).

These formulas provide integral representations of all derivatives using only signed cancellation estimates. Absolute convergence of the integrals does not assert absolute convergence of the original Dirichlet series.

Preamble
import Mathlib.Analysis.Complex.CauchyIntegral
import Mathlib.Analysis.Calculus.IteratedDeriv.Defs
import Mathlib.NumberTheory.LSeries.Dirichlet
import Mathlib.NumberTheory.LSeries.SumCoeff
import Mathlib.Analysis.MellinTransform
import Mathlib.Tactic.Linarith
import Mathlib.Tactic.NormNum
open MeasureTheory
open scoped Topology
Formal statement
theorem dirichlet_mellin_logarithmic_moments_and_all_derivatives
    (f : ℕ → ℂ) {r : ℝ} (hr : 0 ≤ r)
    (hO : Asymptotics.IsBigO Filter.atTop
      (fun N : ℕ => ∑ n ∈ Finset.Icc 1 N, f n)
      (fun N : ℕ => (N : ℝ) ^ r))
    {s : ℂ} (hs : r < s.re) :
    let M := fun t : ℝ => ∑ n ∈ Finset.Icc 1 ⌊t⌋₊, f n
    let J := fun k : ℕ => fun z : ℂ => mellin (fun t => (Real.log t) ^ k • M t) (-z)
    let F := fun z : ℂ => z * mellin M (-z)
    (∀ k : ℕ, MellinConvergent (fun t => (Real.log t) ^ k • M t) (-s)) ∧
    (∀ k n : ℕ, iteratedDeriv n (J k) s = (-1 : ℂ) ^ n * J (k + n) s) ∧
    (∀ n : ℕ, iteratedDeriv (n + 1) F s =
      (-1 : ℂ) ^ (n + 1) * s * J (n + 1) s +
        ((n + 1 : ℕ) : ℂ) * (-1 : ℂ) ^ n * J n s) := by sorry
Source
Derived all-order application of pinned Mathlib https://github.com/leanprover-community/mathlib4/blob/0df444a360eaa60ab8c11dca51a86af692955474/Mathlib/Analysis/MellinTransform.lean#L320, mellin_hasDerivAt_of_isBigO_rpow; polynomial logarithmic growth is absorbed using isLittleO_log_rpow_rpow_atTop. Product/chain rules and induction give the displayed formulas. The all-order specialization is proved here rather than attributed as a verbatim theorem.

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