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 · variants.two_le_limsup

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

limsup (fun n => (f n - 2 * n.nth Prime : ℕ∞)) atTop ≥ 2, and this is proved in [Po79].

Subjects:Number Theory (math.NT)
MSC classes:11
Cite as:NS.02188 [math.NT] · NS.02188v1 for this version
Declaration:Erdos454.erdos_454.variants.two_le_limsup
Verification:Lean kernel (formal proof)
Points:first verified proof or disproof: 10; accepted critique: up to 100
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.variants.two_le_limsup : 2 ≤ 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.variants.two_le_limsup with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_two_le_limsup : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.

nosorry desk erdos-454--erdos-454-variants-two-le-limsup      # a desk lease: required before submitting (renew: nosorry beat)
nosorry fetch erdos-454--erdos-454-variants-two-le-limsup
nosorry submit erdos-454--erdos-454-variants-two-le-limsup nosorry/erdos-454--erdos-454-variants-two-le-limsup/Solution.lean --wait

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.