ON COMPUTAMBLE NUMBERS, WITH AN APPLICATION TO THE ENTSCHENIDUGSPROBLEM. Turing 1936

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

Decidability: Church-Turing Thesis

Finite Automata Theory and Formal Languages TMV027/DIT321 LP4 2018

17.1 The Halting Problem

Introduction to Turing Machines

CS154, Lecture 10: Rice s Theorem, Oracle Machines

Predicate Logic - Undecidability

Great Theoretical Ideas

Decidable Languages - relationship with other classes.

Lecture 14 Rosser s Theorem, the length of proofs, Robinson s Arithmetic, and Church s theorem. Michael Beeson

Limits of Computability

What are the recursion theoretic properties of a set of axioms? Understanding a paper by William Craig Armando B. Matos

Church s undecidability result

Lecture 11: Gödel s Second Incompleteness Theorem, and Tarski s Theorem

Gödel s Incompleteness Theorem. Overview. Computability and Logic

First-Order Logic First-Order Theories. Roopsha Samanta. Partly based on slides by Aaron Bradley and Isil Dillig

Gödel s Incompleteness Theorem. Overview. Computability and Logic

Informal Statement Calculus

Warm-Up Problem. Please fill out your Teaching Evaluation Survey! Please comment on the warm-up problems if you haven t filled in your survey yet.

CSE355 SUMMER 2018 LECTURES TURING MACHINES AND (UN)DECIDABILITY

Turing Machines. Lecture 8

Institute for Applied Information Processing and Communications (IAIK) Secure & Correct Systems. Decidability

Hilbert s problems, Gödel, and the limits of computation

Computability Theory. CS215, Lecture 6,

Computation. Some history...

CST Part IB. Computation Theory. Andrew Pitts

There are problems that cannot be solved by computer programs (i.e. algorithms) even assuming unlimited time and space.

Turing Machines Part III

The roots of computability theory. September 5, 2016

Computability and Complexity

Turing Centenary Lecture

Large Numbers, Busy Beavers, Noncomputability and Incompleteness

CSE 105 THEORY OF COMPUTATION

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

ECS 120 Lesson 18 Decidable Problems, the Halting Problem

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

Cogito ergo sum non machina!

Computable Functions

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

Introduction to Turing Machines. Reading: Chapters 8 & 9

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

Opleiding Informatica

Halting and Equivalence of Program Schemes in Models of Arbitrary Theories

Foundations of Computation. Ana Bove

Lecture 13: Foundations of Math and Kolmogorov Complexity

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

Properties of Relational Logic

Computability Theory

1 Computational Problems

Gödel s Theorem: Limits of logic and computation

CS20a: Turing Machines (Oct 29, 2002)

CSE 311 Lecture 28: Undecidability of the Halting Problem. Emina Torlak and Kevin Zatloukal

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

CSE 105 THEORY OF COMPUTATION

1 Showing Recognizability

CSE 105 THEORY OF COMPUTATION. Spring 2018 review class

Notes for Lecture Notes 2

Handbook of Logic and Proof Techniques for Computer Science

CSCI3390-Lecture 6: An Undecidable Problem

Peano Arithmetic. CSC 438F/2404F Notes (S. Cook) Fall, Goals Now

15-251: Great Theoretical Ideas in Computer Science Fall 2016 Lecture 6 September 15, Turing & the Uncomputable

On some Metatheorems about FOL

The Unsolvability of the Halting Problem. Chapter 19

CSE 105 THEORY OF COMPUTATION

1 The decision problem for First order logic

CSE 311: Foundations of Computing. Lecture 26: More on Limits of FSMs, Cardinality

CS154, Lecture 12: Kolmogorov Complexity: A Universal Theory of Data Compression

Hilbert s problems, Gödel, and the limits of computation

Computability Crib Sheet

Halting and Equivalence of Schemes over Recursive Theories

Turing s 1935: my guess about his intellectual journey to On Co

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

The decision problem (entscheidungsproblem), halting problem, & Turing machines. CS 350 Fall 2018 gilray.org/classes/fall2018/cs350/

