Full two-sided actual initial L-function contour tails with explicit polynomial height factor
ProvedHelfgott.actual_right_LFunction_contour_tail_boundFor either actual Goldbach smoothing etaPlus or etaStar, each integer n>=2 and bounded additive phase interval, the sum of the norms of the complete upper and lower initial L-function contour tails beyond height T>0 is at most 40 x^2 C T^(1-n)/(n-1), for a finite nonnegative smoothing constant C. The proof treats every Dirichlet character of positive modulus, including the principal one. It proves a uniform bound 20 for the actual continued L-function negative logarithmic derivative in Re(s)>=3/2, full actual Mellin rapid decay, absolute tail integrability and both complete infinite tail bounds. No prime-series, convergence or tail estimate is assumed. This controls truncation of the actual initial Goldbach Mellin integrals; shifted left/horizontal estimates and verified numerical zero contributions remain separate.
import Definitions.Def_Helfgott_Smoothings import Definitions.Def_CircleMethod_char import Mathlib.Analysis.MellinTransform import Mathlib.NumberTheory.LSeries.DirichletContinuation open MeasureTheory Set Complex
theorem Helfgott.actual_right_LFunction_contour_tail_bound (η : ℝ → ℝ)
(hη : η=Helfgott.etaPlus ∨ η=Helfgott.etaStar) (n : ℕ) (hn : 2 ≤ n) (W x : ℝ) (hx : 0 < x)
(q : ℕ) [NeZero q] (χ : DirichletCharacter ℂ q) :
∃ C : ℝ,0 ≤ C ∧ ∀ δ : ℝ,|δ| ≤ W → ∀ T : ℝ,0 < T →
‖∫ t in Ioi T,(x : ℂ)^((2 : ℂ)+(t : ℂ)*I)*
mellin (fun u : ℝ => (η u : ℂ)*CircleMethod.e (δ*u)) ((2 : ℂ)+(t : ℂ)*I)*
(-deriv χ.LFunction ((2 : ℂ)+(t : ℂ)*I)/χ.LFunction ((2 : ℂ)+(t : ℂ)*I))‖+
‖∫ t in Ioi T,(x : ℂ)^((2 : ℂ)-(t : ℂ)*I)*
mellin (fun u : ℝ => (η u : ℂ)*CircleMethod.e (δ*u)) ((2 : ℂ)-(t : ℂ)*I)*
(-deriv χ.LFunction ((2 : ℂ)-(t : ℂ)*I)/χ.LFunction ((2 : ℂ)-(t : ℂ)*I))‖ ≤
40*x^2*C*T^((1 : ℝ)-(n : ℝ))/((n : ℝ)-1) := by sorry