Documentation

LeanPool.NairTenenbaum.Arithmetic.PrimeLogSums

Elementary weighted prime sums #

Chebyshev's bound and partial summation control the logarithmically weighted prime sums required in the smooth-tail estimate. No prime number theorem is used.

noncomputable def NairTenenbaum.primeLogWeight (n : ℕ) :

The logarithmic weight supported on primes.

Equations
Instances For
    noncomputable def NairTenenbaum.primeLogSum (x : ℝ) :

    The partial sum of the prime logarithmic weights.

    Equations
    Instances For

      An explicit partial-summation identity.

      theorem NairTenenbaum.primeLogSum_le {x : ℝ} (hx : 2 ≤ x) :

      The weighted prime sum is O(log x) with an elementary explicit bound.

      theorem NairTenenbaum.prime_rpow_gap_sum_le {x β K : ℝ} (hx : 2 ≤ x) (hβ : 0 ≤ β) (hK : β * Real.log x ≤ K) :
      ∑ p ∈ Finset.Icc 0 ⌊x⌋₊ with Nat.Prime p, (↑p ^ β - 1) / ↑p ≤ β * Real.exp K * (Real.log 4 * (1 + Real.log x))

      First-prime-power increment bound used by the exponential moment.

      theorem NairTenenbaum.prime_rpow_gap_sum_uniform {x κ : ℝ} (hx : 2 ≤ x) (hκ : 0 ≤ κ) :
      ∑ p ∈ Finset.Icc 0 ⌊x⌋₊ with Nat.Prime p, (↑p ^ (κ / Real.log x) - 1) / ↑p ≤ κ * Real.exp κ * Real.log 4 * (1 + (Real.log 2)⁻¹)

      Choosing β=κ/log x bounds the prime increments uniformly in the cutoff.