betaFeedback

WorksMathematics

γ(Q35)=19\gamma(Q_{35})=19 and certified queen domination numbers up to n=46n=46

Abstract

We show that no 1818 queens dominate the 35×3535\times35 board, so that the domination number of the queen's graph Q35Q_{35} is γ(Q35)=19\gamma(Q_{35})=19 (OEIS A075458); since 2001 it had been known only that γ(Q35)∈{18,19}\gamma(Q_{35})\in\{18,19\}. An independent dominating set of 1919 queens found by Östergård and Weakley then gives i(Q35)=19i(Q_{35})=19, and 3535 is the smallest odd n>15n>15 with γ(Qn)=⌈n/2⌉+1\gamma(Q_n)=\lceil n/2\rceil+1. The proof is computer-assisted. It splits a hypothetical dominating set by the box spanned by its outermost empty rows and columns, as in the Hint and Conquer method for even boards, and further by the deficits of occupied lines of the four kinds. Exact counting identities for the border and for the sides of the box make each of the resulting 128,941 cases a small SAT problem. Every case was refuted by CaDiCaL with a DRAT proof checked by drat-trim, in about 8181 CPU hours. The reduction to the cases, the completeness of the case list and the upper bound are formalised in Lean 4 with Mathlib, modulo the CNF encoding and the SAT certificates. A second, separately written encoding, solved with Kissat and without any symmetry breaking, independently refutes the 585 hardest cases and a sample of 2200 others. The same method, with DRAT proofs, gives γ(Q40)=21\gamma(Q_{40})=21, γ(Q42)=22\gamma(Q_{42})=22, γ(Q44)=23\gamma(Q_{44})=23 and γ(Q46)=24\gamma(Q_{46})=24, the first certified values for these boards; they confirm claims made in 2009 on the basis of an uncertified integer-programming computation. With them, γ(Qn)\gamma(Q_n) is known for every n≤46n\le46. The method also confirms γ(Q32)=17\gamma(Q_{32})=17, γ(Q34)=18\gamma(Q_{34})=18 and γ(Q36)=19\gamma(Q_{36})=19, and γ(Q26)=14\gamma(Q_{26})=14 and γ(Q28)=15\gamma(Q_{28})=15, which were first established in Hint and Conquer (2026). For n=26n=26 and n=28n=28 we also give a second, completely independent proof, by a relaxation of the grid of empty rows and columns to covers by diagonals, with DRAT certificates for both of its stages and a complete replay of every certificate formula.

AI transparency statement. The computer-assisted proofs, the code, the Lean formalisation and this manuscript were produced by artificial intelligence. The values for n≤36n \le36 other than n=35n = 35 were established earlier by others, and those for n=40,…,46n = 40, \ldots, 46 were claimed earlier without certificates (§ 1). The human author initiated the broader research and directed the AI systems, but did not write the text and has not checked the arguments. Details are given at the end of the paper.

Introduction

The queen’s graph QnQ_n has the n2n^2 squares of the n×nn \times n board as vertices, two squares being adjacent when they share a row, a column or a diagonal. Its domination number γ(Qn)\gamma(Q_n) is the least number of queens that occupy or attack every square, and its independent domination number i(Qn)i(Q_n) the least number of pairwise non-attacking queens that do so. The problem goes back to de Jaenisch1. (1862) and is Problem C18 in Guy’s collection; see the surveys [6, 24] and the introduction of [26]. The general lower bound

γ(Qn)≥n−12\gamma(Q_n) \ge\frac{n-1}{2}

was proved independently by Spencer (see [6]) and by Raghavan and Venkatesan [21], and equality holds only for n∈{3,11}n \in\{3,11\} [25, 8]. So γ(Qn)≥⌈n/2⌉\gamma(Q_n) \ge\lceil n/2\rceil for all other nn. For every n≤120n \le120 other than 3 and 11 the value is known to be ⌈n/2⌉\lceil n/2\rceil or ⌈n/2⌉+1\lceil n/2\rceil+ 1 [20, 26]. For n≤25n \le25 the exact values come from constructions [20, 14], from exhaustive searches by Kearse and Gibbons (n≤19n \le19) [14] and by Bird (n=20,22,24n = 20, 22, 24, with a general-purpose dominating-set solver on 64 processors) [4], and, for n≤19n \le19, from proof-producing SAT solving [22].

For odd nn, Östergård and Weakley [20] list the values γ(Qn)=⌈n/2⌉\gamma(Q_n) = \lceil n/2\rceil for many nn, among them every n≡1(mod4)n \equiv1 \pmod{4} up to 129 and all odd nn with 17≤n≤3317 \le n \le33, and they leave n=35n = 35 open: “i(Q35),γ(Q35),i(Q36),γ(Q36)∈{18,19}i(Q_{35}), \gamma(Q_{35}), i(Q_{36}), \gamma(Q_{36}) \in\{18,19\}”. Their 19-queen set for Q35Q_{35} is independent. The only odd nn for which γ(Qn)=⌈n/2⌉+1\gamma(Q_n) = \lceil n/2\rceil+ 1 was known is n=15n = 15, where γ(Q15)=9\gamma(Q_{15}) = 9 [14]. We settle n=35n = 35.

Theorem 1.1. No 18 queens dominate the 35×3535 \times35 board. Hence γ(Q35)=i(Q35)=19\gamma(Q_{35}) = i(Q_{35}) = 19.

Corollary 1.2. n=35n = 35 is the smallest odd n>15n > 15 with γ(Qn)=⌈n/2⌉+1\gamma(Q_n) = \lceil n/2\rceil+ 1.

Proof. For odd nn with 17≤n≤3317 \le n \le33 the value γ(Qn)=⌈n/2⌉\gamma(Q_n) = \lceil n/2\rceil is in the list of [20].

The upper bounds are explicit sets, the independent one from [20]. The lower bound is computer-assisted (§ 2–§ 3): we prove that a dominating set of 18 queens would satisfy the constraints of one of 128,941 explicit cases, and refute every case by SAT solving with a DRAT proof checked by drat-trim [27]. The reduction is formalised in Lean 4 (§ 7), and a second, separately written encoding solved with a different SAT solver cross-checks the cases that are hardest for the first one (§ 6).

The frame method and prior work. Our reduction splits the search space by the box spanned by the outermost empty rows and columns of a dominating set, and by the deficits, the numbers of queens in excess of the occupied lines of each of the four kinds. The border of the box and its sides obey exact counting identities, which make the case formulas small and strong. The box split, with the two side identities as “counting hints”, is the method of the preprint Hint and Conquer [11] (October 2026), which used it to establish γ(Qn)=n/2+1\gamma(Q_n) = n/2+1 for n=26,28,32,34,36,38n = 26, 28, 32, 34, 36, 38. Exact border identities of this kind go back to the counting argument behind the bound γ(Qn)≥(n−1)/2\gamma(Q_n) \ge(n - 1)/2 [21, 6]: Weakley [26 proof of Theorem 1] states an exact border identity for the box (the box and the border inequality appear in the work of Bozóki, Gál, Marosi and Weakley [5]), Neuhaus [17 Ch. 4] analysed boxes, their sides and “loss squares” of dominating sets of size n/2n/2 by hand, and Karandikar and Dutta [13] used counts on the sides of the box, with a split into square and non-square boxes, for odd boards. What we add to the method of [11] is an explicit split by the deficit vector with exact cardinalities and at-most-one constraints, the whole-border identity, a residual symmetry reduction for the hardest cases, and its application to an odd board, where the identities have more slack (§ 2). [11] treats even nn only.

Even boards. With the same method and DRAT proofs we determine four further even values (§ 4).

Theorem 1.3 (claimed in [17]). γ(Q40)=21\gamma(Q_{40}) = 21, γ(Q42)=22\gamma(Q_{42}) = 22, γ(Q44)=23\gamma(Q_{44}) = 23 and γ(Q46)=24\gamma(Q_{46}) = 24.

Before this work, the refereed literature gave only γ(Qn)∈{n/2,n/2+1}\gamma(Q_n) \in\{n/2, n/2+1\} for these nn [20, 26], and Hint and Conquer [11] covers even n≤38n \le38. Neuhaus’s 2009 dissertation [17] claims γ(Qn)=n/2+1\gamma(Q_n) = n/2+1 for n=40,42,44,46n = 40, 42, 44, 46 on the basis of an integer-programming computation (CPLEX) without certificates. Theorem 1.3 confirms these claims; as far as we know, it gives the first certified values. We also confirm the known even values.

Theorem 1.4 ([11]; claimed in [17]). γ(Q26)=14\gamma(Q_{26}) = 14, γ(Q28)=15\gamma(Q_{28}) = 15, γ(Q32)=17\gamma(Q_{32}) = 17, γ(Q34)=18\gamma(Q_{34}) = 18 and γ(Q36)=19\gamma(Q_{36}) = 19.

These values were first established in Hint and Conquer [11], together with γ(Q38)=20\gamma(Q_{38}) = 20, by SAT solving with DRAT proofs. They had been claimed earlier in Neuhaus’s 2009 dissertation [17], which states γ(Qn)=i(Qn)=n/2+1\gamma(Q_n) = i(Q_n) = n/2 + 1 for n=20,22,…,28n = 20, 22, \ldots, 28 and n=32,…,46n = 32, \ldots, 46 on the basis of an integer-programming computation (CPLEX) for which no run times, logs or certificates are given for n≥20n \ge20. For n=26n = 26, the repository jkolantree/BSC on GitHub [12] contains a Lean 4 development whose final theorem states γ(Q26)=14\gamma(Q_{26}) = 14; its proof, committed in August 2026, uses parity “shadows” of a 13-queen set, polynomial (Nullstellensatz and moment) identities and a case analysis of monochromatic sets, and the repository reports an external re-check of the Lean statements by a second kernel. We have not built or checked it. An earlier version of the present paper overlooked [11] and [17].

For n=26n = 26 and n=28n = 28 we give, in addition, a second proof that is independent of the box method in reduction and in code (§ 8). It relaxes the grid of empty rows and empty columns to covers by diagonals of each colour, enumerates the feasible grids, and then places the queens; both stages carry DRAT certificates, and every certificate formula has been rebuilt from the survivor lists, solved and checked again.

For reference we collect the neighbouring known values.

Proposition 1.5 (known values). The terms a(n)=γ(Qn)a(n) = \gamma(Q_n) of OEIS A075458 for 26≤n≤4626 \le n \le46 are

a(26)=a(27)=14,a(28)=a(29)=a(30)=15,a(31)=16,a(32)=a(33)=17,a(34)=18,a(35)=a(36)=a(37)=19,a(38)=a(39)=20,a(40)=a(41)=21,a(42)=a(43)=22,a(44)=a(45)=23,a(46)=24.\begin{aligned} a(26) &= a(27) = 14, \quad a(28) = a(29) = a(30) = 15, \quad a(31) = 16, \quad a(32) = a(33) = 17,\\ a(34) &= 18, \quad a(35) = a(36) = a(37) = 19, \quad a(38) = a(39) = 20, \quad a(40) = a(41) = 21,\\ a(42) &= a(43) = 22, \quad a(44) = a(45) = 23, \quad a(46) = 24. \end{aligned}

