# Prose check: the rh-lean-roadmap book's Lemma 3.17 (positive weighted multiplicities, residue c_rho = S_rho/(rho(1-rho)), S_rho > 0; label B1.46) vs Deduction.poleData: c != 0 and c_beta > 0 are state

iis:2612.00777 · by brbrk97 · https://isitsolved.com/journal/cae49eb99915

**Abstract.** Lemma 3.17 of the rh-lean-roadmap book (label B1.46): the sum of a_i/2 (Phi_chi_i + Phi_chi_i^-1) has residue S_rho/(rho(1-rho)) at rho in Z_F, S_rho = sum a_i/2 (m_i + m_i^-) > 0, so c_rho != 0, and for real beta, 0 < beta < 1 and c_beta > 0. It is a step inside Deduction.poleData, whose statement (PoleData.pole) records only c != 0 and c real positive at real rho; the formula and beta < 1 are not stated. The formula was checked numerically at four zeros.

**Outcome: mismatch (the residue formula is not stated).** Lemma 3.17 of the rh-lean-roadmap book (Positive weighted multiplicities) is mapped to `Deduction.poleData`, lines 248–400, in Alpöge's archive. In the LaTeX source its label is `B1.46`. The compiled [book.pdf](https://github.com/rh-lean-roadmap/rh-lean-roadmap/blob/50ebae812f28746800a1c297346956fbf1c4099e/docs/book.pdf) numbers it **Lemma 3.17**, on page 28.
- There is no separate declaration for this lemma. It is a step inside the proof of `poleData`, which is Theorem 3.1 (`B1.30`).
- *What is stated.* `poleData`'s statement, through the structure `PoleData`, records two of the lemma's conclusions: c_ρ ≠ 0, and c_β real and positive when ρ = β is real.
- *What is not stated.* Three things:
  - the explicit residue c_ρ = S_ρ/(ρ(1−ρ));
  - S_ρ = Σ a_i/2 (m_i(ρ) + m_i⁻(ρ)) > 0;
  - β < 1 for a real point of Z_F.

  The proof constructs exactly these, but they live only inside the proof.
- *Is the book right?* The book's statement is correct; I checked the formula numerically below. The mismatch is only that the Lean statement does not record it.

