Revisiting Korf's 3x3x3 Counts And Identifying Duplicate Positions
Submitted by NoLongerUnsolve... on Fri, 06/10/2016 - 21:18.
A while ago I generated a corners database for the 3x3x3 subset of positions that are applicable to the 5x5x5 cube. I used a move generator that generated 27 moves at depth 1 instead of the commonly reported 18. My move generator also spawned the middle slice turns along with the familiar turns of the outer faces. The total positions reported for the corners database agreed in the end.
Recently I decided to implement the Korf move generator. In my mind, it is really more akin to a 2x2x2 move generator, since every move sequence that is generated can also be played out on a 2x2x2 cube. (Contrast that to some 5x5x5 moves which clearly have no counterpart of smaller cubes.) My move generator started with the solved cube, counted nodes as a function of depth, and placed each unique cube in a hash table, flagging all of the duplicate positions that came next.
From depths 1 through 3, there were no duplicate positions. At depth 4, there were 15:
======================================================================================
Line of play: L2 U2 D2 R2 is a duplicate of R2 U2 D2 L2
Line of play: L2 U2 D2 L2 is a duplicate of R2 U2 D2 R2
Line of play: L2 F2 B2 R2 is a duplicate of R2 F2 B2 L2
Line of play: L2 F2 B2 L2 is a duplicate of R2 F2 B2 R2
Line of play: U2 D2 R2 L2 is a duplicate of R2 L2 U2 D2
Line of play: D2 R2 L2 U2 is a duplicate of U2 R2 L2 D2
Line of play: D2 R2 L2 D2 is a duplicate of U2 R2 L2 U2
Line of play: D2 F2 B2 U2 is a duplicate of U2 F2 B2 D2
Line of play: D2 F2 B2 D2 is a duplicate of U2 F2 B2 U2
Line of play: F2 B2 R2 L2 is a duplicate of R2 L2 F2 B2
Line of play: F2 B2 U2 D2 is a duplicate of U2 D2 F2 B2
Line of play: B2 R2 L2 F2 is a duplicate of F2 R2 L2 B2
Line of play: B2 R2 L2 B2 is a duplicate of F2 R2 L2 F2
Line of play: B2 U2 D2 F2 is a duplicate of F2 U2 D2 B2
Line of play: B2 U2 D2 B2 is a duplicate of F2 U2 D2 F2
At depth 5, there are 372.
At depth 6, there are 4292.
At depth 7, there are 20184.
At depth 8, there are 118873.
I stopped there for now.
My supposition at this point is that the duplication is somehow a function of the symmetry of the solved cube at the start, since I see no reason why these moves need to be disqualified from the overall node count. I seem to recall Bruce mentioning something like this to me a while back.
My big question is: Why is it generally accepted that there are only 18 unique nodes at depth 1? Clearly I can make 27 unique moves on a 3x3x3 cube from the solved state.
---Ed Trice
Recently I decided to implement the Korf move generator. In my mind, it is really more akin to a 2x2x2 move generator, since every move sequence that is generated can also be played out on a 2x2x2 cube. (Contrast that to some 5x5x5 moves which clearly have no counterpart of smaller cubes.) My move generator started with the solved cube, counted nodes as a function of depth, and placed each unique cube in a hash table, flagging all of the duplicate positions that came next.
From depths 1 through 3, there were no duplicate positions. At depth 4, there were 15:
======================================================================================
Line of play: L2 U2 D2 R2 is a duplicate of R2 U2 D2 L2
Line of play: L2 U2 D2 L2 is a duplicate of R2 U2 D2 R2
Line of play: L2 F2 B2 R2 is a duplicate of R2 F2 B2 L2
Line of play: L2 F2 B2 L2 is a duplicate of R2 F2 B2 R2
Line of play: U2 D2 R2 L2 is a duplicate of R2 L2 U2 D2
Line of play: D2 R2 L2 U2 is a duplicate of U2 R2 L2 D2
Line of play: D2 R2 L2 D2 is a duplicate of U2 R2 L2 U2
Line of play: D2 F2 B2 U2 is a duplicate of U2 F2 B2 D2
Line of play: D2 F2 B2 D2 is a duplicate of U2 F2 B2 U2
Line of play: F2 B2 R2 L2 is a duplicate of R2 L2 F2 B2
Line of play: F2 B2 U2 D2 is a duplicate of U2 D2 F2 B2
Line of play: B2 R2 L2 F2 is a duplicate of F2 R2 L2 B2
Line of play: B2 R2 L2 B2 is a duplicate of F2 R2 L2 F2
Line of play: B2 U2 D2 F2 is a duplicate of F2 U2 D2 B2
Line of play: B2 U2 D2 B2 is a duplicate of F2 U2 D2 F2
At depth 5, there are 372.
At depth 6, there are 4292.
At depth 7, there are 20184.
At depth 8, there are 118873.
I stopped there for now.
My supposition at this point is that the duplication is somehow a function of the symmetry of the solved cube at the start, since I see no reason why these moves need to be disqualified from the overall node count. I seem to recall Bruce mentioning something like this to me a while back.
My big question is: Why is it generally accepted that there are only 18 unique nodes at depth 1? Clearly I can make 27 unique moves on a 3x3x3 cube from the solved state.
---Ed Trice