# How chess could be solved: the obstacles, what cancels each, and a staged plan

Solved games are not a fantasy. Connect Four was solved in 1988, checkers (a draw) in 2007, and antichess in 2016
(1.e3 wins for White). Checkers has about 5 × 10²⁰ positions, and its proof touched only about 10¹⁴ of them. Chess is
bigger, but it is made of the same parts. This note takes it apart: each obstacle, what cancels it, the number measured
in this directory, and what it does to the size of a proof. The numbers come from the files named; where a figure is
an estimate or an analogy, it says so.

## 1. What "solving" means

The target is a weak solution: the value of the starting position, and a strategy that achieves it. If chess is a draw,
that takes two certificates:

- **White never loses:** a White move at every White turn that holds, against every Black move;
- **Black never loses:** a Black move at every Black turn that holds, against every White move.

Each certificate is an AND/OR proof graph. The side proving (the **prover**) chooses one move per turn. The other side
(the **defender**, the one trying to win) has every legal move answered. The proof ends at leaves whose value is known
exactly: checkmate, stalemate, dead positions, and endgame tablebase positions. A certificate is checked by independent
code, as every proof in this directory is (`verify_proof.py`, `minichess_ref.py`).

## 2. The size equation

With prover moves chosen well, a certificate's size is roughly

  **N ≈ b_d^(H/2) / T**

where:

- **b_d** is the defender's effective branching: the moves that need a full-depth answer;
- **H** is the depth in plies to the leaves;
- **T** is the saving from transpositions, where different move orders reach the same position.

Everything below lowers b_d, lowers H, or raises T.

The anchor is checkers. Its proof touched about 10¹⁴ of 5 × 10²⁰ positions, an exponent of about 0.68 on the state
space. With perfect move ordering the classical bound is 0.5: one move per prover turn and all replies, the
Knuth–Moore minimal tree. Chess has about 4.8 × 10⁴⁴ legal positions, so:

| exponent on the state space | proof size | at 10¹³ proof nodes a second (a million machines at 10⁷ each) |
|---|---|---|
| 0.50 (the Knuth–Moore ideal) | about 10²² | about 70 years; 7 years at 10⁸ a machine |
| 0.55 | about 10²⁵ | thousands of years |
| 0.60 | about 10²⁷ | out of reach |
| 0.68 (the checkers ratio) | about 10³⁰ | out of reach |

**The whole problem is the exponent.** Hardware buys a constant factor, and pushing the exponent toward 0.5 buys eight
orders of magnitude. Getting below 0.5 needs proofs that cover many positions at once (section 3, item 9). That is the
most promising place to look.

## 3. The obstacles, and what cancels each

