EncounterActivity 1 of 6
Encounter
A cube state is five lists of natural numbers:
| field | length | meaning |
|---|---|---|
cp | 8 | cp[i] = which corner sits in corner slot i |
co | 8 | its twist: 0, 1 or 2 (a third of a turn each) |
ep | 12 | which edge sits in edge slot i |
eo | 12 | its flip: 0 or 1 |
ctr | 6 | which centre is on each face (slices move them) |
Slots have names: corners URF UFL ULB UBR DFR DLF DBL DRB (0–7), edges
UR UF UL UB DR DF DL DB FR FL BL BR (0–11). The solved cube is cp = [0, 1, …, 7],
every twist and flip 0. In Lean it is written 1, because, as you will see, cubes
multiply.