Chapter 5: Q32P (page 241)
Prove that the following two languages are undecidable.
- and are CFGs where. (Hint: Adapt the hint in Problem 5.21.)
- .
Short Answer
- OVERLAPCFG is undecidable.
- PREFIX - FREECFG is undecidable.
/*! This file is auto-generated */ .wp-block-button__link{color:#fff;background-color:#32373c;border-radius:9999px;box-shadow:none;text-decoration:none;padding:calc(.667em + 2px) calc(1.333em + 2px);font-size:1.125em}.wp-block-file__button{background:#32373c;color:#fff;text-decoration:none}
Learning Materials
Features
Discover
Chapter 5: Q32P (page 241)
Prove that the following two languages are undecidable.
All the tools & learning materials you need for study success - in one app.
Get started for free
Consider the problem of determining whether a Turing machine on an input w ever attempts to move its head left at any point during its computation on . Formulate this problem as a language and show that it is decidable.
Question: Consider the problem of determining whether a single-tape Turing machine ever writes a blank symbol over a nonblank symbol during the course of its computation on any input string. Formulate this problem as a language and show that it is undecidable.
If and B is a regular language, does that imply that A is a regular language? Why or why not?
Show that is undecidable.
Say that a CFG is minimal if none of its rules can be removed without changing the language generated. Let MINCFG = is a minimal CFG}.
What do you think about this solution?
We value your feedback to improve our textbook solutions.