Let P be a property of the language of a Turing machine. We say P is non-trivial if it fulfills the following 2 conditions: - Some, but not all Turing machines satisfy the property P, and - P is a property of the language of the machines – i.e., if M1 and M2 are two Turing machines and L(M1) =L(M2), then they either both satisfy property P or they both do not satisfy property P. ---------------------------------------------------------------------- Note:AT M,HALTT M, and LCF are all problems related to non-trivialproperties. Rice’s Theorem:LetPbe any non-trivial property of the language of aTuring machine. DefineLPas follows: LP={〈M〉 |M is a Turing machine satisfying property P}. ThenLPis undecidable. ---------------------------------------------------------------------- In this problem, you will prove Rice’s Theorem. You may assume that (i) ifL(M) =∅, then〈M〉/∈LP, and (ii) MP is a Turing machine such that〈MP〉 ∈ LP. (a) Use the two assumptions above to create a machine M2 that sat-isfies P iff M accepts w, where〈M, w〉is the input the ATM. Describe L(M2). (b) Use M2 to prove LP is not decidable by showing ATM reduces to LP.
Let P be a property of the language of a Turing machine. We say P is non-trivial if it fulfills the following 2 conditions:
- Some, but not all Turing machines satisfy the property P, and
- P is a property of the language of the machines – i.e., if M1 and M2 are two Turing machines and L(M1) =L(M2), then they either both satisfy property P or they both do not satisfy property P.
----------------------------------------------------------------------
Note:AT M,HALTT M, and LCF are all problems related to non-trivialproperties.
Rice’s Theorem:LetPbe any non-trivial property of the language of aTuring machine. DefineLPas follows:
LP={〈M〉 |M is a Turing machine satisfying property P}.
ThenLPis undecidable.
----------------------------------------------------------------------
In this problem, you will prove Rice’s Theorem.
You may assume that (i) ifL(M) =∅, then〈M〉/∈LP, and (ii) MP is a Turing machine such that〈MP〉 ∈ LP.
(a) Use the two assumptions above to create a machine M2 that sat-isfies P iff M accepts w, where〈M, w〉is the input the ATM. Describe L(M2).
(b) Use M2 to prove LP is not decidable by showing ATM reduces to LP.
![](/static/compass_v2/shared-icons/check-mark.png)
Trending now
This is a popular solution!
Step by step
Solved in 3 steps with 1 images
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
![Advanced Engineering Mathematics](https://www.bartleby.com/isbn_cover_images/9780470458365/9780470458365_smallCoverImage.gif)
![Numerical Methods for Engineers](https://www.bartleby.com/isbn_cover_images/9780073397924/9780073397924_smallCoverImage.gif)
![Introductory Mathematics for Engineering Applicat…](https://www.bartleby.com/isbn_cover_images/9781118141809/9781118141809_smallCoverImage.gif)
![Advanced Engineering Mathematics](https://www.bartleby.com/isbn_cover_images/9780470458365/9780470458365_smallCoverImage.gif)
![Numerical Methods for Engineers](https://www.bartleby.com/isbn_cover_images/9780073397924/9780073397924_smallCoverImage.gif)
![Introductory Mathematics for Engineering Applicat…](https://www.bartleby.com/isbn_cover_images/9781118141809/9781118141809_smallCoverImage.gif)
![Mathematics For Machine Technology](https://www.bartleby.com/isbn_cover_images/9781337798310/9781337798310_smallCoverImage.jpg)
![Basic Technical Mathematics](https://www.bartleby.com/isbn_cover_images/9780134437705/9780134437705_smallCoverImage.gif)
![Topology](https://www.bartleby.com/isbn_cover_images/9780134689517/9780134689517_smallCoverImage.gif)