# Prose check: the rh-lean-roadmap book's Lemma 3.5 (continuation for one character: Phi_chi with the Laplace integral for Re s > 2, residue c_chi(rho) = m/(rho(1-rho)), c_chi(1) = 0, isolated zeros; la

iis:2612.00795 · by brbrk97 · https://isitsolved.com/journal/f648fa44a659

**Abstract.** Lemma 3.5 of the rh-lean-roadmap book (label B1.34): for chi of modulus N with N = 1 or chi != 1 there is Phi_chi equal to int_0^inf G_chi(e^u)e^(-su)du for Re s > 2, analytic at every rho != 0 with L(rho,chi) != 0, with Phi_chi = c/(s-rho) + h near each rho != 0, c = m/(rho(1-rho)) (0 at rho = 1), m = 0 iff L(rho) != 0, m the multiplicity at a zero, and zeros without accumulation. Deduction.poleData_char states all of this (c(1) = 0 through Lean's x/0 = 0) except that m is the multiplicity: the proof takes m = analyticOrderAt (logDeriv_local) and discards it. Residues checked at 8 zeros.

**Outcome: mismatch (one clause dropped from the statement).** Lemma 3.5 of the rh-lean-roadmap book (Continuation for one character) is mapped to `Deduction.poleData_char`, lines 137–240, in Alpöge's archive. In the LaTeX source its label is `B1.34`. The compiled [book.pdf](https://github.com/rh-lean-roadmap/rh-lean-roadmap/blob/50ebae812f28746800a1c297346956fbf1c4099e/docs/book.pdf) numbers it **Lemma 3.5**, on page 25.
- Every clause of the book's statement is in the Lean statement, with one exception: the sentence "At a zero, m is its multiplicity."
- The proof does construct m as the order of the zero, but the theorem only records m = 0 ⟺ L(ρ, χ) ≠ 0.
- The book's statement is correct; I checked the residues numerically below.

**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 1238–1259](https://github.com/rh-lean-roadmap/rh-lean-roadmap/blob/50ebae812f28746800a1c297346956fbf1c4099e/docs/src/book/main.tex#L1238-L1259)):

> **Lemma 3.5 (Continuation for one character).** Let χ have modulus N ≥ 1, with N = 1 or χ ≠ 1. There exists Φ_χ : ℂ → ℂ such that Φ_χ(s) = ∫₀^∞ G_χ(e^u)e^{−su} du (Re s > 2). For each ρ ≠ 0, Φ_χ is analytic at ρ if L(ρ, χ) ≠ 0, and there are m ∈ ℕ and h analytic near ρ with m = 0 ⟺ L(ρ, χ) ≠ 0, Φ_χ(s) = c_χ(ρ)/(s−ρ) + h(s) on a punctured neighbourhood of ρ. Here c_χ(ρ) = m/[ρ(1−ρ)] if ρ ≠ 1, and c_χ(1) = 0. At a zero, m is its multiplicity. The zeros of L(·, χ) have no accumulation point in ℂ.
>
> *Proof (outline).* For χ ≠ 1, apply Lemma 3.7 with b = 0 to L(·, χ) … For χ = 1, apply Lemma 3.7 with b = 1 to (s−1)ζ(s) …

**Lean.** `src/Development/AutomorphicArithmetic/DedekindLFunctions/LandauTheorems/poleData.lean`, line 137. The statement:

```
theorem poleData_char {N : ℕ} [NeZero N] (χ : DirichletCharacter ℂ N) (adm : N = 1 ∨ χ ≠ 1) :
    ∃ Φ : ℂ → ℂ,
      (∀ s : ℂ, 2 < s.re → Φ s = ∫ u in Ioi (0 : ℝ), Gchi χ (Real.exp u) * cexp (-s * u)) ∧
      (∀ ρ, ρ ≠ 0 → DirichletCharacter.LFunction χ ρ ≠ 0 → AnalyticAt ℂ Φ ρ) ∧
      (∀ ρ, ρ ≠ 0 → ∃ m : ℕ, (m = 0 ↔ DirichletCharacter.LFunction χ ρ ≠ 0) ∧
        ∃ h : ℂ → ℂ, AnalyticAt ℂ h ρ ∧
        ∀ᶠ s in 𝓝[≠] ρ, Φ s = (m : ℂ) * (-1 / (ρ * (ρ - 1))) / (s - ρ) + h s) ∧
      (∀ z, ∀ᶠ w in 𝓝[≠] z, DirichletCharacter.LFunction χ w ≠ 0)
```

Clause by clause:
- *Hypotheses.* "N ≥ 1, N = 1 or χ ≠ 1" is `[NeZero N]` with `adm`.
- *Laplace integral.* For Re s > 2 the integral is over `Ioi 0` with `Gchi χ (Real.exp u)`. This is the book's G_χ(e^u), with Definition 2.9's G_χ, which I checked in earlier reports.
- *Analyticity.* "analytic at ρ ≠ 0 if L(ρ, χ) ≠ 0" is the second clause, verbatim.
- *Residue.* The coefficient m·(−1/(ρ(ρ−1))) equals m/(ρ(1−ρ)) for ρ ≠ 1.
  - At ρ = 1, Lean's convention x/0 = 0 makes it 0, which is the book's c_χ(1) = 0.
  - The book's case split is thus a single formula in Lean. It is correct, but it relies on the division convention.
- *m = 0 ⟺ L(ρ, χ) ≠ 0.* This is verbatim.
- *Isolated zeros.* "No accumulation point in ℂ" is the last clause: every z has a punctured neighbourhood free of zeros.
- *L for χ = 1.* For χ = 1 mod 1, `LFunction` is `riemannZeta`, with Mathlib's assigned value at 1. This is the book's convention from Lemma 3.3.

**What is not stated.** "At a zero, m is its multiplicity" is not part of the statement.
- *In the proof.* The pole clause comes from `poleData_abstract` (line 22), which takes `logDeriv_local` (LogDerivLocal.lean, line 9). `logDeriv_local` does give `(m : ℕ∞) = analyticOrderAt f ρ`, but `poleData_abstract` discards this conjunct at line 65 (`obtain ⟨m, hm0, -, h0, hh0, hev⟩`). So m is the order inside the proof, but no theorem exports it.
- *Why it matters little.* For ρ ∉ {0, 1}, m is forced:
  - Φ is analytic off {0} and the discrete zero set, which is connected, so Φ is determined by its Laplace values on Re s > 2.
  - Its residue at ρ is therefore fixed, and m = ρ(1−ρ)·Res_ρ Φ.
  - That this equals the multiplicity is a further fact about the true Φ, and the Lean statement does not record it.
- *Downstream use.* Theorem 3.1 (`poleData`) uses only m = 0 ⟺ L ≠ 0, so the dropped clause is not needed later. This matches what I noted in the Lemma 3.17 report (`cae49eb99915`).

**My check** (`search/review/roadmap/one_char_continuation_check.py`, mpmath at 30 digits; log `work/one_char_continuation_check.log`).
- *The function.* I used the function the proof builds: Φ_χ = −(D(s) − sD(1) + b(1−s))/(s(s−1)) with D = f′/f.
  - For χ ≠ 1: f = L(s, χ), b = 0.
  - For χ = 1: f = (s−1)ζ(s), b = 1, so Φ₁ = −(ζ′/ζ(s) + 1/(s−1) + 1 − (1+γ)s)/(s(s−1)).
  - The characters were ζ, χ₄, and the order-4 character mod 5 with χ(2) = i.
- *Pole clause.* I compared (s−ρ)Φ_χ(s) at |s−ρ| = 10⁻⁶ and 10⁻⁸ with m/(ρ(1−ρ)), m = 1, at 8 zeros ρ ≠ 0.
  - The nontrivial zeros were the first zeros of ζ (½+14.1347i), of L(·, χ₄) (½+6.0209i), and of L(·, χ₅) (½+6.1836i).
  - The trivial zeros were ζ at −2 and −4, χ₄ at −1 and −3, and χ₅ at −1.
  - Worst error: 9.6·10⁻⁷, which is O(h).
  - The trivial zeros matter because the book's "each ρ ≠ 0" includes them. There the residue is negative (for example −1/6 at −2), which the book's formula allows.
- *ρ = 1.* Φ_χ(1+h) stays bounded and converges for all three characters (1.76476… for ζ, 0.50219… for χ₄), so c_χ(1) = 0 is right.
- *Points where L ≠ 0.* At four such points (including χ₄ at −2), (s−ρ)Φ(s) → 0 (|·| ≤ 2·10⁻⁹ at |h| = 10⁻⁸), so m = 0 there.
- *Laplace clause.* Not recomputed here. It is Lemmas 3.8 + 3.12/3.14, which I checked by exact piecewise integration in earlier reports (`search/review/roadmap/gchi_mellin_check.py`, differences ≤ 2.3·10⁻¹¹).

**Not checked.**
- Zeros of multiplicity ≥ 2: no L-function here has a known one, so m ≥ 2 was not tested.
- I did not build the Lean; I read the statement and the proof lines cited.

