betaFeedback

WorksMathematics

An 8+98+9 gluing computation for the Ramsey number R(F3,F4)R(F_3,F_4)

Abstract

Let FtF_t be the graph consisting of tt triangles with a common vertex and otherwise disjoint vertices. We prove that R(F3,F4)=17R(F_3,F_4)=17 using an 8+98+9 gluing computation. Neighbourhood matching arguments give degree and clique restrictions that reduce the search on seventeen vertices to 88,294,67488,294,674 ordered seed pairs. The verified main computation excludes 88,294,63488,294,634 pairs. A cross-edge counting argument excludes thirty-four of the forty exceptional pairs, and independently checked finite-domain certificates exclude the remaining six. Together with the construction whose red graph is the complete bipartite graph K8,8K_{8,8}, these results establish R(F3,F4)=17R(F_3,F_4)=17.

Introduction

Let KnK_n denote the complete graph on nn vertices. For graphs GG and HH, the Ramsey number R(G,H)R(G,H) is the least integer NN such that every red–blue edge-colouring of KNK_N contains a red copy of GG or a blue copy of HH. Copies are ordinary subgraphs, not necessarily induced. Determining a Ramsey number requires a colouring for the lower bound and an exclusion of all colourings at the proposed upper bound. Computational proofs often combine structural restrictions with a finite search whose coverage can be justified mathematically; see the survey of Radziszowski [11].

For a positive integer tt, the fan

Ft=K1+tK2F_t=K_1+tK_2

is formed by joining one vertex to tt disjoint edges. Here sHsH denotes the disjoint union of ss copies of a graph HH, and ++ denotes graph join, which adds every edge between the two disjoint constituent graphs. The common vertex is the centre of the fan, and the tt edges opposite it are its blades. A graph contains an FtF_t centred at vv if and only if the subgraph induced by the neighbours of vv contains a matching of size tt. Thus the exclusion of fans can be expressed through local matching conditions, which also supply explicit witnesses when a candidate colouring fails.

Lin and Li [7] proved that R(F2,Fn)=4n+1R(F_2,F_n)=4n+1 for n≥2n\ge2 and that R(Fm,Fn)≤4n+2mR(F_m,F_n)\le4n+2m for n≥m≥2n\ge m\ge2. Zhang et al. [12] established

R(Fm,Fn)=4n+1when n≥max⁡{m2−m/2,11m/2−4}.R(F_m,F_n)=4n+1 \quad\text{when } n\ge\max\{m^2-m/2,11m/2-4\}.

This sufficient range does not cover (m,n)=(3,4)(m,n)=(3,4). The colouring with red graph K8,8K_{8,8}, the complete bipartite graph with two parts of order eight, and blue graph 2K82K_8 gives the lower bound seventeen. The preceding general upper bound gives twenty-two. The case R(F3,F4)R(F_3,F_4) is not assigned an exact value in Table X of the April 2026 revision of the small Ramsey number survey [11].

Our approach uses graph gluing, a standard method in computational Ramsey theory. McKay and Radziszowski [10] established R(4,5)=25R(4,5)=25 by gluing smaller Ramsey graphs and propagating restrictions on their possible extensions. Goedgebeur and Radziszowski (2013) combined neighbourhood extension with degree and edge-count restrictions to obtain further Ramsey upper bounds. The formal verification of R(4,5)=25R(4,5)=25 by Gauthier and Brown [2] illustrates the additional role of independently checked computational certificates. In the notation R(r,s)R(r,s) used in these works, R(r,s)=R(Kr,Ks)R(r,s)=R(K_r,K_s).

We prove that a colouring of K17K_{17} avoiding a red F3F_3 and a blue F4F_4 has red degrees between seven and ten and contains neither a red K6K_6 nor a blue K8K_8. A partition into eight and nine vertices that maximises the number of red cross-edges satisfies further swap inequalities. Its two induced red graphs belong to finite families that can be generated by canonical augmentation. This construction uses automorphism orbits and a canonical deletion rule in the sense of McKay [9], with canonical labels supplied by BLISS [6 The igraph development team, n.d.].

The resulting seed families have 8,812 and 115,174 representatives. Matching and degree profiles reduce their ordered pairs to a catalogue of 88,294,674 gluing problems, each with seventy-two cross-edge variables. The main search uses Boolean satisfiability, followed by explicit matching checks. Its forty exceptional pairs have additional structure: thirty-four satisfy a common cross-edge counting contradiction, while the remaining six are excluded by finite-domain certificates. The latter certificates have been checked independently by inspecting graph edges and replaying domain deletions and exhaustive branches. Verification of the seed and pair catalogues and the bulk exclusions has also been completed. The resulting proof of R(F3,F4)=17R(F_3,F_4)=17 and the verification procedures are summarised in § 6.

Notation. All graphs are finite and simple. For a graph GG, its vertex and edge sets are V(G)V(G) and E(G)E(G), its order is ∣G∣=∣V(G)∣|G|=|V(G)|, and its complement is G‾\overline{G}. For S⊆V(G)S\subseteq V(G), G[S]G[S] is the induced subgraph on SS, G−S=G[V(G)∖S]G-S=G[V(G)\setminus S], and G−v=G−{v}G-v=G-\{v\}. Write NG(v)N_G(v) for the open neighbourhood of vv, dG(v)=∣NG(v)∣d_G(v)=|N_G(v)| for its degree, and δ(G)\delta(G) and Δ(G)\Delta(G) for the minimum and maximum degrees. We use e(G)=∣E(G)∣e(G)=|E(G)|, ν(G)\nu(G) for the maximum matching size, ω(G)\omega(G) for the maximum clique size, o(G)o(G) for the number of odd-order connected components, and Aut⁡(G)\operatorname{Aut}(G) for the automorphism group. The path on kk vertices is PkP_k; ∪\cup and ∪˙\mathbin{\dot\cup} denote disjoint union when used for graphs and partitions, respectively. For a finite set SS, 2S2^S denotes its set of subsets.

In an edge-colouring, RR and B=R‾B=\overline{R} are the red and blue spanning graphs. Their neighbourhoods and degrees are denoted by NR(v)N_R(v), NB(v)N_B(v), dR(v)d_R(v), dB(v)d_B(v). For disjoint vertex sets U,WU,W, eR(U,W)e_R(U,W) and eB(U,W)e_B(U,W) count red and blue edges between them. A colouring is admissible if it contains neither a red F3F_3 nor a blue F4F_4. Complements within a seed are taken on its own vertex set. Vertex, seed, and case indices in the data tables start at zero. Any further symbols are defined where they are introduced.

Structural restrictions and the ordered eight-plus-nine reduction

We first establish the lower bound and the structural restrictions used to cover every possible admissible colouring of order seventeen.

Proposition 2.1. There is an admissible colouring of K16K_{16}. Consequently, R(F3,F4)≥17R(F_3,F_4)\ge17.

Proof. Partition the vertices into two sets of order eight, colour every edge between the sets red, and colour every edge within a set blue. The red graph is K8,8K_{8,8} and has no triangle, hence

no F3F_3. The blue graph is K8∪K8K_8 \cup K_8. Every F4F_4 is connected and has nine vertices, so it cannot occur in either blue component.

Fans, matchings, and the first degree bound

Lemma 2.2. A graph GG contains an FtF_t with centre vv if and only if ν(G[NG(v)])≥t\nu(G[N_G(v)]) \ge t. Consequently, a red–blue colouring is admissible if and only if, for every vertex vv,

ν(R[NR(v)])≤2,ν(B[NB(v)])≤3.(1)\nu(R[N_R(v)]) \le2,\qquad\nu(B[N_B(v)]) \le3. \tag*{(1)}

Proof. The tt edges opposite the centre in an FtF_t are pairwise disjoint edges within the centre’s neighbourhood. Conversely, a matching of size tt in that neighbourhood, together with the 2t2t edges from its endpoints to the centre, is an FtF_t. Additional edges between the chosen vertices do not invalidate this subgraph.

We recall the Tutte–Berge formula in the following form [8]:

ν(H)=min⁡S⊆V(H)∣V(H)∣+∣S∣−o(H−S)2.(2)\nu(H)=\min_{S\subseteq V(H)}\frac{|V(H)|+|S|-o(H-S)}{2}. \tag*{(2)}

In particular, if HH has order nn and ν(H)≤k\nu(H)\le k, then some set S⊆V(H)S\subseteq V(H) satisfies

o(H−S)≥n+∣S∣−2k.(3)o(H-S)\ge n+|S|-2k. \tag*{(3)}

This form will be used to control monochromatic neighbourhoods.

Lemma 2.3. Let QQ be a complete multipartite graph with qq vertices, and let aa be the size of its largest part. Then

ν(Q)=min⁡{⌊q/2⌋,q−a}.(4)\nu(Q)=\min\{\lfloor q/2\rfloor,q-a\}. \tag*{(4)}

Proof. The first upper bound counts endpoints. The second holds because every edge has an endpoint outside a largest part. If a≥q/2a\ge q/2, match every vertex outside a largest part to a distinct vertex inside it; this attains q−aq-a.

For the other case, it suffices to show that a complete multipartite graph whose largest part has size at most ⌈q/2⌉\lceil q/2\rceil has a matching covering all but at most one vertex. We argue by induction on qq. The assertion is immediate for q≤1q\le1. For q≥2q\ge2, choose one vertex from each of two largest nonempty parts and match them. After these vertices are removed, every remaining part has size at most ⌈(q−2)/2⌉\lceil(q-2)/2\rceil. To check this when q=2rq=2r, a part of size rr must be among the chosen largest parts, and there can be at most two such parts. When q=2r+1q=2r+1, a part of size r+1r+1, if present, is unique and loses a vertex; all other parts have size at most rr. The induction hypothesis supplies the remaining matching edges.

The following matching–fan Ramsey formula is due to Lin and Li [7]; it is also stated as Lemma 2.1 of Zhang et al. [12]. We include a proof from (2) to make explicit the Ramsey input used in the degree bounds.

Theorem 2.4. For positive integers s,ts,t,

R(Ft,sK2)=max⁡{s,t}+s+t.(5)R(F_t,sK_2)=\max\{s,t\}+s+t. \tag*{(5)}

Proof. Put M=max⁡{s,t}M=\max\{s,t\} and n=M+s+tn=M+s+t. Suppose that the blue graph HH of a colouring of KnK_n has no matching of size ss. By (3), there is a set SS, of size kk, for which

p:=o(H−S)≥n+k−2s+2=M−s+t+k+2≥t+k+2.p:=o(H-S)\ge n+k-2s+2=M-s+t+k+2\ge t+k+2.

Since p≤n−kp\le n-k, we also have k≤s−1k\le s-1. Let CC be an odd component of H−SH-S of smallest order, choose x∈Cx\in C, and put W=V(H)∖(S∪C)W=V(H)\setminus(S\cup C). All vertices in WW are red neighbours of xx.

Moreover, the red graph on WW contains the complete multipartite graph whose parts are the remaining components of H−SH-S.

There are at least p−1p-1 such parts. Even after removing a largest part, at least p−2≥tp-2 \ge t vertices remain. Also ∣W∣≥2t|W| \ge2t: if ∣C∣=1|C|=1, then

