首页> 外文会议>International Conference on Computer Aided Verification(CAV 2007); 20070703-07; Berlin(DE) >LIRA: Handling Constraints of Linear Arithmetics over the Integers and the Reals (Tool Paper)
【24h】

LIRA: Handling Constraints of Linear Arithmetics over the Integers and the Reals (Tool Paper)

机译:LIRA:处理整数和实数上的线性算术约束(工具文件)

获取原文
获取原文并翻译 | 示例

摘要

The mechanization of many verification tasks relies on efficient implementations of decision procedures for fragments of first-order logic. Interactive theorem provers like PVS also make use of such decision procedures to increase the level of automation. Our tool LIRA1 implements decision procedures based on automata-theoretic techniques for first-order logics with linear arithmetic, namely, for FO(N, +), FO(Z, +, <), and FO(M, Z, +, <). The theoretical foundations for using automata to decide logics like Presburger arithmetic, I.e., FO(N, +) were laid in the 1960s [4]: For Presburger arithmetic, the elements of the domain are represented by finite words, and for a given formula, one constructs recursively over the formula structure an automaton that accepts precisely the words that represent the natural numbers that satisfy the formula. Automata constructions handle the logical connectives and quantifiers. A similar approach works for FO(Z, +, <) and FO(K, Z, +. <). To represent reals, one uses infinite words. In [2], it is shown that weak deterministic Buchi automata (wdbas) suffice to decide FO(R, Z, +, <). Wdbas are a restricted class of Buechi automata, which can be handled algorithmically almost as efficiently as deterministic finite automata (dfas). LIRA also provides an automata library that efficiently represents and manipulates DFAs and WDBAs. Lira's automata library can be compared to a BDD library for representing and manipulating finite sets encoded by booleans. Instead of BDDs, LIRA uses DFAs to represent and manipulate sets that are definable in FO(N, +) and FO(Z, +, <), and uses wdbas for sets definable in FO(E, Z, +, <). Efficiently representing and manipulating such definable sets has applications beyond deciding these logics efficiently. For instance, in the safety verification of integer-counter systems and hybrid systems one has to cope with such sets. Furthermore, approaches like regular model checking rely on manipulating automata efficiently. Lira's automata library can be used in all these applications. Closely related to lira are lash [13], prestaf [5], and mona [12]. Like lira's automata library, LASH provides operations for automata over finite and infinite words. LIRA outperforms lash by several orders of magnitude. One reason for the speedup are novel automata constructions. PRESTAF's and MONA's automata libraries only support automata over finite words and can only handle Presburger definable sets. Moreover, MONA's automata library is not tailored to the representation and manipulation of Presburger definable sets. The OMEGA library [14] is related to LIRA since it allows one to represent and manipulate sets definable in FO(Z,+,<). In contrast to LIRA, it does not support the reals and uses a formula-based set representation, which does not have a canonical form. Heuristics are used to simplify the set representations. SMT solvers like MATHSAT [3] and YICES [9] are also related to LIRA since they provide decision procedures for fragments of linear arithmetic over the integers and reals. However, these solvers do not handle quantifiers at all or only in a limited way. Note that most current SMT solvers also handle other fragments of first-order theories and combinations thereof. In the following, in §2, we give implementation details and list some features of LIRA, and in §3, we report on applications and performance.
机译:许多验证任务的机械化依赖于一阶逻辑片段的决策程序的有效实现。像PVS这样的交互式定理证明者也利用这种决策程序来提高自动化水平。我们的工具LIRA1基于自动机理论技术,针对具有线性算法的一阶逻辑,即FO(N,+),FO(Z,+,<)和FO(M,Z,+,< )。在1960年代[4]奠定了使用自动机确定诸如Presburger算术,Ie,FO(N,+)之类的逻辑的理论基础[4]:对于Presburger算术,该域的元素由有限词表示,并具有给定的公式,则可以在公式结构上递归构造一个自动机,该自动机可以精确地接受表示满足公式的自然数的单词。自动机构造处理逻辑连接词和量词。类似的方法适用于FO(Z,+,<)和FO(K,Z,+。<)。为了表示实数,人们使用了无限的单词。在[2]中,表明弱确定性Buchi自动机(wdbas)足以确定FO(R,Z,+,<)。 Wdbas是Buechi自动机的一种受限类,可以在算法上与确定性有限自动机(dfas)一样高效地进行处理。 LIRA还提供了一个自动机库,可以有效地表示和操纵DFA和WDBA。可以将Lira的自动机库与BDD库进行比较,以表示和处理由布尔值编码的有限集。 LIRA代替BDD,使用DFA来表示和操纵在FO(N,+)和FO(Z,+,<)中定义的集合,并使用wdbas来在FO(E,Z,+,<)中定义的集合。有效地表示和操纵此类可定义的集合的应用范围超出了有效地确定这些逻辑的范围。例如,在整数计数器系统和混合系统的安全验证中,必须处理这样的集合。此外,诸如常规模型检查之类的方法依赖于有效地操纵自动机。 Lira的自动机库可用于所有这些应用程序。与里拉关系密切的是睫毛[13],前staf [5]和蒙娜娜[12]。像lira的自动机库一样,LASH为有限和无限单词提供自动机操作。 LIRA比睫毛好几个数量级。加速的原因之一是新颖的自动机构造。 PRESTAF和MONA的自动机库仅支持有限字的自动机,并且只能处理Presburger可定义的集。此外,MONA的自动机库并非针对Presburger可定义集的表示和操作量身定制。 OMEGA库[14]与LIRA有关,因为它允许一个人表示和操纵可在FO(Z,+,<)中定义的集合。与LIRA相比,它不支持实数,并使用基于公式的集合表示形式,该形式没有规范形式。启发式用于简化集合表示。像MATHSAT [3]和YICES [9]这样的SMT求解器也与LIRA相关,因为它们为整数和实数上的线性算术片段提供决策程序。但是,这些求解器根本不处理量化器,或者仅以有限的方式处理。注意,大多数当前的SMT求解器还处理其他一阶理论及其组合的片段。接下来,在§2中,我们提供了实现细节,并列出了LIRA的某些功能,在§3中,我们报告了应用程序和性能。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号