Computation by competing patterns: Life rule B2/S

Similar documents
Computation with competing patterns in Life-like automaton

arxiv: v1 [nlin.cg] 4 Nov 2014

arxiv: v1 [nlin.cg] 26 Feb 2008

Phenomenology of reaction-diffusion binary-state cellular automata

Complex dynamics of elementary cellular automata emerging from chaotic rules

Rule 110 explained as a block substitution system

Extension of cellular automata by introducing an algorithm of recursive estimation of neighbors

Chaos, Complexity, and Inference (36-462)

Complexity Classes in the Two-dimensional Life Cellular Automata Subspace

Chaos, Complexity, and Inference (36-462)

Mitchell Chapter 10. Living systems are open systems that exchange energy, materials & information

Procedures for calculating reversible one-dimensional cellular automata

Cellular Automata. ,C ) (t ) ,..., C i +[ K / 2] Cellular Automata. x > N : C x ! N. = C x. x < 1: C x. = C N+ x.

Recognizing Complex Behavior Emerging from Chaos in Cellular Automata

Cellular Automata CS 591 Complex Adaptive Systems Spring Professor: Melanie Moses 2/02/09

Modelling with cellular automata

Cellular Automata. and beyond. The World of Simple Programs. Christian Jacob

Chaotic Subsystem Come From Glider E 3 of CA Rule 110

arxiv:cond-mat/ v4 [cond-mat.soft] 23 Sep 2002

arxiv: v1 [nlin.cg] 12 Oct 2014

Introduction to Scientific Modeling CS 365, Fall 2011 Cellular Automata

Computing on rings. University of the West of England, Bristol BS16 1QY, United Kingdom.

Computing in Spiral Rule Reaction-Diffusion Hexagonal Cellular Automaton

Motivation. Evolution has rediscovered several times multicellularity as a way to build complex living systems

biologically-inspired computing lecture 12 Informatics luis rocha 2015 INDIANA UNIVERSITY biologically Inspired computing

Cellular Automata. History. 1-Dimensional CA. 1-Dimensional CA. Ozalp Babaoglu

arxiv: v1 [nlin.cg] 16 Sep 2016

arxiv: v1 [nlin.ps] 3 Feb 2009

From Glider to Chaos: A Transitive Subsystem Derived From Glider B of CA Rule 110

II. Cellular Automata 8/27/03 1

Cellular automata are idealized models of complex systems Large network of simple components Limited communication among components No central

Complex Dynamics Emerging in Rule 30 with Majority Memory

Cellular Automata: Tutorial

Image Encryption and Decryption Algorithm Using Two Dimensional Cellular Automata Rules In Cryptography

II. Spatial Systems. A. Cellular Automata. Structure. Cellular Automata (CAs) Example: Conway s Game of Life. State Transition Rule

XI STANDARD [ COMPUTER SCIENCE ] 5 MARKS STUDY MATERIAL.

Cellular Automata. Jason Frank Mathematical Institute

Introduction to Artificial Life and Cellular Automata. Cellular Automata

On Soliton Collisions between Localizations in Complex Elementary Cellular Automata: Rules 54 and 110 and Beyond

Toward a Better Understanding of Complexity

arxiv: v1 [nlin.cg] 22 Jun 2007

II. Spatial Systems A. Cellular Automata 8/24/08 1

Fundamentals of Digital Design

arxiv: v1 [cond-mat.stat-mech] 3 Jul 2014

Justine Seastres. Cellular Automata and the Game of Life

New Possibilities for Cellular Automata in Cryptography

Cellular Automata and Tilings

The Fixed String of Elementary Cellular Automata

Any live cell with less than 2 live neighbours dies. Any live cell with 2 or 3 live neighbours lives on to the next step.

arxiv: v1 [nlin.ps] 22 Oct 2010

A Colorful Introduction to Cellular Automata

Lecture 7: Logic design. Combinational logic circuits

Mealy & Moore Machines

