Research notes on every problem, and a library of the papers behind them. Built from the open erdos repository.
Updated
Claim. Both questions of Problem 741 are answered, the first under the upper-density reading the site adopts. The results are three Lean 4 proofs found by a DeepMind prover agent and posted by Moritz Firsching, with informal sketches, on the site's thread.
- Second question, yes (posted 2026-03-31). There is
such that is a basis of order and for every partition
at least one of , fails to have
bounded gaps (
erdos_741.parts.ii, withIsSyndetic Smeaning that some has every interval meeting ). The construction takes scales , removes from a zone of roughly at each scale except the single point , and shows that every sum in must use , so the part not containing has a gap of length in its self-sumset. - First question, no when density means an existing limit (posted
2026-03-31). There is with of positive density such that no
partition gives both and a positive density that
exists (
erdos_741.parts.i, withHasPosDensityasking for a limit; the theorem is namedparts.iin the fork andvariants.exact_densityin the upstream file at its commit of 2026-10-06, pinned above, whereparts.iis the upper-density statement). The set is a union of integers with restricted base- digits and of sparse full intervals , between which the partial densities of the two self-sumsets cannot settle. - First question, yes for upper density (posted 2026-04-16). If
has positive upper density then with and
both of positive upper density (
erdos_741.variants.upper). The sketch partitions into alternating blocks along a rapidly growing sequence and treats separately the cases that itself has positive upper density and that it does not, using that if every element of below is at most then .
The first two proofs are in Moritz Firsching's fork of formal-conjectures
at its commit of 2026-03-31; the third is in google-deepmind/formal-conjectures
at its commit of 2026-04-16, where it is tagged solved with answer true.
The development src/latest/ErdosProblems/Erdos741.lean of Boris Alexeev's
lean-proofs repository (2,804 lines at the pinned commit of 2026-09-15, first added 2026-05-13)
declares itself a formalization of this solution, names the DeepMind
prover agent as informal author and the agent and Moritz Firsching as
formal authors, restates all three theorems, and records #print axioms
output propext, Classical.choice and Quot.sound for the
upper-density theorem. On the thread (2026-03-31) the site's curator wrote
that the second answer is valid and that Erdős most likely meant upper or
lower density in the first question, so the limit-density counterexample
answers a formulation Erdős probably did not intend; the problem page's
Statement keeps the parenthesized "(upper)".
Submission note. Posted to the site's forum by Moritz Firsching on 31 March 2026:
The DeepMind prover agent has disproved the first part and proved the second part of the problems as formalised in Formal Conjectures repo. (which might not capture the intended meaning of these questions, see the remarks on "positive density" below)
Here’s an attempt to summarize those proofs informally:
Part (i):
The theorem erdos_741.parts.i asks whether any set for which has positive density can be partitioned into such that both and also have positive density. The answer is 'False', but this refutation hinges heavily on the exact definition of "density" used in the formalization (which requires the strict existence of a limit).
The Counterexample under "Limit Density" To refute the conjecture, we construct a set , where:
is composed of elements whose base-4 digits are restricted (e.g., has digits in and in ). consists of "fat but sparse" intervals of the form . Because base-4 digits add uniquely without carries, any partition can be characterized by how it projects onto elements of the base-4 set. The density of and can then be shown algebraically to satisfy:
This forces the sum of the two densities to be strictly less than .
However, when a subset passes through the "fat" sparse intervals (where contains all integers locally), standard sumset properties ($|U+U| \ge 2|U|-1$) force the local sum of densities to spike close to . This constant oscillation between the suppressed base-4 bound and the interval spikes means that the densities cannot stabilize. Under a strict definition of natural density (where a single, stable limit value must exist), the limit fails to converge - thus refuting the conjecture.
Note that the proof uses the word “SandorA”, presumably referring to a construction by Sándor, but it is not clear if this name is referring to a real construction provided by Sándor (which might well exist) or just a construction that plausibly could have been done by him.
If we interpret "positive density" to mean positive upper asymptotic density (), the specific counterexample construction fails to refute the conjecture. It is not clear to me what the intention in the paper really is, Erdős mentions "upper density" in the same paper, but not when talking about the problems here on page 263.
The full formal proof in Lean 4 is available here
Part (ii):
The goal is to construct a pathological set that acts as a basis of order two (), but forces any partition to create arbitrarily large gaps in one of the component sumsets.
- The Geometry of "Forbidden Zones" The construction works by choosing a sequence of rapidly growing scales . For each scale , we carve out a forbidden zone which is a broad interval of integers running roughly from to . However, right in the middle of this zone, we leave a single "oasis" - a lone element $x_k = 10 P_k$.
The set is defined as all natural numbers that completely avoid every forbidden zone (except for the isolated oases). In visual terms, the set consists of clumps of integers separated by large, empty forbidden gaps where the only survivor is .
- Why is a Basis of Order 2 To prove (where additions include ), we must show every integer can be represented as with :
Case outside forbidden zones: If , then and we can just use . Case inside forbidden zones: If , we split the representation based on where it lies relative to : For the lower half of , we can simply use . Because is small enough, neither half lands in , and they are both large enough to avoid the previous zone . For the upper half of , we use the isolated oasis . We write . The difference is small enough that it falls safely in the gap before the forbidden zone . Thus, covers all integers!
- Why No Syndetic Partition Exists Now suppose we partition $A = A_1 \sqcup A_2$. Consider a target sum in the interval . If we try to write with , the algebra forces the larger operand to land exactly inside the forbidden range $[5.5 P_k, 11 P_k + k]$.
But by definition, the only available element in inside this range is the isolated . Therefore, to make any sum , you must use .
By the Pigeonhole Principle, can only belong to one of the partition components (say ). This implies:
can cover the interval by making use of . is completely locked out and cannot represent any element in that interval because it does not possess ! This leaves a gap of length in the sumset . Since we can make arbitrarily large, the gaps become unbounded, proving it is impossible to partition such that both sumsets are syndetic.
The full formal proof in Lean 4 is available here
Posted to the site's forum by Moritz Firsching on 16 April 2026:
We have formalised the upper density variant and the DeepMind prover agent has provided a formal proof that this is True (at least for the for variant as formalised in Formal Conjectures) The formal proof can be found here. Here’s an attempt to summarize the proof informally:
Let be such that has positive upper density. Can one always decompose such that and both have positive upper density?
We show that the answer is yes.
We use an alternating block partition. Given a rapidly growing sequence $M_0 < M_1 < M_2 < \cdots$, we define
In odd-indexed intervals , all elements of belong to . In even-indexed intervals , they all belong to . The sequence is chosen to grow fast enough that each block dwarfs all previous ones. We need to consider two cases.
Case 1: has positive upper density Since has positive upper density, there exist a constant and a strictly increasing sequence of scales along which . Using a dependent-choice argument, we extract a rapidly growing sequence such that for each :
(density is retained at the next scale), (the "past" is negligible relative to the "future"). Because each new block contains all the "fresh" elements of , looking at scale shows that has positive upper density, and looking at scale shows the same for . A short argument then lifts this: if a set has positive upper density, so does its sumset with itself.
Case 2: has zero upper density but has positive upper density This is the harder case, since is too sparse to guarantee positive density for the parts directly. Instead, we argue about the sumsets themselves. Since has positive upper density, there exist and a sequence of scales along which . Since has zero upper density, , so for any fixed there are arbitrarily large where . By dependent choice, we extract a rapidly growing such that for each :
, $(M_k + 1) \cdot |A \cap [1, M_{k+1}]| \le \frac{c}{4} \cdot M_{k+1}$. The key ingredient is a combinatorial sumset bound: if and every element of in is at most , then
The idea is that any sum involving an element of has one summand bounded by , giving at most such sums. Applying this bound at alternating scales:
At scale : all elements of in lie below , so the bound with gives $|(A_1+A_1) \cap [1,N]| \ge \frac{3c}{4} \cdot N$. At scale : symmetrically, all elements of in lie below , giving $|(A_2+A_2) \cap [1,N]| \ge \frac{3c}{4} \cdot N$. Since these bounds hold for infinitely many , both sumsets have positive upper density.
Depends on. Nothing in this wiki: the constructions and the upper-density argument are self-contained.
Acceptance. Reviewed: the site's curator, Thomas Bloom, labels the problem solved and, in the problem page's commentary (page last edited 2 May 2026), credits DeepMind with the basis answering the second question, with the set refuting the first question when density means an existing limit, and with the proof of the first question for upper density, pointing to the sketches in the comments; the proof-claim tab is empty. Not refereed: there is no journal or arXiv write-up of these proofs; the same basis question was independently answered in the Alexeev–Putterman–Sawhney–Sellke–Valiant preprint, and a later note reproves all three statements. Not counted as formalized: this corpus has not built the three Lean proofs or audited their statements, and no outside reviewer has published an examination of their fidelity to the site's questions.