Elementary cellular automaton

An animation of how an evolution is determined in Rule 30, one of the 256 possible rules of elementary cellular automata.
All the 256 elementary cellular automaton rules[1] (click or tap to enlarge).

In mathematics and computability theory, an elementary cellular automaton is a one-dimensional cellular automaton where there are two possible states (labeled 0 and 1) and the rule to determine the state of a cell in the next generation depends only on the current state of the cell and its two immediate neighbors. There is an elementary cellular automaton (rule 110, defined below) which is capable of universal computation, and as such it is one of the simplest possible models of computation.

The numbering system

There are 8 = 23 possible configurations for a cell and its two immediate neighbors. The rule defining the cellular automaton must specify the resulting state for each of these possibilities so there are 256 = 223 possible elementary cellular automata. Stephen Wolfram proposed a scheme, known as the Wolfram code, to assign each rule a number from 0 to 255 which has become standard. Each possible current configuration is written in order, 111, 110, ..., 001, 000, and the resulting state for each of these configurations is written in the same order and interpreted as the binary representation of an integer. This number is taken to be the rule number of the automaton. For example, 110d=011011102. So rule 110 is defined by the transition rule:

111 110 101 100 011 010 001 000 current pattern P=(L,C,R)
0 1 1 0 1 1 1 0 new state for center cell N110d=(C+R+C*R+L*C*R)%2

Reflections and complements

Although there are 256 possible rules, many of these are trivially equivalent to each other up to a simple transformation of the underlying geometry. The first such transformation is reflection through a vertical axis and the result of applying this transformation to a given rule is called the mirrored rule. These rules will exhibit the same behavior up to reflection through a vertical axis, and so are equivalent in a computational sense.

For example, if the definition of rule 110 is reflected through a vertical line, the following rule (rule 124) is obtained:

111 110 101 100 011 010 001 000 current pattern P=(L,C,R)
0 1 1 1 1 1 0 0 new state for center cell N112d+12d=124d=(L+C+L*C+L*C*R)%2

Rules which are the same as their mirrored rule are called amphichiral. Of the 256 elementary cellular automata, 64 are amphichiral.

The second such transformation is to exchange the roles of 0 and 1 in the definition. The result of applying this transformation to a given rule is called the complementary rule. For example, if this transformation is applied to rule 110, we get the following rule

current pattern 000 001 010 011 100 101 110 111
new state for center cell 1 0 0 1 0 0 0 1

and, after reordering, we discover that this is rule 137:

current pattern 111 110 101 100 011 010 001 000
new state for center cell 1 0 0 0 1 0 0 1

There are 16 rules which are the same as their complementary rules.

Finally, the previous two transformations can be applied successively to a rule to obtain the mirrored complementary rule. For example, the mirrored complementary rule of rule 110 is rule 193. There are 16 rules which are the same as their mirrored complementary rules.

Of the 256 elementary cellular automata, there are 88 which are inequivalent under these transformations.

It turns out that reflection and complementation are automorphisms of the monoid of one-dimensional cellular automata, as they both preserve composition.[2]

Single 1 histories

One method used to study these automata is to follow its history with an initial state of all 0s except for a single cell with a 1. When the rule number is even (so that an input of 000 does not compute to a 1) it makes sense to interpret state at each time, t, as an integer expressed in binary, producing a sequence a(t) of integers. In many cases these sequences have simple, closed form expressions or have a generating function with a simple form. The following rules are notable:

Rule 28

The sequence generated is 1, 3, 5, 11, 21, 43, 85, 171, ... (sequence A001045 in the OEIS). This is the sequence of Jacobsthal numbers and has generating function

.

It has the closed form expression

Rule 156 generates the same sequence.

Rule 50

The sequence generated is 1, 5, 21, 85, 341, 1365, 5461, 21845, ... (sequence A002450 in the OEIS). This has generating function

.

It has the closed form expression

.

Note that rules 58, 114, 122, 178, 186, 242 and 250 generate the same sequence.

Rule 54

The sequence generated is 1, 7, 17, 119, 273, 1911, 4369, 30583, ... (sequence A118108 in the OEIS). This has generating function

.

It has the closed form expression

.

Rule 60

The sequence generated is 1, 3, 5, 15, 17, 51, 85, 255, ...(sequence A001317 in the OEIS). This can be obtained by taking successive rows of Pascal's triangle modulo 2 and interpreting them as integers in binary, which can be graphically represented by a Sierpinski triangle.

