Second-order Cellular Automaton

A second-order cellular automaton is a type of reversible cellular automaton (CA) invented by Edward Fredkin where the state of a cell at time t depends not only on its neighborhood at time t − 1, but also on its state at time t − 2. Specifically, the neighborhood at time t − 1 is used to choose a function fn from some larger set of possible functions, that maps the state of the cell at time t − 2 to its state at time t. As long as each possible function fn is invertible, it follows that the resulting automaton is reversible, regardless of how the functions are chosen.

In particular, for two-state cellular automata, any ordinary CA rule can be turned into a second-order rule by computing the exclusive or of what the ordinary rule would compute as the new state of each cell at time t with its past state at time t − 2. In fact, all two-state second-order rules may be produced in this way. The resulting second-order automaton, however, will generally bear little resemblance to the ordinary CA it was constructed from. Second-order rules constructed in this way are named by Stephen Wolfram by appending an "R" to the number or code of the base rule.

Second-order automata may be used to simulate billiard-ball computers and the Ising model of ferromagnetism in statistical mechanics. They may also be used for cryptography.