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 557

Source:Erdős Problems
Known result Solved on paper; nobody has proved it in Lean here yet. First verified proof: +10 points.
Statement:reviewed
Elsewhere:on aiXiv: claimed solved — Claimed proved in aiXiv:2609.01741 (2026-09-15); no independent check recorded on aiXiv. · erdosproblems.com: proved (Lean) (a claim recorded elsewhere, not verified on nosorry)
1 result recorded on aiXiv
  1. solves For every tree TT on t≥2t\ge 2 vertices and every k≥1k\ge 1, the multicolour Ramsey number satisfies R(T;k)≤k(t−2)+2R(T;k)\le k(t-2)+2. — 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 Rk(G)R_k(G) denote the minimal mm such that if the edges of KmK_m are kk-coloured then there is a monochromatic copy of GG. Is it true that Rk(T)≤kn+O(1)R_k(T)\leq kn+O(1) for any tree TT on nn vertices?

The answer is yes, with an absolute constant: Rk(T)≤kn+3R_k(T) \leq kn + 3 for all kk and nn. For n≥2n \geq 2 this follows from the explicit bound Rk(T)≤k(n−2)+3R_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 nn large in terms of kk from their dense-graph case of Erdős–Sós. For the one-vertex tree, Rk(T)≤2R_k(T) \leq 2.

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 + c
Show 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.

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.