Let there be a language defined as:
Here, M is TM that writes a non-blank symbol on the second tape for some input string.
First, show that is reduced to C, then prove that C is undecidable.
Assume that a Turing Machine R will decide C.
Construct a Turing Machine S that uses R to decide :
- A Tuning machine with any input string w is used to construct a two-tape TM, .
:
Run M on w on first tape.
If M accepts, then write non-blank symbol on the second tape.
- Now, run R on to find out whethercan write a non-blank symbol on the second tape.
- If R accepts, then M will accept w. This means thataccepted. Otherwise,is rejected.
Now, since S decides and is undesirable, this makes R undecidable.