Smooth Maps of the Interval and the Real Line Capable of Universal Computation

Size: px
Start display at page:

Download "Smooth Maps of the Interval and the Real Line Capable of Universal Computation"

Transcription

1 Smooth Maps of the Interval and the Real Line Capable of Universal Computation Cristopher Moore SFI WORKING PAPER: SFI Working Papers contain accounts of scientific work of the author(s) and do not necessarily represent the views of the Santa Fe Institute. We accept papers intended for publication in peer-reviewed journals or proceedings volumes, but not papers that have already appeared in print. Except for papers by our external faculty, papers must be based on work done at SFI, inspired by an invited visit to or collaboration at SFI, or funded by an SFI grant. NOTICE: This working paper is included by permission of the contributing author(s) as a means to ensure timely distribution of the scholarly and technical work on a non-commercial basis. Copyright and all rights therein are maintained by the author(s). It is understood that all persons copying this information will adhere to the terms and constraints invoked by each author's copyright. These works may be reposted only with the explicit permission of the copyright holder. SANTA FE INSTITUTE

2 Smooth maps of the interval and the real line capable of universal computation Cristopher Moore Santa Fe Institute January 2, 1993 Abstract We construct two classes oc maps: once-differentiable maps oc the unit interval which can simulate a. wide variety of operations on sequences, including cellular automata, generaliz~d shifts, and Tnring machines;.and.analytic maps'of R which simulate Turing machines. This brings down the dimensionality in which a smooth dynamical system can be computa. tionally universal from 2 [1] to 1. 1 Introduction Many-dimensional models ofuniversal computation have long been known, including cellular automata [2], neural networks [3], partial differential equations [4], and billiard models [5] to name a few. In [1] we construct"d maps and flows in 2 and 3 dimensi.ons conjugate to universal Thring maclijnes, and showed that they could be made infinitely differentiable. 'Thus, in principle, universal computation can be embedded in smooth, low-dilllensional dynamical systems. This paper goes one step further, constructing two types maps in ~ dimension which can simulate a wide variety of computational systems, including Turing machines, cellular automata, and the generalized shifts introduced.in [1].. The first type is once-differentiable, the second is analytic (and can be.written in closed form). Since these maps inherit the same typ~ of unpredictability and undecidability that Turing machines possess, they show that simple questions about one"dimensional maps can be undecidable. For instance, the following question is equivalent to the Ualting Problem: given one of these maps, an initial point x, and an open set A, will x ever fall into A as the map is iterated? This undecidability persists even if the initial conditions are known exactly. Given that these systems are highly contrived and almost certainly not "physical". we hope that they at least serve to illustrate something about the

