Self-complementary: Difference between revisions

From LifeWiki
Jump to navigation Jump to search
No edit summary
red link removal
Line 1: Line 1:
{{Glossary}}
{{Glossary}}
An (outer-totalistic) [[rule]] is said to be '''self-complementary''' if it remains unchanged under [[black/white reversal]], i.e. if a [[pattern]] composed of live [[cell]]s in a dead [[universe]] behaves the same as an equivalent pattern composed of dead cells in a live universe.
A 2-state [[cellular automata]] is said to be '''self-complementary''' if it remains unchanged under [[black/white reversal]], i.e. if a [[pattern]] composed of live [[cell]]s in a dead [[universe]] behaves the same as an equivalent pattern composed of dead cells in a live universe.


A self-complementary rule's birth conditions completely determine its survival conditions, and vice versa, but no other constraints exist; as such there are 2<sup>9</sup> = 512 distinct self-complementary outer-totalistic rules.
A self-complementary rule's birth conditions completely determine its survival conditions, and vice versa, but no other constraints exist; as such there are 2<sup>9</sup> = 512 distinct self-complementary [[outer-totalistic Life-like cellular automata]].


Every self-complementary rule contains precisely one of B0 and S8. In the former case, the rule is [[strobing]]; in the latter case, there exists an [[equivalent strobing rule]]. Non-strobing and strobing versions of the same self-complementary rule behave identically, except that in the strobing version, patterns are [[black/white reversal|inverted]] in every other generation, so of the 512 distinct self-complementary outer-totalistic rules, only 256 exhibit fundamentally different behavior.
Every self-complementary rule contains precisely one of B0 and S8. In the former case, the rule is [[strobing]]; in the latter case, there exists an [[equivalent strobing rule]]. Non-strobing and strobing versions of the same self-complementary rule behave identically, except that in the strobing version, patterns are [[black/white reversal|inverted]] in every other generation, so of the 512 distinct self-complementary outer-totalistic rules, only 256 exhibit fundamentally different behavior.
Line 12: Line 12:
==Generalizations==
==Generalizations==


Self-complementary rules exhibiting complex behavior, [[spaceship|spaceships]], [[still life|still lifes]], [[oscillator|oscillators]], [[replicator|replicators]], [[rake|rakes]] and [[gun|guns]] are known to exist in higher range [[Higher-range Outer-totalistic|HROT]] rules. Somewhat similar behavior has been also discovered in isotropic non-totalistic self-complementary [[1D cellular automata]] with higher ranges and custom neighborhoods<ref name="post134179"></ref>.
Self-complementary rules exhibiting complex behavior are known to exist in [[higher-range outer-totalistic]] rules, where [[spaceship]]s, [[still lives]], [[oscillator]]s, [[replicator]]s, [[rake]]s and [[gun]]s inhabit. Somewhat similar behavior has been also discovered in isotropic non-totalistic self-complementary [[1D cellular automata]] with higher ranges and custom neighborhoods<ref name="post134179" />.


It is also possible to define generalizations of self-complementary rules with more than 2 cyclical states, e.g. a 3-state rule in which every pattern behaves exactly the same, if every cell of state 1 is changed to state 2, state 2 to state 3 and state 3 back to state 1. [[Yoel Matveyev|Yoel Matveyev's]] [[multistate cyclic]] rules are also a generalization of self-complementarity, where every pattern behaves exactly the same, if all live cells of a certain state are cyclically changed to another live state<ref name="post101012"></ref>. Classic self-complementary rules can be emulated by multistate cyclic rules. For example, Matveyev's rule [[Rule:Triple-DN|Triple-DN]] has 2 live states, which act exactly like [[Day and Night]] by themselves, as well as when a pattern in one live state evolves on the background of the other live state.
It is also possible to define generalizations of self-complementary rules with more than 2 cyclical states, e.g. a 3-state rule in which every pattern behaves exactly the same, if every cell of state 1 is changed to state 2, state 2 to state 3 and state 3 back to state 1. [[Yoel Matveyev]]'s [[multistate rule|multistate]] [[cyclic]] rules are also a generalization of self-complementarity, where every pattern behaves exactly the same, if all live cells of a certain state are cyclically changed to another live state<ref name="post101012" />. Classic self-complementary rules can be emulated by multistate cyclic rules. For example, Matveyev's rule [[Rule:Triple-DN|Triple-DN]] has 2 live states, which act exactly like [[Day and Night]] by themselves, as well as when a pattern in one live state evolves on the background of the other live state.


==References==
==References==
Line 33: Line 33:
}}</ref>
}}</ref>
</references>
</references>
 
__NOTOC__
== External links ==
{{LinkCatagolueRule|r5b34t45s34t58}}

Revision as of 08:35, 6 November 2021

A 2-state cellular automata is said to be self-complementary if it remains unchanged under black/white reversal, i.e. if a pattern composed of live cells in a dead universe behaves the same as an equivalent pattern composed of dead cells in a live universe.

A self-complementary rule's birth conditions completely determine its survival conditions, and vice versa, but no other constraints exist; as such there are 29 = 512 distinct self-complementary outer-totalistic Life-like cellular automata.

Every self-complementary rule contains precisely one of B0 and S8. In the former case, the rule is strobing; in the latter case, there exists an equivalent strobing rule. Non-strobing and strobing versions of the same self-complementary rule behave identically, except that in the strobing version, patterns are inverted in every other generation, so of the 512 distinct self-complementary outer-totalistic rules, only 256 exhibit fundamentally different behavior.

Examples

The most well-known and well-investigated self-complementary rule is Day & Night (B3678/S34678); its equivalent strobing version is B01245/S0125.

Generalizations

Self-complementary rules exhibiting complex behavior are known to exist in higher-range outer-totalistic rules, where spaceships, still lives, oscillators, replicators, rakes and guns inhabit. Somewhat similar behavior has been also discovered in isotropic non-totalistic self-complementary 1D cellular automata with higher ranges and custom neighborhoods[1].

It is also possible to define generalizations of self-complementary rules with more than 2 cyclical states, e.g. a 3-state rule in which every pattern behaves exactly the same, if every cell of state 1 is changed to state 2, state 2 to state 3 and state 3 back to state 1. Yoel Matveyev's multistate cyclic rules are also a generalization of self-complementarity, where every pattern behaves exactly the same, if all live cells of a certain state are cyclically changed to another live state[2]. Classic self-complementary rules can be emulated by multistate cyclic rules. For example, Matveyev's rule Triple-DN has 2 live states, which act exactly like Day and Night by themselves, as well as when a pattern in one live state evolves on the background of the other live state.

References

  1. Yoel (July 28, 2021). Re: Larger than Life (discussion thread) at the ConwayLife.com forums
  2. Yoel (July 24, 2020). Re: Larger than Life (discussion thread) at the ConwayLife.com forums