Rule 90

The sequence generated is 1, 5, 17, 85, 257, 1285, 4369, 21845, ... (sequence A038183 in the OEIS). This can be obtained by taking successive rows of Pascal's triangle modulo 2 and interpreting them as integers in base 4. Note that rules 18, 26, 82, 146, 154, 210 and 218 generate the same sequence.

Rule 94

The sequence generated is 1, 7, 27, 119, 427, 1879, 6827, 30039, ... (sequence A118101 in the OEIS). This can be expressed as

.

This has generating function

.

Rule 102

The sequence generated is 1, 6, 20, 120, 272, 1632, 5440, 32640, ... (sequence A117998 in the OEIS). This is simply the sequence generated by rule 60 (which is its mirror rule) multiplied by successive powers of 2.

Rule 110

The sequence generated is 1, 6, 28, 104, 496, 1568, 7360, 27520, 130304, 396800, ... (sequence A117999 in the OEIS). Rule 110 has the perhaps surprising property that it is Turing complete, and thus capable of universal computation.[3]

Rule 150

The sequence generated is 1, 7, 21, 107, 273, 1911, 5189, 28123, ... (sequence A038184 in the OEIS). This can be obtained by taking the coefficients of the successive powers of (1+x+x2) modulo 2 and interpreting them as integers in binary.

Rule 158

The sequence generated is 1, 7, 29, 115, 477, 1843, 7645, 29491, ... (sequence A118171 in the OEIS). This has generating function

.

Rule 188

The sequence generated is 1, 3, 5, 15, 29, 55, 93, 247, ... (sequence A118173 in the OEIS). This has generating function

.

Rule 190

The sequence generated is 1, 7, 29, 119, 477, 1911, 7645, 30583, ... (sequence A037576 in the OEIS). This has generating function

.

Rule 220

The sequence generated is 1, 3, 7, 15, 31, 63, 127, 255, ... (sequence A000225 in the OEIS). This is the sequence of Mersenne numbers and has generating function

.

It has the closed form expression

.

Note: rule 252 generates the same sequence.

Rule 222

The sequence generated is 1, 7, 31, 127, 511, 2047, 8191, 32767, ... (sequence A083420 in the OEIS). This is every other entry in the sequence of Mersenne numbers and has generating function

.

It has the closed form expression

.

Note that rule 254 generates the same sequence.

Images for rules 0-99

These images depict space-time diagrams, in which each row of pixels shows the cells of the automaton at a single point in time, with time increasing downwards. They start with an initial automaton state in which a single cell, the pixel in the center of the top row of pixels, is in state 1 and all other cells are 0.

Random initial state

A second way to investigate the behavior of these automata is to examine its history starting with a random state. This behavior can be better understood in terms of Wolfram classes. Wolfram gives the following examples as typical rules of each class.[4]

  • Class 1: Cellular automata which rapidly converge to a uniform state. Examples are rules 0, 32, 160 and 232.
  • Class 2: Cellular automata which rapidly converge to a repetitive or stable state. Examples are rules 4, 108, 218 and 250.
  • Class 3: Cellular automata which appear to remain in a random state. Examples are rules 22, 30, 126, 150, 182.
  • Class 4: Cellular automata which form areas of repetitive or stable states, but also form structures that interact with each other in complicated ways. An example is rule 110. Rule 110 has been shown to be capable of universal computation.[5]

Each computed result is placed under that result's source creating a two-dimensional representation of the system's evolution.

In the following gallery, this evolution from random initial conditions is shown for each of the 88 inequivalent rules. Below each image is the rule number used to produce the image, and in brackets the rule numbers of equivalent rules produced by reflection or complementing are included, if they exist.[6] As mentioned above, the reflected rule would produce a reflected image, while the complementary rule would produce an image with black and white swapped.

Unusual cases

In some cases the behavior of a cellular automaton is not immediately obvious. For example, for Rule 62, interacting structures develop as in a Class 4. But in these interactions at least one of the structures is annihilated so the automaton eventually enters a repetitive state and the cellular automaton is Class 2.[7]

