The Nature of Computation

Size: px
Start display at page:

Download "The Nature of Computation"

Transcription

1 The Nature of Computation Introduction of Wolfram s NKS Complex systems research center Zhang Jiang

2 What can we do by computers? Scientific computation Processing data Computer simulations

3 New field emerging Computer Games World of Warcraft Second life W.S. Bainbridge: The Scientific Research Potential of VIRTUAL WORLDs, Science, vol 317, 2007 Jim Giles, Social Sciences: Life's A Game, Nature 445, 18-20, 2007/01/04

4 What can we say? Objects: Artificial worlds Computational universe (CU) NKS is studying these Begin from Cellular automata But including all kinds of CUs

5 A Brief History In 1940 s von Neumann began to study the self-reproducing automata

6 A Brief history Godel Von Neumann A.Turing Arthur Burk Codd John Conway Wolfram John Holland C. Langton CA NKS GA AL,SA Self-ref D. Hofstader

7 About Stephen Wolfram Published his first paper in 15 years old, the youngest recipient of a MacArthur Prize Fellowship in 22 years old Worked for Princeton, Illinois university Launched Wolfram Research Inc. in 1986 Transferred from physics to complexity, study CA in mid 1980 s Began to write NKS book from 1991 Launched NKS book in May, 2002

8 What is A New Kind of Science?

9 What is NKS? Study all kinds of computational universe Cellular Automata Turing Machines

10 1-D Cellular Automata Space of the Universe

11 1-D Cellular Automata Physics of the universe Neighborhood Rules

12 1-D Cellular Automata Time of the universe

13 Implementation Definition

14 Game of life Living

15 Game of life Die

16 Turing Machine

17 Turing Machine As a computational universe

18 Turing Machine Implementation

19 Substitution systems A AB, B BA A B,B BA

20 Implementation

21 Systems based on Numbers Unary representation of n n=n+1

22 Systems based on Numbers Binary represent of n 100 steps

23 Standard approach of NKS Implementation: Observation Classification Systematic Searching

24 Observations and classification 4 classes of CA Class I: Fixed value Class II: Cyclic Class III: Random Class IV: Complex

25 Information propagation

26 Self-similar is very common

27 Self-similar is very common CA225 start with 0,1,0,0, Transform

28 Complex rules Complex behavior A slice of Game of life

29 It seems Complexity of behavior A threshold? Complexity of rules

30 Systematic searching Enumeration: Coding any CA with a number For any k=2, r=1 CAs, how many rules are there? Possible inputs: Possible output Coding 51 There are 2 8 =256 rules

31 Searching Searching for conserved number of black cell For all 256 k=2,r=1 rules, And 2 w possible initial conditions

32 Searching For k=2, r=2 CAs There are 428 in 2 32 = possible rules

33 Applications Simulating natural phenomena Flake Tree growth Fluid Not only simulating

34 CA Time Serials Jason Cawley, Wolfram Research

35 CA and time series Microstate: Black Buy, White Sell 20 Macrostate: Resultant Price Series CA

36 ICA: Mix up two CAs Run CA 90 3 steps Run CA steps Adjust portions of 3:7 can generate different time serials

37 Fitting to the real data

38 Evolving DNA sequence Dawei Li Ph.D The Rockefeller University

39 Evolving DNA Sequence Consider A,G,C,T sequence in DNA as a binary sequence, So given a sequence, we can evolve it to get a pattern

40 SARS BJ01, partial genome; SARS BJ02, partial genome; SARS BJ03, partial genome; SARS BJ04, partial genome; SARS CUHK-W1, complete genome; SARS GZ01, partial genome; SARS HKU-39849, complete genome; SARS TOR2, complete genome; SARS Urbani, complete genome; SARS coronavirus CUHK-Su10, complete genome; SARS coronavirus isolate SIN2774 complete genome; SARS coronavirus TW1, complete genome; SARS coronavirus, complete genome.

41 复制酶

42 Summary There are many heuristics and ideas in NKS Set bits free!!! Forgetting about the meaning of bits Observation with no purpose Different from artificial life models

43 Emulation and Universality That s what I really like

44 What is simulation? But what is simulation on earth? Observation Simulation Decision

45 Emulation Mapping between different systems Once a program is found mapping A to B, then B can emulate A Emulation is the only rigorous proof in NKS B=f(A) A B Emulate

46 A Turing Machine 3 states,2 colors

47 How can we emulate it using CA? The tape of Turing machine Finite Cells How about the head of the Turing Machine? Head (3+1)*2=8 colors One Cell Of CA One Cell Of TM Color One Cell Of CA

48 Emulation CA TM CA TM No head on it Head state 1 Head state 2 Head state 3 0 1

49 Rules Mapping Each rule corresponds two adjacent cells CA: r=1 is enough For one rule (1,1) (2,0,r) Don t care

50 Compare their behavior

51 CAs can emulate TMs This approach can be generalized for all Turing Machines CA as a class can emulate TM class

52 Turing machine emulates CAs ECA 90 Conflict: TM is serial, CA is parallel

53 Basic Idea Using serial to emulate parallel

54 Emulation by Turing Machine

55 Conclusion Any CA can be emulated by TM CA and TM can emulate each other They are computationally equivalent In NKS book, almost all of computational universes can emulate each other They are equivalent in terms of computation

56 Church - Turing Thesis Any effective computation can be done by TM All of those computational systems are equivalent They are universal

