Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Uniform corrected prime-ramp error under change of modulus

Proved
GRH.corrected_prime_ramp_changeLevel_le

by marozols · Nov 21, 2026 · Mathlib 0df444a (Lean v4.33.1)

dirichlet-l-functionsnumber-theoryriemann-hypothesis

Fix a modulus qge1qge 1qge1 and 0<hetale10< hetale 10<hetale1. Write the corrected real ramp of a nonprincipal Dirichlet character chichichi as

G_chi(y)=sum_{1le nle y} Lambda(n)operatorname{Re}chi(n)(y/n-1)_+ + yoperatorname{Re} rac{L'(1,chi)}{L(1,chi)}.

There is a constant C(q,heta)ge0C(q, heta)ge0C(q,heta)ge0 such that for every divisor dmidqdmid qdmidq, every nonprincipal character psimod d and its lift chimod q, and every yge1yge1yge1,

∣Gchi(y)−Gpsi(y)∣leC(q,heta)yheta.|G_chi(y)-G_psi(y)|le C(q, heta)y^ heta.∣Gc​hi(y)−Gp​si(y)∣leC(q,heta)yheta.

The constant is uniform in the inducing modulus and the character. This estimate carries a one-sided window bound from the primitive character to every character it induces.

Preamble
import Mathlib

open Finset ArithmeticFunction Set
Formal statement
namespace GRH

theorem corrected_prime_ramp_changeLevel_le (q : ℕ) [NeZero q] (θ : ℝ)
    (hθ : 0 < θ) (hθ₁ : θ ≤ 1) :
    let R := fun (k : ℕ) [NeZero k] (χ : DirichletCharacter ℂ k) (y : ℝ) =>
      (∑ n ∈ range (⌊y⌋₊+1), vonMangoldt n * (χ (n:ZMod k)).re * max (y/(n:ℝ)-1) 0) +
          y * (deriv χ.LFunction 1 / χ.LFunction 1).re
    ∃ C : ℝ, 0 ≤ C ∧ ∀ (d : ℕ) [NeZero d] (hdq : d ∣ q) (ψ : DirichletCharacter ℂ d),
      ψ ≠ 1 → ∀ y : ℝ, 1 ≤ y →
        |R q (DirichletCharacter.changeLevel hdq ψ) y - R d ψ y| ≤ C*y^θ := by sorry

end GRH
Source
Dirichlet L-function change-of-modulus comparison for the corrected ramp in Levent Alpöge, 20 November 2026, https://alpo.ge/remark.pdf.

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