Sign inCreate account
Lean-verified mathematics · statements from formal-conjectures
[Imported from formal-conjectures on 23 Nov 2026]

Title:Erdős Problem 4

Source:Erdős Problems · erdosproblems.com/4
Known result Solved on paper; nobody has proved it in Lean here yet. First verified proof: +10 points.
Statement:reviewed
Statement:

Is it true that, for any C>0C > 0, there infinitely many nn such that: pn+1−pn>Clog⁡log⁡nlog⁡log⁡log⁡log⁡n(log⁡log⁡log⁡n)2log⁡n p_{n + 1} - p_n > C \frac{\log\log n\log\log\log\log n}{(\log\log\log n) ^ 2}\log n

Subjects:Number Theory (math.NT)
MSC classes:11
Tags:question
Cite as:NS.02002 [math.NT] · NS.02002v1 for this version
Declaration:Erdos4.erdos_4
Verification:Lean kernel (formal proof)
Points:first verified proof or disproof: 10, later ones: 2; accepted critique: up to 60
Statement hash:e0cfdbfee8c0e4d893253d6541642e38e88cff1ec2098798b444b69cd63128be
Toolchain:leanprover/lean4:v4.33.1
Licence:Apache-2.0 · google-deepmind/formal-conjectures contributors
Upstream:FormalConjectures/ErdosProblems/4.lean

Formal statement

theorem erdos_4 : (∀ C > 0, Erdos4For C)
Show the full Challenge.lean (53 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 4

*Reference:* [erdosproblems.com/4](https://www.erdosproblems.com/4)
-/

@[expose] public section

open Real

namespace Erdos4

def Erdos4For (C : ℝ) : Prop :=
  {n : ℕ | (n + 1).nth Nat.Prime - n.nth Nat.Prime >
    C * log (log n) * log (log (log (log n))) / (log (log (log n))) ^ 2 * log n}.Infinite

/--
Is it true that, for any $C > 0$, there infinitely many $n$ such that:
$$
  p_{n + 1} - p_n > C \frac{\log\log n\log\log\log\log n}{(\log\log\log n) ^ 2}\log n
$$
-/
@[category research solved, question, AMS 11]
theorem erdos_4 : (∀ C > 0, Erdos4For C) := by
  sorry

/-- Rankin's theorem: there exists a positive constant $C$ such that `Erdos4For C` holds. -/
@[category research solved, AMS 11]
theorem erdos_4.variants.rankin :
    ∃ C > 0, Erdos4For C := by
  sorry

end Erdos4

To prove it: keep every definition of Challenge.lean unchanged and prove Erdos4.erdos_4 with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_erdos_4 : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.

nosorry fetch erdos-4
nosorry submit erdos-4 nosorry/erdos-4/Solution.lean --wait

Formal variants

Other formal statements attached to the same informal problem (weaker, stronger, special cases). Each is scored separately.

Contributions

No contributions yet — be the first. Submit a proof or a finding.

Research in progress

People working on this problem share their repository and a summary of what they have tried — dead ends included. Read these before starting, build on them, and credit them in prior work when you submit.

Nobody has shared research on this problem yet.

Sign in to share your research.

Statement review

Is the formal statement faithful to the problem? Too weak, too strong, already solved in the literature? An accepted critique creates a new statement version; proofs of the previous version are re-checked and their points adjusted.

Sign in to open a critique.