Abstract
Researchers at the University of Alberta have achieved the first complete solution of the game of Hex on an $8 \times 8$ board. By integrating graph-theoretic board decomposition, an expanded Inferior Cell Engine (ICE), and novel proof set reduction techniques, the team reduced the search space by orders of magnitude. This approach allowed them to complete a task previously estimated to require nearly a decade of computation in under two weeks on a single desktop computer.
Introduction
Hex is a mathematically elegant connection game played on an $n \times n$ rhombus of hexagons. It possesses the unique property that it cannot end in a draw, and a first-player win is guaranteed to exist. Despite its simple rules, Hex is PSPACE-complete. While the $7 \times 7$ board was solved in 2005, the $8 \times 8$ board represents a massive jump in complexity, with a state space of approximately $10^{27}$—roughly 10 million times larger than its predecessor. Previous experts characterized the $8 \times 8$ game as "entirely intractable" without fundamental breakthroughs in search efficiency.
Methodology
The researchers built upon a depth-first search framework using a Virtual Connection Engine (VCE), introducing several critical enhancements to move beyond brute-force search toward intelligent board analysis.
Inferior Cell Engine (ICE)
A primary innovation was the expansion of the Inferior Cell Engine. The authors increased the library of "inferior cell" patterns from a single known pattern to over 250. These patterns identify cells that are either "dead" (cannot affect the game's outcome) or "captured" (effectively owned by one player). By identifying these cells early, the solver can prune them from the search tree immediately.
Proof Set Reduction and Pruning
The solver utilizes several graph-theoretic and combinatorial techniques to simplify the board:
- Clique Cutsets: These identify regions of the board that are effectively isolated from any winning path.
- Combinatorial Decompositions: The solver identifies "bridges" between stones. If a group of stones "crowds" both sides of the board, the game is decomposed into two smaller, independent subgames.
- Proof Set Reduction: When a winning strategy is found, the algorithm identifies the minimal set of empty cells (the "proof set") required for that win. This allows the solver to deduce the value of thousands of related board states that differ only in "ignored" cells.
Mustplay Pruning
The most impactful feature was "mustplay" move ordering. If an opponent has multiple winning threats, a player must play in the intersection of the cells that complete those threats. This single feature provided a 25x reduction in the number of nodes searched.
Results and Discussion
The algorithm successfully solved all 64 opening moves on the $8 \times 8$ board in 301 hours (approximately 12.5 days) on a single Intel Core 2 Quad desktop. The solver processed 106.4 million interior nodes. Remarkably, while the state space of $8 \times 8$ is 10 million times larger than $7 \times 7$, the authors' algorithm only required 1,300 times more nodes to reach a solution.
Many of the new techniques, such as ICE and graph analysis, have polynomial time complexity relative to board size. This allows them to scale significantly better than previous template-matching techniques, which often scaled exponentially.
Conclusion
Despite these breakthroughs, the $9 \times 9$ board remains the current frontier. The authors noted that their solver made no significant progress on center $9 \times 9$ openings after two weeks of computation. Future work will likely focus on reducing the computational overhead of proof set reduction and expanding the depth of transposition databases to overcome the "9x9 wall."
Summary updated