Undecibability. Hilbert's 10th Problem: Give an algorithm that given a polynomial decides if the polynomial has integer roots or not.

Theory of Computer Science. Theory of Computer Science. D7.1 Introduction. D7.2 Turing Machines as Words. D7.3 Special Halting Problem

Propositional and Predicate Logic - XIII

2 Computable and Computably Enumerable Sets

Theory of Computation

About the relationship between formal logic and complexity classes

Motivation. CS389L: Automated Logical Reasoning. Lecture 10: Overview of First-Order Theories. Signature and Axioms of First-Order Theory

CSE 311: Foundations of Computing. Lecture 27: Undecidability

... The Sequel. a.k.a. Gödel's Girdle

Alan Turing and the Mathematics of the Unsolvable

Primitive recursive functions: decidability problems

FINITE MODEL THEORY (MATH 285D, UCLA, WINTER 2017) LECTURE NOTES IN PROGRESS

ACS2: Decidability Decidability

CITS2211 Discrete Structures (2017) Cardinality and Countability

Logic and Computation

Lecture 23: Rice Theorem and Turing machine behavior properties 21 April 2009

Turing Machines Decidability

highlights proof by contradiction what about the real numbers?

AN INTRODUCTION TO COMPUTABILITY THEORY

Discrete Mathematics for CS Spring 2007 Luca Trevisan Lecture 27

NONSTANDARD MODELS AND KRIPKE S PROOF OF THE GÖDEL THEOREM

What languages are Turing-decidable? What languages are not Turing-decidable? Is there a language that isn t even Turingrecognizable?

TURING MAHINES

Computational Models Lecture 8 1

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

Undecidability of FOL. Computability and Logic

CPSC 421: Tutorial #1

Transcription:

ON COMPUTAMBLE NUMBERS, WITH AN APPLICATION TO THE ENTSCHENIDUGSPROBLEM Turing 1936

Where are We? Ignoramus et ignorabimus Wir mussen wissen Wir werden wissen We do not know We shall not know We must know We will know The right side is where we wish to be, but sometimes we are on the left side.

Entscheidungsproblem ( Decision Problem ) The Entscheidungsproblem asks for an algorithm that takes as input a statement of a first-order-logic (possibly with a finite number of axioms beyond the usual axioms of first-order logic) and answers "Yes" or "No" according to whether the statement is universally valid. Turing will later show this problem is undecidable.

