A context free grammar G = (N, Σ, P, S) is in binary form if for all productions
A we have |α| ≤ 2. In addition we say that G is in Chomsky Normaml Form (CNF) if it is in binary form and if the only sorts of production have the form
A → a (where a is a terminal symbol)
A → BC (where B and C are non-terminals)
We will show that every CFG G is λ- equivalent to a grammar G' that is in CNF (i.e. the only difference between G and G' is that may or may not be included. Since we know how to test for the presence of in our languages we will be able to construct equivalent grammars.