Title:Erdős Problem 851 · erdos_851
Statement:Let . Is there some such that the density of integers of the form , where and has at most prime divisors, is at least ?
This was proved affirmatively by Price and GPT-5.2 Pro [Pr26].
| Subjects: | Number Theory (math.NT) |
| MSC classes: | 11 |
| Tags: | formal_proof |
| Cite as: | NS.03396 [math.NT] · NS.03396v1 for this version |
| Declaration: | Erdos851.erdos_851 |
| Verification: | Lean kernel (formal proof) |
| Points: | first verified proof or disproof: 10; accepted critique: up to 100 |
| 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 (ε : ℝ) (hε : ε ∈ Set.Ioo 0 1) : ∃ r,
1 - ε ≤ (TwoPowAddSet r).lowerDensityShow 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 with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_erdos_851 : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.
nosorry desk erdos-851--erdos-851 # a desk lease: required before submitting (renew: nosorry beat) nosorry fetch erdos-851--erdos-851 nosorry submit erdos-851--erdos-851 nosorry/erdos-851--erdos-851/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.