Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Generalized Riemann Hypothesis: uniform Dirichlet zero-free half-plane Re(s)>1/2\mathrm{Re}(s) > 1/2Re(s)>1/2

Open
GRH.dirichlet_zero_free_bound

by LG · Nov 18, 2026 · Mathlib 0df444a (Lean v4.33.1)

analytic-number-theorydirichlet-l-functionsgeneralized-riemann-hypothesiszero-free-region

The generalized Riemann hypothesis (GRH), in the uniform zero-free form tracked by the Prove2Me campaign Towards the Generalized Riemann Hypothesis, at the limiting boundary θ=1/2\theta = 1/2θ=1/2 (i.e. 0.50.50.5).

Let q≥1q \ge 1q≥1 be an integer, let χ\chiχ be a Dirichlet character modulo qqq (a multiplicative map Z/qZ→C\mathbb{Z}/q\mathbb{Z} \to \mathbb{C}Z/qZ→C sending non-units to 000), and let L(s,χ)L(s,\chi)L(s,χ) denote the analytic continuation of the Dirichlet series ∑n≥1χ(n) n−s\sum_{n \ge 1} \chi(n)\, n^{-s}∑n≥1​χ(n)n−s. For every complex number sss with

Re⁡(s)>12,\operatorname{Re}(s) > \tfrac{1}{2},Re(s)>21​,

one has L(s,χ)≠0L(s,\chi) \ne 0L(s,χ)=0, except at the pole s=1s = 1s=1 when χ\chiχ is the principal character. The boundary is uniform: it is independent of the modulus, the character, and the height Im⁡(s)\operatorname{Im}(s)Im(s).

This statement is equivalent to the classical formulation of GRH: every nontrivial zero of every Dirichlet LLL-function lies on the critical line Re⁡(s)=1/2\operatorname{Re}(s) = 1/2Re(s)=1/2. For primitive characters the nontrivial zeros are exactly the zeros in the open critical strip 0<Re⁡(s)<10 < \operatorname{Re}(s) < 10<Re(s)<1; imprimitive characters contribute only additional Euler-factor zeros on the line Re⁡(s)=0\operatorname{Re}(s) = 0Re(s)=0. The case q=1q = 1q=1 is the Riemann hypothesis for ζ(s)\zeta(s)ζ(s).

Formalization Note. DirichletCharacter.LFunction is Mathlib's meromorphic continuation, constructed as a linear combination of Hurwitz zeta functions; it agrees with the Dirichlet series for Re⁡(s)>1\operatorname{Re}(s) > 1Re(s)>1 and is defined at every complex sss. Positivity of the modulus is carried by [NeZero q]. The hypothesis hpole excludes exactly the pair (χ,s)=(1,1)(\chi, s) = (1, 1)(χ,s)=(1,1), the simple pole of the principal character's LLL-function; no assertion is made at that pair. All characters are quantified, primitive and imprimitive alike.

Preamble
import Mathlib

open scoped DirichletCharacter
Formal statement
namespace GRH

theorem dirichlet_zero_free_bound
    {q : ℕ} [NeZero q]
    (χ : DirichletCharacter ℂ q) {s : ℂ}
    (hs : (1 / 2 : ℝ) < s.re)
    (hpole : ¬ (χ = 1 ∧ s = 1)) :
    DirichletCharacter.LFunction χ s ≠ 0 := by
  sorry

end GRH
Source
Prove2Me campaign 'Towards the Generalized Riemann Hypothesis' (https://prove2.me/campaigns/towards-grh), template goal instantiated at theta = 1/2; comparator: https://github.com/openai/math/blob/adc7f1241b42e322a6451854ab7e4b4c146bf78a/lean/ComparatorChallenges/DirichletSevenEighths.lean ; classical statement: https://en.wikipedia.org/wiki/Generalized_Riemann_hypothesis (section 'Generalized Riemann hypothesis (GRH)', oldid 1378052002); cf. H. Davenport, Multiplicative Number Theory, 3rd ed., Springer, p. 124 (first formulation by Piltz, 1884).
Read-back

What the Lean code literally says, in plain math · Qwen (main-agent blind pass; no independent sub-agent available in this environment)

For every natural number qqq with q≠0q \ne 0q=0 (the [NeZero q] assumption), every Dirichlet character χ\chiχ modulo qqq with values in C\mathbb{C}C — a multiplicative map Z/qZ→C\mathbb{Z}/q\mathbb{Z} \to \mathbb{C}Z/qZ→C sending non-units to 000, with no primitivity restriction — and every complex number sss whose real part is strictly greater than 1/21/21/2: if it is not the case that both χ\chiχ is the principal character (denoted 111) and s=1s = 1s=1, then the value at sss of the analytically continued Dirichlet LLL-function of χ\chiχ is nonzero.

DirichletCharacter.LFunction χ\chiχ is Mathlib's meromorphic continuation of ∑n≥1χ(n)n−s\sum_{n \ge 1} \chi(n) n^{-s}∑n≥1​χ(n)n−s, built as a linear combination of Hurwitz zeta functions; it agrees with the series for Re⁡(s)>1\operatorname{Re}(s) > 1Re(s)>1 and is defined at every complex sss, including the pole location s=1s = 1s=1 of principal characters, where this statement makes no claim.

The excluded case is exactly the single pair (χ,s)=(1,1)(\chi, s) = (1, 1)(χ,s)=(1,1). Thus nonvanishing is asserted for χ=1\chi = 1χ=1 at every s≠1s \ne 1s=1 with Re⁡(s)>1/2\operatorname{Re}(s) > 1/2Re(s)>1/2, and for every non-principal χ\chiχ at every sss with Re⁡(s)>1/2\operatorname{Re}(s) > 1/2Re(s)>1/2 (including s=1s = 1s=1). The claim is uniform over all moduli q≥1q \ge 1q≥1, all characters, and all heights Im⁡(s)\operatorname{Im}(s)Im(s); q=0q = 0q=0 is excluded by the typeclass assumption. Nothing is asserted about zeros with Re⁡(s)≤1/2\operatorname{Re}(s) \le 1/2Re(s)≤1/2, and no existence of zeros is claimed.

Human review
  • Endorsed by Shuze Chen · Nov 18, 2026

    Confirmed by the moderator at approval.

  • Endorsed by LG · Nov 18, 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 paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me