The Maltese Gear Cube is a mechanical puzzle with a state space of approximately 4.9 × 1019 configurations, orders of magnitude larger than a standard Rubik's Cube. Classical search algorithms such as BFS and IDA* become computationally intractable at this scale without a highly accurate heuristic to prune the tree. The challenge: learn a cost-to-go function h(s) entirely through self-supervised backward induction (no human-designed move sequences, no domain-specific solver) then deploy it inside a batched weighted A* search that returns provably near-optimal solutions at 100% solve rate on any scrambled starting configuration.
Learning a heuristic only works if the move set is understood first. This explorer catalogues 5 161 macros, conjugates and commutators of the base turns running 1 to 104 moves long, alongside the exact effect each one has on the solved cube. Pick a macro on the left, then scrub through it move by move: the right-hand net redraws as the cube changes, and a cyan ring marks every piece that no longer matches the goal state.
