Anchors on the 8-puzzle — result

Report · File revision
  • Plan: spec
  • Status: done
  • Date: 2026-11-23

Result #

60 puzzles (30 solvable, 30 impossible), 3,000,000 presses allowed per puzzle.

Goldfish Elephant Oracle
Solvable puzzles solved 30 of 30 30 of 30 30 of 30
Median presses on a solvable puzzle 364,784 208 22
Presses beyond the shortest routes, all 30 12,987,401 56,587 0
Impossible puzzles called impossible 0 of 30 30 of 30 30 of 30
Presses spent on impossible puzzles 90,000,000 862,416 0
Total presses, all 60 puzzles 102,988,066 919,668 665
Facts stored at the end 0 775,821 0
Memory held 3 KB 68 MB under 1 KB
Thinking steps (boards examined in its head) 0 6,346,534 64,865

The harness checks in the plan hold: the Oracle played exactly the shortest route on 30 of 30 solvable puzzles and called 30 of 30 impossible puzzles with zero presses; a second run with the same seeds gave identical numbers; 17 tests pass, including the known facts that 181,440 boards can reach the target and the hardest needs 31 presses.

How the Elephant's presses were spent:

  • First impossible puzzle: 862,416 presses. It tried all four buttons on all 181,440 boards in the unreachable half (725,760 presses) and walked 136,656 more between them. The other 29 impossible puzzles cost zero presses, but each one made it re-read all 181,440 boards in its notes to be sure.
  • First solvable puzzle: 49,321 presses (shortest route: 23).
  • Later solvable puzzles: 52 to 1,293 presses, against shortest routes of 16 to 30. It finished knowing 50,061 of the 725,760 facts in the solvable half (7%), so a new start usually meant wandering until it met a board it knew, then following a long remembered route.

Conclusion #

The range is set. On a solvable puzzle, memory alone takes the cost from about 365,000 presses to about 200, and knowing the rules takes it from about 200 to 22.

What was learned:

  • Understanding is worth most when the answer is "no". 94% of everything the Elephant pressed went on proving one puzzle impossible. The Oracle does it by counting, with no presses.
  • Memory without understanding does not converge quickly. After 30 solvable puzzles the Elephant was still about ten times over the shortest route, because it never needed to learn most of the solvable half.
  • The Goldfish cannot say "impossible". It can only run out of budget.

Limits. This is one puzzle order from one seed; the Elephant's first-puzzle costs depend on which puzzle comes first. The memory row understates the Oracle: its knowledge is the rules it was given as code, which that row does not count.

Suggested for 001-02: an agent that learns what each button does from a few dozen presses, and is measured on boards it has never seen. Suggested claim to test later: an agent that finds the odd-or-even rule itself can call an impossible puzzle for far fewer than 862,416 presses.