Isotropic non-totalistic rule: Difference between revisions

From LifeWiki
Jump to navigation Jump to search
No edit summary
Line 162: Line 162:
|}</tt>
|}</tt>
</div></div>
</div></div>
== Generalizations ==
=== Von Neumann extensions ===
While not a rulespace in itself, a notation exists that allows for existing neighbourhoods to be extended by four cells. This is the notation used for range-2 von Neumann isotropic non-totalistic rules (in which it is combined with the range-1 Moore isotropic non-totalistic notation), and range-3 cross isotropic non-totalistic rules (in which it is combined with the range-2 cross isotropic non-totalistic notation).
This extension notation was initially proposed on February 24, 2019 by [[AforAmpere]] and [[Milo Jacquet]] for range-2 von Neumann isotropic non-totalistic rules.<ref name="post71574" />
For each transition, use the transition corresponding to the configuration of the center 8 cells, aligned with the canonical directions in the table above. Then take the outside 4 cells, and depending on the configurations in the table below, add that letter.
{{Isotropic non-totalistic transitions (square grid extensions)}}
For transitions that are the same under reflections or rotations, the canonical transition is the lowest alphabetically.
'x' is used after a totalistic number. An example range-2 von Neumann rulestring is 'B3x2ic1ei5x-3kr/S0x8x'.
[[bubblegum]] has also proposed to use the 'v' character to represent outer totalistic transitions for the inner 8 cells for range-2 von Neumann rules.<ref name="post102838" />
=== Range-2 von Neumann neighbourhood ===
There are 618 different transitions possible in the range-2 von Neumann neighbourhood. Four notations have been proposed as of February 2018.<ref name="post70180" />
As of 27 November 2020, the only CA simulation software which natively supports such rules is [[CAViewer]].<ref name="post113480"/>
An earlier proposed notation for range-2 von Neumann isotropic non-totalistic rules is based on Hensel notation.<ref name="post71574" /> It never entered common use.
=== Range-2 cross neighbourhood ===
A proposal for this neighbourhood was mistakenly created in 2017,<ref name="post50386" /> and a second notation was created in mid-2020<ref name="post101003" /> (although missing a 3-cell and 5-cell transition).<ref name="p128945">{{LinkForumThread|f=3|t=1622|p=128945|title=Re: Pattern viewer for forum threads|format=ref}}</ref>
=== Range-2 knight neighbourhood ===
A notation for this was proposed in mid-2020<ref name="post101003"/> (with a duplicated 4-cell transition).<ref name="p128945"/>
=== 3-state Moore neighbourhood ===
A notation for 3-state range-1 rules is underway.<ref name="post87744" />
=== Hexagonal neighbourhood ===
{{main|Hexagonal neighbourhood#Isotropic non-totalistic rules}}
It is possible to define isotropic non-totalistic CAs on a hexagonal grid as well, using a notation due to [[Paul Callahan]].
=== Table of isotropic non-totalistic rulespaces ===
{{split|List of rulespaces}}
The number of unique transitions for higher ranges tends to be extremely large, and the development of notations for such rules is generally infeasible. The following table documents notable examples (grids are notated with [[Schläfli symbol]]s as to simultaneously convey grid type and dimension):
{| class="wikitable" style="margin-left:auto;margin-right:auto;text-align:center;"
! rowspan="2" | Common name
! colspan="4" | Rulespace definitions
! rowspan="2" | Transitions
! rowspan="2" | Notated?
! colspan="3" | Major software support
|-
! Grid
! Range
! States
! Neighbourhood
! Golly
! LifeViewer
! lifelib
|-
! Block cellular automata
| {4,4}
| 1/2
| 2
| Moore
| 6
| style="background-color:#c6efce;" | [https://conwaylife.com/forums/viewtopic.php?f=11&t=3243&p=55536#p55536 Yes]
| colspan="3" style="background-color:#c6efce;" | (Unnecessary)
|-
! -
| {4,4}
| 1
| 2
| von Neumann
| 6
| style="background-color:#c6efce;" | Trivial
| colspan="3" style="background-color:#c6efce;" | (Unnecessary)
|-
! 3D vN non-totalistic
| {4,3,4}
| 1
| 2
| von Neumann
| 10
| style="background-color:#ffc7ce;" | No
| style="background-color:#ffc7ce;" | No
| style="background-color:#ffc7ce;" | No
| style="background-color:#ffc7ce;" | No
|-
! Non-totalistic hexagonal
| {6,3}
| 1
| 2
| hexagonal
| 13
| style="background-color:#c6efce;" | [https://conwaylife.com/ref/lifepage/hexrule.txt Yes]
| style="background-color:#ffc7ce;" | No<ref group="n">The rulespace can be simulated via MAP strings, or, less preferably, ruletables, however no direct support for the notation exists.</ref>
| style="background-color:#c6efce;" | Yes
| style="background-color:#c6efce;" | Yes
|-
! Knight INT
| {4,4}
| 2
| 2
| knight
| 43
| style="background-color:#c6efce;" | [https://conwaylife.com/forums/viewtopic.php?f=3&t=1622&p=101003#p101003 Yes]
| style="background-color:#ffc7ce;" | No
| style="background-color:#ffc7ce;" | No
| style="background-color:#ffc7ce;" | No
|-
! Isotropic non-totalistic
| {4,4}
| 1
| 2
| Moore
| 51
| style="background-color:#c6efce;" | [http://www.ibiblio.org/lifepatterns/neighbors2.html Yes]
| style="background-color:#c6efce;" | Yes
| style="background-color:#c6efce;" | Yes
| style="background-color:#c6efce;" | Yes
|-
! Exploded
| {4,4}
| ≥1
| 2
| variable<ref group="n">Based on the Moore neighbourhood, with the four edge cells and/or the four corner cells moved away from the origin a defined distance.</ref>
| 51
| style="background-color:#c6efce;" | [https://conwaylife.com/forums/viewtopic.php?f=11&t=4763#p128801 Yes]
| style="background-color:#ffc7ce;" | No
| style="background-color:#ffffdd;" | Some<ref group="n">The range-N "far corners" + range-M "far edges" cases are supported, but the general case of exploded Moore neighbourhoods are not.</ref>
| style="background-color:#ffffdd;" | Some<ref group="n">The range-2 "far corners" and range-3 "far edges" cases are supported, but the general case of exploded Moore neighbourhoods are not.</ref>
|-
! Cross INT
| {4,4}
| 2
| 2
| cross
| 55
| style="background-color:#c6efce;" | [https://conwaylife.com/forums/viewtopic.php?f=3&t=1622&p=101003#p101003 Yes]
| style="background-color:#ffc7ce;" | No
| style="background-color:#ffc7ce;" | No
| style="background-color:#ffc7ce;" | No
|-
! -
| {4,4}
| 2
| 2
| nonstandard<ref group="n">The number is the same for a "circle" formed of four three-cell lines at distance 2 from the center, and four "pre-blocks" with the gaps all facing the center or all facing outwards (or any configuration of eight eightfold neighbours and two fourfold ones)</ref>
| 570
| style="background-color:#ffc7ce;" | No
| style="background-color:#ffc7ce;" | No
| style="background-color:#ffc7ce;" | No
| style="background-color:#ffc7ce;" | No
|-
! R2 von Neumann INT
| {4,4}
| 2
| 2
| von Neumann
| 618
| style="background-color:#c6efce;" | [https://conwaylife.com/forums/viewtopic.php?t=&p=70180#p70180 Yes]
| style="background-color:#ffc7ce;" | No
| style="background-color:#ffc7ce;" | No
| style="background-color:#c6efce;" | Yes
|-
! -
| {4,4}
| 2
| 2
| nonstandard<ref group="n">Range-1 Moore, with added range-2 corners</ref>
| 618
| style="background-color:#ffc7ce;" | No
| style="background-color:#ffc7ce;" | No
| style="background-color:#ffc7ce;" | No
| style="background-color:#ffc7ce;" | No
|-
! 3-state knight INT
| {4,4}
| 2
| 3
| knight
| 873
| style="background-color:#ffc7ce;" | No
| style="background-color:#ffc7ce;" | No
| style="background-color:#ffc7ce;" | No
| style="background-color:#ffc7ce;" | No
|-
! 3-state INT
| {4,4}
| 1
| 3
| Moore
| 954
| style="background-color:#c6efce;" | [https://conwaylife.com/forums/viewtopic.php?p=164994#p164994 Yes]
| style="background-color:#ffc7ce;" | No<ref group="n" name="no3">The rulespace can be simulated via ruletables, however no direct support for the notation exists.</ref>
| style="background-color:#ffc7ce;" | No<ref group="n" name="no3"/>
| style="background-color:#ffc7ce;" | No<ref group="n" name="no3"/>
|-
! 3-state cross INT
| {4,4}
| 2
| 3
| cross
| 1035
| style="background-color:#ffc7ce;" | No
| style="background-color:#ffc7ce;" | No
| style="background-color:#ffc7ce;" | No
| style="background-color:#ffc7ce;" | No
|-
! 4-state knight INT
| {4,4}
| 2
| 4
| knight
| 8356
| style="background-color:#ffc7ce;" | No
| style="background-color:#ffc7ce;" | No
| style="background-color:#ffc7ce;" | No
| style="background-color:#ffc7ce;" | No
|-
! 4-state INT
| {4,4}
| 1
| 4
| Moore
| 8740
| style="background-color:#c6efce;" | [https://conwaylife.com/forums/viewtopic.php?f=11&t=6126 Yes]
| style="background-color:#ffc7ce;" | No<ref group="n" name="no3"/>
| style="background-color:#ffc7ce;" | No<ref group="n" name="no3"/>
| style="background-color:#ffc7ce;" | No<ref group="n" name="no3"/>
|-
! 4-state cross INT
| {4,4}
| 2
| 4
| cross
| 9316
| style="background-color:#ffc7ce;" | No
| style="background-color:#ffc7ce;" | No
| style="background-color:#ffc7ce;" | No
| style="background-color:#ffc7ce;" | No
|-
! R2 hexagonal INT
| {6,3}
| 2
| 2
| hexagonal
| 22668
| style="background-color:#ffc7ce;" | No
| style="background-color:#ffc7ce;" | No
| style="background-color:#ffc7ce;" | No
| style="background-color:#ffc7ce;" | No
|-
! 3-state R2 vN INT
| {4,4}
| 2
| 3
| von Neumann
| 68715
| style="background-color:#ffc7ce;" | No
| style="background-color:#ffc7ce;" | No
| style="background-color:#ffc7ce;" | No
| style="background-color:#ffc7ce;" | No
|-
! R2 Moore-without-corners
| {4,4}
| 2
| 2
| circular
| 132744
| style="background-color:#ffc7ce;" | No
| style="background-color:#ffc7ce;" | No
| style="background-color:#ffc7ce;" | No
| style="background-color:#ffc7ce;" | No
|-
! 3D non-totalistic
| {4,3,4}
| 1
| 2
| Moore
| 1426144<ref group="n">first calculated by Milo Jacquet</ref>
| style="background-color:#ffc7ce;" | No
| style="background-color:#ffc7ce;" | No
| style="background-color:#ffc7ce;" | No
| style="background-color:#ffc7ce;" | No
|-
! R2 Moore INT
| {4,4}
| 2
| 2
| Moore
| 2105872
| style="background-color:#ffc7ce;" | No
| style="background-color:#ffc7ce;" | No
| style="background-color:#ffc7ce;" | No
| style="background-color:#ffc7ce;" | No
|-
! 4D non-totalistic
| {4,3,3,4}
| 1
| 2
| Moore
| 3148244699232062849152<ref group="n">first calculated using the [[Pólya enumeration theorem]] by [https://gist.github.com/DroneBetter/90318584a0ad6a0f4d1c418d3da132cd DroneBetter's <tt>dimensional_INT_enumerator.py</tt>] (explained [[User:DroneBetter/dimensional INT enumerator|here]])</ref>
| style="background-color:#ffc7ce;" | No
| style="background-color:#ffc7ce;" | No
| style="background-color:#ffc7ce;" | No
| style="background-color:#ffc7ce;" | No
|}
<references group="n"/>
<!--The number of unique transitions in rulespaces with range-1 von Neumann neighbourhoods (or equivalent) with <tt>n</tt> states follows the {{LinkWikipedia|Doubly_triangular_number|name=doubly-triangular numbers|nobullet=nobullet|nosuffix=nosuffix}}, <tt>{{OEIS|A002817}}(n)</tt>.-->
A rule with an <tt>n</tt>-dimensional range-<tt>k</tt> Moore neighbourhood has <tt>{{OEIS|A361870}}(n,2*k+1)</tt> transitions.


== Soup-searching non-totalistic rules ==
== Soup-searching non-totalistic rules ==

Revision as of 20:56, 26 August 2024

An isotropic non-totalistic rule (abbreviated INT) is a generalization of the concept of a Life-like rule, where the state of a cell after one tick depends on the configuration of the alive neighbours, not just their counts.

Patterns in isotropic non-totalistic rules preserve their behaviour when mirrored or rotated, as is the case in totalistic and outer-totalistic rulespaces. This is not necessarily the case for non-isotropic rules.

Hensel notation

Isotropic non-totalistic rules (on the square grid with range-1 Moore neighbourhood and two cellstates) are described using Hensel notation developed by Alan Hensel, an extension of the birth/survival notation additionally describing allowed or forbidden configurations. Each digit in the rule's birth and survival conditions can be followed by an optional suffix, with each allowed configuration described by a specific letter; a minus sign may be used to forbid configurations rather than allow them. If no configurations are specified, all are considered to be allowed, as in the totalistic case. This notation is not used by non-isotropic cellular automata.

For instance, B2-a/S12 (the Just Friends rule) indicates that a dead cell will be born with 2 neighbours, except when they are adjacent (indicated by the "-a"), and that a live cell will survive with 1 or 2 neighbours in any configuration. This exclusion of the "B2a" transition prevents the rule from exploding in a similar manner to Seeds.

This notation has the following symmetry: For any letter x and number n ≠ 4, nx is defined if and only (8 - n)x is defined and moreover (8 - n)x is the complement (change live cells to dead and dead cells to live; ignore the center cell) of nx.

Alongside the conventional Moore neighbourhood, this notation can also be used to describe transitions on the 8-cell "exploded" Moore neighbourhoods,[1] such as the "Far Corners" and "Far Edges" neighbourhoods supported by CAViewer.

The following table describes all possible neighbourhood configurations for the Moore neighbourhood of range 1:

0 1 2 3 4 5 6 7 8
—
(no letter)
c
(corner)
e
(edge)
k
(knight)
a
(adjacent)
i
n
y
q
j
r
t
w
z

Subsets

To allow patterns to exceed their initial bounding box, a rule must have at least one of b1(c,e), b2(c,a) and b3i enabled, and to escape their bounding diamond, at least one of b1(c,e), b2(e,a), b3a. Irrespective of other transitions, for patterns in a rule to be able to exit their bounding octagon, of the 27 combinations across these 7 transitions, those where any of b1c,b1e and b2a are enabled provide 26+25+24, leaving only 24 cases in which both b2e and b2c, or both b3i and b3a, must be on, of which there are 7 such cases, providing an upper bound of 119/128ths of the 2102 such INT rules. These are necessary for spaceships, as well as for a finite pattern to be Turing-complete (because otherwise, it may only enter fixedly many states depending on its initial size).

The 26=64 isotropic 2-state rules in the von Neumann neighbourhood can be simulated via isotropic non-totalistic rules on the Moore neighbourhood; for example, B1/SV becomes B1e2ak3inqy4ny5e/S.

To be a von Neumann rule, birth and survival transitions in the following equivalence classes must be the same:

0 : 0=1c=2n=2c=3c=4c
1 : 1e=2a=2k=3i=3n=3y=3q=4n=4y=5e
2e: 2e=3k=3a=3j=4k=4a=4q=4w=5a=5j=5k=6e
2i: 2i=3r=4i=4t=4z=5r=6i
3 : 3e=4j=4r=5i=5n=5y=5q=6a=6k=7e
4 : 4e=5c=6c=6n=7c=8

For it to be outer-totalistic, the 2e and 2i transitions must be equivalent.

A similar set of constraints is given in the static symmetry article, that are sufficient for the preservation of D8_2 symmetry.

Dualities

Note that though the black/white reversal exists for all rules, in general the strobing dual of a rule is a pair of INT rules that alternate over time (even and odd iterations), and the checkerboard dual a pair that alternate over space (even and odd squares in a chequerboard tiling). The members of each pair coincide in duals of self-complementary rules (that are their own black/white reversal), such as Day & Night. Each self-complementary rule is a member of an equivalence class of not a pair but a quartet.

They are generated as follows,

  • For the black/white reversal, take the bitwise NOT of the input and output.
  • For the strobing dual,
in even generations, take the bitwise NOT of the output, and
in odd generations, take the bitwise NOT of the input.
  • For the checkerboard dual,
for even-parity cells, XOR the input with an "X" in the four corners and centre, and
for odd-parity cells, XOR the input with an "O" in the four edges.

Outer
total
Identity Black/white
reversal
Strobing
dual
Checkerboard
dual
b s even odd even odd
b s b s b s b s
0 ~s8 ~b8 ~b0 ~s0 s8 b8 ~s4c ~b4c b4e s4e
1 c ~s7c ~b7c ~b1c ~s1c s7c b7c ~s3c ~b3c b5c s5c
e ~s7e ~b7e ~b1e ~s1e s7e b7e ~s5e ~b5e b3e s3e
2 c ~s6c ~b6c ~b2c ~s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3e b5e s5e
8 ~s0 ~b0 ~b8 ~s8 s0 b0 ~s4e ~b4e b4c s4c

Soup-searching non-totalistic rules

Adam P. Goucher's apgsearch was modified to support isotropic non-totalistic rules by praosylen on December 17, 2015.[2] This hacked version was later modified in late January 2016 to be able to upload the search results to Catagolue.[3] However, apgsearch did not gain native support for these rules until v4.2, released on September 10, 2017, which can search isotropic non-totalistic rules without B0.[4] v4.66 and above also support the searching of isotropic hexagonal neighbourhood rules.[5] Range 2 von Neumann isotropic rules can also be searched by means of a ruletable using a custom neighbourhood.[6] However, note that GPU censuses support only outer-totalistic rules.

See also

References

  1. ↑ Connor Steppie (April 23, 2021). Re: Lemon41625's Cellular Automaton (discussion thread) at the ConwayLife.com forums
  2. ↑ praosylen (December 17, 2015). Re: Hacking apgsearch (discussion thread) at the ConwayLife.com forums
  3. ↑ Adam P. Goucher (January 21, 2016). Re: apgsearch v2.2 (discussion thread) at the ConwayLife.com forums
  4. ↑ Adam P. Goucher (September 10, 2017). Re: apgsearch v4.2 (discussion thread) at the ConwayLife.com forums
  5. ↑ Adam P. Goucher (December 1, 2018). Re: Non-totalistic hex rules (discussion thread) at the ConwayLife.com forums
  6. ↑ lemon41625 (June 19, 2020). Re: Range-2 von Neumann isotropic non-totalistic rulespace (discussion thread) at the ConwayLife.com forums

Cite error: <ref> tag with name "post71574" defined in <references> is not used in prior text.
Cite error: <ref> tag with name "post50386" defined in <references> is not used in prior text.
Cite error: <ref> tag with name "post101003" defined in <references> is not used in prior text.
Cite error: <ref> tag with name "post87744" defined in <references> is not used in prior text.
Cite error: <ref> tag with name "post70180" defined in <references> is not used in prior text.
Cite error: <ref> tag with name "post102838" defined in <references> is not used in prior text.
Cite error: <ref> tag with name "post113480" defined in <references> is not used in prior text.