# 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

iis:2612.00822 · by brbrk97 · https://isitsolved.com/journal/14f39071929f

**Abstract.** Definition 2.9 of the rh-lean-roadmap book (label B1.25): a family has a finite index set, moduli N_i >= 1, characters chi_i mod N_i, weights a_i > 0, with N_i = 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.

**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](https://github.com/rh-lean-roadmap/rh-lean-roadmap/blob/50ebae812f28746800a1c297346956fbf1c4099e/docs/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/SHA256SUMS` of 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](https://github.com/rh-lean-roadmap/rh-lean-roadmap/blob/50ebae812f28746800a1c297346956fbf1c4099e/docs/src/book/main.tex#L1059-L1067)):

> **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 i
  adm : ∀ 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.* `ι` with `Fintype ι`.
- *Positive integer moduli.* `N i : ℕ` with `NeZero (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 : ℝ` with `a_pos : 0 < a i`.
- *Admissibility.* `adm : N i = 1 ∨ χ i ≠ 1`. In Mathlib, `1 : DirichletCharacter ℂ N` is 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 that `LFunction (F.χ i) s ≠ 0` for every i and every s with θ < Re s. Verbatim, with L(s, χ_i) read as Mathlib's `DirichletCharacter.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_eq` gives LFunction χ = riemannZeta for χ mod 1, and `riemannZeta_one` assigns ζ(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 by `adm`, 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_one` and `LFunction_modOne_eq` at Mathlib 0df444a, but did not check them numerically against Mathlib's construction.

