加载中…
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 and , tell whether or not they describe the same set of words of length . Obviously, the naive approach requires exponential time with respect to . By combining two classic algorithmic ideas, I introduce a algorithm for this problem. Moreover, the ideas behind the algorithm prove useful in various other scenarious.

生成讲解博客的中文版本

生成AI智能校验的中文版本