∣W∣=n−k−1≥M+t≥2t;|W|=n-k-1 \ge M+t \ge2t;

if ∣C∣≥3|C| \ge3, each of the other p−1p-1 odd components has at least three vertices, and ∣W∣≥3(p−1)≥3(t+1)>2t|W| \ge3(p-1) \ge3(t+1)>2t. Lemma 2.3 therefore gives a red matching of size tt in WW. Together with xx it forms a red FtF_t, proving the upper bound.

For the lower bound when s≥ts \ge t, take a red graph obtained by joining an independent set of order 2s−12s-1 to a clique of order tt. This graph has 2s+t−12s+t-1 vertices. Its blue complement is K2s−1∪tK1K_{2s-1}\cup tK_1 and has matching number s−1s-1. At a red centre in the independent set, the red neighbourhood is KtK_t and has matching number ⌊t/2⌋<t\lfloor t/2\rfloor<t. At a red centre in the clique, every edge within its red neighbourhood meets one of the other t−1t-1 clique vertices, so the matching number is at most t−1t-1. Thus no red FtF_t occurs.

When t≥st \ge s, take the red graph K2t∪(s−1)K1K_{2t}\cup(s-1)K_1, on 2t+s−12t+s-1 vertices. Its nontrivial component has fewer than 2t+12t+1 vertices, so it contains no FtF_t. In its blue complement every edge meets the set of s−1s-1 vertices corresponding to the red isolated vertices. Hence the blue matching number is at most s−1s-1. Both constructions give the required lower bound.

Lemma 2.5. In every admissible colouring, dR(v)≤10d_R(v) \le10 and dB(v)≤10d_B(v) \le10 for every vertex vv.

Proof. Theorem 2.4 gives

R(3K2,F4)=11,R(F3,4K2)=11.R(3K_2,F_4)=11,\qquad R(F_3,4K_2)=11.

If vv has eleven red neighbours, the colouring on any eleven of them has either a red 3K23K_2, which gives a red F3F_3 centred at vv, or a blue F4F_4. If vv has eleven blue neighbours, the colouring on eleven of them has either a red F3F_3 or a blue 4K24K_2, the latter giving a blue F4F_4 centred at vv. All alternatives contradict admissibility.

Excluding a blue clique of order eight

Lemma 2.6. A graph GG on 2m2m vertices with minimum degree at least mm has a perfect matching.

Proof. Let MM be a maximum matching and suppose that distinct vertices u,wu,w are unmatched. Their neighbours are all covered by MM, since an edge between unmatched vertices would enlarge MM. For each edge ab∈Mab\in M, there are at most two edges from {u,w}\{u,w\} to {a,b}\{a,b\}. Otherwise one can replace abab by two disjoint edges joining u,wu,w to a,ba,b and enlarge MM. The degree hypothesis now yields the contradiction

2m≤dG(u)+dG(w)≤2∣M∣≤2m−2.2m \le d_G(u)+d_G(w) \le2|M| \le2m-2.

Lemma 2.7. An admissible colouring of order N≥17N \ge17 contains no blue K8K_8.

Proof. If such a clique occurs for N>17N>17, retain the clique and any nine other vertices. Thus it suffices to consider N=17N=17. Suppose that CC is a blue clique of order eight, and let X=V(K17)∖CX=V(K_{17})\setminus C, so ∣X∣=9|X|=9.

Every x∈Xx\in X has at most one blue neighbour in CC. Indeed, if xc1xc_1 and xc2xc_2 are blue, the blue neighbourhood of c1c_1 contains the edge xc2xc_2 and three disjoint edges on the six vertices of C∖{c1,c2}C\setminus\{c_1,c_2\}. This is a blue F4F_4 centred at c1c_1. Consequently,

eB(C,X)≤9,∣C∩NR(x)∣≥7(x∈X).(6)e_B(C,X)\le9,\qquad|C\cap N_R(x)|\ge7\quad(x\in X). \tag*{(6)}

Put J=R[X]J = R[X]. First, Δ(J)≤2\Delta(J) \le2. Otherwise choose a vertex xx and three distinct red neighbours y1y_1, y2y_2, y3y_3 of xx within XX. For each ii, inclusion–exclusion in CC gives

∣C∩NR(x)∩NR(yi)∣≥7+7−8=6.\lvert C \cap N_R(x) \cap N_R(y_i) \rvert\ge7 + 7 - 8 = 6.

Choose distinct ziz_i from these three sets, successively. All six vertices yiy_i, ziz_i are red neighbours of xx, and the edges yiziy_i z_i are a red matching of size three, a contradiction.

Second, δ(J)≥1\delta(J) \ge1. If xx were isolated in JJ, all eight vertices of X∖{x}X \setminus\{x\} would be blue neighbours of xx. Their blue graph has minimum degree at least 7−2=57 - 2 = 5, since Δ(J)≤2\Delta(J) \le2. By Lemma 2.6 it has a perfect matching, giving a blue F4F_4 centred at xx.

Every component of JJ is therefore a path of order at least two or a cycle of order at least three. Such a component of order aa has matching number ⌊a/2⌋\lfloor a/2 \rfloor. If qq is the number of its odd components, then

ν(J)=9−q2≥3,(7)\nu(J) = \frac{9-q}{2} \ge3, \tag*{(7)}

because every odd component has at least three vertices and hence q≤3q \le3.

If ν(J)≥4\nu(J) \ge4, a vertex c∈Cc \in C with at most one blue neighbour in XX would have a red neighbourhood containing JJ with at most one vertex deleted. Deleting one vertex reduces matching number by at most one, so that neighbourhood would contain a red 3K23K_2. Thus every vertex of CC would have at least two blue neighbours in XX, giving eB(C,X)≥16e_B(C, X) \ge16, contrary to (6). We conclude that ν(J)=3\nu(J) = 3.

Equation (7) now forces exactly three odd components. Each has order at least three, and together they already account for all nine vertices. Hence JJ is the disjoint union of three graphs, each equal to P3P_3 or K3K_3. Among its vertices, those xx for which ν(J−x)≤2\nu(J-x) \le2 are precisely the middle vertices of the P3P_3 components. In particular, there are at most three such vertices.

Every c∈Cc \in C must have at least one blue neighbour in XX, since otherwise JJ itself supplies a red 3K23K_2 in its red neighbourhood. Distributing at most nine blue cross-edges among the eight vertices of CC shows that at least seven of them have exactly one blue neighbour in XX. If the unique neighbour of cc is xx, then J−xJ-x lies in the red neighbourhood of cc, so ν(J−x)≤2\nu(J-x) \le2. These seven vertices xx must be distinct, since each vertex of XX has at most one blue neighbour in CC. This contradicts the upper bound of three just proved.

Ten-vertex neighbourhoods and the final degree interval

Lemma 2.8. Let HH be a graph on ten vertices with ν(H)≤3\nu(H) \le3. If H‾\overline{H} contains no F3F_3, then

H≅K7∪3K1.H \cong K_7 \cup3K_1.

Proof. By (3), there is a set SS, of size ss, such that o(H−S)≥4+so(H-S) \ge4+s. Since o(H−S)≤10−so(H-S) \le10-s, we have 0≤s≤30 \le s \le3. At least one odd component of H−SH-S is a singleton: otherwise its odd components alone would use at least 3(4+s)>10−s3(4+s) > 10-s vertices. Let {x}\{x\} be a singleton component.

Set W=V(H)∖(S∪{x})W = V(H) \setminus(S \cup\{x\}), of order 9−s9-s. Every vertex of WW is adjacent to xx in H‾\overline{H}. The complement on WW contains the complete multipartite graph whose parts are the remaining components of H−SH-S. The largest component of H−SH-S has size at most 7−2s7-2s: if it is odd, the other at least 3+s3+s odd components each need a vertex; if it is even, the at least 4+s4+s odd components give an even stronger bound. When 1≤s≤31 \le s \le3, the multipartite graph on WW therefore has

∣W∣=9−s≥6,∣W∣−(largest part size)≥2+s≥3.\lvert W\rvert= 9-s \ge6, \qquad \lvert W\rvert- \text{(largest part size)} \ge2+s \ge3.

Lemma 2.3 gives a matching of size three in the neighbourhood of xx in H‾\overline{H}, a contradiction. Hence s=0s=0.

If all components of HH had order at most six, the same argument on W=V(H)∖{x}W = V(H) \setminus\{x\}, now of order nine, would again give a 33-matching in H[NH(x)]‾\overline{H[N_H(x)]}. Thus HH has a component DD of order

at least seven. The bound o(H)≥4o(H) \ge4 forces ∣D∣=7|D| = 7, with precisely three other components, all singletons.

The component DD must be complete. If a,b∈Da,b \in D were nonadjacent in HH, denote the three singleton vertices by x,y,zx,y,z and choose distinct c,d∈D∖{a,b}c,d \in D \setminus\{a,b\}. In H‾\overline{H}, the three edges abab, ycyc, zdzd are disjoint and all their endpoints are neighbours of xx. They give an F3F_3 centred at xx, a final contradiction.

Corollary 2.9. In an admissible colouring of KNK_N with N≥17N \ge17,

dB(v)≤9,N−10≤dR(v)≤10.(8)d_B(v) \le9,\qquad N-10 \le d_R(v) \le10. \tag*{(8)}

In particular, on seventeen vertices,

7≤dR(v)≤10,6≤dB(v)≤9.(9)7 \le d_R(v) \le10,\qquad6 \le d_B(v) \le9. \tag*{(9)}

Proof. Lemma 2.5 leaves only dB(v)=10d_B(v)=10 to exclude. If it holds, let H=B[NB(v)]H=B[N_B(v)]. By admissibility, ν(H)≤3\nu(H) \le3, while its complement contains no red F3F_3. Lemma 2.8 gives a blue K7K_7 in NB(v)N_B(v). Together with vv it is a blue K8K_8, contradicting Lemma 2.7. The red bounds follow from dR(v)+dB(v)=N−1d_R(v)+d_B(v)=N-1 and Lemma 2.5.

Lemma 2.10. An admissible colouring of order N≥17N \ge17 contains no red K6K_6.

Proof. Suppose that CC is a red clique of order six. A vertex x∉Cx \notin C has at most one red neighbour in CC: two such neighbours a,ba,b would give a red F3F_3 centred at aa, using the edge xbxb and two disjoint edges on the four vertices of C∖{a,b}C \setminus\{a,b\}. It follows that eR(C,V(KN)∖C)≤N−6e_R(C,V(K_N) \setminus C) \le N-6.

On the other hand, each vertex of CC has total red degree at least N−10N-10 by Corollary 2.9, and exactly five red neighbours inside CC. Therefore

6(N−15)≤eR(C,V(KN)∖C)≤N−6.6(N-15) \le e_R(C,V(K_N) \setminus C) \le N-6.

This implies 5N≤845N \le84, which is impossible for N≥17N \ge17.

A maximum red cut with parts of orders eight and nine

For the remainder of this section, suppose that an admissible colouring of K17K_{17} exists. Choose a partition V(K17)=A∪˙CV(K_{17})=A\mathbin{\dot\cup}C with ∣A∣=8|A|=8 and ∣C∣=9|C|=9. Set GA=R[A]G_A=R[A], GC=R[C]G_C=R[C], and write

