Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Uniform actual prime-sum accuracy on the full coordinated major arcs

Definition
Helfgott_MajorPrimeAccuracy

by raresbuhai · Oct 5, 2026 · Mathlib 0df444a (Lean v4.33.1)

circle-methodgoldbachmajor-arcsnumber-theory

At scale xxx, this predicate states uniform rational-arc approximation estimates for the actual coordinated von Mangoldt exponential sums. It covers every odd denominator q≤150000q\le150000q≤150000, every even denominator q≤300000q\le300000q≤300000, every reduced residue aaa, and every scaled phase in [−Rq,Rq][-R_q,R_q][−Rq​,Rq​], where Rq=600000/qR_q=600000/qRq​=600000/q for odd qqq and 1200000/q1200000/q1200000/q for even qqq. The reference main sum is (μ(q)/φ(q))xη^(−β)(\mu(q)/\varphi(q))x\widehat\eta(-\beta)(μ(q)/φ(q))xη​(−β). The errors are at most 10−7x10^{-7}x10−7x for the actual band-limited smoothing η+\eta_+η+​ and 2⋅10−8x2\cdot10^{-8}x2⋅10−8x for the actual Mellin smoothing η∗\eta_*η∗​. All original infinite smoothing tails and prime powers remain. This is a pure predicate: it does not assert that the estimates hold. The estimates themselves are a separate numerical analytic obligation.

Definition code
import Definitions.Def_Helfgott_ArcCounting
import Mathlib.Analysis.Fourier.FourierTransform
import Mathlib.Data.Nat.Totient
import Mathlib.Data.Nat.GCD.Basic

open MeasureTheory Set Finset
open scoped BigOperators

namespace Helfgott

noncomputable def majorPrimeAccuracy (x : ℝ) : Prop :=
  let D := (Finset.Icc 1 150000).filter (fun q => Odd q) ∪
    (Finset.Icc 1 300000).filter (fun q => Even q)
  let R : ℕ → ℝ := fun q => if Odd q then 600000/(q : ℝ) else 1200000/(q : ℝ)
  ∀ q ∈ D, ∀ a ∈ (range q).filter (fun a => Nat.Coprime a q),
    ∀ β ∈ Icc (-(R q)) (R q),
      ‖coordinatedExpSum etaPlus x
        (((a : ℝ)/(q : ℝ)+β/x : ℝ) : AddCircle (1 : ℝ))-
        (((ArithmeticFunction.moebius q : ℤ) : ℂ)/(Nat.totient q : ℂ))*
          ((x : ℂ)*FourierTransform.fourier (fun t : ℝ => (etaPlus t : ℂ)) (-β))‖ ≤ x/10^7 ∧
      ‖coordinatedExpSum etaStar x
        (((a : ℝ)/(q : ℝ)+β/x : ℝ) : AddCircle (1 : ℝ))-
        (((ArithmeticFunction.moebius q : ℤ) : ℂ)/(Nat.totient q : ℂ))*
          ((x : ℂ)*FourierTransform.fourier (fun t : ℝ => (etaStar t : ℂ)) (-β))‖ ≤ 2*x/10^8

end Helfgott
Source
H. A. Helfgott, The ternary Goldbach conjecture is true, https://arxiv.org/html/1312.7748v2, §§3.4 and 7.1–7.2. These deliberately coarse tolerances define sufficient quantitative inputs for a direct reduction to the mission prime-major-model error. Written by Codex.

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