Rule 73 is Class 2[8] because any time there are two consecutive 1s surrounded by 0s, this feature is preserved in succeeding generations. This effectively creates walls which block the flow of information between different parts of the array. There are a finite number of possible configurations in the section between two walls so the automaton must eventually start repeating inside each section, though the period may be very long if the section is wide enough. These walls will form with probability 1 for completely random initial conditions. However, if the condition is added that the lengths of runs of consecutive 0s or 1s must always be odd, then the automaton displays Class 3 behavior since the walls can never form.

Rule 54 is Class 4[9] and also appears to be capable of universal computation, but has not been studied as thoroughly as Rule 110. Many interacting structures have been cataloged which collectively are expected to be sufficient for universality.[10]

References

  1. ^ R.Ugalde, Laurence. "Elementary cellular automaton in the Fōrmulæ programming language". Fōrmulæ. Retrieved June 9, 2024.
  2. ^ Castillo-Ramirez, A., Gadouleau, M. (2020), Elementary, Finite and Linear vN-Regular Cellular Automata, Information and Computation, vol. 274, 104533. Section 3. https://doi.org/10.1016/j.ic.2020.104533.
  3. ^ Cook, Matthew (2009-06-25). "A Concrete View of Rule 110 Computation". Electronic Proceedings in Theoretical Computer Science. 1: 31–55. arXiv:0906.3248. doi:10.4204/EPTCS.1.4. ISSN 2075-2180.
  4. ^ Stephen Wolfram, A New Kind of Science p223 ff.
  5. ^ Rule 110 - Wolfram|Alpha
  6. ^ Wolfram, Stephen (1994). "Tables of Cellular Automaton Properties" (PDF). Cellular Automata and Complexity: Collected Papers (PDF). Westview Press. pp. 516–521. ISBN 0-201-62716-7.
  7. ^ Rule 62 - Wolfram|Alpha
  8. ^ Rule 73 - Wolfram|Alpha
  9. ^ Rule 54 - Wolfram|Alpha
  10. ^ Martínez, Genaro Juárez; Adamatzky, Andrew; McIntosh, Harold V. (2006-04-01). "Phenomenology of glider collisions in cellular automaton Rule 54 and associated logical gates" (PDF). Chaos, Solitons & Fractals. 28 (1): 100–111. Bibcode:2006CSF....28..100M. doi:10.1016/j.chaos.2005.05.013. ISSN 0960-0779.

Read other articles:

パイン株式会社Pine Co.,Ltd. 本社種類 株式会社市場情報 非上場本社所在地 日本〒543-0073大阪府大阪市天王寺区生玉寺町1番5号北緯34度39分46.3秒 東経135度30分52.9秒 / 北緯34.662861度 東経135.514694度 / 34.662861; 135.514694座標: 北緯34度39分46.3秒 東経135度30分52.9秒 / 北緯34.662861度 東経135.514694度 / 34.662861; 135.514694設立 1951年3月3日業種 食料品法人番号...

1938 film Gold Diggers in ParisDirected byRay EnrightBusby BerkeleyWritten byEarl BaldwinWarren DuffUncredited:Felix FerrySig HerzigPeter MilneStory byStory idea:Jerry HorwinJames Seymour (screenwriter)Story:Jerry WaldRichard MacaulayMaurice LeoProduced byHal B. Wallis (exec. prod.)Samuel Bischoff(both uncredited)StarringRudy ValleeRosemary LaneHugh HerbertAllen Jenkins.CinematographySol PolitoGeorge Barnes(musical numbers)Edited byGeorge AmyMusic byUncredited:Ray HeindorfHeinz RoemheldSongs:...

Cet article traite de l'épreuve masculine. Pour la compétition féminine, voir Tournoi féminin de volley-ball aux Jeux olympiques d'été de 2020. Articles principaux : Volley-ball aux Jeux olympiques d'été de 2020 et Volley-ball aux Jeux olympiques. Tournoi masculin de volley-ball aux Jeux olympiques d'été de 2020 Généralités Sport Volley-ball Organisateur(s) CIO Édition 15e Lieu(x) Tokyo, Japon Date reporté à 2021 Participants 12 (144 joueurs) Matchs joués 38 Site(s) Aria...

Хіба що небеса знають, містер Еллісонангл. Heaven Knows, Mr. Allison Жанр воєнний фільм[1], екранізація роману[d], драматичний фільм, бойовик і кіноромантикаРежисер Джон Г'юстонПродюсер Бадді АдлерЮджин ФренкеСценарист Джон Г'юстонДжон Лі МагінНа основі Heaven Knows, Mr. All...

