See Kozen (1997) lectures 19, 20
CNF and GNF cannot generate .
- Replace single letters with non-terminals
- Remove
- Remove unit productions.
- Remove productions of length greater than .k
Theorem 35.1(Pumping lemma for CFLs, Hopcroft et al. (2007) 7.18).
Let be a CFL. Then there exists a constant such that if is any string in such that is at least , then we can write , subject to the following conditions:
- .
- .
- For all , .
References
Hopcroft, J. E., Motwani, R., & Ullman, J. D. (2007). Introduction to Automata Theory, Languages, and Computation (3. ed). Pearson.
Kozen, D. C. (1997). Automata and Computability. Springer New York. https://doi.org/10.1007/978-1-4612-1844-9