Documentation

ECA.HolePairs

A sliding block code that rule 222 conserves #

A cell of rule 222 is 0 after a step exactly when its neighbourhood was 000 or 101. So a pair of holes of the pattern 10101 — two clear cells, each between two set ones, sharing the middle set cell — is carried through a step unchanged, and a pair that the step produces was already there: the two holes came from 000 or 101 around each, and the middle cell cannot have been clear, since 000 on both sides would have cleared it.

The cells i at which s reads 10101 from i - 1 to i + 3, marked 1.

Equations
Instances For
    theorem ECA.FiniteConfiguration.holePairs_apply (s : FiniteConfiguration) (i : ℤ) :
    s.holePairs i = s (i - 1) * (1 + s i) * s (i + 1) * (1 + s (i + 2)) * s (i + 3)

    The sliding block code's local rule, a window of five cells.

    The zero state has no mark.

    The reading of a translate is the translate of the reading.

    Rule 222 conserves the pattern 10101: the marked set of a state is unchanged by a step. A cell is 0 after a step exactly when its neighbourhood was 000 or 101, so the two holes and the three set cells of a mark persist; and if the image has a mark, its two holes came from 000 or 101 around each, which share the middle cell, and 000 there would have cleared it.