alphaFeedback

WorksMathematics

R(12,12) ≥ 1661 by extending the Mathon–Shearer coloring

AI contributions
  • Anthropic Claude Opus Claude Opus 5.5
  • OpenAI Codex GPT-6 Astra
View details
Ancillary data
3 code links, 2 data links
View

Abstract

We prove that R(12,12)≥1661R(12,12)\ge 1661 by constructing a red/blue coloring of the edges of K1660K_{1660} with no monochromatic K12K_{12}. We start from a classical (11,11)(11,11)-coloring on 1596 vertices, delete 21 of its vertices and add 85 new ones. Toward the remaining 1575 vertices, each new vertex has either the same colors as one of the deleted vertices or a single color. The deleted vertices include two pairs whose members have complementary colors toward every other vertex, and these pairs weaken the conditions that the new vertices must satisfy. The proof reduces to a finite check on the new vertices and is formally verified in Lean 4.

Introduction

The Ramsey number R(k,s)R(k,s) is the least NN such that every red/blue coloring of the edges of KNK_N contains a red KkK_k or a blue KsK_s. A coloring of the edges of KnK_n with no red KkK_k and no blue KsK_s is called a (k,s)(k,s)-coloring and shows that R(k,s)>nR(k,s) > n. Lower bounds for small Ramsey numbers are proved in this way, by constructing colorings; Radziszowski’s survey [11] collects the known bounds.

For R(12,12)R(12,12) the lower bound has improved in small steps. Mathon [7] and Shearer [12] constructed an (11,11)(11,11)-coloring on 1596 vertices, which shows that R(11,11)≥1597R(11,11) \ge1597. Xu, Shao and Radziszowski [16] proved that R(k,s+1)≥R(k,s)+2k−2R(k,s+1) \ge R(k,s) + 2k - 2 for k≥5k \ge5 and s≥2s \ge2; applying the inequality twice, with the two colors interchanged in between, gives R(12,12)≥1639R(12,12) \ge1639 [11]. In 2017, Tatarevic found a (12,12)(12,12)-coloring on 1639 vertices by a computer-assisted construction, so that R(12,12)≥1640R(12,12) \ge1640 [13]. Tatarevic recently proved that R(k+1,s+1)≥R(k,s)+2k+2sR(k+1,s+1) \ge R(k,s) + 2k + 2s for 5≤k≤s5 \le k \le s [14], by a construction that adds 2k+2s2k + 2s vertices to a (k,s)(k,s)-coloring. Applied to the Mathon–Shearer coloring, the construction gives R(12,12)≥1641R(12,12) \ge1641.

Theorem 1.1. There is a red/blue coloring of the edges of K1660K_{1660} with no monochromatic K12K_{12}. Hence R(12,12)≥1661R(12,12) \ge1661.

The coloring is built from the Mathon–Shearer coloring. We delete 21 of its 1596 vertices, namely a red K10K_{10}, a blue K10K_{10} and one further vertex, and add a set TT of 85 vertices. Toward the 1575 remaining vertices, each vertex of TT either has the same colors as one of the deleted vertices, and is then called a copy of that vertex, or has a single color; the colors inside TT were found by a computer search. In these terms, Tatarevic’s construction [14] deletes a red K10K_{10} and a blue K10K_{10} and adds a set TT of 64 vertices: the 20 deleted ones and 44 new ones, each a copy of a deleted vertex or of a single color. A monochromatic clique splits into a part in TT and a part among the remaining vertices, and the second part has at most 10 − ω\omega vertices, where ω\omega is the size of the largest clique of the same color that the Mathon–Shearer coloring has among the deleted vertices copied by the first part. So it suffices to check a finite condition on TT (Theorem 3.3); in general, a monochromatic clique of TT may have at most 1+ω1+\omega vertices, so deleting a red and a blue K10K_{10} leaves room for large cliques of both colors in TT.

The key to the construction, and its new ingredient compared with earlier colorings of this shape, is a symmetry of the Mathon–Shearer coloring: every vertex vv has an antipode vˉ\bar{v}, whose color to every other vertex is the opposite of the color of vv (Lemma 2.2). Suppose that a monochromatic clique contains a copy of vv and a copy of vˉ\bar{v}. A remaining vertex in this clique would have the color of the clique to both copies, hence to both vv and vˉ\bar{v}, which is impossible. So the clique lies inside TT, and for such cliques the finite condition only requires that TT contain no monochromatic K12K_{12}. For two deleted vertices that are not antipodal, in contrast, the condition allows at most 8 vertices of TT that copy either of them (Proposition 5.1). Together, the red and the blue K10K_{10} contain one antipodal pair; the further deleted vertex is the antipode of a vertex of the blue K10K_{10}, which creates a second pair.

Our earlier colorings on 1641 and 1657 vertices [4, 5], released with Lean proofs and computer checks but not described in a paper, have the same shape; their deleted vertices contain only the first antipodal pair, which their proofs do not use. Appendix § 10 describes them, an unreleased coloring on 1650 vertices between them, and how all of these colorings were found.

Apart from the fact that the Mathon–Shearer coloring is an (11, 11)-coloring, which we quote, the proof uses an elementary property of this coloring (Lemma 2.2) and a finite check that takes a computer about two seconds. The result has also been checked by computer in several independent ways (Appendix § 9): two exhaustive searches by separate programs confirm that the coloring has no monochromatic K12K_{12}, and the theorem, including Fact 2.1, is formally verified in Lean 4.