57 Universality Any single or a class of systems can emulate all of TMs, it is universal Universality of a class Universality of a specific machine in a class

58 Universal Machine A universal machine can emulate any other machines by right initial configure x M o M+x y o M Transform M +y Transform Universal Machine z M o M +z Transform

59 Universal Turing Machine The first universal machine is found by Turing in 1936 It is possible because: Any TM x can be emulated by its coding D(x) D(x) can be input to Universal TM U as initial state. U just decomposes D(x) to several single steps of D s computation

60 Universal Cellular Automata A specific CA can emulate any other CA

61

62

63 Universal Cellular Automaton

64

65 CA 110 CA 110 is universal, it is really a non-trivial discovery!!! Skill: Emulation by emergent behavior not by the rules

66 The proof of CA110 is universal

67 Finding Minimum universal machine 1962: TM (7 states, 4 colors) 2002: CA : Turing machine (2 states, 5 colors) Wolfram prize:

68 Computational equivalence principle Any class 4 system is universal There is no random class Universality instead of complexity Capability Threshold of universality Complexity of rules

69 Thank you!!!

70 The Core Question What is Life? In 1944

71 What is life

72 A Whole spectrum of theories Model, theory Prigogine s dissipative structure Kauffman s self-catalytic network VN s self-rp Wolfram s NKS John Holland s CAS What is Life? Data, facts Brown & West s Ecology, food webs metabolism ecology System biology Physics (Material energy constraints) Bio-infomics Information, Computation

73 Emulation Hierarchy and Virtual Worlds If universal machine A emulates universal machine B, and B is emulating a machine x, then B x A Emulation Hierarchy

74 An example: Virtual Machine

75 Self-emulation How about Universal Machine A emulate itself? An infinite depth of virtual worlds This is self-reference Godel Theorem Von Neumann s self-reproducing automata

76 Something Special

77 Good Movies Deep thoughts

78 Example of virtual worlds 读者张三 神雕侠侣 真实世界 小龙女 杨过

79 13th Floor 读者张三 真实世界 界虚拟世界的虚拟世 虚拟世界

80 Implication of Universal Machine If a universal system is a universe Then the universal machine builds a virtual universe

81 Enumerating IPD P1\P2 C D C 3,3 0,5 D 5,0 1,1 For two players: 1: CCC,CDDDCD 2: DCD,CDCDCD Strategy: (3 History) (CDC) C, (DDD) D, There are 2 8 =256 strategies There are 2 6 =64 initial conditions

82 Some Heuristics in Fundamental Physics Space as Network Causal network

83 Space as network Suppose space of our universe is a network How can we obtain spatial dimension from a network?

84 It is easy from space to network

85 How about the inverse problem? One network has different layouts

86 Dimension of network Distance r: minimal number of connections between two nodes For given node, number of neighbors of distance r is N(r) There is a power law: N(r)~r d-1 So A~r 2, V~r 3

87 Layout as r~n(r)

88 Causal network Every thing is causal Event is node, causal effect is edge

89

90

91 Different ways to view causal network

92 The metabolism of science Observations Nature Pure nature Science Artificial world Technology

93 Artificial = inferior? Popper s artificial world H.A. Simon s artificial science Pure nature Pure nature Artificial world Artificial world

Modelling with cellular automata

Modelling with cellular automata Modelling with cellular automata Shan He School for Computational Science University of Birmingham Module 06-23836: Computational Modelling with MATLAB Outline Outline of Topics Concepts about cellular

More information

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

biologically-inspired computing lecture 12 Informatics luis rocha 2015 INDIANA UNIVERSITY biologically Inspired computing lecture 12 -inspired Sections I485/H400 course outlook Assignments: 35% Students will complete 4/5 assignments based on algorithms presented in class Lab meets in I1 (West) 109 on Lab Wednesdays Lab 0

More information

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

II. Spatial Systems. A. Cellular Automata. Structure. Cellular Automata (CAs) Example: Conway s Game of Life. State Transition Rule II. Spatial Systems A. Cellular Automata B. Pattern Formation C. Slime Mold D. Excitable Media A. Cellular Automata 1/18/17 1 1/18/17 2 Cellular Automata (CAs) Invented by von Neumann in 1940s to study

More information

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

II. Spatial Systems A. Cellular Automata 8/24/08 1 II. Spatial Systems A. Cellular Automata 8/24/08 1 Cellular Automata (CAs) Invented by von Neumann in 1940s to study reproduction He succeeded in constructing a self-reproducing CA Have been used as: massively

More information

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

Cellular automata are idealized models of complex systems Large network of simple components Limited communication among components No central Cellular automata are idealized models of complex systems Large network of simple components Limited communication among components No central control Complex dynamics from simple rules Capability of information

More information

II. Cellular Automata 8/27/03 1

II. Cellular Automata 8/27/03 1 II. Cellular Automata 8/27/03 1 Cellular Automata (CAs) Invented by von Neumann in 1940s to study reproduction He succeeded in constructing a self-reproducing CA Have been used as: massively parallel computer

More information

BINARY MORPHOLOGY AND CELLULAR AUTOMATA

