Can a Machine Think?

Similar documents
Class 24: Computability

Turing machines COMS Ashley Montanaro 21 March Department of Computer Science, University of Bristol Bristol, UK

Turing Machines. COMP2600 Formal Methods for Software Engineering. Katya Lebedeva. Australian National University Semester 2, 2014

Pre- Calculus CP 1 Section 8.5 Matrix Application: Cryptography

Finite Automata Theory and Formal Languages TMV027/DIT321 LP4 2018

IV. Turing Machine. Yuxi Fu. BASICS, Shanghai Jiao Tong University

Theory of Computation CS3102 Spring 2014 A tale of computers, math, problem solving, life, love and tragic death

Turing Machines. The Language Hierarchy. Context-Free Languages. Regular Languages. Courtesy Costas Busch - RPI 1

Lecture 12: Mapping Reductions

19 Lorenz Cipher Machine

Lecture notes on Turing machines

Decidable Languages - relationship with other classes.

Before We Start. Turing Machines. Languages. Now our picture looks like. Theory Hall of Fame. The Turing Machine. Any questions? The $64,000 Question

Mathematics 22: Lecture 19

Cristina Nita-Rotaru. CS355: Cryptography. Lecture 4: Enigma.

Computation. Some history...

Lecture 13: Turing Machine

Mathematics 13: Lecture 4

Obsevations, Truth and Logic

Turing Machines. Lecture 8

cse303 ELEMENTS OF THE THEORY OF COMPUTATION Professor Anita Wasilewska

Understanding Computation

Turing Machines. Wen-Guey Tzeng Computer Science Department National Chiao Tung University

Ma/CS 6a Class 23: Generating Functions

Conjectures and proof. Book page 24-30

Introduction to Turing Machines

Computability and Complexity

Lecture 14: Recursive Languages

Turing Machines COMP1600 / COMP6260. Dirk Pattinson Australian National University. Semester 2, 2017

Change of Variables: Indefinite Integrals

Limits of Computation

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

A Universal Turing Machine

CRYPTOGRAPHY AND LARGE PRIMES *

NOI 2009 Solutions to Contest Tasks

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

Mathematical Logic. Giuseppe Peano ( ) Core Logic 2004/05-1ab p. 2/2

Most General computer?

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

The Turing machine model of computation

CSCI3390-Assignment 2 Solutions

highlights proof by contradiction what about the real numbers?

Calculus: Area. Mathematics 15: Lecture 22. Dan Sloughter. Furman University. November 12, 2006

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

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

State Machines. Example FSM: Roboant

Turing s Treatise on Enigma. Chapter 2. Dr. Alan M. Turing

CSE 105 Theory of Computation

The Limit of Humanly Knowable Mathematical Truth

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

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

Farewell (for now) to modular arithmetic...

FORMAL LANGUAGES, AUTOMATA AND COMPUTABILITY

Homework. Staff. Happy and fruitful New Year. Welcome to CSE105. (Happy New Year) שנה טובה. and. Meeting Times

CS154, Lecture 10: Rice s Theorem, Oracle Machines

1 Unrestricted Computation

Can You Count on Your Computer?

Discrete Mathematics for CS Spring 2007 Luca Trevisan Lecture 27

Fundamentals of Computer Science

Turing Machines and Time Complexity

Number Theory in Cryptography

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

ECS 120 Lesson 18 Decidable Problems, the Halting Problem

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

Turing Machines. Nicholas Geis. February 5, 2015

The P-vs-NP problem. Andrés E. Caicedo. September 10, 2011

Busch Complexity Lectures: Turing Machines. Prof. Busch - LSU 1

Dangerous Knowledge: Incompleteness A Deeper Look at Gödel's Theorems

and Models of Computation

CpSc 421 Homework 9 Solution

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

jflap demo Regular expressions Pumping lemma Turing Machines Sections 12.4 and 12.5 in the text

COMPARATIVE ANALYSIS ON TURING MACHINE AND QUANTUM TURING MACHINE

Announcements. Problem Set 6 due next Monday, February 25, at 12:50PM. Midterm graded, will be returned at end of lecture.

AN INTRODUCTION TO COMPUTABILITY THEORY

Part I: Definitions and Properties

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

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

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

