Prove that a particular CFG grammar generates language L
L = { w ∈ {x, y}* | N(y) = 2N(x) }
G = S -> yySx | ySxSy | xSyy | SS | e
could you show how to prove it?
thank you
L = { w ∈ {x, y}* | N(y) = 2N(x) }
G = S -> yySx | ySxSy | xSyy | SS | e
could you show how to prove it?
thank you