CFL子字和超字闭包的有限自动机:描述和计算复杂性
Finite Automata for the Sub- and Superword Closure of CFLs: Descriptional and Computational Complexity
摘要:
我们回答了Gruber,Holzer,Kutrib,2009年提出的关于表示上下文无关文法(CFG)的子或超字闭包的状态复杂度的两个公开问题:(1)我们证明了$2^{\mathcal{O}(n)}$关于表示大小为$n$的CFG的子字闭包的非确定性有限自动机(NFA)的大小的(紧)上界。(2)我们提出了一类CFG,其表示子字闭包的最小确定性有限自动机与(1)中的$2^{2^{\mathcal{O}(n)}}$的上界相匹配。此外,我们证明了NFA代表子或超词封闭语言的不等价问题是NP完全的,而不是PSPACE完全的一般NFA。最后,我们将我们的结果扩展到一个近似的方法来攻击CFGs的不等价问题。
英文摘要:
We answer two open questions by (Gruber, Holzer, Kutrib, 2009) on the state-complexity of representing sub- or superword closures of context-free grammars (CFGs): (1) We prove a (tight) upper bound of $2^{\mathcal{O}(n)}$ on the size of nondeterministic finite automata (NFAs) representing the subword closure of a CFG of size $n$. (2) We present a family of CFGs for which the minimal deterministic finite automata representing their subword closure matches the upper-bound of $2^{2^{\mathcal{O}(n)}}$ following from (1). Furthermore, we prove that the inequivalence problem for NFAs representing sub- or superword-closed languages is only NP-complete as opposed to PSPACE-complete for general NFAs. Finally, we extend our results into an approximation method to attack inequivalence problems for CFGs.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。