Euler factors and constant for the actual ternary Goldbach singular series
DefinitionHelfgott_SingularSerieseuler-productsgoldbachnumber-theorysingular-series
For a nonnegative integer , let
The ternary singular-series Euler constant is
For odd , the local factor at is . These are the arithmetic factors appearing in the main term of Helfgott's ternary Goldbach circle method. The definitions assert no convergence, equality with a Ramanujan series, or numerical lower bound; those are separate proof obligations.
Definition code
import Mathlib.Data.Nat.Prime.Basic
import Mathlib.Data.Real.Basic
import Mathlib.Topology.Instances.Real.Lemmas
import Mathlib.Topology.Algebra.InfiniteSum.Defs
open scoped BigOperators
namespace Helfgott
/-- Prime local factors of the ternary Goldbach singular series, extended by one
at nonprimes. The sign is determined by whether the prime divides N. -/
noncomputable def singularEulerFactor (N p : ℕ) : ℝ :=
if Nat.Prime p then
if p ∣ N then 1-1/((p:ℝ)-1)^2 else 1+1/((p:ℝ)-1)^3
else 1
/-- The actual ternary singular-series Euler constant. Convergence and numerical
bounds are separate theorem obligations, not assertions of this definition. -/
noncomputable def singularConstant (N : ℕ) : ℝ :=
∏' p : ℕ, singularEulerFactor N p
end Helfgott
Source
H. A. Helfgott, The ternary Goldbach conjecture is true, https://arxiv.org/html/1312.7748v2, §7.2, equation (7.9), and the main term in §3. The local formula agrees with the existing Vino.threePrimeFactor for natural arguments; this definition adds the actual real Euler product used in the coordinated Helfgott analysis. Written by Codex.