The Mathon–Shearer coloring and its antipodes

Let q=797q=797, a prime with q≡1(mod4)q\equiv1\pmod{4}, and let SS and NN be the nonzero squares and the nonsquares of Fq\mathbb{F}_q; then −1∈S-1\in S. The coloring M=M(797)M=M(797) has the 2q+2=15962q+2=1596 vertices AxA_x, BxB_x (x∈Fqx\in\mathbb{F}_q), aa and bb; identifying Fq\mathbb{F}_q with {0,…,796}\{0,\ldots,796\}, we number them Ax=xA_x=x, Bx=797+xB_x=797+x, a=1594a=1594, b=1595b=1595:

  • AxAyA_xA_y and BxByB_xB_y are red if and only if x−y∈Sx-y\in S;

  • AxByA_xB_y is red if and only if x−y∈Nx-y\in N;

  • aa is red to every AxA_x, bb is red to every BxB_x, and all other pairs are blue.

We write M(u,v)M(u,v) for the color of uvuv.

Fact 2.1 (Mathon [7]; Shearer [12]). M(797)M(797) has no monochromatic K11K_{11}.

The antipode of a vertex vv is vˉ\bar{v}, where Ax‾=Bx\overline{A_x}=B_x, Bx‾=Ax\overline{B_x}=A_x, aˉ=b\bar{a}=b and bˉ=a\bar{b}=a.

Lemma 2.2. For every vertex vv of M(797)M(797), the pair vvˉv\bar{v} is blue, and M(v,w)≠M(vˉ,w)M(v,w) \ne M(\bar{v},w) for every vertex w∉{v,vˉ}w \notin\{v,\bar{v}\}.

Proof. The pairs AxBxA_xB_x and abab are blue by definition. Since −1∈S-1 \in S, the sets SS and NN are closed under negation. Take v=Axv=A_x. For w=Ayw=A_y with y≠xy \ne x, the pair AxAyA_xA_y is red if and only if x−y∈Sx-y \in S, and BxAyB_xA_y is red if and only if y−x∈Ny-x \in N, that is, if and only if x−y∉Sx-y \notin S. For w=Byw=B_y with y≠xy \ne x, the pair AxByA_xB_y is red if and only if x−y∈Nx-y \in N, and BxByB_xB_y is red if and only if x−y∈Sx-y \in S. Finally, aa is red to AxA_x and blue to BxB_x, and bb the other way round. The case v=Bxv=B_x is the same. For v∈{a,b}v \in\{a,b\}, the vertices aa and bb have different colors to every AxA_x and every BxB_x.

In the terminology of Mathon [7], the red pairs of M(797)M(797) form an antipodal distance-regular graph of diameter 3, and vˉ\bar{v} is the unique vertex at distance 3 from vv in this graph.

Clone extensions and the projection criterion

Throughout, cc stands for one of the two colors, red or blue, and cˉ\bar{c} for the other one. Two vertices are cc-adjacent if the pair between them has color cc, and a cc-clique is a set of pairwise cc-adjacent vertices.

Definition 3.1. Let Σ⊆V(M)\Sigma\subseteq V(M) and V∘=V(M)∖ΣV^\circ= V(M) \setminus\Sigma. A typed set is a finite set TT with a map f:T→Σ∪{R,B}f:T \to\Sigma\cup\{R,B\}; we call f(t)f(t) the type of t∈Tt \in T. A clone extension is a red/blue coloring χ\chi of the complete graph on V∘⊔TV^\circ\sqcup T such that

  • χ(u,v)=M(u,v)\chi(u,v)=M(u,v) for u,v∈V∘u,v \in V^\circ;

  • for t∈Tt \in T and v∈V∘v \in V^\circ: χ(t,v)=M(f(t),v)\chi(t,v)=M(f(t),v) if f(t)∈Σf(t) \in\Sigma, red if f(t)=Rf(t)=R, and blue if f(t)=Bf(t)=B;

  • the colors of pairs inside TT are arbitrary.

The clone extension has 1596−∣Σ∣+∣T∣1596-|\Sigma|+|T| vertices. If f(t)=g∈Σf(t)=g \in\Sigma, then tt has the colors of gg toward V∘V^\circ, and we call tt a copy of gg. If f(t)=Rf(t)=R or f(t)=Bf(t)=B, then tt is red or blue to all of V∘V^\circ, and we call tt a constant vertex of color red or blue.

For K⊆TK \subseteq T let D(K)=f(K)∩ΣD(K)=f(K)\cap\Sigma be the set of vertices of Σ\Sigma copied by vertices of KK. For D⊆ΣD \subseteq\Sigma let ωc(D)\omega_c(D) be the largest number of vertices of DD that are pairwise cc-adjacent in MM; the colors here are those of MM, not those of χ\chi. An antipodal pair in DD is a pair {g,gˉ}⊆D\{g,\bar{g}\}\subseteq D.

Lemma 3.2. Let QQ be a cc-clique of a clone extension, K=Q∩TK=Q\cap T and K∘=Q∩V∘K^\circ=Q\cap V^\circ.

