Robust computation with dynamical systems

Size: px
Start display at page:

Download "Robust computation with dynamical systems"

Transcription

1 Robust computation with dynamical systems Olivier Bournez 1 Daniel S. Graça 2 Emmanuel Hainry 3 1 École Polytechnique, LIX, Palaiseau, France 2 DM/FCT, Universidade do Algarve, Faro & SQIG/Instituto de Telecomunicações, Lisbon, Portugal 3 LORIA & Université de Lorraine, Nancy, France Dynamical Systems and Computability Lyon, December O. Bournez, D. S. Graça, E. Hainry Robust computation with dynamical systems 1/34

2 Introduction Dynamical Systems consist of a configuration space, a dynamics function: maps a configuration to the following. Definition Interests: Describing physical phenomena e.g. Fluid dynamics, Gravitation, Weather... Describing biological phenomena e.g. Population dynamics, Epidemiologics... Simulating computation models Simulating a Turing machine O. Bournez, D. S. Graça, E. Hainry Robust computation with dynamical systems 2/34

3 Questions on Dynamical Systems Reachability of a configuration e.g. Halting of a Turing machine. Verification of safety properties e.g. The population does not go extinct. Unfortunately, Those problems are undecidable (even for very restricted classes such as polynomial systems or PCD systems). But decidable for real systems What real systems have: Robustness to noise? Robustness to perturbations? O. Bournez, D. S. Graça, E. Hainry Robust computation with dynamical systems 3/34

4 Piecewise Constant Derivative x 0 Space: R n Partitioned in a finite number of polyhedra Dynamics: Constant in each polyhedron. Theorem [Asarin Maler Pnueli, 1995] If n 3, Reachability is undecidable. O. Bournez, D. S. Graça, E. Hainry Robust computation with dynamical systems 4/34

5 Robustness Asarin and Bouajjani studied robustness to infinitesimal perturbations in the context of Piecewise Constant Derivative systems. Theorem [Robust decidable] If a PCD is robust, then the language it recognizes is decidable. Theorem [Perturbed reachability is complete in Π 1 0] Given a Turing machine M, one can design a PCD whose perturbed recognized language is Σ L(M) Theorem [Decidable robust] Given a Turing machine M, one can design a robust PCD that recognizes L(M) O. Bournez, D. S. Graça, E. Hainry Robust computation with dynamical systems 5/34

6 Goal PCD is not satisfactory Physically: not C 1 Mathematically: very restricted class Analog computation: Shannon s General Purpose Analog Computer Similar results on smooth computable systems O. Bournez, D. S. Graça, E. Hainry Robust computation with dynamical systems 6/34

