计算机科学 > 形式语言与自动机理论
[提交于 2022年12月8日]
标题:Cocke--Younger--Kasami--Schwartz--Zippel algorithm and relatives
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:The equivalence problem for unambiguous grammars is an important, but very difficult open question in formal language theory. Consider the \emph{limited} equivalence problem for unambiguous grammars -- for two unambiguous grammars $G_1$ and $G_2$, tell whether or not they describe the same set of words of length $n$. Obviously, the naive approach requires exponential time with respect to $n$. By combining two classic algorithmic ideas, I introduce a $O({\rm poly}(n, |G_1|, |G_2|))$ algorithm for this problem. Moreover, the ideas behind the algorithm prove useful in various other scenarious.
提交历史
来自:Vladislav Makarov[v1] 2022年12月8日 星期四 00:00:00 UTC