rA(a)=dGA(a),rC(b)=dGC(b).r_A(a)=d_{G_A}(a),\qquad r_C(b)=d_{G_C}(b).

For a∈Aa \in A and b∈Cb \in C, let xab=1x_{ab}=1 if abab is red and xab=0x_{ab}=0 otherwise. Its row and column sums are the red cross-degrees:

c(a)=∑b∈Cxab,c(b)=∑a∈Axab.c(a)=\sum_{b\in C}x_{ab},\qquad c(b)=\sum_{a\in A}x_{ab}.

Proposition 2.11. The partition can be chosen so that, for every a∈Aa \in A and b∈Cb \in C,

c(a)+c(b)−2xab≥rA(a)+rC(b).(10)c(a)+c(b)-2x_{ab}\ge r_A(a)+r_C(b). \tag*{(10)}

Equivalently, the sum of the entries in row aa and column bb, excluding their common entry, is at least rA(a)+rC(b)r_A(a)+r_C(b). For this partition,

rA(a)+rC(b)+xab≤10,Δ(GA)+Δ(GC)≤10.(11)r_A(a)+r_C(b)+x_{ab}\le10,\qquad\Delta(G_A)+\Delta(G_C)\le10. \tag*{(11)}

Proof. Among all partitions with the prescribed part sizes, choose one with the largest number of red cross-edges. Swapping aa and bb preserves both part sizes. The edge abab remains a cross-edge, while each other edge incident with either swapped vertex changes its internal or cross status. The change in the number of red cross-edges is

rA(a)+rC(b)−c(a)−c(b)+2xab.r_A(a) + r_C(b) - c(a) - c(b) + 2x_{ab}.

This is nonpositive by the choice of the partition, proving (2.10). Since dR(a)=rA(a)+c(a)d_R(a) = r_A(a) + c(a) and dR(b)=rC(b)+c(b)d_R(b) = r_C(b) + c(b), that inequality gives

2rA(a)+2rC(b)+2xab≤dR(a)+dR(b)≤20.2r_A(a) + 2r_C(b) + 2x_{ab} \le d_R(a) + d_R(b) \le20.

Division by two proves the first inequality in (2.11). Choose vertices of maximum internal degree in the two parts and use xab≥0x_{ab} \ge0 to obtain the second.

The existence of such a partition is sufficient for the reduction. The cut inequalities are not asserted for every partition. The eight-vertex and nine-vertex parts remain distinguished throughout: their unequal orders do not permit an interchange that identifies two entries of the ordered seed-pair catalogue.

Corollary 2.12. Suppose that ΔA:=Δ(GA)\Delta_A := \Delta(G_A) and ΔC:=Δ(GC)\Delta_C := \Delta(G_C) satisfy ΔA+ΔC=10\Delta_A + \Delta_C = 10. Put

HA={a:rA(a)=ΔA},HC={b:rC(b)=ΔC}.H_A = \{a : r_A(a) = \Delta_A\}, \qquad H_C = \{b : r_C(b) = \Delta_C\}.

All cross-edges between HAH_A and HCH_C are blue. Every vertex in HA∪HCH_A \cup H_C has total red degree ten, and

c(a)=ΔC(a∈HA),c(b)=ΔA(b∈HC).(12)c(a) = \Delta_C \quad(a \in H_A), \qquad c(b) = \Delta_A \quad(b \in H_C). \tag*{(12)}

Proof. For a∈HAa \in H_A and b∈HCb \in H_C, (2.11) forces xab=0x_{ab} = 0. The preceding proof then gives 20≤dR(a)+dR(b)≤2020 \le d_R(a) + d_R(b) \le20. Both degrees are at most ten, so each equals ten. Both sets of maximum-degree vertices are nonempty; hence this conclusion holds for every vertex in their union. Subtracting the internal degree proves (2.12).

Proposition 2.13. For a vertex vv in a part whose red graph is GG of order m∈{8,9}m \in\{8, 9\},

max⁡{0,7−dG(v)}≤c(v)≤min⁡{17−m,10−dG(v)}.(13)\max\{0, 7 - d_G(v)\} \le c(v) \le\min\{17 - m, 10 - d_G(v)\}. \tag*{(13)}

Define

L(G)=7m−2e(G),U(G)=∑v∈V(G)min⁡{17−m,10−dG(v)}.(14)L(G) = 7m - 2e(G), \qquad U(G) = \sum_{v \in V(G)} \min\{17 - m, 10 - d_G(v)\}. \tag*{(14)}

Then the common number of red cross-edges satisfies

max⁡{0,L(GA),L(GC)}≤eR(A,C)≤min⁡{72,U(GA),U(GC)}.(15)\max\{0, L(G_A), L(G_C)\} \le e_R(A, C) \le\min\{72, U(G_A), U(G_C)\}. \tag*{(15)}

Proof. Subtract the internal red degree from 7≤dR(v)≤107 \le d_R(v) \le10, and note that at most 17−m17 - m cross-neighbours are available. This proves (2.13). Summing the weaker lower bounds c(v)≥7−dG(v)c(v) \ge7 - d_G(v) gives L(G)L(G), and summing the upper bounds gives U(G)U(G). Each side counts the same cross-edge set, whose size is between zero and 8⋅9=728 \cdot9 = 72.

The summed lower bound L(G)L(G) remains valid when an internal degree is eight, although the corresponding summand 7−dG(v)7 - d_G(v) is negative. The individual constraints in (2.13) retain the stronger truncation at zero.

Residual matchings and exact one-vertex extensions

For a red seed GG and v∈V(G)v \in V(G), define

tG(v)=ν(G[NG(v)]),uG(v)=ν(G‾[NG‾(v)]).t_G(v)=\nu(G[N_G(v)]), \qquad u_G(v)=\nu(\overline{G}[N_{\overline{G}}(v)]).

For a∈Aa \in A, let Sa={c∈C:xac=1}S_a=\{c \in C:x_{ac}=1\}; define the corresponding red cross-neighbourhood for a vertex of CC in the same way.

Lemma 2.14. Every admissible gluing satisfies, for every a∈Aa \in A,

tGA(a)+ν(GC[Sa])≤2,t_{G_A}(a)+\nu(G_C[S_a])\leq2,
uGA(a)+ν(GC‾[C∖Sa])≤3.(16)u_{G_A}(a)+\nu(\overline{G_C}[C\setminus S_a])\leq3. \tag*{(16)}

The analogous inequalities hold with the two parts exchanged.

Proof. The matching in the internal red neighbourhood of aa and a matching in GC[Sa]G_C[S_a] have disjoint endpoint sets. Their union lies in the full red neighbourhood of aa, so its size is at most two by Lemma 2.2. Apply the same argument in blue, with matching bound three, to obtain the second inequality.

For m∈{8,9}m \in\{8,9\} let SmS_m contain one representative of each isomorphism class of red graphs GG of order mm such that

F3⊈G,F4⊈G‾,K6⊈G,K8⊈G‾.(17)F_3 \not\subseteq G,\qquad F_4 \not\subseteq\overline{G},\qquad K_6 \not\subseteq G,\qquad K_8 \not\subseteq\overline{G}. \tag*{(17)}

These are hereditary restrictions: they are preserved by deleting vertices. The upper bounds on red and blue degree are also hereditary and can be imposed during generation; at seed orders eight and nine they impose no additional restriction. Isomorphisms preserve red edges and hence blue edges; exchanging the colours is not an allowed equivalence.

For G∈SmG \in S_m define E(G)\mathcal{E}(G) to be the subsets S⊆V(G)S \subseteq V(G) for which appending a new vertex zz, with red neighbourhood precisely SS, preserves all four exclusions in (17). The extended graph has order m+1m+1, which is nine or ten, so its red and blue degrees are automatically at most ten and nine. Its vertices need not have the minimum degrees of a completed seventeen-vertex colouring.

Define a conflict graph DR(G)D_R(G) on V(G)V(G) by declaring abab to be an edge when ab∈E(G)ab \in\mathcal{E}(G) and at least one of

ν(G[NG(a)∖{b}])≥2,ν(G[NG(b)∖{a}])≥2\nu(G[N_G(a)\setminus\{b\}])\geq2,\qquad \nu(G[N_G(b)\setminus\{a\}])\geq2

holds. Define DB(G)D_B(G) similarly, replacing GG by G‾\overline{G} and the threshold two by three.

Lemma 2.15. A subset S⊂V(G)S \subset V(G) belongs to E(G)\mathcal{E}(G) if and only if all the following conditions hold, where T=V(G)∖ST=V(G)\setminus S:

ν(G[S])≤2,ν(G‾[T])≤3,S is independent in DR(G),T is independent in DB(G),ω(G[S])≤4,ω(G‾[T])≤6.(18)\begin{aligned} \nu(G[S])&\leq2, & \nu(\overline{G}[T])&\leq3,\\ S&\text{ is independent in }D_R(G), & T&\text{ is independent in }D_B(G),\\ \omega(G[S])&\leq4, & \omega(\overline{G}[T])&\leq6. \tag*{(18)} \end{aligned}

Proof. The first line is precisely the absence of the forbidden fans centred at the new vertex zz. Consider a new red F3F_3 centred at an old vertex aa. Because GG itself has no such fan, zz must occur in it. It is not the centre, so it is an endpoint of a matching edge zbzb in the red neighbourhood of aa. Consequently a,b∈Sa,b \in S, ab∈E(G)ab \in\mathcal{E}(G), and the other two matching edges lie inside NG(a)∖{b}N_G(a)\setminus\{b\}. Conversely, these conditions produce a red F3F_3 centred at aa. Taking either orientation of abab gives exactly the independence condition in DR(G)D_R(G). The blue argument is identical, with three old matching edges and both endpoints in TT.

Any newly created red K6K_6 must contain zz, and its other five vertices form a red K5K_5 in SS. The blue counterpart is a blue K7K_7 in TT. The last line therefore excludes exactly the new forbidden cliques. These observations prove both directions.

The conflict argument also gives explicit binary constraints on a gluing matrix. If ab∈E(DR(GA))ab \in E(D_R(G_A)), then

xac+xbc≤1(c∈C).(19)x_{ac}+x_{bc}\le1 \qquad(c\in C). \tag*{(19)}

If ab∈E(DB(GA))ab \in E(D_B(G_A)), then

xac+xbc≥1(c∈C).(20)x_{ac}+x_{bc}\ge1 \qquad(c\in C). \tag*{(20)}

The corresponding constraints hold for columns as well. Indeed, fixing a vertex in the opposite part produces the single-vertex extension to which Lemma 2.15 applies.

Profiles and sound rejection of seed pairs

Use the following set of centre types, each a triple of nonnegative integers:

T={(r,t,u): 0≤r≤8,0≤t≤min⁡{2,⌊r/2⌋},0≤u≤min⁡{3,⌊(8−r)/2⌋}}.(21)\mathcal{T}=\left\{(r,t,u):\ 0\le r\le8,\quad0\le t\le\min\{2,\lfloor r/2\rfloor\},\quad0\le u\le\min\{3,\lfloor(8-r)/2\rfloor\}\right\}. \tag*{(21)}