BINARY MORPHOLOGY AND CELLULAR AUTOMATA BINARY MORPHOLOGY AND CELLULAR AUTOMATA I can't leave this subject without mentioning cellular automata (CAs). Conway's "Game of Life" is an example of a cellular automaton (CA). In each generation (or

More information

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

Cellular Automata. and beyond. The World of Simple Programs. Christian Jacob Cellular Automata and beyond The World of Simple Programs Christian Jacob Department of Computer Science Department of Biochemistry & Molecular Biology University of Calgary CPSC / MDSC 605 Fall 2003 Cellular

More information

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

Cellular Automata. History. 1-Dimensional CA. 1-Dimensional CA. Ozalp Babaoglu History Cellular Automata Ozalp Babaoglu Developed by John von Neumann as a formal tool to study mechanical self replication Studied extensively by Stephen Wolfram ALMA MATER STUDIORUM UNIVERSITA DI BOLOGNA

More information

Investigation of Rule 73 as a Case Study of Class 4 Long-Distance Cellular Automata. Lucas Kang

Investigation of Rule 73 as a Case Study of Class 4 Long-Distance Cellular Automata. Lucas Kang Investigation of Rule 73 as a Case Study of Class 4 Long-Distance Cellular Automata Lucas Kang Personal Section In my sophomore year, I took a post-ap class named Computational Physics at my school. Given

More information

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

Cellular Automata. ,C ) (t ) ,..., C i +[ K / 2] Cellular Automata. x > N : C x ! N. = C x. x < 1: C x. = C N+ x. and beyond Lindenmayer Systems The World of Simple Programs Christian Jacob Department of Computer Science Department of Biochemistry & Molecular Biology University of Calgary CPSC 673 Winter 2004 Random

More information

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

Motivation. Evolution has rediscovered several times multicellularity as a way to build complex living systems Cellular Systems 1 Motivation Evolution has rediscovered several times multicellularity as a way to build complex living systems Multicellular systems are composed by many copies of a unique fundamental

More information

Elementary Cellular Automata with

Elementary Cellular Automata with letourneau_pdf.nb 1 Elementary Cellular Automata with Memory Paul-Jean Letourneau Department of Physics, University of Calgary Elementary Cellular Automata (ECA) In order to explain how an Elementary Cellular

More information

Introduction to Artificial Life and Cellular Automata. Cellular Automata

Introduction to Artificial Life and Cellular Automata. Cellular Automata Introduction to Artificial Life and Cellular Automata CS405 Cellular Automata A cellular automata is a family of simple, finite-state machines that exhibit interesting, emergent behaviors through their

More information

arxiv: v1 [cs.fl] 17 May 2017

arxiv: v1 [cs.fl] 17 May 2017 New Directions In Cellular Automata arxiv:1705.05832v1 [cs.fl] 17 May 2017 Abdulrhman Elnekiti Department of Computer Science University of Turkish Aeronautical Association 11 Bahcekapi, 06790 Etimesgut

More information

Shannon Information (very briefly!) Lecture 4. Maximum and Minimum Entropy. Entropy. Entropy of Transition Rules. Entropy Examples

Shannon Information (very briefly!) Lecture 4. Maximum and Minimum Entropy. Entropy. Entropy of Transition Rules. Entropy Examples Lecture 4 9/4/07 1 Shannon Information (very briefly!) Information varies directly with surprise Information varies inversely with probability Information is additive The information content of a message

More information

15-251: Great Theoretical Ideas in Computer Science Lecture 7. Turing s Legacy Continues

