Define the given problem in the form of a language:
To proveis undecidable, useto reduceas undecidable.
localid="1663253036066"
It is known thatis undecidable.
Letbe decidable and let R decide it.
For any state of Tuning Machine M, stateis useless if
Now, use R to check whetheris a useless state.
Define TM S, which decidesby using the R foras follows:
, M being Turing Machine
- Run R on input
- If R accepts,accepts, if not, rejects.
But sinceis undecidable, so it is not possible to construct a Turing Machine that will decide .
Hence, is undecidable.