A generalization of Bondy's pancyclicity theorem
Nemanja Dragani\'c, David Munh\'a Correia, Benny Sudakov

TL;DR
This paper extends Bondy's classical pancyclicity theorem by showing that a graph with minimum degree at least its bipartite independence number is either pancyclic or a complete bipartite graph, generalizing previous Hamiltonicity results.
Contribution
It generalizes Bondy's theorem by establishing pancyclicity under a broader minimum degree condition involving the bipartite independence number.
Findings
Graphs with minimum degree ≥ bipartite independence number are pancyclic or complete bipartite.
Extends McDiarmid and Yolov's Hamiltonian condition to pancyclicity.
Provides a unified condition encompassing Dirac's and Bondy's theorems.
Abstract
The bipartite independence number of a graph , denoted as , is the minimal number such that there exist positive integers and with with the property that for any two sets with and , there is an edge between and . McDiarmid and Yolov showed that if then is Hamiltonian, extending the famous theorem of Dirac which states that if then is Hamiltonian. In 1973, Bondy showed that, unless is a complete bipartite graph, Dirac's Hamiltonicity condition also implies pancyclicity, i.e., existence of cycles of all the lengths from up to . In this paper we show that implies that is pancyclic or that , thus extending the result of McDiarmid and Yolov, and generalizing the classic…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsGraph theory and applications · Advanced Graph Theory Research · Limits and Structures in Graph Theory
\floatsetup
heightadjust=object, valign=c
A generalization of Bondy’s pancyclicity theorem
Nemanja Draganić
Department of Mathematics, ETH, Zürich, Switzerland. Research supported in part by SNSF grant 200021_196965.
Emails: {nemanja.draganic,david.munhacanascorreia, benjamin.sudakov}@math.ethz.ch.
David Munhá Correia11footnotemark: 1
Benny Sudakov11footnotemark: 1
Abstract
The bipartite independence number of a graph , denoted as , is the minimal number such that there exist positive integers and with with the property that for any two sets with and , there is an edge between and . McDiarmid and Yolov showed that if then is Hamiltonian, extending the famous theorem of Dirac which states that if then is Hamiltonian. In 1973, Bondy showed that, unless is a complete bipartite graph, Dirac’s Hamiltonicity condition also implies pancyclicity, i.e., existence of cycles of all the lengths from up to . In this paper we show that implies that is pancyclic or that , thus extending the result of McDiarmid and Yolov, and generalizing the classic theorem of Bondy.
1 Introduction
The notion of Hamiltonicity is one of most central and extensively studied topics in Combinatorics. Since the problem of determining whether a graph is Hamiltonian is NP-complete, a central theme in Combinatorics is to derive sufficient conditions for this property. A classic example is Dirac’s theorem [14] which dates back to 1952 and states that every -vertex graph with minimum degree at least is Hamiltonian. Since then, a plethora of interesting and important results about various aspects of Hamiltonicity have been obtained, see e.g. [1, 11, 28, 25, 27, 12, 19, 13, 33], and the surveys [21, 30].
Besides finding sufficient conditions for containing a Hamilton cycle, significant attention has been given to conditions which force a graph to have cycles of other lengths. Indeed, the cycle spectrum of a graph, which is the set of lengths of cycles contained in that graph, has been the focus of study of numerous papers and in particular gained a lot of attention in recent years [22, 3, 20, 29, 35, 2, 32, 24, 16, 8]. Among other graph parameters, the relation of the cycle spectrum to the minimum degree, number of edges, independence number, chromatic number and expansion of the graph have been studied.
We say that an -vertex graph is pancyclic if the cycle spectrum contains all integers from up to . Bondy suggested that in the cycle spectrum of a graph, it is usually hardest to guarantee the existence of the longest cycle, i.e. a Hamilton cycle. This intuition was captured by his famous meta-conjecture [5] from 1973, which asserts that any non-trivial condition which implies Hamiltonicity, also implies pancyclicity (up to a small class of exceptional graphs). As a first example, he proved in [6] an extension of Dirac’s theorem, showing that minimum degree at least implies that the graph is either pancyclic or that it is the complete bipartite graph . Further, Bauer and Schmeichel [4], relying on previous results of Schmeichel and Hakimi [34], showed that the sufficient conditions for Hamiltonicity given by Bondy [7], Chvátal [10] and Fan [18] all imply pancyclicity, up to a certain small family of exceptional graphs.
Another classic Hamiltonicity result is the Chvátal-Erdős theorem, which states that implies that is Hamiltonian, where is the connectivity of , and its independence number. Motivated by Bondy’s meta-conjecture, Jackson and Ordaz [23] thirty years ago suggested that already implies pancyclicity. The first progress towards this problem was obtained by Keevash and Sudakov, who showed pancyclicity when . Recently, in [15] we were able to resolve the Jackson-Ordaz conjecture asymptotically, proving that is already enough for pancyclicity. It is worth mentioning that, in all the listed work, the proof that the Hamiltonicity condition also implies pancyclicity is usually significantly harder than just proving Hamiltonicity, and requires new ideas and techniques.
An interesting sufficient condition for Hamiltonicity was given by McDiarmid and Yolov [31]. To state their result, we need the following natural graph parameter. For a graph , its bipartite independence number is the minimal number , such that there exist positive integers and with , such that between any two sets with and , there is an edge between and . Notice that we always have that . Indeed, if , then does not contain independent sets of size at least , since evidently for every , there would exist disjoint sets , so that and and with no edge between and . Let us now state the result of McDiarmid and Yolov.
Theorem 1.1** ([31]).**
If , then is Hamiltonian.
This result implies Dirac’s theorem, because if , then , as for every and there is an edge between and . Hence also , so is Hamiltonian.
Naturally, the immediate question which arises is whether the McDiarmid-Yolov condition implies that the graph satisfies the stronger property of pancyclicity. As a very preliminary step in this direction, Chen [9] was able to show that for any given positive constant , for sufficiently large it holds that if is an -vertex graph with and , then is pancyclic. In this paper we completely resolve this problem, showing that implies that pancyclic or . This generalizes the classical theorem of Bondy [6], and gives additional evidence for his meta-conjecture, mentioned above.
Theorem 1.2**.**
If , then is pancyclic, unless is complete bipartite .
Our proof is completely self-contained and relies on a novel variant of Pósa’s celebrated rotation-extension technique, which is used to extend paths and cycles in expanding graphs (see, e.g., [33]). Define the graph , to be the cycle of length together with an additional vertex which is adjacent to two consecutive vertices on the cycle (thus forming a triangle with them). For each , our goal is to either find a or a , which is clearly enough to show pancyclicity. The proof is recursive in nature, as we will derive the existence of a or a from the existence of a . In our setting, we would like to apply the rotation-extension technique to the with the additional requirement that the extended cycle preserves the attached triangle. However, this is not possible in general and from the existence of a we will in turn derive the existence of a gadget denoted as a switch, which is a path with triangles attached to it, to which we can apply our rotation-extension technique. One of the key ideas is to consider the switch which is optimal with respect to how close the triangles are to the beginning of the path (see Definition 2.5). The application of the rotation-extension technique to such an optimal switch will then result in either a , a , or a better switch, contradicting the optimality of the original switch. The details are given in the next section.
2 The proof
We first recall the definition of .
Definition 2.1**.**
For a graph , let denote the minimal number , such that there exist positive integers and with , such that between any two disjoint sets with and , there is an edge between and .
We will also need the following definition of a cycle which has one triangle attached to one of its edges.
Definition 2.2**.**
Define the graph , to be the cycle of length together with an additional vertex which is adjacent to two consecutive vertices on the cycle.
- Proof of Theorem 1.2.
Let and denote and suppose that for and , between every two disjoint vertex sets of sizes and , there is an edge between them. By assumption, we have . Note also that as observed before has independence number . Note further that since , we have that if is bipartite then it must be isomorphic to . Finally, note also that is connected. Indeed, consider two non-adjacent vertices ; if their neighbourhoods intersect, there clearly exists a -path; otherwise, since both neighbourhoods have size at least , there exists an edge between them and thus also a -path.
Claim 2.3**.**
Either contains a triangle or is bipartite.
- Proof.
For sake of contradiction, suppose it does not contain a triangle nor it is bipartite and consider any vertex . If its neighbourhood is of size at least , then as observed above it contains an edge, which together with creates a triangle. Therefore, every vertex has degree and its neighbourhood does not contain an edge.
Furthermore, observe that every two non-adjacent vertices must have at least common neighbours. Indeed, suppose has less than neighbours in and consider a set of size precisely which contains and all of its neighbours in , and possibly some other vertices in . Now, by the assumption on the graph, there is an edge between and , since the sizes of these are and respectively. However, this is a contradiction, since there are no edges between and and any edge contained in creates a triangle.
To finish, recall that is non-bipartite and thus contains an odd cycle, which is then not a triangle. Further, it contains an induced odd cycle - indeed, the shortest odd cycle must be induced. Since this cycle is not a triangle, it must then contain three vertices such that is an edge and are not adjacent to . Since by the previous paragraph we have that both have at least neighbours in , they have a common neighbour (in ), which together with the edge creates a triangle, a contradiction. ∎
We will now continue with the proof assuming that , and in the end we will deal with the few simple remaining cases when . So assume is not isomorphic to , so it is not bipartite. Note that contains a or a . Indeed, we get this by considering the neighbourhoods of any two vertices lying on a triangle , whose existence is guaranteed by the previous claim; if the neighbourhoods intersect in a vertex outside of the triangle, this gives . Otherwise, between which is of size at least , and the set which is of size at least , there is an edge which gives the required or . Theorem 1.2 will now follow from the following Lemma.
Lemma 2.4**.**
If contains a copy of for some , then it also contains or .
Indeed, to finish the proof, note that since contains or , we can iteratively apply the lemma to get a family of graphs which are all contained in , such that for every pair of consecutive integers in , one of the two is in . Since each contains both and we are done.
- Proof of Lemma 2.4.
Suppose for sake of contradiction that contains a , but does not contain a , nor a . The central gadget we use in our proof is given by the following definition.
Definition 2.5**.**
A -switch in is a subgraph which consists of a path together with the vertex adjacent to vertices with . We also write -switch to denote a switch for which the is not specified.
Note first that a -switch exists for some and . Indeed, since we have a and is connected, there is an edge between and a vertex outside of the - this evidently produces a -switch whose path starts at .
Let us now take a -switch such that is minimized and is maximized with respect to and consider the following ordering of its vertices: , i.e. the natural order of the path with inserted between and . Denote and . Given we define to be the vertex which comes after in the ordering . Given a set of vertices , we define to be the vertices obtained by shifting to the right by one, i.e., ; similarly define . We start with the following simple claim.
Claim 2.6**.**
If , then has no neighbours outside of . If then has less than neighbours outside of .
- Proof.
First, note that if and has a neighbour outside of , we could add that neighbour to , and remove from , thus obtaining a -switch, a contradiction. Now, suppose that . Observe that has less than neighbours outside of . Indeed, let and let be the set of neighbours of in , and let be the set of neighbours of outside of . Then, the set is of size at least and does not contain any vertices in , since this creates a . If , then there is an edge between and , which creates either a or a . Indeed, if then obviously we get a , if then we get a as in Fig. 3(b), and if then we get a whose triangle contains , while if then we get a whose triangle contains . Hence, .
To conclude, suppose that has at least neighbours outside and denote the set of these by . Since has less than neighbours outside by the previous paragraph, we can take a set of at least neighbours of in . Hence, there is an edge between and , which creates a (this is easy to see when or ; otherwise we get the same situation as illustrated in Fig. 4(b)), a contradiction. ∎
Claim 2.7**.**
If , then has no neighbours with .
- Proof.
Otherwise, their exists a -switch, as depicted in Fig. 2, thus contradicting the optimality of . ∎
Now, define the set to consist of the last neighbours of in . Observe that by Claim 2.6 this set exists and as usual, let denote the smallest element of in the ordering . We then have the following.
Claim 2.8**.**
.
- Proof.
If , note that is not adjacent to any of or since any such case would create a , a contradiction. Therefore, . If , then Claims 2.6 and 2.7 imply that all of the at least neighbours of are in and all of them are larger or equal than in . Hence, at least (recall that we are assuming that ) neighbours are larger or equal than in , which completes the proof. ∎
From now on, we will differentiate between two scenarios:
- (A)
has less than neighbours in the interval . 2. Then, denote by the set of neighbours of in , and by the neighbours of outside of . Note that . 3. (B)
has at least neighbours in the interval . 4. Then, denote this set of neighbours by , denote by the set of neighbours of in , by the set of neighbours of outside of . Note that by definition of , has precisely neighbours in and so we have that . Recall further that if by Claim 2.6.
We will now consider a few cases, depending on the parameters and . We will argue that besides the edges of , there exist additional edges in which would imply the existence of a better switch, or a copy of or in , thus giving a contradiction. For example, note that and are not adjacent, since this would create a copy of in . In the figures below, we give some more complex examples of edges which we may find in . In the following subsections, we will consider each one of these situations and we recommend the reader to focus on the figures below only when they are referred to in the proof. We recommend reading case (A) in all sections first, and subsequently case (B) in all sections.
2.1 Triangle at the start:
(A)** holds:**
Since and , there is an edge between and . This creates either a or a (see Fig. 3), so we are done.
(B)** holds:** Let . Note that none of and are in since otherwise a exists, and thus, . Now, is of size at least and so, there is an edge between this set and , which always creates either a or a (see Fig. 4).
2.2 Triangle starts at the second vertex:
(A)** holds:** Note that since otherwise there would exist a -switch, starting with the triangle . Consider then the set which is of size at least . Between and (which is of size ) there is an edge , which creates a or a . Indeed, if then we can proceed as in Fig. 3(a), and if we proceed as below (Fig. 6).
(B)** holds:** Recall that since , and that . If not both edges and are present, then for each vertex (if it is in ) we can assign a unique vertex as follows: , , and for all other vertices . If is the set of vertices assigned to , then there is an edge between and (note that these are disjoint since , implying that all elements in are larger than ). This edge always creates a copy of when (as in Fig. 5(a)), and when then it creates a -switch (as in Fig. 5(b)), a contradiction.
Otherwise, if both and exist, then it must be that , since these edges can be used to form a -switch (see Fig. 7).
Now we define differently as follows: and for all other in , and we can proceed as before, by finding an edge between and . Crucially, note that if now , after doing rotation (as in Fig. 5(a)), we do destroy the triangle , but the triangle is preserved, so it was crucial that .
2.3 Triangle in the middle:
(A)** holds:** First, note that is not adjacent to both and , and is not adjacent to both and , as in both cases we get a better switch (see Fig. 8).
Now, to each vertex in we assign a unique vertex as follows, depending on the adjacencies between and the set :
- (i)
If is adjacent to at most one vertex in , then assign: , and for all other vertices in . 2. (ii)
If is adjacent to only in , then: , and for all other vertices in . 3. (iii)
If is adjacent only to in , then by the observation above it is not adjacent to . We then take: , and for all other vertices in .
As shown before, cannot be adjacent to both and so, one of the options above must hold. Let be the set of assigned vertices, and note that and thus . Hence we have an edge between and , and we can check that in each case we either get a -switch with some or a .
Indeed, for (i) we have a situation as depicted in Fig. 9 if , and Fig. 3 otherwise. For (ii) we have a situation as in Fig. 10 if , as in Fig. 9 if and otherwise we have again the situation in Fig. 3. For (iii) we have the situation of Fig. 9 if and the situation of Fig. 3 otherwise.
(B)** holds:** Recall that by Claim 2.7, the vertex has no neighbours before in the ordering and that . To each vertex in we can then assign a unique vertex as follows: , and for all other (which must have ). Let be the set of assigned vertices, and note then that . Hence we have an edge between and , which are disjoint, as we already explained in Section 2.2, Part (B). In each case we either get a -switch with or we create a . Indeed, if or then we are done by Fig 11, otherwise we are done by Fig. 5(a).
This completes the proof of Lemma 2.4. ∎
2.4 Completing the proof:
When , the proof is significantly shorter. Indeed, this implies that there is an edge between any two disjoint sets of size at least in . If one can check by hand that the statement holds and we leave this as an exercise to the reader (one can already assume that is Hamiltonian, as guaranteed by Theorem 1.1, and then analyse what cycles are created by adding edges between pairs of vertices in the Hamilton cycle).
Otherwise, first note that by Theorem 1.1, contains a Hamilton cycle. We will now show that if contains a cycle of length with , then it contains a cycle of length . This reduces pancyclicity to only finding cycles of length and in . Consider then a cycle in and suppose for sake of contradiction that there is no . Let be two vertices outside of the cycle . Trivially, since , it must be that at least one of has at least neighbours in (otherwise there would be two vertices in not adjacent to , contradicting the assumption on ). Without loss of generality, assume that is adjacent to . If any pair of vertices is consecutive in the cycle , then we can extend this cycle using to create a . Otherwise, fix some orientation of and for each , denote by the vertex before in this orientation. By assumption, there is then an edge between the sets and . In turn, it is easy to check that any such edge creates a cycle on the vertex set of .
We now prove the existence of cycles of lengths from . Note that we have already shown that contains a triangle in Claim 2.3. Now, if two vertices on the triangle have a common neighbour outside then we also have a . Otherwise, note that since by assumption there is an edge between every two disjoint sets of size two, it must be that every pair of vertices has a vertex with degree at least - therefore, two vertices in the triangle have a disjoint neighbourhood of size at least outside the triangle. Between those two neighbourhoods there is an edge, which again gives a (and a ). If does not have a , then we are in the former case with two triangles sharing an edge ( with a diagonal). Now, all except one vertex outside of these four vertices have at least neighbours inside of it. The only way not to create a is to have all of these (at least 2) vertices be adjacent only to the two vertices of degree . But then there is no edge between those vertices outside, and the remaining vertices of our
Finally, if we have a then again all but at most one vertex outside of it, are adjacent to at least two vertices in . One can check that since we have at least of them, this always gives a as well. This completes our proof.
∎
3 Concluding remarks
Bondy’s meta-conjecture states that every non-trivial condition which implies Hamiltonicity, also implies pancyclicity, up to a certain small collection of exceptional graphs. Clearly, there are some cases of natural Hamiltonicity conditions for which this statement fails. For example, it is well known (see [26]) that pseudorandom graphs are Hamiltonian, but even rather dense pseudo-random graphs might have no short cycles to be pancyclic. On the other hand, in addition to the results presented in this paper, we know by now that several well-known Hamiltonicity theorems can be extended to give pancyclicity, for example see [6, 4, 15]. Hence, it would be interesting to explore other interesting Hamiltonicity conditions and understand whether they indeed imply pancyclicity.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] M. Ajtai, J. Komlós, and E. Szemerédi. First occurrence of Hamilton cycles in random graphs. In Cycles in graphs (Burnaby, B.C., 1982), Vol. 115, North-Holland Mathematical Studies, North-Holland, Amsterdam, 115:173–178, 1985.
- 2[2] N. Alon and M. Krivelevich. Divisible subdivisions. Journal of Graph Theory , 98(4):623–629, 2021.
- 3[3] Y. Alon, M. Krivelevich, and E. Lubetzky. Cycle lengths in sparse random graphs. Random Structures & Algorithms , 61(3):444–461, 2022.
- 4[4] D. Bauer and E. Schmeichel. Hamiltonian degree conditions which imply a graph is pancyclic. Journal of Combinatorial Theory, Series B , 48(1):111–116, 1990.
- 5[5] J. A. Bondy. Pancyclic graphs: recent results, infinite and finite sets. In Colloq. Math. Soc. János Bolyai , Keszthely, pp. 181–187, 1973.
- 6[6] J. A. Bondy. Pancyclic graphs I. Journal of Combinatorial Theory, Series B , 11(1):80–84, 1971.
- 7[7] J. A. Bondy. Longest paths and cycles in graphs of high degree . Department of Combinatorics and Optimization, University of Waterloo, 1980.
- 8[8] M. Bucić, L. Gishboliner, and B. Sudakov. Cycles of many lengths in Hamiltonian graphs. Forum of Mathematics, Sigma , 10, E 70, 2022.
