Cellular Automata the Plan What Are Cellular Automata? What Are

Total Page:16

File Type:pdf, Size:1020Kb

Cellular Automata the Plan What Are Cellular Automata? What Are The Plan • Automata Cellular Automata – Von Neumann to Wolfram The game of life or a new kind of • Demonstrations science? – Game of Life program – Developed by Jim Fix – Behaviors developed by high school students Richard Ladner – Sophisticated behaviors implemented by Sam Coskey 1 2 What are Cellular What are Cellular Automata? Automata? “Cellular automata have been invented many times under “When I made my first discoveries about cellular automata different names… In pure mathematics they can be recognized in the early 1980s I suspected that I had seen the beginning as a branch of topological dynamics, in electrical engineering of something important. But I had no idea just how important they are sometimes called iterative arrays, and high school it would all ultimately turn out to be. And indeed over the past kids may know them as a sort of home-computer game. twenty years I have made more discoveries than I ever thought They have been used and abused by interdisciplinary possible. And a new kind of science that I have spent so much scientists as well as interdisciplinary bumblers.” effort building has seemed an ever more central and critical direction for future intellectual development.” Toffoli and Margous Cellular Automata Machines Stephen Wolfram 1987 A New Kind of Science 3 2002 4 Automata? Automaton Example • Automata is the plural of automaton Coke machine • Simple computing device – Inputs: • Properties coins, bills, return button, choice buttons – Finite set of states – State: – Transitions from state to state money entered so far,… • Sense the environment. – Outputs: • Possibly change the environment. coke, sprite, dr. pepper, • Go to a new state, returned coins, … 5 6 1 Other Examples Cellular Automata • Automata are arranged geometrically • All automata are identical • All automata change state simultaneously cell 4 Neighbors 8 Neighbors 7 8 Communication One-Dimensional rule … … • Each cell has a left and right neighbor • All cells identical • Inputs are states of neighbors and self • Cell can be initialized to different states • Output is the state (indicated by color) 9 10 Two State Example Rule 90 Rule 254 128 64 32 16 8 4 2 Rule 90 = 64 16 8 2 11 12 2 Rule 90 Rule 30 13 14 Two-Dimensional Game of Life • Each cell is “live” or “dead” • Transition rules – N = number of live neighbors among the 8 – N 1 ç death (loneliness) – N = 2 ç no change – N = 3 ç birth – N í 4 ç death (overcrowding) • Each cell has 4 or 8 neighbors examples 15 16 Game of Life Code 494 • The Glider • The Glider gun and eater – Gosper 1970 • Alternative life games 17 18 3 Code 746 History • John von Neuman & Stanislaw Ulam (1950) – Self reproducing Machines • John Conway (1970) – The game of life – Popularized by Martin Gardner in Scientific American magazine • Stephen Wolfram (2002) – “A New Kind of Science” 19 20 Firing Squad Applications Problem • Biological systems • One-dimensional cellular automaton • Iterative arrays – parallel computer hardware • Synchronous behavior possible lieutenants • Artificial societies captain • Art and design • Computer graphics Finite number of steps • Image processing • Games All in the same state = “firing state” 21 22 Firing Squad Self-Reproducing Problem Solutions Cellular Automaton • Proposed by Myhill (1957) • Two-dimensional with 4 neighbors • Moore Solution (1962) • Initial configuration is exactly duplicated and – Called the “signal solution” spread throughout the plane – 13 states • Von Neumann Solution (1952) – 3n time – 29 states, 200,000 cell initial configuration • Mazoyer Solution (1988) • Langton Solution (1984) – Only 6 states – 8 states, 125 cell initial configuration – 2n time (minimal) • Byl Solution (1989) – 4 states impossible – 6 states, 16 cell initial configuration – 5 states unknown 23 24 4 Universality Life is Universal • There is a one-dimensional cellular • The Game of Life is universal (Gosper automaton that is a general purpose and Conway 1971) computer. – Any computation can be done by setting up program input storage the initial configuration and letting it run. 25 26 Rendell’s Universal Rule 110 is Universal Life Machine • One-dimensional Paul Rendell 1980s • Matthew Cook 1990s • Rule 110 27 28 Image Processing Follow the Scent Example Game • Gray scale to black and white • Food is the highest number • Numbers smaller farther from the food x is largest x Pick the 2x2 black and white block that Best approximates the input block 29 30 5 “A New Kind of Resources Science” • Wolfram’s thesis • Books - – Complex behaviors are often the result of simple – Martin Gardner - Wheels, Life, and Other computational rules. Mathematical Amusements – The proof: simple cellular automata and their – Toffoli and Margolus - Cellular Automata Machines variants produce such complex behavior. – Stephen Wolfram - A New Kind of Science • Corollary • Web Pages – Traditional mathematical approaches (continuous – http://nojava.cafaq.com/index.shtml mathematics) to modeling complex behavior is not – http://psoup.math.wisc.edu/ enough. – http://www.cs.washington.edu/homes/scoskey/ca/ 31 32 6.
Recommended publications
  • Cellular Automata in the Triangular Tessellation
    Complex Systems 8 (1994) 127- 150 Cellular Automata in the Triangular Tessellation Cart er B ays Departm ent of Comp uter Science, University of South Carolina, Columbia, SC 29208, USA For the discussion below the following definitions are helpful. A semito­ talistic CA rule is a rule for a cellular aut omaton (CA) where (a) we tally the living neighbors to a cell without regard to their orientation with respect to th at cell, and (b) the rule applied to a cell may depend upon its current status.A lifelike rule (LFR rule) is a semitotalistic CA rule where (1) cells have exactly two states (alive or dead);(2) the rule giving the state of a cell for the next generation depends exactly upon (a) its state this generation and (b) the total count of the number of live neighbor cells; and (3) when tallying neighbors of a cell, we consider exactly those neighbor ing cells that touch the cell in quest ion. An LFR rule is written EIEhFIFh, where EIEh (t he "environment" rule) give th e lower and upper bounds for the tally of live neighbors of a currently live cell C so that C remains alive, and FlFh (the "fertility" rule) give the lower and upp er bounds for the tally of live neighbors required for a current ly dead cell to come to life. For an LFR rule to specify a game of Life we impose two further conditions: (A) there must exist at least one glider (t ranslat ing oscillator) t hat is discoverable with prob­ ability one by st arting with finite random initi al configurations (sometimes called "random primordial soup") , and (B) th e probability is zero that a fi­ nite rando m initial configuration leads to unbounded growth.
    [Show full text]
  • Impartial Games Emulating One-Dimensional Cellular Automata and Undecidability
    Impartial games emulating one-dimensional cellular automata and undecidability Urban Larsson Department of Mathematical Sciences Chalmers University of Technology and G¨oteborg University April 18, 2021 Abstract We study two-player take-away games whose outcomes emulate two-state one-dimensional cellular automata, such as Wolfram's rules 60 and 110. Given an initial string consisting of a central data pattern and periodic left and right patterns, the rule 110 cellular automaton was recently proved Turing-complete by Matthew Cook. Hence, many questions regarding its behavior are algorithmically undecidable. We show that similar questions are undecidable for our rule 110 game. 1 Introduction We study the inter-connections between two popular areas of mathematics, two-player combinatorial games e.g. [BCG04] and cellular automata (CAs) [N66, HU79, W84a, W84b, W84c, W86, W02]. We present an infinite class of games and prove that their outcomes (or winning strategies) emulate corre- arXiv:1201.1039v1 [math.CO] 5 Jan 2012 sponding one-dimensional CAs. In particular we study some recent results of Matthew Cook, [C04, C08], concerning algorithmic undecidability of Stephen Wolfram's well known elementary cellular automaton, rule 110, and interpret these results in the setting of our games. The universality of the rule 110 automaton was conjectured by S. Wolfram in 1985. It is also discussed in the remarkable book, [W02]. Our games are played between two players and are purely combinatorial| there is no element of chance and no hidden information. They are similar 1 to the take away games found in [G66, S70, Z96]. In such games the players take turns in removing tokens (coins, matches, stones) from a finite number of heaps, each with a given finite number of tokens.
    [Show full text]
  • Cellular Automata, Pdes, and Pattern Formation
    18 Cellular Automata, PDEs, and Pattern Formation 18.1 Introduction.............................................. 18 -271 18.2 Cellular Automata ....................................... 18 -272 Fundamentals of Cellular Automaton Finite-State Cellular • Automata Stochastic Cellular Automata Reversible • • Cellular Automata 18.3 Cellular Automata for Partial Differential Equations................................................. 18 -274 Rules-Based System and Equation-Based System Finite • Difference Scheme and Cellular Automata Cellular • Automata for Reaction-Diffusion Systems CA for the • Wave Equation Cellular Automata for Burgers Equation • with Noise 18.4 Differential Equations for Cellular Automata.......... 18 -277 Formulation of Differential Equations from Cellular Automata Stochastic Reaction-Diffusion • 18.5 PatternFormation ....................................... 18 -278 Complexity and Pattern in Cellular Automata Comparison • of CA and PDEs Pattern Formation in Biology and • Xin-She Yang and Engineering Y. Young References ....................................................... 18 -281 18.1 Introduction A cellular automaton (CA) is a rule-based computing machine, which was first proposed by von Newmann in early 1950s and systematic studies were pioneered by Wolfram in 1980s. Since a cellular automaton consists of space and time, it is essentially equivalent to a dynamical system that is discrete in both space and time. The evolution of such a discrete system is governed by certain updating rules rather than differential equations.
    [Show full text]
  • Representing Reversible Cellular Automata with Reversible Block Cellular Automata Jérôme Durand-Lose
    Representing Reversible Cellular Automata with Reversible Block Cellular Automata Jérôme Durand-Lose To cite this version: Jérôme Durand-Lose. Representing Reversible Cellular Automata with Reversible Block Cellular Automata. Discrete Models: Combinatorics, Computation, and Geometry, DM-CCG 2001, 2001, Paris, France. pp.145-154. hal-01182977 HAL Id: hal-01182977 https://hal.inria.fr/hal-01182977 Submitted on 6 Aug 2015 HAL is a multi-disciplinary open access L’archive ouverte pluridisciplinaire HAL, est archive for the deposit and dissemination of sci- destinée au dépôt et à la diffusion de documents entific research documents, whether they are pub- scientifiques de niveau recherche, publiés ou non, lished or not. The documents may come from émanant des établissements d’enseignement et de teaching and research institutions in France or recherche français ou étrangers, des laboratoires abroad, or from public or private research centers. publics ou privés. Discrete Mathematics and Theoretical Computer Science Proceedings AA (DM-CCG), 2001, 145–154 Representing Reversible Cellular Automata with Reversible Block Cellular Automata Jérôme Durand-Lose Laboratoire ISSS, Bât. ESSI, BP 145, 06 903 Sophia Antipolis Cedex, France e-mail: [email protected] http://www.i3s.unice.fr/~jdurand received February 4, 2001, revised April 20, 2001, accepted May 4, 2001. Cellular automata are mappings over infinite lattices such that each cell is updated according to the states around it and a unique local function. Block permutations are mappings that generalize a given permutation of blocks (finite arrays of fixed size) to a given partition of the lattice in blocks. We prove that any d-dimensional reversible cellular automaton can be expressed as the composition of d 1 block permutations.
    [Show full text]
  • Apparent Entropy of Cellular Automata
    Apparent Entropy of Cellular Automata Bruno Martin Laboratoire d’Informatique et du Parallelisme,´ Ecole´ Normale Superieure´ de Lyon, 46, allee´ d’Italie, 69364 Lyon Cedex 07, France We introduce the notion of apparent entropy on cellular automata that points out how complex some configurations of the space-time diagram may appear to the human eye. We then study, theoretically, if possible, but mainly experimentally through natural examples, the relations between this notion, Wolfram’s intuition, and almost everywhere sensitivity to initial conditions. Introduction A radius-r one-dimensional cellular automaton (CA) is an infinite se- quence of identical finite-state machines (indexed by Ÿ) called cells. Each finite-state machine is in a state and these states change simultane- ously according to a local transition function: the following state of the machine is related to its own state as well as the states of its 2r neigh- bors. A configuration of an automaton is the function which associates to each cell a state. We can thus define a global transition function from the set of all the configurations to itself which associates the following configuration after one step of computation. Recently, a lot of articles proposed classifications of CAs [5, 8, 13] but the canonical reference is still Wolfram’s empirical classification [14] which has resisted numerous attempts of formalization. Among the lat- est attempts, some are based on the mathematical definitions of chaos for dynamical systems adapted to CAs thanks to Besicovitch topol- ogy [2, 6] and [11] introduces the almost everywhere sensitivity to initial conditions for this topology and compares this notion with information propagation formalization.
    [Show full text]
  • Cellular Automata and Agent-Based Models
    Cellular automata and agent-based models Matthew Macauley Department of Mathematical Sciences Clemson University http://www.math.clemson.edu/~macaule/ Math 4500, Spring 2016 M. Macauley (Clemson) Cellular automata and agent-based models Math 4500, Spring 2016 1 / 18 Cellular automata A cellular automaton (CA) consists of a regular grid of cells, each one being ON (1) or OFF (0). At each time-step, every state is updated based on the states of its neighbors. As a simple example, consider an infinite 1D grid of cells, each one having the following update rule, called \Rule 30": The following shows the evolution of the dynamics over t 0; 1;:::; 8, starting with a single \ON" cell: M. Macauley (Clemson) Cellular automata and agent-based models Math 4500, Spring 2016 2 / 18 Cellular automata When you zoom out to see 200 time-steps, patterns start to emerge. A common theme with CA are that complex dynamics can emerge from simple, local interactions. M. Macauley (Clemson) Cellular automata and agent-based models Math 4500, Spring 2016 3 / 18 Cellular automata and self-organizing systems Complexity is observed all throughout the natural world, expecially in biology. Question: Can complex bevavior emerge naturally from a few simple rules? YES! For example, here is Rule 30 with a different initial condition: Many believe that CAs are key to understanding how simple rules can produce complex structures and behavior. M. Macauley (Clemson) Cellular automata and agent-based models Math 4500, Spring 2016 4 / 18 Some history Cellular automata (CA) were invented by Stanislaw Ulam and John von Neumann in the 1940s at Los Alamos National Laboratory, based on work by Alan Turing.
    [Show full text]
  • Neutral Emergence and Coarse Graining Cellular Automata
    NEUTRAL EMERGENCE AND COARSE GRAINING CELLULAR AUTOMATA Andrew Weeks Submitted for the degree of Doctor of Philosophy University of York Department of Computer Science March 2010 Neutral Emergence and Coarse Graining Cellular Automata ABSTRACT Emergent systems are often thought of as special, and are often linked to desirable properties like robustness, fault tolerance and adaptability. But, though not well understood, emergence is not a magical, unfathomable property. We introduce neutral emergence as a new way to explore emergent phe- nomena, showing that being good enough, enough of the time may actu- ally yield more robust solutions more quickly. We then use cellular automata as a substrate to investigate emergence, and find they are capable of exhibiting emergent phenomena through coarse graining. Coarse graining shows us that emergence is a relative concept – while some models may be more useful, there is no correct emergent model – and that emergence is lossy, mapping the high level model to a subset of the low level behaviour. We develop a method of quantifying the ‘goodness’ of a coarse graining (and the quality of the emergent model) and use this to find emergent models – and, later, the emergent models we want – automatically. i Neutral Emergence and Coarse Graining Cellular Automata ii Neutral Emergence and Coarse Graining Cellular Automata CONTENTS Abstract i Figures ix Acknowledgements xv Declaration xvii 1 Introduction 1 1.1 Neutral emergence 1 1.2 Evolutionary algorithms, landscapes and dynamics 1 1.3 Investigations with
    [Show full text]
  • Cellular Automation
    John von Neumann Cellular automation A cellular automaton is a discrete model studied in computability theory, mathematics, physics, complexity science, theoretical biology and microstructure modeling. Cellular automata are also called cellular spaces, tessellation automata, homogeneous structures, cellular structures, tessellation structures, and iterative arrays.[2] A cellular automaton consists of a regular grid of cells, each in one of a finite number of states, such as on and off (in contrast to a coupled map lattice). The grid can be in any finite number of dimensions. For each cell, a set of cells called its neighborhood is defined relative to the specified cell. An initial state (time t = 0) is selected by assigning a state for each cell. A new generation is created (advancing t by 1), according to some fixed rule (generally, a mathematical function) that determines the new state of each cell in terms of the current state of the cell and the states of the cells in its neighborhood. Typically, the rule for updating the state of cells is the same for each cell and does not change over time, and is applied to the whole grid simultaneously, though exceptions are known, such as the stochastic cellular automaton and asynchronous cellular automaton. The concept was originally discovered in the 1940s by Stanislaw Ulam and John von Neumann while they were contemporaries at Los Alamos National Laboratory. While studied by some throughout the 1950s and 1960s, it was not until the 1970s and Conway's Game of Life, a two-dimensional cellular automaton, that interest in the subject expanded beyond academia.
    [Show full text]
  • Planning Meets Self-Organization Integrating
    Frontiers of Architectural Research (2012) 1, 400–404 Available online at www.sciencedirect.com www.elsevier.com/locate/foar Planning meets self-organization: Integrating interactive evolutionary computation with cellular automata for urban planning Hao Hua Zi.014 Tiechestr. 49; Zurich 8037, Switzerland Received 6 April 2012; received in revised form 13 August 2012; accepted 15 August 2012 KEYWORDS Abstract Interactive; The experiment carried by the author in 2010 is to test if self-organizing systems could be Evolutionary; systematically regulated according to the user’s preference for global behavior. Self-organizing Self-organization; has been appreciated by architects and urban planners for its richness in the emerging global Cellular automata behaviors; however, design and self-organizing are contradictory in principle. It seems that it is inevitable to balance the design and self-organization if self-organization is employed in a design task. There have been approaches combining self-organizing with optimization process in a parallel manner. This experiment strives to regulate a self-organizing system according to non-defined objectives via real-time interaction between the user and the computer. Particularly, cellular automaton is employed as the self-organizing system to model a city district. & 2012. Higher Education Press Limited Company. Production and hosting by Elsevier B.V. All rights reserved. 1. Background and planning. We can group these fields into two categories: the natural and the artificial. The former observes certain 1.1. Self-organization extraordinary phenomena in natural systems and interprets them by self-organization; the latter constructs artificial systems running in a self-organizing manner for novel solu- The concept of self-organization emerged from a wide range tions to certain problems.
    [Show full text]
  • Symbolic Computation Using Cellular Automata-Based Hyperdimensional Computing
    LETTER Communicated by Richard Rohwer Symbolic Computation Using Cellular Automata-Based Hyperdimensional Computing Ozgur Yilmaz ozguryilmazresearch.net Turgut Ozal University, Department of Computer Engineering, Ankara 06010, Turkey This letter introduces a novel framework of reservoir computing that is capable of both connectionist machine intelligence and symbolic com- putation. A cellular automaton is used as the reservoir of dynamical systems. Input is randomly projected onto the initial conditions of au- tomaton cells, and nonlinear computation is performed on the input via application of a rule in the automaton for a period of time. The evolu- tion of the automaton creates a space-time volume of the automaton state space, and it is used as the reservoir. The proposed framework is shown to be capable of long-term memory, and it requires orders of magnitude less computation compared to echo state networks. As the focus of the letter, we suggest that binary reservoir feature vectors can be combined using Boolean operations as in hyperdimensional computing, paving a direct way for concept building and symbolic processing. To demonstrate the capability of the proposed system, we make analogies directly on image data by asking, What is the automobile of air? 1 Introduction Many real-life problems in artificial intelligence require the system to re- member previous input. Recurrent neural networks (RNN) are powerful tools of machine learning with memory. For this reason, they have be- come one of the top choices for modeling dynamical systems. In this letter, we propose a novel recurrent computation framework that is analogous to echo state networks (ESN) (see Figure 1b) but with significantly lower computational complexity.
    [Show full text]
  • Arxiv:1607.02291V3 [Cs.FL] 8 May 2018
    Noname manuscript No. (will be inserted by the editor) A Survey of Cellular Automata: Types, Dynamics, Non-uniformity and Applications (Draft version) Kamalika Bhattacharjee · Nazma Naskar · Souvik Roy · Sukanta Das Received: date / Accepted: date Abstract Cellular automata (CAs) are dynamical systems which exhibit complex global be- havior from simple local interaction and computation. Since the inception of cellular au- tomaton (CA) by von Neumann in 1950s, it has attracted the attention of several researchers over various backgrounds and fields for modelling different physical, natural as well as real- life phenomena. Classically, CAs are uniform. However, non-uniformity has also been in- troduced in update pattern, lattice structure, neighborhood dependency and local rule. In this survey, we tour to the various types of CAs introduced till date, the different characteriza- tion tools, the global behaviors of CAs, like universality, reversibility, dynamics etc. Special attention is given to non-uniformity in CAs and especially to non-uniform elementary CAs, which have been very useful in solving several real-life problems. Keywords Cellular Automata (CAs) · Types · Characterization tools · Dynamics · Non-uniformity · Technology Mathematics Subject Classification (2010) 68Q80 · 37B15 1 Introduction From the end of the first half of 20th century, a new approach has started to come in scien- tific studies, which after questioning the so called Cartesian analytical approach, says that interconnections among the elements of a system, be it physical, biological, artificial or any other, greatly effect the behavior of the system. In fact, according to this approach, knowing the parts of a system, one can not properly understand the system as a whole.
    [Show full text]
  • Universality in Elementary Cellular Automata
    Universality in Elementary Cellular Automata Matthew Cook Department of Computation and Neural Systems,! Caltech, Mail Stop 136-93, Pasadena, California 91125, USA The purpose of this paper is to prove a conjecture made by Stephen Wolfram in 1985, that an elementary one dimensional cellular automaton known as “Rule 110” is capable of universal computation. I developed this proof of his conjecture while assisting Stephen Wolfram on research for A New Kind of Science [1]. 1. Overview The purpose of this paper is to prove that one of the simplest one di- mensional cellular automata is computationally universal, implying that many questions concerning its behavior, such as whether a particular se- quence of bits will occur, or whether the behavior will become periodic, are formally undecidable. The cellular automaton we will prove this for is known as “Rule 110” according to Wolfram’s numbering scheme [2]. Being a one dimensional cellular automaton, it consists of an infinitely long row of cells "Ci # i $ !%. Each cell is in one of the two states "0, 1%, and at each discrete time step every cell synchronously updates ' itself according to the value of itself and its nearest neighbors: &i, Ci ( F(Ci)1, Ci, Ci*1), where F is the following function: F(0, 0, 0) ( 0 F(0, 0, 1) ( 1 F(0, 1, 0) ( 1 F(0, 1, 1) ( 1 F(1, 0, 0) ( 0 F(1, 0, 1) ( 1 F(1, 1, 0) ( 1 F(1, 1, 1) ( 0 This F encodes the idea that a cell in state 0 should change to state 1 exactly when the cell to its right is in state 1, and that a cell in state 1 should change to state 0 just when the cells on both sides are in state 1.
    [Show full text]