The Logic Mill Specs

The Logic Mill is what less than 100 years later would be called the Turing machine. It has one tape and one head. It accepts the transition rules in the following format:

current_state current_symbol new_state write_symbol move_direction
current_state2 current_symbol2 new_state2 write_symbol2 move_direction
current_state3 current_symbol3 new_state3 write_symbol3 move_direction

Limitations

Example

Let's take unary number increment as an example. The number is represented as a sequence of |. For example, 4 is represented as |||| on the tape. The transition rules for increment would be:

INIT _ FIND _ R
FIND 1 FIND 1 R
FIND _ HALT 1 R

Below is the step-by-step execution of the Mill:

Step Current State Tape after step New State Write Symbol Move Direction
1 INIT _||||_ FIND _ (no change) Right
2 FIND _||||_ FIND | (no change) Right
3 FIND _||||_ FIND | (no change) Right
4 FIND _||||_ FIND | (no change) Right
5 FIND _||||_ FIND | (no change) Right
6 FIND _||||| HALT | Right

The Mill halts after 6 steps and the result is |||||, which represents the number 5.

Other Resources