Skip to article frontmatterSkip to article content

7.4Reductions

The University of Melbourne

Previously, we used diagonalization to show undecidability. We now turn to another technique called reduction.

Schematic diagram of reductions

Schematic diagram of reductions

Reductions can be used to obtain deciders for other problems. For example, we obtained a decider for NFA Acceptance by reducing it to DFA Acceptance, and a decider for DFA Equivalence by reducing it to DFA Emptiness.

Reductions can also be used to prove other problems are undecidable. This is because the statement “BB is decidable implies that AA is decidable” is logically equivalent to the statement “AA is undecidable implies that BB is undecidable”. We have seen such a reduction in the first proof of the undecidability of ATMA_{TM} in Section 7.2.4 where we used a decider for ATMA_{TM} to construct a decider for LDL_D.

Thus, by showing that ABA \leq B, we get that:

In summary, ABA \leq B means that AA is as easy as (or no harder than) BB.

7.4.1Halting Problem

The Halting Problem is defined as follows: given an encoding of a Turing machine MM and a string ww, decide if MM halts on ww. The corresponding language HALTTMHALT_{TM} consists of M,w\langle M, w \rangle such that MM halts on ww.

Since ATMA_{TM} is undecidable, we conclude that HALTTMHALT_{TM} is undecidable.

7.4.2TM Emptiness

The TM Emptiness Problem is defined as follows: given an encoding of a Turing machine MM, decide if L(M)=L(M) = \emptyset, i.e. if MM does not accept any string. The corresponding language EMPTYTMEMPTY_{TM} consists of M,w\langle M, w \rangle such that MM halts on ww.

Since ATMA_{TM} is undecidable, we conclude that EMPTYTMEMPTY_{TM} is undecidable.

7.4.3TM Equivalence

The TM Equivalence Problem is defined as follows: given an encoding of two Turing machines M1M_1 and M2M_2, decide if L(M1)=L(M2)L(M_1) = L(M_2), i.e. for every string ww, M1M_1 accepts ww if and only if M2M_2 accepts ww. The corresponding language EQTMEQ_{TM} consists of M1,M2\langle M_1, M_2 \rangle such that L(M1)=L(M2)L(M_1) = L(M_2).

Since EMPTYTMEMPTY_{TM} is undecidable, we conclude that EQTMEQ_{TM} is undecidable.