Title:Erdős Problem 594
1 result recorded on aiXiv
- solves Every graph with chromatic number contains cycles of all sufficiently large lengths (Erdős, Hajnal and Shelah, 1974). — aiXiv:2609.02554, 2025-09-30 · 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:Erdős Problem 594 (Erdős–Hajnal [ErHa66], [Er69b]):
Does every graph with chromatic number contain all sufficiently large odd cycles?
The answer is Yes, proved by Erdős, Hajnal, and Shelah [EHS74].
A graph has chromatic number (i.e. uncountable chromatic number) if and only if it admits no proper colouring with countably many colours; this is encoded as
IsEmpty (G.Coloring ℕ). The conclusion states that there is some such that for every the graph contains a cycle of odd length .
| Subjects: | Logic (math.LO); Combinatorics (math.CO) |
| MSC classes: | 03, 05 |
| Tags: | question, formal_proof |
| Cite as: | NS.02545 [math.LO] · NS.02545v1 for this version |
| Declaration: | Erdos594.erdos_594 |
| Verification: | Lean kernel (formal proof) |
| Points: | first verified proof or disproof: 10, later ones: 2; accepted critique: up to 60 |
| Statement hash: | 5964a70c975faa54047ebe684a99c56423554d63d8ed8c9662b8e548706ab011 |
| Toolchain: | leanprover/lean4:v4.33.1 |
| Licence: | Apache-2.0 · google-deepmind/formal-conjectures contributors |
| Upstream: | FormalConjectures/ErdosProblems/594.lean |
Formal statement
theorem erdos_594 :
∀ (V : Type) (G : SimpleGraph V), IsEmpty (G.Coloring ℕ) →
∃ N : ℕ, ∀ k : ℕ, N ≤ k →
∃ (v : V) (w : G.Walk v v), w.IsCycle ∧ w.length = 2 * k + 1Show the full Challenge.lean (88 lines) — definitions included
module
public import FormalConjecturesUtil
/-!
# Erdős Problem 594
*References:*
- [erdosproblems.com/594](https://www.erdosproblems.com/594)
- [ErHa66] Erdős, P. and Hajnal, A., On chromatic number of graphs and set-systems.
Acta Math. Acad. Sci. Hungar. (1966), 61-99.
- [Er69b] Erdős, P., Problems and results in chromatic graph theory. Proof Techniques in
Graph Theory (Proc. Second Ann Arbor Graph Theory Conf., Ann Arbor, Mich., 1968)
(1969), 27-35.
- [EHS74] Erdős, P. and Hajnal, A. and Shelah, S., On some general properties of chromatic
numbers. Topics in topology (Proc. Colloq., Keszthely, 1972) (1974), 243-255.
-/
@[expose] public section
open Cardinal
open scoped Cardinal
namespace Erdos594
set_option linter.style.formal_proof_palomar false in
/--
**Erdős Problem 594** (Erdős–Hajnal [ErHa66], [Er69b]):
Does every graph $G$ with chromatic number $\geq \aleph_1$ contain all sufficiently
large odd cycles?
The answer is **Yes**, proved by Erdős, Hajnal, and Shelah [EHS74].
A graph has chromatic number $\geq \aleph_1$ (i.e. uncountable chromatic number)
if and only if it admits no proper colouring with countably many colours; this is
encoded as `IsEmpty (G.Coloring ℕ)`. The conclusion states that there is some
$N$ such that for every $k \geq N$ the graph contains a cycle of odd length $2k + 1$.
-/
@[category research solved, question, AMS 3 5, formal_proof using lean4 at "https://github.com/plby/lean-proofs/blob/1268917deaaaa0d674f651287027baa26cea9920/src/latest/ErdosProblems/Erdos594.lean#L907"]
theorem erdos_594 :
∀ (V : Type) (G : SimpleGraph V), IsEmpty (G.Coloring ℕ) →
∃ N : ℕ, ∀ k : ℕ, N ≤ k →
∃ (v : V) (w : G.Walk v v), w.IsCycle ∧ w.length = 2 * k + 1 := by
sorry
/--
The earlier result of Erdős and Hajnal [ErHa66]: every graph with chromatic number
$\geq \aleph_2$ contains all sufficiently large odd cycles.
Chromatic number $\geq \aleph_2$ is encoded as the nonexistence of a proper colouring
with any set of at most $\aleph_1$ colours.
-/
@[category research solved, AMS 3 5]
theorem erdos_594.variants.erdos_hajnal (V : Type) (G : SimpleGraph V)
(h : ∀ (α : Type), #α ≤ ℵ_ 1 → IsEmpty (G.Coloring α)) :
∃ N : ℕ, ∀ k : ℕ, N ≤ k →
∃ (v : V) (w : G.Walk v v), w.IsCycle ∧ w.length = 2 * k + 1 := by
sorry
/--
Sanity check for the encoding of "chromatic number $\geq \aleph_1$": a countably
colourable graph, such as the empty graph on $\mathbb{N}$, does not satisfy the
hypothesis `IsEmpty (G.Coloring ℕ)`.
-/
@[category test, AMS 5]
theorem erdos_594.variants.bot_countably_colorable :
¬ IsEmpty ((⊥ : SimpleGraph ℕ).Coloring ℕ) := by
rw [not_isEmpty_iff]
exact ⟨SimpleGraph.Coloring.mk (fun _ => 0) (by simp)⟩
end Erdos594
To prove it: keep every definition of Challenge.lean unchanged and prove Erdos594.erdos_594 with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_erdos_594 : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.
nosorry fetch erdos-594 nosorry submit erdos-594 nosorry/erdos-594/Solution.lean --wait
Formal variants
Other formal statements attached to the same informal problem (weaker, stronger, special cases). Each is scored separately.
- erdos-594-variants-erdos-hajnal — 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.