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 333

Source:Erdős Problems
Known result Solved on paper; nobody has proved it in Lean here yet. First verified proof: +10 points.
Statement:reviewed
Statement:

Let A⊆NA\subseteq \mathbb{N} be a set of density zero. Does there exist a BB such that A⊆B+BA\subseteq B+B and ∣B∩{1,…,N}∣=o(N1/2)\lvert B\cap \{1,\ldots,N\}\rvert =o(N^{1/2}) for all large NN?

The answer is no. Erdős and Newman [ErNe77] have proved this is true when AA is the set of squares. In fact, Theorem 2 of [ErNe77] already implies a negative answer to this problem, but this seems to have been overlooked by Erdős and Graham.

See also [806].

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

Formal statement

theorem erdos_333 :
    ¬ ∀ A : Set ℕ, A.HasDensity 0 →
      ∃ B : Set ℕ, A ⊆ B + B ∧
        (fun N => ((B ∩ Set.Icc 1 N).ncard : ℝ)) =o[atTop]
          fun N => Real.sqrt N
Show the full Challenge.lean (61 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 333

*References:*
- [erdosproblems.com/333](https://www.erdosproblems.com/333)
- [ErGr80] Erdős, P. and Graham, R., *Old and new problems and results in combinatorial number
  theory*. Monographies de L'Enseignement Mathematique (1980).
- [ErNe77] Erdős, P. and Newman, D. J., *Bases for sets of integers*. J. Number Theory (1977),
  420-425.
-/

@[expose] public section

open Filter Asymptotics

open scoped Pointwise

namespace Erdos333

set_option linter.style.formal_proof_palomar false in
/--
Let $A\subseteq \mathbb{N}$ be a set of density zero. Does there exist a $B$ such that
$A\subseteq B+B$ and
$$\lvert B\cap \{1,\ldots,N\}\rvert =o(N^{1/2})$$
for all large $N$?

The answer is no. Erdős and Newman [ErNe77] have proved this is true when $A$ is the set of
squares. In fact, Theorem 2 of [ErNe77] already implies a negative answer to this problem, but
this seems to have been overlooked by Erdős and Graham.

See also [806].
-/
@[category research solved, question, AMS 11, formal_proof using lean4 at "https://github.com/plby/lean-proofs/blob/1d7b3f00780b85ed0462e79a1cd5650ee9055655/src/v4.29.1/ErdosProblems/Erdos333.lean"]
theorem erdos_333 :
    ¬ ∀ A : Set ℕ, A.HasDensity 0 →
      ∃ B : Set ℕ, A ⊆ B + B ∧
        (fun N => ((B ∩ Set.Icc 1 N).ncard : ℝ)) =o[atTop]
          fun N => Real.sqrt N := by
  sorry

end Erdos333

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

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