Title:Erdős Problem 58
Statement:If is a graph which contains odd cycles of different lengths then , with equality if and only if contains .
Conjectured by Bollobás and Erdős. Proved by Gyárfás [Gy92].
| Subjects: | Combinatorics (math.CO) |
| MSC classes: | 05 |
| Tags: | formal_proof |
| Cite as: | NS.02507 [math.CO] · NS.02507v1 for this version |
| Declaration: | Erdos58.erdos_58 |
| Verification: | Lean kernel (formal proof) |
| Points: | first verified proof or disproof: 10, later ones: 2; accepted critique: up to 60 |
| Statement hash: | f47876be1c8187f7ae344a964fd5d82d636e894bcb3be55d6392fc5197bb5abc |
| Toolchain: | leanprover/lean4:v4.33.1 |
| Licence: | Apache-2.0 · google-deepmind/formal-conjectures contributors |
| Upstream: | FormalConjectures/ErdosProblems/58.lean |
Formal statement
theorem erdos_58 :
∀ {V : Type*} (G : SimpleGraph V) (k : ℕ),
G.oddCycleLengths.Finite →
G.oddCycleLengths.ncard ≤ k →
G.chromaticNumber ≤ (2 * k + 2 : ℕ∞) ∧
(G.chromaticNumber = (2 * k + 2 : ℕ∞) ↔
(SimpleGraph.completeGraph (Fin (2 * k + 2))).IsContained G)Show the full Challenge.lean (56 lines) — definitions included
module
public import FormalConjecturesUtil
/-!
# Erdős Problem 58
*References:*
- [erdosproblems.com/58](https://www.erdosproblems.com/58)
- [Er90] Erdős, Paul, Some of my favourite unsolved problems. A tribute to Paul Erdős (1990), 467-478.
- [GaHuMa21] Gao, Jun and Huo, Qingyi and Ma, Jie, *A strengthening on odd cycles in graphs of given
chromatic number*. SIAM J. Discrete Math. (2021), 2317-2327.
- [Gy92] Gyárfás, A., *Graphs with k odd cycle lengths*. Discrete Math. (1992), 41-48.
-/
@[expose] public section
namespace Erdos58
set_option linter.style.formal_proof_palomar false in
/--
If $G$ is a graph which contains odd cycles of $\leq k$ different lengths then $\chi(G)\leq 2k+2$,
with equality if and only if $G$ contains $K_{2k+2}$.
Conjectured by Bollobás and Erdős. Proved by Gyárfás [Gy92].
-/
@[category research solved, AMS 5, formal_proof using lean4 at
"https://github.com/linrock/math-proofs/blob/1f6f15be04f783cf5fabcf7f8477b4d8c03c685c/erdos-58/Proofs/Layer1358.lean#L35"]
theorem erdos_58 :
∀ {V : Type*} (G : SimpleGraph V) (k : ℕ),
G.oddCycleLengths.Finite →
G.oddCycleLengths.ncard ≤ k →
G.chromaticNumber ≤ (2 * k + 2 : ℕ∞) ∧
(G.chromaticNumber = (2 * k + 2 : ℕ∞) ↔
(SimpleGraph.completeGraph (Fin (2 * k + 2))).IsContained G) := by
sorry
-- TODO: Add variants of the problem.
end Erdos58
To prove it: keep every definition of Challenge.lean unchanged and prove Erdos58.erdos_58 with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_erdos_58 : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.
nosorry fetch erdos-58 nosorry submit erdos-58 nosorry/erdos-58/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.