|
| 1 | +/- |
| 2 | +Copyright (c) 2026 Huanyu Zheng. All rights reserved. |
| 3 | +Released under Apache 2.0 license as described in the file LICENSE. |
| 4 | +Authors: Huanyu Zheng |
| 5 | +-/ |
| 6 | +module |
| 7 | + |
| 8 | +public import Mathlib.NumberTheory.LSeries.Nonvanishing |
| 9 | + |
| 10 | +/-! |
| 11 | +# Discreteness of the zeros of the Riemann zeta function |
| 12 | +
|
| 13 | +We show that the zeros of the Riemann zeta function form a discrete subset of `ℂ`, |
| 14 | +so that in particular any compact subset of `ℂ` contains only finitely many zeros. |
| 15 | +
|
| 16 | +## Main declarations |
| 17 | +
|
| 18 | +* `riemannZetaZeros`: The zeros of Riemann zeta function. |
| 19 | +
|
| 20 | +## Main results |
| 21 | +
|
| 22 | +* `isClosed_riemannZetaZeros`: `riemannZetaZeros` is closed. |
| 23 | +
|
| 24 | +* `isDiscrete_riemannZetaZeros`: `riemannZetaZeros` is discrete. |
| 25 | +
|
| 26 | +* `IsCompact.inter_riemannZetaZeros_finite`: for any compact set `S : Set ℂ`, the intersection |
| 27 | + `S ∩ riemannZetaZeros` is finite. |
| 28 | +-/ |
| 29 | + |
| 30 | +@[expose] public section |
| 31 | + |
| 32 | +/-- The zeros of Riemann's ζ-function. -/ |
| 33 | +def riemannZetaZeros : Set ℂ := riemannZeta ⁻¹' {0} |
| 34 | + |
| 35 | +lemma mem_riemannZetaZeros {z : ℂ} : |
| 36 | + z ∈ riemannZetaZeros ↔ riemannZeta z = 0 := .rfl |
| 37 | + |
| 38 | +/-- The complement of the zero set of `riemannZeta` is codiscrete within `{1}ᶜ`. -/ |
| 39 | +private lemma riemannZetaZeros_codiscreteWithin_compl_one : |
| 40 | + riemannZetaZerosᶜ ∈ Filter.codiscreteWithin {1}ᶜ := by |
| 41 | + refine analyticOn_riemannZeta.preimage_zero_mem_codiscreteWithin (x := 2) ?_ (by simp) ?_ |
| 42 | + · exact riemannZeta_ne_zero_of_one_le_re Nat.one_le_ofNat |
| 43 | + · exact isConnected_compl_singleton_of_one_lt_rank (by simp) 1 |
| 44 | + |
| 45 | +/-- The complement of the zero set of `riemannZeta` is codiscrete. -/ |
| 46 | +private lemma compl_riemannZetaZeros_mem_codiscrete : |
| 47 | + riemannZetaZerosᶜ ∈ Filter.codiscrete ℂ := by |
| 48 | + have := riemannZetaZeros_codiscreteWithin_compl_one |
| 49 | + simp only [mem_codiscreteWithin, Set.mem_compl_iff, Set.mem_singleton_iff, sdiff_compl, |
| 50 | + Set.inf_eq_inter, Filter.disjoint_principal_right, mem_codiscrete, compl_compl] at this ⊢ |
| 51 | + intro x |
| 52 | + rcases eq_or_ne x 1 with rfl | hx |
| 53 | + · exact riemannZeta_eventually_ne_zero_nhds_one.filter_mono nhdsWithin_le_nhds |
| 54 | + · exact Filter.mem_of_superset (this x hx) |
| 55 | + (by grind [riemannZeta_one_ne_zero, mem_riemannZetaZeros]) |
| 56 | + |
| 57 | +lemma isClosed_riemannZetaZeros : IsClosed riemannZetaZeros := |
| 58 | + by simpa using (mem_codiscrete'.mp compl_riemannZetaZeros_mem_codiscrete).1 |
| 59 | + |
| 60 | +lemma isDiscrete_riemannZetaZeros : IsDiscrete riemannZetaZeros := |
| 61 | + by simpa using (mem_codiscrete'.mp compl_riemannZetaZeros_mem_codiscrete).2 |
| 62 | + |
| 63 | +/-- Any compact subset of `ℂ` contains only finitely many zeros of the Riemann zeta function. -/ |
| 64 | +lemma IsCompact.inter_riemannZetaZeros_finite {S : Set ℂ} (hS : IsCompact S) : |
| 65 | + (S ∩ riemannZetaZeros).Finite := by |
| 66 | + apply (hS.inter_right isClosed_riemannZetaZeros).finite |
| 67 | + exact isDiscrete_riemannZetaZeros.mono Set.inter_subset_right |
| 68 | + |
| 69 | +open Filter in |
| 70 | +lemma tendsto_riemannZeta_cofinite_cocompact : |
| 71 | + Tendsto ((↑) : riemannZetaZeros → ℂ) cofinite (cocompact ℂ) := |
| 72 | + isClosed_riemannZetaZeros.tendsto_coe_cofinite_of_isDiscrete isDiscrete_riemannZetaZeros |
| 73 | + |
| 74 | +end |
0 commit comments