Improved Long Gaps Between Primes #
We prove that, for all sufficiently large X, G(X) >> log(X) * log(log(X))^2 * log(log(log(log(X)))) / log(log(log(X)))^2, where G(X) is the largest gap between consecutive primes not exceeding X. Here, log denotes the natural logarithm and >> denotes a lower bound up to a positive multiplicative constant independent of X.
The main results are short_translates (Proposition 1.2) and
long_gap_theorem (Theorem 1.1). The proof uses weak Mertens estimates,
κ = 1/8, and a larger fixed constant in the auxiliary smoothness cutoff.
The j-fold natural logarithm used in the statement of Theorem 1.1.
Equations
Instances For
The function on the right hand side of Theorem 1.1, without its constant.
Equations
Instances For
The precise conclusion to be proved.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The short-translate assertion of Proposition 1.2.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The coefficient a(d) in (3.1).
Equations
- LongGapsBetweenPrimes.coefficient P d = if d = 1 then 1 else -1 / (LongGapsBetweenPrimes.normalizer P * Real.log ↑d)
Instances For
The normalizer is positive when P > 1.
For P > 1, coefficients at d > 1 are negative.
Exact cancellation, equations (3.2) and (3.5).
The local mean is zero (Section 3.1).
Distinct roots have negative covariance, as used in (3.9).
For squarefree d, its totient is the product of p - 1 over its prime factors.
A_gamma in Lemma 3.1; A is its value at gamma = 0.
Equations
- LongGapsBetweenPrimes.coefficientMoment P γ = ∑ d ∈ P.divisors, LongGapsBetweenPrimes.coefficient P d ^ 2 * ↑d ^ γ / ↑d.totient
Instances For
The absolute coefficient moment over nontrivial divisors.
Equations
Instances For
Expand the coefficient moment at exponent zero.
The divisor one gives a lower bound of one for the coefficient moment.
A squared coefficient times log d equals its normalized absolute value.
Control the change in the squared moment by the absolute moment.
Divisors regarded as a finite index type.
Equations
Instances For
Tuples of k divisors of P.
Equations
Instances For
The product of the divisors in a tuple.
Equations
- LongGapsBetweenPrimes.tupleProduct r = ∏ i : Fin k, ↑(r i)
Instances For
The common truncated region R_k of (3.3).
Equations
- LongGapsBetweenPrimes.tupleRegion P k D = {r : LongGapsBetweenPrimes.DivisorTuple P k | (∀ (i j : Fin k), i ≠ j → (↑(r i)).Coprime ↑(r j)) ∧ ↑(LongGapsBetweenPrimes.tupleProduct r) ≤ D}
Instances For
The diagonal mass attached to one tuple in (3.9).
Equations
- LongGapsBetweenPrimes.tupleMass r = ∏ i : Fin k, LongGapsBetweenPrimes.coefficient P ↑(r i) ^ 2 / ↑(↑(r i)).totient
Instances For
The diagonal mass of a divisor tuple is nonnegative.
Rewrite a sum over divisor indices as a sum over the divisor finset.
The total tuple mass is the kth power of the zero coefficient moment.
The tilted tuple mass factors as a power of the coefficient moment.
The first inequality in (3.10), with no asymptotic assumptions.
Bound powers of a tilted coefficient moment relative to the zero moment.
Row sums away from the diagonal bound the quadratic error from the identity.
The product of selected local basis functions over all coordinates.
Equations
- LongGapsBetweenPrimes.productBasis f σ t = ∏ p : α, f p (σ p) (t p)
Instances For
The residue factor has mean zero.
The residue factor has second moment 1 / (p - 1).
Distinct residue factors have covariance -1 / (p - 1)^2.
The constant function and residue factors scaled to have variance one.
Equations
- LongGapsBetweenPrimes.localBasis root none t = 1
- LongGapsBetweenPrimes.localBasis root (some j) t = √(↑p - 1) * LongGapsBetweenPrimes.residueFactor (root j) t
Instances For
The Gram kernel for the normalized local basis.
Equations
Instances For
The local Gram matrix, with the nonconstant factors normalized to variance one.
The local Gram kernel is symmetric.
The local Gram kernel has diagonal entries equal to one.
The product of local Gram kernels over all coordinates.
Equations
- LongGapsBetweenPrimes.productKernel size σ τ = ∏ p : α, LongGapsBetweenPrimes.localKernel (size p) (σ p) (τ p)
Instances For
The product of local row sums from the proof of (3.9).
Products of local basis functions have Gram kernel productKernel.
The product of coordinate sizes on an assignment's support.
Equations
- LongGapsBetweenPrimes.assignmentProduct size σ = ∏ p ∈ LongGapsBetweenPrimes.assignmentSupport σ, size p
Instances For
The cutoff controls the row sums uniformly, independently of the number of auxiliary primes in P.
The error of counting one congruence class is at most one.
A weighted union bound, stated without a probability-space interface.
Independence of two marked coordinates under a product of normalized masses.
The collision estimate for independently chosen divisors: a common mark in two coordinates costs at most the square of its one-coordinate mass.
Multiplying a nontrivial divisor by a prime decreases the absolute coefficient.
The absolute coefficient moment at exponent zero equals one.
The incidence bound (3.7), with an explicit constant once |a(p)| ≤ 1.
The weighted sum over smooth numbers is bounded by the finite Euler product.
The lower half of the weak Mertens product estimate.
For σ > 1, the finite Euler product is at most 1 + 1 / (σ - 1).
An explicit weak Mertens upper bound, sufficient throughout the proof.
The finite Euler product is positive at every positive exponent.
The finite Euler product decreases as its positive exponent increases.
Primes in the interval (Z, Y].
Equations
Instances For
The product of primes in the interval (Z, Y].
Equations
- LongGapsBetweenPrimes.auxiliaryProduct Z Y = ∏ p ∈ LongGapsBetweenPrimes.auxiliaryPrimes Z Y, p
Instances For
Every auxiliary prime is prime.
The auxiliary prime product is squarefree.
The auxiliary prime product is positive.
Split the Euler product at the lower cutoff Z.
A lower bound for the squarefree-divisor Euler product by a usual Euler product.
The divisor Euler moment is nonnegative.
The negatively tilted divisor Euler moment is continuous.
Integrating the lower Euler-product bound gives a completely finite lower bound for B; no sieve asymptotic is assumed.
A logarithmic lower bound for the auxiliary normalizer.
A nontrivial coefficient has absolute value 1 / (normalizer P * log d).
At exponent zero, the auxiliary divisor moment is an Euler-product ratio.
Bound the auxiliary zero moment by a ratio of logarithms.
Tilting a squarefree divisor moment costs an exponential factor.
Uniformly bound the cost of tilting the auxiliary divisor moment.
Every prime divisor of the auxiliary product is an auxiliary prime.
Every nontrivial auxiliary divisor exceeds the lower cutoff Z.
A normalizer lower bound makes every auxiliary coefficient at most one in magnitude.
The absolute moment bound divided by the normalizer lower bound.
Equations
Instances For
The absolute moment bound is positive for positive b.
The coefficient control constant is positive for positive b.
Bound the auxiliary absolute moment by absoluteMomentBound.
Bound the auxiliary absolute moment by a constant times the normalizer.
The auxiliary prime ranges of Section 3.1, with integral endpoints.
Equations
Instances For
The upper sieve cutoff, rounded down to an integer.
Instances For
The product of primes between the two sieve cutoffs.
Equations
Instances For
A fixed positive lower bound used for the sieve normalizer.
Equations
- LongGapsBetweenPrimes.normalizerLower = 1 / (100 * Real.exp 6)
Instances For
The fixed normalizer lower bound is positive.
Explicit size bounds ensure ordered cutoffs and a uniform normalizer lower bound.
The lower sieve cutoff tends to infinity.
The logarithm of the lower sieve cutoff tends to infinity.
The unconditional positive lower bound for B for the paper's parameters.
The tilt scale reciprocal to the logarithmic upper sieve cutoff.
Equations
Instances For
A common constant controlling the coefficient moments.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The common coefficient constant exceeds one.
The coefficient estimates needed by the finite weighted sieve argument.
The sieve modulus exceeds one.
- squarefree : Squarefree P
The sieve modulus is squarefree.
Every divisor coefficient has absolute value at most one.
The absolute moment is uniformly bounded for tilts up to
2 * β.- moment_control (γ : ℝ) : 0 ≤ γ → γ ≤ 2 * β → coefficientAbsMoment P γ ≤ C * normalizer P
The absolute moment is also controlled relative to the normalizer.
Instances For
The sieve coefficients eventually satisfy all required uniform estimates.
Squared coefficient mass normalized to a probability on divisors.
Equations
Instances For
The normalized divisor mass is nonnegative.
The normalized divisor masses sum to one.
Tuple mass is a fixed scale times the product of the divisor probabilities.
A prime divides a random divisor with probability at most 4 / p.
Failure of pairwise coprimality is witnessed by a shared prime factor.
The discarded mass from tuples sharing a prime, with an explicit constant.
The total diagonal mass over the truncated tuple region.
Equations
Instances For
The total diagonal mass is nonnegative.
The only losses in the diagonal are the product cutoff and shared primes.
Injective indexing bounds the row sum away from the diagonal by the full sum minus one.
Row bounds control the second moment of an indexed sum of product basis functions.
Prime divisors of P regarded as a finite index type.
Equations
Instances For
Assign each used prime to a tuple coordinate containing it.
Equations
- LongGapsBetweenPrimes.tupleAssignment r p = if h : ∃ (i : Fin k), ↑p ∣ ↑(r i) then some (Classical.choose h) else none
Instances For
In a pairwise coprime tuple, a prime is assigned exactly to the coordinate it divides.
A truncated tuple is determined by its prime assignment when P is squarefree.
Regroup a product over assigned primes by tuple coordinates.
Restrict a product over primes dividing P to those dividing d.
The product of pairwise coprime divisors of P divides P.
A prime is assigned precisely when it divides the tuple product.
The product of assigned primes equals the tuple product for squarefree P.
The constant function and unnormalized residue factors.
Equations
- LongGapsBetweenPrimes.rawLocalBasis root none t = 1
- LongGapsBetweenPrimes.rawLocalBasis root (some j) t = LongGapsBetweenPrimes.residueFactor (root j) t
Instances For
Multiplying by the assignment normalizer removes the local basis normalization.
For squarefree d, the product of 1 / (p - 1) equals 1 / φ(d).
A tuple's assignment variance is the product of its reciprocal totients.
The product of coefficients attached to a divisor tuple.
Equations
- LongGapsBetweenPrimes.tupleAmplitude r = ∏ i : Fin k, LongGapsBetweenPrimes.coefficient P ↑(r i)
Instances For
The tuple amplitude rescaled for expansion in the normalized basis.
Equations
- One or more equations did not get rendered due to their size.
Instances For
A normalized tuple coefficient has square equal to its diagonal mass.
The truncated divisor sum weighted by coefficients and local residue factors.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The tuple weight has the diagonal second moment claimed in (3.9).
An explicit exponential bound for the second moment's deviation from the diagonal mass.
The average of f over the integers in [0, T).
Equations
- LongGapsBetweenPrimes.integerAverage T f = (∑ n ∈ Finset.range T, f n) / ↑T
Instances For
Express a periodic average using the frequencies of its residue classes.
Expand the average of a squared weighted sum into pairwise averages.
Pairwise average errors give a quadratic error bound for a squared weighted sum.
The primes in the support of an assignment.
Equations
Instances For
Every assigned prime divides P.
A prime belongs to the assigned set exactly when its assignment is nonempty.
Every element of the assigned prime set is prime.
The product of the assigned primes equals the assignment product.
The product of the assigned primes is positive.
The product of the assigned primes divides P.
The prime factors of the assignment product are exactly the assigned primes.
The root selected by an assignment, with zero at unused primes.
Equations
Instances For
The Chinese remainder theorem realizes all assigned roots in one residue.
A residue encoding the roots selected by an assignment.
Equations
Instances For
The assignment code is smaller than its modulus.
The assignment code has the prescribed residue at each assigned prime.
Distinct local roots make the modulus and residue code determine the assignment.
Encoding an assignment by its modulus and one CRT residue bounds its count.
The truncated tuple region has at most 4 * D ^ 2 elements.
Bound the second-moment averaging error using the periods and number of summands.
The residues of n modulo the prime divisors of P.
Equations
- LongGapsBetweenPrimes.residueVector P n p = ⟨n % ↑p, ⋯⟩
Instances For
The Chinese remainder theorem identifies a full-period average with a product average.
Every residue factor has absolute value at most one.
A product of local basis values bounded by one is bounded by one.
Coefficients bounded by one give tuple amplitudes bounded by one.
Every assigned prime divides the assignment product.
A product basis function depends only on the residue modulo its assignment product.
The truncated tuple sum formed from an arbitrary family of local basis functions.
Equations
- One or more equations did not get rendered due to their size.
Instances For
A D^6/T error is sufficient after taking κ = 1/8 in the final parameter choice.
The residue weight's second-moment averaging error is at most 16 * D ^ 6 / T.
Every divisor tuple has positive product.
Inserting a divisor multiplies the tuple product by that divisor.
Insertion preserves pairwise coprimality iff the new divisor is coprime to the rest.
Characterize truncated-region membership after inserting one divisor.
Split a truncated tuple sum by one coordinate.
The partial coefficient sum over small divisors coprime to m.
Equations
- LongGapsBetweenPrimes.coefficientRemainder P m D = ∑ d ∈ P.divisors with ↑d ≤ D / ↑m ∧ d.Coprime m, LongGapsBetweenPrimes.coefficient P d / ↑d.totient
Instances For
Express the coefficient remainder as a sum over divisor indices.
The local basis product for one divisor and tuple coordinate.
Equations
- LongGapsBetweenPrimes.coordinateBasis f d i t = ∏ p : LongGapsBetweenPrimes.PrimeIndex P, if ↑p ∣ ↑d then f p (some i) (t p) else 1
Instances For
Factor a tuple's product basis function over its coordinates.
Expand a basis weight as a sum of products over tuple coordinates.
The local basis with coordinate i replaced by the constant 1 / (p - 1).
Equations
- LongGapsBetweenPrimes.replacedLocalBasis root i none t = 1
- LongGapsBetweenPrimes.replacedLocalBasis root i (some j_1) t = if j_1 = i then 1 / (↑p - 1) else LongGapsBetweenPrimes.residueFactor (root j_1) t
Instances For
Replacing a coordinate reduces its divisor basis factor to the reciprocal totient.
The residue weight with one marked coordinate replaced by constants.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Split the replaced weight into smaller tuples and coefficient remainders.
Bound the coefficient mass of divisors sharing a prime with m by a prime sum.
A lower bound on prime factors controls their reciprocal sum using log m.
Bound the coefficient remainder by a power tail and an error from shared primes.
The residue weight with an additional weight on each divisor tuple.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Expand the weighted residue sum as a product over tuple coordinates.
Bound the weighted second moment by the Gram factor times its diagonal mass.
A replaced weight is a weight on smaller tuples with coefficient-remainder factors.
Control weighted diagonal mass by tilted and zero coefficient moments.
Bound the squared coefficient remainder by its tail and overlap contributions.
Bound a replaced weight's second moment using tilted and zero coefficient moments.
Avoiding one coordinate's roots makes the original and replaced weights equal.
The replaced weight's second-moment averaging error is at most 16 * D ^ 6 / T.
A second-moment gap yields an integer meeting a root in every coordinate.
Any coefficient-estimate constant is at least one.
A normalized second-moment bound for a replaced residue weight.
Equations
Instances For
The normalized uncovered bound is nonnegative.
Bound a replaced weight's second moment by uncoveredBound times the zero moment.
The normalized diagonal mass loses only a power tail and prime collisions.
The finite weighted sieve, with every numerical loss displayed explicitly.
The divisor-product cutoff exp (x / 8).
Equations
- LongGapsBetweenPrimes.sieveD x = Real.exp (x / 8)
Instances For
Bound the normalized uncovered contribution by an explicit multiple of 1 / x ^ 6.
The numerical sieve error bounds hold for all sufficiently large x.
The density threshold for simultaneously hitting all root families.
Equations
Instances For
The simultaneous-root density threshold is positive.
The simultaneous-root density threshold is less than one half.
For large x, sufficiently small families of distinct roots can be hit simultaneously.
Construct distinct modular roots forcing divisibility of the translated linear forms.
Proposition 1.2, proved with the explicit coefficient construction above.
The sparse-set translation bound of Proposition 1.2.
A uniform geometric factor for the smooth-number estimate.
Instances For
The smooth Euler constant is positive.
The scale constant used to choose the smoothness cutoff and tilt.
Equations
Instances For
The smoothness scale constant is positive.
Bound the cost of shifting the Euler product to exponent 1 - t.
Bound the shifted Euler product using the tilt and the largest prime cutoff.
A finite Euler-product bound for the count of smooth integers up to H.
The logarithmic smoothness cutoff in the covering construction.
Equations
Instances For
The smoothness cutoff in the covering construction, rounded down to an integer.
Equations
Instances For
The small-prime cutoff, given by the integer part of (log x)^4.
Instances For
The Rankin tilt used to count smooth integers.
Equations
Instances For
The smoothness scale constant exceeds ten.
The size, ordering, and tilt bounds for the covering parameters hold eventually.
The chosen cutoffs give an explicit bound for the greedy survival product.
Primes assigned residue zero before the greedy covering step.
Equations
Instances For
Integers in [1, H] surviving the initial zero-residue sieve.
Equations
- LongGapsBetweenPrimes.zeroSurvivors x H = LongGapsBetweenPrimes.survivors (Finset.Icc 1 H) (LongGapsBetweenPrimes.zeroCoverPrimes x) fun (x : ℕ) => 0
Instances For
Combine a zero-residue sieve with greedy choices on a disjoint set of moduli.
A zero-sieve survivor is prime or has all prime factors at most the smoothness cutoff.
The covering length is the integer part of η * coverScale x.
The constant combining the initial sieve and greedy survival bounds.
Equations
Instances For
The combined covering constant is positive.
A covering scale small enough to meet the short-translate density threshold.
Equations
Instances For
The chosen covering scale is positive.
The chosen covering scale is at most one.
The combined covering bound fits within the sieve density threshold.
Eventually, the rounded covering length has the required size and retains half its scale.
The zero-residue and greedy prime sets are disjoint.
For large x, residue classes leave at most sieveDelta * x integers uncovered.
Rescaling by one eighth reduces coverScale by at most a factor of 64 eventually.
The prime-gap scale is the covering scale evaluated at log X.
Theorem 1.1: the unconditional long-gap bound in the paper.
The long-prime-gap statement in the indexed form of Challenge.lean.