Synchronous Sequential Circuit Design. Digital Computer Design

Cellular Automata. Jarkko Kari Spring University of Turku

Optimization of 1D and 2D Cellular Automata for Pseudo Random Number Generator.

XX Eesti Arvutiteaduse Talvekool

Computation in Cellular Automata: A Selected Review

Appendix B. Review of Digital Logic. Baback Izadi Division of Engineering Programs

PSEUDORANDOM BINARY SEQUENCES GENERATOR

Information Encoding by Using Cellular Automata

arxiv:cond-mat/ v1 [cond-mat.stat-mech] 20 Jan 1997

Looking at a two binary digit sum shows what we need to extend addition to multiple binary digits.

ELCT201: DIGITAL LOGIC DESIGN

BINARY MORPHOLOGY AND CELLULAR AUTOMATA

Cellular Automata. Jarkko Kari Spring University of Turku

(Anti-)Stable Points and the Dynamics of Extended Systems

BER KELEY D AV IS IR VINE LOS AN GELES RIVERS IDE SAN D IEGO S AN FRANCISCO

The Game (Introduction to Digital Physics) *

Cs302 Quiz for MID TERM Exam Solved

Memory Elements I. CS31 Pascal Van Hentenryck. CS031 Lecture 6 Page 1

Outline 1 Introduction Tiling definitions 2 Conway s Game of Life 3 The Projection Method

CELLULAR AUTOMATA WITH CHAOTIC RULE FORMATION AND ITS CHARACTERISTICS ABSTRACT

Explicit construction of single input - single output logic gates from three soliton solution of Manakov system

arxiv: v1 [cs.fl] 17 May 2017

Sorting Network Development Using Cellular Automata

Synchronous Sequential Circuit

Larger than Life: Digital Creatures in a Family of Two-Dimensional Cellular Automata

Exam for Physics 4051, October 31, 2008

Bio-inspired Models of Computation Seminar. Daniele Sgandurra. 16 October 2009

The Quest for Small Universal Cellular Automata Nicolas Ollinger LIP, ENS Lyon, France. 8 july 2002 / ICALP 2002 / Málaga, Spain

Computer organization

Design of Sequential Circuits

Boolean Algebra, Gates and Circuits

Introduction to Cellular automata

CS 256: Neural Computation Lecture Notes

ELCT201: DIGITAL LOGIC DESIGN

Investigations of Game of Life Cellular Automata rules on Penrose Tilings: lifetime, ash, and oscillator statistics

Adamatzky, A. (2001). Computing in Nonlinear Media and Automata Collectives.

COMBINATIONAL LOGIC FUNCTIONS

Dynamics and Chaos. Melanie Mitchell. Santa Fe Institute and Portland State University

Cellular Automaton Supercomputing

Gates and Flip-Flops

Chapter 2 Simplicity in the Universe of Cellular Automata

The Structure of the Elementary Cellular Automata Rule Space

*WILEY- Quantum Computing. Joachim Stolze and Dieter Suter. A Short Course from Theory to Experiment. WILEY-VCH Verlag GmbH & Co.

Chapter 2 Combinational Logic Circuits

Lecture 10: Synchronous Sequential Circuits Design

NETWORK REPRESENTATION OF THE GAME OF LIFE

Combinational Logic. By : Ali Mustafa

Transcription:

