OCA:Logic Rule: Difference between revisions

From LifeWiki
Jump to navigation Jump to search
→Patterns: Testing out show&hide on the strings
per request by GUYTU6J
Line 36: Line 36:
Click on "Expand" to the right to view bit outputs for selected BSGs.
Click on "Expand" to the right to view bit outputs for selected BSGs.
<div class="mw-collapsible-content">
<div class="mw-collapsible-content">
{| class="sortable wikitable" style="margin-left:auto;margin-right:auto"
{| class="sortable wikitable" style="margin-left:auto;margin-right:auto" width=100%
|-
|-
! Index !! Period !! log₂(Period+1) !! Content
! width=25% | Index !! width=25% | Period !! width=25% | log₂(Period+1) !! width=25% | Content
|-
|-
| 9 || 1 || 1 || 1
| 9 || 1 || 1 || 1

Revision as of 14:03, 10 May 2021

This article is a stub. You can help LifeWiki by expanding it.
Logic Rule
x=64, y = 64, rule = B2ae/S ! #C [[ THEME Inverse ]] #C [[ RANDOMIZE2 THUMBLAUNCH THUMBNAIL THUMBSIZE 2 GRID ZOOM 6 WIDTH 600 HEIGHT 600 LABEL 90 -20 2 "#G" AUTOSTART PAUSE 2 GPS 8 LOOP 256 ]]
LifeViewer-generated pseudorandom soup
Rulestring /2ae
B2ae/S
Character Miscellaneous

Logic Rule (or LogicRule) is a minimalistic isotropic non-totalistic Life-like cellular automaton devised by David Conant in March 2001. It is one of the early demonstrations showing how signal circuitry can be built in simple cellular automata.

In this rule, a cell is alive the next generation if exactly two neighbouring cells are alive, and those two cells are connected to each other either orthogonally or diagonally. With Hensel notation this is expressed as B2ae/S. The rule is a built-in "general binary" rule in Mirek's Cellebration along with several patterns, but the program uses another notation which turned out to be inaccurate later.[1]

Patterns

The transition B2a indicates that a domino is a linear replicator at c orthogonal following Wolfram's Rule 90, whereas B2e allows for the existence of a period-2 duoplet oscillator (originally named "#2 Oscillator"). Meanwhile, there are two small photons (lightspeed gliders): the first of which is the period-1 moon as in seeds, and the second is the period-2 banana. Serving as the basic unit of information in signal circuitry, the moon is also called a "bit" and its presence/absence in a "bit stream" can be encoded in binary as 1/0.

Guns for both of the photons can easily be constructed from dominoes and duoplets, as an interaction between two dominoes gives two moons as well as two shifted dominoes, and duoplets can suppress dominoes from replicating, eat a moon, or convert a moon to a banana. The smallest known moon gun operates at period 8, and is called a "Index Bit Stream Generator" (IBSG).

x = 66, y = 12, rule = B2ae/S 12b2o38b2o$11bo2bo39bo2$50bo$49bo2$bo8bo4bo8bo16bo8bo4bo8bo$o9bo4bo9bo 14bo9bo4bo9bo3$13bo39bo$12bo39bo! #C [[ THUMBSIZE 2 THEME 6 GRID GRIDMAJOR 0 SUPPRESS THUMBLAUNCH ]] #C [[ ZOOM 8 ]]
IBSG and a p8 banana gun based on it

(click above to open LifeViewer)

IBSG is systematically called #9 BSG, where the index #9 indicates a distance of 9 cells between the domino and the duoplet. A number of BSGs with larger indices are documented by comparing their output streams with the IBSG. For example, the next smallest member is #17 BSG that emits a string of 110's with period 3. The actual period (in ticks) is 3×8 = 24.

x = 42, y = 6, rule = B2ae/S bo16bo4bo16bo$o17bo4bo17bo3$21bo$20bo! #C [[ THUMBSIZE 2 THEME 6 GRID GRIDMAJOR 0 SUPPRESS THUMBLAUNCH ]] #C [[ ZOOM 8 ]]
The #17 BSG
(click above to open LifeViewer)

Click on "Expand" to the right to view bit outputs for selected BSGs.

Index Period log₂(Period+1) Content
9 1 1 1
17 3 2 110
25 7 3 1101001
33 7 3 1101000
41 31 5
(Show full) 11010001...00110111
(Hide full) 1101000100101011000011100110111
49 63 6
(Show full) 11010001...01111110
(Hide full) 110100010000101100101010010011110000011011100110001110101111110

References

  1. ↑ Jeremy Tan (November 30, 2018). Interpreting MCell's "general binary" rule family (discussion thread) at the ConwayLife.com forums

LogicRule at Adam P. Goucher's Catagolue MCell built-in General binary rules: LogicRule at Mirek Wójtowicz's Cellebration page