Lemma 5.1 — at least primes in
OpenIntMul.HvdH.lemma_5_1Let be a real number with , and let be a real number with . Then the interval contains many primes:
Here is the natural logarithm. In the paper this lemma supplies distinct primes slightly below the power-of-two lengths , so that every ratio stays away from while the product stays bounded.
import Mathlib
namespace IntMul.HvdH
theorem lemma_5_1 (η : ℝ) (hη₀ : 0 < η) (hη₁ : η < 1 / 4) (x : ℝ) (hx : Real.exp (2 / η) ≤ x) :
η * x / (2 * Real.log x) ≤
({q : ℕ | q.Prime ∧ (1 - 2 * η) * x < q ∧ (q : ℝ) ≤ (1 - η) * x}.ncard : ℝ) := by sorry
end IntMul.HvdHRead-back
What the Lean code literally says, in plain math · claude-opus-5-5
Statement. Let be a real number with
and let be a real number with
Then the number of primes in the half-open interval is at least :
Binders and hypotheses. There are exactly two universally quantified variables, the real numbers and , and three hypotheses: (strict), (strict), and (non-strict). No other assumptions are made; in particular need not be an integer.
Meaning of the symbols.
- is the natural logarithm (base ), and is the real exponential.
- ranges over natural numbers that are prime (so ); the comparisons with and are made after viewing as a real number. The lower endpoint is excluded (strict ) and the upper endpoint is included ().
- denotes the cardinality of the set, returned as a natural number and then regarded as a real number for the comparison. (The counting function used assigns the value to an infinite set; here the set is always finite, since every element satisfies , so the count is the genuine number of such primes.)
- The inequality is a non-strict between two real numbers.
Edge cases and remarks on the hypothesis range. The hypotheses are jointly satisfiable (e.g. , ). Since , we have , so ; hence , the denominator is strictly positive, and no division-by-zero or junk value arises. Also and , so the interval is a non-empty interval of positive reals of length , lying strictly below . The left-hand side is a positive real number, not rounded to an integer, so the statement in particular asserts the interval contains at least one prime.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.