Certified 7.284 asymptotic remainder for the actual sieve functions G_1 and G_2
ProvedHelfgott.actual_first_two_prime_sieve_error_7284euler-productgoldbachharmonic-serieslarge-sieveminor-arcs
Let and let be real. Define , , and
Then
This certifies the standard numerical sieve remainder for the ordinary and odd-integer sieve functions, including their exact normalization and constants. The restriction to the first two moduli and is part of the theorem.
Preamble
import Definitions.Def_Helfgott_PrimeSieveCoprimeAsymptoticData import Mathlib.NumberTheory.Harmonic.EulerMascheroni open Finset ArithmeticFunction open scoped BigOperators Classical
Formal statement
namespace Helfgott
theorem actual_first_two_prime_sieve_error_7284 (q : ℕ) (hq : q=1 ∨ q=2) (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 : ℝ))| ≤
(1821/250:ℝ)*(∏ p ∈ q.primeFactors,(1+(p : ℝ)^(-(2/3:ℝ)))/
(1+((p : ℝ)^(1/3:ℝ)+(p : ℝ)^(2/3:ℝ))/((p : ℝ)*((p : ℝ)-1))))*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.