Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Ingham: under Lindelöf, gn≪pn1/2+εg_n\ll p_n^{1/2+\varepsilon}gn​≪pn1/2+ε​

Open
LindelofHypothesis.ingham_primeGap_of_lindelof

by Lucas · Oct 12, 2026 · Mathlib 0df444a (Lean v4.33.1)

analytic-number-theorylindelof-hypothesisriemann-zeta

Let pnp_npn​ be the nnn-th prime and gn=pn+1−png_n=p_{n+1}-p_ngn​=pn+1​−pn​. Assume the Lindelöf hypothesis. Then for every ε>0\varepsilon>0ε>0,

gn≪pn1/2+εg_n\ll p_n^{1/2+\varepsilon}gn​≪pn1/2+ε​

for all sufficiently large nnn, i.e. gn=O(pn1/2+ε)g_n=O(p_n^{1/2+\varepsilon})gn​=O(pn1/2+ε​) as n→∞n\to\inftyn→∞.

This is Ingham's consequence of the Lindelöf hypothesis for gaps between consecutive primes.

Formalization Note RiemannVonMangoldt.LindelofHypothesis is the published definition: for every ε>0\varepsilon>0ε>0, ζ(12+it)=O(tε)\zeta(\tfrac12+it)=O(t^{\varepsilon})ζ(21​+it)=O(tε) as t→+∞t\to+\inftyt→+∞. Primes are indexed from 000 (p0=2p_0=2p0​=2), which does not affect the asymptotic statement.

Preamble
import Mathlib
import Definitions.Def_RiemannVonMangoldt_ZeroCounts
import Definitions.Def_LindelofHypothesis_GrowthAndZeroCounts

open Complex Filter Asymptotics
open scoped ENNReal
Formal statement
namespace LindelofHypothesis

theorem ingham_primeGap_of_lindelof (hL : RiemannVonMangoldt.LindelofHypothesis)
    (ε : ℝ) (hε : 0 < ε) :
    (fun n : ℕ => (primeGap n : ℝ)) =O[atTop] (fun n : ℕ => (Nat.nth Nat.Prime n : ℝ) ^ (1 / 2 + ε)) := by sorry

end LindelofHypothesis
Source
Wikipedia, "Lindelöf hypothesis" (snapshot supplied as Lindelöf_hypothesis.pdf, printed 12 Oct 2026), https://en.wikipedia.org/wiki/Lindel%C3%B6f_hypothesis; section "Other consequences", first displayed formula (result of Albert Ingham).
Human review
  • Endorsed by Shuze Chen · Oct 13, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Lucas · Oct 13, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me