It has 49 elements. The type of a vertex vv in a seed GG is (dG(v),tG(v),uG(v))(d_G(v),t_G(v),u_G(v)). Every type of either seed order belongs to T\mathcal{T}. For order eight, the actual blue degree is 7−r7-r; using the larger bound 8−r8-r puts the possible types for both orders in the same set.

Define the types occurring in GG and the types allowed in the opposite seed by

T(G)={(dG(v),tG(v),uG(v)):v∈V(G)},T(G)=\{(d_G(v),t_G(v),u_G(v)):v\in V(G)\},
P(G)={(r,t,u)∈T: some S∈E(G) satisfiesP(G)=\left\{(r,t,u)\in\mathcal{T}:\ \text{some }S\in\mathcal{E}(G)\text{ satisfies}\right.
7≤r+∣S∣≤10,t+ν(G[S])≤2,u+ν(G[V(G)∖S])≤3}.(22)\left.7\le r+|S|\le10,\quad t+\nu(G[S])\le2,\quad u+\nu(G[V(G)\setminus S])\le3\right\}. \tag*{(22)}

Each type is tested separately: it belongs to P(G)P(G) if at least one suitable subset SS exists. Subsets chosen for different types need not occur together in a single gluing.

Lemma 2.16. An admissible gluing of GAG_A and GCG_C necessarily satisfies

T(GA)⊆P(GC),T(GC)⊆P(GA).(23)T(G_A)\subseteq P(G_C),\qquad T(G_C)\subseteq P(G_A). \tag*{(23)}

Proof. Fix a∈Aa\in A and its actual red cross-neighbourhood Sa⊆CS_a\subseteq C. The induced colouring on C∪{a}C\cup\{a\} has no forbidden fan or clique, so Sa∈E(GC)S_a\in\mathcal{E}(G_C). The total-degree bounds and Lemma 2.14 give the three additional conditions in (2.22) for the type of aa. This proves the first inclusion; the second follows by exchanging the roles of the two parts, without changing their assigned orders.

For a seed GG, write H(G)={v:dG(v)=Δ(G)}H(G)=\{v:d_G(v)=\Delta(G)\} and define

ρ(G)=max⁡v∈H(G)tG(v),\rho(G)=\max_{v\in H(G)}t_G(v),
ηk(G)=1⟺ there is S∈E(G) such that\eta_k(G)=1\Longleftrightarrow\text{ there is }S\in\mathcal{E}(G)\text{ such that}
∣S∣=Δ(G),S∩H(G)=∅,ν(G[S])≤k,k∈{0,1,2}.(24)|S|=\Delta(G),\quad S\cap H(G)=\varnothing,\quad\nu(G[S])\le k,\quad k\in\{0,1,2\}. \tag*{(24)}

Otherwise ηk(G)=0\eta_k(G)=0. In particular 0≤ρ(G)≤20\le\rho(G)\le2.

Lemma 2.17. If a maximum-cut admissible gluing has Δ(GA)+Δ(GC)=10\Delta(G_A)+\Delta(G_C)=10, then

η2−ρ(GA)(GC)=1,η2−ρ(GC)(GA)=1.(25)\eta_{2-\rho(G_A)}(G_C)=1,\qquad\eta_{2-\rho(G_C)}(G_A)=1. \tag*{(25)}

Proof. Choose a∈H(GA)a \in H(G_A) with tGA(a)=ρ(GA)t_{G_A}(a)=\rho(G_A). Corollary 2.12 says that its red cross-neighbourhood SaS_a has size Δ(GC)\Delta(G_C) and avoids H(GC)H(G_C). It belongs to E(GC)\mathcal{E}(G_C) by the induced extension, and Lemma 2.14 gives ν(GC[Sa])≤2−ρ(GA)\nu(G_C[S_a]) \leq2-\rho(G_A). This is exactly the first flag condition. The second is proved in the other direction.

The eight-component profile is

(Δ(G),e(G),L(G),U(G),T(G),P(G),ρ(G),η(G)),η(G)=∑k=022kηk(G).(26)\left(\Delta(G),e(G),L(G),U(G),T(G),P(G),\rho(G),\eta(G)\right), \qquad \eta(G)=\sum_{k=0}^{2}2^k\eta_k(G). \tag*{(26)}

The pair tests consist of the maximum-degree test in (11), nonempty overlap in (15), the two inclusions in (23), and, only at degree-sum ten, the two flags in (25). The preceding results prove that all these filters are necessary; none is used as a sufficient test for an admissible gluing.

Coverage of the finite reduction

Proposition 2.18. If an admissible colouring of K17K_{17} exists, there are representatives GA∈S8G_A \in S_8 and GC∈S9G_C \in S_9 whose ordered pair passes all the profile tests above, and an 8×98 \times9 binary matrix of cross-edges which completes this pair to an admissible colouring. The matrix satisfies all individual degree bounds (13), all swap inequalities (10), all residual matching conditions (16), and all applicable binary conflict constraints (19)–(20). At degree-sum ten it also satisfies Corollary 2.12.

Proof. Choose an 8+98+9 partition maximizing the red cut, as in Proposition 2.11. Its two induced red graphs satisfy (17): the fan exclusions are hereditary, and Lemmas 2.7 and 2.10 exclude the two cliques in the whole colouring. Apply separate isomorphisms to replace these graphs by their representatives in S8S_8 and S9S_9, transporting all cross-edges under the same maps. This gives an 8×98 \times9 binary matrix with the stated properties. All profile conditions follow from the preceding lemmas and are unchanged under either seed relabelling.

The next section describes the finite enumeration to which this coverage result applies.

Canonical seed generation and the gluing catalogue

The computation represents a colouring by its red graph; the blue graph is its complement. The two colours are distinguished throughout. For s∈{8,9}s \in\{8,9\}, let SsS_s be a set containing one representative of each isomorphism class of red graphs HH of order ss satisfying

F3⊈H,F4⊈H‾,K6⊈H,K8⊈H‾,Δ(H)≤10,Δ(H‾)≤9.(27)F_3 \not\subseteq H,\quad F_4 \not\subseteq\overline{H},\quad K_6 \not\subseteq H,\quad K_8 \not\subseteq\overline{H},\quad\Delta(H) \leq10,\quad\Delta(\overline{H}) \leq9. \tag*{(27)}

The degree conditions in (27) impose no further restriction at orders eight and nine, but the generator applies the same conditions at every order. Every induced eight- or nine-vertex subgraph of an admissible colouring of K17K_{17} belongs to the corresponding family by the preceding structural results. The lower bound dR(v)≥7d_R(v) \geq7 is a condition on a completed seventeen-vertex colouring, and is not imposed on a smaller seed.

Canonical construction paths

The seed generator starts with the unique graph of order zero. Suppose that the representatives at order ss have been generated. For each parent HH and each orbit of the action of Aut⁡(H)\operatorname{Aut}(H) on 2V(H)2^{V(H)}, choose one subset MM. Add a new vertex with red neighbourhood MM, and reject the resulting graph if it fails a condition in (27). The surviving augmentation is accepted precisely when its new vertex belongs to the child’s canonical deletion orbit. This orbit is defined by the vertex receiving the final canonical label and its orbit under the child’s automorphism group.

Canonical labels and automorphism generators are computed with BLISS through the igraph interface [6 The igraph development team, n.d.]. Subset orbits are obtained by traversing generators of the automorphism group. Thus isomorphic extensions are rejected during generation.

The coverage argument is the usual canonical construction-path induction. For a graph GG in the hereditary family, delete a vertex in its canonical deletion orbit. The smaller graph is in the same hereditary family and is represented at the previous level. Transporting the deleted vertex’s neighbourhood to this representative yields one of its subset orbits, so the corresponding augmentation is considered and accepted. Conversely, an isomorphism between two accepted children takes their distinguished new vertices into the same canonical deletion orbit. Composing with a child automorphism makes the new vertices correspond; restriction then identifies the parent and its neighbourhood orbit. Induction therefore gives exactly one accepted representative per isomorphism class, provided the canonical-labelling and orbit routines are implemented correctly.

Table 1 gives the enumeration counts. The same hereditary conditions are used at every order, so both seed libraries are covered by the canonical construction-path argument.

OrderAccepted classesAugmentations examined
01—
111
222
346
41120
53490
6155544
79415,089
88,81272,672
9115,1741,579,761

Table 1. Completed canonical seed levels. The last column counts parent-neighbourhood orbit representatives examined at that augmentation level, before all child tests.

Finite seed profiles and necessary pair tests

We use the seed notation GAG_A, GCG_C and the profile definitions from § 2.6. The unknown cross-edges form a binary 8×98 \times9 matrix XX, with xij=1x_{ij}=1 for a red edge. All pair filters are evaluated before assigning any entry of XX.

For a seed HH of order ss and S⊆V(H)S \subseteq V(H), put MH(S)=ν(H[S])M_H(S)=\nu(H[S]). All of these values are computed from MH(∅)=0M_H(\varnothing)=0 and, for any fixed v∈S≠∅v \in S \ne\varnothing,

MH(S)=max⁡({MH(S∖{v})}∪{1+MH(S∖{v,w}):w∈NH(v)∩S}).(28)M_H(S) = \max\left(\{M_H(S \setminus\{v\})\} \cup\{1 + M_H(S \setminus\{v,w\}) : w \in N_H(v) \cap S\}\right). \tag*{(28)}

Indeed, a maximum matching either leaves vv unmatched or matches it to one of its neighbours. Evaluating this recurrence in an order in which proper subsets precede their supersets gives exact matching numbers for all 2s2^s subsets, in both colours.

The legal extension family E(H)\mathcal{E}(H) is obtained by testing every possible red neighbourhood of one added vertex, using Lemma 2.15. The tests account for a fan centred at the new vertex, a fan centred at an old vertex, and each forbidden clique involving the new vertex. The matching tables evaluate the degree and residual-matching conditions in (22) for each of the 49 types in (21), together with the maximum-degree boundary flags in (24). The resulting profile is

(Δ(H),e(H),L(H),U(H),T(H),P(H),ρ(H),η(H)),(\Delta(H), e(H), L(H), U(H), T(H), P(H), \rho(H), \eta(H)),

as defined in (26). Seeds with equal profiles therefore give the same results in every pair test. The four successive filters are the maximum-degree test (11), overlap of the cross-edge intervals (15), the two joint-type inclusions (23), and the saturated-boundary flags (25). The last test is applied only when the maximum internal degrees sum to ten. Their necessity was proved in the structural reduction; passing the tests does not assert that a pair has an admissible completion.

The 8,812 left seeds yield 6,860 profiles, and the 115,174 right seeds yield 60,041 profiles. Pair counts are computed on the profile groups, with the product of the two group sizes as weight. Table 2 gives the cumulative pair counts.

Conditions imposed cumulativelyRemaining pairs
All 8,812 × 115,174 ordered pairs1,014,913,288
Δ(GA)+Δ(GC)≤10\Delta(G_A) + \Delta(G_C) \le10682,271,903
Cross-edge intervals (15)682,057,873
Joint centre types (23)165,925,659
Saturated boundary (25)88,294,674

Table 2. Necessary-condition reduction of the ordered 8 + 9 seed pairs.

Enumeration of the retained pairs

