WorksComputer Science
Climbing the SkyLadder: A Certified Lower Bound of 25 for Kochen-Specker Sets in
Abstract
Can an AI agent find new techniques for a search problem that experts already optimised? Can we trust a "no" answer that the agent's own code produced? We introduce SkyLadder, a protocol for agent-driven research on exact search problems. The agent climbs the problem one size at a time. It develops techniques motivated by measured bottlenecks and records both improvements and dead ends. Certification requires complete coverage by certificate checkers that Lean 4 proves sound. We apply SkyLadder to the minimum Kochen-Specker (KS) problem in , a question from the foundations of quantum mechanics. The best lower bound was 24 vectors. It came from two independent SAT-based searches of about 12,000 CPU-hours each. On one 8-core laptop, the agent's pipeline reproduces every published order from 17 to 23 and matches the published candidate counts exactly. At order 23 it is times faster than the state of the art. Most of the gain comes from one reformulation: the search runs over basis structures instead of vector graphs. The pipeline resolves the next open case: every KS set in has at least 25 vectors. The certificate checks establish that the enumeration is complete. They cover 2.2 million final basis structures across orders 1-24 and validate 1,027 real-algebraic non-embeddability certificates. The retained verification records account for all 1,748,733 required order-24 structures, including supplementary and cube-split checks. Lean proves that the checkers are sound. The trusted base also includes the mathematical specification, Lean and Mathlib, compiled checker execution, certificate-file handling, and assembly of per-process logs. Under this explicit trusted base, the result does not depend on the correctness of the search tools. An ablation and a prior-art audit separate the new techniques from those that the agent rediscovered.
Introduction
AI systems now find new mathematical constructions: a program search proposes an object, and an evaluator scores it [22, 20, 31]. Many open questions in combinatorics have the opposite shape. Their answer is that something does not exist. The proof is an exhaustive search. Progress comes from techniques that make the search smaller, not from one clever object. Here it is harder both to measure and to trust the contribution of an agent.
| Key question. Can an AI agent advance an exhaustive search that experts already optimised? We require two properties. (i) The method attributes every gain to an identifiable technique and says which techniques are new. (ii) The non-existence result does not depend on trust in the agent’s search code. |
Table 1.
The test case. The Kochen–Specker theorem Kochen and Specker, [15] shows that quantum mechanics in dimension at least three admits no non-contextual hidden-variable model. In its proof needs a finite set of vectors that cannot be “coloured” consistently (§ 2). The smallest known such set has 31 vectors and is due to Conway and Kochen [21]. Lower bounds come from exhaustive search: 18 [1], 22 [27], and 24. Two methods reached 24 independently: SAT with computer algebra (SAT+CAS) [16] and SAT Modulo Symmetries (SMS) [14]. Each of these two searches spent about CPU-seconds on order 23 alone. From order 20 on, the cost grew more than per order. The established interval was [24, 31], so order 24 was the next open case.
Two obstacles. First, “the agent beat the baseline” says little unless we know which ideas are new and which re-implement the literature. Second, consider code from an agent that already concluded that the answer is “no”. That code is exactly the code one should not trust. Agent-reported success is known to be unreliable [25].
Our approach. SkyLadder (Figure 1, § 3) makes the agent earn each problem size with one new, measured technique. Thus every gain is attributable, and the protocol keeps rejected ideas as results. The agent may write the search, the certificate generators and the checkers. The result depends on Lean proofs of checker soundness and on complete accepted checks, not on the search implementation. Compiled checker execution, file handling and assembly of the verification records remain in the trusted base (§ 5).

