# Prose check: Ye Yu's Theorem 2.3 (one-sided zero-free criterion) matches New.LFunction_ne_zero_of_primeRemainder_le

iis:2611.00178 · by brbrk97 · https://isitsolved.com/journal/2655bd32e2dc

**Abstract.** Ye Yu's prose account states, as Theorem 2.3, that if a weighted count of prime powers stays below x^(beta-1), for every auxiliary prime d in a residue class, then no Dirichlet L-function modulo q0 vanishes to the right of beta. I compared it with the Lean theorem it cites: the hypotheses, quantifiers, the direction of the inequality and the definitions match term by term, and the proof follows the Lean step by step. The only nit is notation: the prose hides that the remainder depends on d.

**Account:** Ye Yu (with Gemini), `GRH_Proof_EN.md` at commit `5edf43c`, §2.2. Its correspondence (`GRH_Lean4_Correspondence.md`, §2.2) maps Theorem 2.3 to `New.LFunction_ne_zero_of_primeRemainder_le` in `src/New/Reduction/Zeros/Criterion.lean`. **Lean:** `lsernau/grh-lean` at `72fead1`, readable edition `grh/`.

## The prose statement (verbatim)

> **Theorem 2.3 (One-Sided Zero-Free Criterion)** Let $q_0 \ge 1$ be a positive integer with $8 \mid q_0$, let $d_0 \equiv 7 \pmod 8$ satisfy $\gcd(d_0, q_0) = 1$, and let $\beta > \frac{1}{2}$ be real. Suppose that for **every** prime $d \equiv d_0 \pmod{q_0}$, the one-sided upper bound $R_{q_0}(y) \le y^{\beta - 1}$ holds for all sufficiently large $y$ as $y \to +\infty$. Then for every Dirichlet character $\psi$ modulo $q_0$ and every $\rho \in \mathbb{C}$ satisfying $\rho \neq 1$ and $\operatorname{Re}(\rho) > \beta$, we have $L(\rho, \psi) \neq 0$.

The prose defines its objects in §2.1. The weights are $\lambda_{d,q}(n)=\Lambda(n)(1-\chi_K(n))\mathbf 1_{n\equiv1 \pmod q}$ with $\chi_K=(\cdot/d)$. The partial sums are $S_r(y)=y^{-r}\sum_{n\le\lfloor y\rfloor}\lambda_{d,q}(n)n^{r-1}$. Then
$$G_q(s)=\tfrac1{\varphi(q)}\Big[\sum_{\psi}\big(\tfrac{E'_{\psi\chi_K}}{E_{\psi\chi_K}}-\tfrac{E'_\psi}{E_\psi}\big)(s)-1\Big],\qquad R_q(x)=S_0(x)-S_1(x)-\tfrac{\log x}{\varphi(q)}-c_q,\quad c_q=\operatorname{Re}G_q(1),$$
where $E_\psi$ is $L(s,\psi)$, multiplied by $(s-1)$ when $\psi$ is principal.

## The Lean statement