The seed groups are ordered by the first occurrence of each profile in the fixed seed order; seed indices inside a group are increasing. For each left group, compatible right groups are visited in their stored order, and the Cartesian product inside a compatible group pair is enumerated with the right index varying fastest. Prefix sums of these block sizes give a bijection between retained ordered pairs and the zero-based case indices

0,1,…,88 294 673.0,1,\ldots,88\,294\,673.

The unequal part sizes are kept in their specified order; the pair (GA,GC)(G_A,G_C) is not identified with its transpose. These indices identify the exceptional pairs in § 5.

Search formulation and computational results

The finite formula for a fixed pair

For a retained pair, the 72 entries of XX are the primary variables of a Boolean satisfiability (SAT) problem. We use the MiniSat solver (Eén and Sörensson, 2004). The formula is expressed in conjunctive normal form: a conjunction of clauses, each a disjunction of variables or their negations. All edges inside the two seeds are fixed. The program adds the degree constraints

max⁡{0,7−dH(v)}≤c(v)≤min⁡{17−∣H∣,10−dH(v)}\max\{0,7-d_H(v)\}\le c(v)\le\min\{17-|H|,10-d_H(v)\}

for every vertex vv in a seed HH, and all 72 swap inequalities (10). The latter are encoded as lower bounds on the fifteen other cross-edges incident with the two vertices, because the common edge cancels. Sequential threshold variables encode the cardinality constraints; these auxiliary variables do not represent additional graph edges.

Several necessary fan clauses are inserted before calling the solver. If a centre already has an internal matching of size tt in its neighbourhood, then the opposite block cannot supply a matching of size 3−t3-t in red or 4−t4-t in blue among its same-colour cross-neighbours. The implementation enumerates the endpoint sets of such matchings. A fixed endpoint set produces one clause, independently of how many matchings it contains. Additional binary clauses cover a centre whose internal neighbourhood already reaches the allowed matching size and has a neighbour that can be left uncovered by such a matching: that neighbour and the centre cannot both have a same-colour edge to the same vertex of the other block.

The remaining fan constraints are added as violations are found. MiniSat is asked for a model of the current formula. This model determines a complete colouring of the 17 vertices. For every centre and both colours, a matching search tests whether its colour-neighbourhood contains a matching of size three or four, respectively. Each detected fan gives a clause forbidding all of its cross-edges from simultaneously having the colour of the detected fan. Fixed internal edges are simplified out of the clause. The same procedure adds clauses for detected red K6K_6 and blue K8K_8, using their independently proved exclusion. The solver retains the resulting clauses and its learned clauses within the current instance and repeats the search.

Every added clause follows from a necessary property of an admissible colouring. A model with no violation is checked again as a graph and provides a candidate colouring. An unsatisfiable formula excludes the fixed pair under the degree and maximum-cut restrictions. Each new constraint eliminates the current violating cross-edge matrix; there are finitely many such matrices, so the procedure is exhaustive when allowed to finish. The instances are independent and can be processed in parallel.

Symmetry reduction

In the SAT stage, automorphisms of the fixed seeds act on the rows and columns of XX. For each selected automorphism g∈Aut⁡(GA)×Aut⁡(GC)g \in\operatorname{Aut}(G_A) \times\operatorname{Aut}(G_C), the program imposes

X≤lexg(X),X \le_{\mathrm{lex}} g(X),

using row-major order and 0<10 < 1. The unequal block sizes prevent a block-transpose symmetry. Every orbit of feasible complete gluings contains a lexicographically smallest element, and that element satisfies all selected inequalities. Hence the restriction preserves at least one feasible member of every orbit. This argument uses the symmetry of the underlying admissible-gluing problem; the formulas obtained after adding individual constraints need not be invariant under the whole group.

Generator inequalities can leave several representatives in one orbit. Accordingly, canonical seed generation and the partial symmetry reduction of completed gluings have different guarantees. The computation does not claim to enumerate each seventeen-vertex colouring exactly once. Its purpose is to retain a complete search space while excluding repeated work where the fixed seeds provide a usable symmetry.

Numerical outcomes

The large-scale search was carried out by the authors on their computing cluster using 32 CPU cores, with a wall-clock running time of at most 24 hours. The verified computation excludes 88,294,634 of the 88,294,674 retained pairs. The seed catalogues, retained pair catalogue and bulk exclusions have been verified. The forty exceptional pairs involve eight distinct left seeds and twenty-four distinct right seeds. Fifteen pairs have left seed 80 and nineteen have left seed 280; the remaining six have six other left seeds. Section 5 excludes the first thirty-four pairs by a counting lemma and the other six by independently checked finite-domain certificates.

The three counts therefore sum to

88 294 634+34+6=88 294 674.(29)88\,294\,634 + 34 + 6 = 88\,294\,674. \tag*{(29)}
Exclusion methodPairs
Main Boolean search88,294,634
Cross-edge counting lemma34
Independently checked finite-domain certificates6
Total88,294,674

Table 3. Classification of the retained seed pairs by exclusion method. The verification procedures are described in § 6.

The certificate statistics for the six pairs appear in Table 5. Implementation details and execution records are described in Appendix § 7.

CaseLeft seedRight seedNodesFan witnessesDeletions
519964003477123591133,13462,671
640952094228123591753,48239,917
69103064487768943131,6251,086
69257548489368943131,7661,126
71867158547912355,66833,730343,586
82561944689930887114,551384
Total7,499198,288448,770

Table 5. Independently checked finite-domain certificates for the six remaining cases. All certificates were generated without symmetry restrictions.

Exclusion of the forty exceptional seed pairs

The forty exceptional seed pairs are excluded by two arguments: thirty-four by a common counting lemma and six by finite-domain certificates checked independently of their generating program. Throughout this section, AA and CC denote the parts of orders eight and nine, respectively; dA(a)d_A(a) and dC(b)d_C(b) are internal red degrees, c(v)c(v) is a red cross-degree, and xabx_{ab} is the indicator of a red edge between a∈Aa \in A and b∈Cb \in C. The partition is chosen to maximise the number of red cross-edges. In particular,

c(a)+c(b)−2xab≥dA(a)+dC(b)(a∈A, b∈C),(30)c(a) + c(b) - 2x_{ab} \ge d_A(a) + d_C(b) \qquad(a \in A,\ b \in C), \tag*{(30)}

as established in (10). The degree bounds in Corollary 2.9 give 7≤dR(v)≤107 \le d_R(v) \le10.

The maximum-cut condition is essential to the interpretation of these exclusions. An arbitrary partition of a colouring need not satisfy (30); every colouring has a maximum red cut with part sizes eight and nine that does satisfy it. Thus it suffices to exclude each seed pair when it occurs as such a partition. None of the certificates in this section uses symmetry-breaking constraints.

A counting argument for thirty-four pairs

For a vertex b∈Cb \in C, write NCblue(b)N^{\mathrm{blue}}_C(b) for its blue neighbourhood within CC. All matching statements below concern ordinary matchings, and hence their edges have pairwise disjoint endpoints.

Lemma 5.1. Suppose that an (F3,F4)(F_3,F_4)-avoiding colouring has an 8+98+9 partition satisfying (5.1) and dR(v)≤10d_R(v) \le10 for every vertex. Assume that A=L∪˙HA=L\mathbin{\dot\cup}H, where ∣L∣=6|L|=6 and ∣H∣=2|H|=2, and that the following properties hold.

  1. The red graph on AA is triangle-free, every h∈Hh \in H has dA(h)=5d_A(h)=5, and the blue graph on H∪{p,q}H \cup\{p,q\} contains a two-edge matching for every distinct p,q∈Lp,q \in L.

  1. Every seven-vertex subset of CC induces a red three-edge matching, and dC(b)≥1d_C(b) \ge1 for every b∈Cb \in C.

  1. If dC(b)≥3d_C(b) \ge3, then the blue graph on NCblue(b)N^{\mathrm{blue}}_C(b) contains a two-edge matching. If dC(b)=2d_C(b)=2, then this graph contains a three-edge matching.

  1. If dC(z)=1d_C(z)=1, then for every y∈NCblue(z)y \in N^{\mathrm{blue}}_C(z) the blue graph on NCblue(z)∖{y}N^{\mathrm{blue}}_C(z) \setminus\{y\} contains a three-edge matching.

Let n1n_1, n2n_2, and n≥3n_{\ge3} count the vertices of CC having internal red degree one, two, and at least three, respectively. Then

8n1+6n2+5n≥3≤eR(A,C)≤46.(31)8n_1 + 6n_2 + 5n_{\ge3} \le e_R(A,C) \le46. \tag*{(31)}

Consequently, a seed pair satisfying these hypotheses is impossible whenever 8n1+6n2+5n≥3>468n_1+6n_2+5n_{\geq3}>46.

Proof. If a vertex a∈Aa\in A had seven red neighbours in CC, property 2 would give three disjoint red edges among these neighbours. Together with centre aa, they would form a red F3F_3. Therefore c(a)≤6c(a)\leq6 for every a∈Aa\in A. For h∈Hh\in H, the total red degree bound is stronger: c(h)≤10−dA(h)=5c(h)\leq10-d_A(h)=5. Counting red cross-edges from AA gives

eR(A,C)=∑a∈Ac(a)≤6⋅6+2⋅5=46.(32)e_R(A,C)=\sum_{a\in A}c(a)\leq6\cdot6+2\cdot5=46. \tag*{(32)}

We next count the same edges from CC. First suppose that dC(b)≥3d_C(b)\geq3 and, for a contradiction, that c(b)≤4c(b)\leq4. Then bb has at least four blue neighbours in AA. If both vertices of HH were blue neighbours of bb, we could choose two further blue neighbours p,q∈Lp,q\in L. Property 1 would supply a blue two-edge matching in H∪{p,q}H\cup\{p,q\}. Property 3 supplies a second blue two-edge matching inside NCblue(b)N_C^{\mathrm{blue}}(b). Their vertex sets lie in different parts, so the two matchings together have four disjoint edges in the blue neighbourhood of bb, a forbidden blue F4F_4. Hence bb must have a red neighbour h∈Hh\in H. Applying (5.1) to this red edge yields

c(b)+c(h)−2≥dC(b)+5.c(b)+c(h)-2\geq d_C(b)+5.

Since c(h)≤5c(h)\leq5, this implies c(b)≥dC(b)+2≥5c(b)\geq d_C(b)+2\geq5, contrary to c(b)≤4c(b)\leq4. Thus

c(b)≥5if dC(b)≥3.(33)c(b)\geq5 \qquad\text{if } d_C(b)\geq3. \tag*{(33)}

Next suppose that dC(b)=2d_C(b)=2. By property 3, the internal blue neighbourhood of bb already contains three disjoint blue edges. There can be no blue edge between two blue cross-neighbours of bb, since this edge would be disjoint from the internal three-edge matching and would complete a blue F4F_4. The blue cross-neighbours of bb therefore form a red clique in AA. The red graph on AA is triangle-free, so this clique has at most two vertices. Consequently,

c(b)≥8−2=6if dC(b)=2.(34)c(b)\geq8-2=6 \qquad\text{if } d_C(b)=2. \tag*{(34)}