Edenhof Stadt Penzberg Koordinaten: 47° 44′ N, 11° 23′ O47.7405211.38922616Koordinaten: 47° 44′ 26″ N, 11° 23′ 21″ O Höhe: ca. 616 m ü. NHN Einwohner: 21 (1987)[1] Postleitzahl: 82377 Vorwahl: 08856 Edenhof (Bayern) Lage von Edenhof in Bayern Edenhof von der BenediktenwandEdenhof von der Benediktenwand Edenhof (veraltet Oedenhofen/Ödenhof und Ehrenhof[2]) ist ein Stadtteil der oberbayerisc...

Emotional Freedom Techniques (EFT) (pt: Técnicas de Libertação Emocional), são uma forma de “acupuntura psicológica”. Usa-se o sistema de meridianos chinês para aliviar a tensão psicológica e a dor fisiológica. É uma modalidade terapêutica que combina procedimentos verbais e físicos, usando o princípio de exposição (à queixa), procedimento manual de estimulação dos pontos de acupuntura feita com as pontas dos dedos e reestruturação cognitiva. Frequentemente é utilizad...

Huy hiệu Giám mục Ngưu Hội Khanh Tôma Ngưu Hội Khanh (1895–1973; tiếng Anh:Thomas Niu Hui-ching / Thomas Niu Hui-qing; tiếng Trung:牛會卿) là một Giám mục người Trung Quốc của Giáo hội Công giáo Rôma. Ông nguyên là Giám mục chính tòa Giáo phận Dương Cốc. Ngoài ra, ông còn đảm nhận nhiều vai trò khác như Đại diện Tông Tòa Hạt Đại diện Tông Tòa Dương Cốc; Giám quản Tông Tòa Giáo phận Phúc Ninh và G...

Halaman ini berisi artikel tentang seorang stand up comedian atau komika. Untuk penyanyi dan finalis Indonesian Idol, lihat Muhammad Yusuf Nur Ubay. Rizky Ubay UbaidillahLahirRizky Ubaidillah17 Agustus 1995 (umur 28)Indramayu, Jawa Barat, IndonesiaNama lainUbayPekerjaanPelawak tunggalTahun aktif2013—sekarang Rizky Ubaidillah (lahir 17 Agustus 1995) adalah seorang pelawak tunggal berkebangsaan Indonesia. Ubay, sapaannya, merupakan orang asli Indramayu yang kemudian pindah ke P...

Assorted GemsGenreRomansa, Keluarga, DramaDitulis olehIm Sung-hanSutradaraBaek Ho-minPemeranGo Na-eun Lee Tae-gon So Yi-hyun Lee Hyun-jin Lee Il-minNegara asalKorea SelatanBahasa asliKoreaJmlh. episode50ProduksiProduserKim Jeong-hoLokasi produksiKorea SelatanDurasi60 menit Sabtu dan Minggu pukul 21:45 (WSK)RilisJaringan asliMunhwa Broadcasting CorporationFormat audioStereoRilis asli5 September 2009 (2009-09-05) –21 Februari 2010 (2010-2-21)Pranala luarSitus web Assorted Gems ...

  الجمعية البريطانية لتقدم العلوم الجمعية البريطانية لتقدم العلوم‌ البلد المملكة المتحدة  تاريخ التأسيس 1831  الرئيس كاثلين لونسدال (1967–1968)  المالية إجمالي الإيرادات 3019381 جنيه إسترليني (2016)3101424 جنيه إسترليني (2017)2754408 جنيه إسترليني (2018)3124541 جنيه إسترليني (2021)4193978 جنيه

Nirvana upon death for someone who has attained nirvana during their lifetime The death of the Buddha, or Mahaparinirvana, Gandhara 2–3rd century Translations ofParinirvanaEnglishNirvana after death,Nirvana without remainder, Nirvana without residueSanskritपरिनिर्वाण (IAST: parinirvāṇa)PaliparinibbānaBurmeseပရိနိဗ္ဗာန် (MLCTS: pa.ri.nibban)Chinese般涅槃 (Pinyin: bōnièpán)IndonesianparinirwanaJapanese般涅槃 (Rōmaji: hatsunehan)Khmerប�...