15-251: Great Theoretical Ideas in Computer Science Lecture 7. Turing s Legacy Continues 15-251: Great Theoretical Ideas in Computer Science Lecture 7 Turing s Legacy Continues Solvable with Python = Solvable with C = Solvable with Java = Solvable with SML = Decidable Languages (decidable

More information

Cellular Automata. Jason Frank Mathematical Institute

Cellular Automata. Jason Frank Mathematical Institute Cellular Automata Jason Frank Mathematical Institute WISM484 Introduction to Complex Systems, Utrecht University, 2015 Cellular Automata Game of Life: Simulator: http://www.bitstorm.org/gameoflife/ Hawking:

More information

The Fixed String of Elementary Cellular Automata

The Fixed String of Elementary Cellular Automata The Fixed String of Elementary Cellular Automata Jiang Zhisong Department of Mathematics East China University of Science and Technology Shanghai 200237, China zsjiang@ecust.edu.cn Qin Dakang School of

More information

Justine Seastres. Cellular Automata and the Game of Life

Justine Seastres. Cellular Automata and the Game of Life Justine Seastres Saint Mary s College of California Department of Mathematics May 16, 2016 Cellular Automata and the Game of Life Supervisors: Professor Porter Professor Sauerberg 2 Contents 1 Introduction

More information

On Elementary and Algebraic Cellular Automata

On Elementary and Algebraic Cellular Automata Chapter On Elementary and Algebraic Cellular Automata Yuriy Gulak Center for Structures in Extreme Environments, Mechanical and Aerospace Engineering, Rutgers University, New Jersey ygulak@jove.rutgers.edu

More information

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

biologically-inspired computing lecture 5 Informatics luis rocha 2015 biologically Inspired computing INDIANA UNIVERSITY lecture 5 -inspired Sections I485/H400 course outlook Assignments: 35% Students will complete 4/5 assignments based on algorithms presented in class Lab meets in I1 (West) 109 on Lab Wednesdays Lab 0 :

More information

A Colorful Introduction to Cellular Automata

A Colorful Introduction to Cellular Automata A Colorful Introduction to Cellular Automata Silvio Capobianco February 5, 2011 Revised: February 10, 2011 Silvio Capobianco () February 5, 2011 1 / 37 Overview Cellular automata (ca) are local presentations

More information

MTAT Complexity Theory October 13th-14th, Lecture 6

MTAT Complexity Theory October 13th-14th, Lecture 6 MTAT.07.004 Complexity Theory October 13th-14th, 2011 Lecturer: Peeter Laud Lecture 6 Scribe(s): Riivo Talviste 1 Logarithmic memory Turing machines working in logarithmic space become interesting when

More information

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

Mitchell Chapter 10. Living systems are open systems that exchange energy, materials & information Living systems compute Mitchell Chapter 10 Living systems are open systems that exchange energy, materials & information E.g. Erwin Shrodinger (1944) & Lynn Margulis (2000) books: What is Life? discuss

More information

Models. Models of Computation, Turing Machines, and the Limits of Turing Computation. Effective Calculability. Motivation for Models of Computation

Models. Models of Computation, Turing Machines, and the Limits of Turing Computation. Effective Calculability. Motivation for Models of Computation Turing Computation /0/ Models of Computation, Turing Machines, and the Limits of Turing Computation Bruce MacLennan Models A model is a tool intended to address a class of questions about some domain of

More information

Simulation of cell-like self-replication phenomenon in a two-dimensional hybrid cellular automata model

Simulation of cell-like self-replication phenomenon in a two-dimensional hybrid cellular automata model Simulation of cell-like self-replication phenomenon in a two-dimensional hybrid cellular automata model Takeshi Ishida Nippon Institute of Technology ishida06@ecoinfo.jp Abstract An understanding of the

More information

@igorwhiletrue

@igorwhiletrue Abstrakte Maschinen @igorwhiletrue Programming is hard Why? Link between our universe and computational universe Cellular automata are self-replicating abstract machines Humans are self-replicating biological

More information

Introduction to Scientific Modeling CS 365, Fall 2011 Cellular Automata

Introduction to Scientific Modeling CS 365, Fall 2011 Cellular Automata Introduction to Scientific Modeling CS 365, Fall 2011 Cellular Automata Stephanie Forrest ME 214 http://cs.unm.edu/~forrest/cs365/ forrest@cs.unm.edu 505-277-7104 Reading Assignment! Mitchell Ch. 10" Wolfram

More information

Discrete Tranformation of Output in Cellular Automata

Discrete Tranformation of Output in Cellular Automata Discrete Tranformation of Output in Cellular Automata Aleksander Lunøe Waage Master of Science in Computer Science Submission date: July 2012 Supervisor: Gunnar Tufte, IDI Norwegian University of Science

More information

Automata Theory. Definition. Computational Complexity Theory. Computability Theory

Automata Theory. Definition. Computational Complexity Theory. Computability Theory Outline THEORY OF COMPUTATION CS363, SJTU What is Theory of Computation? History of Computation Branches and Development Xiaofeng Gao Dept. of Computer Science Shanghai Jiao Tong University 2 The Essential

More information

Chaos, Complexity, and Inference (36-462)

Chaos, Complexity, and Inference (36-462) Chaos, Complexity, and Inference (36-462) Lecture 10 Cosma Shalizi 14 February 2008 Some things you can read: [1] is what got me interested in the subject; [2] is the best introduction to CA modeling code

More information

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

Cellular Automata CS 591 Complex Adaptive Systems Spring Professor: Melanie Moses 2/02/09 Cellular Automata CS 591 Complex Adaptive Systems Spring 2009 Professor: Melanie Moses 2/02/09 Introduction to Cellular Automata (CA) Invented by John von Neumann (circa~1950). A cellular automata consists

More information

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

Extension of cellular automata by introducing an algorithm of recursive estimation of neighbors Extension of cellular automata by introducing an algorithm of recursive estimation of neighbors Yoshihiko Kayama BAIKA Women s University, Japan (Tel: 81-72-643-6221, Fax: 81-72-643-8473) kayama@baika.ac.jp

More information

Chaos, Complexity, and Inference (36-462)

Chaos, Complexity, and Inference (36-462) Chaos, Complexity, and Inference (36-462) Lecture 10: Cellular Automata Cosma Shalizi 12 February 2009 Some things you can read: Poundstone (1984) is what got me interested in the subject; Toffoli and

More information

Cellular Automata and Tilings

Cellular Automata and Tilings Cellular Automata and Tilings Jarkko Kari Department of Mathematics, University of Turku, Finland TUCS(Turku Centre for Computer Science), Turku, Finland Outline of the talk (1) Cellular automata (CA)

More information

Cellular Automata: Tutorial

Cellular Automata: Tutorial Cellular Automata: Tutorial Jarkko Kari Department of Mathematics, University of Turku, Finland TUCS(Turku Centre for Computer Science), Turku, Finland Cellular Automata: examples A Cellular Automaton

More information

Quantum Computing Lecture 8. Quantum Automata and Complexity

Quantum Computing Lecture 8. Quantum Automata and Complexity Quantum Computing Lecture 8 Quantum Automata and Complexity Maris Ozols Computational models and complexity Shor s algorithm solves, in polynomial time, a problem for which no classical polynomial time

More information

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

The Quest for Small Universal Cellular Automata Nicolas Ollinger LIP, ENS Lyon, France. 8 july 2002 / ICALP 2002 / Málaga, Spain The Quest for Small Universal Cellular Automata Nicolas Ollinger LIP, ENS Lyon, France 8 july 2002 / ICALP 2002 / Málaga, Spain Cellular Automata Definition. A d-ca A is a 4-uple ( Z d, S, N, δ ) where:

More information

Chaotic Properties of the Elementary Cellular Automaton Rule 40 in Wolfram s Class I

Chaotic Properties of the Elementary Cellular Automaton Rule 40 in Wolfram s Class I Chaotic Properties of the Elementary Cellular Automaton Rule 4 in Wolfram s Class I Fumio Ohi Nagoya Institute of Technology, Gokiso-cho, Showa-ku, Nagoya 466-8555, Japan This paper examines the chaotic

More information

COMP/MATH 300 Topics for Spring 2017 June 5, Review and Regular Languages

COMP/MATH 300 Topics for Spring 2017 June 5, Review and Regular Languages COMP/MATH 300 Topics for Spring 2017 June 5, 2017 Review and Regular Languages Exam I I. Introductory and review information from Chapter 0 II. Problems and Languages A. Computable problems can be expressed

More information

Turing s Legacy Continues

Turing s Legacy Continues 15-251: Great Theoretical Ideas in Computer Science Lecture 6 Turing s Legacy Continues Solvable with Python = Solvable with C = Solvable with Java = Solvable with SML = Decidable Languages (decidable

More information

Note that numerically, with white corresponding to 0 and black to 1, the rule can be written:

Note that numerically, with white corresponding to 0 and black to 1, the rule can be written: Cellular automata We discuss cellular automata as a simple application of MATLAB programming and as an accessible scientific topic of recent interest. You can find a lot of information on the internet.

More information

CELLULAR AUTOMATA WITH CHAOTIC RULE FORMATION AND ITS CHARACTERISTICS ABSTRACT

CELLULAR AUTOMATA WITH CHAOTIC RULE FORMATION AND ITS CHARACTERISTICS ABSTRACT CELLULAR AUTOMATA WITH CHAOTIC RULE FORMATION AND ITS CHARACTERISTICS Christopher Immanuel W * 1 Paul Mary Deborrah S 2 Samuel Selvaraj R 3 * Research and Development Centre, Bharathiar University, Coimbatore

More information

The World According to Wolfram

The World According to Wolfram The World According to Wolfram Basic Summary of NKS- A New Kind of Science is Stephen Wolfram s attempt to revolutionize the theoretical and methodological underpinnings of the universe. Though this endeavor

More information

Chapter 1. Introduction

Chapter 1. Introduction Chapter 1 Introduction Symbolical artificial intelligence is a field of computer science that is highly related to quantum computation. At first glance, this statement appears to be a contradiction. However,

More information

Great Theoretical Ideas in Computer Science. Lecture 7: Introduction to Computational Complexity

Great Theoretical Ideas in Computer Science. Lecture 7: Introduction to Computational Complexity 15-251 Great Theoretical Ideas in Computer Science Lecture 7: Introduction to Computational Complexity September 20th, 2016 What have we done so far? What will we do next? What have we done so far? > Introduction

More information

Recap DFA,NFA, DTM. Slides by Prof. Debasis Mitra, FIT.

Recap DFA,NFA, DTM. Slides by Prof. Debasis Mitra, FIT. Recap DFA,NFA, DTM Slides by Prof. Debasis Mitra, FIT. 1 Formal Language Finite set of alphabets Σ: e.g., {0, 1}, {a, b, c}, { {, } } Language L is a subset of strings on Σ, e.g., {00, 110, 01} a finite

More information

Information in Biology

Information in Biology Lecture 3: Information in Biology Tsvi Tlusty, tsvi@unist.ac.kr Living information is carried by molecular channels Living systems I. Self-replicating information processors Environment II. III. Evolve

More information

Procedures for calculating reversible one-dimensional cellular automata

Procedures for calculating reversible one-dimensional cellular automata Procedures for calculating reversible one-dimensional cellular automata Juan Carlos Seck Tuoh Mora Sergio V. Chapa Vergara Genaro Juárez Martínez Departamento de Ingeniería Eléctrica, Sección Computación,

More information

Information Encoding by Using Cellular Automata

Information Encoding by Using Cellular Automata Vol. 44 No. SIG 7(TOM 8) May 2003 CA CA CA 1 CA CA Information Encoding by Using Cellular Automata Yoshihisa Fukuhara and Yoshiyasu Takefuji In this paper, we propose a new information encoding method

More information

Complexity Classes in the Two-dimensional Life Cellular Automata Subspace

Complexity Classes in the Two-dimensional Life Cellular Automata Subspace Complexity Classes in the Two-dimensional Life Cellular Automata Subspace Michael Magnier Claude Lattaud Laboratoire d Intelligence Artificielle de Paris V, Université René Descartes, 45 rue des Saints

More information

Fundamentals of Computer Science

Fundamentals of Computer Science Fundamentals of Computer Science Chapter 8: Turing machines Henrik Björklund Umeå University February 17, 2014 The power of automata Finite automata have only finite memory. They recognize the regular

More information

Information in Biology

Information in Biology Information in Biology CRI - Centre de Recherches Interdisciplinaires, Paris May 2012 Information processing is an essential part of Life. Thinking about it in quantitative terms may is useful. 1 Living

More information

The Turing Machine. Computability. The Church-Turing Thesis (1936) Theory Hall of Fame. Theory Hall of Fame. Undecidability

The Turing Machine. Computability. The Church-Turing Thesis (1936) Theory Hall of Fame. Theory Hall of Fame. Undecidability The Turing Machine Computability Motivating idea Build a theoretical a human computer Likened to a human with a paper and pencil that can solve problems in an algorithmic way The theoretical provides a

More information

Variants of Turing Machine (intro)

Variants of Turing Machine (intro) CHAPTER 3 The Church-Turing Thesis Contents Turing Machines definitions, examples, Turing-recognizable and Turing-decidable languages Variants of Turing Machine Multi-tape Turing machines, non-deterministic

More information

Turing machine recap. Universal Turing Machines and Undecidability. Alphabet size doesn t matter. Robustness of TM

Turing machine recap. Universal Turing Machines and Undecidability. Alphabet size doesn t matter. Robustness of TM Turing machine recap A Turing machine TM is a tuple M = (Γ, Q, δ) where Γ: set of symbols that TM s tapes can contain. Q: possible states TM can be in. qstart: the TM starts in this state qhalt: the TM

More information

Harvard CS 121 and CSCI E-121 Lecture 22: The P vs. NP Question and NP-completeness

Harvard CS 121 and CSCI E-121 Lecture 22: The P vs. NP Question and NP-completeness Harvard CS 121 and CSCI E-121 Lecture 22: The P vs. NP Question and NP-completeness Harry Lewis November 19, 2013 Reading: Sipser 7.4, 7.5. For culture : Computers and Intractability: A Guide to the Theory

More information

Turing Machines. Lecture 8

Turing Machines. Lecture 8 Turing Machines Lecture 8 1 Course Trajectory We will see algorithms, what can be done. But what cannot be done? 2 Computation Problem: To compute a function F that maps each input (a string) to an output

More information

Rule 110 explained as a block substitution system

Rule 110 explained as a block substitution system Rule 110 explained as a block substitution system Juan C. Seck-Tuoh-Mora 1, Norberto Hernández-Romero 1 Genaro J. Martínez 2 April 2009 1 Centro de Investigación Avanzada en Ingeniería Industrial, Universidad

More information

The purpose here is to classify computational problems according to their complexity. For that purpose we need first to agree on a computational

The purpose here is to classify computational problems according to their complexity. For that purpose we need first to agree on a computational 1 The purpose here is to classify computational problems according to their complexity. For that purpose we need first to agree on a computational model. We'll remind you what a Turing machine is --- you

More information

Cellular Automata & Pattern Formation

Cellular Automata & Pattern Formation LASSP Pizza Talk June 13, 2002 Cellular Automata & Pattern Formation Siew-Ann Cheong 1 Prologue Not an advertisement for Wolfram... Not a Wolfite... Rather... P681 Pattern Formation and Spatio-Temporal

More information

Toward a Better Understanding of Complexity

Toward a Better Understanding of Complexity Toward a Better Understanding of Complexity Definitions of Complexity, Cellular Automata as Models of Complexity, Random Boolean Networks Christian Jacob jacob@cpsc.ucalgary.ca Department of Computer Science

More information

Introduction to Turing Machines

Introduction to Turing Machines Introduction to Turing Machines Deepak D Souza Department of Computer Science and Automation Indian Institute of Science, Bangalore. 12 November 2015 Outline 1 Turing Machines 2 Formal definitions 3 Computability

More information

Evolutionary Games and Computer Simulations

Evolutionary Games and Computer Simulations Evolutionary Games and Computer Simulations Bernardo A. Huberman and Natalie S. Glance Dynamics of Computation Group Xerox Palo Alto Research Center Palo Alto, CA 94304 Abstract The prisoner s dilemma

More information

Q = Set of states, IE661: Scheduling Theory (Fall 2003) Primer to Complexity Theory Satyaki Ghosh Dastidar

Q = Set of states, IE661: Scheduling Theory (Fall 2003) Primer to Complexity Theory Satyaki Ghosh Dastidar IE661: Scheduling Theory (Fall 2003) Primer to Complexity Theory Satyaki Ghosh Dastidar Turing Machine A Turing machine is an abstract representation of a computing device. It consists of a read/write

More information

Lecture 4. 1 Circuit Complexity. Notes on Complexity Theory: Fall 2005 Last updated: September, Jonathan Katz

Lecture 4. 1 Circuit Complexity. Notes on Complexity Theory: Fall 2005 Last updated: September, Jonathan Katz Notes on Complexity Theory: Fall 2005 Last updated: September, 2005 Jonathan Katz Lecture 4 1 Circuit Complexity Circuits are directed, acyclic graphs where nodes are called gates and edges are called

More information

1 Deterministic Turing Machines

1 Deterministic Turing Machines Time and Space Classes Exposition by William Gasarch 1 Deterministic Turing Machines Turing machines are a model of computation. It is believed that anything that can be computed can be computed by a Turing

More information

Algebraic Properties of Elementary Cellular Automata

Algebraic Properties of Elementary Cellular Automata Algebraic Properties of Elementary Cellular Automata Yuriy Gulak Rutgers University June 17, 2006 Simple models complex behavior One-dimensional maps (Ulam, 1950 s) von Neumann s automata R. Coifman, GAFA2000

More information

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.

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. 2. Cellular automata, and the SIRS model In this Section we consider an important set of models used in computer simulations, which are called cellular automata (these are very similar to the so-called

More information

Most General computer?

Most General computer? Turing Machines Most General computer? DFAs are simple model of computation. Accept only the regular languages. Is there a kind of computer that can accept any language, or compute any function? Recall

More information

6.080 / Great Ideas in Theoretical Computer Science Spring 2008

6.080 / Great Ideas in Theoretical Computer Science Spring 2008 MIT OpenCourseWare http://ocw.mit.edu 6.080 / 6.089 Great Ideas in Theoretical Computer Science Spring 2008 For information about citing these materials or our Terms of Use, visit: http://ocw.mit.edu/terms.

More information

Chapter 2 Simplicity in the Universe of Cellular Automata

Chapter 2 Simplicity in the Universe of Cellular Automata Chapter 2 Simplicity in the Universe of Cellular Automata Because of their simplicity, rules of cellular automata can easily be understood. In a very simple version, we consider two-state one-dimensional

More information

Partitioning of Cellular Automata Rule Spaces

Partitioning of Cellular Automata Rule Spaces Partitioning of Cellular Automata Rule Spaces Rodrigo A. Obando TSYS School of Computer Science Columbus State University 4225 University Avenue Columbus, GA 31907, USA Obando_Rodrigo@ColumbusState.edu

More information

5 3 Watson-Crick Automata with Several Runs

5 3 Watson-Crick Automata with Several Runs 5 3 Watson-Crick Automata with Several Runs Peter Leupold Department of Mathematics, Faculty of Science Kyoto Sangyo University, Japan Joint work with Benedek Nagy (Debrecen) Presentation at NCMA 2009

More information

Lecture 3 (Notes) 1. The book Computational Complexity: A Modern Approach by Sanjeev Arora and Boaz Barak;

Lecture 3 (Notes) 1. The book Computational Complexity: A Modern Approach by Sanjeev Arora and Boaz Barak; Topics in Theoretical Computer Science March 7, 2016 Lecturer: Ola Svensson Lecture 3 (Notes) Scribes: Ola Svensson Disclaimer: These notes were written for the lecturer only and may contain inconsistent

More information

o or 1. The sequence of site values is the "configuration" of the cellular automaton. The cellular

o or 1. The sequence of site values is the configuration of the cellular automaton. The cellular Physica loo (1984) vii- xii North-Holland. Amsterdam VlI PREFACE Stephen WOLFRAM The Institute /or Advanced Study, Princeton, NJ 08540, USA 1. Introduction Differential equations form the mathematical

More information

arxiv: v1 [nlin.cg] 23 Sep 2010

arxiv: v1 [nlin.cg] 23 Sep 2010 Complex networks derived from cellular automata Yoshihiko Kayama Department of Media and Information, BAIKA Women s University, 2-9-5, Shukuno-sho, Ibaraki-city, Osaka-pref., Japan arxiv:009.4509v [nlin.cg]

More information

Cellular Automata. Jarkko Kari Spring University of Turku

Cellular Automata. Jarkko Kari Spring University of Turku Cellular Automata Jarkko Kari Spring 2 University of Turku Preliminaries. Introduction A cellular automaton is a discrete dynamical system that consists of a regular network of finite state automata (cells)

More information

Turing s thesis: (1930) Any computation carried out by mechanical means can be performed by a Turing Machine

Turing s thesis: (1930) Any computation carried out by mechanical means can be performed by a Turing Machine Turing s thesis: (1930) Any computation carried out by mechanical means can be performed by a Turing Machine There is no known model of computation more powerful than Turing Machines Definition of Algorithm:

More information

cse303 ELEMENTS OF THE THEORY OF COMPUTATION Professor Anita Wasilewska

cse303 ELEMENTS OF THE THEORY OF COMPUTATION Professor Anita Wasilewska cse303 ELEMENTS OF THE THEORY OF COMPUTATION Professor Anita Wasilewska LECTURE 13 CHAPTER 4 TURING MACHINES 1. The definition of Turing machine 2. Computing with Turing machines 3. Extensions of Turing

More information

Analyzing Employee s Heart rate using Nonlinear Cellular Automata model

Analyzing Employee s Heart rate using Nonlinear Cellular Automata model IOSR Journal of Mathematics (IOSR-JM) e-issn: 2278-5728,p-ISSN: 2319-765X, Volume 6, Issue 2 (Mar. - Apr. 2013), PP 20-35 Analyzing Employee s Heart rate using Nonlinear Cellular Automata model N. Gururajan

More information

Parallelism and Machine Models

Parallelism and Machine Models Parallelism and Machine Models Andrew D Smith University of New Brunswick, Fredericton Faculty of Computer Science Overview Part 1: The Parallel Computation Thesis Part 2: Parallelism of Arithmetic RAMs

More information

An Introduction to Bayesian Networks. Alberto Tonda, PhD Researcher at Team MALICES

An Introduction to Bayesian Networks. Alberto Tonda, PhD Researcher at Team MALICES An Introduction to Bayesian Networks Alberto Tonda, PhD Researcher at Team MALICES Objective Basic understanding of what Bayesian Networks are, and where they can be applied. Example from food science.

More information

Computer Systems on the CERN LHC: How do we measure how well they re doing?

Computer Systems on the CERN LHC: How do we measure how well they re doing? Computer Systems on the CERN LHC: How do we measure how well they re doing? Joshua Dawes PhD Student affiliated with CERN & Manchester My research pages: http://cern.ch/go/ggh8 Purpose of this talk Principally

More information

We prove that the creator is infinite Turing machine or infinite Cellular-automaton.

We prove that the creator is infinite Turing machine or infinite Cellular-automaton. Do people leave in Matrix? Information, entropy, time and cellular-automata The paper proves that we leave in Matrix. We show that Matrix was built by the creator. By this we solve the question how everything

More information

Part I: Definitions and Properties

Part I: Definitions and Properties Turing Machines Part I: Definitions and Properties Finite State Automata Deterministic Automata (DFSA) M = {Q, Σ, δ, q 0, F} -- Σ = Symbols -- Q = States -- q 0 = Initial State -- F = Accepting States

More information

Turing Machines. Nicholas Geis. February 5, 2015

Turing Machines. Nicholas Geis. February 5, 2015 Turing Machines Nicholas Geis February 5, 2015 Disclaimer: This portion of the notes does not talk about Cellular Automata or Dynamical Systems, it talks about turing machines, however this will lay the

More information

1 Showing Recognizability

1 Showing Recognizability CSCC63 Worksheet Recognizability and Decidability 1 1 Showing Recognizability 1.1 An Example - take 1 Let Σ be an alphabet. L = { M M is a T M and L(M) }, i.e., that M accepts some string from Σ. Prove

More information

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

Image Encryption and Decryption Algorithm Using Two Dimensional Cellular Automata Rules In Cryptography Image Encryption and Decryption Algorithm Using Two Dimensional Cellular Automata Rules In Cryptography P. Sanoop Kumar Department of CSE, Gayatri Vidya Parishad College of Engineering(A), Madhurawada-530048,Visakhapatnam,

More information

Finite Automata Theory and Formal Languages TMV027/DIT321 LP4 2018

Finite Automata Theory and Formal Languages TMV027/DIT321 LP4 2018 Finite Automata Theory and Formal Languages TMV027/DIT321 LP4 2018 Lecture 15 Ana Bove May 17th 2018 Recap: Context-free Languages Chomsky hierarchy: Regular languages are also context-free; Pumping lemma

More information

Notes for Lecture Notes 2

Notes for Lecture Notes 2 Stanford University CS254: Computational Complexity Notes 2 Luca Trevisan January 11, 2012 Notes for Lecture Notes 2 In this lecture we define NP, we state the P versus NP problem, we prove that its formulation

More information

Turing Machine properties. Turing Machines. Alternate TM definitions. Alternate TM definitions. Alternate TM definitions. Alternate TM definitions

Turing Machine properties. Turing Machines. Alternate TM definitions. Alternate TM definitions. Alternate TM definitions. Alternate TM definitions Turing Machine properties Turing Machines TM Variants and the Universal TM There are many ways to skin a cat And many ways to define a TM The book s Standard Turing Machines Tape unbounded on both sides

More information

Exercise 4: Markov Processes, Cellular Automata and Fuzzy Logic

Exercise 4: Markov Processes, Cellular Automata and Fuzzy Logic Exercise 4: Markov Processes, Cellular Automata and Fuzzy Logic Formal Methods II, Fall Semester 2013 Distributed: 8.11.2013 Due Date: 29.11.2013 Send your solutions to: tobias.klauser@uzh.ch or deliver

More information

Undecidability COMS Ashley Montanaro 4 April Department of Computer Science, University of Bristol Bristol, UK

Undecidability COMS Ashley Montanaro 4 April Department of Computer Science, University of Bristol Bristol, UK COMS11700 Undecidability Department of Computer Science, University of Bristol Bristol, UK 4 April 2014 COMS11700: Undecidability Slide 1/29 Decidability We are particularly interested in Turing machines

More information

Cell-based Model For GIS Generalization

Cell-based Model For GIS Generalization Cell-based Model For GIS Generalization Bo Li, Graeme G. Wilkinson & Souheil Khaddaj School of Computing & Information Systems Kingston University Penrhyn Road, Kingston upon Thames Surrey, KT1 2EE UK

More information

Logic Programming for Cellular Automata

Logic Programming for Cellular Automata Technical Communications of ICLP 2015. Copyright with the Authors. 1 Logic Programming for Cellular Automata Marcus Völker RWTH Aachen University Thomashofstraße 5, 52070 Aachen, Germany (e-mail: marcus.voelker@rwth-aachen.de)

More information

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

arxiv:cond-mat/ v4 [cond-mat.soft] 23 Sep 2002 arxiv:cond-mat/0207679v4 [cond-mat.soft] 23 Sep 2002 A Two-Player Game of Life Mark Levene and George Roussos School of Computer Science and Information Systems Birkbeck College, University of London London

More information

The Game (Introduction to Digital Physics) *

The Game (Introduction to Digital Physics) * The Game (Introduction to Digital Physics) * Plamen Petrov ppetrov@digitalphysics.org In the present brief article we introduce the main idea of Digital Physics in the form of an abstract game. 1 Introduction

More information

Large Numbers, Busy Beavers, Noncomputability and Incompleteness

Large Numbers, Busy Beavers, Noncomputability and Incompleteness Large Numbers, Busy Beavers, Noncomputability and Incompleteness Food For Thought November 1, 2007 Sam Buss Department of Mathematics U.C. San Diego PART I Large Numbers, Busy Beavers, and Undecidability

More information