{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

hw6_1 - w Prove that L is decidable Hint you should be able...

Info icon This preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
Finite Automata and Theory of Computation October 18, 2007 Handout 13: Homework 6 Professor: Moses Liskov Due: October 25, 2007, in class. Problem 1 Prove that the class of Turing-recognizable languages is closed under concatenation and star. Problem 2 Prove that if an enumerator E produces the strings of L ( E ) in lexicographic order, then L ( E ) is decidable. Problem 3 Prove that if a language L is decidable, then there is an enumerator E such that E enu- merates L and produces the strings of L in lexicographic order. Problem 4 Let L = {h M, w i| M is a TM that moves left at some point during its computation on
Image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: w } . Prove that L is decidable. Hint: you should be able to detect if M loops forever without ever moving left. Problem 5 Let INFINITE DFA = {h M i| M is a DFA that accepts an infinite language } . Prove that INFINITE DFA is decidable. Problem 6 (optional) A 2-stack PDA is simply a PDA with two separate stacks instead of one. Prove that the class of languages that can be recognized by 2-stack PDAs is the class of Turing-recognizable languages. 13-1...
View Full Document

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern