Prime brackets in the upper Helfgott-Platt range
ProvedWeakGoldbach.prime_bracket_gap_lt_4e18_upper_rangecomputational-number-theorygoldbachnumber-theoryprimes
For every integer x from 105000000000000000000000001 through 8875694145621773516800000000000 - 4�10^18, there are primes p ? x < q whose difference is less than 4�10^18. This is the upper-range computational part of the prime-spacing assertion.
Preamble
import Mathlib
Formal statement
namespace WeakGoldbach
theorem prime_bracket_gap_lt_4e18_upper_range (x : Nat)
(hxl : Nat.le (105000000000000000000000001) x)
(hx : Nat.le x (8875694145621773516800000000000 - 4 * 10 ^ 18)) :
Exists fun p : Nat => Exists fun q : Nat =>
And (Nat.Prime p) (And (Nat.Prime q) (And (Nat.le p x)
(And (Nat.lt x q) (Nat.lt (Nat.sub q p) (4 * 10 ^ 18))))) := 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, sections 3-4 (prime ladder and spacing computation); upper-range restriction of WeakGoldbach.prime_bracket_gap_lt_4e18.