Computation by competing patterns: Life rule B2/S2345678 Genaro J. Martínez, Andrew Adamatzky, Harold V. McIntosh 2, and Ben De Lacy Costello 3 Faculty of Computing, Engineering and Mathematical Sciences, University of the West of England, Bristol, United Kingdom {genaro.martinez,andrew.adamatzky}@uwe.ac.uk http://uncomp.uwe.ac.uk/genaro/ 2 Departamento de Aplicación de Microcomputadoras, Instituto de Ciencias, Universidad Autónoma de Puebla, Puebla, México. mcintosh@servidor.unam.mx http://delta.cs.cinvestav.mx/ mcintosh/ 3 Faculty of Applied Sciences, University of the West of England, Bristol, United Kingdom Abstract. Patterns, originating from different sources of perturbations, propagating in a precipitating chemical medium do usually compete for the space. They sub-divide the medium onto the regions unique for an initial configuration of disturbances. This sub-division can be expressed in terms of computation. We adopt an analogy between precipitating chemical media and semi-totalistic binary two-dimensional cellular automata, with cell-state transition rule B2/S2... 8. We demonstrate how to implement basic logic and arithmetical operations (computability) by patterns propagating in geometrically constrained Life rule B2/S2... 8 medium. Introduction Non-standard computation deals with implementation of programmable processing of information by unorthodox ways (e.g. computing with traveling localizations [2]) and in novel, or unusual, materials, (e.g. chemical reaction-diffusion media [4]). All non-standard computational systems can be classified as geometrically-constrained (fixed, stationary, architecure, e.g. wires, gates) and architecureles (collision-based, or free space 4 []) computers. 4 Free space computing is a term coined by Jonathan Mills.

Conway s Game of Life [] is the best-known example of a universal collision-based computer [8, 2]. Its universality [8] can be proved and demonstrated by many ways, either simple functionally complete set of logical functions, as in [8], or via construction of large and complicated simulators of Turing machine [9, 25] and register machine [8]. The Life, and Life-like rules, are know to support myriad of traveling localizations, or gliders; stationary localizations, or still lives; breathing stationary localizations, or oscillators [, 29, 2, 2, 24, 5, 3]. In its original form, where transition from living state,, to death state, 2, does exist, the Life automata resemble excitable media, including excitable reaction-diffusion systems. There is also a family of Life-life rules, where cells never die, or the state is an absorbing state. This is the family of Life without Death, invented by Griffeath and Moore in [2]. In the Life without Death automata we can still observe propagating localizations, formed due to rule-based restrictions on propagation similar to that in sub-excitable chemical media and plasmodium of Physarum polycephalum [7], but no complicated periodic structures or global chaotic behavior occurs. The Life without Death family of cell-state transition rules is the Game of Life equivalent of the precipitating chemical systems. This is demonstrated in our computational-phenomenological studies of semitotalistic and precipitating CA [5], where we selected a set of rules, identified by periodic structures, which is named as Life 2c22 [2]. 5 The clans closest to the family 2c22 are Diffusion Rule (Life rule B2/S7) [7], all they also into of a big cluster named as Life dc22. A partial but important result was find an indestructible pattern into Life rules. The Life families with indestructible patterns allow us to study a computational potential of the propagating precipitating systems. We employ our previous results on chemical laboratory prototypes of XOR gates in precipitating chemical media [3], and design a binary adder in the CA equivalent of the precipitating chemical medium. In Sect. 2 we overview basic patterns emerging in rule B2/S2... 8. Logical gates and a binary full adder are constructed in Sect. 3. 2 Life rule B2/S2... 8 The Life rule B2/S2... 8 is described as follows. Each cell takes two states ( dead ) and ( alive ), and updates its state depending on its eight closest neighbors as follows:. Birth: a central cell in state at time step t takes state at time step t + if it has exactly two neighbors in state. 5 http://uncomp.uwe.ac.uk/genaro/diffusionlife/life 2c22.html

2. Survival: a central cell in state at time t remains in the state at time t + if it has more then one live neighbor. 3. Death: all other local situations. Once a resting lattice is perturbed, few cells assigned live states, patterns formed and grow quickly. Most interesting behavior occurs when at least 2% of cells are initially alive. A general behaviour of rule B2/S2... 8 can be well described by a mean field polynomial and its fixed points (see Fig. ) [23, 4], as follow: p t+ = 28p 2 t q 7 t + 28p 3 t q 6 t + 56p 4 t q 5 t + 7p 5 t q 4 t + 56p 6 t q 3 t + 28p 7 t q 2 t + 8p 8 t q t + p 9 t. q = -p p Fig.. Mean field curve for B2/S2... 8. High densities of domains dominated by state correspond to p =.996 to p = (also we can consider p =.6598 to p =.7252, all they are stable fixed points). Interesting behavior can be found in extreme unstable fixed points when p =.36 to p =.. Thus unstable fixed points may represent gliders and small oscillators as show Fig.. (a) (b) (c) (d) Fig. 2. Basic periodic structures in B2/S2... 8: (a) glider period one, (b) oscillator period one, (c) flip-flop, and (d) still life configuration.

