0
10kviews
Compare recursive and recursively enumerable languages
1 Answer
written 8.5 years ago by | • modified 8.5 years ago |
Recursive Language:
Let L be a language over an input and if TM 'T' (Turing machine T) excepts every woed in L and rejects every word of L' it is called as recursive language.
Example:
String ends with '101'
Number of 'a'= number of 'b'
Accept(T) = L
Reject(T) = L'
Loop(T) = ϕϕ
ϕ = nullϕ = null
Recursive enumeration language:
Let L be a langauage over an input, and if TM 'T' excepts every word of L and rejects or loops every word in L' then it is called recursive enumeration language.
Example:
$a^nb^n$
Accept(T) = L
Reject(T) + Loop(T) = L'