Chapter I · Unit 153
The statements: the Riemann hypothesis and the generalised Riemann hypothesis for Dirichlet L-functions, in three forms
Main (unit 155).Notes
What it holds · 4 declarations
def
RiemannZetaZerosOnLinelines 3–4argumentThe propositionRiemannZetaZerosOnLine(the Riemann hypothesis): for every complex number s, if \zeta(s) = 0, if s is not of the form -2(n + 1) for any natural number n (that is, s is none of the trivial zeros -2, -4, -6, \ldots), and if s \ne 1, then \operatorname{Re} s = 1/2. Here \zeta is Mathlib'sriemannZeta, the meromorphic continuation of \sum_{n\ge 1} n^{-s} to \mathbb{C}; Mathlib defines it at every complex number, also at the pole s = 1, where it takes a conventional finite value.Definition 2.1, p. 2 of The five final theorems, and what one must trust Statement 1, p. 1 of The four statements: the Riemann hypothesis and its generalisation to Dirichlet L-functions Definition 2.1, p. 3 of The main inequality, the bound for the primes, and the zero-free half-plane
The Lean statement
Statements.lean · line 3 def RiemannZetaZerosOnLine : Prop :=def
DirichletLNonvanishingRightOfHalflines 6–8argumentThe propositionDirichletLNonvanishingRightOfHalf(the generalised Riemann hypothesis for Dirichlet L-functions, in half-plane form): for every natural number N with N \ne 0 (Lean's instance argumentNeZero N), every Dirichlet character \chi modulo N with complex values, and every complex number s with 1/2 < \operatorname{Re} s, if \chi is not the principal character modulo N or s \ne 1, then L(s, \chi) \ne 0. Here L(s, \chi) is Mathlib'sDirichletCharacter., the meromorphic continuation of \sum_{n\ge 1} \chi(n) n^{-s} (for the principal character it has a pole at s = 1, where Mathlib assigns a conventional value); a Dirichlet character modulo N is Mathlib'sLFunction χ s DirichletCharacter ℂ N, a multiplicative map \mathbb{Z}/N \to \mathbb{C} that vanishes off the units, and1is the principal character modulo N (1 on the units, 0 elsewhere).Definition 2.1, p. 2 of The five final theorems, and what one must trust Statement 2, p. 2 of The four statements: the Riemann hypothesis and its generalisation to Dirichlet L-functions Definition 2.1, p. 3 of The main inequality, the bound for the primes, and the zero-free half-plane
The Lean statement
Statements.lean · line 6 def DirichletLNonvanishingRightOfHalf : Prop :=def
DirichletLZerosOnLinelines 10–12argumentThe propositionDirichletLZerosOnLine(the generalised Riemann hypothesis for Dirichlet L-functions, critical-strip form): for every natural number N with N \ne 0 (instanceNeZero N), every Dirichlet character \chi modulo N with complex values, and every complex number s with 0 < \operatorname{Re} s and \operatorname{Re} s < 1 and L(s, \chi) = 0, one has \operatorname{Re} s = 1/2. Here L(s, \chi) is Mathlib'sDirichletCharacter., the meromorphic continuation of \sum_{n\ge 1} \chi(n) n^{-s} (for the principal character it has a pole at s = 1, where Mathlib assigns a conventional value); a Dirichlet character modulo N is Mathlib'sLFunction χ s DirichletCharacter ℂ N, a multiplicative map \mathbb{Z}/N \to \mathbb{C} that vanishes off the units, and1is the principal character modulo N (1 on the units, 0 elsewhere).Definition 2.1, p. 2 of The five final theorems, and what one must trust Statement 3, p. 2 of The four statements: the Riemann hypothesis and its generalisation to Dirichlet L-functions Definition 2.1, p. 3 of The main inequality, the bound for the primes, and the zero-free half-plane
The Lean statement
Statements.lean · line 10 def DirichletLZerosOnLine : Prop :=def
PrimitiveDirichletLZerosOnLinelines 14–16argumentThe propositionPrimitiveDirichletLZerosOnLine(the same for primitive characters only): for every natural number N with N \ne 0 (instanceNeZero N) and every Dirichlet character \chi modulo N with complex values that is primitive (Mathlib'sDirichletCharacter.: the conductor of \chi equals N), and for every complex number s with 0 < \operatorname{Re} s and \operatorname{Re} s < 1 and L(s, \chi) = 0, one has \operatorname{Re} s = 1/2. Here L(s, \chi) is Mathlib'sIsPrimitive DirichletCharacter., the meromorphic continuation of \sum_{n\ge 1} \chi(n) n^{-s} (for the principal character it has a pole at s = 1, where Mathlib assigns a conventional value); a Dirichlet character modulo N is Mathlib'sLFunction χ s DirichletCharacter ℂ N, a multiplicative map \mathbb{Z}/N \to \mathbb{C} that vanishes off the units, and1is the principal character modulo N (1 on the units, 0 elsewhere).Definition 2.1, p. 2 of The five final theorems, and what one must trust Statement 4, p. 2 of The four statements: the Riemann hypothesis and its generalisation to Dirichlet L-functions
The Lean statement
Statements.lean · line 14 def PrimitiveDirichletLZerosOnLine : Prop :=
What it takes for granted
nothing in the ledger
From Lean's own library · 4 facts
riemannZetaThe Riemann zeta function ζ : ℂ → ℂ: for Re s > 1 the sum ∑_{n≥1} n^{−s}, continued meromorphically to ℂ with a simple pole at s = 1 (Mathlib defines it as the even Hurwitz zeta function at 0); as a Lean function it is defined at every point, also at s = 1.
DirichletCharacterA Dirichlet character modulo N with values in R: a multiplicative character of ℤ/N (a multiplicative map ℤ/N → R sending non-units to 0);
1is the principal character. It is evaluated at integers and natural numbers through the reduction to ℤ/N.DirichletCharacter.LFunction For N ≠ 0 and a Dirichlet character χ modulo N with complex values, s ↦ L(s, χ): for Re s > 1 the series ∑_{n≥1} χ(n)n^{−s}, and its meromorphic continuation elsewhere (entire unless χ is principal; then a simple pole at s = 1, where the Lean function takes a conventional value).
DirichletCharacter.IsPrimitive χ modulo N is primitive when its conductor (the least modulus through which it factors) equals N.
Where it is used
Unit 154 · The inequality (⋆), the one-sided bound for the remainder of the weighted prime sum, the generalised Riemann hypothesis, and the passage to the critical line, Unit 155 · The five final theorems: the Riemann hypothesis and the generalised Riemann hypothesis for Dirichlet L-functions
Its files
1 module
The program check
4 of 4 statements stand at the lines the dossier gives; 0 structured proofs with 0 steps, 0 of them leaves, the longest of 0 lines; 0 steps quote exactly their lines. Checked 2026-11-26T06:51Z.
The check shows that the dossier describes the lines it cites. Whether the English is right is read when a note is written.