@@ -26,17 +26,13 @@ $-2, -4, -6, \ldots$. The hypothesis is one of the seven Millennium Prize Proble
2626posed by the Clay Mathematics Institute.
2727
2828The Generalized Riemann Hypothesis extends this to Dirichlet $L$-functions of primitive
29- Dirichlet characters.
30-
31- Note: the **Extended Riemann Hypothesis** (ERH) for Dedekind zeta functions is intentionally
32- **not** stated here. Mathlib's `NumberField.dedekindZeta` is the naive Dirichlet series
33- (`LSeries`), not a meromorphic continuation; outside the region of absolute convergence
34- `tsum` returns junk `0`, producing spurious zeros that make the naive foramlisation of the
35- conjecture provably false. The ERH should be added once Mathlib provides a meromorphic
36- continuation of the Dedekind zeta function.
29+ Dirichlet characters. The Extended Riemann Hypothesis extends it to Dedekind zeta functions of
30+ number fields.
3731
3832*References:*
3933- [ The Clay Institute ] (https://www.claymath.org/wp-content/uploads/2022/05/riemann.pdf)
34+ - L. Alpöge, [ Note on the Riemann Hypothesis ] (https://alpo.ge/remark.pdf), 2026. Announces a
35+ Lean proof of the Riemann Hypothesis and the Generalized Riemann Hypothesis.
4036- [ Wikipedia: Riemann hypothesis ] (https://en.wikipedia.org/wiki/Riemann_hypothesis)
4137- [ Wikipedia: Generalized Riemann hypothesis ] (https://en.wikipedia.org/wiki/Generalized_Riemann_hypothesis)
4238- [ Wikipedia: Dedekind zeta function ] (https://en.wikipedia.org/wiki/Dedekind_zeta_function)
@@ -48,6 +44,7 @@ continuation of the Dedekind zeta function.
4844
4945namespace RiemannHypothesis
5046
47+ set_option linter.style.formal_proof_palomar false in
5148/-- The **Riemann Hypothesis** : all non-trivial zeros of the Riemann zeta function have real
5249part $\frac{1}{2}$. That is, if $\zeta(s) = 0$, $s \neq 1$, and $s$ is not a trivial zero
5350$-2(n+1)$ for some $n \in \mathbb{N}$, then $\operatorname{Re}(s) = \frac{1}{2}$.
@@ -57,7 +54,8 @@ This is the official Millennium Prize Problem as posed by the
5754
5855This uses the `RiemannHypothesis` type from Mathlib, which is defined as
5956`∀ (s : ℂ), riemannZeta s = 0 → (¬∃ n : ℕ, s = -2 * (n + 1)) → s ≠ 1 → s.re = 1 / 2`. -/
60- @ [category research open , AMS 11 ]
57+ @ [category research solved, AMS 11 , formal_proof using lean4 at
58+ "https://github.com/leanprover-community/riemann-hypothesis" ]
6159theorem riemannHypothesis : RiemannHypothesis := by
6260 sorry
6361
@@ -76,10 +74,16 @@ def trivialZeros {q : ℕ} (χ : DirichletCharacter ℂ q) : Set ℤ :=
7674 if χ.Odd then { -2 * n - 1 | (n : ℕ) } else
7775 { - 2 * n | (n : ℕ) }
7876
77+ set_option linter.style.formal_proof_palomar false in
7978/-- The **Generalized Riemann Hypothesis** asserts that all the non-trivial zeros of the
8079Dirichlet $L$-function $L(\chi, s)$ of a primitive Dirichlet character $\chi$ have real part
81- $\frac{1}{2}$. -/
82- @ [category research open , AMS 11 ]
80+ $\frac{1}{2}$.
81+
82+ The linked proof states this for the zeros with $0 < \operatorname{Re}(s) < 1$. Our statement
83+ follows by combining it with the
84+ [ bridge theorem ] (https://github.com/leanprover-community/riemann-hypothesis/blob/d27f71347abceb76cd37dc8a5fccbe556ec2be90/comparator/FormalConjecturesBridge.lean#L152). -/
85+ @ [category research solved, AMS 11 , formal_proof using lean4 at
86+ "https://github.com/leanprover-community/riemann-hypothesis/blob/d27f71347abceb76cd37dc8a5fccbe556ec2be90/src/Main.lean#L54" ]
8387theorem generalized_riemann_hypothesis (q : ℕ) [NeZero q] (χ : DirichletCharacter ℂ q)
8488 (hχ : χ.IsPrimitive) (s : ℂ) (hs : χ.LFunction s = 0 )
8589 (hs_nontrivial : s ∉ Int.cast '' trivialZeros χ) :
@@ -95,16 +99,30 @@ theorem implies_riemannHypothesis :
9599
96100end GRH
97101
98- /- NOTE: Extended Riemann Hypothesis
99- ## Extended Riemann Hypothesis
102+ namespace ERH
100103
101- The ERH for Dedekind zeta functions **cannot** currently be stated correctly because
102- `NumberField.dedekindZeta` in Mathlib is the naive `LSeries`, not the meromorphic
103- continuation. Outside the region of absolute convergence (`re s > 1`), `tsum` returns
104- junk `0` for non-summable series. A statement using the raw `dedekindZeta` therefore has
105- spurious "zeros" that make the conjecture provably **false** .
104+ /-- `Z` is a Dedekind zeta function of the number field `K`: it is holomorphic away from $s = 1$
105+ and agrees with the Dedekind zeta series of `K` on $\operatorname{Re} s > 1$, where that series
106+ converges. Such a `Z` is uniquely determined on $\mathbb{C} \setminus \{ 1\} $.
106107
107- A correct formalisation requires a meromorphic continuation of the Dedekind zeta function
108- (analogous to how `ZMod.LFunction` extends the Dirichlet L-series). Once Mathlib provides
109- this, the ERH should be added back here.
110- -/
108+ Mathlib's `NumberField.dedekindZeta` is only the Dirichlet series. Outside
109+ $\operatorname{Re} s > 1$ it takes the junk value $0$, so we quantify over continuations
110+ instead. -/
111+ def IsDedekindZeta (K : Type *) [Field K] [NumberField K] (Z : ℂ → ℂ) : Prop :=
112+ DifferentiableOn ℂ Z {1 }ᶜ ∧ ∀ s : ℂ, 1 < s.re → Z s = NumberField.dedekindZeta K s
113+
114+ /-- The **Extended Riemann Hypothesis** for a number field $K$: every zero of (the analytic
115+ continuation of) the Dedekind zeta function $\zeta_K$ in the critical strip
116+ $0 < \operatorname{Re} s < 1$ has real part $\frac{1}{2}$. -/
117+ def ExtendedRiemannHypothesis (K : Type *) [Field K] [NumberField K] : Prop :=
118+ ∀ Z : ℂ → ℂ, IsDedekindZeta K Z → ∀ s : ℂ, 0 < s.re → s.re < 1 → Z s = 0 → s.re = 1 / 2
119+
120+ /-- The **Extended Riemann Hypothesis** : for every number field $K$, all zeros of the Dedekind
121+ zeta function $\zeta_K$ in the critical strip $0 < \operatorname{Re} s < 1$ have real part
122+ $\frac{1}{2}$. -/
123+ @ [category research open , AMS 11 ]
124+ theorem extended_riemann_hypothesis (K : Type *) [Field K] [NumberField K] :
125+ ExtendedRiemannHypothesis K := by
126+ sorry
127+
128+ end ERH
0 commit comments