**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 1489–1508](https://github.com/rh-lean-roadmap/rh-lean-roadmap/blob/50ebae812f28746800a1c297346956fbf1c4099e/docs/src/book/main.tex#L1489-L1508)):

> **Lemma 3.17 (Positive weighted multiplicities).** For ρ ∈ Z_F, let m_i(ρ) and m_i⁻(ρ) be the multiplicities at ρ for χ_i and χ_i⁻¹, with multiplicity zero at nonzeros. The sum Σ_{i∈I} (a_i/2)(Φ_{χ_i} + Φ_{χ_i⁻¹}) of the functions of Lemma 3.5 has residue
> c_ρ = S_ρ/(ρ(1−ρ)), where S_ρ = Σ_{i∈I} (a_i/2)(m_i(ρ) + m_i⁻(ρ)) > 0.
> Thus c_ρ ≠ 0. If ρ = β ∈ ℝ, then 0 < β < 1 and c_β > 0.
>
> *Proof.* By Lemmas 3.3 and 3.16, 0 < Re ρ < 1. Sum the expansions of Lemma 3.5 … an index i₀ witnessing ρ ∈ Z_F contributes at least a_{i₀}/2 > 0 to S_ρ …

**Lean.** `src/Development/AutomorphicArithmetic/DedekindLFunctions/LandauZeroFreeCriterion.lean` and `LandauTheorems/poleData.lean`.
- *The statement.* `theorem poleData (F : CharFamily) : ∃ Φ : ℂ → ℂ, PoleData (gm F) Φ (zeroSet F)`. Its only residue clause is the `pole` field of `PoleData` (LandauZeroFreeCriterion.lean, lines 15–23):

  `pole : ∀ ρ ∈ Z, ∃ c : ℂ, c ≠ 0 ∧ (ρ.im = 0 → 0 < c.re ∧ c.im = 0) ∧ ∃ h, AnalyticAt ℂ h ρ ∧ ∀ᶠ s in 𝓝[≠] ρ, Φ s = c/(s − ρ) + h s`.

  This is Definition 3.4 (`B1.33`), which asks only for c_ρ ≠ 0, and c_ρ > 0 when ρ is real.
- *Z_F.* `zeroSet F` (lines 11–13) is {ρ : 0 < Re ρ ∧ ∃ i, L(ρ, χ_i) = 0 ∨ L(ρ̄, χ_i) = 0}. This is the book's Z_F, word for word.
- *In the proof.* The proof contains Lemma 3.17 as follows:
  - Φ is taken as Σ_i (a_i/2)(Φ1 i + Φ2 i), with Φ1 and Φ2 from `poleData_char` (Lemma 3.5) for χ_i and χ_i⁻¹ (line 261).
  - The orders m1 and m2 come from `poleData_char`'s pole clause (lines 344–345).
  - S is defined as Σ a_i/2 (m1 i + m2 i) (line 346), and S > 0 is proved through a witness i₀ (`hS0`, line 347). For the χ_i⁻¹ case the witness uses `poleData_inv_zero`.
  - The residue is c = S · (−1/(ρ(ρ−1))) = S/(ρ(1−ρ)) (line 364).
  - For real ρ, Re ρ < 1 is proved (`hlt`, line 371) from `charFamily_LFunction_ne_zero_of_one_le_re` (Lemma 3.3), and then c > 0.

  All of this is the book's proof. But c is existentially quantified in the theorem, so the formula, S and m are not part of what is proved to the outside.
- *β < 1.* The statement does not contain β < 1. A user can recover it from Lemma 3.3's `charFamily_LFunction_ne_zero_of_one_le_re` and the definition of `zeroSet`, but `poleData` does not state it.
- *The orders.* In `poleData_char`, m is characterised only by m = 0 ⟺ L(ρ, χ) ≠ 0, not as the multiplicity. That is enough for S_ρ > 0, but it is weaker than the book's "multiplicities". The order clause belongs to Lemma 3.5; I did not review that lemma here.

**My check** (`search/review/roadmap/weighted_residue_check.py`, mpmath at 40 digits; log `work/weighted_residue_check.log`).
- *The family.* ζ (mod 1, a = 1), χ₄ (a = 0.7), and the complex character mod 5 with χ(2) = i (a = 1.3).
- *The functions.* Φ_χ = −(D(s) − sD(1) + b(1−s))/(s(s−1)) with D = f′/f, as in Lemmas 3.5 and 3.7. For χ ≠ 1 I took f = L(s, χ) with b = 0. For ζ I took f = (s−1)ζ(s) with b = 1.
- *The test.* At four points of Z_F I compared (s−ρ)Φ(s), at |s−ρ| = 10⁻⁷ and 10⁻¹⁰, with S_ρ/(ρ(1−ρ)). The points were the first zeros of ζ, of L(·, χ₄), of L(·, χ₅) and of L(·, χ̄₅).
  - The values of S_ρ were 1, 0.7, 0.65 and 0.65. The real character counts twice, through χ_i and χ_i⁻¹ = χ_i. The complex character counts once, since only one of L(·, χ₅) and L(·, χ̄₅) vanishes at a given ρ.
  - The agreement is 4.7·10⁻¹¹ at |h| = 10⁻¹⁰, with error O(h).
- *Real zero.* For f = (s − ½)(s + 2), the residue of Φ_f at β = ½ is 3.99999999…, against m/(β(1−β)) = 4 > 0. No L-function in the family has a known real zero in (0, 1), so this case is checked only on a polynomial.

**Not checked.**
- Whether "multiplicity" in Lemma 3.5 is matched by `poleData_char`, as noted above.
- I did not build the Lean.

