how many rule strings are there S/B

For discussion of other cellular automata.
Post Reply
kmadpar
Posts: 5
Joined: February 28th, 2024, 7:25 am

how many rule strings are there S/B

Post by kmadpar »

I'm wondering how many possible S/B rule strings possibilities there are.
User avatar
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

Post by confocaloid »

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:

Code: Select all

B3/S23
B3/S32
23/3
B3cekainyqjr/S2aceikn3aceijknqry
The set of acceptable rulestrings that can be entered into Golly/LifeViewer is much larger:

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.
User avatar
H. H. P. M. P. Cole
Posts: 485
Joined: July 15th, 2023, 9:36 pm

Re: how many rule strings are there S/B

Post by H. H. P. M. P. Cole »

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.
Last edited by H. H. P. M. P. Cole on April 12th, 2024, 12:12 am, edited 1 time in total.
User avatar
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

Post by confocaloid »

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).
Post Reply