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 428

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

Is there a set A⊆NA\subseteq \mathbb{N} such that, for infinitely many nn, all of n−an-a are prime for all a∈Aa\in A with 0<a<n0 < a < n and lim inf⁡∣A∩[1,x]∣π(x)>0?\liminf\frac{\lvert A\cap [1,x]\rvert}{\pi(x)}>0?

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

Formal statement

theorem erdos_428 :
    ∃ A : Set ℕ,
      (∃ᶠ n in atTop, ∀ a ∈ A, 0 < a → a < n → (n - a).Prime) ∧
      liminf (fun n ↦ primeDensityRatio A n) atTop > 0
Show the full Challenge.lean (50 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 428

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

@[expose] public section

open Nat Filter Set

namespace Erdos428

/--
The density ratio of set $A$ up to $n$ relative to the prime counting function $\pi(n)$.
-/
noncomputable def primeDensityRatio (A : Set ℕ) (n : ℕ) : ℝ :=
  (A ∩ Icc 1 n).ncard / (primeCounting n)

/--
Is there a set $A\subseteq \mathbb{N}$ such that, for infinitely many $n$, all of $n-a$
are prime for all $a\in A$ with $0 < a < n$ and $$\liminf\frac{\lvert A\cap [1,x]\rvert}{\pi(x)}>0?$$
-/
@[category research open, question, AMS 11]
theorem erdos_428 :
    ∃ A : Set ℕ,
      (∃ᶠ n in atTop, ∀ a ∈ A, 0 < a → a < n → (n - a).Prime) ∧
      liminf (fun n ↦ primeDensityRatio A n) atTop > 0 := by
  sorry

end Erdos428

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

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