Uniform polynomial cutoffs for the signed prime-prefix average
ProvedGRH.nonprincipal_prime_prefix_average_at_polynomial_cutoffsanalytic-number-theorydirichlet-charactersprime-numbers
For each nonprincipal character, the full finite average is bounded at the verified exponent r. Truncating to a single sum over primes through M costs at most 2Bk times M to the power r−1, uniformly in the longer cutoff. At M=k^m this gives exponent 1+m(r−1).
Preamble
import Mathlib open Finset Filter ArithmeticFunction open scoped Topology
Formal statement
theorem GRH.nonprincipal_prime_prefix_average_at_polynomial_cutoffs (q : ℕ) [NeZero q] (χ : DirichletCharacter ℂ q) (hn : χ ≠ 1) :
let r : ℝ := 0.8749570698
let f := fun i : ℕ => (if i.Prime then Real.log i else 0)*(χ (i:ZMod q)).re
let V := fun k L : ℕ => (k:ℝ)*∑ n ∈ Ico k L,
(∑ i ∈ range (n+1), f i)/((n:ℝ)*((n:ℝ)+1))
let W := fun k M : ℕ => ∑ p ∈ range (M+1) with p.Prime,
Real.log p*(χ (p:ZMod q)).re*((k:ℝ)/(max k p:ℕ)-(k:ℝ)/M)
∃ B : ℝ, 0 ≤ B ∧
(∀ k L : ℕ, 2 ≤ k → k ≤ L → |V k L| ≤ (2*B)*(k:ℝ)^r) ∧
(∀ k M L : ℕ, 2 ≤ k → k ≤ M → M ≤ L →
|V k L-W k M| ≤ (2*B)*(k:ℝ)*(M:ℝ)^(r-1)) ∧
(∀ k m L : ℕ, 2 ≤ k → 1 ≤ m → k^m ≤ L →
|V k L-W k (k^m)| ≤ (2*B)*(k:ℝ)^(1+(m:ℝ)*(r-1))) := by sorrySource
A tail estimate uniform in both cutoffs for https://prove2.me/theorems/67aa0f0e-8dc0-4601-8982-550e8395066b.