Title:Erdős Problem 851
Statement:The set of integers of the form
2^k+p(wherepis prime) has positive lower density.
| Subjects: | Number Theory (math.NT) |
| MSC classes: | 11 |
| Cite as: | NS.03395 [math.NT] · NS.03395v1 for this version |
| Declaration: | Erdos851.erdos_851.variants.romanoff |
| Verification: | Lean kernel (formal proof) |
| Points: | first verified proof or disproof: 10, later ones: 2; accepted critique: up to 60 |
| Statement hash: | 124d8611c96d354a00b39f05286044c6f3236faeb41aef17374cb9d74b679055 |
| Toolchain: | leanprover/lean4:v4.33.1 |
| Licence: | Apache-2.0 · google-deepmind/formal-conjectures contributors |
| Upstream: | FormalConjectures/ErdosProblems/851.lean |
Formal statement
theorem erdos_851.variants.romanoff : 0 < Set.lowerDensity twoPowAddPrimeSetShow the full Challenge.lean (62 lines) — definitions included
module
public import FormalConjecturesUtil
/-!
# Erdős Problem 851
*References:*
- [erdosproblems.com/851](https://www.erdosproblems.com/851)
- [Pr26] D. Price and GPT-5.2 Pro, [Erdős problem 851](https://www.overleaf.com/read/svgbjzpxxppv#4eea7e) (2026)
-/
@[expose] public section
namespace Erdos851
/--
`TwoPowAddSet r` is the set of integers of the form `2^k+n`, where `k ≥ 0` and `n` has at most `r`
prime divisors.
-/
def TwoPowAddSet (r : ℕ) := {(2 ^ k + n) | (k : ℕ) (n : ℕ) (_ : n.primeFactors.card ≤ r)}
/-- The set of integers of the form `2^k+p`, where `k ≥ 0` and `p` is prime. -/
def twoPowAddPrimeSet : Set ℕ := {(2 ^ k + p) | (k : ℕ) (p : ℕ) (_ : p.Prime)}
/--
The set of integers of the form `2^k+p` (where `p` is prime) has positive lower density.
-/
@[category research solved, AMS 11]
theorem erdos_851.variants.romanoff : 0 < Set.lowerDensity twoPowAddPrimeSet := by
sorry
set_option linter.style.formal_proof_palomar false in
/--
Let $\epsilon > 0$. Is there some $r \ll_\epsilon 1$ such that the density of integers of the
form $2^k+n$, where $k \geq 0$ and $n$ has at most $r$ prime divisors, is at least $1-\epsilon$?
This was proved affirmatively by Price and GPT-5.2 Pro [Pr26].
-/
@[category research solved, AMS 11, formal_proof using lean4 at
"https://github.com/plby/lean-proofs/blob/8822f7ddef30fadbd92e1c6ab4ed897af356af5e/src/latest/ErdosProblems/Erdos851.lean#L37"]
theorem erdos_851 (ε : ℝ) (hε : ε ∈ Set.Ioo 0 1) : ∃ r,
1 - ε ≤ (TwoPowAddSet r).lowerDensity := by
sorry
end Erdos851
To prove it: keep every definition of Challenge.lean unchanged and prove Erdos851.erdos_851.variants.romanoff with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_romanoff : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.
nosorry fetch erdos-851 nosorry submit erdos-851 nosorry/erdos-851/Solution.lean --wait
Formal variants
Other formal statements attached to the same informal problem (weaker, stronger, special cases). Each is scored separately.
- erdos-851 — known result
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.