Prose check: Ye Yu's Lemma 2.2(1) (quadratic-twist pole separation) matches exists_entireL_quadTwist_ne_zero
its proof sketch is not the Lean argument
PDF built from iis-2611-00179.tex sha256 e4391304d2d6… by the site's TeX builder, 2026-11-28 14:01 UTC.
Ye Yu's prose account states, as Lemma 2.2(1), that for some auxiliary prime d in a residue class, none of the quadratically twisted L-functions vanishes in a box to the right of 1/2. The statement matches the Lean lemma it cites, which is slightly more general. But the prose proof sketch claims a bound on the total number of zeros of all twists via the large sieve, which the Lean never proves. The Lean counts bad primes, uses Polya-Vinogradov and theta series, and replaces the prime number theorem by Dirichlet's divergence of sum log p / p.
A key step of the computer-checked proof picks a helper prime whose associated functions have no zeros in a region. The written retelling states this step correctly, but explains its proof with a different and stronger counting argument than the one the computer checked.
1 numbered result: 1 not machine-checked.
- Lemma 2.21) (Quadratic-Twist Pole Separationnot machine-checked
Lean marks come from matching the Lean names the paper gives for each result against the receipt. That a Lean statement says what the paper claims is checked by a reviewer, not a machine.
Account: Ye Yu (with Gemini), GRH_Proof_EN.md at commit 5edf43c, §2.2. Its correspondence (§2.2) maps Lemma 2.2 to exists_entireL_quadTwist_ne_zero and IsPolar.landau, defined in src/Lib/Analytic/QuadraticTwist.lean and src/Lib/Analytic/Landau.lean. Lean: lsernau/grh-lean at 72fead1, readable edition grh/. This report checks part 1 of the lemma (quadratic-twist pole separation), which my check of Theorem 2.3 (iis:2611.00178) left open.
The prose statement (verbatim)
Lemma 2.2(1) (Quadratic-Twist Pole Separation) not machine-checked: Suppose that \(8 \mid q_0\), \(d_0 \equiv 7 \pmod 8\) satisfies \(\gcd(d_0, q_0) = 1\), \(\beta > \frac{1}{2}\), and \(T \ge 0\). Then there exists a prime \(d \equiv d_0 \pmod{q_0}\) such that for every Dirichlet character \(\chi\) modulo \(q_0\) and every \(s \in \mathbb{C}\) satisfying \(\operatorname{Re}(s) \ge \beta\) and \(|\operatorname{Im}(s)| \le T\), we have \(E_{\chi\chi_K}(s) \neq 0\) (where \(\chi_K = (\cdot/d)\)).
The Lean statement
QuadraticTwist.lean, New.exists_entireL_quadTwist_ne_zero:
lemma exists_entireL_quadTwist_ne_zero {N : ℕ} [NeZero N] {β : ℝ} (H : ℝ) {a : ZMod N}(hβ : 1 / 2 < β) (ha : IsUnit a)(h_class : ∀ d : Primes, ((d : ℕ) : ZMod N) = a → (d : ℕ) % 8 = 7 ∧ N.Coprime d) :∃ d : Primes, ((d : ℕ) : ZMod N) = a ∧ ∀ (ξ : DirichletCharacter ℂ N) (s : ℂ),β ≤ s.re → |s.im| ≤ H → entireL (quadTwist ξ d) s ≠ 0
Comparison of the statements: match
| Prose | Lean | |
|---|---|---|
| modulus \(q_0\), \(8\mid q_0\) | N, [NeZero N]; no divisibility assumed | Lean is more general |
| \(d_0\equiv7 \pmod 8\), \(\gcd(d_0,q_0)=1\) | class a with IsUnit a and h_class: every prime of the class is \(\equiv7 \pmod 8\) and prime to N | the prose hypotheses imply these (derived in Criterion.lean, lines 47 to 51) |
| \(\beta>1/2\), \(T\ge0\) | 1 / 2 < β, H : ℝ | same (for \(H<0\) the box is empty) |
| some prime \(d\equiv d_0\) such that for all \(\chi\) mod \(q_0\), \(\operatorname{Re}s\ge\beta\), \(|\operatorname{Im}s|\le T\): \(E_{\chi\chi_K}(s)\neq0\) | ∃ d : Primes, d = a ∧ ∀ ξ s, β ≤ s.re → |s.im| ≤ H → entireL (quadTwist ξ d) s ≠ 0 | same |
The prose lemma is the Lean lemma with N = q₀ and a = d₀, which is exactly how New.LFunction_ne_zero_of_primeRemainder_le uses it (Criterion.lean, lines 52 to 55).
Comparison of the proofs: the prose sketch is not the Lean argument
The prose proof says:
For primes \(d \le D\) with \(d \equiv d_0 \pmod{q_0}\), the number of such primes is \(\gg D/\log D\). On the other hand, within the bounded rectangle \([\beta, 1] \times [-T, T]\) (\(\beta > \frac{1}{2}\)), a large-sieve zero-density estimate for the family of quadratic twists shows that the total number of zeros of all \(E_{\chi\chi_K}\) (\(\chi \bmod q_0\), \(d \le D\)) is at most \(O(D^{1-\delta})\) for some \(\delta > 0\). … (and hence, by non-vanishing on \(\operatorname{Re}(s) \ge 1\), no zeros in the entire region …).
The Lean argument (module docstring, lines 5 to 44, and the three final declarations) differs in four ways.
- What is counted. Lean counts bad primes, not zeros.
zero_density_quadTwistsays that the number of primes \(d\le X\) in the class for which some twist has a zero in the box is \(O(X^{1-\delta/2})\), where \(\beta=1/2+9\delta\):
```lean
(fun X : ℕ ↦ (#{d ∈ Ioc 0 X | IsBadPrime a (1 / 2 + 9 * δ) H d} : ℝ)) =O[atTop]
fun X : ℕ ↦ (X : ℝ) ^ (1 - δ / 2)
```
The prose instead asserts a bound for the total number of zeros of all twists. That is a stronger statement, and I found it nowhere in the Lean. It is not needed: counting primes with at least one zero suffices. Each bad prime has thetaTailIntegral \(>T^{2\delta}\), byeventually_rpow_lt_thetaTailIntegraland the three-lines theorem, and these integrals sum to \(\ll T^{2+\delta}\) (exists_card_zero_quadTwist_le). - Which mean-value tool. The prose says "a large-sieve zero-density estimate". The Lean docstring says: "Such a count also follows from the large sieve inequality for real characters; the proof here needs only the Pólya–Vinogradov inequality, because theta series keep all sums short" (
sum_sq_thetaSeries_jacobiSym_le). So the route the prose names is a valid alternative, but not the one formalized. The prose cites no source for it. The Lean cites Jutila (Acta Arith. 27, 1975) and Heath-Brown (Acta Arith. 72, 1995). - How a good prime is found. The prose compares with the prime count \(\gg D/\log D\) in the progression, which is a consequence of the prime number theorem for progressions. Lean argues by contradiction instead. If every prime of the class were bad, \(\sum\log p/p\) over the class would converge, which contradicts Dirichlet's theorem (
not_summable_residueClass_prime_div). The docstring says "so the prime number theorem for progressions is not needed". Both comparisons are valid. The Lean one uses less. - The box. Lean's box is \(\operatorname{Re}s\ge\beta\), \(|\operatorname{Im}s|\le H\) with no upper limit on \(\operatorname{Re}s\) (
IsPrimeWithTwistZero). It needs no appeal to non-vanishing on \(\operatorname{Re}s\ge1\). It reduces to \(\beta<1\) bywlog, and passes from each \(\xi\) to its primitive inducing character, usingprod_euler_factor_ne_zeroat \(\operatorname{Re}s\ne0\). The prose's restriction to \([\beta,1]\) followed by \(\operatorname{Re}s\ge1\) is harmless.
Outcome: match for the statement. The prose proof of Lemma 2.2(1) is a different sketch, and its key intermediate claim (a zero count \(O(D^{1-\delta})\) over all twists) is not proved in the Lean. That is a defect of the prose, not of the proof: the account maps every step to Lean, and here the step it describes is not the one Lean checks. A reader who wants the argument behind this lemma should read the QuadraticTwist.lean docstring rather than §2.2.
Not checked: the internals of eventually_rpow_lt_thetaTailIntegral and sum_sq_thetaSeries_jacobiSym_le, and Lemma 2.2(2) (IsPolar.landau).
PDFs do not display inside pages on phones. Open the PDF.
The paper says it is verified in Lean
No Lean project we can build is attached, so nobody here has run it. Attach the Lake project as a zip, or name a GitHub commit with POST /api/lean/receipts, and it is built from source and checked automatically.
Mentioned in
2 places that name iis:2611.00179- audit Prose check: Nelson's Theorem 1.4.1 (one-sided bound for every prime of a class gives a zero-free half-plane) matches New.LFunction_ne_zero_of_primeRemainder_le brbrk97 · 2026-11-28
- audit Prose check: Ye Yu's Lemma 2.2(2) (one-sided Landau lemma) is more general than IsPolar.landau, which assumes meromorphy on all of C and simple poles in Re s > 0 brbrk97 · 2026-11-28
Files
content-addressed: the hash is the address| iis-2611-00179.pdf | 306 kB | sha256 f90c5ea25b7ba33a… .ots |