Finally, let z∈Cz\in C have dC(z)=1d_C(z)=1. Suppose that some a∈Aa\in A is a blue neighbour of zz. The bound c(a)≤6c(a)\leq6 shows that aa has at least three blue neighbours in CC. Besides zz, there are at least two such vertices. Since zz has only one red neighbour within CC, at least one of them, say yy, belongs to NCblue(z)N_C^{\mathrm{blue}}(z). Property 4 gives three disjoint blue edges on NCblue(z)∖{y}N_C^{\mathrm{blue}}(z)\setminus\{y\}. The blue edge ayay is disjoint from these three edges, and all eight endpoints are blue neighbours of zz. This again produces a blue F4F_4. It follows that every vertex of AA is a red neighbour of zz, and hence

c(z)=8if dC(z)=1.(35)c(z)=8 \qquad\text{if } d_C(z)=1. \tag*{(35)}

Summing (5.4)–(5.6) over CC proves the lower bound in (5.2); (5.3) proves the upper bound. □

The lemma uses only the upper total-degree bound; its conclusion is independent of the lower degree bound and of any symmetry restrictions.

The left seeds of the thirty-four cases have catalogue indices 80 and 280, occurring fifteen and nineteen times, respectively. Their structure gives a direct proof of property 1. Use the original seed labels L={0,1,2,3,4,5}L=\{0,1,2,3,4,5\} and H={6,7}H=\{6,7\}. Seed 80 is the red graph obtained from K6,2K_{6,2} with bipartition (L,H)(L,H) by deleting edges 47 and 56. Seed 280 is obtained from the same K6,2K_{6,2} by deleting edges 07 and 56 and adding edge 05. Both graphs are triangle-free, and both vertices in HH have red degree five. For seed 80, the blue edges 67 and pqpq give the required matching for every pair p,q∈Lp,q\in L. They also suffice for seed 280, except when {p,q}={0,5}\{p,q\}=\{0,5\}; in that case the blue edges 07 and 56 give the matching instead.

There are twenty-two distinct right seeds among these thirty-four pairs. Table 4 identifies all of them and records the numerical lower bound given by the lemma. The indices identify the representatives in the seed catalogue; their labelled adjacencies are supplied with the accompanying data. The last column counts occurrences among the thirty-four pairs, not distinct graphs.

Indexn1n_1n2n_2n≥3n_{\ge3}ℓC\ell_CPairs
30580036482
30592027471
30727036482
30740117491
30744027471
30885036482
30887027472
33151027471
33154027472
37913027472
37999036481
38012027472
38219036481
42513036482
42846036482
45740027472
47671108481
65954027471
66025027472
68352036481
68564036481
69502027472

Table 4. Right-seed data for the counting argument. In every row, the four finite hypotheses of Lemma 5.1 hold. The lower bound is ℓC=8n1+6n2+5n≥3\ell_C = 8n_1 + 6n_2 + 5n_{\ge3}; the upper bound is 46 in every case.

All matching conditions in the lemma were checked using explicit matching witnesses. For each right seed, the accompanying certificate specifies three disjoint red edges for every one of (97)=36\binom{9}{7}=36 seven-vertex subsets. It also specifies the blue matchings required in each internal neighbourhood and, for the two right seeds with red leaves, in every neighbourhood with one blue neighbour deleted. The verifier checks the stated edge colours, endpoint disjointness, and membership in the prescribed vertex sets directly. It also checks the four-vertex blue matchings and triangle-freeness of the left seeds. These explicit matchings allow the hypotheses of the lemma to be checked independently. The right seeds with a red leaf are precisely 30740 and 47671.

For eighteen of the thirty-four pairs, the lower bound in Table 4 is 47; for fifteen it is 48; and for one it is 49. Each contradicts the common upper bound 46. This excludes all thirty-four pairs under the maximum-cut condition.

Finite-domain certificates for the remaining six pairs

For the remaining six pairs, a finite-domain search produces a complete contradiction certificate. Its variables are the eight row masks mi∈{0,1}9m_i \in\{0,1\}^9 and the nine column masks qj∈{0,1}8q_j \in\{0,1\}^8 of the red cross-adjacency matrix. Masks are used here as binary vectors, and ∣m∣|m| denotes Hamming weight. The entry mi(j)=qj(i)m_i(j)=q_j(i) is xijx_{ij}. Unlike the main SAT search, the certificate generator uses no Boolean satisfiability library.

A partial coloured graph consists of the two completely coloured seeds and any cross-edges fixed by assigned rows or columns. A cross-edge with no assigned value belongs to neither colour in this partial graph. In particular, an unknown edge must not be treated as blue merely because it is not yet red. Any monochromatic fan whose edges are already known occurs in every completion.

For each i∈Ai \in A, the initial row domain DiD_i contains every mask mm with

7≤dA(i)+∣m∣≤10(36)7 \le d_A(i) + |m| \le10 \tag*{(36)}

unless the partial coloured graph obtained by assigning this row, together with the fixed seeds, already contains a red F3F_3 or a blue F4F_4. Column domains EjE_j are defined analogously using 7≤dC(j)+∣q∣≤107 \le d_C(j) + |q| \le10. A rejection because of a fan is accompanied by that fan’s centre and an explicit matching of three or four edges in its monochromatic neighbourhood. The certificate also accounts for every pattern satisfying the degree bound: it is either retained or rejected with such a witness.

There are two compatibility relations. Two row candidates m∈Dim \in D_i and m′∈Dkm' \in D_k, for i≠ki \ne k, are incompatible if their simultaneous assignment already produces a forbidden fan in the partial coloured graph. An incompatible pair used in propagation carries an explicit fan witness. A row candidate m∈Dim \in D_i and a column candidate q∈Ejq \in E_j are compatible only if

m(j)=q(i)=xand∣m∣+∣q∣−2x≥dA(i)+dC(j).(37)m(j) = q(i) = x \quad\text{and} \quad|m| + |q| - 2x \ge d_A(i) + d_C(j). \tag*{(37)}

The second requirement is exactly the maximum-cut swap inequality; it is checked by integer arithmetic.

Proposition 5.2. Suppose an (F3,F4)(F_3,F_4)-avoiding completion of the two seeds satisfies the degree bounds and (30). Its row and column masks belong to the initial domains. Furthermore, deleting a candidate that has no compatible candidate in some other row or column cannot delete the masks of this completion.

Proof. The degree bounds imply that the completion’s masks pass the initial degree tests. A fan witnessed after assigning only one of its rows or columns would also be present in the completion, so none of these masks can be excluded by an initial fan witness. The same argument shows that any two of its row masks are compatible. Every row and column intersect consistently and satisfy (37). Hence, whenever a candidate from the completion remains in a domain, the corresponding mask in every other domain supplies a compatible support, provided the completion’s other masks have not previously been removed. Induction on the sequence of deletions establishes the assertion.

The generator repeatedly performs these deletions until no further deletion applies. It then either reaches an empty domain, finds a forbidden fan using the rows whose domains have become singletons, or chooses a non-singleton row domain and branches over every one of its remaining masks. Choosing a row with the smallest non-singleton domain is a search heuristic only; the proof relies on exhaustive coverage of that domain. Every branch fixes at least one previously non-singleton row, so a path has at most eight such branch operations. No candidate is discarded because of graph isomorphism or a lexicographic symmetry convention in the recorded certificates.

Proposition 5.3. If the described certificate passes the independent verifier and every leaf is checked for contradiction, then the given seed pair has no (F3,F4)(F_3,F_4)-avoiding completion satisfying the degree bounds and (30).

Proof. Assume such a completion exists. By Proposition 5.2, its row and column masks survive every sound deletion along any search path consistent with the completion. At each branch there is a child assigning exactly the completion’s value to the selected row, because the verifier checks that the children contain every remaining value exactly once. Follow this child. The finite tree eventually reaches a leaf. That leaf cannot have an empty domain, since the completion’s masks survive, and cannot contain a witnessed forbidden fan, since all edges of that fan also occur in the completion. Both permitted leaf types therefore give contradictions.

The independent verifier does not solve a matching problem. To check a claimed fan, it verifies that the matching endpoints are distinct from one another and from the centre, that the required spokes and matching edges are all known, and that their colours agree. It then replays each domain deletion using the current domains and the explicit incompatibility witnesses or (37). Finally, it verifies exhaustive branch coverage and each leaf contradiction. Thus an error in the generator’s matching search would not by itself cause an unsupported exclusion to pass verification.

Table 5 gives the six case identities and certificate statistics. The case identifier is the stable index in the original filtered pair enumeration. A node count of one means that propagation alone produced a contradiction at the root, with no branching. The fan-witness count includes the initial pattern rejections, the distinct row-pair rejection witnesses retained in the certificate, and any fan contradictions at leaves. The deletion count records domain deletions in the replayed tree; it does not count the initial degree exclusions.

The counting lemma and these six independently checked certificates therefore exclude all forty exceptional pairs under the degree and maximum-cut conditions of the structural reduction.

Ramsey consequence and verification

Let C\mathcal{C} denote the verified catalogue of retained ordered seed pairs, and let H⊆C\mathcal{H} \subseteq\mathcal{C} be the forty exceptional pairs excluded in § 5. We now combine the structural reduction and the completed computation.

Theorem 6.1.

R(F3,F4)=17.R(F_{3}, F_{4}) = 17.

Proof. An admissible colouring of K17K_{17} would have a maximum red cut with parts of sizes eight and nine. Proposition 2.18 places its internal graphs, after relabelling, in a pair in C\mathcal{C}; the cross-edge matrix satisfies the degree and swap inequalities. The verified bulk computation excluded every pair outside H\mathcal{H}. Lemma 5.1 excludes thirty-four pairs in H\mathcal{H}, and the independently checked certificates, with soundness supplied by Proposition 5.3, exclude the other six. Hence no admissible colouring of K17K_{17} exists, giving R(F3,F4)≤17R(F_{3}, F_{4}) \le17. Proposition 2.1 gives the reverse inequality.

Verification of the seed catalogues, retained pair catalogue and bulk exclusions has been completed. The bulk computation is documented by the enumeration and execution records and the implementation validation described in Appendix § 7. The forty exceptional pairs additionally have independently checked graph-based certificates: explicit matching witnesses verify the finite premises of the counting argument for thirty-four pairs, and finite-domain contradiction certificates with exhaustive branch coverage exclude the remaining six. These complementary verification procedures establish the computational conclusion used in Theorem 6.1.

Discussion

Neighbourhood matching conditions are effective at two different scales in this problem. At the catalogue level, they give inexpensive profiles that substantially reduce the number of seed pairs. For the exceptional pairs, the same local restrictions yield a common cross-edge contradiction or incompatibilities between complete neighbourhood patterns. Explicit fan witnesses make the latter incompatibilities easy to verify independently of the search that finds them.

The eight- and nine-vertex parts are small enough for complete canonical catalogues and exact subset matching tables, while their joint restrictions constrain the seventeen-vertex colouring. This suggests a general approach to related fan Ramsey problems: combine canonical seed generation with a mathematically justified gluing reduction, and use local witnesses to certify the remaining exclusions.

Data availability