2022–23 Utah Utes men's basketballConferencePac-12 ConferenceRecord17–15 (10–10 Pac-12)Head coachCraig Smith (2nd season)Assistant coaches Chris Burgess Tim Morris DeMarlo Slocum Home arenaJon M. Huntsman CenterSeasons← 2021–222023–24 → 2022–23 Pac-12 Conference men's basketball standings vte Conf Overall Team W   L   PCT W   L   PCT No. 7 UCLA 18 – 2   .900 31 – 6   .838 No. 8 Arizona† 14 – 6  ...

كاتش-22 أو شرط-22 Catch-22 (بالإنجليزية: Catch-22)‏ أو دور (في علم المنطق) حالة متناقضة لا يستطيع الفرد الفرار منها بسبب الشروط المتناقضة.[1][2] صاغ هذا المصطلح جوزيف هيلر، الذي استخدمه في روايته عام 1961 كاتش-22. ومن الأمثلة على ذلك: «كيف من المفترض أن اكتسب الخبرة [للعثور على وظيفة ...

1997 video gamePanzer General IIDeveloper(s)Strategic SimulationsPublisher(s)Strategic SimulationsDesigner(s)SSI Special Projects GroupProgrammer(s)Russell BrownComposer(s)Kevin MantheiSteven MethyPlatform(s)Microsoft WindowsReleaseNA: October 15, 1997[1]Genre(s)Computer wargameMode(s)Single-player, multiplayer Panzer General II is a computer wargame by Strategic Simulations, Inc. Released October 15, 1997, Panzer General II is the sixth SSI game in the Panzer General series and the f...

Defunct American corporation Rodale, Inc.StatusDefunct, 2017Founded1930FounderJ. I. RodaleSuccessorHearst (magazines)Crown Publishing Group (books)Country of originUnited StatesHeadquarters locationEmmaus, Pennsylvania, U.S.Publication typesMagazines, booksOfficial websiterodale.com Rodale, Inc. (/ˈroʊdeɪl/), was an American publisher of health and wellness magazines, books, and digital properties headquartered in Emmaus, Pennsylvania, with a satellite office in New York City.[1] T...

This article has multiple issues. Please help improve it or discuss these issues on the talk page. (Learn how and when to remove these template messages) This article needs to be updated. The reason given is: There is no information regarding modern decompilation techniques with various programming languages and executable formats. Please help update this article to reflect recent events or newly available information. (September 2022) This article's lead section may be too short to adequatel...

اضغط هنا للاطلاع على كيفية قراءة التصنيف الأرزية الغربية أشجار الأرزية الغربية أوراق وثمار الأرزية الغربيةأوراق وثمار الأرزية الغربية حالة الحفظ   أنواع غير مهددة أو خطر انقراض ضعيف جدا[1] المرتبة التصنيفية نوع  التصنيف العلمي النطاق: حقيقيات النوى المملكة: النب�...

Former chief minister of Bihar Jitan Ram ManjhiPresident of the Hindustani Awam MorchaIncumbentAssumed office 8 May 2015Preceded byPosition EstablishedPro tem speaker of Bihar Legislative AssemblyIn office19 November 2020 – 24 November 202023rd Chief Minister of BiharIn office20 May 2014[1] – 20 February 2015[2]Preceded byNitish KumarSucceeded byNitish Kumar Personal detailsBorn (1944-10-06) 6 October 1944 (age 79)Gaya, Bihar, IndiaPolitical ...

تاتسوما يوشيد (باليابانية: 吉田達磨)‏  معلومات شخصية الميلاد 9 يونيو 1974 (50 سنة)  محافظة تشيبا  الطول 1.72 م (5 قدم 7 1⁄2 بوصة) مركز اللعب وسط الجنسية اليابان  معلومات النادي النادي الحالي سنغافورة (مدرب) المسيرة الاحترافية1 سنوات فريق م. (هـ.) 1993–1996 كاشيوا ريس�...

Orang Chagos ÎloisLaki-laki Chagos yang sedang mengumpulkan kelapaDaerah dengan populasi signifikan3.000 di Mauritius dan Britania Raya Mauritius Seychelles Britania RayaBahasaKreol Chagos · Kreol Mauritius · Kreol Seychelles · Bahasa InggrisAgamaKekristenan Orang Chagos (juga disebut Îlois) adalah orang-orang berketurunan Afrika, India, dan Melayu yang pernah tinggal di Kepulauan Chagos, (khususnya kepulauan Diego Garcia, Peros Banhos, dan Salom...