This question was asked at Gate 2009. I don't understand how it's not recursive?
L = {Am Bm C An Bn | m, n ≥ 0}
L' = {Ai Bj Ck | i, j, k ≥ 0}
Why is language {L intersection L'} not recursive?
This question was asked at Gate 2009. I don't understand how it's not recursive?
L = {Am Bm C An Bn | m, n ≥ 0}
L' = {Ai Bj Ck | i, j, k ≥ 0}
Why is language {L intersection L'} not recursive?
Since "recursive" is a general category of language that includes all simpler classes of language, the question is probably meant to be understood as why the given language is something simpler than a recursive language—say, that it is a type 1, 2, or 3. Otherwise the question makes no sense (since it's clearly recursive.)
The answer can be found by looking at the intersection:
L ∩ L' = {Am Bm C | m ≥ 0}
This is just the language of all balanced parentheses followed by C, which can be recognized by a deterministic push-down automaton and hence is a context-free language.