The first law for the layered cube [frap-0004]

The layered model needs a reachability test. A tuple of permutations and orientations can describe a dismantled cube without being obtainable by legal slice turns. We now choose the labelled, fixed-frame state space from the layered-cube model and state the first law for that space. The theorem is a statement about labelled cubies; an ordinary colour pattern is its observation after equal-looking labels have been forgotten.