Mathematics / Original Research / Graph Theory
The Erdős-Gyárfás Conjecture for P₁₇-Free Graphs, Diameter-Three Graphs, and Three Diameter-Four Families
Proves, for all finite orders, special cases of the Erdős–Gyárfás conjecture (Erdős Problem #64): P₁₇-free graphs, diameter ≤ 3, and three diameter-≤ 4 families, with re-proofs of the known P₈-, P₁₀-, P₁₃-free and diameter-2 cases. The full conjecture remains open.
- Author
- Ali Uyar
- Scope
- Machine-checked in Lean 4
- Status
- Standalone result
Machine-checked in Lean 4 ✓
Abstract
The Erdős–Gyárfás conjecture (Erdős Problem #64) asserts that every finite simple graph with minimum degree δ(G) ≥ 3 contains a simple cycle whose length is a power of two at least 4. Liu and Montgomery (2023) proved it when the minimum degree exceeds a large absolute constant; for small minimum degree it is open. Prior work proved it for P₈-free graphs (Gao–Shan 2022), P₁₀-free graphs (Hu–Shen 2024), P₁₃-free graphs (Hegde–Sandeep–Shashank, computer-assisted arXiv preprint 2024) and diameter ≤ 2 graphs (Carr, arXiv 2025). A diameter ≤ 3 argument under δ(G) ≥ 4 has been posted informally (Erdős Problems forum proof claim by M. C. Temeller; unrefereed).
Using existential forcing-tree certificates checked in Lean 4.34.0 (core library only), the development proves, with no bound on the graph order: (1) every P₁₇-free graph with δ(G) ≥ 3 contains a 2ᵏ-cycle (certificate with 93,175 configurations and 5,573,810 rule nodes in 279 Lean batches; the P₈- through P₁₆-free rungs are proved along the way); (2) every nonempty graph with δ(G) ≥ 3 and diameter ≤ 3 contains a simple 4-cycle or 8-cycle; and (3) every graph with δ(G) ≥ 3 and diameter ≤ 4 contains a 2ᵏ-cycle if it is bipartite, claw-free, or has girth at least 7. It also formalizes Shauger's theorem for claw-free graphs with δ ≥ 4, the triangle-contraction correspondence for cubic claw-free graphs of Nowbandegani, Esfandiari, Shirdareh Haghighi and Bibak (with its converse), and a counterexample showing that detour lifting needs a distinctness hypothesis. The P₈, P₁₀, P₁₃, diameter-2 and claw-free δ ≥ 4 cases are formalizations of known results.
Context
Forbidden induced paths and bounded diameter are the two main axes along which the Erdős–Gyárfás conjecture has been confirmed for minimum degree 3. These results push the induced-path case from P₁₃ to P₁₇ and handle diameter 3 at minimum degree 3 rather than 4, with machine-checked certificates valid for every graph order. The claw-free and cubic claw-free cases and unrestricted diameter 4 remain open.
Credits
Known results re-proved in Lean: P₈-free (Y. Gao and S. Shan), P₁₀-free (Z. Hu and C. Shen), P₁₃-free (A. S. Hegde, R. B. Sandeep and P. Shashank), diameter 2 (A. Carr), claw-free δ ≥ 4 (S. E. Shauger), cubic claw-free triangle contraction (P. S. Nowbandegani, H. Esfandiari, M. H. Shirdareh Haghighi and K. Bibak). The diameter-3, δ ≥ 4 proof claim is by M. C. Temeller. Lean code and search programs were produced with AI coding agents operated by the author (agent and model not recorded); no third-party Lean code was adapted.
Cite
@misc{uyar2026_erdos_gyarfas_cycles,
author = {Uyar, Ali},
title = {The Erdős-Gyárfás Conjecture for P₁₇-Free Graphs, Diameter-Three Graphs, and Three Diameter-Four Families},
year = {2026},
publisher = {Zenodo},
doi = {10.5281/zenodo.24765073},
url = {https://doi.org/10.5281/zenodo.24765073},
note = {Machine-checked in Lean 4. Code: https://github.com/aliuyar1234/verified-combinatorics/tree/main/05-erdos-gyarfas-cycles}
}