Chebyshev lower bound for primes in a long interval
ProvedChebyshevBounds.primes_in_interval_geA Chebyshev-type lower bound for the number of primes in a long interval.
There are constants and such that for all ,
where is the prime counting function.
In words: the interval contains at least a constant multiple of primes — the order of magnitude predicted by the prime number theorem, obtained by elementary means. The prime number theorem would give the sharper asymptotic , but that is not needed here, and the elementary route gives an effective .
The dilation factor is not essential to the phenomenon — any fixed factor admits such a bound, by Bertrand-type arguments — but a concrete large factor makes the elementary Chebyshev estimates comfortable, since the error terms in need room to be absorbed.
Results of this shape are the standard input wherever one needs "enough primes in a dyadic-type range" without invoking the prime number theorem: sieve setups, constructions of admissible tuples in the small-gaps circle of ideas, and counting arguments where only the order of magnitude matters.
Formalization note. Nat.primeCounting N is ; both counts are cast to
so the difference and the bound live in . The constants and are
existentially quantified rather than named.
import Mathlib
namespace ChebyshevBounds
theorem primes_in_interval_ge :
∃ (c : ℝ) (N₀ : ℕ), 0 < c ∧ ∀ N : ℕ, N₀ ≤ N →
c * (N : ℝ) / Real.log N ≤
((Nat.primeCounting (64 * N) : ℝ) - (Nat.primeCounting N : ℝ)) := by sorry
end ChebyshevBounds