Research notes on every problem, and a library of the papers behind them. Built from the open erdos repository.
Updated
Problem 24
claims/: The 2 claim pages of Problem 24, one per claimant's result; the problem's standing derives from them.
Statement. Does every triangle-free graph on vertices contain at most copies of ?
Formulation. Graphs are finite and simple. A copy is an unlabeled cycle, counted once, not one of its ten cyclically ordered vertex labelings. Every five-cycle in a triangle-free graph is induced, since any chord would create a triangle.
Status. Proved. The site's label reads "PROVED (LEAN)"; the Lean proof
it reports and its public scope are recorded below. The claim pages are
Grzesik
and
Hatami, Hladký, Král', Norine and Razborov
(both accepted on their refereed publications and the curator's credit); the
2026 Lean proof declares itself a formalization of Grzesik's proof and is
recorded on that page as a formalization link; it gives no formalized
evidence.
Source. erdosproblems.com/24, accessed 2026-09-10 UTC. Cite as: T. F. Bloom, Erdős Problem #24, https://www.erdosproblems.com/24.
References.
- [Er92b] Erdős, Paul, Some of my favourite problems in various branches of combinatorics. Matematiche (Catania) (1992), 231-240.
- [Er97f] Erdős, Paul, Some unsolved problems. Combinatorics, geometry and probability (Cambridge, 1993) (1997), 1-10. chapter at pp. 1-10.
- [Gr12] Grzesik, Andrzej, On the maximum number of five-cycles in a triangle-free graph. J. Combin. Theory Ser. B 102(5) (2012), 1061-1066. arXiv:1102.0962v3.
- [HHKNR13] Hatami, Hamed; Hladký, Jan; Král’, Daniel; Norine, Serguei; Razborov, Alexander, On the number of pentagons in triangle-free graphs. J. Combin. Theory Ser. A 120(3) (2013), 722-732. Published article; arXiv:1102.1634v4.
Formalization. The formal-conjectures statement links a public solution. The Public formalization section below records the exact counting convention, pinned source and coverage.
Current assessment
The answer is yes for every positive integer , with equality attained by
replacing each vertex of by an independent set of size and joining
consecutive parts completely, with no other edges. The empty case also
satisfies the bound.
Grzesik's
Theorem 3
and, independently, Hatami et al.'s
Corollary 3.3
prove the stronger bound for every graph order . Substituting
resolves the catalog question. Their refereed publications [Gr12]
and [HHKNR13] support proved; this status does not depend on a new project
proof or local formal verification.
A bounded status search checked the catalog and its forum, the papers' arXiv records, journal publication records, author publication pages, public formalization sources, and web-indexed announcements including X. It also located the later Lidický-Pfender resolution of the rounded arbitrary-order refinement, described below. The search found no dispute affecting the exact -vertex result. The catalog's broader remark about other odd cycle lengths is a separate question.
The flag-algebra coefficient calculations, the matrix checks and the uniqueness and stability proofs are not independently reviewed; the acceptance rests on the refereed publications.
Known Results
Exact bound and equality
Write for the number of unlabeled five-cycles in . Grzesik's Theorem 2 and Hatami et al.'s Theorem 3.1 bound the limiting induced-pentagon density by
For , the finite density uses as denominator. The displayed constant is not a bound on for every finite graph: has density . The source's blow-up argument converts the limiting bound into at every order. A finite counterexample would yield arbitrarily large triangle-free blow-ups with limiting density greater than .
For , the five equal parts described above give exactly pentagons, one for each choice of one vertex in each part. Hatami et al.'s Corollary 3.3 also shows that equality in requires and precisely this balanced blow-up, up to graph isomorphism. Their equality argument uses Theorem 3.2 on uniqueness of the extremal limit and the finite-graph invariant in their Theorem 2.1. Grzesik's Theorem 3 alone does not classify equality.
Rounded maximum at arbitrary orders
For , , let
This is the count in a pentagon blow-up whose part sizes differ by at most one. Hatami et al.'s arXiv v4 proves its optimality for sufficiently large in Theorem 4.2. On manuscript p. 11 the authors withdraw their original all-order argument for this rounded bound because of an uncorrected proof mistake. This qualification concerns the rounded refinement; their all-order bound and the catalog's case remain proved.
The rounded question was subsequently settled by Bernard Lidický and Florian Pfender, Pentagons in triangle-free graphs, European J. Combin. 74 (2018), 85-89 (published article). arXiv:1712.08869v1, Theorem 2 on manuscript p. 2, gives the exact maximum for every . For , all extremizers are the blow-ups with part sizes differing by at most one, together with the Möbius ladder at (the eight-cycle with four opposite chords). The proof and its computational inputs are not independently reviewed. The paper is not held.
Public formalization
At the pinned commit (2026-08-03), the linked formal-conjectures file
states Erdos24.erdos_24 for every n : ℕ and
G : SimpleGraph (Fin (5 * n)), under G.CliqueFree 3, with conclusion
G.copyCount (cycleGraph 5) ≤ n ^ 5. The
pinned Mathlib definition
counts subgraphs isomorphic to , so it uses unlabeled copies. The
statement file itself contains sorry; its formal_proof attribute points
to the separate solution.
That
hosted solution,
in Boris Alexeev's lean-proofs repository at the pinned commit of
2026-06-30, attributes the formalization to Matteo Del Vecchio and Aristotle
following Grzesik. Its final theorem Erdos24.erdos_pentagon_conjecture has
the same scope. Its numC5 counts injective cyclic vertex labelings
divided by , and the source includes their equivalence with the
vertex-set count under triangle-freeness; it relates neither count to
Mathlib's copyCount. This final theorem does not include the equality
classification or rounded arbitrary-order maximum.
The source includes a comment reporting the axioms propext, Classical.choice
and Quot.sound; the development was not built or audited by this project, and
no independent whole-statement fidelity audit is published. The formalization
was announced in the site's forum on 2026-04-23; since it declares itself a
formalization of Grzesik's proof, it is a formalization link on
Grzesik's claim page
and gives no formalized evidence; the community database records
formal_status Lean since 2026-04-23 (as of 2026-10-06).
Linked library material
These entries are derived from explicit links on library pages. They are navigation only and do not by themselves record mathematical progress.
- erdos_1992_my_favourite_problems_various_branches_combinatorics
- erdos_1997_some_unsolved_problems
- grzesik_2012_maximum_number_five_cycles_triangle_free
- grzesik_2012_maximum_number_five_cycles_triangle_free / theorem_2
- grzesik_2012_maximum_number_five_cycles_triangle_free / theorem_3
- hatami_2013_number_pentagons_triangle_free_graphs
- hatami_2013_number_pentagons_triangle_free_graphs / corollary_3_3
- hatami_2013_number_pentagons_triangle_free_graphs / theorem_3_1
- hatami_2013_number_pentagons_triangle_free_graphs / theorem_3_2
- hatami_2013_number_pentagons_triangle_free_graphs / theorem_4_2