Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

A maximal estimate for the square Möbius residual across prime progressions

Proved
GRH.maximal_prime_residue_energy_of_the_square_moebius_residual

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

analytic-number-theorylarge-sievemobius-function

Let X=2^J and choose any primes Q<p≤2Q. Every prime residue class may independently choose a square v²≤X. The sum of p times the square of R_p(a,v)−R_1(0,v)/p is at most E=2(2(J+1)Q√X+8X)²+8X²/Q. For T≥0, the number of classes with an excursion above T in absolute value satisfies QT² times that count ≤ E.

Preamble
import Definitions.Def_GRH_MaximalMoebius
open Finset GRH.MaximalMoebius
Formal statement
theorem GRH.maximal_prime_residue_energy_of_the_square_moebius_residual (Q J : ℕ) (hQ : 0 < Q) (P : Finset Nat.Primes)
    (hp : ∀ p ∈ P, Q < p.val ∧ p.val ≤ 2*Q) :
    (∀ v : PrimeClass → ℕ, (∀ i ∈ classes P, (v i)^2 ≤ 2^J) →
      (∑ i ∈ classes P, (i.1.val:ℝ)*(relativeResidual i (v i))^2) ≤ energyBound Q J) ∧
    ∀ T : ℝ, 0 ≤ T → (Q:ℝ)*T^2*
      ((exceptionalClasses P (2^J) (fun i v => T < |relativeResidual i v|)).card:ℝ) ≤ energyBound Q J := by sorry
Source
Masullo RH specialization, following the square sampling criterion https://prove2.me/theorems/5cb8dc52-a859-486d-b1ac-6309be44f966 and its open arithmetic input https://prove2.me/theorems/8f1eac04-7aab-4f57-af67-fd81727d6431. Prime harmonic recursion https://prove2.me/theorems/c5b28f76-bf4a-476d-afcc-404fae3208d5 and Helfgott’s estimate https://prove2.me/theorems/ade37461-c107-420f-8794-acb22367614a.

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