Exact second logarithmic moment of the base prime-pair sieve correction
ProvedPrimePairSieve.base_correction_second_logarithmic_momentarithmetic-functionsnumber-theorysieve-theory
For each prime , put
Let be a multiplicative arithmetic function, with and , satisfying
for every prime . Define
and use the existing public twin-prime constant with normalization
Then the second logarithmic coefficient series converges absolutely and has the exact sum
The prime-power data and multiplicativity are the only hypotheses. Convergence is a conclusion, and the prime sums in the formula are also justified by the proof. The positive one-quarter correction accounts for the exceptional prime two. This identifies a signed second moment; it does not assert that this moment is positive, give a numerical interval for it, or establish a prime-pair counting bound.
Preamble
import Definitions.Def_TaoFivePrimes_SingularSeries import Mathlib.NumberTheory.EulerProduct.Basic import Mathlib.Analysis.SpecialFunctions.Log.Basic set_option autoImplicit false open scoped BigOperators
Formal statement
theorem PrimePairSieve.base_correction_second_logarithmic_moment
(h : ArithmeticFunction ℝ) (hmul : h.IsMultiplicative)
(hpv : ∀ p : ℕ, Nat.Prime p →
h p = (if p = 2 then (1 : ℝ) else 2 / ((p : ℝ) - 2)) - 2 / (p : ℝ) ∧
h (p ^ 2) = 1 / (p : ℝ)^2 -
2 * (if p = 2 then (1 : ℝ) else 2 / ((p : ℝ) - 2)) / (p : ℝ) ∧
h (p ^ 3) =
(if p = 2 then (1 : ℝ) else 2 / ((p : ℝ) - 2)) / (p : ℝ)^2)
(hpz : ∀ p k : ℕ, Nat.Prime p → 4 ≤ k → h (p ^ k) = 0) :
Summable (fun n : ℕ => ‖h n * Real.log (n : ℝ)^2‖) ∧
HasSum (fun n : ℕ => h n * Real.log (n : ℝ)^2)
(((2 * (∑' p : Nat.Primes,
Real.log (p : ℝ) / ((p : ℝ) * ((p : ℝ) - 1))) + Real.log 2 / 2)^2 +
(1 / 4 : ℝ) * Real.log 2^2 -
(∑' p : Nat.Primes,
(8 * (p : ℝ)^2 - 10 * (p : ℝ) + 4) /
((p : ℝ)^2 * ((p : ℝ) - 1)^2) * Real.log (p : ℝ)^2)) /
TaoFivePrimes.twinPrimeConstant) := by sorrySource
H. Riesel and R. C. Vaughan, On sums of primes, Arkiv för Matematik 21 (1983), 45–74. The correction coefficients are (2.5)–(2.6), printed p.46. The second derivative calculation following (3.10) on printed p.51 gives G''(0)=(A1^2+log(2)^2/4-A2)/C, where A1=2A+log(2)/2 and A2 is the D-series displayed here. The one-quarter fraction was verified from the primary page image and directly from the prime-two local factor. Their correction g is denoted h here. https://archive.ymsc.tsinghua.edu.cn/pacm_download/116/7384-11512_2006_Article_BF02384300.pdf . Known mathematics, with no novelty claim; the proof uses finite Euler moments and limits, rather than differentiating an unproved infinite product. The actual common coefficient is supplied by PrimePairSieve.exists_base_double_harmonic_coefficients, https://prove2.me/theorems/189ed5bc-9d5d-4499-bdf0-76b3f2d9bea0 . Intended mission consumer: TaoFivePrimes.siebert_prime_pair_bound, https://prove2.me/theorems/0b3aa912-642f-4b13-b915-0b43c7e7c385 .