7 Dynamical systems Definition [Discrete time dynamical systems] H = (X, f ) with X R d and f : X X defines a discrete dynamical system. A trajectory is a sequence {x 0, x 1,..., } X N s.t. n, x n+1 = f (x n ). Definition [Continuous time dynamical systems] H = (X, f ) with X R d and f : X X defines a continuous dynamical system. { x = f (x) A trajectory is a solution of x(0) = x 0 O. Bournez, D. S. Graça, E. Hainry Robust computation with dynamical systems 7/34

8 Dynamical Systems We will study 2 kinds of domains: Bounded domain: X = [ 1, 1] d Unbounded domain: X = R d O. Bournez, D. S. Graça, E. Hainry Robust computation with dynamical systems 8/34

9 Smooth dynamical systems Definition [Lipschitz] f : R m R k is Lipschitz over X iff K > 0; x, y X, f (x) f (y) K x y. Definition [Smooth dynamical system] A continuous-time dynamical system H = (X, f ) is smooth if f is Lipschitz. { x = f (t, x) Note If f is Lipschitz, x(t 0 ) = x 0 has a unique solution. O. Bournez, D. S. Graça, E. Hainry Robust computation with dynamical systems 9/34

10 Dynamical Systems as language recognizers Let Σ = {0, 1} and Σ the set of words over Σ. Definition [Encoding words in R] ν : Σ R n ν(w) = 2 i w i i=0 where w = w 0 w 1 w 2...w n with w 1, w 2,..., w n Σ. Definition [Encoding words in 1, 1] ν c : Σ [ 1, 1] ν c (w) = 2 π arctan(ν(w)) O. Bournez, D. S. Graça, E. Hainry Robust computation with dynamical systems 10/34

11 Dynamical Systems as language recognizers Definition Given a dynamical system H = (X, f ) and a set V accept X. L H = {w Σ ; T H (σ(w)) V accept } O. Bournez, D. S. Graça, E. Hainry Robust computation with dynamical systems 11/34

12 Perturbations and robustness Definition [ε-perturbation] Let H = (X, f ) a dynamical system. Given ε > 0, H ε is the system defined over the same space X, where: 1. (x 0, x 1,...) is a trajectory 1 of H ε if x i+1 f (x i ) ε for all i N; 2. φ : R + 0 X is a trajectory1 of H ε if φ (t) f (φ(t)) ε for all t R + 0. Note H ε is not a dynamical system. 1 The trajectory may not be unique. O. Bournez, D. S. Graça, E. Hainry Robust computation with dynamical systems 12/34

13 Perturbations and robustness Definition [Perturbed system as language recognizers] L ε, language recognized by H ε, is defined by: w L ε iff trajectory from σ(w) reaching V accept. Lemma For 0 < ε < ε, L L ε L ε. Definition L ω = ε>0 L ε. O. Bournez, D. S. Graça, E. Hainry Robust computation with dynamical systems 13/34

14 Perturbations and robustness Intuitively, a system is said robust if infinitesimal perturbations do not change the recognized language. Definition [Robustness] A dynamical system H is said robust iff L = L ω O. Bournez, D. S. Graça, E. Hainry Robust computation with dynamical systems 14/34

15 Accepted language For a Dynamical System to be a reliable language accepter, it should have disjoint open computable sets V accept and V compute s.t. V accept, V compute are separated. Trajectories escaping V compute will reach V accept and stay in V accept w, σ(w) V compute O. Bournez, D. S. Graça, E. Hainry Robust computation with dynamical systems 15/34

16 Definition Computable sets E R d is r.e. open set iff there exist computable sequences of rationals (a n ) and (r n ) s.t. E = B(a n, r n ) n=0 with B(a, r) open ball of center a and radius r. F is r.e. closed if a family of rational tuples {c n } that is dense in F. E is an open computable set iff it is r.e. open and its complement is r.e. closed. O. Bournez, D. S. Graça, E. Hainry Robust computation with dynamical systems 16/34

17 DS as language accepters Definition H over X = [ 1, 1] d. V accept = {x X ; x < 1/4} V compute = {x X ; x > 1/2} H accepts L Σ if w L iff the trajectory from (ν(w), 1,..., 1, 1) reaches V accept. If w / L, the trajectory must never leave V compute. V compute V accept The zones V compute and V accept. O. Bournez, D. S. Graça, E. Hainry Robust computation with dynamical systems 17/34

18 DS as language accepters Definition H over X = [ 1, 1] d. V accept = {x X ; x < 1/4} V compute = {x X ; x > 1/2} H accepts L Σ if w L iff the trajectory from (ν(w), 1,..., 1, 1) reaches V accept. If w / L, the trajectory must never leave V compute. V compute V accept An accepted trajectory goes into V accept. O. Bournez, D. S. Graça, E. Hainry Robust computation with dynamical systems 17/34

19 DS as language accepters Definition H over X = [ 1, 1] d. V accept = {x X ; x < 1/4} V compute = {x X ; x > 1/2} H accepts L Σ if w L iff the trajectory from (ν(w), 1,..., 1, 1) reaches V accept. If w / L, the trajectory must never leave V compute. V compute V accept A refused trajectory never enters B(1/2). O. Bournez, D. S. Graça, E. Hainry Robust computation with dynamical systems 17/34

20 DS as language accepters Definition H over X = [ 1, 1] d. V accept = {x X ; x < 1/4} V compute = {x X ; x > 1/2} H accepts L Σ if w L iff the trajectory from (ν(w), 1,..., 1, 1) reaches V accept. If w / L, the trajectory must never leave V compute. V compute V accept A forbidden trajectory. O. Bournez, D. S. Graça, E. Hainry Robust computation with dynamical systems 17/34

21 Discrete compact result Theorem [L ω is co-r.e. for Lipschitz computable discrete systems] Let L language recognized by H = ([ 1, 1] d, f ) with f computable and Lipschitz. L ω is co-recursively enumerable. Proof Partition X in d-dimensional hypercubes of size 1/n. Design a finite automaton A n which will roughly recognize (s.t. rejection implies w / L 1/n ). L 1 n Simulate A n with n growing until we know that w is rejected. O. Bournez, D. S. Graça, E. Hainry Robust computation with dynamical systems 18/34

22 L ω is co-r.e. for Lipschitz computable discrete systems Design of A n States V 1,..., V s hypercubes of size 1/n. ccepting V i s that intersect V accept. ransition V j V k if {x X ; f (x) f (x j ) K+2 n } V k. L 1/n L An L K+3 n L An = L ω. O. Bournez, D. S. Graça, E. Hainry Robust computation with dynamical systems 19/34

23 Continuous compact result Definition [Stroboscopic map] H = (X, f ) a continuous-time dynamical system. The stroboscopic map g : X X is defined by: g(x) = φ(1) where φ(0) = x and φ (t) = f (φ(t)). Lemma Let H = (X, f ) a continuous-time dynamical system. Ĥ = (X, g) discrete-time stroboscopic version. L = L L ω = L ω and ε > 0, L ε = L ε. O. Bournez, D. S. Graça, E. Hainry Robust computation with dynamical systems 20/34

24 Continuous compact result Theorem [L ω is co-r.e. for Lipschitz computable continuous systems] Let L language recognized by H = ([ 1, 1] d, f ) with f computable and Lipschitz. L ω is co-recursively enumerable. Proof The stroboscopic map g is Lipschitz and computable. O. Bournez, D. S. Graça, E. Hainry Robust computation with dynamical systems 21/34

25 Robust Recursive Lemma H = ([ 1, 1] d, f ) smooth system (f Lipschitz and computable). L is recursively enumerable. Theorem [Robust Recursive] H = ([ 1, 1] d, f ) smooth system (f Lipschitz and computable). If H is robust, then L is recursive. O. Bournez, D. S. Graça, E. Hainry Robust computation with dynamical systems 22/34

26 Unbounded case The automaton construction does not work in the unbounded case. O. Bournez, D. S. Graça, E. Hainry Robust computation with dynamical systems 23/34

27 Unbounded case The automaton construction does not work in the unbounded case. Theorem [Collins] The compactness condition is necessary. (this is a free translation of Theorem 4.9 from Collins, Pieter. Continuity and computability of reachable sets. Theoretical Computer Science 341, no. 1 (2005): ) O. Bournez, D. S. Graça, E. Hainry Robust computation with dynamical systems 23/34

28 Unbounded case The automaton construction does not work in the unbounded case. Theorem [Collins] The compactness condition is necessary. (this is a free translation of Theorem 4.9 from Collins, Pieter. Continuity and computability of reachable sets. Theoretical Computer Science 341, no. 1 (2005): ) However, our reject condition can be improved. O. Bournez, D. S. Graça, E. Hainry Robust computation with dynamical systems 23/34

29 Intuition: Robust language decision V reject Sandwich model: 3 separated zones: V c, V a and V r. V r and V a are sinks. V compute V accept O. Bournez, D. S. Graça, E. Hainry Robust computation with dynamical systems 24/34

30 Intuition: Robust language decision V reject Sandwich model: 3 separated zones: V c, V a and V r. V r and V a are sinks. V compute V accept O. Bournez, D. S. Graça, E. Hainry Robust computation with dynamical systems 24/34

31 Intuition: Robust language decision V reject Sandwich model: 3 separated zones: V c, V a and V r. V r and V a are sinks. V compute V accept O. Bournez, D. S. Graça, E. Hainry Robust computation with dynamical systems 24/34

32 Intuition: Robust language decision V reject Sandwich model: 3 separated zones: V c, V a and V r. V r and V a are sinks. V compute V accept O. Bournez, D. S. Graça, E. Hainry Robust computation with dynamical systems 24/34

33 Intuition: Robust language decision V reject Sandwich model: 3 separated zones: V c, V a and V r. V r and V a are sinks. V compute V accept O. Bournez, D. S. Graça, E. Hainry Robust computation with dynamical systems 24/34

34 Language Recognizer For a Dynamical System to be a reliable language recognizer, it should have disjoint open computable sets V accept, V reject and V compute s.t. V accept, V reject and V compute are separated. open set A such that V accept V compute A and A V reject = open set R such that V reject V compute R and A V accept = All correct trajectories will escape V compute and reach V accept or V reject and stay there. w, σ(w) V compute O. Bournez, D. S. Graça, E. Hainry Robust computation with dynamical systems 25/34

35 Unbounded Result Both in the discrete and continous case, we have: Theorem [L ω is co-r.e.] Let L language robustly recognized by H = (R d, f ) with f computable and effectively locally Lipschitz. L is recursive O. Bournez, D. S. Graça, E. Hainry Robust computation with dynamical systems 26/34

36 Recursive Robust If a language is recursive, we can implement a dynamical system recognizing robustly (with a Lipschitz dynamic). Here, the easy case is the unbounded one: Theorem Given a Turing machine M, there exist a (discrete/continous) dynamical system over R d that recognizes L which is robust to 1 4 perturbation. O. Bournez, D. S. Graça, E. Hainry Robust computation with dynamical systems 27/34

37 Recursive Robust If a language is recursive, we can implement a dynamical system recognizing robustly (with a Lipschitz dynamic). Here, the easy case is the unbounded one: Theorem [Graça Campagnolo Buescu] Given a Turing machine M, there exist a continuous-time dynamical system over R 6 that recognizes L which is robust to 1 4 perturbation. And the dynamics is effectively locally Lipschitz O. Bournez, D. S. Graça, E. Hainry Robust computation with dynamical systems 27/34

38 Recursive Robust (bounded case) The previous simulation uses 6 components: 2 for the left part of the Turing tape, 2 for the right part of the Turing tape, 2 for the state. States being finite, robustly compacting their space is easy. For the other components, compose through 2 π arctan. Problem Lipschitz? Problem Robust? O. Bournez, D. S. Graça, E. Hainry Robust computation with dynamical systems 28/34

39 Recursive Robust (bounded case) Theorem Let A be a recursive language. There is an analytic and computable continuous-time system over ( 1, 1) 6 that robustly recognizes A. Since all computation halt, there is an ɛ under which the perturbations do not alter the result. It is Lipschitz on the state space. O. Bournez, D. S. Graça, E. Hainry Robust computation with dynamical systems 29/34

40 Conclusion The intuition robustness implies computability is indeed true for this kind of systems. Robustness is not too strong an hypothesis ( computability implies robustness ). A good candidate for modelizing real systems? O. Bournez, D. S. Graça, E. Hainry Robust computation with dynamical systems 30/34

41 Recursive analysis Idea Reals are represented by Cauchy sequences of rationals. An infinite tape can contain a real. A Turing machine manipulates those tapes. O. Bournez, D. S. Graça, E. Hainry Robust computation with dynamical systems 31/34

42 Recursive analysis Definition [Representation of real numbers] x R can be represented by a sequence (x n ) s.t. n, x n x < 2 n. This is denoted (x n ) x. Definition [Computable functions] A function f : R R is computable iff there exists an oracle Turing machine M s.t. (x n ) x, M taking (x n ) as oracle computes (y n ) f (x). Return O. Bournez, D. S. Graça, E. Hainry Robust computation with dynamical systems 32/34

43 Example: Linear recurrent sequence X = Z 2 f : (x, y) (x + y, x) A trajectory: (1, 1) (2, 1) (3, 2) (5, 3) (8, 5)... This system can also be written ( ) ( ) ( ) x 1 1 x y 1 0 y O. Bournez, D. S. Graça, E. Hainry Robust computation with dynamical systems 33/34

44 Example: Turing machine Let M be a one-tape Turing machine δ : N {0,.., 9} N {0,.., 9} {g, r, d} X = N N N (state, left and right part of the tape) is represented by a = 1325 and b = 10 f : (n, a, b) (n, a, b ) with ab representing the tape σ = a mod 10 ; δ(n, σ) = (n, σ, τ) a = a σ + σ ; b = b if τ = r a = a/10 ; b = 10 b + σ if τ = d b = b/10 ; a = 10 (a σ + σ ) + (b mod 10) if τ = Return O. Bournez, D. S. Graça, E. Hainry Robust computation with dynamical systems 34/34

Rigorous numerical computation of polynomial differential equations over unbounded domains

Rigorous numerical computation of polynomial differential equations over unbounded domains Rigorous numerical computation of polynomial differential equations over unbounded domains Olivier Bournez 1, Daniel S. Graça 2,3, Amaury Pouly 1,2 1 Ecole Polytechnique, LIX, 91128 Palaiseau Cedex, France

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

Polynomial differential equations compute all real computable functions on computable compact intervals

Polynomial differential equations compute all real computable functions on computable compact intervals Polynomial differential equations compute all real computable functions on computable compact intervals Olivier Bournez Inria Lorraine, France & LORIA, 54506 Vandœuvre-Lès-Nancy, France Manuel L. Campagnolo

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

Boundedness of the domain of definition is undecidable for polynomial ODEs

Boundedness of the domain of definition is undecidable for polynomial ODEs Boundedness of the domain of definition is undecidable for polynomial ODEs Daniel S. Graça DM/FCT, University of Algarve, C. Gambelas, 8005-139 Faro, Portugal and SQIG/IT Lisbon, Portugal Jorge Buescu

More information

Analyse récursive vue avec des fonctions réelles récursives

Analyse récursive vue avec des fonctions réelles récursives 1/30 Analyse récursive vue avec des fonctions réelles récursives Emmanuel Hainry LORIA/INPL, Nancy, France 24 janvier 2007 2/30 Discrete Case There are several models for computation over integers Recursive

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

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

CSCE 551: Chin-Tser Huang. University of South Carolina

CSCE 551: Chin-Tser Huang. University of South Carolina CSCE 551: Theory of Computation Chin-Tser Huang huangct@cse.sc.edu University of South Carolina Computation History A computation history of a TM M is a sequence of its configurations C 1, C 2,, C l such

More information

Turing Machines A Turing Machine is a 7-tuple, (Q, Σ, Γ, δ, q0, qaccept, qreject), where Q, Σ, Γ are all finite

Turing Machines A Turing Machine is a 7-tuple, (Q, Σ, Γ, δ, q0, qaccept, qreject), where Q, Σ, Γ are all finite The Church-Turing Thesis CS60001: Foundations of Computing Science Professor, Dept. of Computer Sc. & Engg., Turing Machines A Turing Machine is a 7-tuple, (Q, Σ, Γ, δ, q 0, q accept, q reject ), where

More information

Hybrid systems and computer science a short tutorial

Hybrid systems and computer science a short tutorial Hybrid systems and computer science a short tutorial Eugene Asarin Université Paris 7 - LIAFA SFM 04 - RT, Bertinoro p. 1/4 Introductory equations Hybrid Systems = Discrete+Continuous SFM 04 - RT, Bertinoro

More information

Homework Assignment 6 Answers

Homework Assignment 6 Answers Homework Assignment 6 Answers CSCI 2670 Introduction to Theory of Computing, Fall 2016 December 2, 2016 This homework assignment is about Turing machines, decidable languages, Turing recognizable languages,

More information

CSE 105 THEORY OF COMPUTATION

CSE 105 THEORY OF COMPUTATION CSE 105 THEORY OF COMPUTATION Spring 2018 http://cseweb.ucsd.edu/classes/sp18/cse105-ab/ Today's learning goals Sipser Ch 5.1, 5.3 Define and explain core examples of computational problems, including

More information

DM17. Beregnelighed. Jacob Aae Mikkelsen

DM17. Beregnelighed. Jacob Aae Mikkelsen DM17 Beregnelighed Jacob Aae Mikkelsen January 12, 2007 CONTENTS Contents 1 Introduction 2 1.1 Operations with languages...................... 2 2 Finite Automata 3 2.1 Regular expressions/languages....................

More information

Abstract geometrical computation for Black hole computation

Abstract geometrical computation for Black hole computation Abstract geometrical computation for Black hole computation Laboratoire d Informatique Fondamentale d Orléans, Université d Orléans, Orléans, FRANCE Computations on the continuum Lisboa, June 17th, 25

More information

CPSC 421: Tutorial #1

CPSC 421: Tutorial #1 CPSC 421: Tutorial #1 October 14, 2016 Set Theory. 1. Let A be an arbitrary set, and let B = {x A : x / x}. That is, B contains all sets in A that do not contain themselves: For all y, ( ) y B if and only

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

CSE 105 THEORY OF COMPUTATION. Spring 2018 review class

CSE 105 THEORY OF COMPUTATION. Spring 2018 review class CSE 105 THEORY OF COMPUTATION Spring 2018 review class Today's learning goals Summarize key concepts, ideas, themes from CSE 105. Approach your final exam studying with confidence. Identify areas to focus

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

CSE 105 THEORY OF COMPUTATION

CSE 105 THEORY OF COMPUTATION CSE 105 THEORY OF COMPUTATION Spring 2017 http://cseweb.ucsd.edu/classes/sp17/cse105-ab/ Today's learning goals Summarize key concepts, ideas, themes from CSE 105. Approach your final exam studying with

More information

Decidability (What, stuff is unsolvable?)

Decidability (What, stuff is unsolvable?) University of Georgia Fall 2014 Outline Decidability Decidable Problems for Regular Languages Decidable Problems for Context Free Languages The Halting Problem Countable and Uncountable Sets Diagonalization

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

Final exam study sheet for CS3719 Turing machines and decidability.

Final exam study sheet for CS3719 Turing machines and decidability. Final exam study sheet for CS3719 Turing machines and decidability. A Turing machine is a finite automaton with an infinite memory (tape). Formally, a Turing machine is a 6-tuple M = (Q, Σ, Γ, δ, q 0,

More information

CS5371 Theory of Computation. Lecture 10: Computability Theory I (Turing Machine)

CS5371 Theory of Computation. Lecture 10: Computability Theory I (Turing Machine) CS537 Theory of Computation Lecture : Computability Theory I (Turing Machine) Objectives Introduce the Turing Machine (TM) Proposed by Alan Turing in 936 finite-state control + infinitely long tape A stronger

More information

SD & Turing Enumerable. Lecture 33: Reductions and Undecidability. Lexicographically Enumerable. SD & Turing Enumerable

SD & Turing Enumerable. Lecture 33: Reductions and Undecidability. Lexicographically Enumerable. SD & Turing Enumerable SD & Turing Lecture 33: Reductions and Undecidability CSCI 81 Spring, 2012 Kim Bruce Theorem: A language is SD iff it is Turing enumerable. Proof: Spose L is Turing enumerable. Show L is SD. Let w be input.

More information

CS5371 Theory of Computation. Lecture 10: Computability Theory I (Turing Machine)

CS5371 Theory of Computation. Lecture 10: Computability Theory I (Turing Machine) CS537 Theory of Computation Lecture : Computability Theory I (Turing Machine) Objectives Introduce the Turing Machine (TM)? Proposed by Alan Turing in 936 finite-state control + infinitely long tape A

More information

Undecidability. We are not so much concerned if you are slow as when you come to a halt. (Chinese Proverb)

Undecidability. We are not so much concerned if you are slow as when you come to a halt. (Chinese Proverb) We are not so much concerned if you are slow as when you come to a halt. (Chinese Proverb) CS /55 Theory of Computation The is A TM = { M,w M is a TM and w L(M)} A TM is Turing-recognizable. Proof Sketch:

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

UNIT-VIII COMPUTABILITY THEORY

UNIT-VIII COMPUTABILITY THEORY CONTEXT SENSITIVE LANGUAGE UNIT-VIII COMPUTABILITY THEORY A Context Sensitive Grammar is a 4-tuple, G = (N, Σ P, S) where: N Set of non terminal symbols Σ Set of terminal symbols S Start symbol of the

More information

uring Reducibility Dept. of Computer Sc. & Engg., IIT Kharagpur 1 Turing Reducibility

uring Reducibility Dept. of Computer Sc. & Engg., IIT Kharagpur 1 Turing Reducibility uring Reducibility Dept. of Computer Sc. & Engg., IIT Kharagpur 1 Turing Reducibility uring Reducibility Dept. of Computer Sc. & Engg., IIT Kharagpur 2 FINITE We have already seen that the language FINITE

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

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

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

1 The decision problem for First order logic

1 The decision problem for First order logic Math 260A Mathematical Logic Scribe Notes UCSD Winter Quarter 2012 Instructor: Sam Buss Notes by: James Aisenberg April 27th 1 The decision problem for First order logic Fix a finite language L. Define

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

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

Noisy Turing Machines

Noisy Turing Machines Noisy Turing Machines Eugene Asarin 1 and Pieter Collins 2 1 LIAFA, Université Paris 7 / CNRS, case 7014, 2 place Jussieu, 75251 Paris Cedex 05, France, Eugene.Asarin@liafa.jussieu.fr 2 Centrum voor Wiskunde

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

Reducability. Sipser, pages

Reducability. Sipser, pages Reducability Sipser, pages 187-214 Reduction Reduction encodes (transforms) one problem as a second problem. A solution to the second, can be transformed into a solution to the first. We expect both transformations

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

CS21 Decidability and Tractability

CS21 Decidability and Tractability CS21 Decidability and Tractability Lecture 8 January 24, 2018 Outline Turing Machines and variants multitape TMs nondeterministic TMs Church-Turing Thesis So far several models of computation finite automata

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

Computability Theory. CS215, Lecture 6,

Computability Theory. CS215, Lecture 6, Computability Theory CS215, Lecture 6, 2000 1 The Birth of Turing Machines At the end of the 19th century, Gottlob Frege conjectured that mathematics could be built from fundamental logic In 1900 David

More information

Dynamics and Computation

Dynamics and Computation 1 Dynamics and Computation Olivier Bournez Ecole Polytechnique Laboratoire d Informatique de l X Palaiseau, France Dynamics And Computation 1 Dynamics and Computation over R Olivier Bournez Ecole Polytechnique

More information

arxiv: v2 [cs.fl] 29 Nov 2013

arxiv: v2 [cs.fl] 29 Nov 2013 A Survey of Multi-Tape Automata Carlo A. Furia May 2012 arxiv:1205.0178v2 [cs.fl] 29 Nov 2013 Abstract This paper summarizes the fundamental expressiveness, closure, and decidability properties of various

More information

On Rice s theorem. Hans Hüttel. October 2001

On Rice s theorem. Hans Hüttel. October 2001 On Rice s theorem Hans Hüttel October 2001 We have seen that there exist languages that are Turing-acceptable but not Turing-decidable. An important example of such a language was the language of the Halting

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

CS154, Lecture 10: Rice s Theorem, Oracle Machines

CS154, Lecture 10: Rice s Theorem, Oracle Machines CS154, Lecture 10: Rice s Theorem, Oracle Machines Moral: Analyzing Programs is Really, Really Hard But can we more easily tell when some program analysis problem is undecidable? Problem 1 Undecidable

More information

CSE 555 Homework Three Sample Solutions

CSE 555 Homework Three Sample Solutions CSE 555 Homework Three Sample Solutions Question 1 Let Σ be a fixed alphabet. A PDA M with n states and stack alphabet of size σ may recognize the empty language; if its language is non-empty then denote

More information

T (s, xa) = T (T (s, x), a). The language recognized by M, denoted L(M), is the set of strings accepted by M. That is,

T (s, xa) = T (T (s, x), a). The language recognized by M, denoted L(M), is the set of strings accepted by M. That is, Recall A deterministic finite automaton is a five-tuple where S is a finite set of states, M = (S, Σ, T, s 0, F ) Σ is an alphabet the input alphabet, T : S Σ S is the transition function, s 0 S is the

More information

Decidability: Reduction Proofs

Decidability: Reduction Proofs Decidability: Reduction Proofs Basic technique for proving a language is (semi)decidable is reduction Based on the following principle: Have problem A that needs to be solved If there exists a problem

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

UNRESTRICTED GRAMMARS

UNRESTRICTED GRAMMARS 136 UNRESTRICTED GRAMMARS Context-free grammar allows to substitute only variables with strings In an unrestricted grammar (or a rewriting system) one may substitute any non-empty string (containing variables

More information

Chap. 4,5 Review. Algorithms created in proofs from prior chapters

Chap. 4,5 Review. Algorithms created in proofs from prior chapters Chap. 4,5 Review Algorithms created in proofs from prior chapters (p. 55) Theorem 1.39: NFA to DFA (p. 67) Lemma 1.55: Regex to NFA (p. 69) Lemma 1.60: DFA to regex (through GNFA) (p. 112) Lemma 2.21:

More information

CP405 Theory of Computation

CP405 Theory of Computation CP405 Theory of Computation BB(3) q 0 q 1 q 2 0 q 1 1R q 2 0R q 2 1L 1 H1R q 1 1R q 0 1L Growing Fast BB(3) = 6 BB(4) = 13 BB(5) = 4098 BB(6) = 3.515 x 10 18267 (known) (known) (possible) (possible) Language:

More information

CS 301. Lecture 18 Decidable languages. Stephen Checkoway. April 2, 2018

CS 301. Lecture 18 Decidable languages. Stephen Checkoway. April 2, 2018 CS 301 Lecture 18 Decidable languages Stephen Checkoway April 2, 2018 1 / 26 Decidable language Recall, a language A is decidable if there is some TM M that 1 recognizes A (i.e., L(M) = A), and 2 halts

More information

CS 125 Section #10 (Un)decidability and Probability November 1, 2016

CS 125 Section #10 (Un)decidability and Probability November 1, 2016 CS 125 Section #10 (Un)decidability and Probability November 1, 2016 1 Countability Recall that a set S is countable (either finite or countably infinite) if and only if there exists a surjective mapping

More information

Continuous time models are equivalent to Turing machines.

Continuous time models are equivalent to Turing machines. Continuous time models are equivalent to Turing machines. A characterization of P and NP with ordinary differential equations. Olivier Bournez 1, Daniel S. Graça 2,3, and Amaury Pouly 1,2 1 Ecole Polytechnique,

More information

Homework 8. a b b a b a b. two-way, read/write

Homework 8. a b b a b a b. two-way, read/write Homework 8 309 Homework 8 1. Describe a TM that accepts the set {a n n is a power of 2}. Your description should be at the level of the descriptions in Lecture 29 of the TM that accepts {ww w Σ } and the

More information

CSCE 551 Final Exam, Spring 2004 Answer Key

CSCE 551 Final Exam, Spring 2004 Answer Key CSCE 551 Final Exam, Spring 2004 Answer Key 1. (10 points) Using any method you like (including intuition), give the unique minimal DFA equivalent to the following NFA: 0 1 2 0 5 1 3 4 If your answer is

More information

THEORY OF COMPUTATION (AUBER) EXAM CRIB SHEET

THEORY OF COMPUTATION (AUBER) EXAM CRIB SHEET THEORY OF COMPUTATION (AUBER) EXAM CRIB SHEET Regular Languages and FA A language is a set of strings over a finite alphabet Σ. All languages are finite or countably infinite. The set of all languages

More information

Nondeterministic Finite Automata

Nondeterministic Finite Automata Nondeterministic Finite Automata Mahesh Viswanathan Introducing Nondeterminism Consider the machine shown in Figure. Like a DFA it has finitely many states and transitions labeled by symbols from an input

More information

Approximately Bisimilar Finite Abstractions of Stable Linear Systems

Approximately Bisimilar Finite Abstractions of Stable Linear Systems Approximately Bisimilar Finite Abstractions of Stable Linear Systems Antoine Girard Université Joseph Fourier Laboratoire de Modélisation et Calcul B.P. 53, 38041 Grenoble, France Antoine.Girard@imag.fr

More information

CSE 105 THEORY OF COMPUTATION

CSE 105 THEORY OF COMPUTATION CSE 105 THEORY OF COMPUTATION Spring 2016 http://cseweb.ucsd.edu/classes/sp16/cse105-ab/ Today's learning goals Sipser Ch 3.3, 4.1 State and use the Church-Turing thesis. Give examples of decidable problems.

More information

Complexity. Complexity Theory Lecture 3. Decidability and Complexity. Complexity Classes

Complexity. Complexity Theory Lecture 3. Decidability and Complexity. Complexity Classes Complexity Theory 1 Complexity Theory 2 Complexity Theory Lecture 3 Complexity For any function f : IN IN, we say that a language L is in TIME(f(n)) if there is a machine M = (Q, Σ, s, δ), such that: L

More information

Computational Models Lecture 8 1

Computational Models Lecture 8 1 Computational Models Lecture 8 1 Handout Mode Ronitt Rubinfeld and Iftach Haitner. Tel Aviv University. May 11/13, 2015 1 Based on frames by Benny Chor, Tel Aviv University, modifying frames by Maurice

More information

Undecidable Problems and Reducibility

Undecidable Problems and Reducibility University of Georgia Fall 2014 Reducibility We show a problem decidable/undecidable by reducing it to another problem. One type of reduction: mapping reduction. Definition Let A, B be languages over Σ.

More information

Nonlinear Real Arithmetic and δ-satisfiability. Paolo Zuliani

Nonlinear Real Arithmetic and δ-satisfiability. Paolo Zuliani Nonlinear Real Arithmetic and δ-satisfiability Paolo Zuliani School of Computing Science Newcastle University, UK (Slides courtesy of Sicun Gao, UCSD) 1 / 27 Introduction We use hybrid systems for modelling

More information

Theory of Computation Lecture Notes. Problems and Algorithms. Class Information

Theory of Computation Lecture Notes. Problems and Algorithms. Class Information Theory of Computation Lecture Notes Prof. Yuh-Dauh Lyuu Dept. Computer Science & Information Engineering and Department of Finance National Taiwan University Problems and Algorithms c 2004 Prof. Yuh-Dauh

More information

Chapter 6: Turing Machines

Chapter 6: Turing Machines Chapter 6: Turing Machines 6.1 The Turing Machine Definition A deterministic Turing machine (DTM) M is specified by a sextuple (Q, Σ, Γ, δ, s, f), where Q is a finite set of states; Σ is an alphabet of

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

Finite Universes. L is a fixed-length language if it has length n for some

Finite Universes. L is a fixed-length language if it has length n for some Finite Universes Finite Universes When the universe is finite (e.g., the interval 0, 2 1 ), all objects can be encoded by words of the same length. A language L has length n 0 if L =, or every word of

More information

Computability and dynamical systems

Computability and dynamical systems Computability and dynamical systems J. Buescu, D. S. Graça, and N. Zhong Abstract In this paper we explore results that establish a link between dynamical systems and computability theory (not numerical

More information

Introduction to Turing Machines. Reading: Chapters 8 & 9

Introduction to Turing Machines. Reading: Chapters 8 & 9 Introduction to Turing Machines Reading: Chapters 8 & 9 1 Turing Machines (TM) Generalize the class of CFLs: Recursively Enumerable Languages Recursive Languages Context-Free Languages Regular Languages

More information

6.045J/18.400J: Automata, Computability and Complexity. Quiz 2. March 30, Please write your name in the upper corner of each page.

6.045J/18.400J: Automata, Computability and Complexity. Quiz 2. March 30, Please write your name in the upper corner of each page. 6.045J/18.400J: Automata, Computability and Complexity March 30, 2005 Quiz 2 Prof. Nancy Lynch Please write your name in the upper corner of each page. Problem Score 1 2 3 4 5 6 Total Q2-1 Problem 1: True

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

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

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

FORMAL LANGUAGES, AUTOMATA AND COMPUTABILITY

FORMAL LANGUAGES, AUTOMATA AND COMPUTABILITY 15-453 FORMAL LANGUAGES, AUTOMATA AND COMPUTABILITY REVIEW for MIDTERM 1 THURSDAY Feb 6 Midterm 1 will cover everything we have seen so far The PROBLEMS will be from Sipser, Chapters 1, 2, 3 It will be

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

CSE 105 THEORY OF COMPUTATION

CSE 105 THEORY OF COMPUTATION CSE 105 THEORY OF COMPUTATION "Winter" 2018 http://cseweb.ucsd.edu/classes/wi18/cse105-ab/ Today's learning goals Sipser Ch 4.2 Trace high-level descriptions of algorithms for computational problems. Use

More information

Notes on State Minimization

Notes on State Minimization U.C. Berkeley CS172: Automata, Computability and Complexity Handout 1 Professor Luca Trevisan 2/3/2015 Notes on State Minimization These notes present a technique to prove a lower bound on the number of

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

Decidability: Church-Turing Thesis

Decidability: Church-Turing Thesis Decidability: Church-Turing Thesis While there are a countably infinite number of languages that are described by TMs over some alphabet Σ, there are an uncountably infinite number that are not Are there

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

Decidability and Complexity Results for Timed Automata and Semi-linear Hybrid Automata

Decidability and Complexity Results for Timed Automata and Semi-linear Hybrid Automata Decidability and Complexity Results for Timed Automata and Semi-linear Hybrid Automata Joseph S. Miller Department of Mathematics Cornell University Ithaca, NY 14853 jmiller@math.cornell.edu Abstract.

More information

FORMAL LANGUAGES, AUTOMATA AND COMPUTABILITY

FORMAL LANGUAGES, AUTOMATA AND COMPUTABILITY 15-453 FORMAL LANGUAGES, AUTOMATA AND COMPUTABILITY Chomsky Normal Form and TURING MACHINES TUESDAY Feb 4 CHOMSKY NORMAL FORM A context-free grammar is in Chomsky normal form if every rule is of the form:

More information

Computational Models Lecture 8 1

Computational Models Lecture 8 1 Computational Models Lecture 8 1 Handout Mode Ronitt Rubinfeld and Iftach Haitner. Tel Aviv University. April 18/ May 2, 2016 1 Based on frames by Benny Chor, Tel Aviv University, modifying frames by Maurice

More information

1 Lyapunov theory of stability

1 Lyapunov theory of stability M.Kawski, APM 581 Diff Equns Intro to Lyapunov theory. November 15, 29 1 1 Lyapunov theory of stability Introduction. Lyapunov s second (or direct) method provides tools for studying (asymptotic) stability

More information

Computing omega-limit Sets in Linear Dynamical Systems

Computing omega-limit Sets in Linear Dynamical Systems Computing omega-limit Sets in Linear Dynamical Systems Emmanuel Hainry To cite this version: Emmanuel Hainry. Computing omega-limit Sets in Linear Dynamical Systems. [Research Report] 2008, pp.13.

More information

Opleiding Informatica

Opleiding Informatica Opleiding Informatica Tape-quantifying Turing machines in the arithmetical hierarchy Simon Heijungs Supervisors: H.J. Hoogeboom & R. van Vliet BACHELOR THESIS Leiden Institute of Advanced Computer Science

More information

Computational Models Lecture 8 1

Computational Models Lecture 8 1 Computational Models Lecture 8 1 Handout Mode Nachum Dershowitz & Yishay Mansour. Tel Aviv University. May 17 22, 2017 1 Based on frames by Benny Chor, Tel Aviv University, modifying frames by Maurice

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

There are two main techniques for showing that problems are undecidable: diagonalization and reduction

There are two main techniques for showing that problems are undecidable: diagonalization and reduction Reducibility 1 There are two main techniques for showing that problems are undecidable: diagonalization and reduction 2 We say that a problem A is reduced to a problem B if the decidability of A follows

More information

Computability and Complexity

Computability and Complexity Computability and Complexity Lecture 10 More examples of problems in P Closure properties of the class P The class NP given by Jiri Srba Lecture 10 Computability and Complexity 1/12 Example: Relatively

More information

Decidability and Undecidability

Decidability and Undecidability Decidability and Undecidability Major Ideas from Last Time Every TM can be converted into a string representation of itself. The encoding of M is denoted M. The universal Turing machine U TM accepts an

More information

MA/CSSE 474 Theory of Computation

MA/CSSE 474 Theory of Computation MA/CSSE 474 Theory of Computation CFL Hierarchy CFL Decision Problems Your Questions? Previous class days' material Reading Assignments HW 12 or 13 problems Anything else I have included some slides online

More information

Theory of Computation (IX) Yijia Chen Fudan University

Theory of Computation (IX) Yijia Chen Fudan University Theory of Computation (IX) Yijia Chen Fudan University Review The Definition of Algorithm Polynomials and their roots A polynomial is a sum of terms, where each term is a product of certain variables and

More information

Lecture Notes: The Halting Problem; Reductions

Lecture Notes: The Halting Problem; Reductions Lecture Notes: The Halting Problem; Reductions COMS W3261 Columbia University 20 Mar 2012 1 Review Key point. Turing machines can be encoded as strings, and other Turing machines can read those strings

More information

An introduction to Mathematical Theory of Control

An introduction to Mathematical Theory of Control An introduction to Mathematical Theory of Control Vasile Staicu University of Aveiro UNICA, May 2018 Vasile Staicu (University of Aveiro) An introduction to Mathematical Theory of Control UNICA, May 2018

More information