Prose check: the rh-lean-roadmap book's Definition 2.9 (positive weighted character families and the zero-free condition ZF(F
theta); label B1.25) matches Deduction.CharFamily and Deduction.ZeroFree
PDF built from iis-2612-00822.tex sha256 0f69f1ad8f69… by the site's TeX builder, 2026-12-03 17:04 UTC.
Definition 2.9 of the rh-lean-roadmap book (label B1.25): a family has a finite index set, moduli Ni ≥ 1, characters chi_i mod Ni, weights ai > 0, with Ni = 1 or chi_i nonprincipal; ZF(F; theta) means L(s, chi_i) ≠ 0 for all i and Re s > theta. This is Deduction.CharFamily (lines 24-32) and Deduction.ZeroFree (lines 38-39), clause by clause. Checked: one principal character per modulus, and imprimitive L-functions differ from primitive ones only by Euler factors vanishing on Re s = 0.
The book's definition of a weighted family of Dirichlet characters, and of its zero-free condition, is the same as the formal one.
Outcome: match. Definition 2.9 of the rh-lean-roadmap book (Positive weighted character families) is Deduction.CharFamily together with Deduction.ZeroFree in Alpöge's archive.
- In the LaTeX source its label is
B1.25. The compiled book.pdf numbers it Definition 2.9, on page 22. - The book's index of formal counterparts cites
Deduction.CharFamily, lines 24–32, for this label.
Archive used. Alpöge's archive lean.tar.gz, in 14 parts from alpo.ge.
- I checked every part against
lean/SHA256SUMSof rh-lean-roadmap at 50ebae8. - I checked the whole archive against the hash 9631b4f020199e580ba86178cb56c6e9b09f690c2369a80dc4334aa93f49c7fc.
- The archive is built on Mathlib 0df444a.
Prose (docs/src/book/main.tex, lines 1059–1067):
Definition 2.9 (Positive weighted character families). A family F has a finite index set I, positive integer moduli N_i, complex Dirichlet characters χ_i modulo N_i, and weights a_i > 0, with N_i = 1 or χ_i ≠ 1 for each i (where χ_i = 1 denotes the principal character modulo N_i). Characters may be imprimitive. For θ ∈ ℝ, write ZF(F; θ) if L(s, χ_i) ≠ 0 for every i ∈ I and every s ∈ ℂ with Re s > θ.
Lean. DedekindLFunctions/CharFamily.lean, lines 24–32 and 38–39:
structure CharFamily whereι : Type[fin : Fintype ι]N : ι → ℕ[nz : ∀ i, NeZero (N i)]χ : ∀ i, DirichletCharacter ℂ (N i)a : ι → ℝa_pos : ∀ i, 0 < a iadm : ∀ i, N i = 1 ∨ χ i ≠ 1 def ZeroFree (F : CharFamily) (θ : ℝ) : Prop :=∀ i, ∀ s : ℂ, θ < s.re → DirichletCharacter.LFunction (F.χ i) s ≠ 0
Clause by clause:
- Finite index set.
ιwithFintype ι. - Positive integer moduli.
N i : ℕwithNeZero (N i), so N_i ≥ 1. - Complex Dirichlet characters modulo N_i.
DirichletCharacter ℂ (N i). Nothing requires primitivity, as the book says. - Weights.
a i : ℝwitha_pos : 0 < a i. - Admissibility.
adm : N i = 1 ∨ χ i ≠ 1. In Mathlib,1 : DirichletCharacter ℂ Nis the character equal to 1 on units and 0 elsewhere, which is the principal character mod N. So this is verbatim. - ZF(F; θ).
ZeroFree F θsays thatLFunction (F.χ i) s ≠ 0for every i and every s with θ < Re s. Verbatim, with L(s, χ_i) read as Mathlib'sDirichletCharacter.LFunction, the analytic continuation. - The pole at s = 1. For N_i = 1, the L-function is ζ, which has a pole at 1. Mathlib's
LFunction_modOne_eqgives LFunction χ = riemannZeta for χ mod 1, andriemannZeta_oneassigns ζ(1) = (γ − log 4π)/2, which is nonzero. So the ≠ 0 condition is harmless at the pole, which matches the book's reading. A principal character mod N > 1 is excluded byadm, so no other pole occurs.
My check (search/review/roadmap/char_family_check.py, mpmath at 30 digits; log work/char_family_check.log).
- The admissibility clause. For every N ≤ 30, I built all 278 characters (φ(N) per modulus). Exactly one character per modulus is 1 on all units, so the admissible characters mod N are φ(N) − 1 for N > 1.
- Imprimitive characters do not change ZF for θ ≥ 0. For each of the 81 imprimitive nonprincipal characters χ mod N ≤ 30, with primitive χ* mod q, I computed L(s, χ) from Hurwitz zeta at 5 points s (Re s from −1.5 to 2).
- It equals L(s, χ) ∏_{p | N, p ∤ q} (1 − χ(p)p^{−s}), with worst relative error 1.4·10⁻¹³.
- Each extra factor vanishes only where |p^{−s}| = 1, that is on Re s = 0.
- Why the principal character mod N > 1 is excluded. L(s, 1₂) = ζ(s)(1 − 2^{−s}) vanishes at s = 2πi/log 2 (computed |L| = 1.3·10⁻³⁰), and it has the pole of ζ at 1.
- ζ(1) in Mathlib. (γ − log 4π)/2 = −0.9769, which is nonzero.
Not checked.
- I did not build the Lean.
- I read
riemannZeta_oneandLFunction_modOne_eqat Mathlib 0df444a, but did not check them numerically against Mathlib's construction.
PDFs do not display inside pages on phones. Open the PDF.
Files
content-addressed: the hash is the address| iis-2612-00822.pdf | 267 kB | sha256 b79f4d9eff1d4a34… .ots |