| # | obstacle | what cancels it | measured here | effect |
|---|---|---|---|---|
| 1 | 4.8 × 10⁴⁴ positions | A proof never visits them all: the prover needs one move per turn. | Bounds proved with no forced mate in 13 plies; the proof cost multiplies about 11–18× per White move on every board size (`solve_minichess_*.json`). | exponent at most about 0.5 with perfect ordering |
| 2 | the defender has about 33 legal moves | Most are bad, and bad moves have short refutations. Only the sound ones need full-depth answers. | 31% (opening), 54% (middlegame) and 37% (late) of moves lose two pawns or more. Only 4.5–8.3 moves are within a quarter pawn of the best (`play_corpus.json`). | b_d drops from about 33 toward 10–15 |
| 3 | the prover must find a holding move every turn | Drawn positions are forgiving: several moves hold, and engines find them. | 4.5–8 moves within a quarter pawn per position. One prover answer holds against about **6.3** defender moves on average, at plies 3 and 4 alike (400 replies covered by 63 answers; 8 902 by 1 413). | the prover's strategy is small; ordering is near ideal |
| 4 | depth to known leaves (H) | Endgame tablebases are exact leaves (7 pieces done, about 4 × 10¹⁴ positions). Bigger tables move the horizon earlier, the prover can steer toward simplification, and structural certificates can end lines sooner. | In strong self-play only 15 of 48 games reach 7 pieces, at a median of ply 115. Engines playing for themselves do not simplify. | H is the biggest lever after b_d; a prover that trades pieces shortens it |
| 5 | repetitions and the 50-move rule (history) | Proof search that handles history (the graph-history-interaction problem has known solutions), plus one-sided relaxations. | The starting-position bounds here drop the defender's draw claims; that only helps the attacker, so the bounds stay sound. | correctness, not size |
| 6 | the same position by many move orders | Store the proof as a graph, not a tree: one subproof per position. | Sequences per distinct position: 1.7 at ply 3, 2.7 at ply 4, 5.9 at ply 5, and growing (`atlas_unique.json`, matching OEIS A083276). | T grows with depth |
| 7 | symmetry | Little to cancel: chess has almost none, apart from colour. | D0RE C1: the symmetry quotient "barely compresses". | small |
| 8 | evaluations are not proofs | Engines only order moves; leaves are exact; every certificate is checked by a second implementation. | Learned and engine orderings cut search 6–8× without risking a false proof (`benchmark_results.json`, `deep_benchmark_results.json`). | speed without risk |
| 9 | each position proved separately | Proofs over **classes** of positions: a lemma that holds whatever happens in a region the play never touches. Symbolic (set-based) search, abstraction and refinement, sums of independent regions as in combinatorial game theory. This is the photon move: drop the descriptions that make no difference. | One answer covering 6.3 defender moves (item 3) is the shadow of this. When the reply is the same, the resulting positions often differ only in a detail the rest of the play ignores. | the only route below exponent 0.5 |

## 4. Three findings that make this half full

1. **The defender's breadth is mostly an illusion.** Over half of the middlegame moves lose two pawns or more, and
   they need only short proofs. Only about 5–9 moves per position are real candidates.
2. **The prover's job is easy in drawn positions.** Several moves hold, and a few answers cover nearly every defender
   move (6.3 to 1). A draw proof's difficulty sits almost entirely on the defender's side, and that is where items 2,
   6 and 9 act.
3. **The horizon is the hidden cost, and it is controllable.** Self-play takes 115 plies to reach a tablebase because
   neither side tries to get there. In a proof, the prover may choose trades. How fast a determined prover can force
   simplification is measurable, and it is the next number to get.

## 5. A staged programme, each stage a real result

1. **The minichess ladder (start here).** The 8 × 4 board is solved: White mates in one. Prove 8 × 5 and 8 × 6 as
   well, where engines say White wins 90–100%. Use engine-guided proof-number search on `minichess.py`, with
   Fairy-Stockfish ordering and `minichess_ref.py` checking every certificate. Measure the proof size against the
   number of ranks and fit the exponent. This turns the estimates above into a measured law, and extrapolates it toward
   8 × 8.
   *Where this stands (23 November 2026, [docs/07-unicorn.md](docs/07-unicorn.md)):* the search has been run on both
   boards. On 8 × 5 it found no proof, and Black is nearer to holding than White is to winning. On 8 × 6 it produced a
   White strategy (1.a4, 134 Black nodes) that passes every engine check after 14 rounds of certification. That is not
   yet a proof: its leaves are decided by engine games rather than by mate or tablebases, and the Black replies it
   cuts are judged by one deeper search each. Exact leaves and proofs of the cut replies are what this stage still
   needs.
2. **The horizon under a simplifying prover.** Let the prover prefer trades while the defender plays at full strength.
   Measure the ply at which 7 and 8 pieces are reached. That gives H.
3. **Endgame-up proofs.** Take positions with 8–12 pieces from drawn main lines, prove them with 7-piece tablebase
   leaves, and measure the proof size against the piece count. That is the backward half of the exponent.
4. **Meet in the middle.** Forward certificates from the opening book, backward tablebases and certificates, and
   measure how the gap closes as each side grows.
5. **Class proofs.** Prove whole families of positions at once, such as fixed pawn structures with variable piece
   placement or blocked wings, and measure the compression against single-position proofs. This decides whether the
   exponent can drop below 0.5.
6. **Scale out:** a distributed proof graph, built the way checkers was, verified independently.

None of these stages needs a breakthrough to start. Each produces a number that decides whether the next is worth
scaling.
