WorksMathematics
Every -free graph on vertices has a vertex of degree at most
Abstract
We prove that every graph on vertices containing no cycle of length four has a vertex of degree at most . Equivalently, , hence , a value left open in the published tables. In the notation of Erdős, the least integer such that every graph on vertices with minimum degree at least contains a satisfies , while ; the value comes from an explicit -regular -free Cayley graph on vertices, which is also an explicit lower-bound construction for the tabulated value . Hence is not non-decreasing; to our knowledge no with was known before. Erdős's question whether for all sufficiently large (Problem 85 of erdosproblems.com) remains open. The proof combines structural lemmas, valid for every odd , on -free graphs with vertices and minimum degree at least , a symmetry reduction for , and an exhaustive SAT search carried out by two separately written programs.
Technical assistance: Claude (Anthropic)
Introduction
For let be the least integer such that every graph on vertices with minimum degree at least contains a cycle , and let be the largest minimum degree of a -free graph on vertices. Erdős asked whether for all sufficiently large , and whether at least for all and some constant (Problem 85 of [2], where the original sources, among them [3 p. 345], are listed).
The function carries the same information as the Ramsey number : a -free graph on vertices whose complement contains no is exactly a -free graph with minimum degree at least , so that
Parsons [5] proved for all (see [1]). The values of are known for [1, 7], and also ; the values and are due to Zhang, Chen and Cheng [6]. The tables of [1] and [7] record ; we did not find a construction for the lower bound in [1, 5, 7]. For the table of [1] gives only the upper bound 50, the lower bound 49 following from (or from [1 Remark 12]).
Theorem 1. Every -free graph on 49 vertices has minimum degree at most 6. Equivalently, .
Corollary 2. , and ; moreover . In particular for .
Status of the statements. Theorem 1 is proved by Lemmas 3–6, the reduction of Section 4 (proved by hand) and a finite computation (Section 5), carried out by two separately written programs. In Corollary 2, the values and are proved from explicit graphs, independently of Section 5; and rest on Theorem 1. The question of Problem 85, monotonicity for all large , remains open.
A counting lemma
All graphs are finite and simple. For a vertex , is its neighbourhood and its degree. In a -free graph two distinct vertices have at most one common neighbour.
Lemma 3. Let be -free on vertices and let be a vertex. Let be the number of edges inside . Then
the edges inside form a matching, and every vertex outside has at most one neighbour in .
Proof. If had two neighbours , then would be a ; so the edges inside form a matching. A vertex with two neighbours in would close a through . Hence the sets , , cover each vertex at distance 2 exactly once and each vertex of that lies on an edge inside exactly once, which gives the formula.
The structure for vertices, odd
Fix an odd integer and let be a -free graph on vertices with minimum degree at least .
Lemma 4. (i) Every vertex has degree or , and some vertex has degree . (ii) If , then induces a perfect matching, every has degree exactly , and the sets , , have elements each and partition . (iii) The vertices of degree form an independent set. (iv) Every vertex of degree lies on a triangle.
Proof. For a vertex of degree , Lemma 3 with and gives , so . The degree sum is even, while is odd; hence not all degrees equal , which proves (i). If , equality must hold throughout: , every neighbour of has degree , and every vertex lies within distance 2 of ; this is (ii), and (iii) follows from it. For (iv), if and neighbours of have degree , Lemma 3 gives
so .
From now on is a vertex of degree , with the matching , and . We call and partner groups when is an edge. The vertices of are the outer vertices and is the graph they induce.
Lemma 5. Every outer vertex has exactly one neighbour in , namely , and in : (a) has at most one neighbour in ; (b) has no neighbour in the partner group of ; (c) has at most one neighbour in every other group; (d) two vertices of the same group have no common neighbour in ; (e) is -free; (f) . Conversely, a graph on the outer vertices satisfying (a)–(f), together with , , the matching and the attachments, is -free with minimum degree at least .
Proof. Each statement is the exclusion of an explicit 4-cycle: (a) ; (b) ; (c) ; (d) ; (f) follows from (a)–(c) and , since has at most possible neighbours in (one in its own group and one in each of the groups that are neither its own nor its partner).
For the converse, let be a 4-cycle of the whole graph and let be the number of its vertices in . If , its two neighbours on are some , and the fourth vertex is a common neighbour of other than : it is not in (the edges inside form a matching) and not outer (an outer vertex has one neighbour in ); impossible. So . If , lies in , excluded by (e). If , every vertex of has its two -neighbours in , where is its partner. If contains an edge , the other two vertices are and adjacent in , excluded by (b). Otherwise every vertex of in has both -neighbours in its own group; two such vertices on would be opposite, with -neighbours in , so and with and a common neighbour of in , excluded by (d). Finally the degrees: an outer vertex has degree , the have degree and has degree .
We say that an outer vertex has slots: its own group and the groups that are not partners of its group. By (a)–(c) it has at most one neighbour per slot, and by (f) at most one empty slot; it has degree in exactly when no slot is empty.
Lemma 6. Let be an outer vertex and a group different from the group of . At most neighbours of in have a neighbour in .
Proof. Each has at most one common neighbour with , and none outside , because the only neighbour of in is the vertex attached to , which is not adjacent to .
Symmetry reduction
Fix , a vertex of degree 8 (Lemma 4), the matching of and the groups of five outer vertices each. The labelling of is free subject to the matching; we fix it in four steps, each of which can be achieved by relabelling any solution, so that a solution exists if and only if a solution satisfying all four conditions exists.
Step 1 (reference group). Exactly one of the following holds. Case I: some outer vertex has degree 8; we let be a group containing one. Case II: no outer vertex has degree 8; we let be a group with the fewest edges inside it. In both cases denotes the partner of .
Step 2 (order of the other groups). The 48 relabellings of that preserve the partner pairs are applied so that , , and , where is the number of edges between and .
Step 3 (inside ). The vertices of are numbered so that the edges inside are among , with used first.
Step 4 (alignment). For the vertices of are numbered so that those with a neighbour in come first, in the order of their neighbour; is numbered in the same way with respect to . By Lemma 5(c) the edges between two non-partner groups form a matching, so this is always possible, and it leaves no freedom inside the matched part. After these steps the adjacency of to the whole outer graph is determined by its pattern: the edges inside and, for every vertex of , its empty slot if any. Two patterns are equivalent when they differ by a permutation of the five vertices of and by one of the 48 relabellings of Step 2; Steps 3–4 then restore the normal form. A direct enumeration gives 39 equivalence classes of patterns, 18 of which contain a vertex without empty slot and 21 of which do not; in Case I only the former can occur for , in Case II only the latter. For each class one representative is fixed (for Program A one compatible with Steps 2–4); the corresponding sub-problems are the cubes.
Lemma 7. Assume that every outer vertex has exactly one empty slot, and let be the number of edges inside a group . Then for every pair of partner groups , .
Proof. For a group and a group that is neither nor its partner, let be the number of vertices of whose empty slot is . Every vertex of has exactly one neighbour in unless its empty slot is , so there are edges between and , and . A vertex has its own slot empty exactly when it lies on no edge inside its group (the edges inside a group form a matching), so the vertices of on such edges are those whose empty slot is another group: . Hence the number of vertices outside whose empty slot is is . A pair has no common neighbour in (there are no edges between and ) and at most one common neighbour in all. A vertex of one of the six other groups is adjacent to a vertex of and to a vertex of unless its empty slot is or ; distinct such give distinct pairs. Hence . □
Computation
Additional valid constraints. Besides Lemma 5, the following constraints are imposed. The first two are consequences of Lemmas 4 and 6 and hold in every solution. The Case II items express the choice of in Step 1 and two refinements of it; they hold in a suitably relabelled copy of every solution, because the quantities used for the choice (the number of inner edges of a group, the number and the type defined below) do not change under the relabellings of Steps 2–4.
(Triangles) every outer vertex lies on a triangle (Lemma 4(iv), and for an outer vertex of degree 8 part (ii) applied to it);
(Pigeonhole) Lemma 6 for every outer vertex and every group ;
(Case II) every outer vertex has exactly one empty slot, and every group has at least as many inner edges as ;
(Case II, two inner edges in ) then every group has exactly two inner edges and exactly one vertex whose empty slot is its own group, the other four having their empty slot in another group. Among the groups, is chosen to maximise , the largest number of vertices of with the same empty slot. If are non-partner groups, the vertices of with a neighbour in are those whose empty slot is not , so the number of edges between and is at least . This lower bound is imposed for all such pairs (by Program A in 14 of the 17 cubes of this kind, by Program B in all of them).
(Case II, one inner edge in ) then every group has one or two inner edges. If a group has exactly one inner edge , its three other vertices have their empty slot in , and have their empty slots in groups different from and its partner; hence for every group that is not or its partner, where is the number of edges between and . Say has type if , type if are partner
groups, and type otherwise. Among the groups with one inner edge, is chosen of the highest type (). If has type , no group with one inner edge has type , i.e. for all such and all groups other than and its partner; if has type , in addition for every partner pair of groups different from and its partner. These implications are imposed through one switch variable per group: true forces at least two inner edges in , false forces at most one inner edge in and the conditions above; the bound of Lemma 7 is also imposed for the cubes of types and . Some nodes of the search trees of these cubes were refuted on formulas containing only part of these clauses; a refutation of part of the clauses is a refutation of the whole formula.
The choices of (Case I or II; fewest inner edges; then largest or highest type) are made in this order, before Steps 2–4, and do not use any freedom used later.
Program A. The whole graph on 49 vertices is encoded in propositional logic, one variable per pair of vertices, with the structure of Lemma 4(ii) fixed, all 4-cycles forbidden, degree constraints encoded by sequential counters, and the constraints of Section 4 and above. For each of the 39 cubes the formula is either refuted directly by KISSAT, or split by the look-ahead solver MARCH_CU into sub-cubes, i.e. lists of literals added as unit clauses. Every split is accepted only together with a covering check: a run on the parent formula with the negations of all sub-cubes added as clauses. Sub-cubes are refuted separately, by KISSAT or by an incremental CaDiCaL run under assumptions, within CPU-time limits, or by CaDiCaL 3.0.1 within a limit on the number of conflicts. A sub-cube exceeding its limit is either split again in the same way or refuted later by a single longer run; a set of literals contained in several sub-cubes may also be refuted directly, which refutes all of them. A node of this search tree is thus refuted when it is refuted directly, when it contains a refuted set of literals, or when its covering check and all its children are refuted. Every run on which the proof relies returned UNSATISFIABLE, and no run returned SATISFIABLE (the other runs stopped at their time or conflict limit, or were interrupted).
Program B. The second program encodes only the outer graph through conditions (a)–(f) of Lemma 5 (every solution gives such an , and by the converse part of the lemma nothing is lost). It has its own implementation of the alignment of Step 4, it does not use Step 2, and it takes as representative of each of the 39 pattern classes the lexicographically least element of the class. It has its own implementation of the triangle, pigeonhole and Case II conditions, and solves with CaDiCaL, with the same tree rules (splits by MARCH_CU with covering checks, CPU-time limits, longer direct runs) implemented in a separate job manager. For the three cubes of Case II with one inner edge in , part of the search tree was refuted on the formula augmented by static symmetry breaking. Some relabellings of the outer vertices map such a cube to itself and fix and pointwise: the swaps of whole groups among that preserve the partner pairs and the adjacency to , and, in the cube of type , the swap of the two ends of the inner edge of together with the swap of the matching positions in the groups matched to them. Since all other constraints are stated uniformly, such a relabelling maps solutions to solutions, and the lexicographic-leader clauses (edge variables in a fixed order) keep the least solution of every orbit. A node refuted on the original formula is refuted a fortiori on the augmented one, so the tree refutes the augmented formula, which is satisfiable whenever the cube formula is. In cubes 4 and 5 the exact switch variables and the bound of Lemma 7 are added on top of these clauses; every solution satisfies them once is set to true exactly when has at least two inner edges, and they are stated uniformly over the groups and the partner pairs, so the relabellings still map solutions to solutions, and the least solution of every orbit satisfies all the added clauses. The two programs share the reduction of Sections 2–4, which is proved by hand, the derived constraints, the authors and the solver CaDiCaL, so they are not independent in every respect; they differ in the encoding, in the implementation of the symmetry breaking and in the representatives of the classes.
Runs. The logs of Program A record 6 684 refutations (covering checks included) and 362 runs stopped at their limit; those of Program B record 1 122 and 149. The runs were made on two machines, a Linux server and a desktop computer under Windows. The runs marked W in the logs (2 179 refutations) were distributed as separate tasks, to the desktop computer or, where marked W:cadical-server, to the server. All of them except 63 short ones were made by CaDiCaL 3.0.1 with a limit of 4 million conflicts (15 million for cube 5 of Program B); the 63 others, marked W alone, were made by a solver of python-sat whose name was not logged, and all of them were certified (Checks (iv)). For each of these runs the literals of the leaf were regenerated from the logged splits and compared with the literals sent to the solver before the result was entered in the log. The other runs used kissat 4.0.4 and the versions of CaDiCaL included in python-sat.
Checks. (i) The 36 506 patterns fall into 39 classes (18 in Case I), and the cubes of each program contain exactly one pattern of each class; this is verified by two scripts, one computing canonical forms (for the patterns whose inner edges are , or , which meet every class) and one computing the classes of all patterns by union–find from generators of the acting group. (ii) Falsification: with the minimum degree condition weakened to 6 for the outer vertices and everything else unchanged, 17 formulas of both programs, among them formulas of every kind used (cubes of Case I and of Case II, including the cubes of types , and , with and without the symmetry-breaking and exact switch clauses), become satisfiable within seconds, and every model found is decoded into a -free graph on 49 vertices with minimum degree 6, checked directly. (iii) The Hoffman–Singleton graph (50 vertices, 7-regular, girth 5) is accepted by the graph checker. (iv) Proof certificates: for a fixed random sample of refuted nodes with short logged runs (67 nodes, 6 of Program A and 61 of Program B), the formula was rebuilt from the scripts, solved again by kissat with a DRAT proof, and every proof was verified by the independent checker drat-trim. In separate runs (not part of the ancillary scripts), 76 further leaves refuted by runs marked W were certified in the same way: the 63 marked W alone, and 13 others (12 of Program A, 1 of Program B), 10 of them drawn at random. (v) A separate script reads the logs of both programs and checks that every cube is refuted according to the rules above. (vi) For the symmetry breaking of Program B, a script checks that every relabelling used is an involution preserving groups and partner pairs, maps the fixed literals of the cube to themselves and fixes and pointwise; on the formulas with weakened minimum degree it checks moreover that models are mapped to models and that the augmented formulas stay satisfiable.
The scripts are pure Python and are provided as ancillary files, together with the list of cubes, the solver logs and the SHA-256 hashes of all formulas used.
Proof of Corollary 2
. The Hoffman–Singleton graph [4] has 50 vertices, is 7-regular and has girth 5, so . A vertex of degree in a -free graph with minimum degree 8 would satisfy by Lemma 3, i.e. , which is impossible since forces , i.e. . Hence and .
. Let be the semidihedral group of order 16, let generate , and let be the Cayley graph of with respect to the inverse-closed set
has 48 vertices and is 7-regular. It is -free: a Cayley graph contains a 4-cycle if and only if for two distinct ordered pairs with , , and the 42 elements () are pairwise distinct. (The edge list is provided and checked by two independent programs.) Hence . Conversely, by Lemma 3, a -free graph on 48 vertices with minimum degree 8 would give, for a vertex of degree , with , i.e. , a contradiction. So and . In terms of Ramsey numbers, means , and with the upper bound of [5] this gives .
. Theorem 1 gives . Deleting one vertex of the Hoffman–Singleton graph leaves a -free graph on 49 vertices with minimum degree 6, so and . In terms of Ramsey numbers, means , and ; hence .
Remarks
Problem 85 of [2] asks whether for all sufficiently large . A single exception does not settle that question, which remains open; the result above only shows that is not non-decreasing on all .
By the equivalence , an index with exists if and only if for some (then ). By the tables of [7] (and [1]), for and for , while [7] gives ; the value would give the smaller instance .
In terms of Ramsey numbers the two results read . The value 49 for appears in the tables of [1] and of the dynamic survey of Radziszowski; the graph of § 6 gives an explicit lower-bound construction for it. Erdős also asked whether consecutive values of coincide for infinitely many (Problem 552 of [2]); is an instance.
In every vertex has exactly three edges in its neighbourhood: the 48 triangles form a configuration whose collinearity graph is -free, and the remaining 24 edges form a perfect matching.
The page of Problem 85 in [2] states that the bounds of Problem 552 imply . This inequality fails for some , already for : the line graph of the Petersen graph is 4-regular and -free, so (in fact by the bound below); it also fails for : . Lemma 3 gives for the minimum degree of a -free graph on vertices, hence only .
References
- [1][Bo24] L. Boza, Exact values and bounds for Ramsey numbers of C₄ versus a star graph, arXiv:2409.12770v2 (2026).arxiv.org/abs/2409.12770
- [2][EP] T. F. Bloom, Erdős Problems #85 and #552, https://www.erdosproblems.com.
- [3][Er93] P. Erdős, Some of my favorite solved and unsolved problems in graph theory, Quaestiones Math. 16 (1993), 333–350.DOI
- [4][HS60] A. J. Hoffman, R. R. Singleton, On Moore graphs with diameters 2 and 3, IBM J. Res. Develop. 4 (1960), 497–504.
- [5][Pa75] T. D. Parsons, Ramsey graphs and block designs I, Trans. Amer. Math. Soc. 209 (1975), 33–44.DOI
- [6][ZCC17] X. Zhang, Y. Chen, T. C. E. Cheng, Some values of Ramsey numbers for C₄ versus stars, Finite Fields Appl. 45 (2017), 73–85.DOI
- [7][Ra] S. P. Radziszowski, Small Ramsey numbers, Electron. J. Combin., Dynamic Survey DS1, revision 18 (2026).