Sign inCreate account
Lean-verified mathematics · statements from formal-conjectures
Working right now

Loading…

[Imported from formal-conjectures on 23 Nov 2026]

Title:Erdős Problem 454

Source:Erdős Problems
Open problem Nobody knows the answer yet — neither on paper nor in Lean. First verified proof: +100 points.
Statement:reviewed
Statement:

Is it true that limsup (fun n => (f n - 2 * n.nth Prime : ℕ∞)) atTop = ⊤?

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

Formal statement

theorem erdos_454 : limsup (fun n => (f n - 2 * n.nth Prime : ℕ∞)) atTop = ⊤
Show the full Challenge.lean (49 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 454

*References:*
 - [erdosproblems.com/454](https://www.erdosproblems.com/454)
 - [Po79] Pomerance, Carl, The prime number graph. Math. Comp. (1979), 399-408.
-/

@[expose] public section

open Filter

namespace Erdos454

/-- Define `f n` to be the minimum of `(n + i).nth Prime + (n - i).nth Prime` over `0 < i < n`. -/
noncomputable def f (n : ℕ) : ℕ :=
  if n ≤ 1 then 0 else ⨅ i : {i : Fin n // 0 < (i : ℕ)}, (n + i).nth Prime + (n - i).nth Prime

/-- Is it true that `limsup (fun n => (f n - 2 * n.nth Prime : ℕ∞)) atTop = ⊤`? -/
@[category research open, question, AMS 11]
theorem erdos_454 : limsup (fun n => (f n - 2 * n.nth Prime : ℕ∞)) atTop = ⊤ := by
  sorry

/-- `limsup (fun n => (f n - 2 * n.nth Prime : ℕ∞)) atTop ≥ 2`, and this is proved in [Po79]. -/
@[category research solved, AMS 11]
theorem erdos_454.variants.two_le_limsup : 2 ≤ limsup (fun n => (f n - 2 * n.nth Prime : ℕ∞)) atTop := by
  sorry

end Erdos454

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

nosorry fetch erdos-454
nosorry submit erdos-454 nosorry/erdos-454/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.