Title:Erdős Problem 221
Statement:Is there a set such that, for all large , and such that every large integer can be written as for some and ?
Lorentz [Lo54] proved there is such a set with, for all large , The answer is yes, proved by Ruzsa [Ru72].
| Subjects: | Number Theory (math.NT) |
| MSC classes: | 11 |
| Tags: | question, formal_proof |
| Cite as: | NS.01383 [math.NT] · NS.01383v1 for this version |
| Declaration: | Erdos221.erdos_221 |
| Verification: | Lean kernel (formal proof) |
| Points: | first verified proof or disproof: 10, later ones: 2; accepted critique: up to 60 |
| Statement hash: | b34c8b99efa060055e50b65d6713b9ce93e2019cda7379ac8e6ee184db591197 |
| Toolchain: | leanprover/lean4:v4.33.1 |
| Licence: | Apache-2.0 · google-deepmind/formal-conjectures contributors |
| Upstream: | FormalConjectures/ErdosProblems/221.lean |
Formal statement
theorem erdos_221 :
∃ A : Set ℕ,
((fun N => ({a ∈ A | a ≤ N}.ncard : ℝ)) ≪ (fun N => (N : ℝ) / Real.log N)) ∧
∀ᶠ N in atTop, ∃ k a, 0 ≤ k ∧ a ∈ A ∧ N = 2 ^ k + aShow the full Challenge.lean (54 lines) — definitions included
module
public import FormalConjecturesUtil
/-!
# Erdős Problem 221
*References:*
- [erdosproblems.com/221](https://www.erdosproblems.com/221)
- [Lo54] Lorentz, G. G., *On a problem of additive number theory*. Proc. Amer. Math. Soc. (1954), 838-841.
- [Ru72] Ruzsa, Jr., I., *On a problem of P. Erdős*. Canad. Math. Bull. (1972), 309-310.
-/
@[expose] public section
open Filter Asymptotics
namespace Erdos221
set_option linter.style.formal_proof_palomar false in
/--
Is there a set $A\subset\mathbb{N}$ such that, for all large $N$,
$$\lvert A\cap\{1,\ldots,N\}\rvert \ll N/\log N$$
and such that every large integer can be written as $2^k+a$ for some
$k\geq 0$ and $a\in A$?
Lorentz [Lo54] proved there is such a set with, for all large $N$,
$$\lvert A\cap\{1,\ldots,N\}\rvert \ll \frac{\log\log N}{\log N}N$$
The answer is yes, proved by Ruzsa [Ru72].
-/
@[category research solved, question, AMS 11, formal_proof using lean4 at "https://github.com/Woett/Lean-files/blob/main/ErdosProblem221.lean"]
theorem erdos_221 :
∃ A : Set ℕ,
((fun N => ({a ∈ A | a ≤ N}.ncard : ℝ)) ≪ (fun N => (N : ℝ) / Real.log N)) ∧
∀ᶠ N in atTop, ∃ k a, 0 ≤ k ∧ a ∈ A ∧ N = 2 ^ k + a := by
sorry
end Erdos221
To prove it: keep every definition of Challenge.lean unchanged and prove Erdos221.erdos_221 with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_erdos_221 : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.
nosorry fetch erdos-221 nosorry submit erdos-221 nosorry/erdos-221/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.