Electric Support

Research collection

Computational methods

Measured ·

In the Andrews–Curtis competition we used computers to answer two questions. Does this sequence of moves work? Could any shorter sequence work? The first takes a replay. The second needs a lower bound.

Start with the exact words

We replayed each candidate from the official starting words, checking the endpoint, the length of the words after each move and the total work. By 1 December, 35,171,834 routes had passed the competition verifier in our local archive. Each gives an upper bound on the moves needed for its problem.

Electric handles exact word calculations. Our Lean theorem shows that whenever the plain word checker accepts a route, the starting pair reaches (x, y). A second build checked the theorem with Lean’s kernel.

When a route is shortest

Search forward from the start and backward from the goal. If a shorter route exists, the two searches must meet once their combined depth covers that length. For 90 plain problems with routes of 8–19 moves and 23 more with routes of 20–22 moves, exhaustive checks ruled out everything shorter. A second implementation reproduced all 113 results on 2 December.

Reuse a known way home

When a search reached the same ordered pair of reduced words as an earlier route, it could reuse that route’s ending. We indexed 9.2 billion states this way. Within ten plain moves of the goal, a separate exhaustive table gives the exact distance. Farther out, a stored ending tells us how many moves suffice.

On the stable board, an extra generator let us reuse a long word. From 25 October through 11 November, we counted 2,076 improvements that used this technique, saving 52,494 moves.

Did a learned search find shorter routes?

We ran the same search with a learned move ranker switched on and off. Each run had 5 hours 25 minutes on the same 220 problems. Both recovered our previous best lengths. Neither matched or beat a board record. In a separate experiment, a model picked a move with the lowest stored cost 62.4% of the time, but those costs drew on routes from the test families.

We also tried fine-tuning a language model on our notes. On 11 tasks that required exact tool use, the original model solved eight and the tuned version solved three. We now hold out whole problem families and disable stored answers when testing a fresh search.

What a search can rule out

Across 7,443 plain routes, we checked 44,882,616 stretches for a shorter replacement of at most eight moves joining the same endpoints. None existed in that range. In a separate test on 13 stable routes, every search hit its state limit. Those runs left the unvisited states open.

If you can extend a result, or would like to ask about a tool or citation, please contact Magic.

Research notes

Checking the checker

Three mistakes that changed how we test proof software.

Corrections to earlier claims

Two earlier conclusions changed when we checked what the counts meant.

What does a zero-hit search rule out?

The endpoints and the search budget determine what a negative result means.

113 exact plain distances

A verified route and an exhaustive lower bound meet at the same length.

Two endings that take exactly 17 moves

A lower bound can become sharp partway through a long reduction.

Two longer routes can produce a shorter one

A controlled test over all subsets isolates which two inputs mattered.

When a stored cost is an exact distance

A table can give a way home before anyone knows the shortest way.

Does ranking the next move improve a search?

A ranking score and a verified record measure different outcomes.

How far could a learned walker go?

Short reconstructions became rare as the required connection grew.

Fine-tuning on our notes hurt exact tool use

The original language model solved more of the same eleven tasks.

What counts as an unseen test problem?

A new row can still describe a state the model has already seen.

What a checked route proves

A successful replay on words gives a proof of reachability in the formal move system.