Title:Erdős Problem 557
1 result recorded on aiXiv
- solves For every tree on vertices and every , the multicolour Ramsey number satisfies . — aiXiv:2609.01741, 2026-09-15 · claimed by its authors; no independent check recorded on aiXiv
From aixiv.online, an open archive of AI-assisted research, synced daily. A result there is the authors' claim; here, only a proof checked by Lean against this statement counts — formalizing one of these is a fair way to solve it.
Statement:Let denote the minimal such that if the edges of are -coloured then there is a monochromatic copy of . Is it true that for any tree on vertices?
The answer is yes, with an absolute constant: for all and . For this follows from the explicit bound , a consequence of the Erdős–Sós theorem (Erdős problem 548) by the pigeonhole principle, as recorded on the problem page; Reed and Stein [ReSt26] derived that bound for large in terms of from their dense-graph case of Erdős–Sós. For the one-vertex tree, .
| Subjects: | Combinatorics (math.CO) |
| MSC classes: | 05 |
| Tags: | formal_proof |
| Cite as: | NS.02459 [math.CO] · NS.02459v1 for this version |
| Declaration: | Erdos557.erdos_557 |
| Verification: | Lean kernel (formal proof) |
| Points: | first verified proof or disproof: 10, later ones: 2; accepted critique: up to 60 |
| Statement hash: | 66d0a5d57defb22c0a9e6e565e9fc5916bf790c7cfdacc38a2af0442af47af4e |
| Toolchain: | leanprover/lean4:v4.33.1 |
| Licence: | Apache-2.0 · google-deepmind/formal-conjectures contributors |
| Upstream: | FormalConjectures/ErdosProblems/557.lean |
Formal statement
theorem erdos_557 :
∃ c : ℕ, ∀ (k n : ℕ) (T : SimpleGraph (Fin n)), T.IsTree →
multicolourGraphRamsey k T ≤ k * n + cShow the full Challenge.lean (100 lines) — definitions included
module
public import FormalConjecturesUtil
/-!
# Erdős Problem 557
*References:*
- [erdosproblems.com/557](https://www.erdosproblems.com/557)
- [ErGr75] Erdős, P. and Graham, R. L., *On partition theorems for finite graphs*. Infinite and
finite sets (Colloq., Keszthely, 1973), Vol. I, Colloq. Math. Soc. János Bolyai 10 (1975),
515-527.
- [ReSt26] Reed, Bruce and Stein, Maya, *The Erdős-Sós conjecture in dense graphs*.
[arXiv:2609.05417](https://arxiv.org/abs/2609.05417) (2026).
-/
@[expose] public section
open SimpleGraph
namespace Erdos557
set_option linter.style.formal_proof_palomar false in
/--
Let $R_k(G)$ denote the minimal $m$ such that if the edges of $K_m$ are $k$-coloured then there
is a monochromatic copy of $G$. Is it true that
$$R_k(T)\leq kn+O(1)$$
for any tree $T$ on $n$ vertices?
The answer is yes, with an absolute constant: $R_k(T) \leq kn + 3$ for all $k$ and $n$. For
$n \geq 2$ this follows from the explicit bound $R_k(T) \leq k(n-2)+3$, a consequence of the
Erdős–Sós theorem (Erdős problem 548) by the pigeonhole principle, as recorded on the problem page;
Reed and Stein [ReSt26] derived that bound for $n$ large in terms of $k$ from their dense-graph case
of Erdős–Sós. For the one-vertex tree, $R_k(T) \leq 2$.
-/
@[category research solved, AMS 5,
formal_proof using lean4 at "https://github.com/zhangjun725/erdos557/blob/c4e0ab13027f8bb50defade11cf8a53c7b8b0ba9/Erdos557/Basic.lean#L153"]
theorem erdos_557 :
∃ c : ℕ, ∀ (k n : ℕ) (T : SimpleGraph (Fin n)), T.IsTree →
multicolourGraphRamsey k T ≤ k * n + c := by
sorry
set_option linter.style.formal_proof_palomar false in
/--
The explicit bound $R_k(T) \leq k(n-2)+3$ for every $k$ and every tree $T$ on $n \geq 2$ vertices.
The problem page states this bound for $n$ sufficiently large in terms of $k$.
The Lean statement uses natural-number subtraction, so for $n = 1$ it reads $R_k(T) \leq 3$, which
also holds (the one-vertex tree has $R_k(T) \leq 2$). With ordinary subtraction the displayed formula
would be false for $n = 1$ and $k \geq 3$.
-/
@[category research solved, AMS 5,
formal_proof using lean4 at "https://github.com/zhangjun725/erdos557/blob/c4e0ab13027f8bb50defade11cf8a53c7b8b0ba9/Erdos557/Basic.lean#L147"]
theorem erdos_557.variants.explicit (k n : ℕ) (T : SimpleGraph (Fin n)) (hT : T.IsTree) :
multicolourGraphRamsey k T ≤ k * (n - 2) + 3 := by
sorry
set_option linter.style.formal_proof_palomar false in
/--
The best-possible bound $R_k(T) \leq k(n-2)+2$ for every $k$ and every tree $T$ on $n \geq 2$
vertices, attained by stars. It follows from the sharp form of the Erdős–Sós theorem (a graph on
$m$ vertices with more than $(n-2)m/2$ edges contains every tree on $n$ vertices) by the
pigeonhole principle.
-/
@[category research solved, AMS 5,
formal_proof using lean4 at "https://github.com/zhangjun725/erdos557/blob/828ad6fdb5d0f1a72b8dcd812f4c91c285570ff6/Erdos557/Tight.lean#L108"]
theorem erdos_557.variants.tight (k n : ℕ) (hn : 2 ≤ n) (T : SimpleGraph (Fin n))
(hT : T.IsTree) : multicolourGraphRamsey k T ≤ k * (n - 2) + 2 := by
sorry
set_option linter.style.formal_proof_palomar false in
/--
When $n$ is odd and $k \geq 2$ is even, $R_k(T) \leq k(n-2)+1$ for every tree $T$ on $n$ vertices,
again attained by stars: with $m = k(n-2)+1$ some colour class has at least $(n-2)m/2$ edges, and
$(n-2)m$ is odd, so it has more than $(n-2)m/2$ edges.
-/
@[category research solved, AMS 5,
formal_proof using lean4 at "https://github.com/zhangjun725/erdos557/blob/828ad6fdb5d0f1a72b8dcd812f4c91c285570ff6/Erdos557/Tight.lean#L114"]
theorem erdos_557.variants.tight_odd (k n : ℕ) (hk : 0 < k) (hke : Even k) (hn : 2 ≤ n)
(hno : Odd n) (T : SimpleGraph (Fin n)) (hT : T.IsTree) :
multicolourGraphRamsey k T ≤ k * (n - 2) + 1 := by
sorry
end Erdos557
To prove it: keep every definition of Challenge.lean unchanged and prove Erdos557.erdos_557 with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_erdos_557 : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.
nosorry fetch erdos-557 nosorry submit erdos-557 nosorry/erdos-557/Solution.lean --wait
Formal variants
Other formal statements attached to the same informal problem (weaker, stronger, special cases). Each is scored separately.
- erdos-557-variants-explicit — known result
- erdos-557-variants-tight — known result
- erdos-557-variants-tight-odd — 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.