πŸ—οΈ Ξ˜ΟΟ΅Ξ·Ξ Ξ±Ο„Ο€πŸš§ (under construction)

Cubies constitute the different states the rubik's cube can be in. The centres of the cube never change, only the cubies are mobile and are able to change state. Upon any move in the set M, the cubies on that face perpendular to M rotate clockwise. This affects the four sides adjacent to the move by transferring the cubies on that side clockwise to the next side. for a cube to be solved, the colours of the cubies must allign with the centre (which never changes). F B R L D F and then can say stuff like RUD and that means turn the right face clockwi X means turn the face clockwise by looking direcctly at the face, and X' means turn the face counterclockwise whilelooking directly at the face R U over and over you get back solved state? what is an algorithm?: An algorithm is a finite sequence of moves the subalgorithm for a cubie, are the moves which change the state of the cubie what does it mean for an algorithm to fix a cubie? For after an algorithm, for a particular location on a cube to contain a cubie with the same orientation and colour. An algorithm fixes a cubie when the moves "applied to that cubie" cancel out.

Rubik's Cube Move Inverter

Cubie
A cubie is an atomic unit on a Rubik's Cube.
Algorithm
An algorithm is a finite sequence of moves
Rubiks Cube Base Moves
The moves of a rubiks cube M={f,b,r,l,u,d,e}
Move Operator
We define the move operator as follows (where the ) βˆ€m∈M,m4=e Also some of the elements in M commute f⋆b=b⋆f l⋆r=r⋆l u⋆d=d⋆u aditionally the element e acts like an identity: βˆ€m∈M,m⋆e=e⋆m=m
States of the Cube
We define the states of the cube as a set G G={∏i=1nmi:mi∈MΒ andΒ nβˆˆβ„•1}

Note that any state of the cube can be thought of as an ordered sequences of "moves" by reading from left to right which are being applied to e

The Rubiks Cube is a Group
The set M along with the move operator form a group.
If a Sequence of Moves Yields the Identity then applying those Moves to the Physical Cube Means it is Solved
Suppose that s=∏i=1nmiinG, and suppose that C=do_move(E,move_seq(s)), then do_move(C,move_seq(sβˆ’1))=E