Here a(26)a(26), a(28)a(28), a(32)a(32), a(34)a(34), a(36)a(36) and a(38)a(38) are due to [11] (Theorem 1.4), a(35)a(35) is Theorem 1.1 and a(40)a(40), a(42)a(42), a(44)a(44), a(46)a(46) are Theorem 1.3. The values a(27)a(27), a(29)a(29), a(30)a(30), a(31)a(31), a(33)a(33), a(37)a(37), a(39)a(39), a(41)a(41) and a(45)a(45) equal ⌈n/2⌉\lceil n/2 \rceil and are listed by Östergård and Weakley [20]. For n=43n = 43, [20] gives {22,23}\{22, 23\}; the 22-queen dominating set of Q43Q_{43} in [17] and the lower bound ⌈n/2⌉\lceil n/2 \rceil [20, 8] give a(43)=22a(43) = 22. So γ(Qn)\gamma(Q_n) is known for every n≤46n \le46.

Checks. By Corollary 2 of Östergård and Weakley [20], γ(Qn)≥n/2\gamma(Q_n) \ge n/2 for n≤143n \le143, n≠3,11n \ne3, 11; this gives the lower bounds 14, 15, 15, 16 for n=27,29,30,31n = 27, 29, 30, 31. For the upper bounds we check explicit sets directly in our verification script. For n=27n = 27 we use the 14-set of Östergård and Weakley [20 §5]: in centred coordinates −13,…,13-13, \ldots, 13 it consists of the 13 squares (x,y)(x,y) with x=−12,−10,…,12x = -12, -10, \ldots, 12 and y=6,−12,−6,8,0,−8,10,−2,4,12,−10,−4,2y = 6, -12, -6, 8, 0, -8, 10, -2, 4, 12, -10, -4, 2 respectively, together with (−9,−9)(-9, -9). For n=30n = 30 we use the monochromatic 15-set given by Weakley [26 proof of Proposition 21]: in coordinates −14,…,15-14, \ldots, 15, the squares (x,y)(x,y) with x=−13,−11,…,15x = -13, -11, \ldots, 15 and y=1,−9,9,15,−11,−5,3,−3,13,11,7,−13,−7,−1,5y = 1, -9, 9, 15, -11, -5, 3, -3, 13, 11, 7, -13, -7, -1, 5 respectively. None of its squares lies in the row or the column with coordinate −14-14; deleting them leaves a $29 \times 29$ board on which the same 15 squares still dominate, so γ(Q29)≤15\gamma(Q_{29}) \le15. Adding a 31st row and column and a queen at their intersection gives a 16-set dominating Q31Q_{31}. The sets for n=32,…,36n = 32, \ldots, 36 are given in § 3 and § 4, and the verification script also checks the 22-set of Q43Q_{43} of [17]. We did not check the values for $n = 33, 37, 38, 39, 41, 45`.

Section 2 sets up the frame method with complete proofs, and § 3 reports the computation for n=35n = 35. § 4 gives the even boards, § 5 the validation of the method, § 6 the cross-check for n=35n = 35 and § 7 the Lean formalisation. § 8 is the second proof for n=26,28n = 26, 28. The code, the records of all computations, the Lean sources and a verification script are available online.2

The frame method

Boxes, needy squares and deficits

In this part of the paper a square is a pair (x,y)(x, y) with 0≤x,y<n0 \le x,y < n, where xx is the column and yy the row. The difference diagonal of (x,y)(x, y) is t=y−xt = y - x and its sum diagonal is s=x+ys = x + y; a line is a row, a column or a diagonal of either kind. Let DD be a set of exactly kk squares (queens), and let RR, CC, TT, SS be the sets of rows, columns, difference diagonals and sum diagonals that contain a queen. The deficits

dR=k−∣R∣,dC=k−∣C∣,dT=k−∣T∣,dS=k−∣S∣d_R = k - |R|,\qquad d_C = k - |C|,\qquad d_T = k - |T|,\qquad d_S = k - |S|

are non-negative; for instance dT=0d_T = 0 means that no two queens share a difference diagonal. A row or column is empty if it contains no queen, and a square is needy if its row and its column are both empty. A needy square is not in DD and is not attacked along its row or column, so:

(N) if DD dominates the board, every needy square lies on an occupied diagonal.

Assume that at least two rows and two columns are empty; this holds if k≤n−2k \le n - 2. Let a<ba < b be the least and the greatest empty column and c<dc < d the least and the greatest empty row, and put w=b−a≥1w = b - a \ge1, h=d−c≥1h = d - c \ge1. The box is [a,b]×[c,d][a, b] \times[c, d]. Its border is the set of its squares with x∈{a,b}x \in\{a, b\} or y∈{c,d}y \in\{c, d\}, each counted once; the vertical sides are the 2(h+1)2(h + 1) border squares with x∈{a,b}x \in\{a, b\}, and the horizontal sides the 2(w+1)2(w + 1) border squares with y∈{c,d}y \in\{c, d\}, so the four corners belong to both. The frame of DD is the quadruple of margins (ml,mr,mb,mt)=(a,n−1−b,c,n−1−d)(m_l, m_r, m_b, m_t) = (a, n - 1 - b, c, n - 1 - d).

Lemma 2.1. Let DD be as above.

(E1) Every empty column lies in [a,b][a, b] and every empty row in [c,d][c, d]. Hence ml+mr≤k−dCm_l + m_r \le k - d_C and mb+mt≤k−dRm_b + m_t \le k - d_R.

(E2) No border square is occupied.

(E3) A square of a horizontal side is needy if and only if its column is empty, and a square of a vertical side if and only if its row is empty. Each horizontal side contains exactly n−∣C∣n - |C| needy squares, each vertical side exactly n−∣R∣n - |R|, the corners are needy, and the border contains exactly N=2(n−∣R∣)+2(n−∣C∣)−4N = 2(n - |R|) + 2(n - |C|) - 4 needy squares.

(E4) A diagonal meets the border in at most two squares.

(E5) Suppose w≥hw \ge h. A diagonal contains at most one square of the vertical sides, except when w=hw = h: then the difference diagonal u0={t=c−a}u_0 = \{t = c - a\} contains the corners (a,c)(a, c), (b,d)(b, d) and the sum diagonal v0={s=a+d}v_0 = \{s = a + d\} contains the corners (a,d)(a, d), (b,c)(b, c). Symmetrically, if h≥wh \ge w a diagonal contains at most one square of the horizontal sides, with the same two exceptions when w=hw = h.

Proof. (E1) holds because aa, bb, cc, dd are extreme; the ml+mrm_l+m_r columns outside [a,b][a,b] are occupied, so their number is at most ∣C∣=k−dC|C|=k-d_C, and likewise for rows. (E2) A border square lies in column aa or bb or in row cc or dd, all empty. (E3) The row of a square of a horizontal side is cc or dd, which is empty, so the square is needy if and only if its column is. By (E1) all n−∣C∣n-|C| empty columns lie in [a,b][a,b], so each horizontal side has exactly n−∣C∣n-|C| needy squares; the vertical sides are analogous. Adding the four sides counts the four (needy) corners twice. (E4) Parametrise a difference diagonal as (x0+j,y0+j)(x_0+j,y_0+j). Its squares in the box are those with jj in an interval [j1,j2][j_1,j_2], and a square is on the border only if one of its coordinates attains a bound of the box; the lower bounds can only be attained at j=j1j=j_1 and the upper bounds only at j=j2j=j_2, since both coordinates increase with jj. A sum diagonal (x0+j,y0−j)(x_0+j,y_0-j) is handled in the same way. (E5) A diagonal has one square in each column it meets. If it contains (a,y)(a,y) and (b,y′)(b,y') with c≤y,y′≤dc\le y,y'\le d, then ∣y−y′∣=w≤h|y-y'|=w\le h, so w=hw=h and {y,y′}={c,d}\{y,y'\}=\{c,d\}, which gives the four corners as stated.

Three identities

For a set XX of border squares, a diagonal LL and a square qq, let βX(L)\beta_X(L) be the number of squares of XX on LL, let m(q)∈{0,1,2}m(q)\in\{0,1,2\} be the number of occupied diagonals through qq, and let UXU_X be the number of needy squares q∈Xq\in X with m(q)=0m(q)=0; by (N), UX=0U_X=0 if DD dominates.

Theorem 2.2. Let DD be a set of kk squares with at least two empty rows and two empty columns.

(F) With XX the border,

∑L(2−βX(L))+#{(L,q):q∈X not needy, q∈L}+#{q∈X needy:m(q)=2}=8k−4n+4−2(dR+dC+dT+dS)+UX,\sum_L(2-\beta_X(L))+\#\{(L,q):q\in X\text{ not needy},\ q\in L\}+\#\{q\in X\text{ needy}:m(q)=2\} =8k-4n+4-2(d_R+d_C+d_T+d_S)+U_X,

where LL runs over the occupied diagonals.

(V) If w≥hw\ge h, then with XX the vertical sides,

#{L:βX(L)=0}+#{(L,q):q∈X not needy, q∈L}+#{q∈X needy:m(q)=2}=4k−2n−dT−dS−2dR+[w=h]σ+UX,\#\{L:\beta_X(L)=0\}+\#\{(L,q):q\in X\text{ not needy},\ q\in L\}+\#\{q\in X\text{ needy}:m(q)=2\} =4k-2n-d_T-d_S-2d_R+[w=h]\sigma+U_X,

where LL runs over the occupied diagonals and σ∈{0,1,2}\sigma\in\{0,1,2\} is the number of occupied diagonals among u0u_0, v0v_0.

(H) If h≥wh\ge w, the same holds for the horizontal sides with dCd_C in place of dRd_R.

All terms on the left-hand sides are non-negative.

Proof. (F) Count the incidences II between occupied diagonals and border squares. By diagonals, I=∑LβX(L)=2(∣T∣+∣S∣)−∑L(2−βX(L))I=\sum_L\beta_X(L)=2(|T|+|S|)-\sum_L(2-\beta_X(L)), and each term 2−βX(L)2-\beta_X(L) is non-negative by (E4). By squares, I=∑q∈Xm(q)I=\sum_{q\in X}m(q). A needy square contributes m(q)=1+[m(q)=2]−[m(q)=0]m(q)=1+[m(q)=2]-[m(q)=0], and the non-needy squares contribute the number of pairs (L,q)(L,q) with qq not needy. With (E3), I=N+#{q needy:m(q)=2}−UX+#{(L,q):q not needy}I=N+\#\{q\text{ needy}:m(q)=2\}-U_X+\#\{(L,q):q\text{ not needy}\}. Equating the two expressions and substituting ∣T∣=k−dT|T|=k-d_T, ∣S∣=k−dS|S|=k-d_S, n−∣R∣=n−k+dRn-|R|=n-k+d_R and n−∣C∣=n−k+dCn-|C|=n-k+d_C gives (F). (V) By (E5), βX(L)∈{0,1}\beta_X(L)\in\{0,1\} for every diagonal except βX(u0)=βX(v0)=2\beta_X(u_0)=\beta_X(v_0)=2 when w=hw=h. So counting by diagonals gives I=∣T∣+∣S∣−#{L:βX(L)=0}+[w=h]σI=|T|+|S|-\#\{L:\beta_X(L)=0\}+[w=h]\sigma, and counting by squares, with the 2(n−∣R∣)2(n-|R|) needy squares of the vertical sides from (E3), gives I=2(n−∣R∣)+#{q needy:m(q)=2}−UX+#{(L,q):q not needy}I=2(n-|R|)+\#\{q\text{ needy}:m(q)=2\}-U_X+\#\{(L,q):q\text{ not needy}\}. (H) is (V) for the transposed set.

For a dominating set the right-hand sides are therefore non-negative, which gives

dR+dC+dT+dS≤4k−2n+2,dT+dS+2dR≤4k−2n+2[w=h] if w≥h,dT+dS+2dC≤4k−2n+2[w=h] if h≥w.d_R + d_C + d_T + d_S \le4k - 2n + 2, \qquad d_T + d_S + 2d_R \le4k - 2n + 2[w = h]\ \text{if } w \ge h,\qquad d_T + d_S + 2d_C \le4k - 2n + 2[w = h]\ \text{if } h \ge w.

For even nn and k=n/2k = n/2 the slack 4k−2n4k - 2n is 0: the deficits sum to at most 2, and if w>hw > h then dR=dT=dS=0d_R = d_T = d_S = 0 and all terms of (V) vanish, so every occupied diagonal passes through exactly one needy square of the vertical sides, and no needy square of the vertical sides lies on two occupied diagonals. For odd nn and k=(n+1)/2k = (n + 1)/2, the case of Theorem 1.1, the slack is 2: the deficits sum to at most 4, and for w>hw > h at most 2−dT−dS−2dR2 - d_T - d_S - 2d_R units of waste are allowed on the vertical sides. This weaker rigidity is what makes odd boards harder. For odd nn and k=(n−1)/2k = (n - 1)/2 the right-hand side of (V) is negative unless w=hw = h and both box diagonals are occupied, and (F) forces all deficits and all waste to vanish; this is the configuration of the classical analysis of the cases n=3,11n = 3, 11 (compare [13 Theorem 5.5]).

Cases and their completeness

A case for (n,k)(n, k) is a frame together with a deficit vector, c=(ml,mr,mb,mt;dR,dC,dT,dS)c = (m_l, m_r, m_b, m_t; d_R, d_C, d_T, d_S). Every set of kk squares with at least two empty rows and columns has exactly one case. The eight symmetries of the board act on cases: the reflection x↦n−1−xx \mapsto n - 1 - x exchanges mlm_l with mrm_r and dTd_T with dSd_S; the reflection y↦n−1−yy \mapsto n - 1 - y exchanges mbm_b with mtm_t and dTd_T with dSd_S; the transposition exchanges (ml,mr)(m_l, m_r) with (mb,mt)(m_b, m_t) and dRd_R with dCd_C. A frame is canonical if it is lexicographically least among its images. A case is admissible if each deficit is at most k−1k - 1, ml+mr≤k−dCm_l + m_r \le k - d_C, mb+mt≤k−dRm_b + m_t \le k - d_R, w,h≥1w, h \ge1, and the three inequalities displayed after Theorem 2.2 hold. Let L(n,k)L(n, k) be the list of all admissible cases with a canonical frame. For (n,k)=(35,18)(n, k) = (35, 18) it has 5050 frames and 128,941 cases.

Proposition 2.3. Let 1≤k≤n−21 \le k \le n - 2, and suppose that for every case c∈L(n,k)c \in L(n, k) no dominating set of kk queens has case cc. Then γ(Qn)>k\gamma(Q_n) > k.

Proof. Let DD dominate with ∣D∣≤k|D| \le k; adding squares, we may assume ∣D∣=k|D| = k. Then at least n−k≥2n - k \ge2 rows and columns are empty. Choose a symmetry gg for which the frame of g(D)g(D) is canonical. The set g(D)g(D) dominates, it has an admissible case by Lemma 2.1(E1) and Theorem 2.2 (each deficit is at most k−1k - 1 because some line of each kind is occupied), and that case lies in L(n,k)L(n, k).

The list contains every admissible deficit vector for every canonical frame; we do not reduce deficit vectors by the stabiliser of the frame, so no symmetry argument beyond frames is needed. For odd nn and k=(n+1)/2k = (n + 1)/2, 58 different deficit vectors occur (for even nn and k=n/2k = n/2, at most nine per frame), which is one reason why n=35n = 35 has more than seven times as many cases as n=36n = 36.

The formulas

For a case cc, the formula Φ(c)\Phi(c) has a variable qx,yq_{x,y} for each square and occupancy variables for all lines, and consists of the following clauses.

DEF Each occupancy variable is equivalent to the disjunction of the queen variables on its line.

DOM For each square, its row, its column or one of its diagonals is occupied. CARD Exactly k−dRk-d_R rows, k−dCk-d_C columns, k−dTk-d_T difference diagonals and k−dSk-d_S sum diagonals are occupied, and exactly kk queens are placed (this last constraint is omitted when some deficit is 0, where it is implied).

AMO For each kind of line with deficit 0, no two queens on a line of that kind.

FRAME The columns aa, bb and the rows cc, dd are empty, and all columns outside [a,b][a,b] and all rows outside [c,d][c,d] are occupied.

(F), (V), (H) The left-hand sides of the identities of Theorem 2.2, written as sums of “waste literals”, are at most the right-hand sides with UX=0U_X=0; (V) only if w≥hw \ge h and (H) only if h≥wh \ge w. A diagonal LL contributes 2−βX(L)2-\beta_X(L) copies of its occupancy literal; a non-needy pair (L,q)(L,q) is an auxiliary variable implied by the occupancy of LL and the non-neediness of qq, which on a side of the box is a single line literal by (E3); a needy square on two occupied diagonals is an auxiliary variable implied by the two occupancies. For w=hw=h the side constraint reads (waste)+[¬u0]+[¬v0]≤4k−2n−dT−dS−2dR+2(\text{waste})+[\neg u_0]+[\neg v_0]\le4k-2n-d_T-d_S-2d_R+2.

Cardinality constraints use the sequential counter [23], implemented in about twenty lines.

Lemma 2.4. If a dominating set DD of exactly kk queens, k≤n−2k \le n-2, has case cc, then Φ(c)\Phi(c) is satisfiable.

Proof. Give every variable its intended meaning: qq the indicator of DD, occupancy variables the occupancy of lines, auxiliary variables the conjunctions they stand for, and counter variables si,j=s_{i,j}=“at least j+1j+1 of the first i+1i+1 literals are true”. DEF holds by definition and DOM because DD dominates; CARD and AMO hold by the definition of the deficits, FRAME by (E1), and the waste constraints by Theorem 2.2 with UX=0U_X=0 (on the border, non-neediness is expressed correctly by (E2), (E3)).

By Proposition 2.3 and Lemma 2.4, if Φ(c)\Phi(c) is unsatisfiable for every c∈L(n,k)c \in\mathcal{L}(n,k), then γ(Qn)>k\gamma(Q_n)>k.

Residual symmetry and cubes

Some cases are fixed by non-trivial symmetries of the board. For a case cc let GcG_c be the set of symmetries gg with g(c)=cg(c)=c, and let v(D)v(D) be the vector of row and column occupancies (oR[0..n−1],oC[0..n−1])(o_R[0..n-1],o_C[0..n-1]). For each symmetry gg there is a fixed permutation πg\pi_g of coordinates with v(g(D))=πg(v(D))v(g(D))=\pi_g(v(D)). Let SBP⁡(c)\operatorname{SBP}(c) be the lex-leader constraints v≤lexπg(v)v\le_{\mathrm{lex}}\pi_g(v) for g∈Gcg \in G_c.

Lemma 2.5. If some dominating set of kk queens has case cc, then Φ(c)∧SBP⁡(c)\Phi(c)\land\operatorname{SBP}(c) is satisfiable.

Proof. If DD has case cc and g∈Gcg\in G_c, then g(D)g(D) is a dominating kk-set with case g(c)=cg(c)=c. Choose g∈Gcg\in G_c with v(g(D))v(g(D)) lexicographically least and put D′=g(D)D'=g(D). For h∈Gch\in G_c, πh(v(D′))=v(hg(D))≥v(D′)\pi_h(v(D'))=v(hg(D))\ge v(D') because hg∈Gchg\in G_c. By Lemma 2.4 applied to D′D', with the chain variables of the lex-leader constraints set accordingly, the formula is satisfied.

So Proposition 2.3 remains valid if Φ(c)∧SBP⁡(c)\Phi(c)\land\operatorname{SBP}(c) is used in place of Φ(c)\Phi(c) for any subset of the cases. For a case with box [a,b]×[c,d][a,b]\times[c,d], layer jj consists of the four occupancy variables of the rows c+jc+j, d−jd-j and the columns a+ja+j, b−jb-j. The 16 assignments of a layer are exhaustive, so a formula is unsatisfiable if it is unsatisfiable under each of them. Our driver solves a hard case with SBP as a whole and replaces a cube (a partial assignment of layers 1,…,j1,\ldots,j) that exceeds the time limit by its 16 extensions to layer j+1j+1; a separate check verifies from the records alone that the refuted cubes of each case form such a cover.

The computation for n=35n=35

Upper bound. The 18-queen dominating set of Q34Q_{34} of § 4 together with the corner (34,34)(34,34) is a 19-queen dominating set of Q35Q_{35}: (1,19)(1,19), (3,7)(3,7), (5,27)(5,27), (7,9)(7,9), (9,17)(9,17), (11,1)(11,1), (13,23)(13,23), (15,15)(15,15), (17,31)(17,31), (19,5)(19,5), (21,13)(21,13), (23,21)(23,21), (25,3)(25,3), (27,33)(27,33), (29,11)(29,11), (31,25)(31,25), (32,32)(32,32), (33,29)(33,29), (34,34)(34,34), as (column, row). It is not independent. The 19-set of Östergård and Weakley [20 §5] is: in centred coordinates −17,…,17-17,\ldots,17, the squares (x,y)(x,y) with x=−17,−15,…,17x=-17,-15,\ldots,17 and y=3,−17,−9,13,7,−11,1,9,−7,11,−13,−5,15,−15,−1,5,17,−3y=3,-17,-9,13,7,-11,1,9,-7,11,-13,-5,15,-15,-1,5,17,-3, together with (2,2)(2,2). Our verification script checks that both dominate Q35Q_{35} and that the second is independent, so i(Q35)≤19i(Q_{35}) \le19.

Lower bound. The list L(35,18)\mathcal{L}(35,18) has 5050 canonical frames and 128,941 cases. Every formula Φ(c)\Phi(c) was written as a DIMACS file, its SHA-256 hash recorded, and CaDiCaL 3.1.0 [2] (default options) run on it with a DRAT proof, which drat-trim checked in backward mode; the proofs were deleted after checking. The run had three phases (Table 1). The non-square boxes were run first, then the square boxes with a positive deficit, each case with a time limit of 900 s. The remaining 585 cases, all with deficit vector 0 (so that the 18 queens would be pairwise non-attacking), are the square boxes and those with ∣w−h∣=1|w-h|=1 and small margins; they were run with residual symmetry breaking (Lemma 2.5) and adaptive cube splitting with a limit of 1800 s per cube. Of these, 508 were refuted as a whole and 77 by covers of cubes, 76 of them by the 16 cubes of layer 1 and 1 with a second layer, using 1755 refuted cubes in all. The records also contain 8 time-outs: seven cases that timed out in an earlier pass with a 300 s limit and were then run in phase 3, and one cube that was replaced by its 16 children.

phasecasesCaDiCaL (CPU h)drat-trim (CPU h)
1: non-square boxes115,60116.49.3
2: square boxes, positive deficit12,75515.27.6
3: deficit 0, ∣w−h∣≤1|w-h| \le1 (SBP, cubes)58521.510.7
total128,94153.127.6

Table 1. The computation for n=35n=35, k=18k=18: every case refuted, every DRAT proof verified. Single-core CPU hours on a shared machine, up to eight processes.

Every case of L(35,18)\mathcal{L}(35,18) is refuted, by a plain record or by a complete cover of cubes, all UNSAT with verified proofs; there is no satisfiable case. The proofs totalled about 232 GB, the largest 1.25 GB. The slowest plain case took 368 s to solve, and the slowest case in all, solving and checking all its cubes, 3804 s. At the end of the run every one of the 130,111 refuting formulas was rebuilt from the case by the encoder and its hash compared with the recorded one; the verification script repeats this for a seeded sample of 2000 formulas by default and for all of them on request, re-solves a sample of cases with proofs, and checks that the set of cases in the records equals L(35,18)\mathcal{L}(35,18), rebuilt from first principles.

What the proof rests on. Theorem 1.1 follows from Proposition 2.3, Lemmas 2.4 and 2.5, the cover argument for cubes, and the explicit sets above. Its correctness depends on the proofs of § 2; on the enumeration of L(n,k)\mathcal{L}(n,k) (about 60 lines of Python, code/frame/geom.py); on the encoder (code/frame/enc.py, about 190 lines including the sequential counter) and the lex-leader clauses (sbp_clauses in code/frame/hard_test.py); on the coverage check; and on drat-trim. It does not depend on CaDiCaL, on any colour argument or on any structure theorem from the literature. The reduction (§ 2) and the completeness of the list are formalised in Lean (§ 7); the encoder and the SAT certificates are not.

Even boards

We ran the same code, with DRAT proofs, for k=n/2k=n/2 and n=26,28,32,34,36,40,42,44,46n=26,28,32,34,36,40,42,44,46, and for (n,k)=(35,17)(n,k)=(35,17) (Table 2). Every case is unsatisfiable and every proof was verified; no case timed out at the limit of 1800 s, so no case needed symmetry breaking or cubes, and the result for these boards rests only on Proposition 2.3 and Lemma 2.4. The encoder and the enumeration are the files of the n=35n=35 run, unchanged. Together with explicit sets of n/2+1n/2+1 queens this proves Theorems 1.4 and 1.3. The case (35,17)(35,17) reproduces the known bound γ(Q35)≥18\gamma(Q_{35})\ge18. The numbers of canonical frames for n=26,28,32,34,36n=26,28,32,34,36 equal the numbers of boxes reported in [11 Table 1]. For n=40,…,46n=40,\ldots,46 the case list was also rebuilt by a separate enumeration that maps boxes geometrically and checks the number of frames by Burnside’s lemma; the lists agree. As for n=35n=35, the verification script rebuilds each list, checks that every case has exactly one refuting record, rebuilds the formulas of a sample of records and compares their hashes.

nnkkframescasesCaDiCaL (s)drat-trim (s)proofs (GB)slowest case (s)
2613159656634135490.5917.8
2814208073006527870.9317.8
3216332111 466159715592.1229.6
3417409514 049254821933.0681.1
3618505017 205360429274.3257.5
4020738124 871789253958.1584.8
4221877829 44711 299715410.85132.7
442210 44034 85413 243877214.46119.1
462312 24640 72810 009772418.55135.3
351733033013360.010.1

Table 2. The frame method on further boards: every case UNSAT with a verified DRAT proof. Single-core CPU seconds on a shared machine, four to six processes; the times depend on the load (the run for n=46n=46 had the machine almost to itself).

The upper bounds come from sets found by a SAT search for a permutation-like placement on the odd lines plus one queen near a corner, checked directly, as (column, row):

  • Q32Q_{32}, 17 queens: (1, 23), (3, 11), (5, 17), (7, 27), (9, 1), (11, 7), (13, 15), (15, 31), (17, 21), (19, 25), (21, 9), (23, 3), (25, 19), (27, 5), (29, 13), (30, 30), (31, 29);

  • Q34Q_{34}, 18 queens: (1, 19), (3, 7), (5, 27), (7, 9), (9, 17), (11, 1), (13, 23), (15, 15), (17, 31), (19, 5), (21, 13), (23, 21), (25, 3), (27, 33), (29, 11), (31, 25), (32, 32), (33, 29);

  • Q36Q_{36}, 19 queens: (1, 27), (3, 13), (5, 9), (7, 25), (9, 3), (11, 19), (13, 35), (15, 5), (17, 31), (19, 15), (21, 23), (23, 1), (25, 11), (27, 33), (29, 21), (31, 29), (33, 7), (34, 34), (35, 17);

  • Q40Q_{40}, 21 queens: (1, 17), (3, 27), (5, 33), (7, 9), (9, 5), (11, 23), (13, 19), (15, 25), (17, 37), (19, 3), (21, 15), (23, 11), (25, 1), (27, 31), (29, 21), (31, 39), (33, 13), (35, 7), (37, 35), (38, 38), (39, 29);

  • Q42Q_{42}, 22 queens: (1, 23), (3, 29), (5, 11), (7, 21), (9, 39), (11, 1), (13, 7), (15, 19), (17, 25), (19, 37), (21, 17), (23, 5), (25, 35), (27, 13), (29, 27), (31, 33), (33, 3), (35, 9), (37, 15), (39, 31), (40, 40), (41, 41);

  • Q46Q_{46}, 24 queens: (0, 0), (1, 11), (3, 25), (5, 19), (7, 35), (9, 39), (11, 9), (13, 31), (15, 1), (17, 43), (19, 21), (21, 17), (23, 41), (25, 29), (27, 5), (29, 23), (31, 37), (33, 3), (35, 45), (37, 13), (39, 7), (41, 15), (43, 33), (45, 27).

For Q44Q_{44} we take Neuhaus’s 22-queen dominating set of Q43Q_{43} (a “0-1-cover”, [17 App. B]; a file of Neuhaus’s solutions repository [18], licensed CC BY 4.0 and included unchanged in our repository) and add the corner (43, 43), which covers the new row and column; the script checks both sets directly. For n=26,28n = 26, 28 the sets of § 8 are used. Upper bounds γ(Qn)≤n/2+1\gamma(Q_n) \le n/2 + 1 for these nn are also in [20, 26].

Validation of the frame method

The certificates make the result independent of the solver, but not of the case list, the encoder or the proofs of § 2. These were tested as follows; the verification script reruns or rechecks each item.

  • Identities. Theorems 2.2(F), (V), (H), in the general form with the term UXU_X, and the facts (E3)–(E5) were checked by direct counting on every set of at most nn squares with a frame for n≤5n \le5 and on random and random dominating sets up to n=16n = 16: 82 466 sets, 29 203 of them with w=1w = 1 or h=1h = 1. On random sets, the number of true waste literals of the encoder equals the corresponding left-hand side.

  • Exact solution sets. For nine pairs (n,k)(n, k) up to (10,5)(10, 5), including k>n/2k > n/2 and odd nn, all models of all case formulas, closed under the symmetries, are exactly the dominating kk-sets found by a plain enumeration with no frames and no identities. This tests the case list, the symmetry action, Proposition 2.3 and the encoder together.

  • Known values. For k=n/2k = n/2 and every even n≤30n \le30 the formulas of all cases are satisfiable for some case exactly when n∈{4,6,10,12,18,30}n \in\{4, 6, 10, 12, 18, 30\}, that is, when γ(Qn)=n/2\gamma(Q_n) = n/2. For k=(n−1)/2k = (n-1)/2 and every odd n≤31n \le31 they are satisfiable exactly for n=3,11n = 3, 11. For k=(n+1)/2k = (n + 1)/2 they are satisfiable for n=5,7,9,13,17,19,21n = 5, 7, 9, 13, 17, 19, 21 and unsatisfiable for n=15n = 15, where γ(Q15)=9\gamma(Q_{15}) = 9; the runs for n=5,7,9,13,15n = 5, 7, 9, 13, 15 are complete. Every model is checked to be a dominating set with the case it was found for. The only negative control among odd boards with k=(n+1)/2k = (n + 1)/2 is therefore n=15n = 15.

  • Residual symmetry breaking. For all 3 566 cases with a non-trivial stabiliser for the eight pairs (n,k)(n, k) from (4,2)(4, 2) to (10,5)(10, 5), the models of Φ∧SBP\Phi\land\mathrm{SBP}, closed under the stabiliser, are exactly the models of Φ\Phi.

  • Second encoding. For n=32n = 32, a second encoding written separately (totalizers, ladder at-most-one constraints, identities as equalities; code/frame/enc_b.py) solved with Glucose 4, and the first encoding solved with CaDiCaL 1.9.5, give UNSAT on all 11 466 cases.

  • Planted positives. Thirty-five known dominating sets, among them Kamenetsky’s best known sets for n≤26n \le26, sets of Q27,…,Q31Q_{27}, \ldots, Q_{31}, two 17-sets of Q32Q_{32} and our sets of Q34Q_{34} and Q36Q_{36} (at k=n/2+1k = n/2 + 1), are accepted by the formula of their case in every orientation with a canonical frame, and a non-dominating variant of each is rejected (recorded; not rerun by the script).

An independent cross-check for n=35n = 35

Because the negative controls for odd boards are few, the n=35n = 35 result was cross-checked with a second pipeline, written without reading the first encoder; it shares only the definitions of § 2.

  • Case list. A separate enumeration of frames and admissible cases computes the action of the symmetries on cases geometrically rather than from a table. For (35,18)(35, 18) it gives the same 128,941 cases.

  • Encoding X. Cardinalities by odd-even merge sorting networks restricted to the needed outputs [1], at-most-one constraints by the product encoding, “exactly kk queens” always, neediness by explicit conjunction variables, and all auxiliary variables fully defined. The identities are imposed as equalities in a form derived by a second double count: for a set XX of border squares and cap∈{1,2}\mathrm{cap} \in\{1,2\}, ∑Lo(L)(cap−νX(L))+#{q∈X needy:m(q)=2}=cap(2k−dT−dS)−NX\sum_L o(L)\left(\mathrm{cap}-\nu_X(L)\right)+\#\{q \in X\ \mathrm{needy}:m(q)=2\}=\mathrm{cap}(2k-d_T-d_S)-N_X, where νX(L)\nu_X(L) counts needy squares of XX on LL and NXN_X is fixed by the case. Diagonals that meet XX more than cap times are encoded exactly, so this form needs neither (E4) nor (E5), and (V) and (H) are imposed for every box shape.

  • Solver. Kissat 4.0.4 [3], default options, without proofs, and no symmetry breaking at all. A formula that exceeds 4000 s is split into 16 cubes on the occupancy of four diagonals (those through the corners of the box first), recursively; a separate script checks from the records that every tree is complete.

Controls. Encoding X reproduces the exact solution sets of a plain enumeration for ten pairs (n,k)(n,k) up to (11,5)(11,5), and accepts 32 known dominating sets in every orientation with a canonical frame (recorded). In complete runs it refutes every case for k=(n−1)/2k=(n-1)/2 and every odd n=5,…,35n=5,\ldots,35 except for one satisfiable case at n=11n=11 (the known 5-set), all 330 cases of (35,17)(35,17) included; for (13,7)(13,7) it finds exactly the 26 satisfiable cases of the main pipeline among 5103; and for (15,8)(15,8) it refutes all 7916 cases. On the zero-deficit cases of (13,7)(13,7), (15,8)(15,8), (17,9)(17,9) and (19,10)(19,10) (the type of the hardest n=35n=35 cases), the main encoder with CaDiCaL 1.9.5 and encoding X with Kissat give the same verdict on every case.

The hard cases and a sample. The cross-check was run on all 585 cases of phase 3, which the main computation refuted only with symmetry breaking or cubes, and on a stratified sample of 2200 of the other cases (2000 uniformly random and the 200 slowest in the main run). Every one of the 585 hard cases is unsatisfiable under encoding X: 14 of them needed cube splitting, and their trees have 795 unsatisfiable leaves in all; the formulas took 76.5 CPU hours. All 2200 sampled cases are unsatisfiable without splitting (50,142 CPU seconds). There is no satisfiable formula and no disagreement with the main computation. The verification script checks from the records that every tree is complete, and rebuilds all 809 formulas of the hard trees and all 2200 of the sample and compares their hashes. Kissat produced no proofs here: the cross-check is independent evidence for the encoding and the case list, while the certificates of § 3 remain the proof.

Formalisation in Lean

The reduction of § 2 is formalised in Lean 4 [7] with Mathlib [16] (directory lean/, Lean and Mathlib v4.35.0). Squares are elements of Fin⁡n×Fin⁡n\operatorname{Fin} n \times\operatorname{Fin} n, domination is defined by attacks along lines and shown to be domination in the queen’s graph (a SimpleGraph), and γ(Qn)\gamma(Q_n) is the least size of a dominating set.

  • Lemma 2.1, Theorem 2.2 (as exact identities in Z\mathbb{Z}, for all nn and all sets with a frame, dominating or not), the consequences for k=n/2k = n/2 and for odd nn, the action of the symmetries on frames and deficits, Proposition 2.3, the semantic part of Lemma 2.4 and Lemma 2.5 are proved for general nn and k≤n−2k \le n - 2. The semantic content of Φ(c)\Phi(c) is a structure CaseSat n k c D with one field per clause group.

  • The enumeration of L(n,k)\mathcal{L}(n, k) is a Lean function, proved to list exactly the admissible cases with canonical frame. For (32, 16) and (35, 18) it is shown, by 343 kernel computations (decide +kernel, one per pair of horizontal margins), to equal the explicit lists of 11 466 and 128,941 cases of the runs.

  • The 19-queen set dominates Q35Q_{35} and the 17-queen set dominates Q32Q_{32}.

The final theorem for n=35n = 35, gamma_35_eq_19_of_cases35_unsat_mixed, states

(∀c∈cases35:¬∃D CaseSat 35 18 c D∨¬∃D (CaseSat 35 18 c D∧SymBreak c D))⇒gamma 35=19,\left(\forall c \in\text{cases35} : \neg\exists D\ \text{CaseSat}\ 35\ 18\ c\ D \mathbin{\lor} \neg\exists D\ (\text{CaseSat}\ 35\ 18\ c\ D \mathbin{\land} \text{SymBreak}\ c\ D)\right) \Rightarrow\text{gamma}\ 35 = 19,

where cases35 is the list of the run and SymBreak the lex-leader condition; the analogous theorem for n=32n = 32 has the hypothesis without SymBreak. All 116 theorems of the axiom report, and all kernel computations, depend only on propext, Classical.choice and Quot.sound; there is no sorry and no native_decide. The general theorems (main_even, lt_gamma_of_cases_unsat) apply to every even nn, but the explicit case lists of n=26,28,34,36,40,…,46n = 26, 28, 34, 36, 40, \ldots, 46 are not in Lean; for those boards the identification of the run with L(n,k)\mathcal{L}(n, k) rests on the Python enumeration, checked for n=40,…,46n = 40,\ldots,46 by the separate enumeration of § 4.

What is not formalised. The hypothesis H is what the computation establishes, by steps outside Lean: (i) that a set DD with CaseSat n k c D yields a model of the CNF written by the encoder, i.e. the syntactic part of Lemma 2.4 (definitional variables, waste variables, sequential counters, at-most-one clauses), and the same for the lex-leader clauses and the exhaustiveness of cubes; (ii) that each CNF is unsatisfiable, which rests on the DRAT proofs and drat-trim, and the identification of each record with its formula by the CNF hash; (iii) that the Lean data file equals the set of refuted cases in the records, which a script checks (it also checks the list against the Python enumeration).

A second proof for n=26n = 26 and n=28n = 28: a line relaxation

This section gives a proof of γ(Q26)>13\gamma(Q_{26}) > 13 and γ(Q28)>14\gamma(Q_{28}) > 14 that is independent of the box method in its reduction and in its code. It keeps all the chosen empty rows and columns rather than only the outermost ones, forgets where the queens are, and records only which diagonals of each colour must be occupied to cover the grid of empty rows and columns. The notation of this section is separate from that of § 2–§ 7.

The relaxation

Index rows and columns by [0,n)={0,…,n−1}[0,n) = \{0,\ldots,n-1\} and write (r,x)(r,x) for the square in row rr and column xx. Its colour is r+x mod 2r + x \bmod2. Its difference line is r−xr - x and its sum line is r+xr + x. Since r−x≡r+x(mod2)r - x \equiv r + x \pmod2, all squares of a line have the same colour, which we call the colour of the line. A queen on (r,x)(r,x) lies on exactly one difference line and one sum line, both of its own colour, and attacks diagonally only squares of its own colour.

Let DD be a dominating set of QnQ_n with ∣D∣=g|D| = g, and let z0,z1z_0, z_1 be the numbers of queens of colour 0 and 1. Put s=n−gs = n - g. Since DD meets at most gg rows and at most gg columns, at least ss rows and at least ss columns contain no queen.

Definition 8.1. For A,B⊆[0,n)A, B \subseteq[0,n) and q∈{0,1}q \in\{0,1\} let Hq(A,B)H_q(A,B) be the bipartite graph whose two vertex classes are the difference lines and the sum lines of colour qq. Its edges are the squares (r,x)∈A×B(r,x) \in A \times B of colour qq, the square (r,x)(r,x) joining the lines r−xr-x and r+xr+x. For z=(z0,z1)z = (z_0,z_1) call (A,B)(A,B) zz-feasible if, for q=0,1q = 0,1, Hq(A,B)H_q(A,B) has a vertex cover consisting of at most zqz_q difference lines and at most zqz_q sum lines.

Lemma 8.2. If AA is a set of empty rows and BB a set of empty columns of DD, then (A,B)(A,B) is (z0,z1)(z_0,z_1)-feasible.

Proof. A square (r,x)∈A×B(r,x) \in A \times B is unoccupied, and no queen shares its row or its column. Hence it is attacked along a diagonal, by a queen which then has the colour of (r,x)(r,x). So the difference and sum lines of colour qq that carry a queen cover all edges of Hq(A,B)H_q(A,B). There are at most zqz_q of each kind, since each queen of colour qq lies on one line of each kind and queens of colour 1−q1-q lie on no line of colour qq.

Feasibility is monotone: if A′⊆AA' \subseteq A and B′⊆BB' \subseteq B, then Hq(A′,B′)H_q(A',B') is a subgraph of Hq(A,B)H_q(A,B), so every sub-pair of a feasible pair is feasible. A search that builds AA and BB element by element may therefore stop as soon as the partial pair is infeasible. Two certificates of infeasibility are used.

(M) Matching bound. A vertex cover of HqH_q has at least ν(Hq)\nu(H_q) vertices, where ν\nu is the matching number. So ν(Hq(A,B))>2zq\nu(H_q(A,B)) > 2z_q implies infeasibility. A matching of Hq(A,B)H_q(A,B) is a set of colour-qq squares of A×BA \times B, no two on a common diagonal.

(K) Forced lines. Distinct squares on one line lie on distinct lines of the other kind. So a line containing more than zqz_q squares of the graph belongs to every admissible cover, as otherwise more than zqz_q lines of the other kind would be needed. Removing forced lines, lowering the budgets and iterating, and then applying (M) to the remaining graph against the remaining total budget, gives a valid test.

Lemma 8.3 (symmetry). Let nn be even and Xˉ={n−1−i:i∈X}\bar{X} = \{n - 1 - i : i \in X\}.

  1. The transpose (r,x)↦(x,r)(r,x) \mapsto(x,r), the half-turn (r,x)↦(n−1−r,n−1−x)(r,x) \mapsto(n-1-r,n-1-x) and the anti-transpose (r,x)↦(n−1−x,n−1−r)(r,x) \mapsto(n-1-x,n-1-r) preserve colours. With the identity they form a group KK of order 44. They map a dominating set with empty rows AA and empty columns BB to a dominating set with the same colour sizes and with empty rows and columns (B,A)(B,A), (Aˉ,Bˉ)(\bar{A},\bar{B}) and (Bˉ,Aˉ)(\bar{B},\bar{A}) respectively.

  1. zz-feasibility of (A,B)(A,B) is invariant under this action of KK.

  1. The reflection (r,x)↦(r,n−1−x)(r,x) \mapsto(r,n-1-x) exchanges the two colours.

Proof. (1) The colour of the image square is x+rx+r, 2n−2−(r+x)2n-2-(r+x) and 2n−2−(r+x)2n-2-(r+x) respectively, all ≡r+x\equiv r+x. The statement about empty lines is immediate. (2) The three maps send difference lines to difference lines (r−x↦x−r,x−r,r−x)(r-x \mapsto x-r, x-r, r-x) and sum lines to sum lines (r+x↦r+x,2n−2−(r+x),2n−2−(r+x))(r+x \mapsto r+x, 2n-2-(r+x), 2n-2-(r+x)), preserving colours. Hence they induce isomorphisms Hq(A,B)≅Hq(σ(A,B))H_q(A,B) \cong H_q(\sigma(A,B)) which respect the two vertex classes, and admissible covers correspond. (3) The image of (r,x)(r,x) has colour r+n−1−x≡r+x+1r+n-1-x \equiv r+x+1 because nn is even.

Proposition 8.4. Let nn be even and g<ng<n. Let L\mathcal{L} be a set of pairs (A,B,z0)(A,B,z_0), with ∣A∣=∣B∣=s|A|=|B|=s and z0≤⌊g/2⌋z_0\le\lfloor g/2\rfloor, such that

(a) for every z0≤⌊g/2⌋z_0\le\lfloor g/2\rfloor, every (z0,g−z0)(z_0,g-z_0)-feasible pair of ss-sets lies in the KK-orbit of a pair (A,B)(A,B) with (A,B,z0)∈L(A,B,z_0)\in\mathcal{L}, and

(b) for every (A,B,z0)∈L(A,B,z_0)\in\mathcal{L}, no set of gg queens contained in ([0,n)∖A)×([0,n)∖B)([0,n)\setminus A)\times([0,n)\setminus B) with at most z0z_0 queens of colour 0 and at most g−z0g-z_0 of colour 1 dominates QnQ_n.

Then γ(Qn)>g\gamma(Q_n)>g.

Proof. Suppose DD is a dominating gg-set. After the reflection of Lemma 8.3(3) if needed, z0(D)≤z1(D)z_0(D)\le z_1(D), so z0(D)≤⌊g/2⌋z_0(D)\le\lfloor g/2\rfloor. Choose ss-sets A0A_0, B0B_0 of empty rows and columns. By Lemma 8.2, (A0,B0)(A_0,B_0) is (z0(D),z1(D))(z_0(D),z_1(D))-feasible, so by (a) there are σ∈K\sigma\in K and (A,B,z0(D))∈L(A,B,z_0(D))\in\mathcal{L} with σ(A0,B0)=(A,B)\sigma(A_0,B_0)=(A,B). By Lemma 8.3(1), σD\sigma D is a dominating gg-set with the same colour sizes whose queens avoid the rows AA and the columns BB, contradicting (b).

The computation

Stage 1 (pairs). A depth-first search decides membership of rows and columns in AA and BB in the order row 0, column 0, row n−1n-1, column n−1n-1, row 1, column 1, . . . , from the outside in. It maintains a maximum matching of H0∪H1H_0\cup H_1 incrementally, prunes with (M) and (K), and after every block of four decisions (rows and columns tt and n−1−tn-1-t) discards prefixes that cannot extend to the canonical member of their KK-orbit. The canonical member is the one whose sequence of block codes is lexicographically least, and the block code of an image depends only on the same block of the original, so this test is exact. At the leaves it decides the constrained vertex cover problem exactly, by branching. The output is a list of canonical feasible pairs. The search is split into parts by the index of the search node at depth 16 modulo the number of parts. For n=26n=26 there are 480 parts per colour split; for n=28n=28 there are 480 parts for each z0≤4z_0\le4 and 4 800 for each z0≥5z_0\ge5.

Stage 2 (queens). For each pair a branch-and-bound search finds all gg-sets of queens inside the allowed region, with the prescribed colour sizes, that dominate the whole board. It picks an undominated square with the fewest available attackers and branches over those attackers, forbidding earlier siblings so that the branches partition the search space. It prunes with greedy packings of undominated squares whose sets of available attackers are pairwise disjoint, both overall and per colour.

The case n=26n=26. Here g=s=13g=s=13 and z0∈{0,…,6}z_0\in\{0,\ldots,6\}. Table 3 lists the work. Stage 1 leaves canonical feasible pairs only for the split (6,7)(6,7), where there are 10,887 of them, and for the monochromatic split (0,13)(0,13). In the latter case there is exactly one pair: AA is the set of odd rows and BB the set of even columns. This agrees with Weakley’s structure theory [26], which the computation does not use. Stage 2 finds no dominating set for any of the 10,888 pairs. The SHA-256 hash of the survivor list begins with 58068a1dd390e350. In total stage 1 took 7.0 and stage 2 2.6 CPU hours (single cores of a shared machine).

(z0,z1)(z_0,z_1)stage 1 nodesstage 1 pairsstage 1 CPU sstage 2 nodesstage 2 CPU sstage 2 setscertificate cubescertificate CPU s
(0,13)(0,13)792 319109 367 246 60871320763
(1,12)(1,12)3 426 55200–––763
(2,11)(2,11)15 749 72705–––765
(3,10)(3,10)75 767 491027–––7615
(4,9)(4,9)546 916 4500256–––7671
(5,8)(5,8)4 296 637 43902416–––76426
(6,7)(6,7)29 237 608 86110 88722 3183 408 018 4892147010726719

Table 3. The computation for n=26n=26, g=13g=13. Stage 1 and stage 2 are the search programs of § 8.2. The last two columns refer to the stage-1 certificate of § 8.3: the number of solved cubes and the CPU time of CaDiCaL plus drat-trim. Single-core CPU seconds on a shared machine.

The case n=28n=28. Here g=s=14g=s=14 and z0∈{0,…,7}z_0\in\{0,\ldots,7\}. Table 4 lists the work for the 16,800 parts. Stage 1 leaves canonical feasible pairs only for the splits (7,7)(7,7) (118,662 pairs) and (6,8)(6,8) (101 pairs), and for (0,14)(0,14) and (1,13)(1,13). In the last two cases there is again exactly one pair, AA the odd rows and BB the even columns, whose grid A×BA\times B consists of squares of a single colour. This again agrees with Weakley’s results: by Theorem 17 and Proposition 11 of [26] a 14-dominating set of Q28Q_{28} would have colour classes {7,7}\{7,7\} or {6,8}\{6,8\}. Altogether there are 118,765 pairs; the SHA-256 hash of the survivor list begins with 7bad471036c300f2. Stage 1 took 83.1 CPU hours. Of the parts, 7457 (all but 16 of those with z0=7z_0=7, and 2673 of those with z0=6z_0=6) were run on rented single-core cloud containers (Modal), compiled there from the same source inside a pinned Debian image. The cost was about US$4. Every returned part was checked locally against its log and its SHA-256 hash before it was accepted, and the remaining parts, including 16 that exceeded the time limit of the cloud calls, ran locally. The cloud cores were about 1.8 times slower than the local ones, which inflates the CPU times of Table 4.

(z0,z1)(z_0,z_1)stage 1 nodesstage 1 pairsstage 1 CPU scertificate cubescertificate CPU sSAT stage 2 CPU s
(0,14)(0,14)1 344 512107635910
(1,13)(1,13)4 224 030107630
(2,12)(2,12)21 160 76805766–
(3,11)(3,11)125 674 5860337619–
(4,10)(4,10)998 940 85203137686–
(5,9)(5,9)8 199 312 9790353676483–
(6,8)(6,8)64 418 002 30610146 9911072565521
(7,7)(7,7)251 094 656 771118 662248 194107288 99940 071

Table 4. The computation for n=28n=28, g=14g=14. Stage 1 is the search program of § 8.2; most of the stage-1 time for (7,7)(7,7) and part of it for (6,8)(6,8) was spent on slower cloud cores. The certificate columns refer to the stage-1 certificate of § 8.3, and the last column to the SAT check of condition (b), each CaDiCaL plus drat-trim. Single-core CPU seconds.

For n=28n=28 condition (b) of Proposition 8.4 rests on the SAT check of § 8.3 alone. The branch-and-bound search of stage 2 was run only on the 102 pairs with z0∈{1,6}z_0\in\{1,6\}, in 1501 s; it found no dominating set. Its running time has a heavy tail (up to 10310^3 s for a single pair with z0=6z_0=6), so we did not run it on the 118,662 pairs with z0=7z_0=7. On the pair with z0=0z_0=0 we stopped it after 3.6 hours.

Certificates

The two searches of § 8.2 are fast but intricate programs. Both conditions of Proposition 8.4 were therefore also established by SAT solving with proofs: CaDiCaL 3.1.0 [2] writes a DRAT proof of unsatisfiability for each formula and drat-trim [27] checks it. The formulas are produced by two short encoders that do not share code with the search programs. Cardinality constraints use the sequential counter [23].

Condition (b). For each listed pair, the formula has one variable per allowed square, one clause per square of the board stating that some allowed square attacking it (or equal to it) carries a queen, and constraints that at most zqz_q queens have colour qq. For n=26n = 26 all 10,888 formulas are unsatisfiable, and all 10,888 proofs were verified. CaDiCaL took 1137 s in total and drat-trim 1498 s. The monochromatic pair is by far the hardest instance (221 s and 408 s); each other instance takes less than 3 s for each of the two steps. For n=28n = 28 all 118,765 formulas are unsatisfiable and all proofs were verified, in 21,985 s (CaDiCaL) and 24,017 s (drat-trim). The hardest instance is again the pair whose grid has a single colour, here with z0=0z_0 = 0 (1458 s and 4452 s); every other instance takes less than 32 s for each step.

Condition (a). Fix z0z_0. The formula Fz0F_{z_0} has variables ara_r (row rr is in AA), bxb_x (column xx is in BB), ydy_d (difference line dd in the cover) and wtw_t (sum line tt in the cover), with the constraints ∣A∣=∣B∣=s|A| = |B| = s, at most zqz_q chosen difference lines and at most zqz_q chosen sum lines of colour qq, and, for every square, the clause ¬ar∨¬bx∨yr−x∨wr+x\lnot a_r \lor\lnot b_x \lor y_{r-x} \lor w_{r+x}. The projections of its models to the variables a,ba,b are exactly the zz-feasible pairs. For each listed pair (A,B,z0)(A, B, z_0) and each of its four images (P,Q)(P, Q) under KK we add the clause ⋁r∈P¬ar∨⋁x∈Q¬bx\bigvee_{r\in P} \lnot a_r \lor\bigvee_{x\in Q} \lnot b_x, which excludes (P,Q)(P, Q). Condition (a) for this z0z_0 says exactly that the resulting formula Fz0′F'_{z_0} is unsatisfiable.

We refute Fz0′F'_{z_0} by cube and conquer [9], with a symmetry reduction. Fix the 4T4T variables at,an−1−t,bt,bn−1−ta_t, a_{n-1-t}, b_t, b_{n-1-t} (t<Tt < T) in all 16T16^T ways; these cubes cover all assignments. The group KK acts on the cubes, and Fz0′∧cF'_{z_0} \land c is satisfiable if and only if Fz0′∧σcF'_{z_0} \land\sigma c is: the projections of the models of Fz0′F'_{z_0} form a KK-invariant set of pairs, by Lemma 8.3(2) and because the excluded set is a union of orbits. So it suffices to refute Fz0′∧cF'_{z_0} \land c for one cube cc in each orbit. We used T=2T = 2 (76 orbits) for z0≤5z_0 \le5 and T=3T = 3 (1072 orbits) for z0=6z_0 = 6 and, for n=28n = 28, z0=7z_0 = 7. A short script checks that the orbits of the chosen cubes cover all 16T16^T cubes. Every cube formula was refuted and every proof verified. For n=26n = 26 this took 2.0 CPU hours and the proofs were about 25 GB in all. For n=28n = 28 it took 26.5 CPU hours; for z0=7z_0 = 7 the formula has 477,629 clauses, most of them exclusion clauses, the largest proof was 1.26 GB and all proofs together about 182 GB. The proofs were deleted after checking. The encoder rebuilds the formulas deterministically, their SHA-256 hashes are recorded in the repository, and the verification script regenerates and checks a random sample of the proofs. For every z0≥3z_0 \ge3 and both nn the certificate took less CPU time than the stage-1 search itself (Table 3 and Table 4).

Complete replay. The certificate-only mode of the verification script (-certify-all) has been run to completion. It rebuilt every stage-1 cube formula and every stage-2 formula of both nn from the committed survivor lists, solved each with CaDiCaL, checked each proof with drat-trim and deleted it. Its compacted records are in the repository; they contain every cube and every pair, all UNSAT with verified proofs and with the CNF hashes of the original records, and the default run of the script compares them with the original records.

What the proof rests on. This proof of γ(Q26)>13\gamma(Q_{26}) > 13 and γ(Q28)>14\gamma(Q_{28}) > 14 follows from Proposition 8.4, applied for n=26n = 26 and for n=28n = 28 with L\mathcal{L} the respective survivor list; with the upper bounds of [20, 19] for n=26n = 26 and of [15] and § 8.4 for n=28n = 28 it gives the two values. Its correctness depends on Lemmas 8.2 and 8.3 and Proposition 8.4, which are proved above; on the two CNF encoders (relax_cnf in code/refcheck.py, about 30 lines using the cardinality encodings of PySAT [10], and build in code/sat_place.py, about 40 lines); on the short enumeration of cube orbit representatives and its check that their orbits cover all 16T16^{\mathsf{T}} cubes; and on drat-trim. It does not depend on the correctness of the two search programs, which serve only to produce the lists L\mathcal{L}; in particular it does not depend on the cloud computations. As a check that the encoders are not too strong, every listed pair, for both nn, satisfies Fz0F_{z_0} without the exclusion clauses, the two known 14-queen dominating sets of Q26Q_{26} satisfy the stage-2 encoding for g=14g = 14, and the 15-queen dominating set of Q28Q_{28} below satisfies it for g=15g = 15.

Validation and independent checks

Known values. Table 5 shows the pipeline for g=n/2g = n/2 and even n≤18n \le18. The numbers of n/2n/2-dominating sets up to the dihedral symmetries agree with the literature [4, 22], and for n=8,14,16n = 8, 14, 16 no n/2n/2-set exists. The recorded runs for n=20,22,24n = 20, 22, 24 (23,888, 5087 and 56,957 feasible pairs) found no n/2n/2-set, in agreement with [4]; the verification script reruns n=20,22n = 20, 22 in its full mode.

nn46810121416182022242628
number of n/2n/2-sets up to symmetry3101100200000

Table 5. Numbers of dominating sets of size n/2n/2 of QnQ_n up to the dihedral group, as found by the pipeline. The values for n≤24n \le24 agree with [4, 22]; those for n=26,28n = 26, 28 are part of Theorem 1.4.

All n/2n/2-sets in Table 5 with n>4n > 4 are monochromatic. To test the pipeline on bichromatic sets, we also ran it with g=γ(Qn)=n/2+1g = \gamma(Q_n) = n/2 + 1 for n=8,14,16n = 8, 14, 16, where minimum dominating sets are plentiful and mostly bichromatic. Stage 2 examined 871, 571,200 and 555,156 feasible pairs and found 638, 588 and 371 classes. These agree with [22], and with [4] for $n = 8, 14; for n=16n = 16 Bird lists 43 classes, which Rostami and Bright corrected to 371.

Second implementations. Stage 1 was reimplemented separately. The second program uses another decision order, breadth-first augmenting paths, only bound (M), another exact cover algorithm and another canonical form. For every n≤18n \le18 and for n=26n = 26 the two programs produce the same set of orbits of feasible pairs; for n=26n = 26 the second program needed 31,191,558,503 nodes and 15,019 s. For n≤12n \le12 both also agree with a test of every pair (A,B)(A, B), without pruning or symmetry. Stage 2 has the SAT check described above as its second implementation.

For n=28n = 28 the second implementations were run only in part, since the certificates make the lower bound independent of all search programs. The second stage-1 program was run on every part with z0≤5z_0 \le5, where it finds the same orbits as stage 1 (the two single-colour pairs and nothing else), and on 1549 of the 4800 parts with z0=6z_0 = 6, where its 90 pairs are all among those found by stage 1; it needed 38,258,356,242 nodes and 15,066 s. It was not run for z0=7z_0 = 7. The branch-and-bound search of stage 2 was run on the pairs with z0∈{1,6}z_0 \in\{1,6\}, as described in § 8.2.

Independent referee checks. An independent AI referee, not involved in writing the search programs, reviewed the proofs of § 8 and the two stage-1 programs. It also wrote the program code/refcheck.py, which uses only SAT solving and shares no code with the search programs. This program enumerates all feasible pairs by incremental SAT solving with orbit-blocking clauses and finds the same orbit sets as stage 1 for every even n≤18n \le18 and every z0z_0. It runs a complete independent pipeline (SAT enumeration of pairs, then SAT enumeration of all dominating sets inside each region), which reproduces the class counts above for n≤12n \le12 and for (n,g)=(8,5)(n, g) = (8, 5). It also enumerates all gg-dominating sets directly, without the relaxation, in the cases with n≤10n \le10, again with the same counts. The referee also proposed the stage-1 certificate of § 8.3; the same certificate is produced in the verification run for n=16n = 16 and n=18n = 18.

External review. An external AI review (ChatGPT Pro) of the code, which also regenerated all 15 base formulas of the stage-1 certificates and all 1 528 (for n=26n = 26) and 2 600 (for n=28n = 28) cube formulas from the committed survivor lists and found their SHA-256 hashes equal to the recorded ones, found three defects, now corrected, none of which affected the claimed values. When resumed, the certificate driver reused every cube already recorded in its output file without checking that the file was made for the same formula (the same nn, gg, z0z_0, TT and base formula) or that the recorded formula hash matched, so that a rerun on a different, satisfiable formula could be reported as certified. Every certificate reported here was computed with one survivor list and one set of arguments, and each record’s formula hash is computed from the exact text given to the solver. For n=28n = 28, z0=7z_0 = 7 the run was stopped once, after 292 of the 1 072 cubes, and resumed with the same arguments and the same, unchanged survivor list (only the number of parallel processes changed); the regenerated hashes show that every record belongs to the formula it is filed under. The driver now compares the header and a freshly rebuilt base formula before reusing anything, rebuilds the formula of every reused cube and compares its hash, requires exactly the expected set of cubes, and solves failed, interrupted or mismatched cubes again. A regression test, run by the verification script, includes the reviewer’s example (n=4n = 4, g=2g = 2, z0=0z_0 = 0, T=1T = 1); the resume test of the cloud driver was tightened in the same way. The pinned drat-trim did not compile under GCC 14 (an implicit declaration of getc_unlocked) and is now built with -D_DEFAULT_SOURCE. Finally, an earlier version of this paper stated γ(Qn)∈{⌈n/2⌉,⌈n/2⌉+1}\gamma(Q_n) \in\{\lceil n/2\rceil, \lceil n/2\rceil+ 1\} for all n≤120n \le120, omitting the exceptions n=3,11n = 3, 11. The review’s main suggestion, a verification mode that rebuilds every certificate formula of both stages from the survivor lists alone, solves it and checks the proof without rerunning the searches, is implemented as verify.py -certify-all and has been run to completion.

Upper bounds. The verification script checks that Kamenetsky’s 14-queen set and the independent 14-queen set of Östergård and Weakley dominate Q26Q_{26}, and that their 14-queen set of Corollary 1.5 dominates Q27Q_{27}. For n=28n = 28 we found a 15-queen dominating set by simulated annealing; it is in the repository, and the script checks it. (The value i(Q28)=15i(Q_{28}) = 15 of [15] already gives γ(Q28)≤15\gamma(Q_{28}) \le15.) The script also checks the sets used for n=29,30,31n = 29, 30, 31 in the proof of Corollary 1.5.

Comparison with the box method

The relaxation is much slower than the box method: for n=28n = 28 its stage 1 took 83.1 CPU hours and its stage-1 certificate 26.5, against well under one CPU hour for the frame method Table 2. Its value is its independence. It keeps all ss chosen empty rows and columns, not only the outermost ones, records only which diagonals of each colour must be occupied, and places the queens in a second stage; it shares neither the reduction nor any code with the frame method or with [11]. For n=26n = 26 and n=28n = 28 the two methods agree.

Remarks

For even nn and k=n/2k = n/2 the identities leave no slack when the box is not square, and the frame method is fast: under two CPU hours for n=36n = 36 and about six for n=44n = 44, including proof checking, with the square boxes of deficit vector 0 taking most of the time. The cost grows by a factor of roughly 1.5 per step of 2 in nn, so somewhat larger even boards appear to be within reach of the same code; the even values from n=48n = 48 on remain open in the certified literature. For odd nn and k=(n+1)/2k = (n + 1)/2 there are two units of slack in each side identity and up to four in the border identity; the cases with deficit vector 0 and an almost square box, where the 18 queens would be pairwise non-attacking, account for about 40% of the time for n=35n = 35, and the hardest single case took about an hour. Two further sound constraints that we tried on such cases, a colour balance between the diagonals and Weakley’s moment identities [26] taken modulo small integers, did not help. The odd values of n<120n < 120 that remain open, 47, 51, 59, 63, 67, 75, 79, 87, 95, 103, 111 and 119 (by [20] and the sets of [17]), are beyond the present computation without new ideas.

The relaxation of § 8 keeps only the line structure of the squares that must be covered diagonally, yet it is strong enough that stage 1 leaves only 10,888 candidate pairs for n=26n = 26 and 118,765 for n=28n = 28. Its cost grows quickly: from n=26n = 26 to n=28n = 28 the stage-1 search grew from 7.0 to 83.1 CPU hours (part of the latter on slower cores), the number of pairs by a factor of about 11, and the stage-1 certificate from 2.0 to 26.5 CPU hours.

Reproducibility

The repository3 contains, for the frame method, the case enumeration, the encoder, the drivers and checkers, the records of every case for n=26,28,32,34,35,36,40,42,44,46n = 26, 28, 32, 34, 35, 36, 40, 42, 44, 46 (one JSON line per case or cube with the SHA-256 of the formula, the verdict, the checker’s status and the CPU times), the records of the validation runs, the code and records of the cross-check, and the Lean sources; and, for the relaxation, the C sources of both stages and of the second stage-1 program, the CNF encoders, the referee’s checks, the driver used for the cloud runs, and for n=26n = 26 and n=28n = 28 the survivor lists, per-part SHA-256 manifests, the logs of the searches, the per-pair SAT records, the per-cube records of the stage-1 certificates and the records of the complete replay. The script scripts/verify.py rebuilds the programs and, in about an hour on three cores, reruns the validation of the relaxation for small nn, the referee’s checks and the stage-1 certificate for n=16,18n = 16, 18, the tests of the frame method, and seeded random samples of the computations; it checks every record set against its manifest or against the case list rebuilt from first principles, rebuilds the formulas of a sample of records and compares their hashes, checks the Lean data files against the records, the upper bounds, and the records of the cross-check. Every number quoted in this paper is generated from a file of claims that the script compares with the computed values, and each of fifteen altered copies of the records must make it fail. Optional modes rebuild every formula hash of the frame records (-frame-rehash-all), build the Lean formalisation and check its axioms (-lean), rerun the whole n=26n = 26 relaxation (-full) or a larger part of n=28n = 28 (-heavy28), and replay every certificate formula of the relaxation (-certify-all, about 45 CPU hours). The DRAT proofs themselves (about 232 GB for n=35n = 35, and 25 and 182 GB for the relaxation certificates for n=26n = 26 and n=28n = 28) are not published; they are regenerated by solving the recorded formulas again.

Declaration of AI-generated research and authorship

This manuscript is the product of an AI-driven research process. During a broader investigation of open problems, initiated by the human author, AI systems identified the problems, devised the methods, wrote and ran the code for the computations, wrote the Lean formalisation, and wrote this manuscript. The frame/deficit case split was first proposed in an earlier, uncertified attempt by Claude Fable 5.2 (Claude for web), run by the author; it was re-derived, proved and reimplemented here, and compared with the logs of that attempt only afterwards (the case lists for n=28,30,32n = 28,30,32 agree). The line relaxation of § 8 was devised first, when the AI system believed γ(Q26)\gamma(Q_{26}) and γ(Q28)\gamma(Q_{28}) to be open: its literature search missed [11] and [17], and an earlier version of this paper and of the OEIS entry presented those values as new. This was corrected when the prior work was pointed out. For n=35n = 35 and n=40,…,46n = 40,\ldots,46 the AI system then searched the literature, preprint servers, code repositories and the OEIS history; it found no statement of γ(Q35)\gamma(Q_{35}), and for n=40,…,46n = 40,\ldots,46 only the uncertified claims of [17]. Such a search cannot be exhaustive. AI systems produced the results and their presentation, including the mathematical exposition, the computations and the organisation and writing of the text; the human author directed the AI systems but wrote no part of the manuscript. The human author also launched the main cloud computation for n=28n = 28, using commands prepared by the AI system. The system was Claude Opus 5.5 (Anthropic), used through Claude Code.

The computational claims are reproduced by scripts/verify.py. At the time of writing, the mathematics, the code and the formalisation have been checked only by AI systems and by computer verification. These checks include an adversarial review by an independent AI referee, who re-derived the proofs of § 8, read the search programs, wrote the independent SAT-based checks of § 8.4 and the stage-1 certificate of § 8.3; an external AI review of the code of the relaxation (ChatGPT Pro), whose findings are corrected (§ 8.4); the Lean formalisation of the frame method; and the separately written cross-check of § 6. No independent human expert has reviewed the work. The human author has not read this manuscript or checked its arguments. The author takes responsibility for the accuracy of this disclosure.

References

  1. [1]K. E. Batcher, Sorting networks and their applications, in: AFIPS Spring Joint Computer Conference, 1968, 307–314. doi:10.1145/1468075.1468121.DOI
  2. [2]A. Biere, T. Faller, K. Fazekas, M. Fleury, N. Frolēyks, F. Pollitt, CaDiCaL 2.0, in: Computer Aided Verification (CAV 2024), Lecture Notes in Comput. Sci., Springer, 2024, 133–152. doi:10.1007/978-3-031-65627-9_7.DOI
  3. [3]A. Biere et al., Kissat SAT solver, version 4.0.4, https://github.com/arminbiere/kissat.
  4. [4]W. H. Bird, Computational methods for domination problems, PhD thesis, University of Victoria, 2017. https://dspace.library.uvic.ca/handle/1828/8634.
  5. [5]S. Bozóki, P. Gál, I. Marosi, W. D. Weakley, Domination of the rectangular queen’s graph, Electron. J. Combin. 26(4) (2019), #P4.45. doi:10.37236/6026.DOI
  6. [6]E. J. Cockayne, Chessboard domination problems, Discrete Math. 86 (1990), 13–20. doi:10.1016/0012-365X(90)90344-H.DOI
  7. [7]L. de Moura, S. Ullrich, The Lean 4 theorem prover and programming language, in: Automated Deduction (CADE 28), Lecture Notes in Comput. Sci., Springer, 2021, 625–635. doi:10.1007/978-3-030-79876-5_37.DOI
  8. [8]D. Finozhenok, W. D. Weakley, An improved lower bound for domination numbers of the queen’s graph, Australas. J. Combin. 37 (2007), 295–300.
  9. [9]M. J. H. Heule, O. Kullmann, S. Wieringa, A. Biere, Cube and conquer: guiding CDCL SAT solvers by lookaheads, in: Hardware and Software: Verification and Testing (HVC 2011), Lecture Notes in Comput. Sci., Springer, 2012, 50–65. doi:10.1007/978-3-642-34188-5_8.DOI
  10. [10]A. Ignatiev, A. Morgado, J. Marques-Silva, PySAT: a Python toolkit for prototyping with SAT oracles, in: Theory and Applications of Satisfiability Testing (SAT 2018), Lecture Notes in Comput. Sci., Springer, 2018, 428–437. doi:10.1007/978-3-319-94144-8_26.DOI
  11. [11]Anonymous, Hint and Conquer: new queen domination numbers by SAT solving, preprint, October 2026, file doc.pdf on branch hint-and-conquer of the repository https://github.com/TahaRostami/Gamma.
  12. [12]jkolantree, BSC (repository), directory formal/q26_grid_annihilator and files applications/Q26_*, commits of 11–12 August 2026, https://github.com/jkolantree/BSC.
  13. [13]A. Karandikar, A. Dutta, Improved lower bounds for queen’s domination via an exactly-solvable relaxation, Electron. J. Combin. 31(4) (2024), #P4.38. doi:10.37236/12003.DOI
  14. [14]M. D. Kearse, P. B. Gibbons, Computational methods and new results for chessboard problems, Australas. J. Combin. 23 (2001), 253–284.
  15. [15]A. Langlois-Rémillard, M. Müssig, É. Roldán, Complexity of chess domination problems, Res. Math. Sci. 12 (2025), no. 1, paper no. 14. doi:10.1007/s40687-024-00492-5.
  16. [16]The mathlib Community, The Lean mathematical library, in: Proceedings of the 9th ACM SIGPLAN International Conference on Certified Programs and Proofs (CPP 2020), 2020, 367–381. doi:10.1145/3372885.3373824.DOI
  17. [17]S. Neuhaus, Eigenschaften kleinster dominierender Mengen und Dominanzzahlen von Damengraphen, Dissertation, Universität zu Köln, 2009. https://kups.ub.uni-koeln.de/2916/.
  18. [18]S. Neuhaus, Solutions for queen’s domination (repository), 2017, https://github.com/stefanneuhaus/queens-domination-solutions.
  19. [19]OEIS Foundation Inc., The On-Line Encyclopedia of Integer Sequences, sequence A075458, with D. Kamenetsky’s file of best known placements for n ≤ 26 (2019), https://oeis.org/A075458.
  20. [20]P. R. J. Östergård, W. D. Weakley, Values of domination numbers of the queen’s graph, Electron. J. Combin. 8 (2001), #R29. doi:10.37236/1573.DOI
  21. [21]V. Raghavan, S. M. Venkatesan, On bounds for a board covering problem, Inform. Process. Lett. 25 (1987), 281–284. doi:10.1016/0020-0190(87)90201-8.DOI
  22. [22]T. Rostami, C. Bright, Queen domination by SAT solving, Art Discrete Appl. Math. (2026). doi:10.26493/2590-9770.2033.c47; arXiv:2508.11945.DOI
  23. [23]C. Sinz, Towards an optimal CNF encoding of Boolean cardinality constraints, in: Principles and Practice of Constraint Programming (CP 2005), Lecture Notes in Comput. Sci., Springer, 2005, 827–831. doi:10.1007/11564751_73.DOI
  24. [24]J. J. Watkins, Across the Board: The Mathematics of Chessboard Problems, Princeton University Press, 2004. doi:10.1515/9781400880922.DOI
  25. [25]W. D. Weakley, A lower bound for domination numbers of the queen’s graph, J. Combin. Math. Combin. Comput. 43 (2002), 231–254.
  26. [26]W. D. Weakley, Queen domination of even square boards, Electron. J. Combin. 29(2) (2022), #P2.50. doi:10.37236/10617.DOI
  27. [27]N. Wetzler, M. J. H. Heule, W. A. Hunt Jr., DRAT-trim: efficient checking and trimming using expressive clausal proofs, in: Theory and Applications of Satisfiability Testing (SAT 2014), Lecture Notes in Comput. Sci., Springer, 2014, 422–429. doi:10.1007/978-3-319-09284-3_31.DOI

Paper details

vlnc:W_6yd28hwt
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 0

downloads · 0

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

  • Mathematics

Anthropic Claude Fable 5.2, Anthropic Claude Code Claude Opus 5.5, OpenAI ChatGPT Pro (6 Astra)

View statement
Looking for related papers…
Contents