One hole, labeled tiles, an exhaustive atlas
The Puzzle With Six Worlds
Parity splits an ordinary sliding puzzle into two reachable halves. Wilson found one qualifying graph that does something stranger: theta_0 breaks into six disconnected worlds. Slide the tiles, then let an exhaustive browser search enumerate every arrangement and show why the full components contain 840 states, while each hole-at-home slice contains 120.
Building the complete state graph.
Click any tile next to the hole. A legal shuffle is only a faster sequence of those same moves. Watch the current-world label before and after: no legal slide can change it. Deal another world may cross the boundary because it places a board directly. It is explicitly not a legal move.
The census is running.
The ordinary wall
On a bipartite graph, every edge goes from one vertex colour to the other. A slide does two things at once: it swaps the hole with one tile, flipping the sign of the full permutation, and it moves the hole to the other colour. Those two flips cancel inside one combined bit. Half the boards have one value of that bit, half have the other, and no legal move changes it.
invariant = permutation sign × hole-side signThe ordinary grid puzzle lives here. The familiar parity obstruction is not merely a trick for the numbered square box. It is the bipartite branch of a classification for sliding puzzles on graphs. Switch the instrument between Bipartite K2,3 and Odd cycle + chord: the same census sees two equal components in the first and one connected universe in the second.
The objection: parity already explains everything
It does not. Parity has only two values. It can split a universe in half, but it cannot produce six mutually unreachable classes. Wilson's exceptional graph does exactly that. It is a hexagon with a new middle vertex joining opposite corners, or equivalently two endpoints joined by three internally disjoint paths of lengths 3, 3, and 2.
Load the exception in the instrument. The code does not apply a parity formula or look up Wilson's answer. It generates every labeling, connects two labelings only when one legal slide changes one into the other, and runs breadth-first search until no unseen state remains.
Enumerating the exceptional puzzle.
There is a counting subtlety worth keeping, because dropping it makes a true result look false. The full state graph includes every possible position of the hole. Its connected components therefore contain more than 120 states. The classical puzzle group instead asks what permutations of the six tiles can be made while returning the hole to one chosen home vertex. The live atlas reports both counts. Each full world contains all seven possible hole positions above one 120-arrangement home slice.
Parity fails inside every exceptional world
Return attention to the small line at the bottom of each world card. The browser counts even and odd tile permutations separately, only among arrangements with the hole at home. In the bipartite example each world is pure: one contains one parity, the other contains the other. In theta_0, every world contains both parities in equal number. The exceptional obstruction is not a finer version of the ordinary even versus odd fence. It cuts across that fence.
The group hiding behind the hole
Move the hole around a closed route and return it home. What remains is a permutation of the six numbered tiles. The tile permutations induced by all such closed routes form the puzzle group. The exhaustive search measures its orbit from any home arrangement, so the order of that action is the computed size of one hole-at-home world. Its index is the number of such worlds.
Wilson identifies the exceptional puzzle group as a transitive subgroup of S6 isomorphic to S5. The exceptional six-point action is often written as PGL(2,5) acting on the six points of the projective line. That abstract identification is cited group theory. The browser establishes the safer finite claim directly: the orbit order and index shown in the atlas. It does not infer a group isomorphism from a matching order.
Where Wilson's theorem applies
The classification is powerful because its hypotheses are narrow and exact. The graph must be finite, simple, and 2-connected, also called nonseparable. Removing any one vertex must leave it connected. A single cycle is excluded. Subject to those conditions, Wilson's theorem gives the connected case, the bipartite two-world case, and the one exceptional six-world case.
Inside the theorem
Finite simple graphs, one distinguished hole, distinct labeled tiles, 2-connected, and not a single cycle.
Outside this statement
Trees, graphs with a cut vertex, disconnected graphs, cycles, repeated tile labels, directed edges, or more than one hole need separate analysis.
The check
These rows are rebuilt from the selected graph by the same exhaustive search driving the puzzle. Nothing in the right column is a pasted answer.
The independent no-dependency verifier repeats the enumeration from scratch and fails
loudly if any count drifts:
node research/the-puzzle-with-six-worlds/verify-the-puzzle-with-six-worlds.mjs.
Honest apparatus
- What the browser proves. Exhaustive search settles the three finite graphs encoded here. It constructs all permutations, builds edges from legal slides, and counts connected components. This is a complete census, not a sample.
- What is cited. Wilson's general classification and the abstract exceptional group identity are not reproved by enumerating three examples. They are cited to the 1974 paper. Defant and Kravitz give a modern statement in connected puzzle-graph language.
- The exact exceptional graph. The adjacency is the hexagon 0-1-2-3-4-5-0 plus 0-6-3. The code checks that this graph is 2-connected, non-bipartite, and not a single cycle before showing the theorem comparison.
- Free presentation choices. Vertex 0 is called home. World names I through VI, colours, screen positions, and the length and randomness of the legal shuffle are interface choices with no mathematical force.
- The state model. Tiles are distinct, edges are undirected, there is exactly one hole, and a legal move swaps that hole with one tile on an adjacent vertex. There are no measurements, fitted parameters, or probabilistic estimates.
- The counting correction. The full seven-position state graph has six components of 840 states. The number 120 applies after restricting to states where the hole is back at its chosen home. Both are true, and both are shown.
Sources
Richard M. Wilson, "Graph puzzles, homotopy, and the alternating group," Journal of Combinatorial Theory, Series B 16 (1974), 86-96. Colin Defant and Noah Kravitz, "Friends and strangers walking on graphs," Combinatorial Theory 1 (2021), article 6, especially Theorem 2.5. William Woolsey Johnson and William Edward Story, "Notes on the '15' Puzzle," American Journal of Mathematics 2 (1879), 397-404.