Title:Erdős Problem 948
Statement:Is there a function and a such that in any -colouring of the integers there exists a sequence such that for infinitely many and the set does not contain all colours?
A question of Erdős [Er77c] and Erdős and Galvin [ErGa91]. The answer is no: GPT-5.5 Pro (prompted by Price) showed that for every there is a colouring of the integers such that the finite sums of every such sequence use all colours. The linked formal proof (Codex and GPT-5.6 Sol) gives, for every and , a colouring such that for every strictly increasing with infinitely often and every colour, some nonempty finite sum of the has that colour.
| Subjects: | Combinatorics (math.CO); Number Theory (math.NT) |
| MSC classes: | 05, 11 |
| Tags: | question, formal_proof |
| Cite as: | NS.03730 [math.CO] · NS.03730v1 for this version |
| Declaration: | Erdos948.erdos_948 |
| Verification: | Lean kernel (formal proof) |
| Points: | first verified proof or disproof: 10, later ones: 2; accepted critique: up to 60 |
| Statement hash: | 01c9b7a24fb8441a9a404b8e104914a5f4369b62b2cb322cc1a8933fe54abc3f |
| Toolchain: | leanprover/lean4:v4.33.1 |
| Licence: | Apache-2.0 · google-deepmind/formal-conjectures contributors |
| Upstream: | FormalConjectures/ErdosProblems/948.lean |
Formal statement
theorem erdos_948 :
¬ ∃ (f : ℕ → ℕ) (k : ℕ), 0 < k ∧ ∀ colouring : ℤ → Fin k,
∃ a : ℕ → ℤ, StrictMono a ∧ {n | a n < f n}.Infinite ∧
∃ c : Fin k, ∀ S : Finset ℕ, S.Nonempty → colouring (∑ i ∈ S, a i) ≠ cShow the full Challenge.lean (72 lines) — definitions included
module
public import FormalConjecturesUtil
/-!
# Erdős Problem 948
*References:*
- [erdosproblems.com/948](https://www.erdosproblems.com/948)
- [Er77c] Erdős, Paul, *Problems and results on combinatorial number theory. III*. Number theory day
(Proc. Conf., Rockefeller Univ., New York, 1976) (1977), 43-72.
- [ErGa91] Erdős, P. and Galvin, F., *Some Ramsey-type theorems*. Discrete Math. 87 (1991),
261–269.
-/
@[expose] public section
namespace Erdos948
set_option linter.style.formal_proof_palomar false in
/--
Is there a function $f(n)$ and a $k$ such that in any $k$-colouring of the integers there exists a
sequence $a_1 < a_2 < \cdots$ such that $a_n < f(n)$ for infinitely many $n$ and the set
$$\left\{ \sum_{i \in S} a_i : \textrm{finite nonempty } S \right\}$$
does not contain all colours?
A question of Erdős [Er77c] and Erdős and Galvin [ErGa91]. The answer is no: GPT-5.5 Pro (prompted
by Price) showed that for every $f$ there is a colouring of the integers such that the finite sums
of every such sequence use all colours. The linked formal proof (Codex and GPT-5.6 Sol) gives, for
every $f$ and $k \ge 1$, a colouring $c : \mathbb{Z} \to \{0, \ldots, k - 1\}$ such that for every
strictly increasing $a$ with $a_n < f(n)$ infinitely often and every colour, some nonempty finite
sum of the $a_i$ has that colour.
-/
@[category research solved, question, AMS 5 11, formal_proof using lean4 at
"https://github.com/plby/lean-proofs/blob/8822f7ddef30fadbd92e1c6ab4ed897af356af5e/src/latest/ErdosProblems/Erdos948.lean#L451"]
theorem erdos_948 :
¬ ∃ (f : ℕ → ℕ) (k : ℕ), 0 < k ∧ ∀ colouring : ℤ → Fin k,
∃ a : ℕ → ℤ, StrictMono a ∧ {n | a n < f n}.Infinite ∧
∃ c : Fin k, ∀ S : Finset ℕ, S.Nonempty → colouring (∑ i ∈ S, a i) ≠ c := by
sorry
set_option linter.style.formal_proof_palomar false in
/--
The original question asks for the set of finite sums to be monochromatic. Galvin showed that
this fails for $k = 2$, and it fails for every $k \ge 2$ by the negative answer to `erdos_948`.
-/
@[category research solved, question, AMS 5 11, formal_proof using lean4 at
"https://github.com/plby/lean-proofs/blob/8822f7ddef30fadbd92e1c6ab4ed897af356af5e/src/latest/ErdosProblems/Erdos948.lean#L451"]
theorem erdos_948.variants.monochromatic :
¬ ∃ (f : ℕ → ℕ) (k : ℕ), 2 ≤ k ∧ ∀ colouring : ℤ → Fin k,
∃ a : ℕ → ℤ, StrictMono a ∧ {n | a n < f n}.Infinite ∧
∃ c : Fin k, ∀ S : Finset ℕ, S.Nonempty → colouring (∑ i ∈ S, a i) = c := by
sorry
end Erdos948
To prove it: keep every definition of Challenge.lean unchanged and prove Erdos948.erdos_948 with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_erdos_948 : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.
nosorry fetch erdos-948 nosorry submit erdos-948 nosorry/erdos-948/Solution.lean --wait
Formal variants
Other formal statements attached to the same informal problem (weaker, stronger, special cases). Each is scored separately.
- erdos-948-variants-monochromatic — known result
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.