Minimal localizations, or basic periodic structures, in rule B2/S2... 8 include gliders, oscillators, flip-flops, and still life (stationary localization) configurations (Fig. 2). Fig. 3. Indestructible Still Life family patterns derived in rule B2/S2... 8. A relevant characteristic was that the rule B2/S2... 8 supports indestructible patterns, which can not be destroyed from any perturbation, they belong to the class of stationary localizations, still lives [, 22]. The minimal indestructible pattern is show in Fig. 2d. More heavier, in a number of live cells, patterns are provided in Fig. 3. external perturbation (random) internal perturbation (virus) external perturbation (glider collisions) internal perturbation (glider collision) Fig. 4. Indestructible Still Life colonies tested by internal and external perturbations. Each pair of snapshots represents an initial condition (on the left) and a final, i.e. stationary, configuration (on the right).

In CA rule B2/S2... 8 one can setup colonies of the indestructible structures as sets of block patterns, which are capable for resisting internal and external perturbations, see examples in Fig. 4. The indestructible patterns symbolize a precipitation in CA development. We use these patterns to architecture channels, or wires, for signal propagation. The Still Life blocks are not affected by their environment however they do affect their environment. As demonstrated in Fig. 4, bottom scenarios, gliders colliding to the Still Life walls are transformed into propagating patterns, which fill the automaton lattice. Localizations colliding to Still Life blocks become delocalised. We use this feature of interactions between stationary and mobile localizations in designing logical circuits. 3 Computing with propagating patterns We implement computation with patterns propagating in the Life rule B2/S2... 8 is follows. A computing scheme is build as channels, geometrically constrained by Still Life indestructible blocks, and T -junctions 6 between the channels. Each T -junction consists of two horizontal channels A and B (shoulders), acting as inputs, and a vertical channel, C, assigned as an output. Such type of circuitry have been already used to implement gate in chemical laboratory precipitating reactiondiffusion systems [3, 4], and precipitating logical gates in CA [6]. A minimal width of each channel is calculated as three widths of the Still Life block (Fig. 2d) and width of a glider (Fig. 2a). (a) (b) Fig. 5. Feedback channels constructed with still life patterns (a) show the initial state with the empty channel and a glider (top) and final state representing value (low), and (b) show non-symmetric patterns representing value. 6 T -junction based control signals were suggested also in von Neumann [28] works.

Boolean values are represented by gliders, positioned initially in the middle of channel, value (Fig. 5a, top), or slightly offset, value (Fig. 5b, top). The initial positions of the gliders determine outcomes of their delocalisation. Glider, corresponding to the value delocalised into regular identified by a symmetric pattern, like frozen waves of excitation, patterns (Fig. 5a, bottom). Glider, representing the value signal value, delocalises into the less regular patterns (Fig. 5b, bottom) identified by a non-symmetric pattern although eventually it became periodic on a long channel but not symmetric. The patterns, representing values and, propagate along the channels and meet at the T -junctions. They compete for the output channel, and, depending on initial distance between gliders, one of the patterns win and propagates along the output channel. Figure 6 shows final configurations of basic logical gates. The gates can be cascaded into more useful circuits, e.g. binary adders. See a scheme representation based in T -junctions from its traditional circuit of a binary half-adder in Fig. 7. Implementation of final configuration of the one-bit half-adder are shown in Fig. 8. Thus the circuity can be extended to a full adder (Fig. 9). Configuration of the adder, outlined with Still Life blocks, and description of computation stages are shown in Fig.. The full adder consists of 6 T -junctions, linked together by channels, and involve synchronization signals as well. Finally the full adder was constructed on, 8, 326 cells lattice, and there were 66,63 live cells involved in 952 generations in total. A data-area of the full adder is shown in Fig.. 4 Conclusions Result presented in the paper demonstrate how to implement computation at the systems with propagating precipitating patters based in T -junction system. Also, we shown universal computing in Life rules domain with the Life rule B2/S2... 8 by implementing basic logical gates and full binary adder. Relevance of this result in CA literature specially into Life rules was besides showing universality in other evolution rule different to the Game of Life proposed in several works. Problems related to configurations done a complete computation involucre space complexity and possible architecture of implementation, also of different orders of CA [27]. In this way it is possible look complex constructions in Life domain [9, 25] or using the isotropic neighborhood

