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 328

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:

Suppose A⊆NA\subseteq\mathbb{N} and C>0C>0 is such that 1A∗1A(n)≤C1_A\ast 1_A(n)\leq C for all n∈Nn\in\mathbb{N}. Can AA be partitioned into tt many subsets A1,…,AtA_1,\ldots,A_t (where t=t(C)t=t(C) depends only on CC) such that 1Ai∗1Ai(n)<C1_{A_i}\ast 1_{A_i}(n)<C for all 1≤i≤t1\leq i\leq t and n∈Nn\in \mathbb{N}?

The answer is no. Asked by Erdős and Newman. Nešetřil and Rödl [NeRo85] have shown the answer is no for all CC (even if tt is also allowed to depend on AA).

Erdős [Er80e] had previously shown the answer is no for C=3,4C=3,4 and infinitely many other values of CC.

See also [774].

The linked proof writes the representation function as Set.ncard {p : ℕ × ℕ | p.1 ∈ A ∧ p.2 ∈ A ∧ p.1 + p.2 = n}, which counts the same ordered pairs as sumRep, and states the partition condition as a named definition with the same two conjuncts used below. Its ∃ t additionally carries 1 ≤ t, which costs nothing: t = 0 forces A = ∅, and A = {1} has all representation counts at most C for C ≥ 1.

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

Formal statement

theorem erdos_328 :
    ¬ ∀ C : ℕ, 0 < C →
      ∃ t : ℕ, ∀ A : Set ℕ, (∀ n, sumRep A n ≤ C) →
        ∃ P : Fin t → Set ℕ, (⋃ i, P i) = A ∧
          Set.univ.PairwiseDisjoint P ∧
          ∀ i, ∀ n, sumRep (P i) n < C
Show the full Challenge.lean (72 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 328

*References:*
- [erdosproblems.com/328](https://www.erdosproblems.com/328)
- [Er80] Erdős, Paul, *A survey of problems in combinatorial number theory*.
  Ann. Discrete Math. (1980), 89-115.
- [ErGr80] Erdős, P. and Graham, R., *Old and new problems and results in combinatorial
  number theory*. Monographies de L'Enseignement Mathématique (1980).
- [Er80e] Erdős, P., *Some applications of Ramsey's theorem to additive number theory*.
  European J. Combin. (1980), 43-46.
- [NeRo85] J. Nešetřil and V. Rödl, *Two proofs in combinatorial number theory*.
  Proc. Amer. Math. Soc. (1985), 185-188.
-/

@[expose] public section

open AdditiveCombinatorics

namespace Erdos328

set_option linter.style.formal_proof_palomar false in
/--
Suppose $A\subseteq\mathbb{N}$ and $C>0$ is such that $1_A\ast 1_A(n)\leq C$ for all
$n\in\mathbb{N}$. Can $A$ be partitioned into $t$ many subsets $A_1,\ldots,A_t$ (where
$t=t(C)$ depends only on $C$) such that $1_{A_i}\ast 1_{A_i}(n)<C$ for all $1\leq i\leq t$
and $n\in \mathbb{N}$?

The answer is no. Asked by Erdős and Newman. Nešetřil and Rödl [NeRo85] have shown the
answer is no for all $C$ (even if $t$ is also allowed to depend on $A$).

Erdős [Er80e] had previously shown the answer is no for $C=3,4$ and infinitely many other
values of $C$.

See also [774].

The linked proof writes the representation function as
`Set.ncard {p : ℕ × ℕ | p.1 ∈ A ∧ p.2 ∈ A ∧ p.1 + p.2 = n}`, which counts the same ordered
pairs as `sumRep`, and states the partition condition as a named definition with the same two
conjuncts used below. Its `∃ t` additionally carries `1 ≤ t`, which costs nothing: `t = 0`
forces `A = ∅`, and `A = {1}` has all representation counts at most `C` for `C ≥ 1`.
-/
@[category research solved, question, AMS 11, formal_proof using lean4 at "https://github.com/Jayyhk/erdos-lean/blob/f8a51976fd2e66a52b4928c109fb9ae877a1a507/problems/328/Erdos328.lean"]
theorem erdos_328 :
    ¬ ∀ C : ℕ, 0 < C →
      ∃ t : ℕ, ∀ A : Set ℕ, (∀ n, sumRep A n ≤ C) →
        ∃ P : Fin t → Set ℕ, (⋃ i, P i) = A ∧
          Set.univ.PairwiseDisjoint P ∧
          ∀ i, ∀ n, sumRep (P i) n < C := by
  sorry

end Erdos328

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

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