非数值弱关系域
Non-Numerical Weakly Relational Domains
AI总结:
本文研究非数值弱关系域的构造,通过通用方法扩展常量传播并跟踪不等式合取,为格结构提供精确多项式算法,为NP完全情况提供抽象版本,并构造赋值和守卫的抽象转换器。
摘要:
Octagon的弱关系域为数值属性提供了精度与效率之间的良好折中。本文关注非数值关系域的构造。我们提供了一种弱关系域的通用构造方法,并通过析取扩展常量传播来进行示例说明。由于得到的2-析取公式域的可满足性是NP完全的,我们提供了一种更抽象的弱关系域的通用构造,其中限制和最小上界等抽象操作可以高效实现。在第二步中,我们考虑一种关系域,用于跟踪变量之间以及变量与常量之间的不等式合取,适用于值的任意偏序。示例包括子(多重)集,以及字符串上的前缀、子串或分散子串排序。当偏序是格时,我们为可满足性、限制和析取的最佳抽象提供精确的多项式算法。作为格构造的补充,我们发现一般情况下合取的可满足性是NP完全的。因此,我们再次提供了限制、合取和连接的多项式抽象版本。通过使用我们的通用构造,这些域被扩展为额外跟踪析取的弱关系域。对于我们的所有域,我们说明了如何为赋值和守卫构造抽象转换器。
英文摘要:
The weakly relational domain of Octagons offers a decent compromise between precision and efficiency for numerical properties. Here, we are concerned with the construction of non-numerical relational domains. We provide a general construction of weakly relational domains, which we exemplify with an extension of constant propagation by disjunctions. Since for the resulting domain of 2-disjunctive formulas, satisfiability is NP-complete, we provide a general construction for a further, more abstract weakly relational domain where the abstract operations of restriction and least upper bound can be efficiently implemented. In the second step, we consider a relational domain that tracks conjunctions of inequalities between variables, and between variables and constants for arbitrary partial orders of values. Examples are sub(multi)sets, as well as prefix, substring or scattered substring orderings on strings. When the partial order is a lattice, we provide precise polynomial algorithms for satisfiability, restriction, and the best abstraction of disjunction. Complementary to the constructions for lattices, we find that, in general, satisfiability of conjunctions is NP-complete. We therefore again provide polynomial abstract versions of restriction, conjunction, and join. By using our generic constructions, these domains are extended to weakly relational domains that additionally track disjunctions. For all our domains, we indicate how abstract transformers for assignments and guards can be constructed.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。