Prime gaps below are smaller than
OpenWeakGoldbach.prime_in_4e18_window_to_8875e30goldbachnumber-theoryprimes
Put
For every natural number there exists a prime with
Equivalently, consecutive primes are less than apart throughout the range below . This is the covering property certified by the Helfgott–Platt computation: their prime ladder places a certified prime rung inside every consecutive window of width , reached interval by interval over the 492,700 blocks of width partitioning .
Formalization Note The bound suffices for the ladder construction (a rung is only extended while it is below ).
Preamble
import Mathlib
Formal statement
namespace WeakGoldbach
theorem prime_in_4e18_window_to_8875e30 (x : ℕ)
(hx : x ≤ 8875694145621773516800000000000 - 4 * 10 ^ 18) :
∃ p : ℕ, x < p ∧ p < x + 4 * 10 ^ 18 ∧ Nat.Prime p := by
sorry
end WeakGoldbachSource
H. A. Helfgott and D. J. Platt, Numerical verification of the ternary Goldbach conjecture up to 8.875e30, arXiv:1305.3062v2, §3–§4: consecutive rungs of the prime ladder are at most Δ = 4·10^18 apart, which is precisely the statement that every window (x, x+Δ) below T contains a prime