用于检查语言包含的完全抽象
Complete Abstractions for Checking Language Inclusion
摘要:
研究了语言包含问题$L_1 \subseteq L_2$,其中$L_1$是正则的或上下文无关的.我们的方法依赖于抽象的解释和检查是否过近似抽象的$L_1$,通过过近似的Kleene迭代其最小不动点特征,包括在$L_2$。我们证明了一个语言包含问题是可判定的,只要这个过度近似的抽象满足一个完备性条件(即,其精度损失不会引起错误警报)并防止无限上升链(即,它保证最小定点计算的终止)。语言的这种过度近似抽象可以使用词的准序关系来定义,其中抽象给出所有词的语言“大于或等于”该准序的给定输入词。我们提出了一系列这样的准序,使我们能够系统地设计决策程序,为不同的语言包含问题,如正则语言到正则语言或到跟踪集的一个计数器网络,和上下文无关的语言到正则语言。在正则语言之间的包含的情况下,一些诱导的包含检查过程对应于众所周知的最先进的算法,如所谓的反链算法。最后,我们提供了一个等价的语言包含检查算法的基础上最大的不动点计算,依赖于语言的不动点,据我们所知,以前不知道。
英文摘要:
We study the language inclusion problem $L_1 \subseteq L_2$ where $L_1$ is regular or context-free. Our approach relies on abstract interpretation and checks whether an overapproximating abstraction of $L_1$, obtained by overapproximating the Kleene iterates of its least fixpoint characterization, is included in $L_2$. We show that a language inclusion problem is decidable whenever this overapproximating abstraction satisfies a completeness condition (i.e., its loss of precision causes no false alarm) and prevents infinite ascending chains (i.e., it guarantees termination of least fixpoint computations). This overapproximating abstraction of languages can be defined using quasiorder relations on words, where the abstraction gives the language of all the words "greater than or equal to" a given input word for that quasiorder. We put forward a range of such quasiorders that allow us to systematically design decision procedures for different language inclusion problems such as regular languages into regular languages or into trace sets of one-counter nets, and context-free languages into regular languages. In the case of inclusion between regular languages, some of the induced inclusion checking procedures correspond to well-known state-of-the-art algorithms like the so-called antichain algorithms. Finally, we provide an equivalent language inclusion checking algorithm based on a greatest fixpoint computation that relies on quotients of languages and, to the best of our knowledge, was not previously known.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。