(a) If KK contains a constant vertex of color cˉ\bar{c}, then K∘=∅K^\circ=\varnothing.

(b) If D(K)D(K) contains an antipodal pair, then K∘=∅K^\circ=\varnothing.

(c) In all cases ∣K∘∣≤10−ωc(D(K))|K^\circ| \le10-\omega_c(D(K)).

Proof. (a) A constant vertex of color cˉ\bar{c} has color cˉ\bar{c} to every vertex of V∘V^\circ, so no vertex of V∘V^\circ lies in QQ. For (b) and (c), note that every vertex v∈K∘v \in K^\circ is cc-adjacent in MM to every g∈D(K)g \in D(K): if t∈Kt \in K is a copy of gg, then M(g,v)=χ(t,v)=cM(g,v)=\chi(t,v)=c. (b) If g,gˉ∈D(K)g,\bar{g}\in D(K) and v∈K∘v\in K^\circ, then v∉{g,gˉ}v\notin\{g,\bar{g}\} because v∈V∘v\in V^\circ, and M(g,v)=M(gˉ,v)=cM(g,v)=M(\bar{g},v)=c contradicts Lemma 2.2. (c) Let L⊆D(K)L\subseteq D(K) be a cc-clique of size ∣L∣=ωc(D(K))|L|=\omega_c(D(K)). Since χ=M\chi=M on V∘V^\circ, the set K∘K^\circ is a cc-clique of MM, and it is disjoint from L⊆ΣL\subseteq\Sigma. So K∘∪LK^\circ\cup L is a cc-clique of MM, and ∣K∘∣+∣L∣≤10|K^\circ|+|L|\le10 by Fact 2.1.

For a color cc and D⊆ΣD \subseteq\Sigma, we define the capacity function cap⁡c\operatorname{cap}_{c} by

