2. Recall that a language L is decidable if there exists a Turing machine M such that M(x) accepts for all x € L and M(x) rejects for all x¢ L. Also, M is Turing recognizable if there exists a Turing machine M such that M(x) accepts for all r E L and M(x) either rejects or loops for all a ¢ L. Let HALT = {(M,x) | M(x) halts}. Recall that HALT is not decidable. Show that every Turing recognizable language L is Turing-reducible to H ALT. %3D 3. Suppose that each DTM M is encoded as (M) over some alphabet E. Define two languages over E as follows A = {{M)| M rejects the input (M)} {{M)| M accepts the input (M)} B =

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

Q2, 3, 4

2. Recall that a language L is decidable if there exists a Turing machine M such that M(x)
accepts for all x E L and M(x) rejects for all æ ¢ L. Also, M is Turing recognizable if there
exists a Turing machine M such that M(x) accepts for all x E L and M(x) either rejects or
loops for all a ¢ L. Let HALT = {(M, x)| M(x) halts}. Recall that HALT is not decidable.
Show that every Turing recognizable language L is Turing-reducible to HALT.
3. Suppose that each DTM M is encoded as (M) over some alphabet E. Define two languages
over E as follows
A = {(M)| M rejects the input (M)}
B = {(M)| M accepts the input (M)}
For the sake of this problem, you should assume that the statements “M accepts the input
(M)" and "M rejects the input (M)" are both false if it so happens that there are symbols
in the string (M) that are not contained in the input alphabet of M. Prove that there does
not exist a decidable language C C E* for which both the inclusions A C C and BC C are
true.
4. Consider the language
L = {(M, w) | M on input w tries to move its head past the left end of the tape}.
Prove whether L is decidable or not.
Transcribed Image Text:2. Recall that a language L is decidable if there exists a Turing machine M such that M(x) accepts for all x E L and M(x) rejects for all æ ¢ L. Also, M is Turing recognizable if there exists a Turing machine M such that M(x) accepts for all x E L and M(x) either rejects or loops for all a ¢ L. Let HALT = {(M, x)| M(x) halts}. Recall that HALT is not decidable. Show that every Turing recognizable language L is Turing-reducible to HALT. 3. Suppose that each DTM M is encoded as (M) over some alphabet E. Define two languages over E as follows A = {(M)| M rejects the input (M)} B = {(M)| M accepts the input (M)} For the sake of this problem, you should assume that the statements “M accepts the input (M)" and "M rejects the input (M)" are both false if it so happens that there are symbols in the string (M) that are not contained in the input alphabet of M. Prove that there does not exist a decidable language C C E* for which both the inclusions A C C and BC C are true. 4. Consider the language L = {(M, w) | M on input w tries to move its head past the left end of the tape}. Prove whether L is decidable or not.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Knowledge Booster
Adobe Flash
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education