An example of a decidable language that is not a CFL Implementation-level description of a TM State diagram of TM

CS151 Complexity Theory. Lecture 1 April 3, 2017

Theory of Computation

ECS 120 Lesson 15 Turing Machines, Pt. 1

An example of a decidable language that is not a CFL Implementation-level description of a TM State diagram of TM

CSCC63 Worksheet Turing Machines

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

Thermodynamics of computation.

STOR 435 Lecture 5. Conditional Probability and Independence - I

Sequence of Topics. 1. The Nature of Truth. 2. Biography of Alan Turing ( ) 3. The Church-Turing Thesis. 4. Interactive Computing

NUMBER THEORY AND CODES. Álvaro Pelayo WUSTL

CSE355 SUMMER 2018 LECTURES TURING MACHINES AND (UN)DECIDABILITY

Theory of Computer Science

Turing Machines and the Church-Turing Thesis

Computation Histories

Homework. Staff. Happy and fruitful New Year. Welcome to CS105. (Happy New Year) שנה טובה. Meeting Times.

Harvard CS 121 and CSCI E-121 Lecture 14: Turing Machines and the Church Turing Thesis

CSCI3390-Lecture 6: An Undecidable Problem

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

Finite State Machines 2

COMP-330 Theory of Computation. Fall Prof. Claude Crépeau. Lec. 16 : Turing Machines

Transcription:

Can a Machine Think? Mathematics 15: Lecture 27 Dan Sloughter Furman University December 4, 2006 Dan Sloughter (Furman University) Can a Machine Think? December 4, 2006 1 / 8

Alan Turing 1912-1954 Dan Sloughter (Furman University) Can a Machine Think? December 4, 2006 2 / 8

Alan Turing 1912-1954 Work during World War II Dan Sloughter (Furman University) Can a Machine Think? December 4, 2006 2 / 8

Alan Turing 1912-1954 Work during World War II The Germans coded and decoded messages on machines called Enigma machines. Dan Sloughter (Furman University) Can a Machine Think? December 4, 2006 2 / 8

Alan Turing 1912-1954 Work during World War II The Germans coded and decoded messages on machines called Enigma machines. English mathematicians working at Bletchley Park deciphered the code using machines specifically designed to decode Enigma messages. Dan Sloughter (Furman University) Can a Machine Think? December 4, 2006 2 / 8

Alan Turing 1912-1954 Work during World War II The Germans coded and decoded messages on machines called Enigma machines. English mathematicians working at Bletchley Park deciphered the code using machines specifically designed to decode Enigma messages. Turing s work was instrumental in breaking the Enigma codes, a major factor in changing the course of the war. Dan Sloughter (Furman University) Can a Machine Think? December 4, 2006 2 / 8

Alan Turing 1912-1954 Work during World War II The Germans coded and decoded messages on machines called Enigma machines. English mathematicians working at Bletchley Park deciphered the code using machines specifically designed to decode Enigma messages. Turing s work was instrumental in breaking the Enigma codes, a major factor in changing the course of the war. For example, ship convoys from the US to Britain were able to avoid the German submarines in the Atlantic, and the Allies were able to find and destroy many German submarines. Dan Sloughter (Furman University) Can a Machine Think? December 4, 2006 2 / 8

Alan Turing 1912-1954 Work during World War II The Germans coded and decoded messages on machines called Enigma machines. English mathematicians working at Bletchley Park deciphered the code using machines specifically designed to decode Enigma messages. Turing s work was instrumental in breaking the Enigma codes, a major factor in changing the course of the war. For example, ship convoys from the US to Britain were able to avoid the German submarines in the Atlantic, and the Allies were able to find and destroy many German submarines. Before the war, Turing had worked on a machine to compute the zeros of the zeta function; after the war, he designs and builds one of the first programmable digital computers. Dan Sloughter (Furman University) Can a Machine Think? December 4, 2006 2 / 8

