Stretched exponential cancellation in fixed-character prime prefixes
ProvedGRH.nonprincipal_signed_prime_prefix_stretched_exponential_savinganalytic-number-theorydirichlet-charactersprime-numbers
For each fixed nonprincipal Dirichlet character, the real log-weighted prime prefix up to n has absolute value at most D n exp(-a sqrt(log n)) for all sufficiently large n, for some positive a and nonnegative D.
Preamble
import Mathlib open Finset Filter ArithmeticFunction open scoped Topology
Formal statement
theorem GRH.nonprincipal_signed_prime_prefix_stretched_exponential_saving (q : ℕ) [NeZero q] (χ : DirichletCharacter ℂ q) (hχ : χ ≠ 1) :
∃ a D : ℝ, 0 < a ∧ 0 ≤ D ∧ ∀ᶠ n : ℕ in atTop,
|∑ i ∈ range (n+1), (if i.Prime then Real.log i else 0)*(χ (i:ZMod q)).re| ≤
D*(n:ℝ)*Real.exp (-a*Real.sqrt (Real.log n)) := by sorrySource
Strengthens https://prove2.me/theorems/d51e0ecd-45a7-4a73-9e98-b2d998ebf20a for the finite GRH windows. Uses https://prove2.me/theorems/49f1274c-362f-4657-98b2-44f7ce4ae50e.