Parity rule: Difference between revisions

From LifeWiki
Jump to navigation Jump to search
m expand a small amount with knowledge (Muzik has given me permission over messages)
m Muzik moved page User:Muzik/Page drafts/Parity rule to Parity rule without leaving a redirect: I think this is honestly sufficient for an actual page
(No difference)

Revision as of 14:05, 29 March 2024

Parity rules (or odd rules) are a specific class of one-dimensional cellular automata which may be defined to have each cell's state determined by the XOR of their neighbourhood for two-state patterns, and more generally, their sum modulo p for higher prime state numbers p.

XOR (and summation modulo an integer) is a distributive; using the ⊕ symbol, a⊕(b⊕c) = (a⊕b)⊕c. As such, a parity rule is distributive with XOR; for a parity rule r, beginning with two states, S and T, r(S⊕T) = r(S)⊕r(T). Since XOR is not a universal logic gate , no parity rule may be Turing-complete.

Although XOR is bijective, parity rules are not, since some admit nonempty patterns that vanish under their application, with which a pattern's predecessor may be XORed; however, such a perturbation must be infinite, so all finite patterns have unique finite predecessors.

The behaviour of several classes of patterns in two-dimensional cellular automata, notably replicators, are dictated by these parity rules.

Etymology

Rather than each cell being the XOR of its neighbourhood, consider each cell being convolved with its neighbourhood rotated 180º, and both the universe Ut and the neighbourhood N to be multivariate polynomials (in as many variables as there are dimensions), with the cell at coordinates (n,k) being the parity of the coefficient of xn*yk (ie. its coefficients are over GF(2) ), then performing an iteration of the cellular automaton is equivalent to multiplication by N (ie. Ut+1 = Ut*N).

In one dimension

All rules with two-cell neighbourhoods have evolution forming Sierpinski triangles, the only range-1 one-dimensional cellular automaton which does not is rule 150.

On February 1, 2022, Jiahao Yu showed a construction of oscillators of arbitrary period in rule 150, in finite tapes with differing edge states. [1]

In two dimensions

Replicator and Fredkin are parity rules in the outer-totalistic neighbourhood whose neighbourhoods exclude and include the central cell.

There are 2n2 anisotropic parity rules in an n × n neighbourhood, and A054247(n) up to symmetry.

References

  1. ↑ yujh (February 1, 2022). Re: B34kz5e7c8/S23-a4ityz5k (!) (discussion thread) at the ConwayLife.com forums