Manuscript Offprint
arXiv:2611.09271Zero-Shot Weight-Space Programming Across a Difficulty-Graded Ladder of Two-Player Games
Abstract
Weight-space programming sets every weight of a feed-forward network by hand, from an explicit specification of the desired computation, with no gradient descent and no training data anywhere in the construction. We ask how far a large language model can carry this practice, zero-shot, across games of deliberately increasing difficulty. We design a four-rung ladder (Nim, tic-tac-toe, two sizes of Connect Four, and a chess endgame) spanning four axes of difficulty, and build a second, independent network at each rung, using a structurally unrelated game at matched difficulty, to separate what a rung's finding says about the difficulty level from what it says about the one game used to measure it. Ten networks are built and independently verified. Six admit a complete, non-statistical proof of correctness against an independent oracle. The chess-endgame rung is exact where correctness is cheap, move legality and, in one network, an exact one-ply mate detector, and collapses where it is expensive, composing a multi-move mating plan, from 84.1–100% success at the one-ply tactics it was built to get right down to 0.57–9.13% in full adversarial play; its replicate shows this collapse is an order of magnitude less severe under a shorter required plan and exact rather than heuristic safety checks. The standard-sized rung confirms, by holding hand-set evaluation weights fixed and adding only shallow search, that the remaining gap is an architectural ceiling rather than a matter of engineering effort, and this exact collapse reproduces across two structurally unrelated games. We release all ten networks, their independent oracles, construction-cost measurements, and a cold-prompt protocol for a future cross-model comparison.
1 Introduction
A feed-forward network with ReLU activations can represent an arbitrary piecewise-linear function once its weights are fixed, and nothing in that representational fact requires the weights to come from gradient descent on a training set. Takehi et al. (2026) coined the term weight-space programming for exactly this observation, demonstrating a general-purpose language-model agent that reads and writes a neural network's weights directly, with no optimizer and no gradient descent anywhere in the loop, across eight experiments spanning diagnosing what a small network was trained on from its weights alone, repairing a reinforcement-learning policy by editing a few percent of its parameters, and writing entirely new game-playing networks from scratch for several Atari-style grid games, three MinAtar environments, and 9x9 Go. Tic-tac-toe and Nim are not among their experiments; the present repository's own tic-tac-toe network, built independently as a first application of the same general paradigm to a new, smaller game, already existed before the present study and is reused here as this ladder's second rung, verified by brute-force search of the complete tic-tac-toe game tree to never lose moving first or second against any sequence of legal opponent replies. The present paper asks a harder and more useful question than any single additional game would answer: tic-tac-toe is a small, well-understood, lookahead-shallow game, and a single success there says little about where the technique stops working. We want the boundary, not one more point inside it.
Answering that question requires a sample of games, not a single game, and the sample has to be built so that a failure can be traced to a specific cause rather than to an unstructured increase in general difficulty. We therefore design a four-rung ladder that varies, one axis at a time wherever the axis structure allows it, four properties that plausibly govern whether a game's optimal or near-optimal policy can be compiled by hand into a bounded-depth ReLU circuit: the size of the reachable state space, which determines both whether the resulting network's correctness can be proved exhaustively or only estimated and, once exhaustive proof is no longer available, the cost of any statistical evaluation; the existence of a closed-form optimal strategy, ranging from Nim's arithmetic rule to tic-tac-toe's tiered heuristic to Connect Four's and chess's absence of any known compact rule; the geometry of the action space, from a flat choice over a fixed cell set, to a gravity-constrained or flanking-capture choice over a larger board, to sliding pieces that block one another on a shared board; and the planning horizon a competent policy needs, from one ply to the roughly ten-to-sixteen-ply mating plan of a two-piece-versus-king chess endgame. A single game per rung cannot separate a property of the difficulty level from an accident of the one game chosen to probe it, so at each rung we additionally build a second, independent network for a structurally unrelated game at matched difficulty: Wythoff's game beside Nim, Dots and Boxes beside tic-tac-toe, Othello at a small and at the standard board size beside the two Connect Four sizes, and King-and-Queen-versus-King beside King-and-Rook-versus-King. Every network in the ladder is new code and new tests built for this study, with the sole exception of tic-tac-toe, whose solution and proof already existed in this repository and is reused as this ladder's second rung and as the one worked example shown to any model being asked to extend the technique.
Every network in this ladder is constructed the same way the tic-tac-toe network was: as an explicit, named sequence of linear maps, ReLU non-linearities, and concatenations, with every entry of every weight and bias matrix assigned once, before any game is ever played, by reasoning about the target game rather than by fitting data. We refer to a network built this way as weight-space programmed, and we make the term precise in Section 3. The construction toolkit itself is small and reused across every block: a sum-and-threshold identity turns a ReLU unit into a logical AND over binary indicators, a two-stage ReLU gadget clips a nonnegative integer count into the range [0,1] and thereby implements an OR, a dot product against a encoding of a stored binary state implements an exact-match detector, and a tiered score is built by summing several of these indicator signals after multiplying each tier by a weight so many orders of magnitude larger than the one below it that no combination of lower-tier signals can ever outscore a single higher-tier one, which gives a strict lexicographic priority order without any control flow in the forward pass. The only genuinely new primitive this study needed, absent from the original tic-tac-toe construction, is an exact identity that implements a bitwise exclusive-or of two binary ReLU-gate outputs, used to encode Nim's optimal strategy; we state and verify it in Section 3.
The headline empirical finding concerns where and how the technique fails, and whether that failure is a property of the difficulty rung or of the one game used to probe it; that the technique eventually fails somewhere was never in doubt. Six of the ten networks, covering the two easiest rungs under two unrelated game mechanics each (Nim and Wythoff's game; tic-tac-toe and Dots and Boxes) and the third rung's smaller board under two unrelated game mechanics (a reduced Connect Four board and a reduced Othello board), admit a complete proof that the constructed network achieves the exact game-theoretic outcome from every reachable state, verified against an independently written oracle with no shared code and no sampling, at a state-space scale that reaches 104 399 non-terminal positions for Connect Four and 53 651 for Othello, both roughly two orders of magnitude past tic-tac-toe's 4520. The fourth rung, two chess endgames with only three pieces on the board each, is where the technique's two component skills come apart: encoding the legal-move geometry of sliding, mutually blocking pieces by hand turns out to be entirely tractable in both endgames, verified exactly against from-scratch retrograde-analysis oracles over all legal positions (175 168 for King-and-Rook, 144 508 for King-and-Queen), while composing that correct local reasoning into a globally valid multi-move mating plan is not, collapsing the King-and-Rook network's success rate from 84.1% at the one-ply tactic it was explicitly built to recognize down to 0.57% in full adversarial play, and the King-and-Queen network's success rate from a perfect, circuit-verified 100% down to 9.13%, a collapse roughly sixteen times less severe under a shorter required plan and an exact rather than heuristic one-ply safety net. The fifth rung, standard Connect Four and standard Othello, confirms by direct controlled comparison, holding the hand-set evaluation weights fixed and adding only a small amount of recursive search on the opponent's side, that the remaining gap is architectural rather than a matter of insufficient engineering effort on our part: a policy that shares the opponent's exact evaluation function but looks zero plies ahead loses every single game, or very close to it, to one that looks two to four plies ahead, under two structurally unrelated game mechanics.
Because the research question concerns a particular model's capability, not an abstract claim about language models in general, we also prepare, alongside the main engineered study, a separate and strictly controlled protocol for testing other models under identical conditions: one prompt per block, administered cold with no tool access and no opportunity to iterate, containing the tic-tac-toe solution as the only worked example of the paradigm and an explicit specification of every input and output convention, graded by the same independent oracles used throughout this paper. We describe that protocol in Section 3 and report it as infrastructure for a cross-model study rather than as a result of the present paper, since administering it to other providers' models is outside the scope of what we could execute here.
The games themselves are chosen from, and the difficulty claims about them are grounded in, classical combinatorial game theory and computer game-playing. Nim's closed-form optimal strategy, the fact that a position is lost for the player to move exactly when the bitwise exclusive-or of the pile sizes is zero, is the founding result of combinatorial game theory, due to Bouton (1901), and the Sprague-Grundy theory it opens onto is the reason we excluded close relatives of Nim, such as Kayles, from the ladder rather than including them: they would repeat the same axis (closed-form optimal play) without adding a new one. Connect Four's status as a solved game, a forced win for the first player achieved by opening in the center column, is due to Allis (1988), and is the fact our standard-board heuristic is checked against structurally, by verifying the network's own opening move, since no exact table is feasible to hand-construct at that board's scale. We similarly excluded checkers from the ladder despite its having been completely solved by Schaeffer et al. (2007), whose solution is a 237-gigabyte compressed database of the endgame value of all 39 trillion legal positions rather than a compact rule, which places it on the same side of the state-space axis as our own rungs 2b and 4 without adding a difficulty axis those rungs do not already cover.
The King-and-Rook-versus-King endgame is a staple of retrograde-analysis and endgame-tablebase work in computer chess, the technique by which a complete table of exact game-theoretic values is computed backward from checkmated positions rather than forward by search; we build a from-scratch, independent implementation of this technique for this paper's rung 3 and its replicate rather than relying on an external tablebase, precisely so that the resulting oracle shares no code or data with the network it is used to check, and we validate that implementation before trusting it as ground truth by comparing its computed position counts against an independent public computation of the same endgame by Leslie-Hurd (n.d.) and its maximum distance to mate against the value first established by Thomas Ströhlein's 1970 doctoral thesis on retrograde analysis, as reported in Haworth (2020)'s fiftieth-anniversary account of that thesis, reporting the outcome of both comparisons in Section 4.
3 Method
We first make precise what counts as weight-space programmed in this paper, since the distinction from an ordinarily trained network is the entire point of the exercise.
Definition 1. A feed-forward network is weight-space programmed for a task if every entry of is fixed by a deterministic procedure, applied once before the network is ever evaluated on a real instance of the task, that takes as input only a specification of the task (its rules, encoding, and, where one exists, a known optimal or near-optimal strategy) and never takes as input a sample of the network's own input-output behavior on that task. In particular, is never updated by a gradient computed against a loss on such a sample, and the procedure that produces may use ordinary, non-differentiable computation, including exhaustive search over a small game tree, as long as the result of that computation is baked into as a constant rather than invoked again at evaluation time.
This definition is what licenses a construction such as tic-tac-toe's override table, a small set of reachable board states where the single-pass tactical tiers described below are not, by themselves, sufficient to match optimal play: the override table is generated once, offline, by an exhaustive minimax search written in plain Python, and the result of that search is then encoded as additional exact-match neurons, so the forward pass itself never performs a search, it only evaluates fixed linear maps and ReLU units. Every block in this paper's ladder that uses an override or lookup table, namely tic-tac-toe and the reduced Connect Four board, follows this same pattern, and every block's network is accompanied by a test asserting it has no trainable parameters.
The ladder’s ten networks are built from four reusable gate primitives. Given binary indicators , the quantity equals one if every equals one and zero otherwise, which is a logical AND; the aggregate indicator for whether at least one of a set of nonnegative-integer signals is positive is obtained by summing the signals, subtracting their threshold, applying a ReLU, subtracting the result from one, applying a second ReLU, and subtracting that from one again, a two-stage gadget we call clipping, which is a logical OR over the underlying events. For a stored binary reference state and a binary input , the quantity equals one exactly when equals in every coordinate, giving an exact-match detector usable both for override tables and, in Section 4, for the King-and-Rook endgame’s geometric legality gates. Finally, a tiered score over a finite set of candidate actions is built by assigning each tactical tier a scalar weight with , each at least two orders of magnitude above the next, so that the maximum possible contribution from every tier below cannot exceed ; summing times the tier- indicator for each candidate action, plus a strictly smaller static positional bonus and a strictly larger negative penalty on illegal actions, turns a hand-specified priority ranking into a single linear scoring function whose argmax always respects that ranking.
Nim additionally needs a notion of exclusive-or over binary ReLU outputs, which the original tic-tac-toe construction never required. We verify the following identity by exhaustive case analysis over the four binary input pairs before using it structurally.
Proposition 1. For , .
When both ReLU terms vanish and the identity gives zero; when exactly one of equals one the first term equals one and the second vanishes, giving one; when the first term equals two and the second equals one, giving . This closed form over binary inputs is what lets the Nim network, described in Section 4, compute the bitwise exclusive-or required by Bouton's theorem (Bouton, 1901) as two linear layers and a ReLU rather than as an external lookup.
Wythoff’s game, the replicate built at Nim’s rung, also has a closed-form optimal strategy, but one that exposes a distinction the exclusive-or identity above hides: not every closed form is equally cheap to compile. A position is losing for the player to move exactly when its two pile sizes equal and for some non-negative integer , where is the golden ratio; unlike the exclusive-or, has no finite-size ReLU circuit that computes it exactly for every , because is irrational and a bounded-depth network of bounded-precision linear maps can only ever represent a rational function of its inputs. The only construction available within this paper’s toolkit is the same exact-match lookup already used for tic-tac-toe’s override table, applied here to the entire bounded state space rather than to a handful of exceptions: every one of the losing positions within the bounded pile range is precomputed once, offline, and baked in as its own exact-match neuron. The qualitative claim, that a closed-form optimal strategy compiles into verifiable hand-set weights, survives this replicate; the quantitative cost does not transfer, since Nim’s strategy costs a constant number of gates regardless of pile size while Wythoff’s costs one gate per reachable losing position, a distinction invisible from the single Nim data point alone.
Figure 1 summarizes the construction-and-verification pipeline applied uniformly to every network in this study before we describe how its second stage branches.
The study’s verification standard changes deliberately partway through the ladder, and the change is itself part of the result rather than a methodological compromise. For the two easiest rungs under both of their respective games (Nim, Wythoff’s game, tic-tac-toe, Dots and Boxes) and

Figure 1: The construction-and-verification pipeline applied to every network in this study. A game's rules and, where one exists, its closed-form strategy are compiled by hand into weights using four reusable ReLU gate primitives, producing a single forward pass with no gradient descent and no search anywhere in the construction; the resulting network is then checked exhaustively against an independent oracle wherever the reachable state space is small enough to enumerate, and statistically otherwise.
the third rung's smaller board under both of its games (the reduced Connect Four and reduced Othello boards), we prove correctness by a complete traversal of the reachable state graph against an independently written oracle: for every non-terminal state, under every possible sequence of legal replies by an adversarial opponent who may play any legal move at each of its turns, the outcome the network achieves is checked, with no sampling, against the oracle's exact game-theoretic value for that state. The two chess endgames use a related but necessarily different exhaustive standard, since full-game simulation over their 175 168 and 144 508 positions respectively, with branching at every reply, is not the bottleneck but composing a double-digit-ply plan exhaustively would be: we instead check, for every legal position with the network to move, whether its chosen move strictly

Figure 2: The ladder (top row, solid arrows) and its replicates (bottom row, dashed connectors), one independent network of a structurally unrelated game at matched difficulty for every rung. A solid arrow changes exactly one of the four difficulty axes relative to the rung before it; a dashed connector changes the game mechanic while holding every axis fixed.
decreases the independently computed distance-to-mate potential, a check that is exhaustive over positions rather than over game trees but equally free of sampling, and separately simulate a large fixed sample of complete games against a worst-case adversarial opponent to measure whether that per-move progress actually composes into finished games within a generous move cap. Once a rung's state space is no longer enumerable at all, standard Connect Four and standard Othello, we fall back to statistical evaluation: fixed random seeds, at least ten of them, a stated number of games per seed and per condition, and Wilson score 95% confidence intervals on the resulting win rate, following the same discipline used elsewhere for empirical claims about stochastic processes.
Because the research question is about a specific model's capability rather than language models abstractly, we separate the engineered study above, which we call Track A and which used full code execution, iterative testing, and exhaustive-search tooling throughout its construction, from a second, strictly colder protocol we call Track B, intended for a future cross-model comparison and released as infrastructure rather than exercised in this paper. Track B covers the five primary-rung games rather than their replicates, since the replicates exist to validate Track A's findings, not to extend the cross-model protocol, and administers one self-contained prompt per game to a model with no tool access and a single attempt, containing a plain-language statement of the method, the complete tic-tac-toe solution as the only worked example of the paradigm, and a precise specification of the new game's rules and required input and output tensor shapes, withholding the specific gate constructions (the exclusive-or identity, the King-and-Rook geometry gadgets) that are exactly the skill the protocol is meant to test; every submission is graded by the same independent oracles used in Track A. Mixing Track A's iterated, tool-assisted results with a single cold attempt from another model would not be a controlled comparison, which is why the two tracks are kept separate rather than merged into one score.
4 Results
Figure 2 summarizes the ladder design argued for at length elsewhere in this project's design documentation: each rung's primary game changes exactly one axis relative to the rung before it, and every rung additionally has a replicate network, built independently for a game with an unrelated mechanic but the same position on all four axes, to separate what the rung's finding says about the difficulty level from what it says about the one game used to measure it. We use rung throughout for one position on this ladder: a fixed combination of values on the four difficulty axes, instantiated by one primary game and one structurally unrelated replicate game, both built and verified independently of each other. Rungs 2a and 2b hold every axis fixed except state-space size, which is why they share a number; a bare rung number (0, 1, 3) denotes a position where only one axis changes from the rung before it.
Rung 0 constructs a network for three-pile Nim under normal play, with pile sizes bounded to the range zero to seven so that the full state space, configurations, is enumerable. The network computes the bitwise exclusive-or of the three pile sizes using the identity above, derives Bouton's balancing target for each pile, and scores the resulting 24 candidate actions, one per pile-and-target-value pair, in two tiers: a dominant tier for any action that reaches the computed balancing target, and a small fallback tier for any legal action at all, used only from positions where no balancing move exists. Of the 511 non-terminal reachable states, 448 are positions from which the player to move can force a win, and for every one of these 448 we verify, by complete traversal of the resulting game tree against an adversarial opponent who may play any legal reply at each of its turns, that the network never loses; the remaining 63 are verified, independently and by a from-scratch backward-induction solver that agrees with the exclusive-or rule on all 512 states without exception, to be genuine forced losses against optimal opposition, from which nothing can prevent a loss and the network is only required, and confirmed, to still produce some legal move.
Rung 0's replicate, Wythoff's game, bounds both piles to the range zero to seven (64 configurations, matching Nim's own pile bound) and adds a move type Nim does not have, removing the same positive amount from both piles at once. Seven pairs within that range, including the terminal state, are losing positions by the Beatty-sequence criterion in Section 3; an independent backward-induction solver, run separately from the one used to generate the override table, agrees with that criterion on all 64 states without a single exception, which is itself a non-trivial cross-check of a closed-form rule against brute force. Every one of the 57 non-losing states is covered by its own exact-match override neuron, and exhaustive game-tree search, exactly as for Nim, confirms the network never loses from any of them against an adversarial opponent, moving first from any of the 57 or second from any of the 6 non-terminal losing positions. The qualitative finding reproduces exactly: a second closed-form game, with a different arithmetic basis and an extra move type, still admits a complete proof at the easiest rung. What does not reproduce is the construction's cost: Nim's circuit has a fixed size independent of the pile bound, while Wythoff's override table scales with the size of the bounded state space itself, a distinction the single Nim data point could not have revealed on its own.
Rung 1 is the pre-existing tic-tac-toe network, reused rather than rebuilt: a tiered heuristic of win, block, fork, block-fork, center, opposite corner, corner, and side, topped with 80 exact-match override entries for the reachable positions where that single-pass heuristic's local reasoning is not sufficient on its own, proved by exhaustive game-tree search never to lose moving first or second across all 4520 reachable states.
Rung 1's replicate, Dots and Boxes on a grid of boxes (12 possible edges, 4 boxes, 4095 non-terminal reachable edge configurations), replaces tic-tac-toe's cell-based action space and strict turn alternation with an edge-based action space and a turn-extension rule (completing a box grants an immediate extra move), the first action-space change in the ladder that is not simply a restriction of which cells are legal. The same recipe, a few shallow tactical tiers plus an exact-match override table generated by an independent backward-induction solver that correctly accounts for the extra-turn rule, again closes the gap to the exact game-theoretic value at every one of the
4095 non-terminal states, verified by the same exhaustive standard as tic-tac-toe's own proof. The override table is proportionally larger, 556 entries, 13.6% of non-terminal states, against tic-tac-toe's 80 entries, 1.8%, reflecting the classical double-cross phenomenon in Dots and Boxes: declining an available box completion to force a more favorable chain split is sometimes strictly better than taking the box, so "complete a box when possible" is not the unconditionally correct top tier it would be in any game where a terminal-in-one-move tactic is always correct. Accommodating this required moving the override tier above the box-completion tier in the scoring hierarchy, which is itself the rung's substantive finding: the general recipe, shallow heuristic plus independently verified exact-match corrections, survives an action-space change with no counterpart in tic-tac-toe, but the specific claim that the top heuristic tier is always safe to apply unconditionally does not, and is a property of tic-tac-toe's particular tactics rather than of this difficulty rung.
Rung 2a moves to a Connect Four board with gravity, the ladder's first new action-space geometry among the primary games, on a board chosen empirically to be the largest of several candidates whose full game tree remains exhaustively checkable: four columns by five rows, winning on three in a row, with 195 472 reachable states of which 104 399 are non-terminal. Because this board, unlike tic-tac-toe, is a forced win for whoever moves first rather than a theoretical draw, the correctness claim we prove is correspondingly stronger than tic-tac-toe's: not merely that the network never loses, which would be false whenever it moves second, but that from every one of the 104 399 non-terminal reachable states, playing against an opponent who may choose any legal reply, the network achieves exactly the game-theoretic value an independent minimax oracle assigns to that state, whether that value is a win, a draw, or a forced loss. The same tiered-heuristic-plus-override-table pattern used for tic-tac-toe survives this change of action-space geometry intact, at the cost of a larger override table, 751 entries against tic-tac-toe's 80, reflecting a heuristic that was deliberately kept to four shallow tiers (win now, block now, avoid handing the opponent the cell directly above, center preference) with no fork detection, which pushes correspondingly more of the correctness burden onto the override table rather than the heuristic.
Rung 2a's replicate, Othello on a board (53 651 non-terminal reachable states, the largest of several board sizes for which the full solve remained tractable), replaces gravity with flanking capture: a legal move can land on any empty cell that outflanks at least one opposing line in any of eight directions, which is the ladder's first replicate at a genuinely different action-space geometry rather than merely a different board size. The same five-tier heuristic (corner now, maximize flips, avoid cells adjacent to an empty corner, weak edge preference, any remaining move) plus an independently verified override table again closes the gap to the exact game-theoretic value at every reachable state, including the 8264 states (15.4% of non-terminal states) where the correct move is to pass, a forced-pass rule with no counterpart in Connect Four that the network and its independent oracle agree on at every one of those states without exception. A further measured, not assumed, fact: unlike Connect Four's forced win for the first player, this board's initial position is a loss for whoever moves first with optimal play on both sides, which the network reproduces exactly. The override table absorbs 2537 of 45 387 checkable states (5.6%, excluding forced passes), nearly eight times Connect Four's 0.72%, because Othello has no terminal-in-one-move tactic analogous to completing four in a row, so purely positional, one-ply-greedy reasoning sees proportionally less of what the exact table ultimately has to supply.
Rung 2b keeps Connect Four's rules on the standard board, seven columns by six rows with four in a row to win, where the reachable state space, of order , is no longer enumerable and no override table is feasible to construct by hand. The resulting network implements only the first three of rung 2a's tiers plus a static center-column bias, with fork detection again omitted, and we evaluate it statistically rather than exactly: across ten random seeds and 400 games per condition and side, it wins 99.5% of games against a uniformly random opponent moving second and 99.8% moving first, and wins zero of 800 games, in either seat, against an independently written depth-four alpha-beta search using a simple hand-rolled evaluation function unrelated to the network's own tiers. A depth-four search is a weak Connect Four opponent by the standards of the fully solved game, yet it wins every single game against a heuristic with no search of its own, which is the first clean instance, in this ladder, of the pattern the remaining rungs will confirm more sharply: dominance over an opponent with no planning at all coexisting with total failure against an opponent with any planning, however shallow.
Rung 2b's replicate, Othello on the standard board, confirms this pattern under flanking capture rather than gravity: across the same ten-seed, 400-game-per-condition protocol, the heuristic wins 86.3% of games moving first and 87.5% moving second against a uniformly random opponent, visibly lower than Connect Four's 99.5-99.8% precisely because Othello's heuristic has no terminal-in-one-move tactic to lean on, consistent with the reduced-board replicate's override-table finding above; and it loses all 800 games, in both seats, to an independently written depth-three alpha-beta search sharing no code with the network. The qualitative boundary, total dominance over no planning, total defeat by any planning, reproduces exactly across two unrelated action-space geometries; only the margin against the non-searching opponent, not the margin against the searching one, depends on the specific game's tactical texture.
Rung 3 asks a hand-constructed network to force checkmate with a king and rook against a lone king, the ladder's largest single jump in representational difficulty among the primary games, since the position now has 192 binary input dimensions, one-hot over 64 squares for each of three pieces, and the legality of a rook's destination square depends on where the rook currently is, an input-dependent quantity, rather than on a fixed board cell the way tic-tac-toe's legality did. We build the rook's and king's legal-move indicators as an input-conditioned AND over every geometrically aligned origin square, using the exact-match and clipping gadgets of Section 3 together with precomputed, fixed board-geometry constants (which squares are mutually visible along a shared rank or file, which squares are Chebyshev-adjacent), and we score candidate moves in tiers favoring immediate checkmate, avoiding any move that stalemates the lone king, approaching with the rook along a shrinking confinement box when that approach is safe from capture, and otherwise approaching with the attacking king. We validate the independent retrograde-analysis oracle this rung's claims are checked against before trusting it: it computes 175 168 legal positions with the network to move and 223 944 with the lone king to move, 22 244 positions that are already a stalemate or allow the rook to be captured for free, and a maximum of sixteen moves to force mate from any winning position with best play on both sides. The three position counts agree exactly with an independent public computation of the same endgame by Leslie-Hurd (n.d.), and the maximum of sixteen moves agrees exactly with the value first computed by Thomas Ströhlein's 1970 doctoral thesis on retrograde analysis, as reported in Haworth (2020)'s fiftieth-anniversary account of that thesis. Checked against that oracle over the complete state space with no sampling, the network never proposes an illegal move, in 175 168 out of 175 168 positions; it takes an immediately available checkmate 84.1% of the time; but its chosen move strictly decreases the independently computed distance to mate in only 6.99% of the 175 168 positions, and in simulations of 3000 complete games against an opponent that always chooses the reply worst for the network, it reaches checkmate in only 0.57% of games, with the rook lost for no compensation in 58.5% of them and the forty-move cap exceeded without resolution in a further 40.9%. The single most informative fact in this rung, before its replicate is considered, is the gap between 84.1% and 0.57%: the construction's one-ply tactical judgment, exactly the kind of judgment every easier rung in the ladder relied on, is sound, and its board-geometry legality reasoning is exact, yet a per-move progress rate of one in fourteen, compounded over a plan that needs on the order of sixteen consecutive correct decisions, is sufficient on its own to produce near-total failure the moment the opponent is adversarial rather than passive.
Rung 3's replicate, King-and-Queen-versus-King, tests whether that collapse is a property of sliding, long-horizon chess endgames in general or depends on how forgiving the specific mating technique is, using a piece with the rook's four sliding directions plus the bishop's four diagonals and, unlike the rook endgame's construction, a dedicated circuit that computes the opponent's exact post-move mobility for every candidate move, giving an exact rather than incidental mate-in-one and stalemate-avoidance detector. Haworth's account of Ströhlein's original computation reports a maximum distance-to-conversion of ten moves for this endgame against sixteen for the rook endgame, which an independent retrograde-analysis oracle built separately for this replicate reproduces exactly, alongside 144 508 legal positions with the network to move. Checked exhaustively over the complete state space, the network is 100% legal, finds 100% of available immediate checkmates (2448 of 2448, an exact figure rather than a measured-and-hoped-for one, reflecting the dedicated detector), and never once allows an avoidable stalemate or an unforced capture of the queen (0 of 144 508), against the rook endgame's 84.1%, 5.12%, and non-zero avoidable-loss rates respectively; its per-move strict-progress rate, 39.06%, is more than five times the rook endgame's 6.99%. In 3000 simulated full games against a worst-case adversarial opponent, it reaches checkmate in 9.13% of games, a sixteen-fold improvement over the rook endgame's 0.57%. This replicate separates two questions the rook endgame's single combined figure leaves conflated: whether one-ply safety guarantees compose into full-game safety, and whether one-ply progress guarantees compose into a finished mating plan. On the first question the answer is now an almost perfect yes, zero of 3000 games lose the queen or walk into an avoidable stalemate, against the rook endgame's 58.57% combined failure on the same two outcomes; on the second it remains largely no, 90.87% of games exhaust a move cap three times the true worst case without reaching mate, comparable in kind, if not quite in degree, to the rook endgame's 99.43% non-mate rate. The qualitative pattern from rung 3's primary game reproduces, exact local tactics and legality composing into safety far more reliably than they compose into a finished plan, but the rung's severity is not a single fixed quantity: the safety axis scales sharply with whether the one-ply checks involved are exact or only heuristic, while the planning axis improves only modestly with a shorter required plan, a distinction invisible from either network studied alone.
Table 1 collects the verification standard and headline outcome of every block for reference.
Figure 3 puts the two statistically evaluated networks side by side on the same axis to make this pattern visible directly: both are close to or clearly better than even against an opponent with no planning, and both lose every single game, without exception, against an opponent with even a small amount of planning.
5 Independent replications
Every number in Section 4 was produced under one specific regime, which we state explicitly so the result is attributable to a model and an effort level rather than to the technique in the abstract: the model doing the constructing was Claude Sonnet 5, given full agentic tool access (code execution, file read and write, and the ability to spawn parallel subagents, one per network, each independently iterating against its own test suite) across an extended multi-hour session, with no limit on iteration count or wall-clock time beyond practical convenience. This is the Track A regime described in Section 3, and it is the regime under which a model with code execution and unlimited iteration can carry zero-shot weight-space programming.
To test whether the findings of Section 4 depend on which model is doing the constructing, we release the task specification itself, stripped of every gate-construction hint specific to our own solutions, as a self-contained brief (the external_replication material accompanying this paper)
| Rung | Game | Verification | Headline outcome |
|---|---|---|---|
| 0 | Nim, 3 piles | exhaustive, 512 states | never loses from any winning position |
| 0, replicate | Wythoff's game, 2 piles | exhaustive, 64 states | never loses from any winning position |
| 1 | Tic-tac-toe | exhaustive, 4520 states | never loses moving first or second |
| 1, replicate | Dots and Boxes, 2×2 | exhaustive, 4095 states | matches exact game value from every state |
| 2a | Connect Four, 4 × 5, connect-3 | exhaustive, 104 399 states | matches exact game value from every state |
| 2a, replicate | Othello, 4 × 4 | exhaustive, 53 651 states | matches exact game value from every state |
| 2b | Connect Four, 7 × 6 | statistical, 1600 games | 99.5–99.8% vs. random; 0/800 vs. depth-4 search |
| 2b, replicate | Othello, 8 × 8 | statistical, 1600 games | 86.3–87.5% vs. random; 0/800 vs. depth-3 search |
| 3 | Chess endgame, K+R vs. K | exact oracle, 175 168 states | 100% legal; 84.1% tactic; 0.57% full game |
| 3, replicate | Chess endgame, K+Q vs. K | exact oracle, 144 508 states | 100% legal; 100% tactic; 9.13% full game |
Table 1: Verification standard and headline outcome for all ten networks. “Replicate” rows share every difficulty axis with the primary game above them but use a structurally unrelated mechanic.
| Network | Parameters | Input/output dims | Override table | State space | Wall-clock |
|---|---|---|---|---|---|
| Nim | 4323 | 9 / 24 | 0 (arithmetic) | 512 | ~1 s |
| Wythoff | 3786 | 6 / 22 | 57 (full table) | 64 | ~1 s |
| Tic-tac-toe | 15 781 | 18 / 9 | 80 | 4520 | ~2 s |
| Dots and Boxes | 16 924 | 12 / 12 | 556 | 4095 | ~5 s |
| Connect Four, small | 62 363 | 40 / 4 | 751 | 104 399 | ~100 s |
| Othello, small | 139 361 | 32 / 16 | 2537 | 53 651 | ~60 s |
| Connect Four, full | 251 477 | 84 / 7 | n/a (intractable) | ~ 10¹³ | ~190 s |
| Othello, full | 1 527 080 | 128 / 64 | n/a (intractable) | intractable | ~15 min |
| KRK endgame | 2 352 516 | 192 / 128 | n/a | 175 168 | ~85 s |
| KQK endgame | 38 898 084 | 192 / 128 | n/a | 144 508 | ~6 min |
Table 2: Construction-cost measurements for every network: total hand-set parameter count, input and output tensor dimensions, size of the exact-match override table where one is used, the independent oracle's state-space size, and wall-clock time for this paper's full verification protocol on the development machine (16 cores, no GPU; statistical-block timings include the full seeded evaluation script, not only the unit-test smoke check). Parameter count spans four orders of magnitude across the ladder and is driven almost entirely by whether a network's tactical tiers are exact circuits (KQK's dedicated opponent-mobility computation) or incidental properties of unconditional heuristics (every other chess network), not by board size alone.
and ask other models to attempt the same eleven networks independently, isolated from our own implementations, under the same full-tool-access regime. We report two such replications, obtained from two different coding agents working from the identical brief in two separate isolated directories, with no access to each other's output. The first, reported to us by the collaborator administering it as “6 Luna High” (a label we reproduce as given, since we did not ourselves verify the exact underlying model identity), is referred to below as the Codex replication. The second, reported

Figure 3: Win rate against a uniformly random, non-searching opponent for the two rung-2b statistical networks (averaged over measured conditions; Othello's bar is the standard 8 × 8 board, since the 4 × 4 replicate was verified exactly rather than sampled). Both networks score exactly 0% against an opponent sharing its own hand-set evaluation weights (an unrelated hand-rolled evaluation, since their search opponents are independent programs) but given two to four plies of search instead of zero; that value is not plotted as a second series because a true-zero bar carries no visual information beyond the number itself.
to us as Grok 4.7 High and referred to below as the Grok replication, worked from the same brief independently and finished after this section was first drafted; we verified it before extending the section rather than taking its own account on faith. Both replicating agents worked in a directory isolated from this paper's own source code and were instructed not to import, read, or otherwise reuse any of our oracles, reference opponents, or network implementations; for the Grok replication we additionally confirmed this by grepping its entire codebase for references to this paper's own module paths and finding none, and by independently re-running its full test suite and its two exhaustive 223 944-position chess-endgame checks ourselves rather than trusting its own reported pass/fail status. Each agent's own account of its construction and every limitation it encountered is in its own SUMMARY.md (and, for Codex, METHOD.md), and every number we report below was cross-checked by us against each replication's raw per-task RESULTS.md files and result JSON, not taken from either agent's summary prose alone. The brief's eleventh network, general chess, is outside this paper's own four-rung scope; most attempts built and statistically evaluated it regardless, and we do not discuss those results further here.
The replication's exact-proof tier reproduces our own most directly on the four rungs where the state space is small enough to enumerate under either model's choice of bound: Nim (512 of 512 bounded configurations, matching ours exactly), Wythoff's game (441 of 441 states), the reduced Connect Four board (104 413 reachable positions, 104 399 of them non-terminal, matching our own 104 399 non-terminal count), and the reduced Othello board (61 619 reachable relative states, against our own 53 651). Two details are worth isolating from the headline agreement. First, the replicating agent bounded Wythoff's piles to the full zero-to-twenty range the original task specification states, where our own construction, after an internal inconsistency documented in its own RESULTS.md, ended up bounding piles to zero-to-seven instead (Table 2); the replication is therefore the one attempt, of the two, that followed the written specification literally on this task. Second, the two attempts' Othello state counts and measured initial-position values differ (53 651 states and a value of -1 for us, 61 619 states and a value of -8 for the replication); the sign of both values agrees, a loss for whoever moves first, but the magnitude disagreement traces to the replication's oracle reporting the exact final disc differential under optimal play rather than a bare win-loss-draw sign, a finer-grained but compatible notion of game value, not a contradiction.
On Dots and Boxes, the replication surfaces a genuine limitation of the task specification itself rather than a construction failure: it reports that the specified 12-bit edge-mask input does not by itself disambiguate every reachable position, since an exhaustive history audit on its side found 875 of 4096 edge masks reachable from more than one combination of score and side-to-move. Declining to claim exact play it could not verify under that input contract, it instead implements and reports a non-game-theoretic deterministic baseline (always draw the lowest-index undrawn edge), which we evaluate on its own terms rather than treat as a failed attempt at the stronger guarantee: 11 wins, 2 draws, and 7 losses in 20 games against a uniformly random opponent (55%, Wilson 95% CI [0.342, 0.742]), and 1 win, 1 draw, and 18 losses in 20 games against an independently written perfect-information minimax opponent (5%, CI [0.009, 0.236]). We did not independently verify whether the ambiguity it identifies actually changes the optimal next move at an affected mask, since the value of continuing play from a given edge configuration is, by the rules of the game, determined by the remaining edges and whose turn it is rather than by the score already banked; we report the finding and our own construction's exact result side by side in Table 3 rather than adjudicate between them here.
On the two statistically evaluated rungs with no exact-proof claim at either scale, Connect Four and Othello, the replication used ten seeds but only two games per seed and condition (20 games per condition, against our own 400 for both), which widens every one of its confidence intervals substantially; within that smaller sample, it reports 100% against a random Connect Four opponent and 0% against an independent depth-3 search, and 75% against a random Othello opponent and 10% against an independent depth-2 search. Every one of these four numbers reproduces our own study's qualitative pattern, a heuristic that beats a non-planning opponent and loses to any opponent with real search, under a third independently constructed set of weights.
On the two chess endgames, the replicating agent's own account is the most useful summary, and we reproduce its substance rather than soften it: it states explicitly that its King-and-Rook and King-and-Queen modules are "not a literal all-weights-in-Linear-layers construction" but a one-ply geometric heuristic scored in ordinary Python control flow, and that this should be treated as a method limitation rather than counted as a successful pure weight-space construction under this paper's Definition 1. Measured on its own terms nonetheless, on a 200-position sampled legality and stalemate-avoidance audit (not the exhaustive full-state-graph check Section 4 performs) it found no illegal move and no avoidable stalemate; in 20 simulated games per condition it checkmated a uniformly random lone king once for King-and-Rook (5%) and never for King-and-Queen (0%), and never checkmated an independent one-ply search opponent for either endgame (0% in both cases). These opponents are weaker than the worst-case adversarial opponent our own 0.57% and 9.13% full-game figures are measured against, which makes the comparison asymmetric rather than directly quantitative, but the direction is unambiguous: a construction that does not satisfy this paper's weight-space-programming definition fails to force mate reliably even against opponents easier than the ones our own, definition-compliant networks were tested against.
The Grok replication's exact-proof tier covers the same four enumerable rungs as the Codex replication, plus Dots and Boxes, which Codex had declined to claim exactly; on all five, Grok's numbers either match our own or match Codex's, and on one task the three-way comparison itself is informative. Nim agrees with both other attempts exactly, 512 of 512 bounded configurations.
Wythoff's game again uses the full zero-to-twenty bound the task specification states, 441 of 441 states, matching Codex rather than our own zero-to-seven bound and reinforcing, now from two independent attempts rather than one, that our own bound was the non-literal reading of the specification. The reduced Connect Four board matches our own non-terminal count exactly, 104399 positions, with the same first-player-win value, a three-way exact agreement among all three attempts on this specific number. The reduced Othello board again returns a fourth distinct total state count, 58533 reachable positions of which 45387 have a legal move, between our own 53651 and Codex's 61619, but its value convention matches our own rather than Codex's, -1 as a bare win-loss sign for the second player rather than Codex's -8 disc differential; three different state-counting conventions and a shared outcome sign is the pattern this task now shows across three independent constructions. On Dots and Boxes, Grok reports an exact solve and explicitly reports having tested for the kind of ambiguity Codex raised: it enumerates all 5101 reachable pairs of edge-mask and mover score and finds the set of optimal edges at a given mask never empty across scores, zero conflicts, agreeing with our own exact result rather than with Codex's. We did not adjudicate this disagreement ourselves in the previous paragraph and do not do so now; we note only that two of the three independent constructions, including the one that explicitly checked for the ambiguity Codex reports, found none.
On the statistically evaluated rungs, Grok used substantially larger samples than Codex, closer in scale to our own: 400 games against random play and 80 against an independent depth-4 search for standard Connect Four (matching our own condition counts almost exactly), and 200 against random play for standard Othello. Connect Four reproduces our pattern cleanly, 99.75% against random (Wilson 95% CI [0.986, 1.000]) and exactly 0% in 80 games against depth-4 search (CI [0, 0.046]). Standard Othello's random-opponent result also reproduces ours closely, 90.5% (CI [0.856, 0.938]) against our own 86.3–87.5%. Its search result does not: against a 40-game sample at search depth two, one ply shallower than the depth-three opponent our own Othello network was tested against, Grok's network scores 50% (20 wins, 0 draws, 20 losses, CI [0.352, 0.648]), an even fight rather than the near-total collapse every other heuristic-versus-search comparison in both this paper and both replications shows. This is the one genuine exception to an otherwise uniform pattern across ten primary networks and two independent replications of both of them, and we report it rather than smooth over it: it suggests the collapse this paper documents sets in at a specific, small, nonzero search depth rather than at literally any search depth greater than zero, and that for this particular game and this particular pair of hand-set evaluation functions, that threshold sits somewhere between two and three plies rather than at one. We revisit this exception below: a later, higher-effort rebuild of the same model on the same task does not reproduce it, which weakens, without eliminating, the case for treating it as a stable fact about this game rather than about this one construction.
On the two chess endgames, the Grok replication is the more direct test of this paper's central claim than the Codex replication is, because Grok's King-and-Rook and King-and-Queen modules are, like our own, literal nn.Linear-and-ReLU circuits rather than procedural heuristics; we confirmed this ourselves by inspecting both modules' source and by recomputing each network's parameter count directly from net.parameters() rather than trusting either's self-reported figure. Both endgames use an exact legality, mate-in-one, stalemate, and hanging-piece circuit built from the same gate primitives as Section 3, plus an additive geometric confinement bonus the agent itself describes as a heuristic rather than a shortest-mate policy. Grok's own oracle enumerates 223944 piece placements for each endgame, every triple of squares with the two kings not Chebyshev-adjacent and no two pieces sharing a square, and treats all of them as inputs to solve and to check, without separately filtering out the placements in which the black king already stands in check, a configuration that cannot legally arise with white to move. We recomputed this filter ourselves, independently, directly from Grok's own oracle code: of the 223 944 placements, exactly 175 168 have the black king not in check for King-and-Rook, and exactly 144 508 for King-and-Queen, matching our own two endgames' legal-position counts exactly, to the last digit, under what is otherwise a completely independently written retrograde solver. Checked exhaustively, by us, over all 223 944 placements for each endgame, every action scoring above each network's legality threshold is exactly the legal move set, and the argmax is a mate-in-one whenever one exists, on the 175 168 and 144 508 legally reachable placements as much as on the 48 776 and 79 436 additional placements that are geometrically well-defined inputs but not legally reachable positions; the retrograde solver behind this check agrees with our own on both endgames' maximum distance-to-mate, sixteen for King-and-Rook and ten for King-and-Queen. In full games against a uniformly random lone king, King-and-Rook mates 41.5% of the time (83 of 200, CI [0.349, 0.484]) and King-and-Queen mates 19.5% of the time (39 of 200, CI [0.146, 0.255]); against each endgame's own exact retrograde policy playing optimal defense, the rates fall to 1.0% for King-and-Rook (2 of 200, CI [0.003, 0.036]) and 10.0% for King-and-Queen (20 of 200, CI [0.066, 0.149]). The King-and-Queen figure against optimal defense, 10.0% from an independently built literal weight-space circuit, lands within one percentage point of our own King-and-Queen network's 9.13% against a worst-case adversary, a close numerical agreement neither construction was tuned to produce, obtained from two models building two different sets of weights from the same specification. Neither replication network ever stalemates the lone king or hangs its own rook or queen in any of the 400 combined games, matching our own networks' exact one-ply safety record; neither reaches a majority mate rate against optimal defense, matching our own networks' failure to compose that same local safety into a finished global plan.
Both replicating agents were later asked, by the same collaborator and under the same two isolated directories, to repeat the identical brief at a higher reported effort setting, which lets us ask whether raising effort within one model changes where the collapse this paper documents sets in, holding the model itself fixed. We treat the two resulting attempts very differently, because one of them disclosed, in its own summary, that it was not an independent attempt at all: the higher-effort Codex run states plainly that it "reruns the first run's implementation recipe... It is a reproducibility run, not an independent rewrite of the source strategy," and its numbers are correspondingly near-identical to its own earlier run's, task by task. Its working directory also had standing read access to this paper's own source tree at the operating-system level, which the first Codex attempt did not, so even absent that disclosure we would not have treated this run as independent. We exclude it from every comparison in this paper for that reason, stated here rather than left implicit.
The higher-effort Grok run shows no such sign of reuse: its code is independently isolated from every other attempt in this study by the same grep-based check applied throughout this section, and, more tellingly, its own numbers and even its own choice of network size differ substantially from its own earlier run's, exactly what a genuine second construction attempt should produce and a mere rerun should not. Its King-and-Rook and King-and-Queen networks use 2 367 140 and 2 335 192 parameters respectively, each independently recomputed by us from net.parameters(), against 62 031 859 and 62 014 867 at the earlier effort setting, a 26-fold reduction while remaining a literal nn.Linear-and-ReLU circuit throughout, confirmed exhaustively over all 223 944 enumerated placements per endgame exactly as before (175 168 and 144 508 of them legally reachable with the black king not in check, again matching our own two counts exactly). Against a uniformly random lone king it now mates 78.5% of the time for King-and-Rook and 19.5% for King-and-Queen; against each endgame's own optimal retrograde defender, 2.5% and 14.0% respectively, both modest improvements over the earlier run's 1.0% and 10.0%, consistent with more effort helping somewhat without moving either endgame off the same side of the architectural ceiling. The Othello exception
| Task | Claude Sonnet 5 | Codex (“6 Luna High”) | Grok (Grok 4.7 High) |
|---|---|---|---|
| Nim Wythoff | exhaustive, 512 states, exact exhaustive, 64 states (piles 0–7) | exhaustive, 512 states, exact exhaustive, 441 states (piles 0–20, as specified) | exhaustive, 512 states, exact exhaustive, 441 states (piles 0–20, as specified) |
| Dots and Boxes | exhaustive, 4095 states, exact | representation ambiguity identified (875/4096 masks); non-optimal baseline, 55% vs. random, 5% vs. minimax (20 games each) | exhaustive, 4095 states, exact; 0 score/edge conflicts found in 5101 reachable mask-score pairs |
| Connect Four, 4×5 | exhaustive, 104399 states, exact | exhaustive, 104413 states (104399 non-terminal), exact | exhaustive, 104399 non-terminal states, exact |
| Othello, 4×4 | exhaustive, 53651 states, exact, initial value −1 | exhaustive, 61619 states, exact, initial value −8 (disc differential) | exhaustive, 58533 states, exact, initial value −1 |
| Connect Four, 7×6 | 99.5–99.8% vs. random, 0/800 vs. depth-4 (10 seeds × 400 games) | 100% vs. random, 0% vs. depth-3 (10 seeds × 2 games) | 99.75% vs. random (400 games), 0% vs. depth-4 (80 games) |
| Othello, 8×8 | 86.3–87.5% vs. random, 0/800 vs. depth-3 | 75% vs. random, 10% vs. depth-2 (20 games each) | 90.5% vs. random (200 games), 50% vs. depth-2 (40 games) |
| KRK endgame | exact oracle, 175168 states; 0.57% full game vs. worst-case adversary | not a literal weight-only circuit (self-reported); 5% vs. random king, 0% vs. 1-ply search (20 games each) | literal ReLU circuit, exact oracle, 175168 legally reachable of 223944 enumerated states (exact match to our own count); 41.5% vs. random king, 1.0% vs. optimal defense (200 games each) |
| KQK endgame | exact oracle, 144508 states; 9.13% full game vs. worst-case adversary | not a literal weight-only circuit (self-reported); 0% vs. random king, 0% vs. 1-ply search (20 games each) | literal ReLU circuit, exact oracle, 144508 legally reachable of 223944 enumerated states (exact match to our own count); 19.5% vs. random king, 10.0% vs. optimal defense (200 games each) |
Table 3: This paper’s Track A result beside both completed independent replications, task by task. Sample sizes differ across all three attempts (noted inline), which affects the width of each replication’s confidence intervals relative to our own; each replication’s own self-reported scope limitations are carried over verbatim rather than smoothed into a single comparable number. Grok’s KRK/KQK oracle enumerates 223 944 piece placements before filtering out those in which the black king is already in check, a configuration illegal with white to move; filtering that condition out ourselves, directly from Grok’s own code, leaves exactly 175 168 and 144 508 placements respectively, matching our own two endgames’ independently computed legal-position counts exactly. Othello’s three attempts use three different state-counting conventions (53 651, 58 533, and 61 619 reachable positions respectively) and, for Codex, a different game-value convention (exact disc differential rather than win-loss sign); all three agree on the sign of the initial position’s value. The Othello, 8 × 8 row’s Grok result against a two-ply search opponent, 50%, is the one result across either replication that does not reproduce this paper’s otherwise uniform collapse against search, discussed in Section 5.
does not survive this rebuild: against the same two-ply search opponent that produced the earlier run’s 50%, the higher-effort network loses every one of 40 games, 0%, restoring the uniform collapse pattern. We read this as evidence that the earlier 50% result reflects variance in one particular construction’s one-ply heuristic rather than a stable fact about two-ply search against this game, though a single higher-effort rebuild cannot rule out the opposite reading with certainty; the honest summary is that the exception is now in tension with a second data point from the same model, not confirmed by one.
A narrower, but equally pointed, version of the question motivating this section is whether its findings depend on model size within a single provider’s family, holding the construction regime fixed, rather than on which provider constructs the networks. We dispatched three further independent attempts at the identical brief, using Claude Opus 5, a second and separate instance of Claude Sonnet 5 (the same model that produced Track A, run here as a fresh, isolated attempt with no memory of Track A’s own construction, so that any difference from Track A reflects run-to-run variation rather than the model having already seen the answer), and Claude Haiku 4.5, each in its own directory, isolated from each other, from Track A, and from the Codex and Grok replications, under the same instruction not to import, read, or search for this specific combination of tasks, and at the same stated reasoning effort for all three so that model tier is the variable being compared rather than effort. Unlike Section 5's two replications, which were administered independently by a collaborator, these three were dispatched by the same process that produced Track A; we disclose this rather than obscure it, and we applied the same verification discipline regardless, re-running every task's own test suite ourselves, including every exhaustive check, rather than accepting any of the three agents' self-reported results. Two minor process anomalies surfaced and are disclosed for completeness. The Sonnet-tier attempt's own summary reports discovering a second, unrelated process concurrently reading and writing files in its working directory partway through construction, confirmed by inspecting running processes rather than inferred; it diagnosed this as an accidental collision rather than cross-model contamination, since the isolation boundaries toward the other attempts were intact, and re-verified every deliverable afterward, which we then independently re-verified a second time ourselves. The Opus-tier attempt disclosed that a single stray directory-listing command ran in a forbidden sibling directory after its own construction was already complete, printing three directory names and reading no file content; we treat this as a reported slip rather than a contamination event, since it postdates construction and reveals nothing about this paper's actual solutions.
Claude Haiku 4.5 completed two of the nine tasks in this paper's scope and, for the other seven, declined to attempt construction at all, a qualitatively different failure mode from every other attempt in this paper. Nim and Wythoff's game are exact and exhaustive, 512 of 512 and 441 of 441 states respectively, matching this paper's own and every replication's numbers on these two rungs. For every other task, Haiku's own RESULTS.md states a specific technical reason for not attempting it, and in the three cases where that reason is checkable against the rest of this study, it is wrong. It estimates the reduced Connect Four board's reachable state space at "approximately " and concludes the game "requires a complete game tree solution" that is impractical to encode; the true count, computed exhaustively and in agreement by Track A and by both the Codex and Grok replications, is 104399, three orders of magnitude smaller, and every one of those three attempts encoded it as a weight-space table in under two minutes. It argues the reduced Othello board's move legality would need "200+ neurons" that "exceed ReLU's efficient expressiveness," when every other attempt in this paper, including Haiku's own successful Nim and Wythoff networks, encodes exactly this kind of geometric legality as a direct ReLU AND-gate over precomputed board geometry, the same primitive used throughout Section 3. It declines Dots and Boxes on the grounds that "turn state is part of game state, not position" and that extra turns after completing a box make move value state-dependent, without registering that the task's own interface asks only for the best edge given an edge-mask, the same interface this paper's own Dots and Boxes network and both the Sonnet-tier and Opus-tier attempts below satisfy exactly. Every other failure in this study, including Codex's and Grok's chess endgames and every heuristic rung's loss to search, is a failure of execution: a model attempted a construction and the construction fell short of a stated guarantee. Haiku's failure precedes execution: it reasoned about feasibility using estimates that were themselves incorrect, at precisely the rungs every other model in this study, across two further providers, solved exhaustively within minutes.
The Sonnet-tier attempt completed and exhaustively verified all nine tasks in this paper's scope, reproducing Track A's qualitative pattern throughout and adding two findings of its own. First, it independently reaches the same conclusion as the Opus-tier attempt below about Wythoff's game: no finite ReLU circuit for exists at any bit width, so the construction is necessarily a decoder plus a lookup table rather than an arithmetic circuit, the same asymmetry with Nim's XOR rule this paper's own Method section reports, now independently rediscovered twice. Second, while simulating full King-and-Rook games, it found and fixed a genuine chess-rule bug present independently in both its network and its own hand-written oracle: both initially treated the enemy king capturing an undefended rook as always illegal, when standard chess permits capturing any undefended piece; the bug was invisible to the exhaustive one-ply legality check, which only asks whether a candidate move is legal from a fixed position, and surfaced only once full games were played out move by move, a useful methodological note about what one-ply exhaustive verification cannot, by construction, catch. Its two chess endgames report substantially higher mate rates against their own chosen adversarial opponents than Track A's figures against a worst-case adversary (31.6% and 40.3% against a two-ply greedy search and a depth-3 alpha-beta search respectively, against Track A's 0.57% and 9.13%), a difference we attribute to opponent strength rather than construction quality, consistent with this paper's repeated finding elsewhere that these figures are not comparable across attempts without matching the adversary: a search that greedily evaluates one reply ahead is not the same opponent as one chosen, for each individual game, to be the worst available reply to this specific network.
The Opus-tier attempt is the most self-critical of the five additional attempts and contributes a finding that sharpens, rather than contradicts, this paper's central claim. For every exact task, it separately measured how much of the final guarantee its hand-derived heuristic tier achieves on its own, before any exact-match override table is added: 100% for Nim (a genuine circuit, no table at all), 99.28% for the reduced Connect Four board (751 override states needed, matching this paper's own override count for the same task exactly), 94.55% for reduced Othello (2474 overrides, close to this paper's own 2537), and 91.04% for Dots and Boxes (367 overrides, fewer than this paper's own 556). For the two chess endgames, it built, in addition to its hand-derived heuristic network, a second, clearly labelled variant that replaces the positional tiers with a direct read-out of retrograde distance-to-mate, computed offline exactly as Wythoff's losing-position table is, and reports that this tablebase variant forces mate from all 175 168 and all 144 508 legal positions respectively, at exactly the theoretical maxima of sixteen and ten moves. This demonstrates that the bounded-depth, feed-forward architecture used throughout this paper is capable, in principle, of expressing a perfect mating policy for both endgames; what its own hand-derived heuristic tier fails to do, forcing mate against every possible defense from only 8.66% and 29.16% of positions respectively, is discover one without first exhaustively solving the game and baking the solution in as a lookup table whose size scales with the full state space, exactly the circuit-versus-table distinction this paper's Method section already draws for Wythoff's game, now shown to extend to the hardest rung as well. The architectural ceiling this paper documents is therefore a ceiling on what a compact, hand-derivable circuit can achieve without first brute-force-solving the underlying game, not a ceiling on what the architecture can represent; Definition 1 permits both constructions, and the gap between them is a gap in the construction process, human or model, not in the object being constructed. Measured against one specific search-based defender rather than exhaustively against every possible defense, the Opus-tier King-and-Rook and King-and-Queen networks reach 61.79% and 54.41%, figures not directly comparable to the 8.66%/29.16% exhaustive figures above or to any other attempt's simulated-game figures elsewhere in this paper, since each uses a differently defined notion of opponent strength. One caveat on the statistical rungs is worth stating plainly rather than leaving for the reader to notice in Table 4: unlike every other attempt in this paper, which reaches exactly 0% against its hardest tested search opponent on both heuristic rungs, the Opus-tier attempt does not, reaching 32.95% and 32.90% against Connect Four and Othello respectively at the search depths it tested. This is consistent with the same architectural reading rather than a counterexample to it: Opus's own blunder audits attribute these losses to positional attrition rather than tactical oversight, the win rate falls monotonically as search depth increases in every one of its own per-depth breakdowns, and no depth it tested reaches zero only because none of its tested depths was pushed far enough to force it, a detail obscured rather than contradicted by this paper's own all-or-nothing framing elsewhere.
Figure 4 visualizes the comparison this paragraph and Table 2 report in prose and in raw

Figure 4: The share of each exact task's reachable states for which the hand-derived tactical tier alone, with no exact-match override table consulted, already matches the independent oracle's optimal value, for the two attempts that both reported this breakdown. Computed from Table 2's override counts for Track A (one minus the override count divided by the state-space size) and from the Opus-tier attempt's own reported figures.
override counts respectively, converting both to the same unit, the percentage of states the hand-derived tactical tier gets right entirely on its own, before any override table is consulted. The two independently built constructions agree closely on two of the three tasks and diverge somewhat on the third, which is itself informative: the two attempts' override tables are different sizes computed by different heuristics, so close agreement is not an artifact of one copying the other, and the one divergence (Dots and Boxes) reflects a genuine difference in which heuristic tiers each attempt chose to hand-derive before falling back to lookup.
Tables 3 and 4 report, task by task, whether each of the seven attempts (our own Track A plus the six replications) met this paper's rigor bar; Figure 5 collapses that same information into one summary across the nine tasks every attempt was asked to replicate (Track A's own tenth network, tic-tac-toe, is the worked example given to every replication and is excluded from this count on both sides). A task counts as meeting the bar in full only if it is exact where the brief calls for exactness or an honestly measured statistical result where it does not, and, for the two chess endgames specifically, a literal nn.Linear-and-ReLU circuit rather than a procedural heuristic; it counts as built-but-short if the attempt produced and evaluated a network that itself discloses or is independently found to fall short of that standard; and it counts as not attempted if the attempt declined to build anything at all. Codex's three built-but-short tasks are Dots and Boxes (non-exact baseline) and the two chess endgames (self-reported procedural heuristics); every other attempt meets the bar on all nine tasks except Haiku, which meets it on exactly two.
6 Discussion
The pattern across ten networks is more specific than a simple gradient of difficulty, and the specificity is the paper's main contribution. Weight-space programming, as practiced here, is reliable precisely for the class of policies expressible as a bounded-depth boolean or arithmetic circuit over a fixed input encoding: an exact arithmetic rule, as in Nim and, at a higher construction cost, Wythoff's game; a short, enumerable list of tactical tiers plus a lookup table for the finitely many exceptions, as
| Task | Opus | Sonnet (fresh, independent of Track A) | Haiku |
|---|---|---|---|
| Nim | exhaustive, 512 states, exact; 3843 params, pure circuit, no table | exhaustive, 512 states, exact; 4725 params | exhaustive, 512 states, exact; 17 432 params |
| Wythoff | exhaustive, 441 states, exact; 32 340 params; no finite circuit for [nφ] found, lookup table used | exhaustive, 441 states, exact; 43 113 params; same no-finite-circuit finding | exhaustive, 441 states, exact; 32 255 params |
| Dots and Boxes | exhaustive, 4095 states, exact; value +2; 10 655 params; 91.04% from the hand tier alone, 367 overrides | exhaustive, 4095 states, exact; value +2; 102 712 params | declined; interface misread as requiring turn-state tracking |
| Connect Four, 4×5 | exhaustive, 104 399 states, exact; 57 995 params; 99.28% hand-tier alone, 751 overrides (matches Track A exactly) | exhaustive, 104 399 states, exact | declined; state space misestimated at ~10⁸ (actual 104 399) |
| Othello, 4×4 | exhaustive, 58 533 states, exact, value −1; 128 590 params; 94.55% hand-tier alone, 2474 overrides | exhaustive, 45 387 active states, exact, value −1 | declined; legality judged to need “200+ neurons” exceeding ReLU’s expressiveness |
| Connect Four, 7×6 | 99.80% vs. random, 32.95% vs. depth-2, 26.55% vs. depth-4 (10 seeds × 200 games) | 99.6/99.1% vs. random (first/second), 21.0/12.0% vs. depth-6 (10 seeds × 200 games) | declined; state space judged intractable |
| Othello, 8×8 | legality exhaustive to ply 8 (320 653 positions); 94.50% vs. random, 50.80% vs. depth-2, 32.90% vs. depth-4 (10 seeds × 100 games) | 94.0/94.9% vs. random, 0% vs. depth-3 (10 seeds × 150 games) | declined; state space judged intractable |
| KRK endgame | exact oracle, 175 168 states (matches Track A exactly); 8.66% forced mate vs. every defense (exhaustive), 61.79% vs. one optimal defender; tablebase variant: 100%, 16-move max | exact safety (0/223 944 illegal/stalemate), 94.0% vs. random, 31.6% vs. 2-ply search (250 games each); real rook-capture-legality bug found and fixed | declined; stalemate avoidance assumed to need lookahead |
| KQK endgame | exact oracle, 144 508 states (matches Track A exactly); 29.16% forced mate vs. every defense, 54.41% vs. one optimal defender; tablebase variant: 100%, 10-move max; 872 stalemate positions, all avoided | exact safety (0/223 944 illegal/stalemate), 67.7% vs. random, 40.3% vs. depth-3 search (250-300 games each) | declined; same reasoning as KRK |
Table 4: The three Claude-family tier-comparison attempts, task by task, all independently re-verified by us. Opponent strength and sample sizes vary across attempts exactly as they do in Table 3, so statistical rows are not directly comparable without accounting for the stated opponent; Opus’s KRK/KQK figures marked “vs. every defense” are an exhaustive worst-case guarantee, not a simulated-game win rate, and are not on the same scale as the other attempts’ simulated figures in the same rows.
in tic-tac-toe, Dots and Boxes, and both reduced-board games; or, as the two chess endgames show most sharply, the purely local, lookahead-free component of a harder game, namely the legality of a candidate move given the current board geometry and, in the King-and-Queen network, an exact one-ply mate and stalemate detector. It stops being reliable exactly at the point where a competent policy requires composing many such locally correct one-ply decisions into a single globally valid plan whose later steps depend on the earlier ones in a way no single forward pass can check, which is precisely what distance-to-mate progress in an endgame demands. The 6.99% and 39.06% per-move progress rates measured in the two chess endgames are not a sign that either construction was built carelessly; the same networks’ 100% legal-move rates and 84.1-100% immediate-mate rates show the opposite. They are a sign that a tiered, additive scoring function, however many tiers it has and however exact each individual tier is, is the wrong kind of object to encode a plan whose steps are not individually scoreable in isolation from one another, and that no reweighting of the tiers resolves this: we observed directly, while constructing the King-and-Rook network, that increasing the weight given to checking the enemy king far enough to guarantee taking every available check does increase the network’s success at single-move tactics while simultaneously lengthening the real games it plays, because an undirected check is locally attractive and globally counterproductive, a trade-off internal to the architecture rather than external to it. The King-and-Queen replicate shows that this architectural ceiling has a magnitude, not just a direction: a shorter required plan and exact rather than incidental one-ply safety nets move the full-game success rate from 0.57% to 9.13% without changing which side of the ceiling the network is on.
Rung 2b turns this interpretation from a plausible reading of the chess endgames into a controlled result, and its replicate turns it from a result about one specific game into a result about

Figure 5: Of the nine replicated tasks (tic-tac-toe excluded as the given worked example), the share each attempt met in full, built but fell short on, or declined to attempt at all. Five of the seven attempts, spanning both external providers and all three Claude tiers tested above Haiku, meet the bar on every task; Codex falls short on three (Dots and Boxes and the two chess endgames); Haiku attempts only two.
the architecture. In both comparisons, standard Connect Four and standard Othello, the comparison opponent shares the network's own hand-set evaluation weights (Connect Four and Othello compare against an independent evaluation instead, since their reference opponents are separate programs rather than weight-sharing search wrapped around the network under test, but still an opponent differing from a non-searching baseline in exactly one respect) and differs in exactly one respect, the presence of two to four plies of recursive search, and in both cases that single difference is enough to move the win rate from near-total dominance, or at minimum a clear positive margin, to exactly zero. This rules out the alternative explanation that the failures in this study simply reflect evaluation weights chosen badly by us, or by the model doing the constructing: the same or a comparably simple set of weights, searched even shallowly, wins every game, under gravity and under flanking capture. What a zero-shot weight-space-programmed network of the kind built throughout this paper cannot supply, by construction, is the search itself, since a feed-forward network's depth is fixed at construction time and its forward pass cannot recurse on its own output the way a minimax search does. This is an architectural property of the object being built, not a property of how well or how carelessly any particular instance of it was built, and ten networks built with the same care, by the same process, land on either side of that line depending only on whether the target game's competent play needs planning depth the architecture cannot provide, never on which specific game mechanic was used to pose the question. One independent replication of this specific comparison, detailed in Section 5, initially appeared to qualify this reading: an independently built standard-Othello network facing a two-ply search opponent, one ply shallower than the three-ply opponent used against our own network, scored an even 50% rather than collapsing to zero. A second, higher-effort attempt by the same model at the same task, reported in the same section, did not reproduce this: against the identical two-ply opponent it lost every one of 40 games. Taken together, the more defensible reading is that the collapse documented throughout this paper is not reliably staved off by dropping to a two-ply opponent, and that the one result suggesting otherwise is better explained by variance in a single heuristic's construction than by a stable minimum search depth specific to this game.
The four replicate pairs also demonstrate something about the method of this study itself, not only about weight-space programming: every rung's qualitative finding survived its replicate, but no rung's quantitative detail survived unchanged, and the two kinds of result require different confidence. Wythoff confirmed that closed-form games admit exhaustive proofs, and revealed that the construction cost of doing so is not constant across closed forms. Dots and Boxes confirmed that shallow heuristics plus verified exact-match corrections close the gap to optimal play at this scale, and overturned the implicit assumption, invisible with only tic-tac-toe as a data point, that a terminal-in-one-move tactic is always safe to apply unconditionally. Othello confirmed the exact-proof-at-small-scale, statistical-collapse-at-large-scale pattern under a geometrically unrelated capture mechanic, and recalibrated how much of that pattern depends on the presence of terminal-in-one-move tactics versus on state-space size alone. King-and-Queen confirmed the local-exact, global-incomplete split found in King-and-Rook, and showed that the severity of that split is not a fixed property of "sliding-piece chess endgame" but scales continuously with plan length and with whether the one-ply safety checks involved are exact or heuristic. A single game per rung would have reported each of these qualitative findings with no way to know whether its specific number was representative of the rung or an accident of the one example chosen, which is exactly the gap a difficulty-graded sample with a single example per level cannot close on its own.
This architectural reading also clarifies what the Track A and Track B split, described in Section 3, is and is not for. Track A measures what the technique can achieve when the model doing the constructing has code execution, iterative testing, and exhaustive-search tooling available during construction, which is the regime every number in Section 4 was produced under. Track B, released here as a prompt pack and a grading harness but not yet administered to any model other than the one whose output this paper reports, is designed to measure a different and narrower quantity: how much of Track A's result survives a single, cold, tool-free attempt, and whether that quantity varies across providers. The two tracks answer different questions, and the separation matters because the architectural ceiling identified above is a property of the artifact being constructed, not of the process that constructs it; we would expect it to reproduce under Track B's colder conditions for exactly the rungs where it is architectural, rungs 2b and 3, and we would expect Track B's cold, single-attempt condition to primarily affect how much of the easier rungs' exactness (the override tables, the exhaustive proofs) a given model manages to reproduce without iteration, rather than whether the hard rungs succeed. Testing that expectation, including whether it holds consistently across each rung's replicate as well as its primary game, is future work.
7 Conclusion
We built and independently verified a four-rung, difficulty-graded ladder of zero-shot weight-space-programmed game-playing networks, with a second, structurally unrelated network at each rung to separate what each rung's finding says about the difficulty level from what it says about the one game used to measure it. Six of the ten networks are correct by exhaustive search against independent oracles, two reaching a state-space scale 23 times past the paradigm's original tic-tac-toe demonstration under two unrelated game mechanics; the chess-endgame rung identifies a precise, controlled architectural boundary at which the technique stops working, whose severity its replicate shows depends continuously on plan length and on whether local safety checks are exact rather than heuristic; and the standard-sized rung's two independent instances confirm that boundary is architectural rather than a matter of insufficient engineering effort, since a policy sharing its opponent's exact evaluation weights but no search loses to one with even minimal search under two unrelated game mechanics. Local, one-ply-scoreable tactics and geometric legality constraints compile into hand-set weights reliably; policies whose competence requires composing many such local decisions into one global plan do not, regardless of how carefully those weights are chosen, because the construction's bounded-depth feed-forward architecture has no mechanism for the recursive search that composition requires; and every one of these findings reproduced, directionally if not in magnitude, when tested against a second, independently built network rather than trusted from a single example. Five independent replication attempts, two from other providers and three spanning one provider's own model sizes, corroborate this picture and sharpen one part of it: a tablebase variant of the hardest rung's networks, built by one of the five, forces mate at the exact theoretical optimum in both chess endgames, which shows the architectural ceiling this paper documents is a ceiling on what a compact, hand-derivable circuit can find, not on what a bounded-depth feed-forward network can in principle represent. The same replications show this capability boundary is not uniform across model sizes within a family: the smallest model tested did not fail by attempting construction and falling short, as every larger model and every other provider's model did, but by reasoning its way out of attempting most of the ladder at all, on the basis of feasibility estimates that were themselves wrong by orders of magnitude at exactly the rungs every larger model solved exhaustively within minutes. We release the ladder, all ten networks' independent oracles, their construction-cost measurements, the brief used for every replication reported here, and a cold, tool-free prompt protocol intended for a future comparison of this same boundary across still other models.
References
Allis, V. (Oct. 1988). "A Knowledge-based Approach of Connect-Four". Report IR-163, Department of Mathematics and Computer Science. Also published in 1992 as Report CS 92-04, Faculty of General Sciences, University of Limburg, Maastricht. MA thesis. Amsterdam, The Netherlands: Vrije Universiteit Amsterdam.
Bouton, C. L. (1901). "Nim, A Game with a Complete Mathematical Theory". In: The Annals of Mathematics 3.1/4, pp. 35–39. DOI: 10.2307/1967631.
Haworth, G. (2020). "CEN: Thomas Ströhlein's Endgame Tables, a 50th Anniversary". In: ICGA Journal: The Journal of the Computer Games Community 42.2-3, pp. 165–170. DOI: 10.3233/ICG-200151.
Leslie-Hurd, J. (n.d.). King & Rook vs King. https://gilibith.com/chess/krk/. No publication or last-updated date is shown on the page itself. Accessed 2026-11-04. Independent corroboration only: reports the same position counts (175168 white-to-move, 223944 black-to-move, 22244 stalemate-or-capture) and maximum distance-to-mate (16 moves) as this paper's own from-scratch retrograde-analysis oracle (see chess_krk_wsp/RESULTS.md), which is the primary source for the position counts in this paper; the maximum distance-to-mate is additionally cross-checked against Haworth (2020).
Schaeffer, J. et al. (2007). "Checkers Is Solved". In: Science 317.5844, pp. 1518–1522. DOI: 10.1126/science.1144079.
Takehi, R. et al. (Nov. 2026). Sparks of Weight-Space Programming: LLMs can natively read & write neural network weights. https://rikiyat.github.io/blog/weight-space-programming/. MIT CSAIL. Accessed 2026-11-04.