arXiv · 1501.04245
Complexity of Problems of Commutative Grammars
Abstract
We consider commutative regular and context-free grammars, or, in other words, Parikh images of regular and context-free languages. By using linear algebra and a branching analog of the classic Euler theorem, we show that, under an assumption that the terminal alphabet is fixed, the membership problem for regular grammars (given v in binary and a regular commutative grammar G, does G generate v?) is P, and that the equivalence problem for context free grammars (do G_1 and G_2 generate the same language?) is in $\mathrm{Π_2^P}$.
Explore related subjects
Keep this discovery
Eryk Kopczynski. 2015-03-23. Complexity of Problems of Commutative Grammars. https://doi.org/10.2168/lmcs-11(1%3A9)2015
Cite the original work for its findings. Save a collection to share your selection of sources.