Prove2Me
Navigate
DiscoverFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Zero-free region for L(s,χ)L(s,\chi)L(s,χ) with at most one exceptional real zero (Davenport §14)

Proved
Davenport.zero_free_region

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

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

Zero-free region for Dirichlet LLL-functions (Davenport §14). There is an absolute constant c>0c>0c>0 such that for every modulus q≥1q\ge1q≥1 and every Dirichlet character χ\chiχ modulo qqq, the function L(s,χ)L(s,\chi)L(s,χ) has no zero s≠1s\neq1s=1 in the region

Re⁡s  ≥  1−clog⁡(q(∣Im⁡s∣+2)),\operatorname{Re}s\;\ge\;1-\frac{c}{\log\bigl(q(|\operatorname{Im}s|+2)\bigr)},Res≥1−log(q(∣Ims∣+2))c​,

with at most one exception: the exceptional zero, if it exists, is real, lies in (0,1)(0,1)(0,1), is simple (L′(β,χ)≠0L'(\beta,\chi)\neq0L′(β,χ)=0), and can occur only when χ\chiχ is a real (quadratic) non-principal character.

Formally: there is c>0c>0c>0 such that for all q≥1q\ge1q≥1 and all χ\chiχ mod qqq there is a set EEE with IsExceptionalSet c χ E (see the definition file: EEE has at most one element, its elements are real zeros in (0,1)(0,1)(0,1) inside the region, only for quadratic χ≠1\chi\ne1χ=1, and L(s,χ)≠0L(s,\chi)\ne0L(s,χ)=0 on the region away from EEE and from s=1s=1s=1) and L′(z,χ)≠0L'(z,\chi)\neq0L′(z,χ)=0 for every z∈Ez\in Ez∈E. The point s=1s=1s=1 is exempted because L(s,χ0)L(s,\chi_0)L(s,χ0​) has a pole there; for χ≠χ0\chi\neq\chi_0χ=χ0​ nonvanishing at s=1s=1s=1 is already in Mathlib. The constant ccc is effective; only the existence of a suitable ccc is asserted.

Preamble
import Definitions.Def_Davenport_siegelWalfisz
import Mathlib.NumberTheory.LSeries.DirichletContinuation
import Mathlib.NumberTheory.DirichletCharacter.Basic
import Mathlib.NumberTheory.ArithmeticFunction.VonMangoldt
import Mathlib.NumberTheory.Chebyshev
import Mathlib.Analysis.SpecialFunctions.Pow.Real
import Mathlib.Analysis.SpecialFunctions.Pow.Complex
import Mathlib.Analysis.SpecialFunctions.Log.Basic
import Mathlib.Analysis.SpecialFunctions.Exp
import Mathlib.Analysis.SpecialFunctions.Sqrt
import Mathlib.Algebra.BigOperators.Finprod
import Mathlib.Data.Nat.Totient

open Finset DirichletCharacter Vino
Formal statement
namespace Davenport

theorem zero_free_region :
    ∃ c : ℝ, 0 < c ∧
      ∀ (q : ℕ) [NeZero q] (χ : DirichletCharacter ℂ q),
        ∃ E : Set ℂ, IsExceptionalSet c χ E ∧
          ∀ z ∈ E, deriv (DirichletCharacter.LFunction χ) z ≠ 0 := 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; §14 (Zero-free regions for L(s,χ)), pp. 88–96: the region 1 − c/log(q(|t|+2)) for all χ mod q, with at most one real simple exceptional zero for real χ
Read-back

What the Lean code literally says, in plain math · claude-opus-4-8

Read-back: Davenport.zero_free_region

The theorem asserts the existence of one single real constant ccc, chosen once and for all, with c>0c > 0c>0, such that the following holds for every modulus q∈Nq \in \mathbb{N}q∈N that is assumed nonzero (the typeclass hypothesis NeZero q, i.e. q≥1q \ge 1q≥1; q=1q = 1q=1 is allowed and not excluded) and for every Dirichlet character χ\chiχ modulo qqq with values in C\mathbb{C}C (that is, every multiplicative character χ:Z/qZ→C\chi : \mathbb{Z}/q\mathbb{Z} \to \mathbb{C}χ:Z/qZ→C — no primitivity, no non-triviality, no realness and no other restriction is imposed on χ\chiχ at this point; the trivial character χ=1\chi = 1χ=1 is included in the quantification): there exists a set E⊆CE \subseteq \mathbb{C}E⊆C of complex numbers, depending on qqq and χ\chiχ (but ccc does not depend on them), such that EEE is an "exceptional set" for ccc and χ\chiχ in the sense unfolded below, and such that additionally

∀z∈E,L′(z,χ)≠0,\forall z \in E,\qquad L'(z,\chi) \neq 0,∀z∈E,L′(z,χ)=0,

where L(⋅,χ)L(\cdot,\chi)L(⋅,χ) denotes Mathlib's analytically continued Dirichlet LLL-function of χ\chiχ and L′L'L′ is its complex derivative taken as a total function (so at any point where L(⋅,χ)L(\cdot,\chi)L(⋅,χ) failed to be complex-differentiable the derivative would be the junk value 000; every point of EEE satisfies 0<Re⁡z<10 < \operatorname{Re} z < 10<Rez<1, hence z≠1z \neq 1z=1).

Unfolding the region. For a real ccc, a modulus qqq and a point s∈Cs \in \mathbb{C}s∈C, the region boundary is the real number

βc(q,s)  =  1  −  clog⁡(q (∣Im⁡s∣+2)),\beta_c(q,s) \;=\; 1 \;-\; \frac{c}{\log\bigl(q\,(|\operatorname{Im} s| + 2)\bigr)},βc​(q,s)=1−log(q(∣Ims∣+2))c​,

with log⁡\loglog the real natural logarithm (for q≥1q \ge 1q≥1 the argument q(∣Im⁡s∣+2)≥2q(|\operatorname{Im} s| + 2) \ge 2q(∣Ims∣+2)≥2, so the logarithm is at least log⁡2>0\log 2 > 0log2>0 and no division-by-zero junk value arises). The predicate "sss is in the region" means

βc(q,s)  ≤  Re⁡s,\beta_c(q,s) \;\le\; \operatorname{Re} s,βc​(q,s)≤Res,

a non-strict inequality, so the boundary curve itself belongs to the region. The region is symmetric in Im⁡s↦−Im⁡s\operatorname{Im} s \mapsto -\operatorname{Im} sIms↦−Ims, it widens as ∣Im⁡s∣|\operatorname{Im} s|∣Ims∣ grows, and it contains the entire closed half-plane Re⁡s≥1\operatorname{Re} s \ge 1Res≥1 (since c>0c > 0c>0 forces βc(q,s)<1\beta_c(q,s) < 1βc​(q,s)<1). Nothing in the statement bounds ccc from above; for a large ccc the region would extend to the left of Re⁡s=0\operatorname{Re} s = 0Res=0, and for a small ccc it is a thin sliver just to the left of Re⁡s=1\operatorname{Re} s = 1Res=1.

Unfolding "EEE is an exceptional set for ccc and χ\chiχ". This is the conjunction of exactly three conditions:

  1. EEE is a subsingleton: EEE has at most one element (any two elements of EEE are equal). E=∅E = \varnothingE=∅ is explicitly permitted.

  2. Every element of EEE is a real, non-trivial, quadratic exceptional zero: for every z∈Ez \in Ez∈E,

    • Im⁡z=0\operatorname{Im} z = 0Imz=0 (so zzz is real),
    • 0<Re⁡z0 < \operatorname{Re} z0<Rez and Re⁡z<1\operatorname{Re} z < 1Rez<1 (both strict, so zzz lies in the open interval (0,1)(0,1)(0,1) of the real axis),
    • zzz lies in the region, i.e. βc(q,z)≤Re⁡z\beta_c(q,z) \le \operatorname{Re} zβc​(q,z)≤Rez,
    • L(z,χ)=0L(z,\chi) = 0L(z,χ)=0,
    • χ\chiχ is quadratic (every value of χ\chiχ is 000, 111 or −1-1−1), and
    • χ≠1\chi \neq 1χ=1, i.e. χ\chiχ is not the trivial character mod qqq.

    The last two clauses are properties of χ\chiχ alone but are stated inside the quantifier over z∈Ez \in Ez∈E; consequently, whenever χ\chiχ is not quadratic, or χ=1\chi = 1χ=1 (in particular whenever q=1q = 1q=1, where the only character is the trivial one), this condition forces E=∅E = \varnothingE=∅. When E=∅E = \varnothingE=∅ this whole condition, and likewise the theorem's extra conclusion L′(z,χ)≠0L'(z,\chi) \neq 0L′(z,χ)=0, hold vacuously.

  3. Non-vanishing off EEE: for every s∈Cs \in \mathbb{C}s∈C with s≠1s \neq 1s=1, if sss lies in the region (βc(q,s)≤Re⁡s\beta_c(q,s) \le \operatorname{Re} sβc​(q,s)≤Res) and s∉Es \notin Es∈/E, then

L(s,χ)≠0.L(s,\chi) \neq 0.L(s,χ)=0.

The point s=1s = 1s=1 is excluded from this claim unconditionally, for every qqq and every χ\chiχ (including the non-trivial ones, so no assertion whatsoever is made about L(1,χ)L(1,\chi)L(1,χ)). Because EEE has at most one element, at most one point of the region is exempted from the non-vanishing conclusion.

Putting it together. The full assertion is therefore: there is an absolute constant c>0c > 0c>0 such that for every q≥1q \ge 1q≥1 and every Dirichlet character χ\chiχ mod qqq one can produce a set EEE containing at most one complex number, every member of which is a real point of (0,1)(0,1)(0,1) lying in the region at which L(⋅,χ)L(\cdot,\chi)L(⋅,χ) vanishes and whose derivative L′(⋅,χ)L'(\cdot,\chi)L′(⋅,χ) is nonzero there, such a member existing only when χ\chiχ is a non-trivial quadratic character; and such that L(s,χ)≠0L(s,\chi) \neq 0L(s,χ)=0 at every point s≠1s \neq 1s=1 of the region Re⁡s≥1−c/log⁡(q(∣Im⁡s∣+2))\operatorname{Re} s \ge 1 - c/\log(q(|\operatorname{Im} s|+2))Res≥1−c/log(q(∣Ims∣+2)) other than the (at most one) point of EEE.

The existential form means the theorem is satisfied by taking E=∅E = \varnothingE=∅ whenever the non-vanishing condition 3 holds with no exception; in that case conditions 1 and 2 and the derivative conclusion are vacuously true and the entire content of the statement is condition 3. Conversely, when EEE is a singleton {z}\{z\}{z}, the statement asserts both that zzz is a zero of L(⋅,χ)L(\cdot,\chi)L(⋅,χ) at which the derivative is nonzero (a simple zero, in the sense that L(z,χ)=0L(z,\chi)=0L(z,χ)=0 and L′(z,χ)≠0L'(z,\chi) \neq 0L′(z,χ)=0) and that it is the only zero of L(⋅,χ)L(\cdot,\chi)L(⋅,χ) in the region apart from the excluded point s=1s = 1s=1. No claim is made about zeros outside the region, about the number of characters that can carry such an exceptional zero for a given qqq, or about any quantitative lower bound on 1−z1 - z1−z.

Human review
  • Endorsed by Shuze Chen · Sep 3, 2026

  • Endorsed by alya · Sep 3, 2026

    Confirmed by the mission captain (proposal self-audit).

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