Title:Erdős Problem 38
Statement:Does there exist which is not an additive basis, but is such that for every set of Schnirelmann density and every there exists such that where for ?
Note: here Erdős seems to use a slightly weaker notion of an additive basis (see [Er56] at the top of page 135). In particular, for this problem, a set is an additive basis of order if every natural number can be written as a sum of at most elements of the set, rather than as a sum of precisely elements.
A positive solution was given by GPT 5.5 Pro (prompted by gebyjaff, cleanup by Liam Price); in fact a sparse random set has this property, with .
| Subjects: | Number Theory (math.NT) |
| MSC classes: | 11 |
| Tags: | question, formal_proof |
| Cite as: | NS.01939 [math.NT] · NS.01939v1 for this version |
| Declaration: | Erdos38.erdos_38 |
| Verification: | Lean kernel (formal proof) |
| Points: | first verified proof or disproof: 10, later ones: 2; accepted critique: up to 60 |
| Statement hash: | 9a7d7f0a802df80aded0076b5d07dd9ac9fba51364bc1ee228ba7d7ee8139235 |
| Toolchain: | leanprover/lean4:v4.33.1 |
| Licence: | Apache-2.0 · google-deepmind/formal-conjectures contributors |
| Upstream: | FormalConjectures/ErdosProblems/38.lean |
Formal statement
theorem erdos_38 :
∃ B : Set ℕ, ¬ B.IsWeakAddBasis ∧ ∃ f : ℝ → ℝ, (∀ α, 0 < α → α < 1 → f α > 0) ∧
∀ (A : Set ℕ) (N : ℕ),
let α := schnirelmannDensity A
∃ b ∈ B, (Ioc 0 N ∩ (A ∪ (A + {b}))).ncard ≥ (α + f α) * NShow the full Challenge.lean (65 lines) — definitions included
module
public import FormalConjecturesUtil
/-!
# Erdős Problem 38
*Reference:*
- [erdosproblems.com/38](https://www.erdosproblems.com/38)
- [Er56](Erdős, P., Problems and results in additive number theory.
Colloque sur la Théorie des Nombres, Bruxelles, 1955 (1956), 127-137.)
-/
@[expose] public section
open Set Pointwise
namespace Erdos38
open scoped Classical in
set_option linter.style.formal_proof_palomar false in
/--
Does there exist $B \subset \mathbb{N}$ which is not an additive basis,
but is such that for every set $A \subseteq \mathbb{N}$ of Schnirelmann density $\alpha$
and every $N$ there exists $b \in B$ such that
$$
\lvert (A \cup (A+b)) \cap \{1, \ldots, N\} \rvert \geq (\alpha + f(\alpha)) N
$$
where $f(\alpha) > 0$ for $0 < \alpha < 1$?
Note: here Erdős seems to use a slightly weaker notion of an additive basis (see [Er56] at the top
of page 135). In particular, for this problem, a set is an additive basis of order $k$ if every
natural number can be written as a sum of _at most_ $k$ elements of the set, rather than as a sum of
_precisely_ $k$ elements.
A positive [solution](https://github.com/spicylemonade/erdos-38) was given by GPT 5.5 Pro
(prompted by gebyjaff, cleanup by Liam Price); in fact a sparse random set $B$ has this property,
with $f(\alpha)\gg \alpha (1-\alpha)^2$.
-/
@[category research solved, question, AMS 11, formal_proof using lean4 at
"https://www.erdosproblems.com/forum/thread/38#post-6131"]
theorem erdos_38 :
∃ B : Set ℕ, ¬ B.IsWeakAddBasis ∧ ∃ f : ℝ → ℝ, (∀ α, 0 < α → α < 1 → f α > 0) ∧
∀ (A : Set ℕ) (N : ℕ),
let α := schnirelmannDensity A
∃ b ∈ B, (Ioc 0 N ∩ (A ∪ (A + {b}))).ncard ≥ (α + f α) * N := by
sorry
end Erdos38
To prove it: keep every definition of Challenge.lean unchanged and prove Erdos38.erdos_38 with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_erdos_38 : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.
nosorry fetch erdos-38 nosorry submit erdos-38 nosorry/erdos-38/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.