A complete exponential-sum bound with Mobius cancellation in both Type I terms
ProvedHelfgott.etaTwo_vonMangoldt_mobius_sieve_upperexplicit-boundsgoldbachminor-arcsselberg-sievevaughan-identity
Let be natural numbers with , , and . Suppose , , , , , and . Write , , , and otherwise. Put
Let and , using the natural-number logarithm equal to zero at zero. For a block put
Then
Here and for , zero otherwise. The Type I and correction bounds preserve resonant Mobius cancellation and include all discretization and nonresonant errors. The estimate is unconditional, with conservative constants and explicit phase-range hypotheses.
Preamble
import Definitions.Def_Helfgott_VaughanData import Mathlib.Algebra.Order.Floor.Ring import Mathlib.Analysis.SpecialFunctions.Sqrt import Mathlib.Data.Nat.Log import Mathlib.Data.Nat.Totient open Helfgott Finset ArithmeticFunction open scoped BigOperators
Formal statement
theorem Helfgott.etaTwo_vonMangoldt_mobius_sieve_upper (U V R q a : ℕ)
(hR : 2≤R) (hRV : R≤V) (hq : 2≤q) (hqU : q≤U) (ha : Nat.Coprime a q)
(y beta : ℝ) (hy : 8≤y) (hUy : 8*(U:ℝ)≤y) (hVy : 4*(V:ℝ)≤y)
(hUV : (U:ℝ)*(V:ℝ)≤y) (hb : (q:ℝ)^2*(V:ℝ)*|beta|≤1)
(hp : (q:ℝ)*(U:ℝ)*(V:ℝ)*|beta|≤1/2) :
let delta := beta*y
let M := if delta=0 then (1:ℝ) else min 1 (18/(Real.pi*delta)^2)
let P := (V:ℝ)*Real.log 4+2*Real.sqrt (V:ℝ)*Real.log V
let K := 36+8*Real.pi*Real.log 2*|delta|
let T1 := y/(q:ℝ)*(Real.log (y/(q:ℝ))*M+Real.log 4)+
((U/q:ℕ):ℝ)*2*((Real.log y+Real.log 4)*K+16*Real.log 2)+
min ((4*Real.log (y+2))*(9*(q:ℝ)^2*(U:ℝ)*(U+1:ℕ)/y))
(288*Real.log (y+2)*(U:ℝ)*(q:ℝ)^2*((U/q+1:ℕ):ℝ)/y)
let TC := (y/(q:ℝ))*M*(Real.log V+Real.log 4+4+Real.log q)+
(U:ℝ)*2*K*P+(72*(U:ℝ)*(q:ℝ)*((U:ℝ)+q)/y)*((V:ℝ)*P)
let J := Nat.log 2 (⌊y/(V+1:ℕ)⌋₊/(U+1))+1
let Q : ℕ → ℕ → ℝ := fun C D =>
let T := ⌊y/(C:ℝ)⌋₊
let A := (4*Real.log 2)^2*y/(C:ℝ)
let B := 224*Real.log 2*(D:ℝ)/y
(Real.log (T+1:ℕ)*(Real.log 4*(T+1:ℕ)+2*Real.sqrt (T+1:ℕ)*Real.log (T+1:ℕ)))*
((D:ℝ)*(∑ d ∈ Icc 1 U, ∑ e ∈ Icc 1 U,
((moebius d:ℤ):ℝ)*((moebius e:ℤ):ℝ)/(Nat.lcm d e:ℝ))+(U:ℝ)^2)*
(((D-C)/q+1:ℕ):ℝ)*(2*A+min (2*B*(q:ℝ)^2) (A+2*(q:ℝ)*Real.sqrt (A*B)))
let S : ℕ → ℕ → ℝ := fun C D =>
let N := ⌊y/(C:ℝ)⌋₊+1
let E := (D:ℝ)*(∑ d ∈ Icc 1 U, ∑ e ∈ Icc 1 U,
((moebius d:ℤ):ℝ)*((moebius e:ℤ):ℝ)/(Nat.lcm d e:ℝ))+(U:ℝ)^2
let A := 16*(Real.log 2)^2*(q:ℝ)*(((D-C)/q+1:ℕ):ℝ)*
((N:ℝ)/((Nat.totient q:ℝ)*Real.log (R:ℝ))+(R:ℝ)^4)*
(1+2*Real.pi*(N:ℝ)*(D:ℝ)*|beta|)^2
Real.sqrt (A*(Real.log (N:ℝ)*Real.log 4*(N:ℝ))*E)+
8*Real.log 2*Real.sqrt (N:ℝ)*Real.log (N:ℝ)*Real.sqrt ((D-C:ℕ):ℝ)*Real.sqrt E
‖expSum (fun n => ((vonMangoldt n*etaTwo ((n:ℝ)/y):ℝ):ℂ))
(((a:ℝ)/(q:ℝ)+beta:ℝ):AddCircle (1:ℝ))‖ ≤ T1+TC+
∑ j ∈ range J, min (Real.sqrt (Q ((U+1)*2^j) ((U+1)*2^(j+1))))
(S ((U+1)*2^j) ((U+1)*2^(j+1))) := by sorrySource
Vaughan identity, quadratic rational kernels, classical finite Selberg sieve and Fourier orthogonality, in the setting of H. A. Helfgott, Minor arcs for Goldbach, https://arxiv.org/html/1205.5252v4. Retained source proofs carry Apache 2.0 attribution to raresbuhai, marwahaha and Gershon Bialer in the standalone certificate. New smoothing factorization, sieve weights, complete phase perturbation and prime-power assembly formalized by Codex.