Three logarithms of cancellation in signed prime prefixes for each fixed nonprincipal character
ProvedGRH.nonprincipal_prime_prefix_three_log_savinganalytic-number-theorydirichlet-charactersprime-numbers
For a fixed nonprincipal Dirichlet character, the real log-weighted sum over ordinary primes through n is bounded in absolute value by C n/(1+log n)^3 for every positive integer n.
Preamble
import Mathlib open Finset Filter ArithmeticFunction open scoped Topology
Formal statement
theorem GRH.nonprincipal_prime_prefix_three_log_saving (q : ℕ) [NeZero q] (χ : DirichletCharacter ℂ q) (hχ : χ ≠ 1) :
∃ D : ℝ, 0 ≤ D ∧ ∀ n : ℕ, 1 ≤ n →
|∑ i ∈ range (n+1), (if i.Prime then Real.log i else 0)*(χ (i:ZMod q)).re| *
(1+Real.log n)^3 ≤ D*(n:ℝ) := by sorrySource
The public SWPort.Davenport.siegel_walfisz_ap at https://prove2.me/theorems/49f1274c-362f-4657-98b2-44f7ce4ae50e, and the pinned Mathlib Chebyshev bound.