cap⁡c(D)={11if D contains an antipodal pair,1+ωc(D)otherwise.\operatorname{cap}_{c}(D) = \begin{cases} 11 & \text{if } D \text{ contains an antipodal pair},\\ 1+\omega_{c}(D) & \text{otherwise}. \end{cases}

We call the first case the antipodal rule.

Theorem 3.3. Let χ\chi be a clone extension with typed set TT, and suppose that, for each color cc,

(i) TT contains no cc-clique on 12 vertices, and

(ii) every cc-clique K⊆TK \subseteq T with no constant vertex of color cˉ\bar{c} satisfies ∣K∣≤cap⁡c(D(K))|K| \leq\operatorname{cap}_{c}(D(K)).

Then χ\chi has no monochromatic K12K_{12}.

Proof. Let QQ be a cc-clique and KK, K∘K^{\circ} as in Lemma 3.2. If K=∅K = \varnothing, then QQ is a cc-clique of MM and ∣Q∣≤10|Q| \leq10. If KK contains a constant vertex of color cˉ\bar{c}, or D(K)D(K) contains an antipodal pair, then K∘=∅K^{\circ} = \varnothing and ∣Q∣=∣K∣≤11|Q| = |K| \leq11 by (i). Otherwise ∣Q∣=∣K∣+∣K∘∣≤(1+ωc(D(K)))+(10−ωc(D(K)))=11|Q| = |K| + |K^{\circ}| \leq(1 + \omega_{c}(D(K))) + (10 - \omega_{c}(D(K))) = 11 by (ii) and Lemma 3.2(c). □

Remark 3.4. Condition (ii) has to be checked for all cc-cliques of TT, not only the maximal ones: when KK gains a copy of the second vertex of an antipodal pair, its capacity jumps to 11, so KK can violate (ii) although its maximal extensions satisfy it. Our check therefore enumerates all cliques. Without the antipodal rule, maximal cliques would suffice, after removing their constant vertices of color cˉ\bar{c} (Appendix § 10).

Remark 3.5. Replacing the bound 10−ωc(D)10 - \omega_{c}(D) of Lemma 3.2(c) by the exact value ec(D)e_{c}(D), the largest number of vertices of V∘V^{\circ} that are pairwise cc-adjacent in MM and cc-adjacent to every vertex of DD, and hence cap⁡c(D)\operatorname{cap}_{c}(D) by the exact capacity 11−ec(D)11 - e_{c}(D), turns Theorem 3.3 into a necessary and sufficient condition, provided all cliques are checked. Since ec(D)≤10−ωc(D)e_{c}(D) \leq10 - \omega_{c}(D), and ec(D)=0e_{c}(D) = 0 by Lemma 2.2 if DD contains an antipodal pair, the exact capacity is at least cap⁡c(D)\operatorname{cap}_{c}(D). The search of Appendix § 10.§ 2 used the exact capacities; the coloring of § 4 satisfies the conditions of Theorem 3.3 as stated, so its proof does not need them.

The coloring

Let C={c1,…,c10}C = \{c_1,\ldots,c_{10}\} and I={i1,…,i10}I = \{i_1,\ldots,i_{10}\} be the sets of vertices of MM in Table 1, given by name and by number (§ 2).

pp12345678910
cpc_pB133B_{133} 930B129B_{129} 926B776B_{776} 1573B541B_{541} 1338B682B_{682} 1479B686B_{686} 1483B695B_{695} 1492B785B_{785} 1582B789B_{789} 1586bb 1595
ipi_pB264B_{264} 1061B791B_{791} 1588B779B_{779} 1576B752B_{752} 1549B757B_{757} 1554aa 1594B675B_{675} 1472B760B_{760} 1557B282B_{282} 1079B470B_{470} 1267

Table 1. The cliques CC and II: each vertex by name and, below it, by number.

The nine labels xx of the vertices BxB_x in CC have pairwise differences in SS, and bb is red to every BxB_x, so CC is a red K10K_{10}; the nine labels in II have pairwise differences in NN, and aa is blue to every BxB_x, so II is a blue K10K_{10}. Put Σ=C∪I∪{A675}\Sigma= C \cup I \cup\{A_{675}\}. Here the vertex A675A_{675}, with number 675, is the antipode of i7=B675i_7 = B_{675}, with number 1472; we write iˉ7=A675\bar{i}_7 = A_{675}. So Σ\Sigma contains exactly two antipodal pairs: the pair {a,b}={i6,c10}\{a,b\} = \{i_6,c_{10}\} inside C∪IC \cup I, and the new pair {i7,iˉ7}\{i_{7},\bar{i}_{7}\}. In all, ∣Σ∣=21|\Sigma| = 21 and ∣V∘∣=1575|V^{\circ}| = 1575. The 85 vertices of TT, their types and all colors inside TT were found by the computer search of Appendix § 10.§ 2.

The file graph/r1212_1660.graph has 1660 rows of 1660 characters, both numbered from 0; for v≠wv \ne w, character ww of row vv is 1 if vwvw is red and 0 if blue, and the diagonal is 0. Rows 0–1574 are the vertices of V∘V^{\circ} in increasing order, with the colors of MM. Rows 1575–1659 form TT; their types are read from the file, and Table 2 gives the number of vertices of each type. The colors inside TT are given by the file only; they are not described by a formula.

typenumber of vertices
constant red, constant blue11 each
i7i_{7}4
iˉ7=A675\bar{i}_{7} = A_{675}2
each of the other 19 vertices of C∪IC \cup I3
total85

Table 2. The types of the 85 vertices of TT.

Theorem 4.1. The coloring r1212_1660.graph has no monochromatic K12K_{12}.

Proof. The script check_antipodal_projection.py verifies that the file is a clone extension with the above Σ\Sigma: rows 0–1574 equal MM restricted to V∘V^{\circ}, rebuilt from the definition, and each of the 85 other rows is, on V∘V^{\circ}, constant or equal to the row in MM of exactly one g∈Σg \in\Sigma. The script also checks Lemma 2.2 by brute force, that is, it confirms M(v,w)≠M(vˉ,w)M(v,w) \ne M(\bar{v},w) for each of the 798 antipodal pairs {v,vˉ}\{v,\bar{v}\} and each of the 1594 other vertices ww; it then verifies the conditions of Theorem 3.3: the largest red and the largest blue clique inside TT have 11 vertices, and condition (ii) holds for all 342,582 red and all 236,100 blue cliques of TT without a constant vertex of the other color. The values ωc(D)\omega_c(D) are computed for all 2212^{21} subsets DD of Σ\Sigma; for each color, on Σ\Sigma itself and on 200 random subsets, they agree with those computed by the Python graph library networkx. By Theorem 3.3, the coloring has no monochromatic K12K_{12}.

Theorem 1.1 follows. The antipodal rule is needed: with cap⁡c(D)=1+ωc(D)\operatorname{cap}_c(D) = 1 + \omega_c(D) for every DD, condition (ii) fails for 5,332 cliques (5,123 red, 209 blue). For each of these cliques KK, the set D(K)D(K) contains an antipodal pair: the new pair {i7,iˉ7}\{i_{7},\bar{i}_{7}\} for 5,309 of them, and only {a,b}\{a,b\} for the other 23. Of all cliques KK checked, 7,125 red and 10,112 blue ones have an antipodal pair in D(K)D(K).

Why an antipodal pair helps

Condition (ii) of Theorem 3.3 with ∣D∣≤2|D| \le2 already strongly limits the number of vertices of each type.

Proposition 5.1. Assume condition (ii). If g∈Σg \in\Sigma, the copies of gg span no monochromatic triangle, so there are at most 5 of them. If g≠hg \ne h in Σ\Sigma are not antipodal, the copies of gg and hh together span no K4K_{4} in color M(g,h)M(g,h) and no triangle in the other color, so there are at most 8 of them.

Proof. For both colors ωc({g})=1\omega_c(\{g\}) = 1, so cap⁡c({g})=2\operatorname{cap}_c(\{g\}) = 2. The pair {g,h}\{g,h\} is a clique of MM in the color M(g,h)M(g,h) but not in the other color, so cap⁡c({g,h})\operatorname{cap}_c(\{g,h\}) is 3 for c=M(g,h)c = M(g,h) and 2 for the other color. Use R(3,3)=6R(3,3) = 6 and R(3,4)=9R(3,4) = 9 [11].

In our earlier coloring on 1657 vertices [5], which does not use antipodal pairs, the types i1=B264i_1 = B_{264} and c7=B695c_7 = B_{695} have 4 vertices each, so this pair is already at the limit. For Σ=C∪I\Sigma= C \cup I the exact values ec(D)e_c(D) of Remark 3.5 agree with 10−ωc(D)10 - \omega_c(D) for ∣D∣≤3|D| \le3, except for the sets DD containing {a,b}\{a,b\}, for which ec(D)=0e_c(D) = 0; so they do not relax these constraints. For an antipodal pair, cap⁡c({g,gˉ})=11\operatorname{cap}_c(\{g,\bar{g}\}) = 11 and Proposition 5.1 gives no joint limit. The present coloring improves on [5] at this point: its types i7i_7 and iˉ7\bar{i}_7 have only 4+2=64 + 2 = 6 vertices, but 5,309 of the cliques that contain copies of both would violate (ii) without the antipodal rule (§ 4). Since every vertex of M(797)M(797) has an antipode, any g∈Σg \in\Sigma whose antipode lies in V∘V^\circ can be given a partner by moving gˉ\bar{g} into Σ\Sigma; the vertex gˉ\bar{g} itself then becomes a copy of gˉ\bar{g} in TT, so the number of vertices does not change. We do not know whether the new pair is necessary for 1660 vertices. With Σ=C∪I\Sigma= C \cup I, our searches found no coloring on more than 1657 vertices (Appendix § 10.§ 3); this is only weak evidence that the new pair is needed. Our attempts to reach 1661 vertices by the same method failed; they are described in Appendix § 10.§ 3.

Data and code availability

The 1660-vertex coloring, the check script, checkers A and B (Appendix § 9), both exhaustive search programs with the outputs of our runs, the controls, and the Lean proof with the records of its checks are available at [6]; Appendix § 9 gives the hash of the coloring and the archived versions. The programs and logs of the searches in Appendix § 10 are not public.

Use of AI

This work was carried out with the AI system Claude (Anthropic, model Claude Opus 5.5), used through the coding agent Claude Code. The system designed and ran the searches and the computer checks, wrote the Lean proof, and drafted this paper. The work continues [5], which started from exploratory work by GPT-6 Astra (OpenAI); its history is described there. The author directed the project and takes responsibility for the paper; the AI system is not an author. The correctness of the result does not rely on the AI system, but on the proof given here, whose formalization is checked by the Lean kernel and by nanoda, and on the exhaustive searches (Appendix § 9).

Acknowledgments

The author thanks Milos Tatarevic for publishing the paper [14] together with the Lean development and programs [15], on which the formal proof builds, and Stanisław Radziszowski for many years of attention to these questions and for collecting the known bounds in [11]; both answered the author’s messages with encouragement. Thanks also go to Gábor Lippert, whose lively and engaging lectures introduced the author to this subject, for positive and encouraging conversations, and to Chris Beasley, the author’s advisor, for guidance and help and for the freedom to pursue this research.

Computer verification

The proof of Theorem 4.1 rests on one finite computation, the check of Theorem 3.3. Table 3 lists this check together with the independent ones. The two exhaustive searches use no structure of the coloring and do not depend on Fact 2.1. The other checks depend on Fact 2.1; they come from three programs, written separately, in different sessions of the AI system: the check script of Theorem 4.1 and two checkers, A and B, of which A runs in two modes. Each program reads the types from the file, or checks the declared types against it. The checks in this appendix ran on an Apple M4 Mac mini. The programs, data and logs of these checks are in the repository [6].

checkmethodresult
exhaustive search, program of [4] (unchanged)for each vertex vv and color cc, search the later cc-neighbors of vv for a cc-clique on 11 vertices3,320/3,320 tasks “none”; 2.24 ×1011\times10^{11} nodes; 15.46 CPU-hours
independent exhaustive searchas above, but with the vertices of each color ranked in a degeneracy order, so the subproblems differ; its own branch and bound3,320/3,320 tasks “none”; 2.40 ×1011\times10^{11} nodes; 17.93 CPU-hours
check_antipodal_projection.py (this paper)Theorem 3.3, all cliquesPASS; 1.8 s, one thread
checker A, bound modeTheorem 3.3, all cliquesPASS; clique counts and histograms of cap⁡c(D(K))−∣K∣\operatorname{cap}_c(D(K))-|K| identical to the script’s
checkers A and B, exact modeRemark 3.5, all cliques, ece_c computed exactlyboth PASS

Table 3. Checks of r1212_1660.graph. The first search ran on an Apple M4 Mac mini with 5 threads from 13:16 to 16:22 EST on November 3, 2026, the second on the same computer with 8 threads from 17:18 to 19:33 EST. The output of the first was checked by the output checker of [5], that of the second by its own checker; both checks passed. The longest tasks took 170 s and 140 s.

Controls. The following controls test the checks themselves.

  • Flipped edge. Flipping the color of the edge between the constant red vertices in rows 1615 and 1616 makes check_antipodal_projection.py report two violated cliques, with D=∅D=\varnothing and D={i7}D=\{i_7\}. Checker A in exact mode reports the same two cliques, extends each to an explicit red K12K_{12} of the modified file, and confirms every edge.

  • No antipodal rule. Without the rule, the same script fails with 5,332 violations, as in § 4. Checker A in bound mode, without the rule, reports the same number.

  • Structure. Flipping an edge inside V∘V^\circ, or between TT and V∘V^\circ, makes the script stop with an error.

  • Search programs. Both exhaustive programs were tested on November 3, 2026, when we reverified [5]: the first reproduced the published run of [5] task by task and found planted K12K_{12}s; the second agreed with an exact oracle on 528 random graphs, caught 4 deliberately broken versions of itself and found all 14 planted K12K_{12}s. Both runs here used those binaries. The records of these tests are not public; both programs and the outputs of both runs are released with the coloring.

Formal proof in Lean. We have formalized Theorem 1.1 in Lean 4 (version 4.32.1) with Mathlib [2, 8]:

theorem RamseyIncrement.R1661.r1212_lower_bound : 1661 ≤ ramseyNumber 12 12
  • The statement. ramseyNumber is the definition of [4, 5], from Tatarevic’s Lean development [15]: the least nn such that every red/blue coloring of KnK_n has a red KkK_k or a blue KsK_s. An audit file restates it in Mathlib’s terms, for a graph on Fin 16601660 and its complement. The coloring is defined on V∘⊔{0,…,84}V^\circ\sqcup\{0,\ldots,84\}, with tables generated from the graph file.

  • The argument follows Theorem 3.3. The proof uses Fact 2.1, proved in Lean in [4]; Lemma 2.2, proved in Lean from −1∈S-1 \in S; the colors of MM on Σ\Sigma; and finite checks on TT, which the Lean kernel evaluates. A clique with a constant vertex of the other color, or with copies of both vertices of an antipodal pair, lies inside TT by Lemma 3.2, and the kernel checks that TT has no monochromatic K12K_{12}. For all other cliques the proof reuses the defect lemma and the four small checks of [5], applied to TT with the edges between copies of antipodal types removed. These checks cover every such clique, not only the maximal ones, so Remark 3.4 causes no difficulty. The proof does not use the exhaustive searches.

  • Axioms: only propext, Classical.choice and Quot.sound. No sorry, no native_decide.

  • Independent kernels. leanchecker replayed each of the 25 modules of the proof separately, and nanoda [9], a Lean kernel written separately in Rust, checked an export of the theorem made with lean4export [3], together with all 29,313 declarations it uses, Mathlib included. Both accepted the proof. As a control, nanoda rejected a copy with one bit of a table changed. Of the 25 modules, 19 come unchanged from [4] and one, the defect lemma, from [5]; 5 are new.

  • Not part of the proof: that the coloring defined in Lean is the file. A script rebuilds all 16602=2,755,6001660^2 = 2{,}755{,}600 entries from the Lean tables, following the definitions, and they equal the file; so do the 85 rows of TT that Lean’s interpreter evaluated.

Data. The coloring is the file graph/r1212_1660.graph in [6], in the format of § 4: 1660 lines of 1660 characters, 2,757,260 bytes. The numbering of the vertices of MM in § 2 is the same as in the files of [4, 5]; the rows of the present file are ordered as in § 4. The SHA-256 hash of the file is

07c5cbb696c1d7662870b42e6a1c508e7ef46bf2313f01d297f914e62448867d

Version 1.0.1 of the repository is archived at https://doi.org/10.5281/zenodo.24087657, and https://doi.org/10.5281/zenodo.23963534 refers to all versions. The files of the repository and of [4, 5] number the vertices of CC and II from 0: their cjc_j and iji_j are our cj+1c_{j+1} and ij+1i_{j+1}, and the name 16bar in the outputs of the repository stands for iˉ7\bar{i}_7. The repository also lists the type of every vertex of TT.

How the colorings were found

Table 4 lists our colorings, together with the one given by Tatarevic’s construction. All of them have the shape of § 3: they consist of V∘V^\circ and a typed set TT, and each vertex of TT copies a vertex of Σ\Sigma or has a single color toward V∘V^\circ. Except in the last row, Σ=C∪I\Sigma= C \cup I, so that ∣V∘∣=1576|V^\circ| = 1576, and TT contains the 20 vertices of C∪IC \cup I, as copies of themselves with the colors of MM among them. This Σ\Sigma already contains the antipodal pair {a,b}={i6,c10}\{a,b\} = \{i_6,c_{10}\}, but the proofs of [4, 5] do not use it.

bound∣V∘∣|V^\circ|∣T∣|T|new ingredientsource
1641157664Tatarevic’s construction applied to CC and II[14]
1642157665one more vertex after recoloring 7 pairs[4]
1651157674colors inside TT found by a SAT solvernot released
1658157681the solver also chooses what each vertex copies[5]
1661157585a second antipodal pair; local searchthis paper

Table 4. Colorings of KnK_n with no monochromatic K12K_{12} built from the Mathon–Shearer coloring, where n=∣V∘∣+∣T∣n=|V^\circ|+|T| and the bound is R(12,12)≥n+1R(12,12)\ge n+1. In all but the last, TT contains C∪IC\cup I with the colors of the Mathon–Shearer coloring among these 20 vertices; in the last, all colors inside TT are free.

Tatarevic’s construction, applied to CC and II, already has this shape: each of its 44 new vertices is a copy or has a single color toward V∘V^\circ, so that ∣T∣=64|T| = 64. In [4], recoloring 7 pairs inside TT made room for one more vertex, so that ∣T∣=65|T|=65. The release [4] used Theorem 3.3, without the antipodal rule, as one of its checks; the searches below use the criterion to find colorings. None of the searches is part of a proof: every coloring that we report was checked afterwards, the present one as described in Appendix § 9.

Maximal cliques. Without the antipodal rule, that is, with cap⁡c(D)=1+ωc(D)\operatorname{cap}_c(D)=1+\omega_c(D) for all DD, condition (ii) of Theorem 3.3 only has to be checked for the maximal cc-cliques of TT, after removing their constant vertices of color cˉ\bar{c}. When a vertex is added to a cc-clique K⊆TK\subseteq T, ∣K∣|K| grows by one and ωc(D(K))\omega_c(D(K)) by at most one, so the slack 1+ωc(D(K))−∣K∣1+\omega_c(D(K))-|K| cannot increase; a violation of (ii) therefore persists in every larger cc-clique without a constant vertex of color cˉ\bar{c}. The checks of [4, 5] and the searches of Appendix § 10.§ 1 rely on this. With the antipodal rule the slack can increase (Remark 3.4): if KK contains copies of gg but none of gˉ\bar{g}, adding a copy of gˉ\bar{g} raises the capacity to 11.

From 1641 to 1657 vertices

These searches ran on October 29 and 30, 2026, on a Windows computer. They used Theorem 3.3 without the antipodal rule, with Σ=C∪I\Sigma=C\cup I and the colors among C∪IC\cup I fixed; as explained above, it then suffices to check maximal cliques.

The encoding. With the types of the vertices of TT fixed, every pair inside TT that is not inside C∪IC\cup I is a Boolean variable, true if the pair is red. A cc-clique K⊆TK\subseteq T violates the criterion if ∣K∣≥12|K|\ge12, or if KK has no constant vertex of color cˉ\bar{c} and ∣K∣>1+ωc(D(K))|K|>1+\omega_c(D(K)); its clause says that some pair of KK that is a variable does not have color cc. There are far too many such cliques to write all clauses down, so the solver started with none. Each solution was checked by enumerating the maximal cliques of TT; the clauses of all violated cliques were added, and the solver was run again, until a solution passed the check. Every solution that we kept was checked again by a separately written implementation of the criterion and by the check script of [4].

1650 vertices. Starting from the 45 new vertices of [4], with their types, we added one copy at a time. The vertices of C∪IC\cup I with the fewest copies were tried first, and the first choice for which the solver found a solution within 60 seconds was kept. Already after the first step, the colors found differ from those of [4] in several hundred pairs. The procedure reached 53 new vertices; a second pass, which started the solver from the previous solution and kept the clauses found so far, added a 54th. The 54 new vertices are 11 constant red, 11 constant blue and 32 copies; the constant vertices are those of [4]. For a 55th vertex, every choice timed out except one, which the solver reported infeasible.

1657 vertices. Next the types of the new vertices became variables as well. For each new vertex, indicator variables say which vertex of C∪IC \cup I it copies; at most 4 new vertices copy the same vertex, so that each type has at most 5 vertices, as Proposition 5.1 requires; and the clause of a violated clique also allows that some new vertex of the clique has another type. The constant vertices were already 11 of each color, the most that the criterion allows: since cap⁡c(∅)=1\operatorname{cap}_{c}(\varnothing) = 1, the constant vertices of color cc span a cˉ\bar{c}-clique. So all new vertices are copies. With the solver CaDiCaL 1.9.5 [1], called through PySAT [10], each step added one vertex. From 54 to 60 new vertices the steps took between 10 seconds and 18 minutes, and the 61st vertex took 21 minutes. For a 62nd vertex, none of six solver configurations finished within 30 minutes; this is a time limit, not a proof that no such vertex exists. Symmetry-breaking constraints, and clauses for all violated sets of at most 3 vertices added in advance, did not speed up the search.

From 1657 to 1660 vertices

The present coloring was found on November 3, 2026, on an Apple M4 Mac mini. The search used the exact capacities of Remark 3.5, which include the antipodal rule, with all colors inside TT and all types free. In this setting the method of Appendix § 10.§ 1 did not converge, even with cardinality constraints, and served only to prove that some extensions are impossible; the coloring was found by local search instead. The local search changes one color inside TT or the type of one vertex at a time; it keeps a weight on each violated clique and raises the weights of cliques that stay violated, allows moves that leave the total weight unchanged, and uses a tabu list and random moves.

We started from the 81 vertices of TT in [5], moved the vertex ıˉ7=A675\bar{\imath}_7 = A_{675} from V∘V^{\circ} into Σ\Sigma, so that it became a vertex of TT of its own type, and added one vertex at a time as a twin of an existing vertex: the twin has the type of its model, copies all its colors inside TT and is blue to it, and the local search then repaired the violated cliques. A twin of a vertex of type c10=bc_{10} = b gave 1658 vertices after 105 seconds, and two twins of vertices of type ıˉ7=A675\bar{\imath}_7 = A_{675} gave 1659 and 1660 vertices after 438 and 428 seconds; the times are from the logs of these single runs. The local search changed types as well; only the final counts in Table 2 are claimed.

Negative results

We stop at 1660 vertices for the following reasons. All solver results below use the exact capacities of Remark 3.5, so an infeasible instance has no solution.

  • 1661 vertices. From several 1660-vertex colorings, each with one twin added, the same local search found no 1661-vertex coloring. The best states, from four different starts, still had 3 violated cliques, and the longest runs stayed at 3 for several hours. In one of these states, all violated cliques are red and consist of vertices of types aa and ıˉ7\bar{\imath}_7 only.

  • Many 1660-vertex colorings. Of 41 attempts that added a random twin to one of two 1659-vertex colorings, 21 gave a new 1660-vertex coloring within 15 minutes. Adding a further twin to these gave best states with 3 to 12 violated cliques. So 1660 vertices are easy to reach in this setting, and 1661 vertices are not.

  • Exact repairs. On 23 colorings on 1660 vertices, the present one among them, we added one copy of a vertex of Σ\Sigma and freed the colors of all pairs inside TT with an endpoint in a set UU of 35 to 55 vertices of TT that contained the new vertex; all other colors inside TT and all types were kept. Of the 5,658 instances, which differ in the coloring, the type of the new vertex and UU, the solver showed 5,532 infeasible; each of the others had ∣U∣≥45|U| \ge45 and reached a time or memory limit. None gave a 1661-vertex coloring.

  • More antipodes. Moving further antipodes into Σ\Sigma made the search worse: with the vertex A760A_{760}, the antipode of i8=B760i_{8}=B_{760}, moved into Σ\Sigma, the best state after an hour still had 8 violated cliques, and with the antipodes of all 17 vertices of C∪IC \cup I whose antipodes lie in V∘V^{\circ} moved, it had 193 after half an hour.

  • Without the second pair. With Σ=C∪I\Sigma=C \cup I we found no TT of 82 vertices. Exact solver results rule out many local extensions of the 81-vertex set TT of [5]. For example, adding one vertex, with the types of the others kept, is infeasible for 13 of the 20 types of copies, even with all colors inside TT free; the other 7 cases were not decided, and a constant vertex cannot be added (Appendix § 10.§ 1). For two of the 13 infeasible cases the CNF was generated again by an independent program, a second solver also reported infeasibility, and a DRUP proof was checked by a separately written RUP checker.

The searches are heuristic; apart from the infeasibility results, they prove nothing.

References

  1. [1]CaDiCaL SAT solver, https://github.com/arminbiere/cadical.
  2. [2]L. de Moura and S. Ullrich, The Lean 4 theorem prover and programming language, in Automated Deduction – CADE 28, Lecture Notes in Computer Science 12699, Springer, 2021, 625–635.DOI
  3. [3]lean4export: plain-text declaration export for Lean 4, https://github.com/leanprover/lean4export.
  4. [4]Y. Ma, R(12, 12) ≥ 1642: a colouring of K₁₆₄₁, a Lean proof and computer checks, software repository, 2026, https://github.com/YueMa0/r1212-1642, archived at https://doi.org/10.5281/zenodo.23770924.
  5. [5]Y. Ma, R(12, 12) ≥ 1658: a colouring of K₁₆₅₇, a Lean proof and computer checks, software repository, 2026, https://github.com/YueMa0/r1212-1658, archived at https://doi.org/10.5281/zenodo.23827702.
  6. [6]Y. Ma, R(12, 12) ≥ 1661: a colouring of K₁₆₆₀, a Lean proof and computer checks, software repository, 2026, https://github.com/YueMa0/r1212-1661, archived at https://doi.org/10.5281/zenodo.23963534.
  7. [7]R. Mathon, Lower bounds for Ramsey numbers and association schemes, J. Combin. Theory Ser. B 42 (1987), 122–127.DOI
  8. [8]The mathlib Community, The Lean mathematical library, in Proceedings of the 9th ACM SIGPLAN International Conference on Certified Programs and Proofs (CPP 2020), ACM, 2020, 367–381.
  9. [9]nanoda_lib: a type checker for Lean 4, https://github.com/ammkrn/nanoda_lib.
  10. [10]PySAT: a toolkit for SAT-based prototyping in Python, https://github.com/pysathq/pysat.
  11. [11]S. P. Radziszowski, Small Ramsey numbers, Electron. J. Combin., Dynamic Survey DS1, revision 18, April 24, 2026.
  12. [12]J. B. Shearer, Lower bounds for small diagonal Ramsey numbers, J. Combin. Theory Ser. A 42 (1986), 302–304.DOI
  13. [13]M. Tatarevic, On the Ramsey number R(12, 12), research note, February 14, 2017, https://mtatar.wordpress.com/2017/02/14/r12/.
  14. [14]M. Tatarevic, A constructive two-parameter Ramsey increment, arXiv:2608.06531, 2026.arxiv.org/abs/2608.06531
  15. [15]M. Tatarevic, Ramsey increment theorem: Lean formalization, executable construction, and graph certificates, software repository, 2026, https://github.com/milostatarevic/ramsey-increment-theorem.
  16. [16]X. Xu, Z. Shao and S. P. Radziszowski, More constructive lower bounds on classical Ramsey numbers, SIAM J. Discrete Math. 25 (2011), 394–400.DOI

Paper details

vlnc:W_uvqw8dk8
v1 · latestHistory (1)

published · Fresh — published within the last 30 days

Usage

views · 0

downloads · 0

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

CC BY 4.0

Original source

  • Mathematics

Anthropic Claude Opus Claude Opus 5.5, OpenAI Codex GPT-6 Astra · View statement →

Looking for related papers…
Contents