Wiki
Wiki

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.

  1. Second question, yes (posted 2026-03-31). There is A⊆NA\subseteq\mathbb N such that A∪{0}A\cup\{0\} is a basis of order 22 and for every partition A=A1⊔A2A=A_1\sqcup A_2 at least one of A1+A1A_1+A_1, A2+A2A_2+A_2 fails to have bounded gaps (erdos_741.parts.ii, with IsSyndetic S meaning that some CC has every interval [n,n+C][n,n+C] meeting SS). The construction takes scales Pk=100kP_k=100^k, removes from N\mathbb N a zone of roughly [5.5Pk, 11Pk+k][5.5P_k,\,11P_k+k] at each scale except the single point xk=10Pkx_k=10P_k, and shows that every sum in [11Pk,11Pk+k][11P_k,11P_k+k] must use xkx_k, so the part not containing xkx_k has a gap of length kk in its self-sumset.
  2. First question, no when density means an existing limit (posted 2026-03-31). There is AA with A+AA+A of positive density such that no partition gives both A1+A1A_1+A_1 and A2+A2A_2+A_2 a positive density that exists (erdos_741.parts.i, with HasPosDensity asking for a limit; the theorem is named parts.i in the fork and variants.exact_density in the upstream file at its commit of 2026-10-06, pinned above, where parts.i is the upper-density statement). The set is a union of integers with restricted base-44 digits and of sparse full intervals [43k,10⋅43k)[4^{3^k},10\cdot4^{3^k}), between which the partial densities of the two self-sumsets cannot settle.
  3. First question, yes for upper density (posted 2026-04-16). If A+AA+A has positive upper density then A=A1⊔A2A=A_1\sqcup A_2 with A1+A1A_1+A_1 and A2+A2A_2+A_2 both of positive upper density (erdos_741.variants.upper). The sketch partitions AA into alternating blocks along a rapidly growing sequence M0<M1<⋯M_0<M_1<\cdots and treats separately the cases that AA itself has positive upper density and that it does not, using that if every element of A2A_2 below NN is at most KK then ∣(A+A)∩[1,N]∣≤∣(A1+A1)∩[1,N]∣+(K+1)∣A∩[1,N]∣|(A+A)\cap[1,N]|\le|(A_1+A_1)\cap[1,N]|+(K+1)|A\cap[1,N]|.

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 AA for which A+AA+A has positive density can be partitioned into A=A1⊔A2A = A_1 \sqcup A_2 such that both A1+A1A_1+A_1 and A2+A2A_2+A_2 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 A=B∪SCA = B \cup S_C, where:

BB is composed of elements whose base-4 digits are restricted (e.g., B1B_1 has digits in 0,1{0, 1} and B2B_2 in 0,2{0, 2}). SCS_C consists of "fat but sparse" intervals of the form [43k,10⋅43k)[4^{3^k}, 10 \cdot 4^{3^k}). Because base-4 digits add uniquely without carries, any partition A1⊔A2A_1 \sqcup A_2 can be characterized by how it projects onto elements of the base-4 set. The density of A1+A1A_1+A_1 and A2+A2A_2+A_2 can then be shown algebraically to satisfy:

>density(A1+A1)+density(A2+A2)≤1−density(A1+A1)density(A2+A2)>> \text{density}(A_1+A_1) + \text{density}(A_2+A_2) \le 1 - \text{density}(A_1+A_1)\text{density}(A_2+A_2) >

This forces the sum of the two densities to be strictly less than 11.

However, when a subset passes through the "fat" sparse intervals SCS_C (where AA contains all integers locally), standard sumset properties ($|U+U| \ge 2|U|-1$) force the local sum of densities to spike close to 11. 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 (lim sup⁡\limsup), 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 AA that acts as a basis of order two (A+A=NA+A = \mathbb{N}), but forces any partition to create arbitrarily large gaps in one of the component sumsets.

  1. The Geometry of "Forbidden Zones" The construction works by choosing a sequence of rapidly growing scales Pk=100kP_k = 100^k. For each scale k≥1k \ge 1, we carve out a forbidden zone ZkZ_k which is a broad interval of integers running roughly from 5.5Pk5.5 P_k to 11Pk+k11 P_k + k. However, right in the middle of this zone, we leave a single "oasis" - a lone element $x_k = 10 P_k$.

The set AA is defined as all natural numbers that completely avoid every forbidden zone (except for the isolated xkx_k oases). In visual terms, the set AA consists of clumps of integers separated by large, empty forbidden gaps where the only survivor is xkx_k.

  1. Why A∪0A \cup {0} is a Basis of Order 2 To prove A+A=NA+A = \mathbb{N} (where additions include 0+n0+n), we must show every integer can be represented as a+ba+b with a,b∈Aa,b \in A:

Case outside forbidden zones: If n∉Zkn \notin Z_k, then n∈An \in A and we can just use n+0=nn + 0 = n. Case inside forbidden zones: If n∈Zkn \in Z_k, we split the representation based on where it lies relative to xkx_k: For the lower half of ZkZ_k, we can simply use ⌊n/2⌋+⌈n/2⌉\lfloor n/2 \rfloor + \lceil n/2 \rceil. Because nn is small enough, neither half lands in ZkZ_k, and they are both large enough to avoid the previous zone Zk−1Z_{k-1}. For the upper half of ZkZ_k, we use the isolated oasis xkx_k. We write n=xk+(n−xk)n = x_k + (n - x_k). The difference (n−xk)(n - x_k) is small enough that it falls safely in the gap before the forbidden zone ZkZ_k. Thus, AA covers all integers!

  1. Why No Syndetic Partition Exists Now suppose we partition $A = A_1 \sqcup A_2$. Consider a target sum mm in the interval [11Pk,11Pk+k][11 P_k, 11 P_k + k]. If we try to write m=u+vm = u + v with u,v∈Au, v \in A, the algebra forces the larger operand vv to land exactly inside the forbidden range $[5.5 P_k, 11 P_k + k]$.

