Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Actual minor-arc coefficients, projection error, square energies, and parity sieve factor

Definition
Helfgott_MinorArcData

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

fourier-analysisgoldbachlarge-sieveminor-arcs

For the published actual Goldbach smoothings, put cn(x)=Λ(n)η+(n/x)c_n(x)=\Lambda(n)\eta_+(n/x)cn​(x)=Λ(n)η+​(n/x) and let pn(x)p_n(x)pn​(x) retain precisely the primes n>xn>\sqrt{x}n>x​. Define the complete prime square energy S(x)=∑n∣pn(x)∣2S(x)=\sum_n|p_n(x)|^2S(x)=∑n​∣pn​(x)∣2, discarded square energy E(x)=∑n∣cn(x)−pn(x)∣2E(x)=\sum_n|c_n(x)-p_n(x)|^2E(x)=∑n​∣cn​(x)−pn​(x)∣2, and actual major-arc square energy J(x)=∫M8,150000∣Sη+(α,x)∣2dαJ(x)=\int_{\mathfrak M_{8,150000}}|S_{\eta_+}(\alpha,x)|^2d\alphaJ(x)=∫M8,150000​​∣Sη+​​(α,x)∣2dα. Define the nonnegative smoothing coefficient mass B(x)=∑nΛ(n)η∗(n/x)B(x)=\sum_n\Lambda(n)\eta_*(n/x)B(x)=∑n​Λ(n)η∗​(n/x) and the exact parity sieve factor

K(r,Q)=sup⁡1≤d≤2r, d even1≤s≤2r/dGd(2r/(sd))Gd(2Q/(sd)).K(r,Q)=\sup_{\substack{1\le d\le2r,\ d\text{ even}\\1\le s\le2r/d}}\frac{G_d(2r/(sd))}{G_d(2Q/(sd))}.K(r,Q)=1≤d≤2r, d even1≤s≤2r/d​sup​Gd​(2Q/(sd))Gd​(2r/(sd))​.

These data retain every infinite coefficient sum and every actual parity-dependent circle arc. They organize the large sieve, weighted variable-radius integration, major-arc subtraction, and coefficient perturbation in the minor-arc argument. The definitions assert no convergence or estimate; those are separate theorems.

Definition code
import Definitions.Def_Helfgott_ArcCounting
import Definitions.Def_Helfgott_PrimeSieveData
import Mathlib.Analysis.SpecialFunctions.Sqrt

open MeasureTheory
open scoped BigOperators Classical

namespace Helfgott

noncomputable def minorArcPlusCoefficients (x : ℝ) (n : ℕ) : ℂ :=
  ((ArithmeticFunction.vonMangoldt n*etaPlus ((n : ℝ)/x) : ℝ) : ℂ)

noncomputable def minorArcPrimeCoefficients (x : ℝ) (n : ℕ) : ℂ :=
  if Nat.Prime n ∧ Real.sqrt x < (n : ℝ) then minorArcPlusCoefficients x n else 0

noncomputable def minorArcPrimeSquareEnergy (x : ℝ) : ℝ :=
  ∑' n : ℕ, ‖minorArcPrimeCoefficients x n‖^2

noncomputable def minorArcProjectionSquareError (x : ℝ) : ℝ :=
  ∑' n : ℕ, ‖minorArcPlusCoefficients x n-minorArcPrimeCoefficients x n‖^2

noncomputable def minorArcMajorSquareEnergy (x : ℝ) : ℝ :=
  ∫ α in majorArcs 8 150000 x, ‖coordinatedExpSum etaPlus x α‖^2
    ∂AddCircle.haarAddCircle

noncomputable def minorArcStarMass (x : ℝ) : ℝ :=
  ∑' n : ℕ, ArithmeticFunction.vonMangoldt n*etaStar ((n : ℝ)/x)

noncomputable def parityPrimeSieveFactor (r : ℕ) (Q : ℝ) : ℝ :=
  sSup {t : ℝ | ∃ d : ℕ, 0 < d ∧ Even d ∧ (d : ℝ) ≤ 2*(r : ℝ) ∧ ∃ s : ℝ,
    1 ≤ s ∧ s ≤ 2*(r : ℝ)/(d : ℝ) ∧
      t = primeSieveG d (2*(r : ℝ)/(s*d))/primeSieveG d (2*Q/(s*d))}

end Helfgott
Source
H. A. Helfgott, The ternary Goldbach conjecture is true, https://arxiv.org/html/1312.7748v2, Proposition 5.2, Theorem 6.3, and sections 6.2 and 7.3. Actual published smoothing and arc definitions reused. 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