Consider the following language
is undecidable. This can be proved using contradiction.
Suppose to the contrary that that there exists a TM, , that decides
. This machine takes
as an input. It accepts if
and rejects otherwise.
![](http://thebeardsage.com/wp-content/uploads/2020/04/eqtm1.png)
![Rendered by QuickLaTeX.com Q](http://thebeardsage.com/wp-content/ql-cache/quicklatex.com-a048e3fe799138fe7b2010fa7142f8bc_l3.png)
Using , build another TM
as follows
On input
- Construct a new TM
which rejects everything.
- Run
on
. If
accepts, accept. If
rejects, reject.
Notice the language of the TM is empty. If
accepts
, then the language of
is also empty.
![](http://thebeardsage.com/wp-content/uploads/2020/04/eqtm2.png)
![Rendered by QuickLaTeX.com D](http://thebeardsage.com/wp-content/ql-cache/quicklatex.com-044dbea9fb8e8c710e6b075bd224e769_l3.png)
![Rendered by QuickLaTeX.com N](http://thebeardsage.com/wp-content/ql-cache/quicklatex.com-2814296bcb0556e352232a20721a82df_l3.png)
![Rendered by QuickLaTeX.com Q](http://thebeardsage.com/wp-content/ql-cache/quicklatex.com-a048e3fe799138fe7b2010fa7142f8bc_l3.png)
The machine takes
as an input. It accepts if
and rejects otherwise. In essence, this is a machine that decides
. We say that
reduces to
.
If is decidable, this makes
decidable as well. This is a contradiction. Since
is undecidable,
is also undecidable.