But by definition, the only available element in AA inside this range is the isolated xkx_k. Therefore, to make any sum m∈[11Pk,11Pk+k]m \in [11 P_k, 11 P_k + k], you must use xkx_k.

By the Pigeonhole Principle, xkx_k can only belong to one of the partition components (say A1A_1). This implies:

A1+A1A_1 + A_1 can cover the interval [11Pk,11Pk+k][11 P_k, 11 P_k + k] by making use of xkx_k. A2+A2A_2 + A_2 is completely locked out and cannot represent any element in that interval because it does not possess xkx_k! This leaves a gap of length kk in the sumset A2+A2A_2 + A_2. Since we can make kk arbitrarily large, the gaps become unbounded, proving it is impossible to partition AA 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:

Question.Question. Let A⊆NA \subseteq \mathbb{N} be such that A+AA+A has positive upper density. Can one always decompose A=A1⊔A2A = A_1 \sqcup A_2 such that A1+A1A_1+A_1 and A2+A2A_2+A_2 both have positive upper density?

Proof.Proof. 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

>A1=A∩⋃k(M2k,M2k+1],A2=A∖A1.>> A_1 = A \cap \bigcup_k (M_{2k}, M_{2k+1}], \qquad A_2 = A \setminus A_1. >

In odd-indexed intervals (M2k,M2k+1](M_{2k}, M_{2k+1}], all elements of AA belong to A1A_1. In even-indexed intervals (M2k+1,M2k+2](M_{2k+1}, M_{2k+2}], they all belong to A2A_2. The sequence MM is chosen to grow fast enough that each block dwarfs all previous ones. We need to consider two cases.

Case 1: AA has positive upper density Since AA has positive upper density, there exist a constant c>0c > 0 and a strictly increasing sequence of scales along which ∣A∩[1,N]∣≥c⋅N|A \cap [1,N]| \ge c \cdot N. Using a dependent-choice argument, we extract a rapidly growing sequence MkM_k such that for each kk:

∣A∩[1,Mk+1]∣≥c⋅Mk+1|A \cap [1, M_{k+1}]| \ge c \cdot M_{k+1} (density is retained at the next scale), ∣A∩[1,Mk]∣≤c4⋅Mk+1|A \cap [1, M_k]| \le \frac{c}{4} \cdot M_{k+1} (the "past" is negligible relative to the "future"). Because each new block contains all the "fresh" elements of AA, looking at scale M2k+1M_{2k+1} shows that A1A_1 has positive upper density, and looking at scale M2k+2M_{2k+2} shows the same for A2A_2. A short argument then lifts this: if a set has positive upper density, so does its sumset with itself.

Case 2: AA has zero upper density but A+AA+A has positive upper density This is the harder case, since AA is too sparse to guarantee positive density for the parts directly. Instead, we argue about the sumsets themselves. Since A+AA+A has positive upper density, there exist c>0c > 0 and a sequence of scales along which ∣(A+A)∩[1,N]∣≥c⋅N|(A+A) \cap [1,N]| \ge c \cdot N. Since AA has zero upper density, ∣A∩[1,N]∣=o(N)|A \cap [1,N]| = o(N), so for any fixed KK there are arbitrarily large NN where (K+1)⋅∣A∩[1,N]∣≤c4⋅N(K+1) \cdot |A \cap [1,N]| \le \frac{c}{4} \cdot N. By dependent choice, we extract a rapidly growing MkM_k such that for each kk:

∣(A+A)∩[1,Mk+1]∣≥c⋅Mk+1|(A+A) \cap [1, M_{k+1}]| \ge c \cdot M_{k+1}, $(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 A=A1∪A2A = A_1 \cup A_2 and every element of A2A_2 in [1,N][1,N] is at most KK, then

>∣(A+A)∩[1,N]∣≤∣(A1+A1)∩[1,N]∣+(K+1)⋅∣A∩[1,N]∣.>> |(A+A) \cap [1,N]| \le |(A_1+A_1) \cap [1,N]| + (K+1) \cdot |A \cap [1,N]|. >

The idea is that any sum involving an element of A2A_2 has one summand bounded by KK, giving at most (K+1)⋅∣A∩[1,N]∣(K+1) \cdot |A \cap [1,N]| such sums. Applying this bound at alternating scales:

At scale N=M2k+1N = M_{2k+1}: all elements of A2A_2 in [1,N][1,N] lie below M2kM_{2k}, so the bound with K=M2kK = M_{2k} gives $|(A_1+A_1) \cap [1,N]| \ge \frac{3c}{4} \cdot N$. At scale N=M2k+2N = M_{2k+2}: symmetrically, all elements of A1A_1 in [1,N][1,N] lie below M2k+1M_{2k+1}, giving $|(A_2+A_2) \cap [1,N]| \ge \frac{3c}{4} \cdot N$. Since these bounds hold for infinitely many NN, 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.