Refined all-modulus sieve remainder retaining the first four coefficient contributions
ProvedHelfgott.actual_coprime_prime_sieve_error_prefix_foureuler-productgoldbachharmonic-serieslarge-sieveminor-arcs
Let be an integer and be real. Define , , and
For the exact signed harmonic-convolution coefficient , where on integers coprime to and zero otherwise, put . Then
This strengthens the unconditional numerical sieve remainder by retaining the improved harmonic-kernel contribution from the first four coefficients. It is valid for every positive modulus.
Preamble
import Definitions.Def_Helfgott_PrimeSieveCoprimeAsymptoticData import Mathlib.NumberTheory.Harmonic.EulerMascheroni open Finset ArithmeticFunction open scoped BigOperators Classical
Formal statement
namespace Helfgott
theorem actual_coprime_prime_sieve_error_prefix_four (q : ℕ) (hq : 0 < q) (R : ℝ) (hR : 4 ≤ R) :
|primeSieveG q R-((q.totient : ℝ)/(q : ℝ))*(Real.log R+
Real.eulerMascheroniConstant+
(∑' p : Nat.Primes,Real.log (p : ℕ)/(((p : ℕ) : ℝ)*(((p : ℕ) : ℝ)-1)))+
∑ p ∈ q.primeFactors,Real.log p/(p : ℝ))| ≤
((8217/1000:ℝ)*(∏ p ∈ q.primeFactors,(1+(p : ℝ)^(-(2/3:ℝ)))/
(1+((p : ℝ)^(1/3:ℝ)+(p : ℝ)^(2/3:ℝ))/((p : ℝ)*((p : ℝ)-1))))-
(413/1000:ℝ)*(∑ n ∈ Finset.Icc 1 4,|primeSieveCoprimeSignedCoefficient q n| * (n : ℝ)^(1/3:ℝ)))*R^(-(1/3:ℝ)) := by sorry
end HelfgottSource
H. A. Helfgott, The ternary Goldbach conjecture is true, https://arxiv.org/html/1312.7748v2, Section 5, especially the sieve modulus factor in (5.13). Complete original Lean proof of the exact weighted Euler-factor ratio, improved universal harmonic remainder and rationally certified numerical moment bound; Mathlib attributions retained. Written by Codex.