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 921

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:

Let k≥4k\geq 4 and let fk(n)f_k(n) be the largest mm such that there is a graph on nn vertices with chromatic number kk in which every odd cycle has length >m> m. Then fk(n)≍n1k−2.f_k(n) \asymp n^{\frac{1}{k-2}}.

A question of Erdős and Gallai.

Proved for all k≥4k\geq 4 by Kierstead, Szemerédi, and Trotter [KST84].

The linked formal proof (Codex and GPT-5.6 Sol) states this as f k n = Θ(n ^ (1 / (k - 2))), where f k n is the largest m such that some graph on n vertices with chromatic number k has no odd cycle of length at most m; the two eventual statements below are the two halves of this estimate.

Subjects:Combinatorics (math.CO)
MSC classes:05
Tags:question, formal_proof
Cite as:NS.03644 [math.CO] · NS.03644v1 for this version
Declaration:Erdos921.erdos_921
Verification:Lean kernel (formal proof)
Points:first verified proof or disproof: 10, later ones: 2; accepted critique: up to 60
Statement hash:a37bfaff4b4aee1c77d87e2218f802928b720221fae95bdd2f2ad7767a6d4c2d
Toolchain:leanprover/lean4:v4.33.1
Licence:Apache-2.0 · google-deepmind/formal-conjectures contributors
Upstream:FormalConjectures/ErdosProblems/921.lean

Formal statement

theorem erdos_921 :
    ∀ (k : ℕ), 4 ≤ k →
      ∃ (c₁ c₂ : ℝ), 0 < c₁ ∧ 0 < c₂ ∧
        (∀ᶠ (n : ℕ) in atTop,
          (∃ (G : SimpleGraph (Fin n)),
            G.chromaticNumber = (k : ℕ∞) ∧
            ∀ l ∈ G.oddCycleLengths, c₁ * (n : ℝ) ^ (1 / ((k : ℝ) - 2)) < (l : ℝ))) ∧
        (∀ᶠ (n : ℕ) in atTop,
          ∀ (G : SimpleGraph (Fin n)),
            G.chromaticNumber = (k : ℕ∞) →
            ∃ l ∈ G.oddCycleLengths, (l : ℝ) ≤ c₂ * (n : ℝ) ^ (1 / ((k : ℝ) - 2)))
Show the full Challenge.lean (72 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 921

*References:*
- [erdosproblems.com/921](https://www.erdosproblems.com/921)
- [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.
- [Ga63] Gallai, T., Kritische Graphen. I. Magyar Tud. Akad. Mat. Kutató Int. Közl. (1963), 165-192.
- [KST84] Kierstead, H. A., Szemerédi, E. and Trotter, W. T., On coloring graphs with locally
  small chromatic number. Combinatorica (1984), 183-185.
-/

@[expose] public section

open Filter

namespace Erdos921

set_option linter.style.formal_proof_palomar false in
/--
Let $k\geq 4$ and let $f_k(n)$ be the largest $m$ such that there is a graph on $n$ vertices
with chromatic number $k$ in which every odd cycle has length $> m$.
Then
$$f_k(n) \asymp n^{\frac{1}{k-2}}.$$

A question of Erdős and Gallai.

Proved for all $k\geq 4$ by Kierstead, Szemerédi, and Trotter [KST84].

The linked formal proof (Codex and GPT-5.6 Sol) states this as `f k n = Θ(n ^ (1 / (k - 2)))`,
where `f k n` is the largest `m` such that some graph on `n` vertices with chromatic number `k`
has no odd cycle of length at most `m`; the two eventual statements below are the two halves
of this estimate.
-/
@[category research solved, question, AMS 5, formal_proof using lean4 at
  "https://github.com/plby/lean-proofs/blob/8822f7ddef30fadbd92e1c6ab4ed897af356af5e/src/latest/ErdosProblems/Erdos921.lean#L39"]
theorem erdos_921 :
    ∀ (k : ℕ), 4 ≤ k →
      ∃ (c₁ c₂ : ℝ), 0 < c₁ ∧ 0 < c₂ ∧
        (∀ᶠ (n : ℕ) in atTop,
          (∃ (G : SimpleGraph (Fin n)),
            G.chromaticNumber = (k : ℕ∞) ∧
            ∀ l ∈ G.oddCycleLengths, c₁ * (n : ℝ) ^ (1 / ((k : ℝ) - 2)) < (l : ℝ))) ∧
        (∀ᶠ (n : ℕ) in atTop,
          ∀ (G : SimpleGraph (Fin n)),
            G.chromaticNumber = (k : ℕ∞) →
            ∃ l ∈ G.oddCycleLengths, (l : ℝ) ≤ c₂ * (n : ℝ) ^ (1 / ((k : ℝ) - 2))) := by
  sorry

-- TODO: Add variants of the problem.

end Erdos921

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

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