Some Definitions Σ - is a finite set of symbols First Kind Symbols 1/0 Second Kind Symbols - special symbols (#,*,@,% etc.) M(x) a machine a.k.a turing-machine. (x) is the machine input a-machine - automatic-machine is a deterministic turing-machine. For the scope of this lecture any machine is an a-machine. c-machine - choice-machine is a non-deterministic turing-machine

More Definitions Circle-free machine - prints an infinite number of symbols of the first kind Circular machine - prints a finite number of symbols of the first kind We shall assume a machine prints only a finite number of symbols of the second kind therefore a machine halts iff its circular. Computable sequence the sequence of 1/0s written by the machine. Can be either finite or infinite. It represents a Computable number.

S.D and D.N S.D is the standard description of a machine. Basically it is a shortened version of the table that represents the machine s transition function. D.N is the description number of a machine. It is a natural number that can be obtained directly from the machine S.D. The mapping between a machine to it s S.D to it s D.N is both one to one and onto. Therefore the set of all machines is enumerable. <M> - a notation for the D.N of M where M is a machine.

The Universal Machine We use the notation U(<M>,x) to represent the Universal Machine. Basically its an a-machine that, given <M> and an input x, can simulate the run of M on x. U obtains a full description M from its D.N and performs the required actions to run M on x as described. One can think of U as a computer that can run any computer program M on any input x.

The Set of Computable Sequences is Enumerable For each computable sequence α we can match S α a nonempty set of the D.Ns of the machines that compute α. We know that S α is not empty because α is a computable sequence and therefore there is at least one machine that computes α. Moreover for each α 1 α 1 : S α1 S α2 =. This is because a deterministic machine cannot compute more then one sequence. We already showed that the set of all machines is enumerable. Therefore the set of all computable functions is enumerable.

HALT is Undecidable Proof in Two Minutes Using common, university course, notations. Assume for the sake of obtaining a contradiction that there is a machine H(<M>,x) that outputs 1 iff M halts on x. We define a machine D(x) that given any input x runs H(<D>,x). If H(<D>,x)=1, D goes into an infinite loop. Otherwise D halts. What will D(<D>) do? Will it halt?

HALT is Undecidable (cont. I) We will prove that determining whether a machine is circular or circle-free is undecidable. Previously we showed that the set of computable sequences is enumerable. It can be easily shown that set of infinite computable sequences (i.e. the set of sequences computed by circle free machines) is also enumerable. Let φ n n be such enumeration whereas φ n is the n-th sequence.

HALT is Undecidable (cont. II) We show that the diagonal of this enumeration β is not computable. Otherwise for every n N we could have obtained β n = 1 β n. Clearly β is computable from β and therefore there must be k N s.t φ k = β But then of course φ k (k) β k thus obtaining a contradiction to the enumerability of the set of computable sequences. Therefore β isn t computable sequence.

HALT is Undecidable (cont. III) Assuming the existence of a machine H that can decide given the D.N of another machine M whether M is circle-free or circular we will show a machine D that computes β thus obtaining a contradiction. D will run in sections 1 N each time computing R(N) which is the number of D.Ns describing a circle-free machine in the range 1 N. In section N D will consult with H whether N is the D.N of a circular or a circle-free machine.

HALT is Undecidable (cont. IV) If M(N) is circular R(N)=R(N-1) and D will continue to the N+1 section. Otherwise R(N)=R(N-1)+1 and D computes the R(N) digit of the sequence computed by M(N) and writes it on the tape. Now it is clear that D computes β on it s tape. Therefore D cannot exist and so also H. We showed that there can be no machine that decides whether some other machine is circular or circle-free.

Why talk about Computability? The definition captures the essence of computation. This is arguable yet convincing. Many things are computable according to our definition. For example π,e are computable, and so are the roots of any polynom with rational coefficients - algebraic numbers. It was shown that other computational models (for example λ-calculus and definable sequences) are equivalent in power to a turing-machine.

Definable is also Computable We introduce another definition for computability using concepts of mathematical logic. Let α be a sequence of 0/1s. Let σ be a signature. σ includes F - the successor function, u - a constant symbol and G α t - a predicate that evaluates to TRUE iff the ν[t] digit of α is 1 (assuming our domain is N). We will say that α is definable if there exists some provable formula U over σ s.t for every n N exactly one of the following two formulae is provable: A n U&F n G α (u n ) B n U&F n G α (u n )

Definable is also Computable (cont. I) Now we want to show that any definable sequence α is also computable. A sketch of the proof. Let α be a definable sequence. Let n be an arbitrary positive integer. We wish to compute α (n), the n-th digit of α. In order to do so we need to prove either A n or B n. We know that exactly one of them is provable (by definition of computable sequence). We set about to find its proof. Finding the proof is straight forward. We enumerate over all the proofs of W.F.F over σ.

Definable is also Computable (cont. II) First we obtain proofs of length 1. These are simply the axioms. Then we obtain proofs of length 2 by trying to apply all the derivation rules on each of the axioms. And so on. We already know that either A n or B n is provable by a proof sequence of some length K. Sooner or later we will find all the proofs of length K. One of them will be the proof of either A n or B n. It can be easily shown (from the definition of G α ) that α (n)==1 iff A n is provable.

Back to Entscheidungsproblem In the last section of the article Turing shows that the Decision Problem is undecidable. It is shown that E. P HALT. This is called reduction and it is used extensively throughout the article. If E.P is decidable then so is HALT. We know that HALT is undecidable and therefore E.P is also undecidable.

Relation to Incompleteness Theorem Godel Incompleteness Theorem states that: Any effectively generated theory capable of expressing elementary arithmetic cannot be both consistent and complete. It was later shown by Stephen Kleene that the existence of a complete effective theory of arithmetic with certain consistency properties would force the halting problem to be decidable, a contradiction.