A prime `d` in a class whose quadratic twists have no zero in a box
Lib.Analytic.QuadraticTwist.lean
Reading
Upstream documentation written by Claude
Fix a class modulo
Nwhose primes are≡ 7modulo8and prime toN, and a boxre s ≥ β = 1/2 + 9 δ,|im s| ≤ H. A primedof the class is bad (IsBadPrime) if someL(s, ξ (·/d)), withξmoduloN, has a zero in the box. The main estimate is the countzero_density_quadTwist: there areO(X ^ (1 - δ / 2))bad primes up toX. 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.
Copyright 2026 Anthropic, PBC. Apache License 2.0 · Upstream notice.
Rest of upstream introduction
- For a primitive character
χ ≠ 1of conductorq ≤ T²letJ(χ, T)be the integral overu ≥ 1 / Tof|θ_χ(u)| + |θ_{μχ}(u)|againstdu / u(thetaTailIntegral). Ifχhas parityj, the Mellin transform ofθ_χats - 1/2isΓ_j L, and by the functional equation the integral of|θ_χ(u)| du / uoveru < q ^ (-1/2)equals that overu > q ^ (-1/2). The truncated transform𝓜ofθ_{μχ}(mollifier) approximatesΓ_j / Lonre s = 2. - For large
Ta zero in the box forcesJ(χ, T) > T ^ (2 δ)(eventually_rpow_lt_thetaTailIntegral). OtherwiseΓ_j L 𝓜 - Γ_j²is≪ T ^ (4 δ)onre s = 1/2and≪ 1 / Tonre s = 2, so it is small at the zero by the three-lines theorem, while it equals-Γ_j²there. - In the mean over
v ≤ T²the theta series with coefficientsαₙ (-v/n°), wheren°is the odd part ofn, are small (sum_sq_thetaSeries_jacobiSym_le): expand the square, bound the pairs with(n n')°a square trivially and the others by Pólya–Vinogradov. So the sum of theJis≪ T ^ (2 + δ). - By reciprocity
(n/d) = (-d/n°), so 2 and 3 give the count, withT² = N X, after passing fromξto the primitive character that induces it. - If all primes of an invertible class were bad, the sum of
log p / pover the class would converge; it diverges, so some prime of the class is not bad (exists_entireL_quadTwist_ne_zero).
Notions from other files:
gaussianMonomial jis the weightw(z) = z ^ j e^(-π z²)of parityj, andgaussianMellin jis its Mellin transformΓ_j(s) = ∫_0^∞ w(z) z ^ s dz / z.thetaSeries j c uisθ_c(u) = u ^ (1/2) ∑_{n ≥ 1} c(n) w(n u).quadTwist χ dis the characterχ (·/d)moduloN d, forχmoduloNand a primed.
Relation to the literature
Known result: zero density for quadratic twists by mean values over real characters. Sources: Jutila, On mean values of Dirichlet polynomials with real characters, Acta Arith. 27 (1975); Heath-Brown, A mean value estimate for real character sums, Acta Arith. 72 (1995). Form here: a weak density bound for the twists of the characters of a fixed modulus, by a smoothed mean square of Jacobi symbol sums.
Declarations
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
Import route to Main
Lib.Analytic.QuadraticTwist → New.Reduction.Zeros.Criterion (pinned import) → New.Reduction.OneSidedBound (pinned import) → New.Main (pinned import) → Main (pinned import)