UNIT6
UNIT6
Decidability
Decidable language
• -A decision problem P is said to be decidable (i.e., have
an algorithm)
if the language L of all yes instances to P is decidable.
Example- (I) (Acceptance problem for DFA) Given a DFA
does it accept a given
word?
• (II) (Emptiness problem for DFA) Given a DFA does it
accept any word?
• (III) (Equivalence problem for DFA) Given two DFAs, do
they accept the
same language?
Undecidable language
• A decision problem P is said to be undecidable if the
language L of all
yes instances to P is not decidable or a language is
undecidable if it is not decidable. An undecidable
language maybe a partially decidable language or
something else but not decidable. If a language is not
even partially decidable , then there exists no Turing
machine for that language.
Partially decidable or Semi-
Decidable Language
• -– A decision problem P is said to be semi-decidable (i.e.,
have a semi-algorithm) if the language L of all yes instances
to P is RE. A language ‘L’ is partially decidable if ‘L’ is a RE
but not REC language.