OR I/ I/ I/ I/ I/ I/ I/ I/ O/ O/ O/ O/ AND I/ I/ I/ I/ I/ I/ I/ I/ NOR O/ O/ O/ O/ I/ I/ I/ I/ I/ I/ I/ I/ NAND O/ O/ O/ O/ I/ I/ I/ I/ I/ I/ I/ I/ XOR O/ O/ O/ O/ I/ I/ I/ I/ I/ I/ I/ I/ O/ O/ O/ O/ O/ XNOR I/ I/ I/ I/ I/ I/ I/ I/ O/ O/ O/ O/ Fig. 6. Logic gates implemented at the Life rule B2/S2... 8. Input binary values A and B are represented for In/ or In/, output result C is represented by Out/ or Out/.

A B XOR sum AND carry out A A sum carry out XOR AND? B B preserving carry out o sum Fig. 7. Half adder circuit (top) and scheme of its implementation by propagating patterns geometrically constrained medium (bottom). I/ I/ I/ I/ O/ O/ I/ I/ I/ O/ O/ (a) (b) I/ I/ I/ I/ I/ O/ O/ I/ I/ I/ I/ O/ O/ (c) (d) Fig. 8. Half adder implemented in Life rule B2/S2... 8. Operations represent sums (a) +, (b) +, (c) +, and (d) + where besides its carry out is preserved in this case.

A B XOR carry in XOR sum AND OR carry out AND Fig. 9. Full binary adder circuit. [26]. However in this case gliders were used to produce a propagation of patterns and not to produce new gliders or Life objects. 7 Future work will concern with explicit construction of a Turing machine, computer design, solitons [5], systems self-copying [9] and detailed study and classification of indestructible still life patterns in Life dc22. Sources, stuff and specific initial condition (.rle files) 8 to reproduce these results are also available from http://uncomp.uwe.ac.uk/genaro/ diffusionlife/b2-s2345678.html Acknowledgement This research was supported by Engineering and Physical Sciences Research Council (EPSRC), United Kingdom, grant EP/F54343. References. Adamatzky, A. (2) Computing in Nonlinear Media and Automata Collectives, Institute of Physics Publishing, Bristol and Philadelphia. 2. Adamatzky, A. (Ed.) (23) Collision-Based Computing, Springer. 3. Adamatzky A. & De Lacy Costello B. (22) Experimental logical gates in a reaction-diffusion medium: The XOR gate and beyond, Phys. Rev. E 66, 462. 4. Adamatzky, A., De Lacy Costello, B. & Asai, T. (25) Reaction-Diffusion Computers, Elsevier. 7 Lifeinfo http://www.pentadecathlon.com/ 8 Implementations and constructions were developed with Golly system available from http://golly.sourceforge.net/

I/ and carry in I/ I/ and and xnor xnor or - - or or - carry out O/ xnor sum carry out and or I/ I/ Fig.. Full binary adder description of stages in Life rule B2/S2... 8.

Fig.. Full binary adder serial implementation in Life rule B2/S2... 8 (zoom-in data area).