Alan Turing 1912-1954 Work during World War II The Germans coded and decoded messages on machines called Enigma machines. English mathematicians working at Bletchley Park deciphered the code using machines specifically designed to decode Enigma messages. Turing s work was instrumental in breaking the Enigma codes, a major factor in changing the course of the war. For example, ship convoys from the US to Britain were able to avoid the German submarines in the Atlantic, and the Allies were able to find and destroy many German submarines. Before the war, Turing had worked on a machine to compute the zeros of the zeta function; after the war, he designs and builds one of the first programmable digital computers. Turing Prize in computer science is the equivalent of the Fields Medal in mathematics. Dan Sloughter (Furman University) Can a Machine Think? December 4, 2006 2 / 8

Alan Turing 1912-1954 Work during World War II The Germans coded and decoded messages on machines called Enigma machines. English mathematicians working at Bletchley Park deciphered the code using machines specifically designed to decode Enigma messages. Turing s work was instrumental in breaking the Enigma codes, a major factor in changing the course of the war. For example, ship convoys from the US to Britain were able to avoid the German submarines in the Atlantic, and the Allies were able to find and destroy many German submarines. Before the war, Turing had worked on a machine to compute the zeros of the zeta function; after the war, he designs and builds one of the first programmable digital computers. Turing Prize in computer science is the equivalent of the Fields Medal in mathematics. Turing committed suicide in 1954. Dan Sloughter (Furman University) Can a Machine Think? December 4, 2006 2 / 8

Machines of the mind Turing described an ideal computing machine, which we now call a Turing machine. Dan Sloughter (Furman University) Can a Machine Think? December 4, 2006 3 / 8

Machines of the mind Turing described an ideal computing machine, which we now call a Turing machine. Infinite paper tape divided into squares Dan Sloughter (Furman University) Can a Machine Think? December 4, 2006 3 / 8

Machines of the mind Turing described an ideal computing machine, which we now call a Turing machine. Infinite paper tape divided into squares Symbols written on the squares Dan Sloughter (Furman University) Can a Machine Think? December 4, 2006 3 / 8

Machines of the mind Turing described an ideal computing machine, which we now call a Turing machine. Infinite paper tape divided into squares Symbols written on the squares A machine which could read the squares Dan Sloughter (Furman University) Can a Machine Think? December 4, 2006 3 / 8

Machines of the mind Turing described an ideal computing machine, which we now call a Turing machine. Infinite paper tape divided into squares Symbols written on the squares A machine which could read the squares Depending on the internal state of the machine and the symbol being read, the machine would Dan Sloughter (Furman University) Can a Machine Think? December 4, 2006 3 / 8

Machines of the mind Turing described an ideal computing machine, which we now call a Turing machine. Infinite paper tape divided into squares Symbols written on the squares A machine which could read the squares Depending on the internal state of the machine and the symbol being read, the machine would move forward or backward one square on the tape, or Dan Sloughter (Furman University) Can a Machine Think? December 4, 2006 3 / 8

Machines of the mind Turing described an ideal computing machine, which we now call a Turing machine. Infinite paper tape divided into squares Symbols written on the squares A machine which could read the squares Depending on the internal state of the machine and the symbol being read, the machine would move forward or backward one square on the tape, or erase the symbol on the current square and replace it with another. Dan Sloughter (Furman University) Can a Machine Think? December 4, 2006 3 / 8

Machines of the mind Turing described an ideal computing machine, which we now call a Turing machine. Infinite paper tape divided into squares Symbols written on the squares A machine which could read the squares Depending on the internal state of the machine and the symbol being read, the machine would move forward or backward one square on the tape, or erase the symbol on the current square and replace it with another. Turing shows that such a machine could perform any possible computation. Dan Sloughter (Furman University) Can a Machine Think? December 4, 2006 3 / 8

Example: solving equations Consider Fermat s equation: x n + y n = z n, where n is a positive integer. Dan Sloughter (Furman University) Can a Machine Think? December 4, 2006 4 / 8

Example: solving equations Consider Fermat s equation: x n + y n = z n, where n is a positive integer. Question: Given an n, does this equation have a solution in integers? Dan Sloughter (Furman University) Can a Machine Think? December 4, 2006 4 / 8

Example: solving equations Consider Fermat s equation: x n + y n = z n, where n is a positive integer. Question: Given an n, does this equation have a solution in integers? We could create a Turing machine T which would search for solutions when given an input n by working through a list of integers. Dan Sloughter (Furman University) Can a Machine Think? December 4, 2006 4 / 8

