Prove2Me
Navigate
DiscoverFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

ζ(s)L(s,χ1)L(s,χ2)L(s,χ1χ2)\zeta(s)L(s,\chi_1)L(s,\chi_2)L(s,\chi_1\chi_2)ζ(s)L(s,χ1​)L(s,χ2​)L(s,χ1​χ2​) is a Dirichlet series with nonnegative coefficients and a1=1a_1 = 1a1​=1 (Davenport §21)

Proved
Davenport.zeta_LFunction_prod_LSeries_nonneg

by alya · Sep 3, 2026 · Mathlib c5ea003 (Lean v4.30.0)

analytic-number-theorydirichlet-l-functionnumber-theorysiegel-theoremsiegel-walfiszthree-primes

The Dirichlet series of F(s)=ζ(s)L(s,χ1)L(s,χ2)L(s,χ1χ2)F(s) = \zeta(s)L(s,\chi_1)L(s,\chi_2)L(s,\chi_1\chi_2)F(s)=ζ(s)L(s,χ1​)L(s,χ2​)L(s,χ1​χ2​) (Davenport §21). Let χ1\chi_1χ1​ and χ2\chi_2χ2​ be real (quadratic) Dirichlet characters modulo q1q_1q1​ and q2q_2q2​ respectively, and let χ1χ2\chi_1\chi_2χ1​χ2​ denote their product, a character modulo q1q2q_1q_2q1​q2​ (both characters lifted to the modulus q1q2q_1q_2q1​q2​). Then there are real numbers an≥0a_n \ge 0an​≥0 with a1=1a_1 = 1a1​=1 such that

ζ(s) L(s,χ1) L(s,χ2) L(s,χ1χ2)  =  ∑n=1∞anns(Re⁡s>1),\zeta(s)\,L(s,\chi_1)\,L(s,\chi_2)\,L(s,\chi_1\chi_2) \;=\; \sum_{n=1}^{\infty} \frac{a_n}{n^{s}} \qquad (\operatorname{Re} s > 1),ζ(s)L(s,χ1​)L(s,χ2​)L(s,χ1​χ2​)=n=1∑∞​nsan​​(Res>1),

the series converging absolutely for Re⁡s>1\operatorname{Re} s > 1Res>1.

The coefficients are a=1∗χ1∗χ2∗χ1χ2a = 1 * \chi_1 * \chi_2 * \chi_1\chi_2a=1∗χ1​∗χ2​∗χ1​χ2​ (Dirichlet convolution); aaa is multiplicative, and at a prime power pkp^kpk its value is the coefficient of xkx^kxk in ((1−x)(1−χ1(p)x)(1−χ2(p)x)(1−χ1(p)χ2(p)x))−1\bigl((1-x)(1-\chi_1(p)x)(1-\chi_2(p)x)(1-\chi_1(p)\chi_2(p)x)\bigr)^{-1}((1−x)(1−χ1​(p)x)(1−χ2​(p)x)(1−χ1​(p)χ2​(p)x))−1, which is nonnegative because χ1(p),χ2(p)∈{0,±1}\chi_1(p),\chi_2(p) \in \{0,\pm1\}χ1​(p),χ2​(p)∈{0,±1} (equivalently, log⁡F(s)=∑p,m(1+χ1(pm))(1+χ2(pm)) p−ms/m\log F(s) = \sum_{p,m}(1+\chi_1(p^m))(1+\chi_2(p^m))\,p^{-ms}/mlogF(s)=∑p,m​(1+χ1​(pm))(1+χ2​(pm))p−ms/m has nonnegative coefficients). This is the function F(s)F(s)F(s) of Davenport §21 and the function ζ(s)f(s)\zeta(s)f(s)ζ(s)f(s) of the second case of the proof of Siegel's theorem in Montgomery–Vaughan; the nonnegativity of its coefficients is what Estermann's lemma requires.

Formalization Note. Neither character is required to be primitive or non-principal; χ1χ2\chi_1\chi_2χ1​χ2​ is formed as the product of the two characters after changing both levels to q1q2q_1q_2q1​q2​ (Mathlib's changeLevel), so its value at nnn is χ1(n)χ2(n)\chi_1(n)\chi_2(n)χ1​(n)χ2​(n) for every integer nnn.

Preamble
import Mathlib.NumberTheory.LSeries.DirichletContinuation
import Mathlib.NumberTheory.LSeries.Nonvanishing
import Mathlib.NumberTheory.LSeries.Positivity
import Mathlib.NumberTheory.LSeries.Convolution
import Mathlib.NumberTheory.DirichletCharacter.Basic
import Mathlib.NumberTheory.ArithmeticFunction.VonMangoldt
import Mathlib.Analysis.SpecialFunctions.Pow.Real
import Mathlib.Analysis.SpecialFunctions.Pow.Complex
import Mathlib.Analysis.SpecialFunctions.Log.Basic
import Mathlib.Analysis.SpecialFunctions.Exp

open Finset DirichletCharacter
Formal statement
namespace Davenport

theorem zeta_LFunction_prod_LSeries_nonneg (q₁ q₂ : ℕ) [NeZero q₁] [NeZero q₂]
    (χ₁ : DirichletCharacter ℂ q₁) (χ₂ : DirichletCharacter ℂ q₂)
    (h₁ : χ₁.IsQuadratic) (h₂ : χ₂.IsQuadratic) :
    ∃ a : ℕ → ℝ, a 1 = 1 ∧ (∀ n, 0 ≤ a n) ∧
      (∀ s : ℂ, 1 < s.re → LSeriesSummable (fun n => (a n : ℂ)) s) ∧
      ∀ s : ℂ, 1 < s.re →
        riemannZeta s * DirichletCharacter.LFunction χ₁ s * DirichletCharacter.LFunction χ₂ s *
          DirichletCharacter.LFunction
            (changeLevel (Nat.dvd_mul_right q₁ q₂) χ₁ * changeLevel (Nat.dvd_mul_left q₂ q₁) χ₂) s
          = LSeries (fun n => (a n : ℂ)) s := by sorry

end Davenport
Source
H. Davenport, Multiplicative Number Theory, 3rd ed. (revised by H. L. Montgomery), GTM 74, Springer 2000, https://doi.org/10.1007/978-1-4757-5927-3, §21, pp. 126–131 (the function F(s) = ζ(s)L(s,χ₁)L(s,χ₂)L(s,χ₁χ₂), with a₁ = 1 and aₙ ≥ 0); H. L. Montgomery and R. C. Vaughan, Multiplicative Number Theory I: Classical Theory, Cambridge Studies in Advanced Mathematics 97, CUP 2007, proof of Theorem 11.14, p. 373

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