2
$\begingroup$

I've seen the classical proofs of CFLs are not closed under intersection or complement, but I haven't been able to wrap my head around this. Intuitively, I think that this would be not a CFL but I can't think of any counterexamples.

$\endgroup$
1
  • $\begingroup$ symmetric difference. $\endgroup$ Dec 21, 2021 at 0:42

1 Answer 1

2
$\begingroup$

If one of the languages is $\Sigma^*$, what is the union minus the intersection?

Hope that gives you ideas.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.