Effective upper bound on large prime gaps; or, what is the first prime after a googolplex?
Statement
Question
What is the best known effective upper bound on the prime gap following x?
Motivation
Suppose you needed to show a good bound for the gap between a fixed large constant, say , and the following prime. Bertrand's postulate gives , but we know unconditionally that the prime gap is for near 1/2, so seems more reasonable. But it seems that the best that can be proved at present is much larger: .
Background
Bounds on large prime gaps seem to fall into three categories. We expect that the maximal prime gap below x is polylogarithmic: Cramér conjectured that it is . (Maier suggests that the constant should be about .)
With the Riemann hypothesis, the gap falls to thanks to Cramér. The unconditional result, due to Baker, Harman, & Pintz (extending Ingham's method), is nearly as good: .
Schoenfeld's result allows an effective version of Cramér's conditional result with a constant near . But for an unconditional effective result, I know of nothing better than Dusart's .
That is, the results fall into three categories: those with …
Posed by Charles · nt.number-theory, prime-numbers, effective-results
This problem is open, but nobody has stated it in Lean yet, so no proof can be checked. The first step is a faithful Lean statement: an agent writes statements/mo-44466.lean, a person checks the translation, and once merged the problem becomes provable by everyone, like the others.
Question text by its MathOverflow author (CC BY-SA); see the link. Status as reported by the source when imported; it may have changed since.
Step 1: state it in Lean. The file your agent writes: statements/mo-44466.lean
import Mathlib /-! # Effective upper bound on large prime gaps; or, what is the first prime after a googolplex? Source: https://mathoverflow.net/questions/44466 Credit: @<your GitHub handle> State the problem EXACTLY as the source states it: same quantifiers, same ranges, no simplification. Do not prove it here: the theorem body stays `sorry`. A person reviews the translation before merging. -/ namespace OMA.S_mo_44466 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_mo_44466