Example: solving equations Consider Fermat s equation: x n + y n = z n, where n is a positive integer. Question: Given an n, does this equation have a solution in integers? We could create a Turing machine T which would search for solutions when given an input n by working through a list of integers. Then T (n) would halt when n = 1 (having found a solution, such as x = 1, y = 1, and z = 2), and when n = 2 (having found a solution such as x = 3, y = 4, and z = 5). Dan Sloughter (Furman University) Can a Machine Think? December 4, 2006 4 / 8

Example: solving equations Consider Fermat s equation: x n + y n = z n, where n is a positive integer. Question: Given an n, does this equation have a solution in integers? We could create a Turing machine T which would search for solutions when given an input n by working through a list of integers. Then T (n) would halt when n = 1 (having found a solution, such as x = 1, y = 1, and z = 2), and when n = 2 (having found a solution such as x = 3, y = 4, and z = 5). But T would not halt for any other input. Dan Sloughter (Furman University) Can a Machine Think? December 4, 2006 4 / 8

The halting problem Suppose we list all Turing machines: T 1, T 2, T 3,.... Dan Sloughter (Furman University) Can a Machine Think? December 4, 2006 5 / 8

The halting problem Suppose we list all Turing machines: T 1, T 2, T 3,.... Does there exist an algorithm which can tell when T n (p) will not halt? Dan Sloughter (Furman University) Can a Machine Think? December 4, 2006 5 / 8

The halting problem Suppose we list all Turing machines: T 1, T 2, T 3,.... Does there exist an algorithm which can tell when T n (p) will not halt? That is, suppose A(n, p) is a procedure which halts only if T n (p) does not halt. Dan Sloughter (Furman University) Can a Machine Think? December 4, 2006 5 / 8

The halting problem Suppose we list all Turing machines: T 1, T 2, T 3,.... Does there exist an algorithm which can tell when T n (p) will not halt? That is, suppose A(n, p) is a procedure which halts only if T n (p) does not halt. Now consider A(n, n): If A(n, n) stops, then T n (n) does not stop. Dan Sloughter (Furman University) Can a Machine Think? December 4, 2006 5 / 8

The halting problem Suppose we list all Turing machines: T 1, T 2, T 3,.... Does there exist an algorithm which can tell when T n (p) will not halt? That is, suppose A(n, p) is a procedure which halts only if T n (p) does not halt. Now consider A(n, n): If A(n, n) stops, then T n (n) does not stop. But now A(n, n) is a Turing machine: it s a computational procedure which takes an input n and may or may not stop with some output. So A(n, n) = T k (n) for some k. Dan Sloughter (Furman University) Can a Machine Think? December 4, 2006 5 / 8

The halting problem Suppose we list all Turing machines: T 1, T 2, T 3,.... Does there exist an algorithm which can tell when T n (p) will not halt? That is, suppose A(n, p) is a procedure which halts only if T n (p) does not halt. Now consider A(n, n): If A(n, n) stops, then T n (n) does not stop. But now A(n, n) is a Turing machine: it s a computational procedure which takes an input n and may or may not stop with some output. So A(n, n) = T k (n) for some k. We now have: If A(k, k) stops, then T k (k) does not stop; that is, if T k (k) stops, then T k (k) does not stop. Dan Sloughter (Furman University) Can a Machine Think? December 4, 2006 5 / 8

Conclusion To avoid a contradiction, we must conclude that T k (k) does not stop. Dan Sloughter (Furman University) Can a Machine Think? December 4, 2006 6 / 8

Conclusion To avoid a contradiction, we must conclude that T k (k) does not stop. This means that we know T k (k) does not stop, but no computational procedure can tell us that it does. Dan Sloughter (Furman University) Can a Machine Think? December 4, 2006 6 / 8

The Turing test Question: Can a machine think? Dan Sloughter (Furman University) Can a Machine Think? December 4, 2006 7 / 8

The Turing test Question: Can a machine think? To answer, one must first say what we mean by machine and what we mean by think. Dan Sloughter (Furman University) Can a Machine Think? December 4, 2006 7 / 8