Figure 1. SkyLadder on the minimum KS problem. Left: the agent climbs one order at a time. At least one new technique clears each rung (bold: classed as new in § 6). Below the published bound of 24 the pipeline must reproduce the published record. The left column gives its speed-up over SAT+CAS (Table 3). Certificate checks cover orders 1–24 (green bar). They yield the lower bound of 25 under the trusted base of § 5. Right: the harness. The meta-prompter observes progress and runtimes and sends short prompts: status checks, the next order with a runtime target, and requests for new techniques. The coding agent (Claude Code) proposes and implements a technique, searches with the solvers, and measures the result against the published record. Certification came after the climb and used checkers proved sound in Lean. Profiles and dead ends seed the next rung, and kept techniques accumulate in a toolbox.
Results. On orders 17–23 the agent’s pipeline is to faster than SAT+CAS on one laptop. The gain grows with the order, and the non-colourable candidate counts match the published counts exactly. The principal result is NoKSUpTo 24: every KS set in has at least 25 vectors. It follows from Lean-proved soundness theorems and from accepted enumeration, per-structure and obstruction checks, under the explicit trusted base of § 5. The retained order-24 records account for every required structure and cube partition. Table 4 lists the results through order 24 with their runtimes and verification status.
Table 4. Results through order 24 on the 8-core laptop (CPU: user+sys). aCertification uses checkers proved sound in Lean, under the trusted base of § 5. Search times for orders 17–23 use the pipelines of Table 3. The certified order-24 search time is for the original search with the † shortcuts of Table 2. The certified order-24 run uses none of those shortcuts. Check CPU covers enumeration and per-structure verification (Table 8 lists user CPU only).
Table 1 (PDF p. 3). Positioning. “New result”: a previously unknown mathematical result or record. aDRAT proofs cover the SAT calls. The computer-algebra and enumeration steps are not proof-checked. bThe paper describes how DRAT proofs could be produced and estimates about 5 TB for order 23. The Z3 embeddability steps have no checkable proofs. cOrders up to 24: a checker proved sound in Lean checks every step. The checks are compiled executions assembled from logs, not one kernel-checked proof term (§ 5).
Contributions.
SkyLadder, a protocol and harness for agent-driven technique discovery on exact search problems. It has one measured, new technique per rung, a ratchet with recorded dead ends, and a verification gate (§ 3).
A benchmark result: a pipeline up to times faster than the state of the art. Exact agreement with published candidate counts validates it (RQ1, Section 6.1).
A certified lower bound of 25: NoKSUpTo 24. We establish it with checkers proved sound in Lean and with accepted checks that cover 2,200,309 final basis structures over orders 1–24. The order-24 verification record has complete case coverage. Its checks took 46.6 CPU-hours on one laptop. The trusted base includes compiled execution, file handling and log assembly (RQ2, § 5 and § 6.2).
An analysis of novelty. An ablation attributes the speed-up to individual techniques. A prior-art audit classes each technique as known, transferred or new (RQ3–RQ5, § 6).
Background and related work
KS sets. A finite set is admissible if its vectors are pairwise linearly independent. A 010-colouring maps to so that no two orthogonal vectors are both 1 and every orthogonal basis in contains exactly one 1. A KS set is an admissible set with no 010-colouring. Its orthogonality graph has an edge per orthogonal pair, and its triangles are bases. The orthogonality graph of a minimum KS set has four properties [1, 16]. It is squarefree. It has minimum degree 3, with every vertex in a triangle. It is not 010-colourable. It embeds: some nonzero, pairwise non-parallel vectors realise its edges as orthogonalities. Non-embeddability is the hard, real-algebraic part. Appendix § 9 collects the terms used in this paper.
Previous searches. Arends et al. [ [1] enumerated squarefree graphs with every vertex in a triangle and tested embeddability. Uijlen and Westerbaan [ [27] restricted the class further and improved the embeddability test. Li et al. [ [16] ran orderly generation inside a SAT solver through IPASIR-UP [8]. They parallelised the search by cube-and-conquer and checked surviving candidates with computer algebra. Kirchweger et al. [ [14] used SMS [13] with co-certificate learning: a 010-colouring of a candidate becomes a clause that blocks every candidate it colours. Siddique and Mian [ [23] check the non-embeddability half of the bound of 24 in Lean.
Certified search. CDCL solvers such as CaDiCaL [2] log refutations as DRAT or LRAT proofs, and small verified checkers validate these proofs [4]. Cube-and-conquer [10] made this work for the Boolean Pythagorean triples [11]. For the empty hexagon number, Subercaseaux et al. [ [24] proved the reduction and the encoding sound in Lean. They checked the SAT proofs with the verified checker cake_lpr. Lean 4 [6] can run proved-correct functions as compiled code, which puts the compiler in the trusted base. Xiong et al. [ [28] pair computer-algebra certificates with Lean for known combinatorial identities.
AI for discovery. FunSearch [22] and AlphaEvolve [20] evolve programs that construct objects scored by an evaluator. TTT-Discover [31] trains at test time on such a reward. All three need a continuous score for a candidate construction, and TTT-Discover names sparse, binary rewards as open. LLM-guided search also produced solver components, such as neighbourhoods for MILP [30]. The AI Scientist [17] automates the loop from idea to paper. Yang et al. [ [29] list the discovery of new mathematics with measurable progress as the highest milestone for formal mathematical reasoning. In SkyLadder the output is a sequence of search techniques and a non-existence proof. The evaluator measures CPU cost. Certification requires accepted checks with Lean-proved soundness under a stated trusted base.
SkyLadder
SkyLadder applies to a search problem with an exact answer, a size parameter , and a published cost that grows steeply with . An AI coding agent works on a fixed machine with a shell and a compiler. A human sets the problem and the rules.
Definition 1 (rung). At size the agent holds a pipeline (a set of kept techniques), a profile of at size , and a dead-end log . A rung step proposes a technique motivated by . It validates on sizes where the answer is known and measures its cost at . The step is accepted if improves on and, where a published record exists, beats that record substantially. Then . Otherwise the agent appends to . A result at size is certified only when two conditions hold. First, a proof assistant proves that the checkers are sound. Second, these checkers accept certificates that cover every case, under a stated trusted base (§ 5). Otherwise we report the result as a computational result.
In this study the Lean certification of orders 1–24 came after the climb, when the pipeline was fixed. The definition fixes six rules:
At least one new technique per rung. A measurement motivates each technique: a profile, a slow tail of instances, or a failed idea.
Validate below, measure at the rung. At smaller orders the answers and intermediate counts are known, so these orders catch errors before the errors cost time.
Ratchet with dead ends. Kept techniques stay. The agent records every rejected idea with its measurement.
Beat the record substantially, where one exists. In this study the pipeline beat the record only from order 20 on. The first pipeline (orders 17–19) was slower than SAT+CAS. At order 21, the structure-first pipeline replaced the earlier orderly-generation pipeline.
Honest cost. Every run reports wall-clock time and total CPU (user+sys) on one fixed machine. Here the machine is an Apple M3 laptop with 8 cores and 16 GB.
Verification gate. The agent may write generators and checkers. A checker counts only when its soundness is a Lean theorem, and no search tool is trusted.
Rules 1 and 5 stop the agent from scaling a fixed method with more compute. For each rung, Rules 1–3 produce a measured bottleneck, the technique that answers it, and its gain. This is the raw material of § 6. Rule 6 separates “is the claim true?” from “is the agent’s code correct?”.
The harness. The coding agent is Claude Code (claude-opus-5-5). It calls the solvers and checkers directly from the shell. Certification requires accepted checks by checkers proved sound in Lean. The meta-prompter is a second Claude Code agent, also claude-opus-5-5. It read the literature on the KS problem and related combinatorial searches. It watches progress and runtimes and drives the coding agent’s session through computer use. Its prompts are deliberately simple. Of its 57 messages, 12 set the next order and a runtime target, 4 asked for new techniques, and 21 were status checks. A further 6 prepared the tools and gave the measurement rules, and 3 answered the agent’s questions. The other 11 were more directive: for example, they suggested a search for patterns in the previous order’s candidates, or a positive control. The meta-prompter named no search technique (its setup messages did choose CaDiCaL as the solver) and wrote no code. The broader exploratory session ran over ten days. With verification and writing, it used 5.9 M output tokens and cached input tokens. These session totals include exploratory work outside the certified results reported here.
The pipeline the agent built
Table 2 lists, for each order, the measurement that motivated the new technique and the cost of the pipeline at that point. Orders 17–20 used a first pipeline that followed the published approach: orderly generation inside CaDiCaL, colouring clauses learned during search, and cube-and-conquer. It reached a factor of about 2.5 over SAT+CAS at order 20 and no further. Its order-20 profile showed that CaDiCaL’s propagation used the time, not the agent’s code. Thus a faster implementation of the same search could not help: the search space had to change. That diagnosis led to the structure-first search at order 21.
| measurement at rung | new technique at rung | CPU (s) | gain vs SAT+CAS | |
| 17 | — (start) | orderly generation in CaDiCaL (IPASIR-UP); colouring CEGAR | 21 | 0.9× |
| 18 | one solver leaves 7 cores idle | cube-and-conquer on canonical prefixes; shared colouring clauses | 168 | 0.6× |
| 19 | the same non-embeddable subgraphs are re-found in many cubes | prefix-time pruning with a library of Z3-proven obstructions | 1,716 | 0.3× |
| 20 | 79% of time in cubes whose vertex 0 lies in triangles | two-basis theorem (Thm. 3), dominance lemmas, dynamic splitting | 3,308 | 2.5× |
| 21 | time is in CaDiCaL propagation; a 1/10 sample projects to s | structure-first search: enumerate basis structures with genbg and hereditary pruning; one small SAT problem per structure | 582 | 201× |
| 22 | 98% of time builds clauses in Python; worst structures are highly symmetric | C++ solver linked to CaDiCaL; residual symmetry breaking under ; one-pass enumeration | 317 | |
| 23 | encoding is 2/3 of solver time (k clauses per structure) | lazy squarefree constraints; on-the-fly obstruction discovery (numerical shrinking + Z3) | 1,767 | |
| 24 | colourings are learned one SAT call at a time: 5.8 M calls and 3.6 M colouring clauses at order 23 | exact-transversal clauses; edge-minimality pair filter{sup}†; solver-free precheck{sup}† | 3,623 | — |
Table 2. The rungs. Bold: classed as new in Table 5. CPU is user+sys for the whole run on the laptop, with the pipeline as it was when the agent cleared the rung. Order 23 includes discovering two obstructions. {sup}†Shortcuts argued on paper, used only in the uncertified search.
Basis structures. Write . Here is the union of the triangles of , recorded as the 3-uniform hypergraph of its bases. is the set of remaining edges. is linear (two bases share at most one vector), and its collinearity graph is squarefree, and its only triangles are bases. We call such a hypergraph a basis structure. must add no triangle and no 4-cycle.
Stage 1: enumerate structures. The nauty bipartite generator genbg [19] generates vector–basis incidence graphs up to isomorphism by canonical augmentation [18]. The agent added hooks that reject a partial structure as soon as it has a 4-cycle or a non-basis triangle. Both conditions are hereditary, so the enumeration loses no structure.
Stage 2: one SAT problem per structure. CaDiCaL searches over one variable per non-basis vertex pair. The clauses require no new triangle, no new 4-cycle and minimum degree 3. The solver also learns three kinds of constraint. Colourings: a 010-colouring with ones on yields “some edge of lies inside ”. These are co-certificates in the sense of Kirchweger et al. [ [14]. From order 24 on, the stage-2 program adds them up front as exact transversals of (one vertex from each basis). Obstructions: the stage-2 program matches a non-colourable model against a library of non-embeddable graphs, and a match forbids the matched edges. Lazy squarefree constraints: the stage-2 program adds a clause with more than two free literals only when a model violates that clause. When the structure is fixed, every constraint is invariant under . Lex-leader constraints [3] for its generators therefore break the symmetry.
The order-20 technique is a computer-assisted theorem on KS sets in which every vector lies in at most two bases (Theorem 3, Appendix § 12, not certified in Lean). The structure-first search later subsumed it.
Which solver did the work? Orderly generation inside the SAT solver, the design of SAT+CAS and SMS, first solved orders 17–20. From order 21 on, nauty enumerates the structures and CaDiCaL solves one small problem per structure. The pipeline calls computer algebra only for a non-colourable graph that no known obstruction explains. At order 24 (Figure 2) SAT closes 73.9% of the structures and a solver-free precheck† closes 21.0%. The obstruction library (built by Z3 at earlier rungs) closes the remaining 5.1%, and the pipeline never calls computer algebra. Appendix § 15 covers every order.

Figure 2. The pipeline that solved order 24. Top: the search run (923 s wall, 3,623 s CPU). Computer algebra: Z3’s nlsat [5, 12] or Singular [7]. Bottom: the certified run, without shortcuts (it also keeps one 8-basis structure that the search skips).
Certification in Lean
The certification argument separates general soundness theorems from instance-specific checks. Lean proves the reductions and checker soundness. Compiled executions of those checkers accept the enumeration, per-structure and obstruction certificates. The search tools (nauty, the C++ solver, CaDiCaL, Z3, Singular, an SDP solver and Python scripts) only propose certificates. Figure 3 shows the soundness development and the data that it checks.

Figure 3. Blueprint of the certified bound. Arrows point from a result to the results that use it. Each node names its Lean declarations and file under lean/SkyLadder/. Green: proved in Lean. Grey: Lean’s own verified LRAT checker. Blue, dashed: certificates from untrusted tools (nauty’s genbg, our solver, CaDiCaL, Singular, Z3), accepted only through the named checker. Section 5 lists the trusted base.
Statement. NoKSUpTo says that no admissible set of at most vectors in EuclideanSpace (Fin 3) lacks a 010-colouring. It is 35 lines on top of Mathlib [The mathlib Community, 2020] (Appendix § 10). Lean proves the reductions from vectors to basis structures. The certified pipeline uses none of the † shortcuts of Table 2.
Checkers. Three checkers carry the computation (details in Appendix § 11), enumCheckF accepts a witness that the structure list is complete up to isomorphism. checkSym rebuilds a structure’s CNF in Lean and checks the witness of every learned clause and every symmetry generator. It then runs Lean’s verified LRAT checker on CaDiCaL’s proof (checkSymSplit does the same for a cube split). obsCheck accepts Positivstellensatz-style polynomial certificates of non-embeddability. The conditional soundness theorem, noKS_of_certified_extended, derives NoKSUpTo from accepted checks. The soundness development has 21 files and about 3,200 lines. It contains no sorry and uses only the axioms propext, Classical.choice and Quot.sound. These axiom dependencies describe the soundness proofs. They do not remove the execution assumptions needed to discharge the computational hypotheses of those proofs.
Trusted base. The result trusts the Lean kernel and Mathlib, the 35-line mathematical specification, and the compiler and runtime that execute the checkers. It also trusts certificate-file handling and the assembly of per-process verification records. For structure checks, process of handles indices . Enumeration and cube checks use their documented partitions. The records must accurately describe executions on the stated inputs. We assemble the numerical conclusion from these accepted checks and the soundness theorems. The repository does not contain a single kernel-checked proof term with all data-specific hypotheses of NoKSUpTo 24 discharged. We do not assume that the search and the certificate generators are correct. The Lean sources, certificate inputs and verification logs are public (see Code availability).
Experiments
We ask five questions. RQ1: Does the agent’s pipeline beat the state of the art on the published orders? RQ2: Does it resolve the open case with complete certificate coverage and a stated trusted base? RQ3: Where does the speed come from? RQ4: Which techniques are new? RQ5: Did the verification gate change the work?
Setup. All runs used one Apple M3 laptop (4 performance and 4 efficiency cores, 16 GB). The software was CaDiCaL 3.0.1, nauty 2.8.8, Z3 4.16, Singular 4.4.1 and Lean 4.28 with Mathlib. One exception: a 4-core cloud machine built the cube tree of one order-24 structure. The baselines are the published runs of SAT+CAS [16] and SMS [14]. Their orders 17–21 ran sequentially on a 2.1 GHz Intel Xeon. Their orders 22–23 ran as parallel cube-and-conquer, reported as total CPU. The SAT+CAS figures include DRAT logging. An M3 core is plausibly 1.5–2.5× faster per thread, so we report CPU and treat factors below about 3 as ties.
RQ1: the agent’s pipeline is up to times faster, and exact
Table 3 gives the comparison. The gain grows with , from 4× at order 17 to at order 23. Orders 17–20 use an earlier, slower version of the pipeline, so their gains are understated. The number of basis structures grows about 2–5× per order, while the published cost grows 5–30×. Candidate counts provide an independent cross-check. With embeddability switched off, the pipeline enumerates non-colourable candidates. After canonical labelling the counts equal the published SMS counts at every order from 17 to 23. This agreement supports the implementation. The enumeration and per-structure certificate checks establish that the certified result is complete.
| order | 17 | 18 | 19 | 20 | 21 | 22 | 23 |
| SAT+CAS [16], CPU s | 18 | 108 | 540 | 8,430 | 116,700 | ||
| SMS [14], CPU s | 12 | 72 | 504 | 6,048 | 94,464 | ||
| SkyLadder search, CPU s | 4.4 | 8.0 | 31.6 | 138.5 | 65.0 | 179.7 | 1,767 |
| gain vs SAT+CAS | |||||||
| non-colourable candidates, SMS | 1 | 0 | 8 | 147 | 2,497 | 88,282 | 3,747,950 |
| non-colourable candidates, ours | 1 | 0 | 8 | 147 | 2,497 | 88,282 | 3,747,950 |
| Lean checks, CPU s | 14 | 36 | 110 | 369 | 784 | 3,242 | 33,478 |
Table 3. Benchmark. Search rows: orders 17–20 use the structure-first pipeline, order 21 the order-22 pipeline, and orders 22–23 the order-23 pipeline (order 23 includes discovering two obstructions). Candidates: isomorphism classes of non-colourable graphs that meet the degree, triangle and square-free conditions, with embeddability off. Last row: user+sys CPU of Lean’s checks. This includes the CaDiCaL runs that produce the LRAT proofs but not certificate generation. Figure 4 plots these data.
Figure 4. Total CPU through order 24 (log scale). Orange: the SkyLadder search. Green: user+sys CPU of the enumeration and per-structure certificate checks, under the trusted base of § 5. Grey: SAT+CAS and SMS. Shaded: order 24, which establishes the new lower bound of 25. The numbers along the bottom give the gain of the search over SAT+CAS.
Certification is cheap. At order 23 Lean’s checks cost CPU-seconds, about 1,300 times less than either published search.
RQ2: every KS set in R3 has at least 25 vectors
Theorem 2 (Certified lower bound). Under the trusted base of Section 5, NoKSUpTo 24: every Kochen–Specker set in has at least 25 vectors.
The checkers check orders 1–23 against a library of 1,105 obstructions and order 24 against . adds two new obstructions (15 and 16 vertices). The agent found them when two structures relied on a library graph that had no certificate. Every library entry has an accepted certificate (1,027 real-algebraic, and 80 unused slots that hold ). A library-extension lemma lifts orders 1–23 to without a second run. At order 24, Lean accepted the enumeration (1,748,733 final structures) and every per-structure certificate, with no failure. The checks took 167,884 CPU-seconds (46.6 h) on the laptop. Per-structure LRAT proofs closed all but 67 structures. The 67 needed new engineering, and each step was again a measured failure and a targeted fix. The cube-generation scripts partitioned 64 hard structures into 7,490 cubes. They partitioned one structure of 8 disjoint bases, with a large symmetry group and little propagation, into 38,380 cubes. Two structures needed the new obstructions. Appendix § 13 gives the full accounting and Appendix § 14 the certificate data for every order.
Verification coverage. The 35 primary structure-check parts account for 1,748,729 distinct order-24 structures. Four supplementary structure identities fill exactly their complement in the 1,748,733-entry final list, with no overlap or remaining gap. All 12 parts of the 38,380-cube check are present, including the coverage check in part 0. The enumeration checks and all 1,107 obstruction-library entries also have accepted records. This accounting establishes complete recorded verification coverage. It relies on the execution and provenance assumptions in § 5.
RQ3: one reformulation, then engineering
Figure 7 (Appendix § 16) shows the measured effect of each kept technique on the same instance before and after. We measured the rows on different orders, so they are not additive. The structure-first search alone gives at order 20 over the best orderly-generation pipeline. At order 21 it gives about (projected to 582 CPU-seconds). Every other technique gives –. The large gain therefore comes from a change in what is searched. Both baselines use orderly generation, which builds graphs vertex by vertex. It must rediscover the basis structure of each candidate many times inside the solver. Our pipeline enumerates basis structures first, with a mature isomorph-free generator. This removes that redundancy and leaves a small problem per structure (at order 24, 8.22 million SAT calls for 1.75 million structures). After the reformulation, most search work scales with the number of structures. A thin tail of sparse, highly symmetric structures dominates the difficult cases. At order 24, certification of this tail requires the cube splits and supplementary checks described in Appendix § 13.
Figure 7. Ablation: CPU before (grey) and after (orange) each kept technique, measured on the instance shown. The structure-first search is the only change worth more than an order of magnitude on its own.
RQ4: a few new ideas, several transferred, some rediscovered
Table 5 classes each kept technique against the closest prior work that we know. The classes are known (already used for this problem), transferred (standard elsewhere but, to our knowledge, new here) and new (no precedent found). The audit is ours, not the agent’s. We did not use independent raters, and we invite corrections, especially against Arends et al. [ [1] and Uijlen and Westerbaan [ [27]. The picture is mixed. Most rungs rediscovered or transferred known ideas. Rungs 17–19 rebuilt the published approach and ran slower than it. The decisive idea, the structure-first search, is new for this problem as far as we can tell. However, it combines a known reduction with a known generator and is not an exotic invention. The protocol added the diagnosis that led to it. At rungs 17–24 the agent also recorded 25 rejected ideas with their measurements, about as many as it kept (Appendix § 16). Examples are an auxiliary-variable squarefree encoding (+9%), the full obstruction library instead of its 40 most useful entries (+29%), and fully lazy squarefree constraints (944 million lazy clauses).
| technique (rung) | class | closest prior work and what differs |
| orderly generation in the solver (17) | known | Li et al. [ [16]; SMS Kirchweger and Szeider, [13] |
| colouring CEGAR (17) | known | co-certificate learning Kirchweger et al., [14] |
| cube-and-conquer (18) | known | Heule et al. [ [10]; used by both baselines |
| obstruction library as learned clauses (19, 23) | transferred | to our knowledge the baselines check embeddability after the search; here obstructions are clauses inside the search, found and proved on the fly |
| two-basis theorem (20) | new | a new computer-assisted result (Thm. 3) |
| structure-first search (21) | new | earlier work restricts to graphs with every vertex in a triangle Arends et al., [1]; Uijlen and Westerbaan [27] but enumerates graphs; we enumerate the basis hypergraph with genbg and hereditary pruning, then solve one SAT problem per structure |
| residual symmetry breaking (22) | transferred | lex-leader Crawford et al., [3] and canonical augmentation McKay, [18] are standard; combining them (isomorph-free on the structure, lex-leader on the completion) is new here |
| lazy squarefree constraints (23) | transferred | lazy clause generation; Li et al. [ [16] encode squarefreeness with static clauses |
| exact-transversal clauses (24) | new | SMS learns colourings one at a time; here every colouring of the structure is enumerated as an exact transversal of and added up front |
| polynomial obstruction certificates in Lean (cert.) | transferred | concurrent with Siddique and Mian [ [23]; computer-algebra embeddability checks are used by Li et al. [ [16] |
| certified isomorph-free enumeration (cert.) | new | to our knowledge no proof-assistant check of a canonical-augmentation enumeration at this scale; Subercaseaux et al. [ [24] needed no isomorph rejection |
| library extension; cube-index splitting (24, cert.) | engineering | small, but necessary for the result |
Table 5. Novelty audit of the kept techniques of rungs 17–24. “cert.”: part of the certified pipeline only.
RQ5: verification changed the work, not only the claim
Lean rejected certificates twice during development. Both times the cause was a real bug in the agent’s generator. The first bug was self-pair literals in transversal and degree clauses. The second was 4-cycle clauses that the generator used but did not print. Both bugs were in the certificate generator, not the search, and made certificates incomplete, not wrong. The candidate-count check tests the search, so it could not find these bugs. Lean rejected all five deliberately tampered obstruction certificates. Verified symmetry breaking also made certification feasible. Without it, an order-18 structure of 6 disjoint bases ran for more than 42 minutes and produced a 977 MB proof. With it, the structure closes at once.
Limitations
Table 6 grades the evidence behind each claim.
| claim | evidence |
| no KS set with vectors | accepted checks with Lean-proved soundness and complete recorded coverage, under the trusted base of § 5 |
| candidate-count reproduction, orders 17–23 | exact agreement with independently published counts; a cross-check, not the certification argument |
| speed-ups over SAT+CAS and SMS | single timed runs, compared with published runs on other hardware |
| novelty classes (Table 5) | the authors’ literature audit; no independent raters |
| SkyLadder as a protocol | one exploratory climb on one problem, not preregistered |
Table 6. Strength of evidence for each claim.
Trusted base. Certification relies on compiled checker execution, file handling and accurate assembly of the retained records. It also relies on the Lean kernel, Mathlib and the mathematical specification. The numerical bound is not packaged as one fully instantiated kernel-checked proof term. Complete log accounting establishes coverage, not independent replay of every historical proof check.
Hardware. The gaps at orders 18–23 exceed any plausible hardware factor. The at order 17 does not.
Attribution. The meta-prompter named no search technique, so we attribute the techniques to the coding agent. A human chose the problem and set the rules. Some messages did set a direction. For example, the two-basis theorem followed a suggestion to search for patterns and prove a conjecture, though the statement and proof are the agent’s. We did not measure how the result depends on the meta-prompter’s wording or on the choice of coding agent.
Generality. We applied SkyLadder to one problem. Transfer to other searches is open.
Conclusion
SkyLadder establishes that every Kochen–Specker set in has at least 25 vectors. It uses certificate checkers proved sound in Lean and complete recorded verification coverage through order 24. The trusted base includes compiled checker execution, file handling and assembly of the accepted checks. The structure-first reformulation also reproduces the published candidate counts. It yields a search up to times faster at the last published order. The central contribution combines measured technique discovery with a certification argument that covers enumeration, SAT refutations and real-algebraic obstructions. A fully instantiated proof term for the accepted computations would further reduce reliance on external assembly.
Code availability
The proof artifacts for orders 1–24 are public at https://github.com/BrianLi009/KS24 (release v1.0.0, commit 88c9702). The repository contains four groups of files. lean/ has the Lean soundness development and the source of the compiled checker. data/ has both obstruction libraries and the certificate blocks for the 67 hard cases of order 24. logs/ has the retained verification logs for every order. audit/coverage.json is a coverage audit that reconciles those logs with the final structure lists by exact identity. The large certificate inputs (98 files, 11.0 GB decoded) are release assets, each with a SHA-256 hash in the repository’s manifest. These hashes bind the published files. The historical logs do not record a hash of every input for every run. The checking driver removed the temporary LRAT files after it checked them, and we did not archive these proofs. A new run of the checkers regenerates and verifies them, and the repository gives the full 103-job recheck plan. We did not repeat that full recheck for the release. The search code and certificate generators are available from the authors on request. We will release them publicly in a later version of this paper.
Use of AI
The AI agent described in § 3 wrote the search code, the certificate generators and most of the Lean development. This is the subject of the paper.
Glossary
010-colouring. A map with no two orthogonal vectors both 1 and exactly one 1 in every orthogonal basis.
KS set. An admissible (pairwise non-parallel) set of vectors with no 010-colouring.
Order . The number of vectors. “Order is certified” means that checkers proved sound in Lean accepted complete certificates. These certificates exclude every KS set with exactly vectors, under the trusted base of § 5.
Embedding. Nonzero, pairwise non-parallel vectors in that realise every edge of a graph as an orthogonality (non-edges unconstrained).
Obstruction. A graph with no embedding. Any graph that contains it also has no embedding.
Basis structure. The hypergraph of bases (triangles) of an orthogonality graph. It is linear, its collinearity graph is squarefree (two vectors are adjacent when they share a basis), and it has no other triangles.
Canonical augmentation. McKay’s method for generating combinatorial objects with exactly one representative per isomorphism class.
Lex-leader constraint. A clause set that removes assignments lexicographically smaller than their image under a symmetry. At least the lexicographically largest assignment of each orbit stays.
CEGAR. Counterexample-guided refinement: solve, check the model, and add a clause that excludes the model if it is spurious.
Cube-and-conquer. A method that splits a SAT instance into cubes (partial assignments). The cubes cover all cases, and the solver solves each cube separately.
DRAT / LRAT. Proof formats for SAT refutations. LRAT adds hints so that a small verified checker can validate the proof quickly.
Positivstellensatz-style certificate. A polynomial identity which shows that a system of real polynomial equations has no solution. Exact arithmetic checks the identity.
The statement
The definitions of Spec.lean (35 lines with imports and comments), followed by the final theorem:
abbrev V3 := EuclideanSpace ℝ (Fin 3)
def NonPar (x y : V3) : Prop := LinearIndependent ℝ ![x, y]
def Admissible (V : Finset V3) : Prop := ∀ x ∈ V, ∀ y ∈ V, x ≠ y → NonPar x y
def Orth (x y : V3) : Prop := inner ℝ x y = 0
def VColouring (V : Finset V3) (f : V3 → Bool) : Prop :=
(∀ x ∈ V, ∀ y ∈ V, Orth x y → ¬ (f x = true ∧ f y = true)) ∧
(∀ x ∈ V, ∀ y ∈ V, ∀ z ∈ V, x ≠ y → y ≠ z → x ≠ z →
Orth x y → Orth y z → Orth x z →
f x = true ∨ f y = true ∨ f z = true)
def IsKS (V : Finset V3) : Prop := Admissible V ∧ ¬ ∃ f, VColouring V f
def NoKSUpTo (N : Nat) : Prop := ∀ V : Finset V3, V.card ≤ N → ¬ IsKS V
theorem noKS_of_certified_extended (M N : N) (lib ext : Array Obs)
(hlib : ∀ H ∈ (lib ++ ext).toList, ∃ c, obsCheck H c = true)
(hlow : ∀ n, 1 ≤ n → n ≤ M → OrderCertified lib n)
(hhigh : ∀ n, M < n → n ≤ N → OrderCertified (lib ++ ext) n) : NoKSUpTo N
We apply the final theorem with , , lib = , and ext set to the two new obstructions.
Certificate checkers
enumCheckFchecks a level-by-level witness that the structure list is complete up to isomorphism (enumComplete_of). For every candidate new basis, either a local test rejects it or a given permutation maps it onto a listed structure.enumCheck_of_structssplits the check by structure, so the check runs in parallel with bounded memory.checkSymworks on one structure. It builds the structure’s CNF inside Lean. It checks the witness of every learned clause (a colouring, or an obstruction index with an injective map). It checks that each symmetry generator is an automorphism. It runs Lean’s verified LRAT checker on CaDiCaL’s proof.checkSym_soundproves that the lex-leader constraints preserve satisfiability.checkSymSplitadds cube splits, with a coverage proof and one LRAT proof per cube.obsCheckchecks real-algebraic non-embeddability certificates. One triangle is fixed to , , . The other vertices are placed by cross products or in projective normal form, which gives a complete case split. Each case closes by polynomial identities with . The certificate-generation scripts construct the identities with Singular, exact LDL factorisations, or a rounded SDP [9].LibExtend.leanproves that every accepted check stays accepted when entries are appended to the obstruction library. Thus order 24 could use two new obstructions without a new check of orders 1–23.
Proof outline of the two-basis theorem
Theorem 3 (two-basis case; computer-assisted). No KS set in with 20 vectors has every vector in at most two of its bases.
Let be the graph whose nodes are the bases and whose edges are the vectors shared by two bases.
Two bases that share two vectors are equal. Three bases that pairwise share a vector force those three vectors to be mutually orthogonal. The three vectors then form a fourth basis, and some vector lies in three bases. A 4-cycle of bases forces two parallel vectors. So is simple, with girth at least 5 and maximum degree 3.
Counting gives , and the covering lemma gives at . (Covering lemma: every KS set in has at least 9 bases. For a unit , the vectors with are pairwise non-orthogonal. They meet every basis unless lies in the corner region of that basis, about 12.1% of the sphere. With at most 8 bases some lies in no corner region, which gives a 010-colouring.)
geng(nauty [19]) lists exactly 330 such . For each , a SAT search over the extra edges with colouring and obstruction CEGAR is unsatisfiable. The 330 searches take 21 s in total.
This theorem is not certified in Lean: it relies on geng, CaDiCaL and Z3-proved obstructions.
Order 24: full accounting
| stage | wall | CPU (s) | result |
| 1. enumeration (untrusted) | 1,373 s | 1,373 | 2,200,310 partial structures, 19 levels |
| 2. Lean enumeration check (2 parts) | 9,186 s | 17,434 | accepted; 1,748,733 final structures |
| 3. certificates (untrusted) | — | — | all but 67 closed by one LRAT proof each |
| 3. cube trees, 65 hard structures | 8.8 ha | — | 45,870 cubes |
| 4. Lean per-structure check (35 parts) | 7.8 h | 123,271 | 1,748,729 accepted, 0 failed, 4 missing |
| 4. Lean check, 8-disjoint-bases structure (12 parts) | 1.4 h | 27,105 | 38,380 cubes and coverage accepted |
| 4. Lean check, 3 remaining structures | 105 s | 73 | accepted |
Table 7. The certified order-24 run on the laptop. CPU is user+sys. aCube tree of the 8-disjoint-bases structure, built on a 4-core cloud machine. The Lean-side total for order 24 is 167,884 CPU-seconds (46.6 h, rows are rounded).
The 35 per-structure parts checked 1,748,729 structures with no failure. The checker reported the other four as missing, not failed. The four parts that contain them (0, 1, 6 and 24) exited with an error status. A separate run then accepted each of the four:
the 8-disjoint-bases structure, in 12 cube parts with coverage in part 0,
the two structures that need ,
one hard structure whose certificate block was unreadable in the combined certificate file.
The supplementary structure identities are exactly the four missing primary identities (zero-based final-list indices 0, 1, 818341 and 1724404). Thus the accepted primary and supplementary sets are disjoint and their union is the full final list. A supplementary run checks one structure of its part and therefore reports the rest of that part as missing. Coverage rests on this identity accounting, not on the exit status of any single run. The 12 cube-check parts cover all 38,380 cube indices, and part 0 also accepts the Boolean coverage check. The two enumeration parts account for all 2,200,310 rows across 19 levels. Library checks cover every base-library index 0–1104 and the two appended indices 1105 and 1106. These are statements about the retained verification record, with the execution and provenance assumptions of § 5. The repository’s coverage audit (scripts/audit_coverage.py, output in audit/coverage.json) reproduces this accounting from the published inputs and logs. Peak memory was 1.79 GB per process. Over orders 1–24, Lean checked 2,200,309 final structures with no failure. This is exactly one fewer than the 2,200,310 rows of the order-24 enumeration. That enumeration has one row for every structure at most 24 vectors, plus the empty structure at level 0. The same relation holds at every order in Table 8. The per-structure checks took about 41 CPU-hours (user) and the enumeration checks 6.6, or 57.2 hours with system time (Figure 5, Table 8).
Figure 5. Left: final structures per order. Right: user CPU of the Lean checks. The per-structure check grows about 3–4× per order through order 22. It then grows 13× and 5× at orders 23 and 24, where hard structures need cube splits.
Table 8: Every verified order. “Structures” and “witnesses” count all levels of the enumeration certificate. “Final” is the number of structures on exactly vectors. Sources: the per-order run logs. The acceptance records are in logs/ of the public repository. The order-24 per-structure time sums the 35 parts and the four separately checked structures (Appendix § 13).
| levels | structures | witnesses | final | checkSym | checkSymSplit (cubes) | library | enum. | checks | failed | |
| 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0.01 | 0 | |
| 2 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0.01 | 0 | |
| 3 | 2 | 2 | 1 | 1 | 1 | 0 | 0 | 0.01 | 0 | |
| 4 | 2 | 2 | 4 | 0 | 0 | 0 | 0 | 0.01 | 0 | |
| 5 | 3 | 3 | 13 | 1 | 1 | 0 | 0 | 0.01 | 0 | |
| 6 | 3 | 4 | 30 | 1 | 1 | 0 | 0 | 0.01 | 0 | |
| 7 | 4 | 6 | 71 | 2 | 2 | 0 | 0 | 0.01 | 0 | |
| 8 | 4 | 7 | 136 | 1 | 1 | 0 | 0 | 0.01 | 0 | |
| 9 | 5 | 12 | 285 | 5 | 5 | 0 | 0 | 0.01 | 0 | |
| 10 | 6 | 16 | 494 | 4 | 4 | 0 | 0.01 | 0.02 | 0 | |
| 11 | 6 | 25 | 923 | 9 | 9 | 0 | 0.06 | 0.03 | 0 | |
| 12 | 7 | 35 | 1,658 | 10 | 10 | 0 | 0.13 | 0.05 | 0 | |
| 13 | 8 | 60 | 3,012 | 25 | 25 | 0 | 0.32 | 0.12 | 0 | |
| 14 | 9 | 91 | 5,244 | 31 | 31 | 0 | 0.65 | 0.19 | 0 | |
| 15 | 11 | 169 | 9,998 | 78 | 78 | 0 | 1.60 | 0.52 | 0 | |
| 16 | 11 | 288 | 18,464 | 119 | 119 | 0 | 3.72 | 1.09 | 0 | |
| 17 | 12 | 598 | 36,524 | 310 | 310 | 0 | 9.49 | 3.25 | 0 | |
| 18 | 13 | 1,248 | 75,089 | 650 | 650 | 0 | 25 | 8.66 | 0 | |
| 19 | 14 | 3,153 | 169,659 | 1,905 | 1,905 | 0 | 72 | 30 | 0 | |
| 20 | 15 | 8,576 | 416,167 | 5,423 | 5,423 | 0 | 244 | 100 | 0 | |
| 21 | 16 | 28,196 | 1,178,952 | 19,620 | 19,620 | 0 | 258 | 421 | 0 | |
| 22 | 17 | 104,388 | 3,826,507 | 76,192 | 76,192 | 0 | 819 | 1,772 | 0 | |
| 23 | 18 | 451,577 | 14,705,862 | 347,189 | 347,188 | 1 (1,665) | 5,083 | 23,839 | 0 | |
| 24 | 19 | 2,200,310 | 65,833,376 | 1,748,733 | 1,748,668 | 65 (45,870) | 17,098 | 122,595 | 0 | |
| total | 2,200,309 | 2,200,243 | 66 (47,535) | 23,616 | 148,771 | 0 |
Table 8.
Lean blueprint, and the verification obligations at each rung
Figure 3 shows the conditional Lean soundness theorems used to establish NoKSUpTo 24. Every green node is a Lean theorem with no sorry. The grey node is the LRAT checker that ships with Lean, and Lean proves that this checker is sound. Blue nodes are certificate data produced by untrusted tools. Only a checker reads each blue node (dashed arrows), and the soundness theorem of that checker sits directly above it. The top conclusion additionally relies on compiled checker execution and assembly of the accepted records, as stated in § 5. The proof has the same shape for every order . noKS_of_comb inducts on the number of vectors. reduce converts a minimum KS set into a reduced graph whose vertices all lie in triangles and which contains no library graph. OrderCertified lib n excludes every such graph on vertices. From order to order, only the certificate data supplied to OrderCertified changes: the enumeration witness and the per-structure certificates . All orders share the obstruction library.
Table 8 gives the certificate data for every verified order separately. Order 0 needs no certificate (combOrder_zero). For each order, enumCheckF accepted the enumeration witness. checkSym accepted every final structure or, for structures split into cubes, checkSymSplit accepted it. No check failed. The checkers check orders 1–23 against the library (1,105 graphs). They check order 24 against , which appends two new obstructions. orderCertified_append lifts orders 1–23 to without a new run. obsCheck accepted certificates for all 1,107 library graphs.
Figure 6 shows the facts that a certification of the search pipeline at each rung must establish. Each new technique changes this set. The structure-first pipeline at order 21 replaces the two-basis proof branch with an enumeration of basis structures and SAT searches over their completions. Thus it no longer needs the two-basis theorem, the geng list of basis graphs, or the vertex-0 dominance restriction. It also removes the obligations of orderly generation and of the whole-order UNSAT proof. It adds obligations for the structure enumeration and for each structure. The two shortcuts at order 24 add obligations that are argued only on paper. At orders 21–24 the search still uses the covering lemma to skip structures with at most 8 bases. The certified pipeline keeps these structures and does not use the shortcuts. Thus it does not have these obligations. Columns 17–24 are an analysis of the search pipelines. Only the last column describes checks that were run.

Figure 6. Verification obligations at each rung. Columns 17–24 show what a certification of the search pipeline at that rung must establish. These columns are an analysis, not certified runs. Order 17 is the starting set. Orange: an obligation that the technique of that rung adds. Grey: an obligation that stays. ×: an obligation that is no longer necessary. The last column shows the certified pipeline for orders 1–24. Green: established by a Lean proof or an accepted check. Green with a border: added for certification. The certified pipeline does not use the covering lemma or the † shortcuts of Table 2. It keeps the structures with at most 8 bases and checks them directly. At order 24 these include the structure with 8 disjoint bases.
The pipeline at every order
Table 9 lists the components of the pipeline that first solved each order. Table 10 shows how the structure-first pipeline closed the structures of each order. “Orderly generation in SAT” is the design of SAT+CAS [16] and SMS [14]: the solver builds the graph, and a canonicity check prunes non-canonical partial graphs. The agent used it only for orders 17–20 and never used the SMS tool itself.
Table 9: Components of the pipeline that first solved each order (Table 2). The structure-first pipeline later solved orders 17–20 again and certified orders 1–24. “nauty” symmetry breaking means isomorph-free enumeration by genbg. In the certified run only: the hardest structure at order 23 and the 65 hardest at order 24. The obstruction library is built from Z3 and Singular proofs, and obsCheck checks it in Lean. An exact case analysis with Gröbner bases in SymPy showed that the single order-17 candidate is non-embeddable. Order 18 had no candidate.
| orderly gen. in SAT | cube-and-conquer | nauty enum. + SAT per structure | symmetry breaking | obstruction library | Z3 nlsat | Gröbner bases | certified in Lean | |
| 17 | ✓ | – | – | canonicity | – | – | SymPy | ✓ |
| 18 | ✓ | ✓ | – | canonicity | – | – | – | ✓ |
| 19 | ✓ | ✓ | – | canonicity | ✓ | ✓ | – | ✓ |
| 20 | ✓ | ✓ | – | canonicity | ✓ | ✓ | – | ✓ |
| 21 | – | – | ✓ | nauty | ✓ | ✓ | – | ✓ |
| 22 | – | – | ✓ | nauty + Aut() | ✓ | ✓ | – | ✓ |
| 23 | – | 1 structure | ✓ | nauty + Aut() | ✓ | ✓ | – | ✓ |
| 24 | – | 65 structures | ✓ | nauty + Aut() | ✓ | ✓ | – | ✓ |
Table 9.
Table 10: Recorded stage-2 outcomes through order 24 (CPU: user+sys, stage 2 only for the certified rows, the whole run for the search rows). “Certified” rows produced certificates that Lean-proved checkers checked later. Exact-transversal contradictions can close a structure without a SAT call. “Search” rows describe the original discovery runs. Table 8 gives the independent certificate coverage. The search skips structures with at most 8 bases, by the covering lemma (Appendix § 12). The certified enumeration keeps them, which gives one more structure at orders 23 and 24. A first pass left two graphs unresolved. Z3 proved them non-embeddable, and they went into the library before this run. Table 2 includes that discovery. Closed by the solver-free precheck without a SAT call.
| run | structures | no SAT call (trans./precheck) | SAT: UNSAT | obstruction library | computer algebra | SAT calls | CPU (s) | |
| 17 | certified | 310 | 174 | 135 | 1 | 0 | 136 | 0.3 |
| 18 | certified | 650 | 280 | 370 | 0 | 0 | 370 | 0.7 |
| 19 | certified | 1,905 | 881 | 1,020 | 4 | 0 | 1,024 | 2.4 |
| 20 | certified | 5,423 | 2,069 | 3,339 | 15 | 0 | 3,369 | 8.4 |
| 21 | certified | 19,620 | 6,868 | 12,651 | 101 | 0 | 13,134 | 9.8 |
| 22 | certified | 76,192 | 22,019 | 53,112 | 1,061 | 0 | 64,290 | 39.6 |
| 23 | search | 347,188 | – | 340,722 | 6,466 | 0 | 5,795,924 | 1,190 |
| 24 | search | 1,748,732 | 366,417 | 1,292,722 | 89,593 | 0 | 8,223,901 | 3,623 |
Table 10.
Ablation sources and measured dead ends
Ablation (Figure 7). All values are CPU-seconds.
Order 20: the full orderly search takes 27,298. With the two-basis theorem, dominance and splitting it takes 3,308. Structure-first takes 138.5.
Order 21: structure-first in Python takes 581.7. C++ with residual symmetry takes 65.0. Symmetry alone changes the solver stage from 162 to 60.
Order 22: enumeration per number of bases 187, one-pass enumeration 19.6.
Order 23: lazy squarefree constraints on a 1/20 sample, 84 to 47.
Order 22: the rung-24 bundle, 179.7 to 33.6.
Rejected ideas (25).
Orders 17–20 (12): an edge-only partial-colourability propagator, lookahead cubes, vertex-criticality witnesses, partial-assignment canonicity, 3-cycle lex-leader, sharing learned or canonicity clauses between workers, pre-seeding all colouring clauses, an auxiliary-variable squarefree encoding (+9%), “forgettable” canonicity and obstruction clauses (+20%), LPT cube ordering, CaDiCaL retuning, a computational proof of the two-basis case inside the main solver.
Rung 21 (6), screened at : a vertex-0 degree clause (+67%), the full obstruction library instead of the top 40 (+29%), cube depth 11 or 13, at least vertices in three or more triangles (+45% to 4×), structure enumeration by adding vectors one at a time (stalled), structure enumeration by SAT (timed out).
Rung 22 (1): a covering-based prune inside genbg (no effect).
Rung 23 (4): fully lazy squarefree constraints (944M lazy clauses), eager threshold 2 (more SAT calls), phase 0 (no effect), shrinking by edge deletion (over-shrank to an unproven graph).
Rung 24 (2): extra random group elements for lex-leader (slower), lazy edge-minimality cuts (never fire).
References
- [1]Felix Arends, Joël Ouaknine, and Charles W. Wampler. On searching for small Kochen–Specker vector systems. In Graph-Theoretic Concepts in Computer Science (WG 2011), volume 6986 of LNCS. Springer, 2011.DOI
- [2]Armin Biere, Tobias Faller, Katalin Fazekas, Mathias Fleury, Nils Froleyks, and Florian Pollitt. CaDiCaL 2.0. In Computer Aided Verification (CAV 2024), volume 14681 of LNCS. Springer, 2024.DOI
- [3]James Crawford, Matthew Ginsberg, Eugene Luks, and Amitabha Roy. Symmetry-breaking predicates for search problems. In Principles of Knowledge Representation and Reasoning (KR 1996), 1996.
- [4]Luís Cruz-Filipe, Marijn J. H. Heule, Warren A. Hunt, Matt Kaufmann, and Peter Schneider-Kamp. Efficient certified RAT verification. In Automated Deduction – CADE 26, volume 10395 of LNCS. Springer, 2017.
- [5]Leonardo de Moura and Nikolaj Bjørner. Z3: An efficient SMT solver. In Tools and Algorithms for the Construction and Analysis of Systems (TACAS 2008), volume 4963 of LNCS. Springer, 2008.DOI
- [6]Leonardo de Moura and Sebastian Ullrich. The Lean 4 theorem prover and programming language. In Automated Deduction – CADE 28, volume 12699 of LNCS. Springer, 2021.DOI
- [7]Wolfram Decker, Gert-Martin Greuel, Gerhard Pfister, and Hans Schönemann. Singular 4-4-1 — a computer algebra system for polynomial computations. https://www.singular.uni-kl.de, 2025.
- [8]Katalin Fazekas, Aina Niemetz, Mathias Preiner, Markus Kirchweger, Stefan Szeider, and Armin Biere. IPASIR-UP: User propagators for CDCL. In Theory and Applications of Satisfiability Testing (SAT 2023), volume 271 of LIPIcs, 2023.DOI
- [9]Paul J. Goulart and Yuwen Chen. Clarabel: An interior-point solver for conic programs with quadratic objectives. arXiv:2405.12762, 2024.arxiv.org/abs/2405.12762
- [10]Marijn J. H. Heule, Oliver Kullmann, Siert Wieringa, and Armin Biere. Cube and conquer: Guiding CDCL SAT solvers by lookaheads. In Hardware and Software: Verification and Testing (HVC 2011), volume 7261 of LNCS. Springer, 2011.DOI
- [11]Marijn J. H. Heule, Oliver Kullmann, and Victor W. Marek. Solving and verifying the Boolean Pythagorean triples problem via cube-and-conquer. In Theory and Applications of Satisfiability Testing (SAT 2016), volume 9710 of LNCS. Springer, 2016.DOI
- [12]Dejan Jovanović and Leonardo de Moura. Solving non-linear arithmetic. In Automated Reasoning (IJCAR 2012), volume 7364 of LNCS. Springer, 2012.
- [13]Markus Kirchweger and Stefan Szeider. SAT modulo symmetries for graph generation. In Principles and Practice of Constraint Programming (CP 2021), volume 210 of LIPIcs, 2021.DOI
- [14]Markus Kirchweger, Tomáš Peitl, and Stefan Szeider. Co-certificate learning with SAT modulo symmetries. In Proceedings of the Thirty-Second International Joint Conference on Artificial Intelligence (IJCAI 2023), pages 1944–1953, 2023.arxiv.org/abs/2306.10427
- [15]Simon Kochen and Ernst P. Specker. The problem of hidden variables in quantum mechanics. Journal of Mathematics and Mechanics, 17(1):59–87, 1967.
- [16]Zhengyu Li, Curtis Bright, and Vijay Ganesh. A SAT solver + computer algebra attack on the minimum Kochen–Specker problem. In Proceedings of the Thirty-Third International Joint Conference on Artificial Intelligence (IJCAI 2024), 2024. arXiv:2306.13319.DOI
- [17]Chris Lu, Cong Lu, Robert Tjarko Lange, Jakob Foerster, Jeff Clune, and David Ha. The AI Scientist: Towards fully automated open-ended scientific discovery. arXiv:2408.06292, 2024.arxiv.org/abs/2408.06292
- [18]Brendan D. McKay. Isomorph-free exhaustive generation. Journal of Algorithms, 26(2):306–324, 1998.DOI
- [19]Brendan D. McKay and Adolfo Piperno. Practical graph isomorphism, II. Journal of Symbolic Computation, 60:94–112, 2014.
- [20]Alexander Novikov et al. AlphaEvolve: A coding agent for scientific and algorithmic discovery. arXiv:2506.13131, 2025.arxiv.org/abs/2506.13131
- [21]Asher Peres. Quantum Theory: Concepts and Methods. Kluwer Academic Publishers, 1993.
- [22]Bernardino Romera-Paredes et al. Mathematical discoveries from program search with large language models. Nature, 625, 2024.
- [23]Shayaan Siddique and Ibrahim Mian. Machine-checked certificates for the geometric half of the minimum Kochen–Specker bound. arXiv:2607.26413, 2026.arxiv.org/abs/2607.26413
- [24]Bernardo Subercaseaux, Wojciech Nawrocki, James Gallicchio, Cayden Codel, Mario Carneiro, and Marijn J. H. Heule. Formal verification of the empty hexagon number. In Interactive Theorem Proving (ITP 2024), volume 309 of LIPIcs, 2024.
- [25]Jiabin Tang, Lianghao Xia, Zhonghang Li, and Chao Huang. AI-Researcher: Autonomous scientific innovation. In Advances in Neural Information Processing Systems (NeurIPS 2025), 2025.arxiv.org/abs/2505.18705
- [27]Sander Uijlen and Bas Westerbaan. A Kochen–Specker system has at least 22 vectors. New Generation Computing, 34(1), 2016.DOI
- [28]Beibei Xiong, Hangyu Lv, Junqi Liu, Yisen Wang, Shaoshi Chen, Jianlin Wang, Zhengfeng Yang, and Lihong Zhi. Automated formal proofs of combinatorial identities via Wilf–Zeilberger guidance and LLMs. In Proceedings of the 43rd International Conference on Machine Learning (ICML 2026), 2026.arxiv.org/abs/2605.04472
- [29]Kaiyu Yang, Gabriel Poesia, Jingxuan He, Wenda Li, Kristin Lauter, Swarat Chaudhuri, and Dawn Song. Position: Formal mathematical reasoning—a new frontier in AI. In Proceedings of the 42nd International Conference on Machine Learning (ICML 2025), 2025.arxiv.org/abs/2412.16075
- [30]Huigen Ye, Hua Xu, An Yan, and Yaoyang Cheng. Large language model-driven large neighborhood search for large-scale MILP problems. In Proceedings of the 42nd International Conference on Machine Learning (ICML 2025), 2025.
- [31]Mert Yuksekgonul, Daniel Koceja, Xinhao Li, Federico Bianchi, Jed McCaleb, Xiaolong Wang, Jan Kautz, Yejin Choi, James Zou, Carlos Guestrin, and Yu Sun. Learning to discover at test time. In Proceedings of the 43rd International Conference on Machine Learning (ICML 2026), 2026.arxiv.org/abs/2601.16175


