On the equivalence, containment, and covering problems for the regular and context-free languages

作者:

Highlights:

摘要

We consider the complexity of the equivalence and containment problems for regular expressions and context-free grammars, concentrating on the relationship between complexity and various language properties. Finiteness and boundedness of languages are shown to play important roles in the complexity of these problems. An encoding into grammars of Turing machine computations exponential in the size of the grammar is used to prove several exponential lower bounds. These lower bounds include exponential time for testing equivalence of grammars generating finite sets, and exponential space for testing equivalence of non-self-embedding grammars. Several problems which might be complex because of this encoding are shown to simplify for linear grammars. Other problems considered include grammatical covering and structural equivalence for right-linear, linear, and arbitrary grammars.

论文关键词:

论文评审过程:Received 18 December 1975, Available online 27 December 2007.

论文官网地址:https://doi.org/10.1016/S0022-0000(76)80038-4