Ordinary convergence of the signed reciprocal prime slope with logarithmic error
ProvedGRH.nonprincipal_natural_prime_slope_converges_with_log_erroranalytic-number-theorydirichlet-charactersprime-numbers
For each fixed nonprincipal character, summing log(p) Re χ(p)/p over ordinary primes in increasing order converges to the negative corrected slope at one. The error is bounded by C/(1+log k) for every sufficiently large cutoff k.
Preamble
import Mathlib open Finset Filter ArithmeticFunction open scoped Topology
Formal statement
theorem GRH.nonprincipal_natural_prime_slope_converges_with_log_error (q : ℕ) [NeZero q] (χ : DirichletCharacter ℂ q) (hχ : χ ≠ 1) :
let s := fun k : ℕ => ∑ p ∈ range (k+1) with p.Prime, Real.log p*(χ (p:ZMod q)).re/p
let d := (deriv χ.LFunction 1 / χ.LFunction 1).re +
∑' n : ℕ, (if n.Prime then 0 else vonMangoldt n)*(χ (n:ZMod q)).re/n
Tendsto s atTop (𝓝 (-d)) ∧ ∃ C : ℝ, 0 ≤ C ∧ ∀ᶠ k : ℕ in atTop,
|s k+d| ≤ C/(1+Real.log k) := by sorrySource
This identifies the initial signed slope in the prime-window estimates. The positive and negative parts are separately divergent by https://prove2.me/submissions/760c3acf-2000-4014-9a90-2ebcf810b4c5.