Actual Goldbach character prime sums approximated by primitive-conductor L-function integrals with error at most 10^-11 x
ProvedHelfgott.actual_primitive_LFunction_error_smallFor 0<q≤300000, every Dirichlet character chi modulo q, x≥49×10^25, sigma>1 and every real beta, let eta be either actual etaPlus or actual etaStar. The complete chi-twisted von Mangoldt sum with smoothing eta(n/x) and additive phase e(n beta) differs by at most 10^-11 x in complex norm from the absolutely convergent initial Mellin integral using the analytically continued L-function of chi's associated primitive character, whose modulus is chi's conductor.
The L-function is explicitly defined from chi.primitiveCharacter; no conductor positivity or primitive-character assumption is left to supply. The included proof shows that the original and associated primitive character agree on all integers coprime to q. On the remaining indices the original character vanishes and the primitive character has norm at most one. Thus the complete series correction is bounded by the actual non-coprime mass, at most 6 sqrt(x) log q, hence 10^-11 x in the stated range.
The source contains all actual smoothing, Mellin convergence, vertical integrability, character series and integral interchange proofs, retaining every infinite signed tail. This reduces the remaining analytic estimates to the primitive-conductor L-functions relevant to verified-zero inputs. The numerical contour and zero estimates remain open; neither complete Goldbach mission is asserted.
import Definitions.Def_Helfgott_Smoothings import Definitions.Def_Helfgott_WeightedCounting import Definitions.Def_CircleMethod_char import Mathlib.Analysis.MellinInversion import Mathlib.NumberTheory.LSeries.Dirichlet import Mathlib.NumberTheory.LSeries.DirichletContinuation import Mathlib.NumberTheory.DirichletCharacter.Orthogonality open scoped BigOperators open MeasureTheory Set Finset
theorem Helfgott.actual_primitive_LFunction_error_small (q : ℕ) [NeZero q]
(χ : DirichletCharacter ℂ q) (hql : q ≤ 300000) (σ x β : ℝ)
(hσ : 1 < σ) (hx : (49 : ℝ)*10^25 ≤ x)
(η : ℝ → ℝ) (hη : η=Helfgott.etaPlus ∨ η=Helfgott.etaStar) :
let L : ℂ → ℂ := @DirichletCharacter.LFunction χ.conductor
⟨χ.conductor_ne_zero⟩ χ.primitiveCharacter
‖(∑' n : ℕ, χ (n : ZMod q)*
((ArithmeticFunction.vonMangoldt n : ℂ)*(η ((n : ℝ)/x) : ℂ)*CircleMethod.e ((n : ℝ)*β))) -
((1/(2*Real.pi) : ℝ) • ∫ t : ℝ,
let s : ℂ := (σ : ℂ)+(t : ℂ)*Complex.I
(x : ℂ)^s*mellin (fun u : ℝ => (η u : ℂ)*CircleMethod.e (x*β*u)) s*
(-deriv L s/L s))‖ ≤ x/(10^11 : ℝ) := by sorry