Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

A stretched exponential boundary estimate for the ordinary signed reciprocal prime sum

Proved
GRH.nonprincipal_reciprocal_prime_boundary_stretched_exponential

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

analytic-number-theorydirichlet-charactersprime-numbers

For each fixed nonprincipal character, both the error in the naturally ordered reciprocal prime slope and the normalized signed prime-counting prefix are bounded together by C exp(-a sqrt(log k)) for all large k.

Preamble
import Mathlib
open Finset Filter ArithmeticFunction
open scoped Topology
Formal statement
theorem GRH.nonprincipal_reciprocal_prime_boundary_stretched_exponential (q : ℕ) [NeZero q] (χ : DirichletCharacter ℂ q) (hχ : χ ≠ 1) :
    let f := fun n : ℕ => (if n.Prime then Real.log n else 0)*(χ (n:ZMod q)).re
    let d := (deriv χ.LFunction 1 / χ.LFunction 1).re +
      ∑' n : ℕ, (if n.Prime then 0 else vonMangoldt n)*(χ (n:ZMod q)).re/n
    ∃ a B : ℝ, 0 < a ∧ 0 ≤ B ∧ ∀ᶠ k : ℕ in atTop,
      |(∑ n ∈ range (k+1), f n/n)+d| + |∑ n ∈ range (k+1), f n|/(k:ℝ) ≤
        B*Real.exp (-a*Real.sqrt (Real.log k)) := by sorry
Source
Quantitative improvement to https://prove2.me/theorems/da66b5eb-7fd4-5384-9f57-6dbdf0704b7d.

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