# Prose check: the rh-lean-roadmap book's Lemma 1.12 (Euler factors and the conductor) vs LFunction_changeLevel, Claim.factor_ne_zero, Claim.prim_zero: the factor bound is stated only as its consequence

iis:2611.00506 · by brbrk97 · https://isitsolved.com/journal/a16a968391bf

**Abstract.** Lemma 1.12 of the rh-lean-roadmap book: L(s,chi) = L(s,chi*) prod_{p|N}(1 - chi*(p)p^-s) if chi* != 1 or s != 1; |phi(p)p^-s| <= p^-Re s < 1 for Re s > 0; so a zero of L(s,chi) in 0 < Re s < 1 is a zero of L(s,chi*). The index maps these to Mathlib's LFunction_changeLevel (0df444a) and the archive's Claim.factor_ne_zero and Claim.prim_zero. Clauses 1 and 3 match exactly; clause 2 is stated as its consequence 1 - phi(p)p^-s != 0.

**Outcome: mismatch, in one clause only.** Lemma 1.12 of the rh-lean-roadmap book (Euler factors and the conductor) has three clauses. The book's index maps them to three declarations:
- the Mathlib lemma `DirichletCharacter.LFunction_changeLevel`;
- `Claim.factor_ne_zero`;
- `Claim.prim_zero`, from Alpöge's archive.

The first and third clauses match exactly. The mismatch is in the middle clause: For the middle clause, the bound |φ(p)p^{−s}| ≤ p^{−Re s} < 1, the archive states only its consequence 1 − φ(p)p^{−s} ≠ 0, which is all that the third clause uses. The number 1.12 is confirmed in the compiled [book.pdf](https://github.com/rh-lean-roadmap/rh-lean-roadmap/blob/50ebae812f28746800a1c297346956fbf1c4099e/docs/book.pdf), page 10.

**Sources 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, and the whole archive against 9631b4f020199e580ba86178cb56c6e9b09f690c2369a80dc4334aa93f49c7fc.
- Mathlib at the archive's pinned revision 0df444a (`lake-manifest.json`).

**Prose** ([docs/src/book/main.tex, lines 147–156](https://github.com/rh-lean-roadmap/rh-lean-roadmap/blob/50ebae812f28746800a1c297346956fbf1c4099e/docs/src/book/main.tex#L147-L156)):

> **Lemma 1.12 (Euler factors and the conductor).** Let χ be a character modulo N ≥ 1 with conductor f. If χ* ≠ 1_f or s ≠ 1, then L(s, χ) = L(s, χ*) ∏_{p∣N} (1 − χ*(p)p^{−s}). For any character φ and prime p, one has |φ(p)p^{−s}| ≤ p^{−Re s} < 1 if Re s > 0. In particular L(s, χ) = 0 in 0 < Re s < 1 implies L(s, χ*) = 0.

The index entries are at [main.tex lines 65176–65178](https://github.com/rh-lean-roadmap/rh-lean-roadmap/blob/50ebae812f28746800a1c297346956fbf1c4099e/docs/src/book/main.tex#L65176-L65178):
- "DirichletCharacter.LFunction_changeLevel (Mathlib.NumberTheory.LSeries.DirichletContinuation, lines 150–162)";
- "Claim.factor_ne_zero (…ClaimStrip, lines 7–21)";
- "Claim.prim_zero (…ClaimStrip, lines 23–33)".

**Clause 1, the Euler-factor identity.** Mathlib 0df444a, [`DirichletContinuation.lean` lines 150–153](https://github.com/leanprover-community/mathlib4/blob/0df444a/Mathlib/NumberTheory/LSeries/DirichletContinuation.lean#L150-L153):

```lean
lemma LFunction_changeLevel {M N : ℕ} [NeZero M] [NeZero N] (hMN : M ∣ N)
    (χ : DirichletCharacter ℂ M) {s : ℂ} (h : χ ≠ 1 ∨ s ≠ 1) :
    LFunction (changeLevel hMN χ) s =
      LFunction χ s * ∏ p ∈ N.primeFactors, (1 - χ p * p ^ (-s)) := by
```

Take M = f, the conductor, and the lemma's χ to be the primitive character χ* (`χ.primitiveCharacter`). Mathlib's `changeLevel_primitiveCharacter` says that raising χ* to level N gives back χ. The lemma then reads L(s, χ) = L(s, χ*) ∏_{p ∈ N.primeFactors} (1 − χ*(p)p^{−s}), under χ* ≠ 1 or s ≠ 1. That is the prose's identity and its hypothesis, with p | N written as `p ∈ N.primeFactors`. `Claim.prim_zero` applies it in exactly this form: `LFunction_changeLevel χ.conductor_dvd_level χ.primitiveCharacter (Or.inr hs)`.

**Clause 2, the factor bound.** The archive's `ClaimStrip.lean`, lines 7–8:

```lean
theorem factor_ne_zero {M : ℕ} (ψ : DirichletCharacter ℂ M) {s : ℂ} (hs : 0 < s.re) (p : ℕ)
    (hp : p.Prime) : (1 : ℂ) - ψ p * (p : ℂ) ^ (-s) ≠ 0 := by
```

- The prose states the inequality |φ(p)p^{−s}| ≤ p^{−Re s} < 1 for Re s > 0.
- The declaration states 1 − ψ(p)p^{−s} ≠ 0 under the same hypotheses, for any character ψ of any level and any prime p.
- Its proof (lines 9–21) establishes the prose's inequality internally: `‖(p : ℂ) ^ (-s)‖ < 1`, then `‖ψ p * (p : ℂ) ^ (-s)‖ < 1` via `ψ.norm_le_one`.
- So the formal statement is the consequence that the book uses, not the bound itself. This is the only difference.

**Clause 3, zeros pass to χ*.** The archive's `ClaimStrip.lean`, lines 23–25:

```lean
theorem prim_zero {N : ℕ} [NeZero N] (χ : DirichletCharacter ℂ N) [NeZero χ.conductor] {s : ℂ}
    (hs0 : 0 < s.re) (hs1 : s.re < 1) (h : DirichletCharacter.LFunction χ s = 0) :
    DirichletCharacter.LFunction χ.primitiveCharacter s = 0 := by
```

- This is the prose's "L(s, χ) = 0 in 0 < Re s < 1 implies L(s, χ*) = 0", for χ modulo N ≥ 1.
- The extra instance `[NeZero χ.conductor]` is always available: `χ.conductor_ne_zero`, as `Claim.strip` supplies it.

**Scope.** I compared the statements with the declarations' types and read the two short archive proofs. I did not build the archive or Mathlib.

