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
- MathlibNt.SieveTheory.PrimeReciprocalLogScale.primeReciprocalLogInterval N a b = ∑ p ∈ Finset.range (MathlibNt.SieveTheory.PrimeReciprocalLogScale.rpowFloor N b + 1) with Nat.Prime p ∧ ↑N ^ a < ↑p ∧ ↑p ≤ ↑N ^ b, 1 / ↑p
Instances For
A positive real power, restricted to natural inputs and then floored, tends to infinity.
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.
Threshold form of the quantitative fixed-cell estimate.