How is it possible to prove whether the language $\{a, b\}^{∗} \setminus \{S → ε, S → aSbS\}$ is context free?
Asked
Active
Viewed 39 times
1 Answers
1
The first step is finding a simpler description of the language generated by the grammar $S \to aSbS \mid \epsilon$.
The second step is deducing a description of the complement, which is the language you're actually interested in.
Finally, in order to show that the language is context-free, you can consult our reference question on this topic.
Yuval Filmus
- 280,205
- 27
- 317
- 514