HUMAN COMPUTATION FROM A STRICTLY DYNAMICAL POINT OF VIEW
|
|
- David Caldwell
- 5 years ago
- Views:
Transcription
1 Cagliari Colloquium on the Extended Mind, Dynamicism, and Computation. Cagliari, June 10, 2013 HUMAN COMPUTATION FROM A STRICTLY DYNAMICAL POINT OF VIEW Marco Giunti - ALOPHIS, Università di Cagliari
2 SUMMARY 1/2 SHOW HOW TURING'S THESIS CAN BECOME THE CENTRAL EMPIRICAL CLAIM OF A STRICTLY DYNAMICAL THEORY OF HUMAN COMPUTATION Reconstruct the main steps of Turing's justification of Church's thesis, and enucleate Turing's thesis (TT). Explicitly define the type of machine (HTM) on which such justification is based. Following Gödel, point out a serious flaw in Turing's argument and in particular in his justification of (TT). Cagliari Colloquium on the Extended Mind, Dynamicism, and Computation. Cagliari, June 10, /31
3 SUMMARY 2/2 On the basis of Gödel's criticism, define a more general type of machine (ETM) that fully retains the dynamical content of HTMs, but lacks their algorithmic nature. Retrieve the algorithmic nature of HTMs by defining a third type of machine (n dtm). Use this type of machine to reinstate a more general version of Turing's thesis (TT*). Finally, explain why (TT*) can naturally be interpreted as the central claim (MTT) of a new empirical theory of human computation. Cagliari Colloquium on the Extended Mind, Dynamicism, and Computation. Cagliari, June 10, /31
4 TURING 1936, beginning of sec. 9: How to justify Church's Thesis (CT)? No attempt has yet been made to show that the "computable" numbers include all numbers which would naturally be regarded as computable. The real question at issue is "What are the possible processes which can be carried out in computing a number?" That is to say: IN ORDER TO JUSTIFY CT, WE NEED AN ANALYSIS OF HUMAN COMPUTING IN GENERAL Cagliari Colloquium on the Extended Mind, Dynamicism, and Computation. Cagliari, June 10, /31
5 HUMAN COMPUTING JOB (PHC) Phenomenon of Human Computation (PHC). Any activity of a human being that consists in executing a purely mechanical or effective procedure (an algorithm) A mechanical procedure (or an algorithm) is a finite set of clear-cut formal instructions for symbol manipulation; given a finite collection of initial data, a human being must be able to carry out such instructions in a definite sequence of steps, with the exclusive aid of paper and pencil (or equivalent external devices), and without resorting to any special insight or ingenuity. Cagliari Colloquium on the Extended Mind, Dynamicism, and Computation. Cagliari, June 10, /31
6 TURING 1936, sec. 9.I: Analysis of an arbitrary 1-d Human Computing Job Hyp1. [1-dimensional external support] I assume that the computation is carried out on one-dimensional paper, i.e. on a tape divided into squares. Hyp2. [Finite number of symbols] The number of symbols which may be printed is finite. Hyp3. [Instantaneous condition 1/3] The behaviour of the computer at any moment is determined by the symbols which he is observing, and his "state of mind" at that moment. instantaneous condition = (state_of_mind, observed_symbols) Cagliari Colloquium on the Extended Mind, Dynamicism, and Computation. Cagliari, June 10, /31
7 TURING 1936, sec. 9.I: Analysis of an arbitrary 1-d Human Computing Job Hyp4. [Finite reading neighborhood] There is a bound B to the number of symbols or squares which the computer can observe at one moment. Hyp5. [Finite number of possible states of mind] The number of states of mind which need be taken into account is finite. Hyp6. [Simple operations] Every such operation consists of some change of the physical system consisting of the computer and his tape. Cagliari Colloquium on the Extended Mind, Dynamicism, and Computation. Cagliari, June 10, /31
8 TURING 1936, sec. 9.I: Analysis of an arbitrary 1-d Human Computing Job Hyp7. [State of the system] We know the state of the system if we know the sequence of symbols on the tape, which of these are observed by the computer (possibly with a special order), and the state of mind of the computer. state = (tape_content, posit_of_observ_symbs, state_of_mind) Hyp8. [Write one symbol at a time] In a simple operation not more than one symbol is altered. Hyp9. [Write within observed neighborhood] The squares whose symbols are changed are always "observed" squares. Cagliari Colloquium on the Extended Mind, Dynamicism, and Computation. Cagliari, June 10, /31
9 TURING 1936, sec. 9.I: Analysis of an arbitrary 1-d Human Computing Job Hyp10. [Finite moving neighborhood] Each of the new observed squares is within L squares of an immediately previously observed square. Hyp11. [Instantaneous condition 2/3] The operation actually performed is determined, as has been suggested on p. 250, by the state of mind of the computer and the observed symbols. Hyp12. [Instantaneous condition 3/3] In particular, they determine the state of mind of the computer after the operation is carried out. Cagliari Colloquium on the Extended Mind, Dynamicism, and Computation. Cagliari, June 10, /31
10 TURING 1936, sec. 9.1:Turing's Thesis (TT) and Human like Turing Machines (HTMs) Turing's Thesis (TT) We may now construct a machine to do the work of this computer. Functional Description of a HUMAN LIKE TURING MACHINE (HTM) To each state of mind of the computer corresponds an "mconfiguration" of the machine. The machine scans B squares corresponding to the B squares observed by the computer. In any move the machine can change a symbol on a scanned square or can change any one of the scanned squares to another square distant not more than L squares from one of the other scanned squares. The move which is done, and the succeeding configuration, are determined by the scanned symbol and the m-configuration. Cagliari Colloquium on the Extended Mind, Dynamicism, and Computation. Cagliari, June 10, /31
11 TURING 1936, sec. 9.1: UPSHOT JUSTIFICATION OF CHURCH'S THESIS The machines just described [HTMs] do not differ very essentially from computing machines as defined in 2, and corresponding to any machine of this type [for any HTM] a computing machine [an ordinary TM] can be constructed to compute the same sequence, that is to say [by TT] the sequence computed by the computer. [Church's Thesis is thus justified] Cagliari Colloquium on the Extended Mind, Dynamicism, and Computation. Cagliari, June 10, /31
12 Human like Turing Machine (HTM) DS HTM = (Q C P, (g t ) t Z +) 1/3 VARIABLE DOMAIN STATE VARIABLE a A := {b, a 1,..., a m } NO q Q := {q 1,..., q n } YES p P := the set of all integers Z YES c r C := the set of all functions c: P A such that c(p) b for at most finitely many p P R := a finite set of integers such that 0 R (read/write neighborhood) YES s S := the set of all functions s: R A NO NO m M := a finite set of integers such that 0 M (move neighborhood) NO Cagliari Colloquium on the Extended Mind, Dynamicism, and Computation. Cagliari, June 10, /31
13 Human like Turing Machine (HTM) DS HTM = (Q C P, (g t ) t Z +) 2/3 FUNCTION CODOMAIN DEFINITION READ(c, p, R) S READ(c, p, R) := s S such that, for any r R, s(r) = c(p + r) WRITE(a, c, p, r) C WRITE(a, c, p, r) := c C such that, for any x P: if x = p + r, c (x) = a; else, c (x) = c(x) MOVE(p, m) P MOVE(p, m) := p + m A(q, s) A A(q, s) := for any q and s, A(q, s) is listed in a given finite table T1 R(q, s) R R(q, s) := for any q and s, R(q, s) is listed in a given finite table T2 M(q, s) M M(q, s) := for any q and s, M(q, s) is listed in a given finite table T3 Q(q, s) Q Q(q, s) := for any q and s, Q(q, s) is listed in a given finite table T4 Cagliari Colloquium on the Extended Mind, Dynamicism, and Computation. Cagliari, June 10, /31
14 Human like Turing Machine (HTM) DS HTM = (Q C P, (g t ) t Z +) 3/3 a Human like Turing Machine (HTM) is the dynamical system DS HTM = (Q C P, (g t ) t Z +) univocally specified by the 3-component difference equation below. q = Q(q, READ(c, p, R)) c = WRITE(A(q, READ(c, p, R)), c, p, R(q, READ(c, p, R))) p = MOVE(p, M(q, READ(c, p, R))) Note that any ordinary Turing Machine (TM) is in fact an HTM such that R = {0} and M = {-1, 0, 1}. Cagliari Colloquium on the Extended Mind, Dynamicism, and Computation. Cagliari, June 10, /31
15 THE CRUCIAL POINT OF TURING'S ARGUMENT TURING'S THESIS (TT) All the force of the argument rests on the adequacy of Turing's analysis of an arbitrary 1-d human computing job (1-d PHC). If any1-d PHC does indeed satisfy Turing's 12 hypotheses, then there is no doubt that: (TT) For any 1-d PHC, there is a human like Turing machine HTM that does exactly the work of the human computer. And, if (TT) is OK, then the whole argument is OK. Cagliari Colloquium on the Extended Mind, Dynamicism, and Computation. Cagliari, June 10, /31
16 ARE ALL 12 HYPOTHESES REALLY TENABLE? In particular, Hyp5? Turing, in Proc. Lond. Math. Soc. 42 (1936), p. 250, gives an argument which is supposed to show that mental procedures cannot carry any farther than mechanical procedures. However, this argument is inconclusive, because it depends on the supposition that a finite mind is capable of only a finite number of distinguishable states. What Turing disregards completely is the fact that mind, in its use, is not static, but constantly developing. Therefore, although at each stage of the mind s development the number of its possible states is finite, there is no reason why this number should not converge to infinity in the course of its development. (Kurt Gödel, reported in Wang, Hao, From Mathematics to Philosophy, Routledge & Kegan Paul, 1974, p. 325) Cagliari Colloquium on the Extended Mind, Dynamicism, and Computation. Cagliari, June 10, /31
17 NUMBER OF STATES OF MIND MAY GROW WITHOUT BOUND Gödel's criticism points out that there is no obvious limit to the human capacity to attain new mental states. Potential infinity of mental states number seems to be a direct consequence of the most basic fact that mental states are not simple units, but have a compositional character. In HTMs, not only are possible internal states a finite number, but they lack any compositional structure. Cagliari Colloquium on the Extended Mind, Dynamicism, and Computation. Cagliari, June 10, /31
18 ENHANCED TURING MACHINE (ETM) Among the 12 hypotheses, reject those which are not tenable features of any PHC: Hyp1. [1-dimensional external support] Hyp5. [Finite number of possible states of mind] Perhaps, Hyp10. [Finite moving neighborhood] If we do this, we arrive at the concept of a more general system an Enhanced Turing Machine (ETM). Cagliari Colloquium on the Extended Mind, Dynamicism, and Computation. Cagliari, June 10, /31
19 ENHANCED TURING MACHINE (ETM) DS ETM = (Q C P, (g t ) t Z +) 1/3 VARIABLE DOMAIN STATE VARIABLE a A := {b, a 1,..., a m } NO q Q := a possibly infinite set YES p P := the set of all integer n-tuples Z n YES c r C := the set of all functions c: P A such that c(p) b for at most finitely many p P R := a finite set of integer n-tuples such that 0 R (read/write neighborhood) YES s S := the set of all functions s: R A NO NO m M := a (finite) set of integer n-tuples such that 0 M (move neighborhood) NO Cagliari Colloquium on the Extended Mind, Dynamicism, and Computation. Cagliari, June 10, /31
20 ENHANCED TURING MACHINE (ETM) DS ETM = (Q C P, (g t ) t Z +) 2/3 FUNCTION CODOMAIN DEFINITION READ(c, p, R) S READ(c, p, R) := s S such that, for any r R, s(r) = c(p + r) WRITE(a, c, p, r) C WRITE(a, c, p, r) := c C such that, for any x P: if x = p + r, c (x) = a; else, c (x) = c(x) MOVE(p, m) P MOVE(p, m) := p + m A(q, s) A A(q, s) := for any q and s, A(q, s) exists and is unique R(q, s) R R(q, s) := for any q and s, R(q, s) exists and is unique M(q, s) M M(q, s) := for any q and s, M(q, s) exists and is unique Q(q, s) Q Q(q, s) := for any q and s, Q(q, s) exists and is unique Cagliari Colloquium on the Extended Mind, Dynamicism, and Computation. Cagliari, June 10, /31
21 ENHANCED TURING MACHINE (ETM) DS ETM = (Q C P, (g t ) t Z +) 3/3 an Enhanced Turing Machine (ETM) is the dynamical system DS ETM = (Q C P, (g t ) t Z +) univocally specified by the 3-component difference equation below. q = Q(q, READ(c, p, R)) c = WRITE(A(q, READ(c, p, R)), c, p, R(q, READ(c, p, R))) p = MOVE(p, M(q, READ(c, p, R))) Note that any human like Turing machine HTM is in fact an ETM such that P = Z 1 = Z, both R and M are finite subsets of Z, and Q is finite. Cagliari Colloquium on the Extended Mind, Dynamicism, and Computation. Cagliari, June 10, /31
22 In general, ETMs are not algorithmic Enhanced Turing Machines retain all the purely dynamical aspects of HTMs and TMs, but ETMs do not preserve their algorithmic or procedural character. For, as Q may be infinite, the four action functions A, R, M, Q cannot in general be expressed as finite tables, and so they cannot be interpreted as a finite set of conditional instructions for symbol manipulation. Cagliari Colloquium on the Extended Mind, Dynamicism, and Computation. Cagliari, June 10, /31
23 HOW TO PRESERVE IN ETMs THE ALGORITHMIC NATURE of HTMs? If we just allow the number of internal states to be infinite, we lose the algorithmic nature of Turing Machines (HTMs or TMs). Thus, we need some constraint on the structure of internal states, so that an algorithmic interpretation of the four action functions A, R, M, Q be always possible. The first step in this direction is to recognize the compositional character of internal states. Cagliari Colloquium on the Extended Mind, Dynamicism, and Computation. Cagliari, June 10, /31
24 INTERNAL STATE of an n-dimensional TM An internal state of an n-dtm is the finite sequence formed by the contents of a finite sequence of registers R[B], R[X 1 ],..., R[X v ], where the content of R[B] is one of the symbols in B = {q 1,..., q n }; each q i is called a simple internal state; the content of R[X i ] is a finite string member of X i, where X i is a subset of the set of all strings built out of a given finite alphabet A i = {a 1i,..., a mi }; an equivalence relation i is given on the set X i, which fixes the identity conditions for the strings in X i ; (X i, i ) is called a data-type (or an object-type). Cagliari Colloquium on the Extended Mind, Dynamicism, and Computation. Cagliari, June 10, /31
25 AUXILIARY RELATIONS AND FUNCTIONS of an n-dimensional TM Besides compositional internal states, we also admit auxiliary relations and functions whose domains and codomains are specified data-types. Thus, auxiliary relations and functions all operate on strings of symbols. More precisely: an auxiliary function f 1,..., f u,... is a k-arguments function whose domains and codomain are specified data-types; an auxiliary relation C 1,..., C d,... is a k-ary relation whose domains are specified data-types. Cagliari Colloquium on the Extended Mind, Dynamicism, and Computation. Cagliari, June 10, /31
26 SIMPLE n-dimensional TM [n-dhtm] A simple n-dtm is an ETM where Q = B. As Q = B, in a simple n-dtm there is only a finite number of internal states (the simple ones), so that the four functions A, R, M, Q are always definable by cases by means of a conditional of the following form: q i1 ; s j1 : a k1 ; r p1 ; m w1 ; q s1 where each subsequent condition is q i2 ; s j2 : a k2 ; r p2 ; m w2 ; q s2 evaluated only if the previous one fails;... ;... :... ;... ;... ;... a is the symbol in the 0 position of the [a finite number of sixtuples] presently scanned neighborhood, and else : a; 0; 0; q q is the present simple internal state. Cagliari Colloquium on the Extended Mind, Dynamicism, and Computation. Cagliari, June 10, /31
27 n-dimensional Turing Machine 1/2 M is an n-dtm : = (i) M is a simple n-dtm or (ii) M is an ETM such that its functions A, R, M, Q are definable by cases by a conditional of the following form: q i1, x 1,...,x v ; C d1 (s,x 1,...,x v ) : f a1 (s,x 1,...,x v ); f r1 (s,x 1,...,x v ); f p1 (s,x 1,...,x v ); q s1, f u1 1 (s,x 1,...,x v ),..., f u v 1 (s,x 1,...,x v ) q i2, x 1,...,x v ; C d2 (s,x 1,...,x v ) : f a2 (s,x 1,...,x v ); f r2 (s,x 1,...,x v ); f p2 (s,x 1,...,x v ); q s2, f u1 2 (s,x 1,...,x v ),..., f u v 2 (s,x 1,...,x v )... ;... :... ;... ;... ;... where x i is a variable whose [a finite number of sixtuples] domain is X i, and s is the else : a; 0; 0; q scanned pattern Cagliari Colloquium on the Extended Mind, Dynamicism, and Computation. Cagliari, June 10, /31
28 n-dimensional Turing Machine 2/2 for any data type (X i, i ), both X i and i are decidable by an n-dtm; any auxiliary relation in the antecedent of the above conditional is decidable by an n-dtm, and any auxiliary function in the consequent is computable by an n-dtm. Note that the previous recursive definition makes it quite obvious that whatever is computable by an n dtm is computable by an ordinary TM as well. (A rigorous proof of this fact would be by induction on the complexity of an n-dtm.) Cagliari Colloquium on the Extended Mind, Dynamicism, and Computation. Cagliari, June 10, /31
29 TURING'S THESIS REINSTATED (TT*) We can now recast (TT) in terms of nd TMs: (TT*) For any PHC, there is an n-dtm that does exactly the work of the human computer. This more general version of Turing's thesis is not subject to Gödel's criticism. Furthermore, as any PHC does seem to satisfy all Turing's hypotheses except hyp1 and hyp5, and perhaps hyp10, (TT*) has indeed a quite high degree of a-priori plausibility. Cagliari Colloquium on the Extended Mind, Dynamicism, and Computation. Cagliari, June 10, /31
30 TOWARD AN EMPIRICAL THEORY OF HUMAN COMPUTATION As Turing himself pointed out, his argument in favor of (TT), as well as mine in favor of (TT*), is in fact an appeal to intuition, and it thus has a speculative or a priori character. However, the high generality and flexibility of n dtm architecture opens up the possibility of actually constructing n dtms which are empirically correct dynamical models (i.e. Galilean models) of real phenomena of human computation. Cagliari Colloquium on the Extended Mind, Dynamicism, and Computation. Cagliari, June 10, /31
31 TURING'S THESIS AS AN EMPIRICAL CLAIM (MTT) In this perspective, Turing's thesis thus becomes the basic methodological claim of a new empirical theory of human computation: (MTT) For any specific phenomenon PHC of human computation, there is an appropriate n-dimensional Turing machine n dtm, and an empirical interpretation I n dtm,phc, such that (n dtm, I n dtm,phc ) turns out to be a Galilean model of PHC. Cagliari Colloquium on the Extended Mind, Dynamicism, and Computation. Cagliari, June 10, /31
32 THANK YOU Cagliari Colloquium on the Extended Mind, Dynamicism, and Computation. Cagliari, June 10, /31
WHAT IS A PHYSICAL REALIZATION OF A COMPUTATIONAL SYSTEM?
II Cagliari-Urbino Meeting. Metaphor, analogy, reasoning. Urbino, May 27-28, 2013 WHAT IS A PHYSICAL REALIZATION OF A COMPUTATIONAL SYSTEM? Marco Giunti - ALOPHIS, Università di Cagliari THE PROBLEM PHYSICAL
More informationLecture notes on Turing machines
Lecture notes on Turing machines Ivano Ciardelli 1 Introduction Turing machines, introduced by Alan Turing in 1936, are one of the earliest and perhaps the best known model of computation. The importance
More informationRecap 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 informationMost General computer?
Turing Machines Most General computer? DFAs are simple model of computation. Accept only the regular languages. Is there a kind of computer that can accept any language, or compute any function? Recall
More informationTuring Machines (TM) Deterministic Turing Machine (DTM) Nondeterministic Turing Machine (NDTM)
Turing Machines (TM) Deterministic Turing Machine (DTM) Nondeterministic Turing Machine (NDTM) 1 Deterministic Turing Machine (DTM).. B B 0 1 1 0 0 B B.. Finite Control Two-way, infinite tape, broken into
More informationIV. Turing Machine. Yuxi Fu. BASICS, Shanghai Jiao Tong University
IV. Turing Machine Yuxi Fu BASICS, Shanghai Jiao Tong University Alan Turing Alan Turing (23Jun.1912-7Jun.1954), an English student of Church, introduced a machine model for effective calculation in On
More informationTuring Machines and the Church-Turing Thesis
CSE2001, Fall 2006 1 Turing Machines and the Church-Turing Thesis Today our goal is to show that Turing Machines are powerful enough to model digital computers, and to see discuss some evidence for the
More informationIntroduction 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 informationChapter 3: The Church-Turing Thesis
Chapter 3: The Church-Turing Thesis 1 Turing Machine (TM) Control... Bi-direction Read/Write Turing machine is a much more powerful model, proposed by Alan Turing in 1936. 2 Church/Turing Thesis Anything
More informationCOMPARATIVE ANALYSIS ON TURING MACHINE AND QUANTUM TURING MACHINE
Volume 3, No. 5, May 2012 Journal of Global Research in Computer Science REVIEW ARTICLE Available Online at www.jgrcs.info COMPARATIVE ANALYSIS ON TURING MACHINE AND QUANTUM TURING MACHINE Tirtharaj Dash
More informationComputability 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 informationAutomata & 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 informationThe Turing machine model of computation
The Turing machine model of computation For most of the remainder of the course we will study the Turing machine model of computation, named after Alan Turing (1912 1954) who proposed the model in 1936.
More information1 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 informationCS21 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 informationTURING 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 informationPart 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 informationTuring 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 informationTuring Machines. Chapter 17
Turing Machines Chapter 17 Languages and Machines SD D Context-Free Languages Regular Languages reg exps FSMs cfgs PDAs unrestricted grammars Turing Machines Grammars, SD Languages, and Turing Machines
More informationPredicate Logic - Undecidability
CS402, Spring 2016 Undecidable Problems Does the following program halts? (1) N : n, total, x, y, z (2) n GetUserInput() (3) total 3 (4) while true (5) for x 1 to total 2 (6) for y 1 to total x 1 (7) z
More informationCS20a: 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 informationTHE CONSTRUCTIVE SECOND NUMBER CLASS*
224 ALONZO CHURCH [April THE CONSTRUCTIVE SECOND NUMBER CLASS* ALONZO CHURCH The existence of at least a vague distinction between what I shall call the constructive and the non-constructive ordinals of
More informationFORMAL 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 informationCS20a: 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 informationCSE 105 THEORY OF COMPUTATION
CSE 105 THEORY OF COMPUTATION Fall 2016 http://cseweb.ucsd.edu/classes/fa16/cse105-abc/ Today's learning goals Sipser Ch 3 Trace the computation of a Turing machine using its transition function and configurations.
More informationUndecidability COMS Ashley Montanaro 4 April Department of Computer Science, University of Bristol Bristol, UK
COMS11700 Undecidability Department of Computer Science, University of Bristol Bristol, UK 4 April 2014 COMS11700: Undecidability Slide 1/29 Decidability We are particularly interested in Turing machines
More informationThe tape of M. Figure 3: Simulation of a Turing machine with doubly infinite tape
UG3 Computability and Intractability (2009-2010): Note 4 4. Bells and whistles. In defining a formal model of computation we inevitably make a number of essentially arbitrary design decisions. These decisions
More informationTuring 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 informationModels. Models of Computation, Turing Machines, and the Limits of Turing Computation. Effective Calculability. Motivation for Models of Computation
Turing Computation /0/ Models of Computation, Turing Machines, and the Limits of Turing Computation Bruce MacLennan Models A model is a tool intended to address a class of questions about some domain of
More informationCS5371 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 informationEquivalence of TMs and Multitape TMs. Theorem 3.13 and Corollary 3.15 By: Joseph Lauman
Equivalence of TMs and Multitape TMs Theorem 3.13 and Corollary 3.15 By: Joseph Lauman Turing Machines First proposed by Alan Turing in 1936 Similar to finite automaton, but with an unlimited and unrestricted
More informationCSE355 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 informationQ = 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 informationCS5371 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 informationTeam Semantics and Recursive Enumerability
Team Semantics and Recursive Enumerability Antti Kuusisto University of Wroc law, Poland, Technical University of Denmark Stockholm University, Sweden antti.j.kuusisto@uta.fi Abstract. It is well known
More informationTuring machines and linear bounded automata
and linear bounded automata Informatics 2A: Lecture 30 John Longley School of Informatics University of Edinburgh jrl@inf.ed.ac.uk 25 November 2016 1 / 17 The Chomsky hierarchy: summary Level Language
More informationCSCC63 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 informationThe 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 informationComplexity Theory Turing Machines
Complexity Theory Turing Machines Joseph Spring Department of Computer Science 3COM0074 - Quantum Computing / QIP QC - Lecture 2 1 Areas for Discussion Algorithms Complexity Theory and Computing Models
More informationECS 120 Lesson 15 Turing Machines, Pt. 1
ECS 120 Lesson 15 Turing Machines, Pt. 1 Oliver Kreylos Wednesday, May 2nd, 2001 Before we can start investigating the really interesting problems in theoretical computer science, we have to introduce
More informationComputable Functions
Computable Functions Part I: Non Computable Functions Computable and Partially Computable Functions Computable Function Exists a Turing Machine M -- M Halts on All Input -- M(x) = f (x) Partially Computable
More informationChomsky Normal Form and TURING MACHINES. TUESDAY Feb 4
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: A BC A a S ε B and C aren t start variables a is
More informationTheory 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 informationTuring machines and linear bounded automata
and linear bounded automata Informatics 2A: Lecture 29 John Longley School of Informatics University of Edinburgh jrl@inf.ed.ac.uk 25 November, 2011 1 / 13 1 The Chomsky hierarchy: summary 2 3 4 2 / 13
More informationTheory of Computation
Theory of Computation Lecture #6 Sarmad Abbasi Virtual University Sarmad Abbasi (Virtual University) Theory of Computation 1 / 39 Lecture 6: Overview Prove the equivalence of enumerators and TMs. Dovetailing
More informationAn example of a decidable language that is not a CFL Implementation-level description of a TM State diagram of TM
Turing Machines Review An example of a decidable language that is not a CFL Implementation-level description of a TM State diagram of TM Varieties of TMs Multi-Tape TMs Nondeterministic TMs String Enumerators
More informationCSE 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 informationCS4026 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 information6.045: Automata, Computability, and Complexity Or, Great Ideas in Theoretical Computer Science Spring, Class 8 Nancy Lynch
6.045: Automata, Computability, and Complexity Or, Great Ideas in Theoretical Computer Science Spring, 2010 Class 8 Nancy Lynch Today More undecidable problems: About Turing machines: Emptiness, etc. About
More information(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 informationTuring 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 informationTuring Machines Part II
Turing Machines Part II COMP2600 Formal Methods for Software Engineering Katya Lebedeva Australian National University Semester 2, 2016 Slides created by Katya Lebedeva COMP 2600 Turing Machines 1 Why
More informationDecidability: 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 informationTuring machines and linear bounded automata
and linear bounded automata Informatics 2A: Lecture 29 John Longley School of Informatics University of Edinburgh jrl@inf.ed.ac.uk 27 November 2015 1 / 15 The Chomsky hierarchy: summary Level Language
More informationFINITE STATE AUTOMATA
FINITE STATE AUTOMATA States An FSA has a finite set of states A system has a limited number of configurations Examples {On, Off}, {1,2,3,4,,k} {TV channels} States can be graphically represented as follows:
More informationGriffith 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 informationFinite Automata Theory and Formal Languages TMV027/DIT321 LP4 2018
Finite Automata Theory and Formal Languages TMV027/DIT321 LP4 2018 Lecture 15 Ana Bove May 17th 2018 Recap: Context-free Languages Chomsky hierarchy: Regular languages are also context-free; Pumping lemma
More informationDecidability 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 informationComputability 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 informationcse303 ELEMENTS OF THE THEORY OF COMPUTATION Professor Anita Wasilewska
cse303 ELEMENTS OF THE THEORY OF COMPUTATION Professor Anita Wasilewska LECTURE 13 CHAPTER 4 TURING MACHINES 1. The definition of Turing machine 2. Computing with Turing machines 3. Extensions of Turing
More informationCSCI3390-Lecture 6: An Undecidable Problem
CSCI3390-Lecture 6: An Undecidable Problem September 21, 2018 1 Summary The language L T M recognized by the universal Turing machine is not decidable. Thus there is no algorithm that determines, yes or
More informationGottfried Wilhelm Leibniz (1666)
Euclid (c. -300) Euclid s GCD algorithm appeared in his Elements. Formulated geometrically: Find common measure for 2 lines. Used repeated subtraction of the shorter segment from the longer. Gottfried
More informationWhat are the recursion theoretic properties of a set of axioms? Understanding a paper by William Craig Armando B. Matos
What are the recursion theoretic properties of a set of axioms? Understanding a paper by William Craig Armando B. Matos armandobcm@yahoo.com February 5, 2014 Abstract This note is for personal use. It
More informationChapter 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 informationTuring 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 informationhighlights proof by contradiction what about the real numbers?
CSE 311: Foundations of Computing Fall 2013 Lecture 27: Turing machines and decidability highlights Cardinality A set S is countableiffwe can writeit as S={s 1, s 2, s 3,...} indexed by N Set of rationals
More informationTOWARD A THEORY OF INTRINSIC COMPUTABILITY
latest update February 28, 2005 TOWARD A THEORY OF INTRINSIC COMPUTABILITY MARCO GIUNTI Università di Cagliari, Italy Abstract: This paper investigates the foundations of the view that (i) computation
More informationUniversal Turing Machine. Lecture 20
Universal Turing Machine Lecture 20 1 Turing Machine move the head left or right by one cell read write sequentially accessed infinite memory finite memory (state) next-action look-up table Variants don
More informationFREE PRODUCTS AND BRITTON S LEMMA
FREE PRODUCTS AND BRITTON S LEMMA Dan Lidral-Porter 1. Free Products I determined that the best jumping off point was to start with free products. Free products are an extension of the notion of free groups.
More informationTuring Machines and Time Complexity
Turing Machines and Time Complexity Turing Machines Turing Machines (Infinitely long) Tape of 1 s and 0 s Turing Machines (Infinitely long) Tape of 1 s and 0 s Able to read and write the tape, and move
More informationTheory of Computation Lecture Notes
Theory of Computation Lecture Notes Prof. Yuh-Dauh Lyuu Dept. Computer Science & Information Engineering and Department of Finance National Taiwan University c 2008 Prof. Yuh-Dauh Lyuu, National Taiwan
More informationTheory of computation: initial remarks (Chapter 11)
Theory of computation: initial remarks (Chapter 11) For many purposes, computation is elegantly modeled with simple mathematical objects: Turing machines, finite automata, pushdown automata, and such.
More informationSample Project: Simulation of Turing Machines by Machines with only Two Tape Symbols
Sample Project: Simulation of Turing Machines by Machines with only Two Tape Symbols The purpose of this document is to illustrate what a completed project should look like. I have chosen a problem that
More informationIntroduction 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 informationA Note on Turing Machine Design
CS103 Handout 17 Fall 2013 November 11, 2013 Problem Set 7 This problem explores Turing machines, nondeterministic computation, properties of the RE and R languages, and the limits of RE and R languages.
More informationLecture 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 informationDecision 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 informationFoundations of
91.304 Foundations of (Theoretical) Computer Science Chapter 3 Lecture Notes (Section 3.3: Definition of Algorithm) David Martin dm@cs.uml.edu With modifications by Prof. Karen Daniels, Fall 2012 This
More informationCS243, Logic and Computation Nondeterministic finite automata
CS243, Prof. Alvarez NONDETERMINISTIC FINITE AUTOMATA (NFA) Prof. Sergio A. Alvarez http://www.cs.bc.edu/ alvarez/ Maloney Hall, room 569 alvarez@cs.bc.edu Computer Science Department voice: (67) 552-4333
More informationTuring Machines Part III
Turing Machines Part III Announcements Problem Set 6 due now. Problem Set 7 out, due Monday, March 4. Play around with Turing machines, their powers, and their limits. Some problems require Wednesday's
More informationTime-bounded computations
Lecture 18 Time-bounded computations We now begin the final part of the course, which is on complexity theory. We ll have time to only scratch the surface complexity theory is a rich subject, and many
More informationCSCE 551: Chin-Tser Huang. University of South Carolina
CSCE 551: Theory of Computation Chin-Tser Huang huangct@cse.sc.edu University of South Carolina Church-Turing Thesis The definition of the algorithm came in the 1936 papers of Alonzo Church h and Alan
More informationTheory of Computation
Thomas Zeugmann Hokkaido University Laboratory for Algorithmics http://www-alg.ist.hokudai.ac.jp/ thomas/toc/ Lecture 12: Turing Machines Turing Machines I After having dealt with partial recursive functions,
More informationTuring Machine Recap
Turing Machine Recap DFA with (infinite) tape. One move: read, write, move, change state. High-level Points Church-Turing thesis: TMs are the most general computing devices. So far no counter example Every
More informationAutomata 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 informationAsymptotic notation : big-o and small-o
Time complexity Here we will consider elements of computational complexity theory an investigation of the time (or other resources) required for solving computational problems. We introduce a way of measuring
More informationTuring 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 informationObsevations, Truth and Logic
Obsevations, Truth and Logic Jaap van Oosten Department of Mathematics Utrecht University Axioma, Groningen May 9, 2018 Art and Science have the same basic subject matter: Observations. Art (visual art):
More informationX-machines - a computational model framework.
Chapter 2. X-machines - a computational model framework. This chapter has three aims: To examine the main existing computational models and assess their computational power. To present the X-machines as
More informationCSCE 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 informationAn example of a decidable language that is not a CFL Implementation-level description of a TM State diagram of TM
Turing Machines Review An example of a decidable language that is not a CFL Implementation-level description of a TM State diagram of TM Varieties of TMs Multi-Tape TMs Nondeterministic TMs String Enumerators
More informationTuring Machines. Fall The Chinese University of Hong Kong. CSCI 3130: Formal languages and automata theory
The Chinese University of Hong Kong Fall 2011 CSCI 3130: Formal languages and automata theory Turing Machines Andrej Bogdanov http://www.cse.cuhk.edu.hk/~andrejb/csc3130 Turing Machines control head a
More informationChapter 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 informationCreative Objectivism, a powerful alternative to Constructivism
Creative Objectivism, a powerful alternative to Constructivism Copyright c 2002 Paul P. Budnik Jr. Mountain Math Software All rights reserved Abstract It is problematic to allow reasoning about infinite
More informationComputability and Complexity
Computability and Complexity Decidability, Undecidability and Reducibility; Codes, Algorithms and Languages CAS 705 Ryszard Janicki Department of Computing and Software McMaster University Hamilton, Ontario,
More informationThe Church-Turing Thesis and Relative Recursion
The Church-Turing Thesis and Relative Recursion Yiannis N. Moschovakis UCLA and University of Athens Amsterdam, September 7, 2012 The Church -Turing Thesis (1936) in a contemporary version: CT : For every
More informationMidterm Exam 2 CS 341: Foundations of Computer Science II Fall 2018, face-to-face day section Prof. Marvin K. Nakayama
Midterm Exam 2 CS 341: Foundations of Computer Science II Fall 2018, face-to-face day section Prof. Marvin K. Nakayama Print family (or last) name: Print given (or first) name: I have read and understand
More informationCOMP/MATH 300 Topics for Spring 2017 June 5, Review and Regular Languages
COMP/MATH 300 Topics for Spring 2017 June 5, 2017 Review and Regular Languages Exam I I. Introductory and review information from Chapter 0 II. Problems and Languages A. Computable problems can be expressed
More informationCS 525 Proof of Theorems 3.13 and 3.15
Eric Rock CS 525 (Winter 2015) Presentation 1 (Week 4) Equivalence of Single-Tape and Multi-Tape Turing Machines 1/30/2015 1 Turing Machine (Definition 3.3) Formal Definition: (Q, Σ, Γ, δ, q 0, q accept,
More informationTheory of computation: initial remarks (Chapter 11)
Theory of computation: initial remarks (Chapter 11) For many purposes, computation is elegantly modeled with simple mathematical objects: Turing machines, finite automata, pushdown automata, and such.
More information