Documentation

MathlibNt.SieveTheory.Arithmetic.PrimeReciprocalLogScale

Prime reciprocal sums on logarithmic intervals #

This module turns the uniform error term in Mertens' second theorem into the fixed-endpoint limit

∑_{N^a < p ≤ N^b} 1 / p → log (b / a)

for 0 < a < b. Both cutoffs are real powers; the finite carrier uses the floor of the upper cutoff, and the lower endpoint remains strict.

The natural cutoff obtained by flooring the real power N ^ a.

Equations
Instances For

    The reciprocal sum over primes in the real interval N ^ a < p ≤ N ^ b.

    Equations
    Instances For

      A positive real power, restricted to natural inputs and then floored, tends to infinity.

      In particular, the floored power is eventually in the range where the uniform Mertens estimate applies.

      Flooring a positive real power changes it by a relative error tending to zero.

      The logarithm of a floored positive power tends to infinity.

      The first logarithm is unchanged asymptotically by flooring.

      Supporting log--log asymptotic, including the exact log (N ^ a) = a log N algebra: log log floor(N^a) = log a + log log N + o(1).

      The real-cutoff interval sum is exactly the difference of the two Mertens prefixes. Thus the lower endpoint is strict and the upper endpoint is non-strict, with no rounding error term.

      For fixed 0 < a < b, the reciprocal sum over the real interval N^a < p ≤ N^b tends to log (b / a).

      Quantitative eventual form of the fixed-cell limit. It is directly suitable for taking a maximum of the finitely many thresholds belonging to a fixed partition.

      theorem MathlibNt.SieveTheory.PrimeReciprocalLogScale.exists_abs_primeReciprocalLogInterval_sub_lt {a b ε : } (ha : 0 < a) (hab : a < b) ( : 0 < ε) :
      ∃ (N₀ : ), ∀ (N : ), N₀ N|primeReciprocalLogInterval N a b - Real.log (b / a)| < ε

      Threshold form of the quantitative fixed-cell estimate.