5. Adamatzky, A., Martínez, G.J. & Seck Tuoh Mora, J.C. (26) Phenomenology of reaction-diffusion binary-state cellular automata, Int. J. Bifurcation and Chaos 6 (), 2. 6. Adamatzky, A. & Wuensche, A. (26) Computing in spiral rule reactiondiffusion cellular automaton, Complex Systems 6 (4). 7. Adamatzky A., De Lacy Costello B., Shirakawa T. Universal computation with limited resources: Belousov-Zhabotinsky and Physarum computers. Int. J. Bifurcation and Chaos (28), in press. 8. Berlekamp, E.R., Conway, J.H. & Guy, R.K. (982) Winning Ways for your Mathematical Plays, Academic Press, (vol. 2, chapter 25). 9. Chapman, P. (22) Life Universal Computer, http://www.igblan. free-online.co.uk/igblan/ca/. Cook, M. (23) Still Life Theory, (in ref. [3]).. Gardner, M. (97) Mathematical Games The fantastic combinations of John H. Conway s new solitaire game Life, Scientific American 223, 2 23. 2. Griffeath, D. & Moore, C. (996) Life Without Death is P-complete, Complex Systems, 437 447. 3. Griffeath, D. & Moore, C. (Eds.) (23) New constructions in cellular automata, Oxford University Press. 4. Gutowitz, H.A. & Victor, J.D. (987) Local structure theory in more that one dimension, Complex Systems, 57 68. 5. Jakubowski, M.H., Steiglitz, K. & Squier, R. (2) Computing with Solitons: A Review and Prospectus, Multiple-Valued Logic, Special Issue on Collision-Based Computing, vol. 6, num. 5 6. 6. Martínez, G.J., Adamatzky, A. & De Lacy Costello, B., On logical gates in precipitating medium: cellular automaton model, Physics Letters A, accepted. 7. Martínez, G.J., Adamatzky, A. & McIntosh, H.V., Localization dynamic in a binary two-dimensional cellular automaton: the Diffusion Rule, J. Cellular Automata, in press. 8. Minsky, M. (967) Computation: Finite and Infinite Machines, Prentice Hall. 9. Mitchell, M. (2) Life and evolution in computers, History and Philosophy of the Life Sciences 23, pages 36 383. 2. Magnier, M., Lattaud, C. & Heudin, J.-K. (997) Complexity Classes in the Two-dimensional Life Cellular Automata Subspace, Complex Systems (6), 49 436. 2. Martínez, G.J., Méndez, A.M. & Zambrano, M.M. (25) Un subconjunto de autómata celular con comportamiento complejo en dos dimensiones, http://uncomp.uwe.ac.uk/genaro/papers.html 22. McIntosh, H.V. (988) Life s Still Lifes, http://delta.cs.cinvestav.mx/ mcintosh 23. McIntosh, H.V. (99) Wolfram s Class IV and a Good Life, Physica D 45, 5 2. 24. Packard, N. & Wolfram, S. (985) Two-dimensional cellular automata, J. Statistical Physics, 38, 9 946.

25. Rendell, P. (22) Turing universality of the game of life, (in ref. [2]). 26. Sapin, E., Bailleux, O., Chabrier, J. & Collet, P. (27) Demonstration of the Universality of a New Cellular Automaton, Int. J. Unconventional Computing 3, 79 3. 27. Tommaso, T. (28) Background for the Quad Prize, EPSRC Automata 28 Workshop, http://uncomp.uwe.ac.uk/automata28/prize.html 28. von Neumann, J. (966) Theory of Self-reproducing Automata (edited and completed by A. W. Burks), University of Illinois Press, Urbana and London. 29. Wainwright, R. (Ed.) Lifeline - A Quaterly Newsletter for Enthusiasts of John Conway s Game of Life, Issues to, March 97 to September 973. 3. Wuensche, A. (24) Self-reproduction by glider collisions: the beehive rule, Alife9 Proceedings, 286 29, MIT Press.