Detailed reproduction instructions are provided in Appendix § 7. The associated source code, seed catalogues, data, and certificates are archived in Zenodo [5] at https://doi.org/10.5281/zenodo.23119016. The source repository is available at https://github.com/jianghanxin01/fan-F3F4-reproducibility.

AI Disclosure

The research ideas and overall approach were proposed by the authors. Following the authors’ instructions, OpenAI Codex was used to assist with implementing and testing the programs. The authors carried out the main computations on their computing cluster. Codex also assisted with checking the computational results and with editing the manuscript. The authors take responsibility for the mathematical arguments, computational results, and final manuscript.

A Reproducibility guide

Purpose and verification scope

This appendix gives reproduction and verification procedures for the completed computation establishing R(F3,F4)=17R(F_3,F_4)=17. It explains how to compile the search program, reproduce the seed catalogues and filtering counts, run the distributed search, and verify the certificates for the forty exceptional seed pairs. Here FtF_t is the graph formed by tt triangles with a common vertex and otherwise disjoint vertex sets. A colouring is admissible if it contains neither a red F3F_3 nor a blue F4F_4. The mathematical justification of the reductions is given in the main text.

The bulk-search results and cumulative solver counts reported in the main text were obtained by running the C++ search program on the authors’ computing cluster using 32 CPU cores. The wall-clock running time of the large-scale search was at most 24 hours. The local certificate checks described below were performed separately after the distributed search. Thus the cluster statistics and the subsequent independent verification results have separate sources.

The completed computation covers all 88 294 674 retained ordered pairs of seeds on eight and nine vertices. The bulk solver phase excludes 88 294 634 pairs. The forty pairs left unresolved by that phase are all excluded separately: thirty-four by the counting argument in the main text, with its finite premises checked from the seed graphs, and six by independently replayable finite-domain certificates. Thus every retained pair is excluded. Verification of the seed and pair catalogues and the bulk exclusions has been completed. The quick verification below checks the forty local exclusions; it does not rerun the bulk search or establish catalogue completeness by itself.

The distribution provides the inputs and source needed for a fresh full computation. It does not include the complete historical cluster checkpoints or a checked propositional proof for each bulk exclusion. The supplied source, the completeness arguments in the main text, and a full rerun therefore have different roles from the local certificate checker. File checksums establish file identity, not mathematical truth.

Files and conventions

Extract fan_F3F4_reproducibility.zip to a writable directory. All commands below are issued from the extracted directory containing README.txt, unless a different working directory is stated. The shell examples use Linux syntax. Section A.5 gives the corresponding Windows build procedure.

LocationContents and purpose
src/C++17 search source, build files, and required third-party source and licences.
data/Fixed graph6 seed files, the ordered-pair catalogue, and the dataset identity.
tools/Canonical generation, catalogue preparation, and independent data-validation programs.
certificates/The forty case specifications and final counting and finite-domain certificate data.
verify40.pyEntry point for independent verification of the forty exceptional pairs.
combine_results.pyChecks coverage of a fresh full run and combines it with the verified local exclusions.
docs/A standalone version of this reproducibility guide in LaTeX and PDF form.

Table 6.

A seed index and a case index are zero-based. Machine numbers are one-based. The red graph determines the colouring; all other edges of the complete graph are blue. A graph6 record encodes an undirected graph, using the vertex order fixed by the corresponding seed file. The production dataset identifier is e38c0723b6a3be74; the engine identifier is fan17-cpp-1. The eight-vertex and nine-vertex sides are ordered: there is no transposition identification between them.

The published files should be kept unchanged. Put new checkpoints, timing logs, generated certificates, and validation reports in separate working directories. These outputs are produced by the reader’s run and are not prerequisites for the archived quick check.

Requirements

The forty-case checker requires Python 3.9 or later and only its standard library. The C++ search requires a C++17 compiler and threads. GCC 9 or later, a recent Clang, or the x64 Microsoft Visual C++ toolchain can be used. A CMake build requires CMake 3.15 or later. The included direct build scripts provide an alternative to CMake. MiniSat and the JSON header are supplied in the archive; no separate SAT-solver installation is needed.

Full seed and profile regeneration requires Python 3.11 or later and the pinned Python packages in tools/requirements.txt. Graph isomorphism is handled by the BLISS backend exposed through igraph. Verification of the six finite-domain certificates uses neither BLISS nor a SAT solver. No GPU is required. Select the thread count to match the CPU resources allocated by the cluster scheduler.

A full run writes 176 590 checkpoint files. Use storage with adequate space and support for atomic file replacement. The total runtime depends on the hardware, thread count, time limits and difficult instances; a short pilot is not a reliable prediction of completion time.

Quick verification of the forty exceptional pairs

Run:

python3 verify40.py

On Windows, use python instead of python3 when that is the installed command. The program checks the fixed input identities, the binding of case indices to the seed catalogue, the seed adjacency data, the finite premises for the thirty-four counting exclusions, and all six certificate trees. The required outcome is a successful process exit and a report containing forty excluded cases, with zero unresolved cases in this local set. The default report is results/verified40.json; an alternative path may be selected by --report.

For the six certificates the expected aggregate replay counts are 7499 search nodes, 198288 explicit fan witnesses, and 448770 domain deletions. Each fan witness specifies a centre and three or four disjoint pairs of peripheral vertices. The checker tests the colours of all spokes and matching edges directly. It also checks every domain deletion and every branch of the contradiction tree. An unknown edge in a partial colouring belongs to neither colour.

The thirty-four counting exclusions and six tree certificates partition the same fixed set of forty cases. A passed local check must not be interpreted as a passed full-catalogue check. The full-run combination procedure in Section A.9 checks this coverage separately.

Compiling and checking the search program

CMake build

From the archive root, run:

cmake -S src -B build -DCMAKE_BUILD_TYPE=Release
cmake --build build --config Release --parallel 4

With a single-configuration Linux generator, the executable is build/fan_ramsey17. Test it and inspect the fixed catalogue:

./build/fan_ramsey17 self-test
./build/fan_ramsey17 catalog --data data

With the Visual Studio generator on Windows, use build\Release\fan_ramsey17.exe in place of ./build/fan_ramsey17. Run the Windows commands in a developer terminal with the x64 C++ toolchain available.

Direct builds

On Linux, the alternative command

bash src/build_linux.sh

creates src/fan_ramsey17. In the remaining examples replace ./build/fan_ramsey17 by ./src/fan_ramsey17 when using this build.

In the x64 Native Tools Command Prompt for Visual Studio, the equivalent Windows procedure is:

pushd src
call build_windows.bat
popd
src\fan_ramsey17.exe self-test
src\fan_ramsey17.exe catalog --data data

Here the executable for subsequent commands is src\fan_ramsey17.exe. Use ordinary single-line commands in Windows; a backslash used for Linux line continuation is not a Windows line-continuation character.

Expected catalogue dimensions

QuantityExpected value
Eight-vertex seeds8 812
Nine-vertex seeds115 174
Eight-vertex profiles6 860
Nine-vertex profiles60 041
Retained ordered seed pairs88 294 674
Cases per full task500
Number of tasks176 590
Cases in the last task174

Table 1 (PDF p. 23).

The executable rejects a catalogue or seed file that differs from its fixed dataset. It also checks catalogue dimensions and basic profile fields. These checks are useful consistency tests, not an independent proof of exhaustive generation.

For a small executable test that does not start the full search, run:

./build/fan_ramsey17 run --data data \
  --machine 1 --machines 1 --threads 1 \
  --task-ids 0 --case-budget 5 --seconds 5 \
  --symmetry on --results results/smoke

This deliberately processes at most five cases. Use a different results directory for a new independent full computation.

Running a full computation on one machine

./build/fan_ramsey17 run --data data \
  --machine 1 --machines 1 --threads 4 \
  --symmetry on --seconds 5 --results results/machine01

The --seconds option is a time limit for each case, not for the whole job. The --threads option controls concurrent workers on this machine. The symmetry option activates the symmetry constraints described in the main text. An independent run with --symmetry off is supported but may be slower. The default task order, spread, is a deterministic permutation of all assigned tasks and is not a sampling rule.

The status fields have the following meanings:

FieldInterpretation
PENDINGCases not yet processed.
UNSATCases for which the SAT solver reports that no permitted completion exists.
UNKNOWNCases for which the time-limited attempt did not decide satisfiability. These are not exclusions.
SATCases with a candidate completion; the program checks and stores its red adjacency data.

Table 2 (PDF p. 23).

Each task progress line reports counts within that task. Its wall_seconds is elapsed time since the current run began; it is not the duration of that task alone. The final run line reports the number of attempts in the invocation. The runner may finish normally with unresolved cases because every assigned case has received its time-limited attempt.

The flag proof_verified=false is intentional in production solver output: the runner does not emit and independently check a propositional proof for every exclusion. A solver’s negative result, a repeated negative result and a replayed certificate are different forms of evidence. This flag concerns per-instance propositional proof checking; it does not mark an instance as unresolved or indicate that the full computation is incomplete.

Resuming, retrying and merging

Repeating a run command with the same results directory resumes pending work. Already resolved cases are skipped. Previously unresolved cases are attempted again only if --retry-unknown is present. For example, after the first pass has stopped:

./build/fan_ramsey17 run --data data \
  --machine 1 --machines 1 --threads 4 \
  --symmetry on --seconds 60 --retry-unknown \
  --results results/machine01

Further passes may use 600 or 3600 seconds per case. These are example retry settings, not a guarantee that every case will finish. Keep the dataset and seed ordering unchanged between passes.

After a run has stopped, create a summary and a merged checkpoint set:

./build/fan_ramsey17 merge --data data \
  --inputs results/machine01 --output results/merged_01

The output directory must be new or contain no checkpoint files. The merge writes summary.json, pending_tasks.json, unknown_tasks.json, and the merged task files. A missing task is counted as pending; duplicate completed entries are reported. The merge rejects inconsistent positive and negative decisions for a case.

The field all_pairs_resolved means that both the pending and unresolved counts are zero. It alone does not mean all cases have been excluded: the positive count must also be checked. The field solver_reported_exclusion records whether the solver has reported a negative decision for every case. It does not assert independent proof verification.

To request an orderly stop, issue this command from another terminal:

./build/fan_ramsey17 stop --results results/machine01

Allow the running process to finish and return to the shell before merging or copying its checkpoints. The next explicit run clears the stop request. Lock directories such as RUN.lock and the individual task locks protect against concurrent writers. If a process was killed, a lock may remain; remove only the stale lock after confirming that its process has terminated. Do not delete checkpoints to recover a stale lock, and do not let two running processes write the same results directory.

Distributed computation on six machines

Use exactly the same code and data on every machine. Select --machines 6 everywhere and a distinct --machine number from 1 through 6. Task tt, numbered from zero, belongs to machine (tmod6)+1(t \mathbin{\mathrm{mod}} 6) + 1. Each machine writes to its own directory. For machine 1, run:

./build/fan_ramsey17 run --data data \
  --machine 1 --machines 6 --threads 4 \
  --symmetry on --seconds 5 --results results/machine01

On machines 2 through 6, change both the machine number and the final directory name accordingly, for example –machine 2 and results/machine02. The six workers need not start together. The number of machines is independent of the number of threads per machine. For scheduled cluster jobs, request the appropriate CPU allocation and run the corresponding command inside the batch job. Scheduler directives depend on the local cluster and are not hard-coded into the distribution.

