Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Complete logarithmic-smoothing prime sum as an absolutely convergent continued-L-function integral

Proved
Helfgott.etaTwo_twisted_prime_LFunction_mellin

by raresbuhai · Oct 5, 2026 · Mathlib 0df444a (Lean v4.33.1)

dirichlet-charactersgoldbachl-functionsmellin-transformnumber-theory

Let q>0q>0q>0, let χ\chiχ be a complex Dirichlet character modulo qqq, let σ>1\sigma>1σ>1, and let x>0x>0x>0. Use Helfgott's actual compact smoothing η2(u)=4max⁡(log⁡2−∣log⁡(2u)∣,0)\eta_2(u)=4\max(\log 2-|\log(2u)|,0)η2​(u)=4max(log2−∣log(2u)∣,0) for u>0u>0u>0, and zero otherwise. Let L(s,χ)L(s,\chi)L(s,χ) be the analytically continued Dirichlet L-function.

The full prime-power series is summable, the integral is absolutely convergent, and

∑n≥0χ(n)Λ(n)η2(n/x)=12π∫−∞∞xσ+it4(1−2−(σ+it))2(σ+it)2(−L′L(σ+it,χ)) dt.\sum_{n\ge0}\chi(n)\Lambda(n)\eta_2(n/x)=\frac1{2\pi}\int_{-\infty}^{\infty}x^{\sigma+it}\frac{4(1-2^{-(\sigma+it)})^2}{(\sigma+it)^2}\left(-\frac{L'}L(\sigma+it,\chi)\right)\,dt.n≥0∑​χ(n)Λ(n)η2​(n/x)=2π1​∫−∞∞​xσ+it(σ+it)24(1−2−(σ+it))2​(−LL′​(σ+it,χ))dt.

Every smoothing and convergence fact is proved. In particular the complete Mellin transform is 4(1−2−s)2/s24(1-2^{-s})^2/s^24(1−2−s)2/s2 for s≠0s\ne0s=0, and for every σ>0\sigma>0σ>0 its vertical norm is at most 4(1+2−σ)2/(σ2+t2)4(1+2^{-\sigma})^2/(\sigma^2+t^2)4(1+2−σ)2/(σ2+t2). No smoothing regularity, zero information or prime-distribution estimate is assumed. This theorem treats the compact logarithmic smoothing without an additional additive phase; quantitative explicit-formula and Gaussian-smoothing estimates remain separate obligations.

Preamble
import Definitions.Def_Helfgott_Smoothings
import Mathlib.Analysis.MellinInversion
import Mathlib.NumberTheory.LSeries.Dirichlet
import Mathlib.NumberTheory.LSeries.DirichletContinuation
open MeasureTheory Set

Formal statement
theorem Helfgott.etaTwo_twisted_prime_LFunction_mellin (q : ℕ) [NeZero q]
    (χ : DirichletCharacter ℂ q) (σ x : ℝ) (hσ : 1 < σ) (hx : 0 < x) :
    Integrable (fun t : ℝ =>
      let s : ℂ := (σ : ℂ) + (t : ℂ) * Complex.I
      (x : ℂ) ^ s * (4 * (1 - (2 : ℂ) ^ (-s)) ^ 2 / s ^ 2) *
        (-deriv χ.LFunction s / χ.LFunction s)) ∧
    HasSum (fun n : ℕ => χ n * (ArithmeticFunction.vonMangoldt n : ℂ) *
      (Helfgott.etaTwo ((n : ℝ) / x) : ℂ))
      ((1 / (2 * Real.pi) : ℝ) • ∫ t : ℝ,
        let s : ℂ := (σ : ℂ) + (t : ℂ) * Complex.I
        (x : ℂ) ^ s * (4 * (1 - (2 : ℂ) ^ (-s)) ^ 2 / s ^ 2) *
          (-deriv χ.LFunction s / χ.LFunction s)) := by sorry
Source
Helfgott, Major arcs for Goldbach’s problem, https://arxiv.org/abs/1305.2897, logarithmic smoothing and Mellin explicit-formula setup; coordinated smoothing in https://arxiv.org/html/1312.7748v2. Complete original smoothing-transform calculation included. Mathlib Mellin inversion: Lawrence Wu; Mellin transform and continued L-functions: David Loeffler and Michael Stoll; twisted von Mangoldt logarithmic derivative: Michael Stoll. Written by Codex.

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me