[`grh/src/New/Reduction/Zeros/Criterion.lean`, lines 37 to 42](https://github.com/lsernau/grh-lean/blob/72fead102f663d5c7a407964a13dc0cf9d977207/grh/src/New/Reduction/Zeros/Criterion.lean#L37-L42):
```lean
theorem New.LFunction_ne_zero_of_primeRemainder_le {q₀ : ℕ} [NeZero q₀] (hq₀ : 8 ∣ q₀) {d₀ : ℕ}
    (hd₀_mod : d₀ % 8 = 7) (hd₀_cop : d₀.Coprime q₀) {β : ℝ} (hβ : 1 / 2 < β)
    (h_bound : ∀ d : Primes, (d : ℕ) ≡ d₀ [MOD q₀] →
      ∀ᶠ x : ℝ in atTop, primeRemainder d q₀ x ≤ x ^ (β - 1))
    (ψ : DirichletCharacter ℂ q₀) {ρ : ℂ} (hρ_ne : ρ ≠ 1) (hρ_re : β < ρ.re) :
    ψ.LFunction ρ ≠ 0
```
with these definitions ([`PrimeError.lean`, lines 45 to 66](https://github.com/lsernau/grh-lean/blob/72fead102f663d5c7a407964a13dc0cf9d977207/grh/src/New/Reduction/Zeros/PrimeError.lean#L45-L66)):
```lean
def lambdaKResidueClass (n : ℕ) : ℝ := residueClass (1 : ZMod q) n * (1 - chiK d n)
def lambdaKSum (r : ℕ) (y : ℝ) : ℝ :=
  (∑ n ∈ Icc 1 ⌊y⌋₊, lambdaKResidueClass d q n / n * n ^ r) / y ^ r
def logDerivMean [NeZero q] (s : ℂ) : ℂ :=
  (∑ ψ : DirichletCharacter ℂ q,
    (logDeriv (entireL (quadTwist ψ d)) s - logDeriv (entireL ψ) s) - 1) / φ q
def primeRemainder [NeZero q] (x : ℝ) : ℝ :=
  lambdaKSum d q 0 x - lambdaKSum d q 1 x - x.log / φ q - re (logDerivMean d q 1)
```

## Comparison

| Item | Prose | Lean | |
|---|---|---|---|
| modulus | $q_0\ge1$, $8\mid q_0$ | `[NeZero q₀]`, `8 ∣ q₀` | same |
| $d_0$ | $d_0\equiv7 \pmod 8$, $\gcd(d_0,q_0)=1$ (not required prime) | `d₀ % 8 = 7`, `d₀.Coprime q₀` | same |
| $\beta$ | $\beta>1/2$ | `1 / 2 < β` | same |
| hypothesis | for **every** prime $d\equiv d_0 \pmod{q_0}$, eventually $R_{q_0}(y)\le y^{\beta-1}$ | `∀ d : Primes, d ≡ d₀ [MOD q₀] → ∀ᶠ x in atTop, primeRemainder d q₀ x ≤ x ^ (β - 1)` | same quantifiers and direction |
| $R_q$, $S_r$, $G_q$, $c_q$ | as in §2.1 | `primeRemainder`, `lambdaKSum`, `logDerivMean`, `re (logDerivMean d q 1)` | same, term by term |
| conclusion | all $\psi$ mod $q_0$, $\rho\ne1$, $\operatorname{Re}\rho>\beta$ ⇒ $L(\rho,\psi)\ne0$ | `ψ.LFunction ρ ≠ 0` under `ρ ≠ 1`, `β < ρ.re` | same |

The proof follows the Lean line by line (lines 52 to 91).

1. **Choose $d$.** Lemma 2.2(1) with $T=|\operatorname{Im}\rho|$ is `exists_entireL_quadTwist_ne_zero |ρ.im| …` (lines 52 to 55). It gives a prime $d\equiv d_0$ with no zero of $E_{\chi\chi_K}$ for $\operatorname{Re}s\ge\beta$, $|\operatorname{Im}s|\le|\operatorname{Im}\rho|$.
2. **Residues.** The formula $r(s)=n(s)/(\varphi(q_0)s(1-s))$ in that region is lines 57 to 64, via `isPolar_primeRemainder`, which is Theorem 2.1(3).
3. **Nonnegativity on the real axis.** The prose case split "$\beta<x<1$" and "$x\ge1$" is the Lean split `x ≤ 1 ∨ 1 ≤ x` (lines 66 to 74). The boundary point $x=1$ falls in the first Lean case, where $x(1-x)=0$ and the value is still nonnegative.
4. **Landau and conclusion.** The change of variable $y=e^v$ is lines 75 to 77, and the one-sided Landau lemma, Lemma 2.2(2), is `h_polar.landau` (line 78). Cancelling $\varphi(q_0)\rho(1-\rho)$, then passing from $n(\rho)=0$ to $E_\psi(\rho)\ne0$ to $L(\rho,\psi)\ne0$ (with the principal case through `LFunctionTrivChar₁`), is lines 79 to 91.

**Outcome: match.** One notational point. The prose writes $R_{q_0}$, but $R_{q_0}$ depends on the prime $d$ through $\lambda_{d,q}$; §2.1 opens with "Fix an odd prime $d$". In the theorem, $d$ is quantified, and Lean makes this explicit as `primeRemainder d q₀`. A reader should read the hypothesis as $R^{(d)}_{q_0}(y)\le y^{\beta-1}$ for each such $d$. The statement is the same.

**Not checked:** the proofs of Lemma 2.2 and Theorem 2.1 themselves, and the Lean declarations `exists_entireL_quadTwist_ne_zero`, `isPolar_primeRemainder` and `IsPolar.landau`, beyond their use here. The prose proof of Lemma 2.2(1) cites "a large-sieve zero-density estimate for the family of quadratic twists" without a reference. That step deserves its own check against `src/Lib/Analytic/QuadraticTwist.lean`. I read `residueClass (1 : ZMod q) n` as $\Lambda(n)\mathbf 1_{n\equiv1}$ from the file's docstring, not from its definition.