The Turing test Question: Can a machine think? To answer, one must first say what we mean by machine and what we mean by think. Machine: programmable digital computer, in part because it can mimic any other type of machine. Dan Sloughter (Furman University) Can a Machine Think? December 4, 2006 7 / 8

The Turing test Question: Can a machine think? To answer, one must first say what we mean by machine and what we mean by think. Machine: programmable digital computer, in part because it can mimic any other type of machine. Thinking: we must say a machine can think if an interrogator cannot distinguish the replies from the machine and a person. Dan Sloughter (Furman University) Can a Machine Think? December 4, 2006 7 / 8

Objections Theological: only creatures with immortal souls can think. Dan Sloughter (Furman University) Can a Machine Think? December 4, 2006 8 / 8

Objections Theological: only creatures with immortal souls can think. Heads in the Sand: the consequences of machines being able to think are too dire to consider. Dan Sloughter (Furman University) Can a Machine Think? December 4, 2006 8 / 8

Objections Theological: only creatures with immortal souls can think. Heads in the Sand: the consequences of machines being able to think are too dire to consider. Mathematical: results of Gödel and and Turing show the limitations of formal reasoning abilities. Dan Sloughter (Furman University) Can a Machine Think? December 4, 2006 8 / 8

Objections Theological: only creatures with immortal souls can think. Heads in the Sand: the consequences of machines being able to think are too dire to consider. Mathematical: results of Gödel and and Turing show the limitations of formal reasoning abilities. Consciousness: a machine cannot have self-awareness. Dan Sloughter (Furman University) Can a Machine Think? December 4, 2006 8 / 8

Objections Theological: only creatures with immortal souls can think. Heads in the Sand: the consequences of machines being able to think are too dire to consider. Mathematical: results of Gödel and and Turing show the limitations of formal reasoning abilities. Consciousness: a machine cannot have self-awareness. Disabilities: there are numerous human traits that a machine could never share. Dan Sloughter (Furman University) Can a Machine Think? December 4, 2006 8 / 8

Objections Theological: only creatures with immortal souls can think. Heads in the Sand: the consequences of machines being able to think are too dire to consider. Mathematical: results of Gödel and and Turing show the limitations of formal reasoning abilities. Consciousness: a machine cannot have self-awareness. Disabilities: there are numerous human traits that a machine could never share. Lady Lovelace s objection: a machine cannot originate ideas. Dan Sloughter (Furman University) Can a Machine Think? December 4, 2006 8 / 8

Objections Theological: only creatures with immortal souls can think. Heads in the Sand: the consequences of machines being able to think are too dire to consider. Mathematical: results of Gödel and and Turing show the limitations of formal reasoning abilities. Consciousness: a machine cannot have self-awareness. Disabilities: there are numerous human traits that a machine could never share. Lady Lovelace s objection: a machine cannot originate ideas. Continuity of the nervous system: the human nervous system appears to have a continuum of states. Dan Sloughter (Furman University) Can a Machine Think? December 4, 2006 8 / 8

Objections Theological: only creatures with immortal souls can think. Heads in the Sand: the consequences of machines being able to think are too dire to consider. Mathematical: results of Gödel and and Turing show the limitations of formal reasoning abilities. Consciousness: a machine cannot have self-awareness. Disabilities: there are numerous human traits that a machine could never share. Lady Lovelace s objection: a machine cannot originate ideas. Continuity of the nervous system: the human nervous system appears to have a continuum of states. Informality of behaviour: there is no set of rules which describe what a man should do in every conceivable set of circumstances. Dan Sloughter (Furman University) Can a Machine Think? December 4, 2006 8 / 8

Objections Theological: only creatures with immortal souls can think. Heads in the Sand: the consequences of machines being able to think are too dire to consider. Mathematical: results of Gödel and and Turing show the limitations of formal reasoning abilities. Consciousness: a machine cannot have self-awareness. Disabilities: there are numerous human traits that a machine could never share. Lady Lovelace s objection: a machine cannot originate ideas. Continuity of the nervous system: the human nervous system appears to have a continuum of states. Informality of behaviour: there is no set of rules which describe what a man should do in every conceivable set of circumstances. Extra-sensory perception Dan Sloughter (Furman University) Can a Machine Think? December 4, 2006 8 / 8