how many rule strings are there S/B
how many rule strings are there S/B
I'm wondering how many possible S/B rule strings possibilities there are.
- confocaloid
- Posts: 6697
- Joined: February 8th, 2022, 3:15 pm
- Location: learn to protect yourself against stray gliders and sparks and self-destruct mechanisms
Re: how many rule strings are there S/B
The set of all possible rulestrings is larger than the set of possible cellular automata that can be defined by a rulestring. For example, Conway's Life can be equivalently defined by the following rulestrings:
The set of acceptable rulestrings that can be entered into Golly/LifeViewer is much larger:
However, if you just wanted to know the number of cellular automata that can be defined, then here are sizes of some rulespaces:
Code: Select all
B3/S23
B3/S32
23/3
B3cekainyqjr/S2aceikn3aceijknqry
Code: Select all
#C This is Conway's Life
x = 3, y = 3, rule = B3ceikanqjry/S2aceikn34-aceiknyqjrtwz5-aceiknyqjr6-cenkai7-ce
b2o$2o$bo!
However, if you just wanted to know the number of cellular automata that can be defined, then here are sizes of some rulespaces:
- there are 2^18 = 262144 Life-like cellular automata. Every cellular automaton of this type can be defined by writing down a birth/survival rulestring with neighbour-counting conditions. Example: B357/S238.
- there are 2^102 = 5070602400912917605986812821504 two-state isotropic cellular automata with range-1 Moore neighbourhood. Every such cellular automaton can be defined by a rulestring written in Hensel notation. Example: B2n3/S23-q.
- there are 2^14 = 16384 two-state outer-totalistic cellular automata with range-1 hexagonal neighbourhood. Example: B25/S34H.
- there are 2^26 = 67108864 two-state isotropic cellular automata with range-1 hexagonal neighbourhood. Every such cellular automaton can be defined by a rulestring written in extended Callahan's notation. Example: B2o/S2m34H.
127:1 B3/S234c User:Confocal/R (isotropic CA, incomplete)
Unlikely events happen.
My silence does not imply agreement, nor indifference. If I disagreed with something in the past, then please do not construe my silence as something that could change that.
Unlikely events happen.
My silence does not imply agreement, nor indifference. If I disagreed with something in the past, then please do not construe my silence as something that could change that.
- H. H. P. M. P. Cole
- Posts: 485
- Joined: July 15th, 2023, 9:36 pm
Re: how many rule strings are there S/B
In each finite 2-state rulespace, there are a finite number of conditions that can be toggled. The rulespace is taken to be the power set of the set of toggleable conditions.
As an example, consider the outer-totalistic von Neumann rulespace. The set of conditions is {B0,B1,B2,B3,B4,S0,S1,S2,S3,S4}, and the rulespace is the power set of these conditions, giving a total of 1024 rules in this rulespace.
As an example, consider the outer-totalistic von Neumann rulespace. The set of conditions is {B0,B1,B2,B3,B4,S0,S1,S2,S3,S4}, and the rulespace is the power set of these conditions, giving a total of 1024 rules in this rulespace.
Last edited by H. H. P. M. P. Cole on April 12th, 2024, 12:12 am, edited 1 time in total.
- confocaloid
- Posts: 6697
- Joined: February 8th, 2022, 3:15 pm
- Location: learn to protect yourself against stray gliders and sparks and self-destruct mechanisms
Re: how many rule strings are there S/B
Things become more interesting with three or more cellstates, because the simple representation "set of living conditions" is lost.
Instead of a power set, one has the set of all possible rulesets (where a ruleset can be viewed as a mapping from the set of "toggleable" conditions to the set of cellstates).
Instead of a power set, one has the set of all possible rulesets (where a ruleset can be viewed as a mapping from the set of "toggleable" conditions to the set of cellstates).