CSC 4170 Theory of Computation Mapping Reducibility Section 5.3.

Slides:



Advertisements
Similar presentations
Variants of Turing machines
Advertisements

1 Introduction to Computability Theory Lecture14: Recap Prof. Amos Israeli.
Mapping Reducibility Sipser 5.3 (pages ).
1 Introduction to Computability Theory Lecture13: Mapping Reductions Prof. Amos Israeli.
Mapping Reducibility Sipser 5.3 (pages ). CS 311 Fall Computable functions Definition 5.17: A function f:Σ*→Σ* is a computable function.
Automata & Formal Languages, Feodor F. Dragan, Kent State University 1 CHAPTER 5 Reducibility Contents Undecidable Problems from Language Theory.
Prof. Busch - LSU1 Reductions. Prof. Busch - LSU2 Problem is reduced to problem If we can solve problem then we can solve problem.
CSCI 2670 Introduction to Theory of Computing November 4, 2004.
Decidable languages Section 4.1 CSC 4170 Theory of Computation.
1Computer Sciences Department. Book: INTRODUCTION TO THE THEORY OF COMPUTATION, SECOND EDITION, by: MICHAEL SIPSER Reference 3Computer Sciences Department.
Overview of the theory of computation Episode 3 0 Turing machines The traditional concepts of computability, decidability and recursive enumerability.
Donghyun (David) Kim Department of Mathematics and Computer Science North Carolina Central University 1 Chapter 4 Decidability Some slides are in courtesy.
Costas Busch - RPI1 Decidability. Costas Busch - RPI2 Another famous undecidable problem: The halting problem.
CSC 3130: Automata theory and formal languages Andrej Bogdanov The Chinese University of Hong Kong Undecidable.
 2005 SDU Lecture14 Mapping Reducibility, Complexity.
The Acceptance Problem for TMs
Theory of Computability
CSCI 2670 Introduction to Theory of Computing
CSCI 2670 Introduction to Theory of Computing
Theory of Computability
Busch Complexity Lectures: Reductions
Reductions.
CSCI 2670 Introduction to Theory of Computing
Reductions Costas Busch - LSU.
Automata, Grammars and Languages
Theory of Computability
CSC 4170 Theory of Computation Turing reducibility Section 6.3.
Reducibility The Chinese University of Hong Kong Fall 2010
CSCI 2670 Introduction to Theory of Computing
Intro to Theory of Computation
CS154, Lecture 10: Rice’s Theorem, Oracle Machines
CSC 4170 Theory of Computation Nondeterminism Section 1.2.
Busch Complexity Lectures: Undecidable Problems (unsolvable problems)
CS154, Lecture 8: Undecidability, Mapping Reductions
CS154, Lecture 10: Rice’s Theorem, Oracle Machines
CS154, Lecture 8: Undecidability, Mapping Reductions
Decidability of logical theories
CSE 105 theory of computation
CSCI 2670 Introduction to Theory of Computing
Decidable Languages Costas Busch - LSU.
Decidability and Undecidability
CSC 4170 Theory of Computation Decidable languages Section 4.1.
Reducability Sipser, pages
CSCI 2670 Introduction to Theory of Computing
Theory of Computability
CSC 4170 Theory of Computation Mapping Reducibility Section 5.3.
CSCI 2670 Introduction to Theory of Computing
More undecidable languages
Theory of Computability
The Church-Turing Thesis
CSCI 2670 Introduction to Theory of Computing
Decidability of logical theories
CSCI 2670 Introduction to Theory of Computing
Theory of Computability
CSC 4170 Theory of Computation Nondeterminism Section 1.2.
CSE 105 theory of computation
Theory of Computability
Instructor: Aaron Roth
Theory of Computability
More undecidable languages
CSCI 2670 Introduction to Theory of Computing
Intro to Theory of Computation
Theory of Computability
Variants of Turing machines
Automata, Grammars and Languages
More Undecidable Problems
Mathematical and computability-theoretic preliminaries
Intro to Theory of Computation
Intro to Theory of Computation
CSE 105 theory of computation
Presentation transcript:

CSC 4170 Theory of Computation Mapping Reducibility Section 5.3

Definition of mapping reducibility Giorgi Japaridze Theory of Computability Let A and B be languages over an alphabet . A function f: ** is said to be a mapping reduction of A to B iff f is computable and, for every w*, we have wA iff f(w)B. A is said to be mapping reducible to B, written AmB, iff there is a mapping reduction of A to B. * * A B f f

An example of a mapping reduction 5.3.b Giorgi Japaridze Theory of Computability Let f be the function computed by the following TMO M: M=“On input <N,w>, where N is an NFA and w is a string, 1. Convert N into an equivalent DFA D using the algorithm we learned; 2. Return <D,w>.” f is then a mapping reduction of what language to what language? * * <N,w> <D,w> <D,w> <N,w>

Using mapping reducibility for proving decidability/undecidability Giorgi Japaridze Theory of Computability Theorem 5.22: If AmB and B is decidable, then A is decidable. Proof: Let DB be a decider for B and f be a reduction from A to B. We describe a decider DA for A as follows. DA= “On input w: 1. Compute f(w). 2. Run DB on input f(w) and do whatever DB does.” Corollary 5.23: If AmB and A is undecidable, then B is undecidable. Theorem 5.22 remains valid with “Turing recognizable” instead of “decidable”. So does Corollary 5.23.

A mapping reduction of ATM to HALTTM Giorgi Japaridze Theory of Computability For every TM M, let M* be the following TM: M* = “On input x: 1. Run M on x. 2. If M accepts, accept. 3. If M rejects, enter an infinite loop.” Thus, If M accepts input x, then M* If M explicitly rejects x, then M* If M never halts on x, then M* To summarize, M accepts x iff M* Let then f be the function defined by f(<M,w>)=<M*,w>. Is f computable? Obviously <M,w>ATM iff f(<M,w>) i.e. f is a So, since ATM is undecidable, HALTTM is undecidable as well.