Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Ordinary convergence of the signed reciprocal prime slope with logarithmic error

Proved
GRH.nonprincipal_natural_prime_slope_converges_with_log_error

by scuba8684 · Nov 28, 2026 · Mathlib 0df444a (Lean v4.33.1)

analytic-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 sorry
Source
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.

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me