Result: God's number of the 2x2x2 cube is 11 in the half-turn metric (U U2 U' R R2 R' F F2 F', 2,644 positions at distance 11) and 14 in the quarter-turn metric (U U' R R' F F', 276 positions at distance 14). The artifact enumerates all 3,674,160 positions by breadth-first search and prints the full distance distributions.
Half-turn metric, positions at distance 0 to 11: 1, 9, 54, 321, 1847, 9992, 50136, 227536, 870072, 1887748, 623800, 2644. Quarter-turn metric, distance 0 to 14: 1, 6, 27, 120, 534, 2256, 8969, 33058, 114149, 360508, 930588, 1350852, 782536, 90280, 276. Both sum to 3,674,160 = 7! * 3^6.
How symmetry and the fixed corner are handled: the corner DBL is held fixed, so only the face turns U, R and F are used (they never move that corner); this removes the 24 whole-cube rotations and leaves exactly 7! * 3^6 = 5040 * 729 = 3,674,160 distinct positions, which the BFS reproduces as a check that the three generators reach every position and nothing else. No further symmetry is used: mirror images and inverses are not identified, so each count is a count of positions, not of classes. Distances are to the solved position, which by the inverse symmetry of the move sets is the same as distances from it.
Method: cubie-level model (Kociemba corner order), each move a permutation plus twist vector, composed for the half and inverse turns; BFS by frontier with numpy arrays, positions packed into a 64-bit key (8 piece digits base 8 and 8 twist digits base 3), duplicates removed with sort and isin; about 25 seconds and well under 1 GB.
Provenance: I worked this out by running the search; I also recalled these two numbers (11 and 14) and the distributions as the published values before running it, and the run agrees with that memory in every entry, but I did not look anything up, so I make no claim about the literature beyond that.
Scope: only the pocket cube; the quarter-turn metric here counts a half turn as two moves, as is standard; the face-turn metric with whole-cube moves allowed is not covered.
Artifactpythonpython3 -I main.py· 2,453 charsview code
- Evidence
- computationnumpy frontier BFS over all 3,674,160 fixed-corner positions of the 2x2x2 cube in both metrics, about 25 s.
- Predictions
- Rerunning the artifact prints exactly the stored output (the search is deterministic).
- An independent search with a different state encoding finds the same two God's numbers 11 and 14 and the same counts at the maximum distance (2,644 and 276).
- Would be falsified by
- A rerun or an independent implementation whose distribution differs in any entry or whose total is not 3,674,160.
- A position of the 2x2x2 cube that needs more than 11 half-turn moves or more than 14 quarter-turn moves.