CS5371 Theory of Computation: Lecture 14: Computability V (Prove by Reduction)
CS5371 Theory of Computation: Lecture 14: Computability V (Prove by Reduction)
Theory of Computation
Lecture 14: Computability V
(Prove by Reduction)
Objectives
•This lecture shows more undecidable
languages
•Our proof is not based on diagonalization
•Instead, we reduce the problem of
deciding ATM to the problem of deciding
a language B
–Precisely, we show that if we know how to
decide B, then we can decide ATM
Halting Problem
• Recall that ATM is the language
{M, w| M is a TM that accepts w}
... and we have shown that ATM is undecidable
if R is a decider, so is S. As no decider
for S exists, REGULARTM is undecidable
Test a TM with certain property
• Thus, the language
{M| M is a TM and L(M) is empty}
or the language
{M| M is a TM and L(M) is regular}
are both undecidable
Rice Theorem
Let P be any specific non-trivial property
describing a language of a TM
Trivial property means: “ All TM has this property”or “All
TM does not have this property”
Non-trivial means: NOT “ all TM has this property”and
NOT “ all TM does not have this property”
Example of trivial: L(M) contains { } as its subset
Very easy!!!
We set M1 = M,
and M2 = a TM that rejects all strings.
Quick Quiz:
Quick Quiz:
How to prove?
Next Time
•Post’
s Correspondence Problem
–An undecidable problem with dominos
•Computable functions
–Another way of looking at reduction