Retry on each machine with –retry-unknown and a larger time limit, using its existing results directory and machine number. Once all processes have stopped, collect the six directories on one machine, preserving their distinct names, and merge:

./build/fan_ramsey17 merge --data data \
  --inputs results/machine01 results/machine02 \
           results/machine03 results/machine04 \
           results/machine05 results/machine06 \
  --output results/merged_six_01

If a shared filesystem is used, the same six distinct directories can be merged in place after the workers stop. Do not merge only the individual summary files: case-level checkpoints are required.

To change the number of machines, first stop all writers and merge their checkpoints. Work may then be redistributed by the new task-modulo rule. Each new worker needs the existing checkpoint files for its assigned tasks in its own results directory. Preserve the original merged copy until the redistributed run has been checked. Reassigning tasks changes the allocation of work, not the case indices or mathematical search.

Combining a full run with the local certificates

After creating a complete merged checkpoint directory, run:

python3 combine_results.py --results results/merged_01 \
  --output results/combined.json

Use results/merged_six_01 instead for the six-machine example. This program checks the checkpoint dataset, task ranges, status integrity and case-level coverage, and reruns the forty-case verifier. It requires zero pending cases and zero positive cases. Every unresolved case in the merged run must belong to the fixed set excluded by the local certificates. An unresolved case outside that set causes failure and requires further computation.

The completed computation has the following decomposition:

88 294 634 solver exclusions+34 counting exclusions+6 certificate exclusions=88 294 674.\text{88 294 634 solver exclusions} + \text{34 counting exclusions} + \text{6 certificate exclusions} = \text{88 294 674}.

The combined report records the actual split in the reader’s run; it need not reproduce the same intermediate unresolved counts. It keeps solver decisions and local certificate exclusions distinct. Successful combination establishes complete case-level coverage under these checks; it does not supply an independently checked propositional proof for each bulk UNSAT decision.

The cumulative counts from the bulk-search phase are listed below for comparison. The forty pairs left unresolved after that phase are all excluded by the subsequent counting and certificate checks. These summary counts are not checkpoint data and cannot substitute for the case-level coverage check.

PassExcluded by the solverUnresolved
First88 294 434240
Second88 294 572102
Third88 294 62054
Fourth88 294 63440

Each of these summaries reported zero pending cases and zero positive cases. Different hardware and timing can change the intermediate unresolved set without changing the underlying instances.

Independent checks and witness verification

The independent Python data validator uses the standard library:

python3 tools/search17_validate.py self-test
python3 tools/search17_validate.py data --data data \
  --profile-samples 4 --case-samples 12 \
  --output results/data_check.json

It checks every seed record and the basic catalogue fields, with full profile and indexing checks on the selected samples. The sample counts can be increased. This command is not a second exhaustive canonical generation and does not check all negative solver decisions.

If a run reports a positive case, preserve the stored witness and verify it before drawing a conclusion:

python3 tools/search17_validate.py verify \
  --input results/machine01/SAT_FOUND.json --order 17 \
  --output results/witness_check.json

The program directly checks the proposed colouring for forbidden fans. A valid admissible colouring on seventeen vertices would contradict the nonexistence result proved in the main text, so a positive result must never be discarded because it differs from the reported computation.

For a single seed pair, such as one of the six certified cases, use:

./build/fan_ramsey17 pair --data data \
  --left-index 3477 --right-index 1235 \
  --seconds 60 --symmetry off --output results/pair.json

The pair command selects indices in the seed files, not a task number. Its time-limited result is separate from replay of the supplied proof certificate for that pair.

Regenerating the seed libraries and catalogue

Carry out regeneration in a working copy. Use an isolated Python environment, for example on Linux:

python3 -m venv .venv
. .venv/bin/activate
python -m pip install -r tools/requirements.txt
mkdir -p regenerated

The requirements fix igraph 1.0.0, NumPy 2.3.5, texttable 1.7.0 and NetworkX 3.7. Do not use Python’s optimisation flag -O: some preparation consistency checks are assertions.

Canonical generation through order nine

python tools/canonical_fans.py --validate
python tools/canonical_fans.py --max-order 9 --target 17 --audit \
  --export regenerated/fan9_target17.graph6

The first command tests the unrestricted generator against known small graph counts. The second runs the restricted canonical augmentation used in this search. No finite time limit is imposed here; the program refuses to export an incomplete level as a full seed library. The numbers of retained isomorphism classes at orders 0 through 9 are expected to be

1, 1, 2, 4, 11, 34, 155, 941, 8812, 115174.1,\ 1,\ 2,\ 4,\ 11,\ 34,\ 155,\ 941,\ 8812,\ 115174.

The restrictions are hereditary fan and clique exclusions. A minimum red degree of seven is imposed only on a completed seventeen-vertex colouring, not on a seed during augmentation.

Profiles, filters and stable case indexing

To regenerate the eight-vertex library and construct the profile and pair catalogue using the newly generated nine-vertex library, run:

python tools/search17_prepare.py --data regenerated/data \
  --source-nine regenerated/fan9_target17.graph6 \
  --canonical-source tools/canonical_fans.py

The source-nine option is checked against the fixed nine-vertex seed identity. As a less expensive separate test of profile preparation, one may instead supply data/fan9_target17.graph6; this reuses the archived nine-vertex library and does not regenerate that library.

Check the regenerated fixed inputs and the bindings of the forty exceptional cases:

python tools/check_data.py --data regenerated/data \
  --cases certificates/cases.json
python tools/search17_validate.py data --data regenerated/data \
  --profile-samples 6 --case-samples 24 \
  --output regenerated/data_check.json
./build/fan_ramsey17 catalog --data regenerated/data

The expected cumulative numbers of ordered pairs are:

StageOrdered pairs retained
All eight-by-nine seed pairs1 014 913 288
Maximum-degree compatibility682 271 903
Cross-edge count intervals682 057 873
Joint centre-type compatibility165 925 659
Saturated maximum-degree boundary88 294 674

Table 1 (PDF p. 27).

The preparation writes a new catalogue, identity information and a corresponding C++ identity header in its output tree. It also generates profile caches and run reports for that invocation. These generated caches are not required in the published archive. Check that the regenerated fixed files agree with the archived identities before using existing checkpoints. If the ordering changes, even when the graphs are isomorphic and the counts agree, old case indices no longer identify the same instances. Do not bypass the executable’s identity checks or mix checkpoints from different catalogues.

Replaying and regenerating certificates

For the ordinary verification procedure, use Section A.4; certificate regeneration is optional. Each finite-domain certificate uses the degree interval 7≤dR(v)≤107 \le d_R(v) \le10 and the necessary one-for-one swap inequalities for a maximum red 8 + 9 cut. Here dR(v)d_R(v) is the red degree of vertex vv. The checker validates these finite constraints using the fixed seed adjacency data. The main text proves why every admissible seventeen-vertex colouring has such a partition.

The six certificate case indices and their seed indices are:

Case indexEight-vertex seedNine-vertex seedSearch nodes
51 996 40034771235911
64 095 20942281235917
69 103 0644877689431
69 257 5484893689431
71 867 158547912355668
82 561 9446899308871

Table A.12.

The CMake build in Section A.5 also builds the certificate generator build/fan_tail_certify. Regenerate all local proof data in a new directory with:

python3 tools/regenerate_certificates.py \
  --binary build/fan_tail_certify \
  --output generated_certificates --seconds 120

For a Visual Studio build, use build/Release/fan_tail_certify.exe as the binary path. The helper rebuilds the thirty-four-case counting certificate, selects the six remaining cases from the fixed input list, calls the C++ generator without symmetry restrictions, and independently replays all regenerated certificates. The output directory must be empty. The time limit is per case; if a certificate is not produced before the limit, use a larger limit and a new output directory.

The regenerated files can also be checked in a separate invocation:

python3 verify40.py \
  --structural generated_certificates/theory_34_certificate.json \
  --csp-dir generated_certificates \
  --report results/regenerated_verified40.json

Certificate generation must disable the optional twin-row symmetry restriction, because the replay checker verifies a complete branching tree without invoking a symmetry argument. A timeout or incomplete tree is not an exclusion certificate. Store newly generated certificates in a fresh directory and replay them before using them. The helper enforces this symmetry setting. The archived certificates are sufficient to reproduce all six independent exclusions without rebuilding the generator.

Online reproducibility archive

The reproducibility archive contains the final source code, fixed inputs, independent checkers and certificate data; it also includes this guide so that the archive is self-contained. Research notebooks, obsolete executables, intermediate checkpoints, local dependency installations and development logs are not part of that distribution. Required third-party licences are retained.

The reproducibility package is publicly archived in Zenodo at https://zenodo.org/records/23119016. Its persistent identifier is https://doi.org/10.5281/zenodo.23119016. The source repository is available at https://github.com/jianghanxin01/fan-F3F4-reproducibility. For a fixed archived copy, use the Zenodo record. The GitHub repository may contain later updates. When citing the computational materials, use the Zenodo DOI, which identifies the reproducibility package rather than this paper.

References

  1. [2]T. Gauthier and C. E. Brown, A formal proof of R(4,5) = 25, in Interactive Theorem Proving (ITP 2024), LIPIcs 309 (2024), Article 16. doi:10.4230/LIPIcs.ITP.2024.16.DOI
  2. [5]H. Jiang and Z. Shao, Reproducibility package for an 8 + 9 gluing computation for the Ramsey number R(F₃, F₄), Zenodo, 2026. doi:10.5281/zenodo.23119016.DOI
  3. [6]T. Junttila and P. Kaski, Engineering an efficient canonical labeling tool for large and sparse graphs, in Algorithm Engineering and Experiments (ALENEX 2007), SIAM, 2007, 135–149. https://users.aalto.fi/~tjunttil/bliss/.
  4. [7]Q. Z. Lin and Y. S. Li, On Ramsey numbers of fans, Discrete Appl. Math. 157 (2009), 191–194. doi:10.1016/j.dam.2008.05.004.DOI
  5. [8]L. Lovász and M. D. Plummer, Matching Theory, North-Holland Mathematics Studies 121, North-Holland, Amsterdam, 1986.
  6. [9]B. D. McKay, Isomorph-free exhaustive generation, J. Algorithms 26 (1998), 306–324. doi:10.1006/jagm.1997.0898.DOI
  7. [10]B. D. McKay and S. P. Radziszowski, R(4,5) = 25, J. Graph Theory 19 (1995), 309–322. doi:10.1002/jgt.3190190304.DOI
  8. [11]S. P. Radziszowski, Small Ramsey numbers, Electron. J. Combin., Dynamic Survey DS1, revision 18 (24 April 2026). doi:10.37236/21.
  9. [12]Y. Zhang, H. J. Broersma and Y. Chen, A note on Ramsey numbers for fans, Bull. Aust. Math. Soc. 92 (2015), 19–23. doi:10.1017/S0004972715000398.DOI

Paper details

vlnc:W_8nuexema
Version
v1 · latest
Published
Added
License
CC BY 4.0
Usage

views · 1

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Mathematics

Not recorded for this paper

View statement
Looking for related papers…
Contents