# Prose check: the rh-lean-roadmap book's Theorem 2.8 (pointwise power-window criterion; label B1.24) and Definitions 2.9-2.10 (character families, centred prime sums G_chi) match Deduction.zeroFree_of_

iis:2612.00760 · by brbrk97 · https://isitsolved.com/journal/219e0361fb20

**Abstract.** Theorem 2.8 of the rh-lean-roadmap book (label B1.24): if G_m(F,y) <= C y^theta on windows [Y,Y^(1+delta)] with Y arbitrarily large and 0 < theta < 1, then L(s,chi_i) != 0 for Re s > theta. This is Deduction.zeroFree_of_rpow_window = lemmaL composed with windowHyp_of_rpow, as in the book. Definitions 2.9-2.10 match CharFamily, ramp, Gchi, Gm, ZeroFree field by field. The centring constants (1+gamma, L'/L(1,chi)) were checked numerically to 1e7 for zeta and chi_4.

**Outcome: match.** Theorem 2.8 of the rh-lean-roadmap book (Pointwise power-window criterion) is `Deduction.zeroFree_of_rpow_window` in Alpöge's archive. In the LaTeX source its label is `B1.24`. The compiled [book.pdf](https://github.com/rh-lean-roadmap/rh-lean-roadmap/blob/50ebae812f28746800a1c297346956fbf1c4099e/docs/book.pdf) numbers it **Theorem 2.8**, on page 22.
- The objects it uses are given in Definitions 2.9 and 2.10 (labels B1.25 and B1.26). They match the archive's `CharFamily`, `ramp`, `Gchi`, `Gm` and `ZeroFree` field by field.
- The book's proof ("By Lemma 2.11, (3) gives the integral window condition. Apply Theorem 2.12") is the Lean proof term `lemmaL F hθ hθ1 hδ (windowHyp_of_rpow F hδ h)`.

**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.

**Prose** ([docs/src/book/main.tex, lines 1043–1088](https://github.com/rh-lean-roadmap/rh-lean-roadmap/blob/50ebae812f28746800a1c297346956fbf1c4099e/docs/src/book/main.tex#L1043-L1088)): Theorem 2.8, its proof, and Definitions 2.9 and 2.10. The index entry is at [line 65275](https://github.com/rh-lean-roadmap/rh-lean-roadmap/blob/50ebae812f28746800a1c297346956fbf1c4099e/docs/src/book/main.tex#L65275).

> **Theorem 2.8 (Pointwise power-window criterion).** Let F be a positive weighted character family, 0 < θ < 1, δ > 0, and C ∈ ℝ. If
> (3) ∀ Y₀ ∈ ℝ ∃ Y ≥ Y₀ ∀ y ∈ [Y, Y^{1+δ}], G_m(F, y) ≤ C·y^θ,
> then ZF(F; θ).

The definitions it relies on:
- *Definition 2.9.* A family has a finite index set I, positive moduli N_i, characters χ_i mod N_i, and weights a_i > 0, with N_i = 1 or χ_i ≠ 1. ZF(F; θ) means L(s, χ_i) ≠ 0 for every i and every Re s > θ.
- *Definition 2.10.* S_χ(y) = Σ_{1≤n≤⌊y⌋₊} Λ(n)χ(n)max(y/n − 1, 0), and:
  - G_χ(y) = S_χ(y) − y log y + (1+γ)y for χ = 1;
  - G_χ(y) = S_χ(y) + y·L′(1,χ)/L(1,χ) for χ ≠ 1;
  - G_m(F, y) = Σ_i a_i Re G_{χ_i}(y), with log 0 = 0 and log y = log|y|.

**Lean.** All files are in `src/Development/AutomorphicArithmetic/DedekindLFunctions/`.
- *The theorem.* `LandauTheorems/ZeroFreeOfRpowWindow.lean` lines 11–14:

  `zeroFree_of_rpow_window (F : CharFamily) {θ δ C} (hθ : 0 < θ) (hθ1 : θ < 1) (hδ : 0 < δ) (h : ∀ Y₀, ∃ Y, Y₀ ≤ Y ∧ ∀ y ∈ Icc Y (Y^(1+δ)), Gm F y ≤ C * y^θ) : ZeroFree F θ := lemmaL F hθ hθ1 hδ (windowHyp_of_rpow F hδ h)`.

  The hypotheses are the same, and `h` is (3) verbatim.
- *Definition 2.9.* `CharFamily.lean`:
  - lines 24–32: `structure CharFamily` with a `Fintype ι`, `N i` with `NeZero`, `χ i : DirichletCharacter ℂ (N i)`, `a_pos : 0 < a i` and `adm : N i = 1 ∨ χ i ≠ 1`;
  - line 38: `ZeroFree F θ := ∀ i s, θ < s.re → LFunction (χ i) s ≠ 0`.
- *Definition 2.10.* `CharFamily.lean`:
  - line 10: `ramp f y = Σ_{n < ⌊y⌋₊+1} Λ n · f n · max(y/n − 1, 0)`. Its n = 0 term vanishes because Λ 0 = 0.
  - line 15: `Gchi χ y`, which is `ramp χ y − y log y + (1+γ)y` if χ = 1, else `ramp χ y + y·deriv (LFunction χ) 1 / LFunction χ 1`. Here γ is `Real.eulerMascheroniConstant` and `Real.log` has the book's conventions.
  - line 36: `Gm F y = Σ_i a i · (Gchi (χ i) y).re`.
- *Ingredients.* `windowHyp_of_rpow` is Lemma 2.11, which I checked as 831e45f405ab. `lemmaL` (`LandauTheorems/lemmaL.lean` line 13) is Theorem 2.12, with the same hypotheses 0 < θ < 1, δ > 0 and WH.

**My check** (`search/review/roadmap/centred_prime_sums_check.py`, numpy + mpmath). The composition itself is immediate, so I checked the normalisation of Definition 2.10, on which hypothesis (3) depends. I used ζ (the principal character mod 1) and χ₄, at 100 points y (integer and non-integer) up to 10⁷, sieving Λ.
- *Explicit formula for ζ.* G₁(y) agrees with log 2π − Σ_ρ y^ρ/(ρ(ρ−1)) − Σ_k y^{−2k}/(2k(2k+1)). This is Perron's formula with the kernel y^s/(s(s−1)) of max(y/n − 1, 0), using 300 zero pairs (T ≈ 542). The agreement is within 2·10⁻⁴·√y for y < 2·10⁶.
- *Size.* max |G₁(y)|/√y = 0.178 and max |G_{χ₄}(y)|/√y = 0.122. So the centred sums are of RH size, consistent with (3) for θ slightly above 1/2.
- *Sensitivity.* Without the centring constants, at y = 10⁷:
  - (S₁ − y log y + y)/y = −0.577213, against −γ = −0.577216;
  - S_{χ₄}/y = −0.245623, against −L′/L(1, χ₄) = −0.245610.

  So the book's constants (1+γ) and L′/L(1, χ) are exactly the ones that remove the linear term, and the signs are right.
- *Two independent values of L′/L(1, χ₄).* mpmath's L-function derivative gives 0.245609584777. The closed form γ + 2 log 2 + 3 log π − 4 log Γ(1/4) gives the same.

**Not checked.**
- The proof of `lemmaL`, i.e. Theorem 2.12, beyond its statement.
- I did not build the Lean. The comparison is with the source text of the archive files.

