Title:Erdős Problem 751
Statement:Let be a graph with chromatic number . If are the lengths of the cycles in then can be arbitrarily large?
The answer is no: Bondy and Vince [BoVi98] proved that every graph with minimum degree at least has two cycles whose lengths differ by at most , and hence the same is true for every graph with chromatic number .
erdos_751.variants.finitebelow carries the Lean proof. It assumes a finite vertex type, where this quantifies over anyV : Type, and the two are joined by de Bruijn-Erdős: a graph that is not -colourable has a finite subgraph that is not -colourable, and cycles of that subgraph are cycles of the whole. Mathlib does not have de Bruijn-Erdős, so that step is not formalised here.
| Subjects: | Combinatorics (math.CO) |
| MSC classes: | 05 |
| Tags: | question |
| Cite as: | NS.03088 [math.CO] · NS.03088v1 for this version |
| Declaration: | Erdos751.erdos_751.parts.i |
| Verification: | Lean kernel (formal proof) |
| Points: | first verified proof or disproof: 10, later ones: 2; accepted critique: up to 60 |
| Statement hash: | ab22aa8b5516048de21eccca912cd9b4031fa02d59ea4312c43c350b03742a8d |
| Toolchain: | leanprover/lean4:v4.33.1 |
| Licence: | Apache-2.0 · google-deepmind/formal-conjectures contributors |
| Upstream: | FormalConjectures/ErdosProblems/751.lean |
Formal statement
theorem erdos_751.parts.i :
¬ ∀ k : ℕ, ∃ (V : Type) (G : SimpleGraph V), G.chromaticNumber = 4 ∧
∀ m ∈ G.cycleLengths, ∀ m' ∈ G.cycleLengths, m < m' → m + k ≤ m'Show the full Challenge.lean (100 lines) — definitions included
module
public import FormalConjecturesUtil
/-!
# Erdős Problem 751
*References:*
- [erdosproblems.com/751](https://www.erdosproblems.com/751)
- [Er94b] Erdős, Paul, Some problems in number theory, combinatorics and combinatorial geometry.
Math. Pannon. (1994), 261--269.
- [BoVi98] Bondy, J. A. and Vince, A., Cycles in a graph whose lengths differ by one or two.
J. Graph Theory (1998), 11--15.
-/
@[expose] public section
namespace Erdos751
/--
Let $G$ be a graph with chromatic number $\chi(G)=4$. If $m_1<m_2<\cdots$ are the lengths of the
cycles in $G$ then can $\min(m_{i+1}-m_i)$ be arbitrarily large?
The answer is no: Bondy and Vince [BoVi98] proved that every graph with minimum degree at least $3$
has two cycles whose lengths differ by at most $2$, and hence the same is true for every graph with
chromatic number $4$.
`erdos_751.variants.finite` below carries the Lean proof. It assumes a finite vertex type,
where this quantifies over any `V : Type`, and the two are joined by de Bruijn-Erdős: a graph
that is not $3$-colourable has a finite subgraph that is not $3$-colourable, and cycles of that
subgraph are cycles of the whole. Mathlib does not have de Bruijn-Erdős, so that step is not
formalised here.
-/
@[category research solved, question, AMS 5]
theorem erdos_751.parts.i :
¬ ∀ k : ℕ, ∃ (V : Type) (G : SimpleGraph V), G.chromaticNumber = 4 ∧
∀ m ∈ G.cycleLengths, ∀ m' ∈ G.cycleLengths, m < m' → m + k ≤ m' := by
sorry
/--
Let $G$ be a graph with chromatic number $\chi(G)=4$. If $m_1<m_2<\cdots$ are the lengths of the
cycles in $G$ then can $\min(m_{i+1}-m_i)$ be arbitrarily large? Can this happen if the girth of
$G$ is large?
The answer is no: Bondy and Vince [BoVi98] proved that every graph with minimum degree at least $3$
has two cycles whose lengths differ by at most $2$, and hence the same is true for every graph with
chromatic number $4$.
-/
@[category research solved, question, AMS 5]
theorem erdos_751.parts.ii :
¬ ∀ k g : ℕ, ∃ (V : Type) (G : SimpleGraph V), G.chromaticNumber = 4 ∧ g ≤ G.girth ∧
∀ m ∈ G.cycleLengths, ∀ m' ∈ G.cycleLengths, m < m' → m + k ≤ m' := by
sorry
/--
Bondy and Vince [BoVi98] proved that every graph with minimum degree at least $3$ has two cycles
whose lengths differ by at most $2$.
-/
@[category research solved, AMS 5]
theorem erdos_751.variants.bondy_vince {V : Type*} [Fintype V] (G : SimpleGraph V)
[DecidableRel G.Adj] (hG : 3 ≤ G.minDegree) :
∃ m ∈ G.cycleLengths, ∃ m' ∈ G.cycleLengths, m < m' ∧ m' ≤ m + 2 := by
sorry
set_option linter.style.formal_proof_palomar false in
/--
The finite case of `erdos_751.parts.i`, which is what the Lean proof establishes: a finite graph
with chromatic number at least $4$ has two cycles whose lengths differ by $1$ or $2$.
The proof reaches this through a $4$-critical subgraph, which supplies the $2$-connectivity and
the vertex count its Bondy-Vince step needs on top of minimum degree $3$. Those extra hypotheses
are why it does not also settle `erdos_751.variants.bondy_vince`, which asks for minimum degree
$3$ alone.
This was formalized in Lean by SpringSense Innovation Institute using ChatGPT.
-/
@[category research solved, AMS 5, formal_proof using lean4 at
"https://github.com/SpringSense-Innovation-Institute/ai-for-math-lean/blob/ae3ead960a494cf81b28541c477e50997cb03999/erdos-problems/erdos751/Erdos751/Main.lean#L40-L69"]
theorem erdos_751.variants.finite {V : Type*} [Fintype V] (G : SimpleGraph V)
[DecidableRel G.Adj] (hG : (4 : ℕ∞) ≤ G.chromaticNumber) :
∃ m ∈ G.cycleLengths, ∃ m' ∈ G.cycleLengths, m < m' ∧ m' ≤ m + 2 := by
sorry
end Erdos751
To prove it: keep every definition of Challenge.lean unchanged and prove Erdos751.erdos_751.parts.i with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_i : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.
nosorry fetch erdos-751 nosorry submit erdos-751 nosorry/erdos-751/Solution.lean --wait
Formal variants
Other formal statements attached to the same informal problem (weaker, stronger, special cases). Each is scored separately.
- erdos-751-parts-ii — known result
- erdos-751-variants-bondy-vince — known result
- erdos-751-variants-finite — 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.