3 nature of computation and how it can be embedded in contiilljous dynamical systems. 2 C l maps of the interval Suppose (a;) is a one-sided sequence, where a; E {O,...,n - I) and I ranges from 0 to 00;' Then let <Xl " x =-- a-ii: aiq'- '.. n-l. (1) i=o If a ~ n, the values x E X describe a Cantor set in the unit interval, whose largest gaps are of width I - n/a. If a = n, X is the whole interval, and ai is the base-n expansion of x. Suppose we have some dynamical system ci> defined on the sequences a. This could include a simple shift map ai = ahi. a one-dimeilsional cellular automatonai =f(ai_ro.., ai,.. " ai+r), ora generalized shift as defined in [1). This will then induce '8. map on'x, which we will also call <1>. We now try to extend this map to the whole interval by'interj>olating across the gaps ofx. We.use some sigmoid function, for instance a pair of parabolic arcs; we want the derivative at each end of the gap to be zero. If Xl and X2 are the left and right ends of the gap, the maximum derivative will then be i.e., the rise over the run. The constant of proportionality C (2 if we use parabolic arcs) will stay the same as we scale the sigmoid down to fit each gap. Thus the derivative is zero on X, and bounded,!jverywhere else. This is illustrated in' figure h." Now suppose that ci>'s action on sequences has a finite radius; i.e., suppose that ci>(a); depends on elements of a no more than r spaces to the right. Then if u, = bj for all i < k, ci>(a); ::: <I>(b), for all i < k - r. This is true for cellular automata, where r.is the same radius usually referred to, and for generalized shifts, where r == maxf(a)... We can then put an upper bound on the derivative. If the size of the gap is n-k(l - n/a), Xl and X2 agree on the first k digits; if n = 2, for instance, Xl =.aolll... and X2 =.al000..., where a is a common initial sequence k digits lolig. The rise, or the width of the gap's image, is then bo\lnded by a- k + r, and so the derivative is bounded by (2) a r dci>/dx :5 C / (3) 1 - n a for some constallt C. (This is'minimized by setting a = n(i-i/,'):) Second and higher derivatives, however, diverge exponentially as k goes to infinity, since the nth derivative is inversely proportional to the nth power of the gap size. 2

4 If we wish to work with two-siued sequences (a;) where i ranges over the integers, we can fold them up into aoa_iala_2a2"': I(a); = i even a_(;+i)/2 i odd Turing machines can then be simulated as shown in [I); the finite state can be re-written directly onto the tape at the origin, and dependence on it then becomes membership in a finite number of blocks of X. In figure 2, we show two examples: a folding of the two-sided shift u(a); = a;+i, and a simple additive cellular automaton f(a); = a; + ai+1 mod 2. These maps scale nicely, and their values on X are the same as the global mappings defined in [6).. 3 Analytic maps on R We now construct computationally universal. analytic maps in one dimension, using a construction of Minsky's [3). Suppose we give a finite-state machine access to a finite number of integer registers, and allow it to increment, decrement, and branch on zero; i.e., it can increment or decrement any of the registers, but the only dependence it is allowed to have on their values is to check whether they are zero or not. How many such registers does it need to simulate an arbitrary Turing machine? In fact, two are sufficient; and if we allow the machine to multiply or divide by a constant, and to.check whether a register is zero mod p for constant p, even just one will do. We briefly review this result. First, let's break the Turing machine's tape into left and right halves, and associate them with integers Land R where the least significant digits are those closest to the head. We can assume the tape alphabet has two symbols. Then Land R are simply the two halves of the tape sequence when written in binary, except that R is in reverse order. (L and R are finite since we can assume the tape is blank beyond a finite distance from the origin.) Now to shift the machine's head to the right, say, we effectively shift the tape to the left. We need t~ halve R and double L; to check on what the value of the tape at the head is we need to calculate R mod 2; and finally we need to add 0 or I to [, to write the new value.. If our finite-state machine is allowed only to increment, decrement, anp branch on zero, we can do all this with an auditional register, which we'll call W. For instance, to double L, we first clear out W by decrementing it until it is zero; then we do a loop (dec L, inc W, inc W) until L = 0, incrementing W twice every time we decrement L; then we feed W back into L with (dec W,inc L) until W = O. We can halve R in a similar way.. To find R mod 2, set III' a two-state loop, with both states doing (dec R, inc Wl If R hits zero on the first state, R mod 2 = I; if it hits zero on the second state, ~" 3

5 R mod 2 = O. Then feed W back into R to rest.ore il Finally, a simple (inc f,) will suffice t.o write the new symbol on the t.ape if necessary. So we've shown t.hat 3 increment.-decrement. registers are sufficient for the job. But if we combine these three int.o a single int.eger, by writ.ing t.hen we can simulate them all, as long as our machine is allowed t.o mult.iply, divide, and check for zero mod p; to increment. or decrement. the p-register, i.e. the power of p in I's prime decomposition, we just multiply or divide I by p. To check the p-register for zero, we t.ake I mod p; this will be zero if and only if the p-register is nonzero. (We said two, not. t.hree, increment.decrement registers were sufficient; this is because we can now simulat.e the mult.iply-di~ide machine on I wit.h an increment-decrement machine with an additional regist.er W' using the above t.echniques.) Now to get. rid of the finite-state machine, we combine the finit.e st.at.e with I to give one integer. If t.here are n internal st.at.es, label t.hem s = 0, I,..., n - 1 and write x = ni + s. (5) Our machine now corresponds t.o a map on x, which we will now embed in an analytic map of the reals. First. we need t.o check whether or not we're in stat.e s. Define h,(x) = ( Sill 71'X )2.. x«-,) (6) nsln Then h, = I' on integer values if x mod n = sand 0 ot.herwise, Similarly, for each s, we want. to check wh'ether some regisber p, is nonzero, where p, =;2,' 3, or 5. Define n (4) Then g, = 1 if I mod p, = 0, i,e. the p,-regist.er is nonzero, and g, == 0 if I mod p, i: 0, i.e. t.he p.-regist.er is zero. Now if t.he p,-register is nonzero, we want. t.o millt.iply I by some rat.ional number l'"n, (say), incrementing and decrementing t.he desired regist.ers (for inst.ance, 3/5 if we want. to increment. L and decrement. W),and cliange t.he state to s: n" If it 'is zero, we perform a different set. of increments and decrement.s by m'ult.iplying by r." instead, and challge t.he st.at.e to s:". To accomplish this, writ.e x - s ( ') X - S )( ) ') ( ) f,(x)=g.(--)(x-s)r,n,+s,n, +(I-g,(--) (x-sr",+s". 8, n. In'

6 Finally, write n-l f(x) = L h,(x)f,(x),,=0 and we're done. As written, the derivative of f on the integer values will be the Illultiplicative fact.ors r. It is easy to modify the function so that l' is zero on these values, by replacing the terms (x - S),-, in f, above with (9) (x - S - (1/27f)si7127fx)r,. (10) Then the computation will actually be stably attractive, and so would take place on a set of positive measure, at least for any measure on the reals with some integers in its support. This is interesting, since the maps in [IJ and even some infinite-dimensional models such as [5] only succeed in computing on a set of measure zero. By encoding the Turing tape in integers with a bounded distance between them, rather than in a Cantor set, we can make the computation "robust" (although such an oscillating function over all the reals still greatly stretches the definition of a "physical" dynamical system). Of course, we can squeeze this map into the interval by conjugating it with some z that sends [0,1) to [0, +00), such as z(x) = tan(7fx/2). This map will be analytic except at x = 1, and its derivatives will diverge in that vicinity. To illustrate this construction, in figure 2 we show an analytic function, on R and condensed into the interval, that implements the famous dynamical system on the integers: I' = 1/2 I even I odd. It is not known whether or not all integers converge on the cycle (4,2,1). Several authors have observed that the general question for maps of this type is undecidable, since we can use Minsky's construction to simulate a Turing machine. To encode a universal Turing machine (such as Minsky's with 7 states and 4 tape symbols) wonld take about 100 terms, although I'm sure that cleverer and more economical coding methods exist. 4 Conclusion We have exhibited two ways ofembedding universal computation in one-dimensional maps; one which is once-differentiable, and one which is analytic (and can be v V written in closed form). As stated above, the dynamics of these maps then inherit the undecidability of the Halting Problem; even if initial conditions are known exactly, there is no algorithm to determine their eventual fate. Other 5

7 propert.ies of t.heir long-t.erm dynamics (e.g., ergodicit.y on X for t.he first. class) are probably also undecidable, as they are for the maps in [1]. There is no denying that these maps are cont.rived; we have deliberately const.ructed t.hem so that their behavior is provably undecidable. However, the existence of Sl1ch maps, even as isolated examples, sayssomet.hing abou t. t.he complexity of t.he-space of one-dimensional maps in general. Acknowledgements: I am grateful t.o Mats Nordahl and Seth Lloyd for helpful discussions. References [1] C. Moore, Unpredictability and Undecidability in Dynamical Systems. Phys. Rev. LelC64, 2354 (1990), and Nonlinear'ily 4, 199 (1991). [2] see for instan~e M. G. Nordahl and K. Lindgren Complex Systems , or J. Albert and R. Culik II, ComplexSyslems [3] M.Minsky, Computation: Finite and Infinile Machines (Prentice-lIall, Englewood Cliffs, NJ, 1967). [4] S. Omohundro, Physica lod, (1984). [5] E. Fredkin and T. ToffoJi, Int. J. Theo,:. Phys. 21, (1982). [6J R. Feldberg, C. Knudsen, and S. Rasmussen, Re~ursive Definition of Global Cellular Automata Mappings (preprint).."

8 Two-sided shifl, a=2.s Two-sided shift, a=2.\ Additive CA, a=2.s Additive CA, a=2.l Figure I. Two examples of embedding operations on sequences in a C' map of the interval.

9 Figure 2. dynamical An analytic function embedding the "x/2 or 3x+ \" integer system. and its compression into the interval. ".. " " o. 10

On the Speed of Quantum Computers with Finite Size Clocks

On the Speed of Quantum Computers with Finite Size Clocks On the Speed of Quantum Computers with Finite Size Clocks Tino Gramss SFI WORKING PAPER: 1995-1-8 SFI Working Papers contain accounts of scientific work of the author(s) and do not necessarily represent

More information

Some Polyomino Tilings of the Plane

Some Polyomino Tilings of the Plane Some Polyomino Tilings of the Plane Cristopher Moore SFI WORKING PAPER: 1999-04-03 SFI Working Papers contain accounts of scientific work of the author(s) and do not necessarily represent the views of

More information

Discrete Mathematics for CS Spring 2007 Luca Trevisan Lecture 27

Discrete Mathematics for CS Spring 2007 Luca Trevisan Lecture 27 CS 70 Discrete Mathematics for CS Spring 007 Luca Trevisan Lecture 7 Infinity and Countability Consider a function f that maps elements of a set A (called the domain of f ) to elements of set B (called

More information

Turing Machines, diagonalization, the halting problem, reducibility

Turing Machines, diagonalization, the halting problem, reducibility Notes on Computer Theory Last updated: September, 015 Turing Machines, diagonalization, the halting problem, reducibility 1 Turing Machines A Turing machine is a state machine, similar to the ones we have

More information

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

(Anti-)Stable Points and the Dynamics of Extended Systems (Anti-)Stable Points and the Dynamics of Extended Systems P.-M. Binder SFI WORKING PAPER: 1994-02-009 SFI Working Papers contain accounts of scientific work of the author(s) and do not necessarily represent

More information

Infinite Series. Copyright Cengage Learning. All rights reserved.

Infinite Series. Copyright Cengage Learning. All rights reserved. Infinite Series Copyright Cengage Learning. All rights reserved. Sequences Copyright Cengage Learning. All rights reserved. Objectives List the terms of a sequence. Determine whether a sequence converges

More information

TURING MAHINES

TURING MAHINES 15-453 TURING MAHINES TURING MACHINE FINITE STATE q 10 CONTROL AI N P U T INFINITE TAPE read write move 0 0, R, R q accept, R q reject 0 0, R 0 0, R, L read write move 0 0, R, R q accept, R 0 0, R 0 0,

More information

1 Acceptance, Rejection, and I/O for Turing Machines

1 Acceptance, Rejection, and I/O for Turing Machines 1 Acceptance, Rejection, and I/O for Turing Machines Definition 1.1 (Initial Configuration) If M = (K,Σ,δ,s,H) is a Turing machine and w (Σ {, }) then the initial configuration of M on input w is (s, w).

More information

The Power of Extra Analog Neuron. Institute of Computer Science Academy of Sciences of the Czech Republic

The Power of Extra Analog Neuron. Institute of Computer Science Academy of Sciences of the Czech Republic The Power of Extra Analog Neuron Jiří Šíma Institute of Computer Science Academy of Sciences of the Czech Republic (Artificial) Neural Networks (NNs) 1. mathematical models of biological neural networks

More information

Automata Theory (2A) Young Won Lim 5/31/18

Automata Theory (2A) Young Won Lim 5/31/18 Automata Theory (2A) Copyright (c) 2018 Young W. Lim. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later

More information

Turing Machines. 22c:135 Theory of Computation. Tape of a Turing Machine (TM) TM versus FA, PDA

Turing Machines. 22c:135 Theory of Computation. Tape of a Turing Machine (TM) TM versus FA, PDA Turing Machines A Turing machine is similar to a finite automaton with supply of unlimited memory. A Turing machine can do everything that any computing device can do. There exist problems that even a

More information

ACS2: Decidability Decidability

ACS2: Decidability Decidability Decidability Bernhard Nebel and Christian Becker-Asano 1 Overview An investigation into the solvable/decidable Decidable languages The halting problem (undecidable) 2 Decidable problems? Acceptance problem

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

CSE355 SUMMER 2018 LECTURES TURING MACHINES AND (UN)DECIDABILITY

CSE355 SUMMER 2018 LECTURES TURING MACHINES AND (UN)DECIDABILITY CSE355 SUMMER 2018 LECTURES TURING MACHINES AND (UN)DECIDABILITY RYAN DOUGHERTY If we want to talk about a program running on a real computer, consider the following: when a program reads an instruction,

More information

Computation Histories

Computation Histories 208 Computation Histories The computation history for a Turing machine on an input is simply the sequence of configurations that the machine goes through as it processes the input. An accepting computation

More information

Rectangles and squares recognized by two-dimensional automata

Rectangles and squares recognized by two-dimensional automata Rectangles and squares recognized by two-dimensional automata Jarkko Kari 1 and Cristopher Moore Department of Computer Science, 15 MLH, University of Iowa, Iowa City IA 52242 USA, jjkari@cs.uiowa.edu

More information

CpSc 421 Final Exam December 15, 2006

CpSc 421 Final Exam December 15, 2006 CpSc 421 Final Exam December 15, 2006 Do problem zero and six of problems 1 through 9. If you write down solutions for more that six problems, clearly indicate those that you want graded. Note that problems

More information

CSC : Homework #3

CSC : Homework #3 CSC 707-001: Homework #3 William J. Cook wjcook@math.ncsu.edu Monday, March 15, 2004 1 Exercise 4.13 on page 118 (3-Register RAM) Exercise 4.13 Verify that a RAM need not have an unbounded number of registers.

More information

CS20a: Turing Machines (Oct 29, 2002)

CS20a: Turing Machines (Oct 29, 2002) CS20a: Turing Machines (Oct 29, 2002) So far: DFA = regular languages PDA = context-free languages Today: Computability 1 Handicapped machines DFA limitations Tape head moves only one direction 2-way DFA

More information

Inaccessibility and undecidability in computation, geometry, and dynamical systems

Inaccessibility and undecidability in computation, geometry, and dynamical systems Physica D 155 (2001) 1 33 Inaccessibility and undecidability in computation, geometry, and dynamical systems Asaki Saito a,, Kunihiko Kaneko b a Laboratory for Mathematical Neuroscience, Brain Science

More information

Renormalization Group Analysis of the Small-World Network Model

Renormalization Group Analysis of the Small-World Network Model Renormalization Group Analysis of the Small-World Network Model M. E. J. Newman D. J. Watts SFI WORKING PAPER: 1999-04-029 SFI Working Papers contain accounts of scientific work of the author(s) and do

More information

a cell is represented by a triple of non-negative integers). The next state of a cell is determined by the present states of the right part of the lef

a cell is represented by a triple of non-negative integers). The next state of a cell is determined by the present states of the right part of the lef MFCS'98 Satellite Workshop on Cellular Automata August 25, 27, 1998, Brno, Czech Republic Number-Conserving Reversible Cellular Automata and Their Computation-Universality Kenichi MORITA, and Katsunobu

More information

GEOMETRY OF BINOMIAL COEFFICIENTS. STEPHEN WOLFRAM The Institute jor Advanced Study, Princeton NJ 08540

GEOMETRY OF BINOMIAL COEFFICIENTS. STEPHEN WOLFRAM The Institute jor Advanced Study, Princeton NJ 08540 Reprinted from the AMERICAN MATHEMATICAL MONTHLY Vol. 91, No.9, November 1984 GEOMETRY OF BINOMIAL COEFFICIENTS STEPHEN WOLFRAM The Institute jor Advanced Study, Princeton NJ 08540 This note describes

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

A Relation between Complexity and Entropy for Markov Chains and Regular Languages

A Relation between Complexity and Entropy for Markov Chains and Regular Languages A Relation between Complexity and Entropy for Markov Chains and Regular Languages Wentian Li SFI WORKING PAPER: 1990--025 SFI Working Papers contain accounts of scientific work of the author(s) and do

More information

Causal Effects for Prediction and Deliberative Decision Making of Embodied Systems

Causal Effects for Prediction and Deliberative Decision Making of Embodied Systems Causal Effects for Prediction and Deliberative Decision Making of Embodied ystems Nihat y Keyan Zahedi FI ORKING PPER: 2011-11-055 FI orking Papers contain accounts of scientific work of the author(s)

More information

PUTNAM PROBLEMS SEQUENCES, SERIES AND RECURRENCES. Notes

PUTNAM PROBLEMS SEQUENCES, SERIES AND RECURRENCES. Notes PUTNAM PROBLEMS SEQUENCES, SERIES AND RECURRENCES Notes. x n+ = ax n has the general solution x n = x a n. 2. x n+ = x n + b has the general solution x n = x + (n )b. 3. x n+ = ax n + b (with a ) can be

More information

The Bootstrap is Inconsistent with Probability Theory

The Bootstrap is Inconsistent with Probability Theory The Bootstrap is Inconsistent with Probability Theory David H. Wolpert SFI WORKING PAPER: 1995-10-091 SFI Working Papers contain accounts of scientific work of the author(s) and do not necessarily represent

More information

Chapter 7 Turing Machines

Chapter 7 Turing Machines Chapter 7 Turing Machines Copyright 2011 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 A General Model of Computation Both finite automata and pushdown automata are

More information

Ph219/CS219 Problem Set 3

Ph219/CS219 Problem Set 3 Ph19/CS19 Problem Set 3 Solutions by Hui Khoon Ng December 3, 006 (KSV: Kitaev, Shen, Vyalyi, Classical and Quantum Computation) 3.1 The O(...) notation We can do this problem easily just by knowing the

More information

CSE 200 Lecture Notes Turing machine vs. RAM machine vs. circuits

CSE 200 Lecture Notes Turing machine vs. RAM machine vs. circuits CSE 200 Lecture Notes Turing machine vs. RAM machine vs. circuits Chris Calabro January 13, 2016 1 RAM model There are many possible, roughly equivalent RAM models. Below we will define one in the fashion

More information

Sequence. A list of numbers written in a definite order.

Sequence. A list of numbers written in a definite order. Sequence A list of numbers written in a definite order. Terms of a Sequence a n = 2 n 2 1, 2 2, 2 3, 2 4, 2 n, 2, 4, 8, 16, 2 n We are going to be mainly concerned with infinite sequences. This means we

More information

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

arxiv:cond-mat/ v1 [cond-mat.stat-mech] 20 Jan 1997 arxiv:cond-mat/9701118v1 [cond-mat.stat-mech] 20 Jan 1997 Majority-Vote Cellular Automata, Ising Dynamics, and P-Completeness Cristopher Moore Santa Fe Institute 1399 Hyde Park Road, Santa Fe NM 87501

More information

Non-emptiness Testing for TMs

Non-emptiness Testing for TMs 180 5. Reducibility The proof of unsolvability of the halting problem is an example of a reduction: a way of converting problem A to problem B in such a way that a solution to problem B can be used to

More information

acs-07: Decidability Decidability Andreas Karwath und Malte Helmert Informatik Theorie II (A) WS2009/10

acs-07: Decidability Decidability Andreas Karwath und Malte Helmert Informatik Theorie II (A) WS2009/10 Decidability Andreas Karwath und Malte Helmert 1 Overview An investigation into the solvable/decidable Decidable languages The halting problem (undecidable) 2 Decidable problems? Acceptance problem : decide

More information

FORMAL LANGUAGES, AUTOMATA AND COMPUTATION

FORMAL LANGUAGES, AUTOMATA AND COMPUTATION FORMAL LANGUAGES, AUTOMATA AND COMPUTATION DECIDABILITY ( LECTURE 15) SLIDES FOR 15-453 SPRING 2011 1 / 34 TURING MACHINES-SYNOPSIS The most general model of computation Computations of a TM are described

More information

Griffith University 3130CIT Theory of Computation (Based on slides by Harald Søndergaard of The University of Melbourne) Turing Machines 9-0

Griffith University 3130CIT Theory of Computation (Based on slides by Harald Søndergaard of The University of Melbourne) Turing Machines 9-0 Griffith University 3130CIT Theory of Computation (Based on slides by Harald Søndergaard of The University of Melbourne) Turing Machines 9-0 Turing Machines Now for a machine model of much greater power.

More information

Introduction to Languages and Computation

Introduction to Languages and Computation Introduction to Languages and Computation George Voutsadakis 1 1 Mathematics and Computer Science Lake Superior State University LSSU Math 400 George Voutsadakis (LSSU) Languages and Computation July 2014

More information

Foundations of

Foundations of 91.304 Foundations of (Theoretical) Computer Science Chapter 3 Lecture Notes (Section 3.2: Variants of Turing Machines) David Martin dm@cs.uml.edu With some modifications by Prof. Karen Daniels, Fall 2012

More information

Turing Machine Variants

Turing Machine Variants CS311 Computational Structures Turing Machine Variants Lecture 12 Andrew Black Andrew Tolmach 1 The Church-Turing Thesis The problems that can be decided by an algorithm are exactly those that can be decided

More information

A non-turing-recognizable language

A non-turing-recognizable language CS 360: Introduction to the Theory of Computing John Watrous, University of Waterloo A non-turing-recognizable language 1 OVERVIEW Thus far in the course we have seen many examples of decidable languages

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

Computability and Complexity

Computability and Complexity Computability and Complexity Lecture 5 Reductions Undecidable problems from language theory Linear bounded automata given by Jiri Srba Lecture 5 Computability and Complexity 1/14 Reduction Informal Definition

More information

PHY411 Lecture notes Part 5

PHY411 Lecture notes Part 5 PHY411 Lecture notes Part 5 Alice Quillen January 27, 2016 Contents 0.1 Introduction.................................... 1 1 Symbolic Dynamics 2 1.1 The Shift map.................................. 3 1.2

More information

More Turing Machines. CS154 Chris Pollett Mar 15, 2006.

More Turing Machines. CS154 Chris Pollett Mar 15, 2006. More Turing Machines CS154 Chris Pollett Mar 15, 2006. Outline Multitape Turing Machines Nondeterministic Turing Machines Enumerators Introduction There have been many different proposals for what it means

More information

MACHINE COMPUTING. the limitations

MACHINE COMPUTING. the limitations MACHINE COMPUTING the limitations human computing stealing brain cycles of the masses word recognition: to digitize all printed writing language education: to translate web content games with a purpose

More information

Decidability. Linz 6 th, Chapter 12: Limits of Algorithmic Computation, page 309ff

Decidability. Linz 6 th, Chapter 12: Limits of Algorithmic Computation, page 309ff Decidability Linz 6 th, Chapter 12: Limits of Algorithmic Computation, page 309ff 1 A property P of strings is said to be decidable if the set of all strings having property P is a recursive set; that

More information

Generating Random Variables

Generating Random Variables Generating Random Variables These slides are created by Dr. Yih Huang of George Mason University. Students registered in Dr. Huang's courses at GMU can make a single machine-readable copy and print a single

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

Nine switch-affine neurons suffice for Turing universality

Nine switch-affine neurons suffice for Turing universality Neural Networks PERGAMON Neural Networks 12 (1999) 593 600 Contributed article Nine switch-affine neurons suffice for Turing universality H.T. Siegelmann a, *, M. Margenstern b a Faculty of Industrial

More information

Turing machines Finite automaton no storage Pushdown automaton storage is a stack What if we give the automaton a more flexible storage?

Turing machines Finite automaton no storage Pushdown automaton storage is a stack What if we give the automaton a more flexible storage? Turing machines Finite automaton no storage Pushdown automaton storage is a stack What if we give the automaton a more flexible storage? What is the most powerful of automata? In this lecture we will introduce

More information

CSE 4111/5111/6111 Computability Jeff Edmonds Assignment 3: Diagonalization & Halting Problem Due: One week after shown in slides

CSE 4111/5111/6111 Computability Jeff Edmonds Assignment 3: Diagonalization & Halting Problem Due: One week after shown in slides CSE 4111/5111/6111 Computability Jeff Edmonds Assignment 3: Diagonalization & Halting Problem Due: One week after shown in slides First Person: Second Person: Family Name: Family Name: Given Name: Given

More information

Turing Machines (TM) The Turing machine is the ultimate model of computation.

Turing Machines (TM) The Turing machine is the ultimate model of computation. TURING MACHINES Turing Machines (TM) The Turing machine is the ultimate model of computation. Alan Turing (92 954), British mathematician/engineer and one of the most influential scientists of the last

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

Lecture 1: Course Overview and Turing machine complexity

Lecture 1: Course Overview and Turing machine complexity CSE 531: Computational Complexity I Winter 2016 Lecture 1: Course Overview and Turing machine complexity January 6, 2016 Lecturer: Paul Beame Scribe: Paul Beame 1 Course Outline 1. Basic properties of

More information

REACHABILITY PROBLEMS IN LOW-DIMENSIONAL ITERATIVE MAPS

REACHABILITY PROBLEMS IN LOW-DIMENSIONAL ITERATIVE MAPS International Journal of Foundations of Computer Science c World Scientific Publishing Company REACHABILITY PROBLEMS IN LOW-DIMENSIONAL ITERATIVE MAPS OLEKSIY KURGANSKYY Institute of Applied Mathematics

More information

ECS 120 Lesson 18 Decidable Problems, the Halting Problem

ECS 120 Lesson 18 Decidable Problems, the Halting Problem ECS 120 Lesson 18 Decidable Problems, the Halting Problem Oliver Kreylos Friday, May 11th, 2001 In the last lecture, we had a look at a problem that we claimed was not solvable by an algorithm the problem

More information

CS20a: Turing Machines (Oct 29, 2002)

CS20a: Turing Machines (Oct 29, 2002) CS20a: Turing Machines (Oct 29, 2002) So far: DFA = regular languages PDA = context-free languages Today: Computability 1 Church s thesis The computable functions are the same as the partial recursive

More information

Homework. Turing Machines. Announcements. Plan for today. Now our picture looks like. Languages

Homework. Turing Machines. Announcements. Plan for today. Now our picture looks like. Languages Homework s TM Variants and the Universal TM Homework #6 returned Homework #7 due today Homework #8 (the LAST homework!) Page 262 -- Exercise 10 (build with JFLAP) Page 270 -- Exercise 2 Page 282 -- Exercise

More information

Turing Machines Part Two

Turing Machines Part Two Turing Machines Part Two Recap from Last Time Our First Turing Machine q acc a start q 0 q 1 a This This is is the the Turing Turing machine s machine s finiteisttiteiconntont. finiteisttiteiconntont.

More information

Models of Computation, Recall Register Machines. A register machine (sometimes abbreviated to RM) is specified by:

Models of Computation, Recall Register Machines. A register machine (sometimes abbreviated to RM) is specified by: Models of Computation, 2010 1 Definition Recall Register Machines A register machine (sometimes abbreviated M) is specified by: Slide 1 finitely many registers R 0, R 1,..., R n, each capable of storing

More information

Chapter 1 The Real Numbers

Chapter 1 The Real Numbers Chapter 1 The Real Numbers In a beginning course in calculus, the emphasis is on introducing the techniques of the subject;i.e., differentiation and integration and their applications. An advanced calculus

More information

The halting problem is decidable on a set of asymptotic probability one

The halting problem is decidable on a set of asymptotic probability one The halting problem is decidable on a set of asymptotic probability one Joel David Hamkins The City University of New York http://jdh.hamkins.org Alexei Miasnikov The City University of New York http://www.cs.gc.cuny.edu/

More information

Automata & languages. A primer on the Theory of Computation. Laurent Vanbever. ETH Zürich (D-ITET) October,

Automata & languages. A primer on the Theory of Computation. Laurent Vanbever.   ETH Zürich (D-ITET) October, Automata & languages A primer on the Theory of Computation Laurent Vanbever www.vanbever.eu ETH Zürich (D-ITET) October, 19 2017 Part 5 out of 5 Last week was all about Context-Free Languages Context-Free

More information

(a) Definition of TMs. First Problem of URMs

(a) Definition of TMs. First Problem of URMs Sec. 4: Turing Machines First Problem of URMs (a) Definition of the Turing Machine. (b) URM computable functions are Turing computable. (c) Undecidability of the Turing Halting Problem That incrementing

More information

V Honors Theory of Computation

V Honors Theory of Computation V22.0453-001 Honors Theory of Computation Problem Set 3 Solutions Problem 1 Solution: The class of languages recognized by these machines is the exactly the class of regular languages, thus this TM variant

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

Turing Machines. Our most powerful model of a computer is the Turing Machine. This is an FA with an infinite tape for storage.

Turing Machines. Our most powerful model of a computer is the Turing Machine. This is an FA with an infinite tape for storage. Turing Machines Our most powerful model of a computer is the Turing Machine. This is an FA with an infinite tape for storage. A Turing Machine A Turing Machine (TM) has three components: An infinite tape

More information

On the Computational Hardness of Graph Coloring

On the Computational Hardness of Graph Coloring On the Computational Hardness of Graph Coloring Steven Rutherford June 3, 2011 Contents 1 Introduction 2 2 Turing Machine 2 3 Complexity Classes 3 4 Polynomial Time (P) 4 4.1 COLORED-GRAPH...........................

More information

Advanced topic: Space complexity

Advanced topic: Space complexity Advanced topic: Space complexity CSCI 3130 Formal Languages and Automata Theory Siu On CHAN Chinese University of Hong Kong Fall 2016 1/28 Review: time complexity We have looked at how long it takes to

More information

The Church-Turing Thesis

The Church-Turing Thesis The Church-Turing Thesis Huan Long Shanghai Jiao Tong University Acknowledgements Part of the slides comes from a similar course in Fudan University given by Prof. Yijia Chen. http://basics.sjtu.edu.cn/

More information

Theory of Computation

Theory of Computation Theory of Computation Unit 4-6: Turing Machines and Computability Decidability and Encoding Turing Machines Complexity and NP Completeness Syedur Rahman syedurrahman@gmail.com Turing Machines Q The set

More information

CS3719 Theory of Computation and Algorithms

CS3719 Theory of Computation and Algorithms CS3719 Theory of Computation and Algorithms Any mechanically (automatically) discretely computation of problem solving contains at least three components: - problem description - computational tool - analysis

More information

Small Turing machines and generalized busy beaver competition

Small Turing machines and generalized busy beaver competition Small Turing machines and generalized busy beaver competition Pascal MICHEL Équipe de logique de l université Paris 7 and IUFM de l académie de Versailles michel@logique.jussieu.fr January, 2004 Abstract

More information

NODIA AND COMPANY. GATE SOLVED PAPER Computer Science Engineering Theory of Computation. Copyright By NODIA & COMPANY

NODIA AND COMPANY. GATE SOLVED PAPER Computer Science Engineering Theory of Computation. Copyright By NODIA & COMPANY No part of this publication may be reproduced or distributed in any form or any means, electronic, mechanical, photocopying, or otherwise without the prior permission of the author. GATE SOLVED PAPER Computer

More information

WHY WORD PROBLEMS ARE HARD

WHY WORD PROBLEMS ARE HARD WHY WORD PROBLEMS ARE HARD KEITH CONRAD 1. Introduction The title above is a joke. Many students in school hate word problems. We will discuss here a specific math question that happens to be named the

More information

CS 361 Meeting 26 11/10/17

CS 361 Meeting 26 11/10/17 CS 361 Meeting 26 11/10/17 1. Homework 8 due Announcements A Recognizable, but Undecidable Language 1. Last class, I presented a brief, somewhat inscrutable proof that the language A BT M = { M w M is

More information

Three Analog Neurons Are Turing Universal

Three Analog Neurons Are Turing Universal Three Analog Neurons Are Turing Universal Jiří Šíma Institute of Computer Science, Czech Academy of Sciences, P. O. Box 5, 807 Prague 8, Czech Republic, sima@cs.cas.cz Abstract. The languages accepted

More information

Taylor and Maclaurin Series. Copyright Cengage Learning. All rights reserved.

Taylor and Maclaurin Series. Copyright Cengage Learning. All rights reserved. 11.10 Taylor and Maclaurin Series Copyright Cengage Learning. All rights reserved. We start by supposing that f is any function that can be represented by a power series f(x)= c 0 +c 1 (x a)+c 2 (x a)

More information

Computability Crib Sheet

Computability Crib Sheet Computer Science and Engineering, UCSD Winter 10 CSE 200: Computability and Complexity Instructor: Mihir Bellare Computability Crib Sheet January 3, 2010 Computability Crib Sheet This is a quick reference

More information

Computability and Complexity Theory: An Introduction

Computability and Complexity Theory: An Introduction Computability and Complexity Theory: An Introduction meena@imsc.res.in http://www.imsc.res.in/ meena IMI-IISc, 20 July 2006 p. 1 Understanding Computation Kinds of questions we seek answers to: Is a given

More information

Chapter 2 Algorithms and Computation

Chapter 2 Algorithms and Computation Chapter 2 Algorithms and Computation In this chapter, we first discuss the principles of algorithm and computation in general framework, common both in classical and quantum computers, then we go to the

More information

Math 1b Sequences and series summary

Math 1b Sequences and series summary Math b Sequences and series summary December 22, 2005 Sequences (Stewart p. 557) Notations for a sequence: or a, a 2, a 3,..., a n,... {a n }. The numbers a n are called the terms of the sequence.. Limit

More information

Decision Problems with TM s. Lecture 31: Halting Problem. Universe of discourse. Semi-decidable. Look at following sets: CSCI 81 Spring, 2012

Decision Problems with TM s. Lecture 31: Halting Problem. Universe of discourse. Semi-decidable. Look at following sets: CSCI 81 Spring, 2012 Decision Problems with TM s Look at following sets: Lecture 31: Halting Problem CSCI 81 Spring, 2012 Kim Bruce A TM = { M,w M is a TM and w L(M)} H TM = { M,w M is a TM which halts on input w} TOTAL TM

More information

arxiv:math/ v1 [math.nt] 17 Feb 2003

arxiv:math/ v1 [math.nt] 17 Feb 2003 arxiv:math/0302183v1 [math.nt] 17 Feb 2003 REPRESENTATIONS OF Ω IN NUMBER THEORY: FINITUDE VERSUS PARITY TOBY ORD AND TIEN D. KIEU Abstract. We present a new method for expressing Chaitin s random real,

More information

CS6901: review of Theory of Computation and Algorithms

CS6901: review of Theory of Computation and Algorithms CS6901: review of Theory of Computation and Algorithms Any mechanically (automatically) discretely computation of problem solving contains at least three components: - problem description - computational

More information

Spectral Statistics of Instantaneous Normal Modes in Liquids and Random Matrices

Spectral Statistics of Instantaneous Normal Modes in Liquids and Random Matrices Spectral Statistics of Instantaneous Normal Modes in Liquids and Random Matrices Srikanth Sastry Nivedita Deo Silvio Franz SFI WORKING PAPER: 2000-09-053 SFI Working Papers contain accounts of scientific

More information

CSCI3390-Assignment 2 Solutions

CSCI3390-Assignment 2 Solutions CSCI3390-Assignment 2 Solutions due February 3, 2016 1 TMs for Deciding Languages Write the specification of a Turing machine recognizing one of the following three languages. Do one of these problems.

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

Chapter 3. Rings. The basic commutative rings in mathematics are the integers Z, the. Examples

Chapter 3. Rings. The basic commutative rings in mathematics are the integers Z, the. Examples Chapter 3 Rings Rings are additive abelian groups with a second operation called multiplication. The connection between the two operations is provided by the distributive law. Assuming the results of Chapter

More information

Section 11.1: Sequences

Section 11.1: Sequences Section 11.1: Sequences In this section, we shall study something of which is conceptually simple mathematically, but has far reaching results in so many different areas of mathematics - sequences. 1.

More information

Decidable Languages - relationship with other classes.

Decidable Languages - relationship with other classes. CSE2001, Fall 2006 1 Last time we saw some examples of decidable languages (or, solvable problems). Today we will start by looking at the relationship between the decidable languages, and the regular and

More information

,

, Kolmogorov Complexity Carleton College, CS 254, Fall 2013, Prof. Joshua R. Davis based on Sipser, Introduction to the Theory of Computation 1. Introduction Kolmogorov complexity is a theory of lossless

More information

CS4026 Formal Models of Computation

CS4026 Formal Models of Computation CS4026 Formal Models of Computation Turing Machines Turing Machines Abstract but accurate model of computers Proposed by Alan Turing in 1936 There weren t computers back then! Turing s motivation: find

More information

CSCC63 Worksheet Turing Machines

CSCC63 Worksheet Turing Machines 1 An Example CSCC63 Worksheet Turing Machines Goal. Design a turing machine, M that accepts only strings of the form {w#w w {0, 1} }. Idea. Describe in words how the machine would work. Read first symbol

More information

Discrete Mathematics and Probability Theory Spring 2014 Anant Sahai Note 20. To Infinity And Beyond: Countability and Computability

Discrete Mathematics and Probability Theory Spring 2014 Anant Sahai Note 20. To Infinity And Beyond: Countability and Computability EECS 70 Discrete Mathematics and Probability Theory Spring 014 Anant Sahai Note 0 To Infinity And Beyond: Countability and Computability This note ties together two topics that might seem like they have

More information

Turing machines and computable functions

Turing machines and computable functions Turing machines and computable functions In this chapter we address the question: how can we define the class of discrete functions that are computable? Probably, most of you are familiar with a few programming

More information

A crash course in the theory of molecular computing. Damien Woods. Caltech

A crash course in the theory of molecular computing. Damien Woods. Caltech A crash course in the theory of molecular computing Damien Woods Caltech Overview Prediction Prediction and computation Computational universality Efficiency: sequential vs parallel computation Prediction

More information

A little context This paper is concerned with finite automata from the experimental point of view. The behavior of these machines is strictly determin

A little context This paper is concerned with finite automata from the experimental point of view. The behavior of these machines is strictly determin Computability and Probabilistic machines K. de Leeuw, E. F. Moore, C. E. Shannon and N. Shapiro in Automata Studies, Shannon, C. E. and McCarthy, J. Eds. Annals of Mathematics Studies, Princeton University

More information

SOLUTION: SOLUTION: SOLUTION:

SOLUTION: SOLUTION: SOLUTION: Convert R and S into nondeterministic finite automata N1 and N2. Given a string s, if we know the states N1 and N2 may reach when s[1...i] has been read, we are able to derive the states N1 and N2 may

More information