Deciding the inequivalence of context-free grammars with 1-letter terminal alphabet is ΣP2-complete

https://doi.org/10.1016/0304-3975(84)90092-6Get rights and content
Under an Elsevier user license
open archive

Abstract

This paper deals with the complexity of context-free grammars with 1-letter terminal alphabet. We study the complexity of the membership problem and the inequivalence problem. We show that the first problem is NP-complete and the second one is ΣP2-complete with respect to log-space reduction. The second result also implies that the inequivalence problem is in Pspace, solving an open problem stated by Hunt, Rosenkrantz and Szymanski (1976).

Cited by (0)