4.introduction To Undecidability
4.introduction To Undecidability
In the theory of computation, we often come across such problems that are answered either
'yes' or 'no'. The class of problems which can be answered as 'yes' are called solvable or
decidable. Otherwise, the class of problems is said to be unsolvable or undecidable.
Proof:
Proof:
1. Consider an instance w of P1. Then construct an algorithm such that the algorithm
takes instance w as input and converts it into another instance x of P2. Then apply
that algorithm to check whether x is in P2. If the algorithm answer 'yes' then that
means x is in P2, similarly we can also say that w is in P1. Since we have obtained
P2 after reduction of P1. Similarly if algorithm answer 'no' then x is not in P2, that
also means w is not in P1. This proves that if P1 is undecidable, then P1 is also
undecidable.
2. We assume that P1 is non-RE but P2 is RE. Now construct an algorithm to reduce P1
to P2, but by this algorithm, P2 will be recognized. That means there will be a Turing
machine that says 'yes' if the input is P2 but may or may not halt for the input which
is not in P2. As we know that one can convert an instance of w in P1 to an instance x
in P2. Then apply a TM to check whether x is in P2. If x is accepted that also means
w is accepted. This procedure describes a TM whose language is P1 if w is in P1 then
x is also in P2 and if w is not in P1 then x is also not in P2. This proves that if P1 is
non-RE then P2 is also non-RE.
Le = {M | L(M) = Ф}
Lne = {M | L(M) ≠ Ф}