Research notes on every problem, and a library of the papers behind them. Built from the open erdos repository.
Updated
Claim. The answer to Problem 333 is no. A post to the problem's forum thread on 2025-12-25 gave a direct construction of a set of density zero such that no with has , by a greedy hitting-set argument over dyadic blocks: in each block a finite set of hard-to-cover integers is chosen so that any representing all of it as sums of two elements has at least a constant times the square root of the block's size of its elements below the block's end, and the pieces are thin enough that their union has density zero. The post attributes the argument to the AI system GPT-5.2 Pro and its formalization to Claude Opus 4.5; the Lean file names Erdős, Newman and GPT-5.2 Pro as its informal authors and Claude Opus 4.5, Liam Price and Kevin Barreto as its formal authors. The forum post is Barreto's, who writes that their only role was to ask GPT-5.2 Pro for the construction, so the page is named for Barreto as the claim's submitter.
Submission note. Posted to the site's forum by Kevin Barreto on 25 December 2025:
Interpreting the problem in the way suggested by Woett: "Let $A\subseteq \mathbb{N}_0$ be a set of natural density zero. Does there exist a basis for such that and
for all large ?"
GPT-5.2 Pro provides a negative answer to this here (and with conventions elaborated on here). We believe, to the best of our knowledge, this is the first case of an LLM fully autonomously resolving an Erdős problem, not previously resolved by humans. GPT-5.2 Pro's solution was then autoformalised in Lean 4 by Claude Opus 4.5, and is viewable here. There was no human input to the argument of the proof. Originally, GPT-5.2 gave a probabilistic argument which appeared correct but annoying to formalise; my only role was in asking GPT-5.2 Pro to give a more constructive argument and instructing Claude Opus 4.5 to search through the Mathlib4 GitHub repository for relevant tactics as it formalised GPT-5.2 Pro's informal proof. Everything else was end-to-end.
We sketch the argument given by GPT-5.2 Pro here. We prove that there exists a set of density zero such that there does not exist a set with and .
Fix . For a dyadic , with , we construct a finite set
with . Then, we define
Because the intervals are disjoint, is a disjoint union of blocks. Now let
We want such that $\forall B\in\mathcal{B}_N,
A_N\not\subseteq B+B$. For , let
Then, we have the trivial bound $\left|B+B\right|\leq\left|B\right|^2\leq m^2\leq\varepsilon^2 N$. Hence,
So, each occupies a fixed positive fraction of (for , it is ). We then apply a greedy hitting-set lemma:
(Greedy hitting-set). If a finite family of subsets of a universe each has size , then there is a set meeting every member, with .
Here, and . Since each is a fixed-density subset of , we obtain such that
which is exactly the desired property . We have the folloowing size control: , and
So, . Now, for ,
Thus,
so has natural density zero. If and with , then in fact, because with forces . Now assume . If for all large dyadic , set , then . But, and implies . By the above, , which is a contradiction. Therefore, for infinitely many (dyadic) ,
as claimed.
(The site has been updated to address this comment.)
The formal statement. The file's main theorem, not_erdos_333, asserts
of one fixed set , the union over of finite sets chosen inside
the dyadic intervals , that its counting function on
divided by tends to zero and that there is no
with whose counting
function on divided by tends to zero. The earlier
file for Lean and Mathlib v4.29.1, linked second above, states the same
theorem as main_obstruction; the later revision renames it, keeps
main_obstruction as an alias, and changes only the lemma J_card_eq_half,
whose proof is rewritten and whose unused positivity hypothesis is dropped.
The
formal-conjectures statement file
for the problem names this development as the formal proof of its erdos_333
statement, tagged research solved, and the site's label carries a Lean
qualifier. The statement allows as an element and counts
; the thread had first asked which convention for
the problem intends, since with restricted to positive
integers the set would be a trivial counterexample.
Acceptance. Formalized. This corpus's verification built the src/latest
folder of Boris Alexeev's lean-proofs repository at the commit pinned first
above (2026-09-15; Lean v4.33.0, Mathlib v4.33.0) and checked the axioms of
Erdos333.not_erdos_333, which are exactly propext, Classical.choice and
Quot.sound. The repository's comparator challenge for the problem pins that
declaration, and the fingerprint of its type and of every definition the type
reaches (the set , its dyadic blocks, the counting function and the
constants of the construction) was found identical in the challenge and in
the solution; the theorem exists_hard_set, which the definition of the
blocks invokes, is compared by type only, since its proof differs between the
two files. The statement was audited clause by clause against the problem's
Statement: it concerns one fixed witness , which is exactly what a
disproof needs, and with natural density zero, allowed in and
allowed it is the strongest form of the counterexample, so it answers the
question no under every convention for , for density and for ; the
challenge and solution statements agree apart from noncomputable markers
and an inlined letI instance. What was built is the later revision; the
v4.29.1 file, whose theorem has the same statement, was not built. Not
reviewed: the site's curator credits the disproof to Theorem 2 of Erdős and
Newman (1977), recorded at
Erdős and Newman 1977,
and the site's commentary does not mention this construction. Not refereed:
there is no refereed write-up.
Depends on. No page of this wiki.