Unit VI_19-20
Unit VI_19-20
W Є ⅀*
M1
M3
M2
W Є ⅀*
M1
M3
M2
• Let M decide L
• Let M1 decide L’s complement
• Let all accepting states of M be rejecting states
in M1 and rejecting states in M be accepting
states in M1
Closure Properties of Decidable & Turing
Recognizable Languages
Operation Decidable Turing Recognizable
Union Y Y
Intersection Y Y
Concatenation Y Y
Star Y Y
Complement Y N
Problem Solving as Language Recognition
Here the set of nodes, the set of edges and k are separated by ; in that order in the strings.
• There are infinitely many 'Yes' instances and 'No' instances for this problem.
• The set of 'Yes' instances is a language and so is the set of 'No' instances as well as the set
of all instances and many others for this problem.
Problem Solving as Language Recognition
• We can thus see that solving the problem for a given instance is equivalent to checking
whether or not the string representing the given instance belongs to the language of
'Yes' instances of the problem.
• That is, the problem solving is the same as the language recognition.
• A problem can be solved if and only if the language of its 'Yes' instances is recognizable
or decidable by a Turing machine.
• It is not solvable if the language is merely acceptable but not recognizable, or even worse
if it is not even acceptable.
Unsolvable Problems
• We have learned that deterministic Turing machines are
capable of doing any computation that computers can do,
that is computationally they are equally powerful, and that
any of their variations do not exceed the computational
power of deterministic Turing machines.
Sorting
Complexity Class NP Hard
• A problem is NP Hard if all other NP problems
can be polynomially reduced to it
• A problem is NP complete if it is NP Hard and
in NP