支持位爆破的术语级推理
Term-Level Reasoning in Support of Bit-blasting
摘要:
GL是一个经过验证的工具,用于使用布尔方法(如BDD推理和可满足性检查)证明ACL 2定理。在其典型操作中,GL递归地遍历一个项,计算表示每个子项值的符号对象。在GL的旧版本中,这样的符号对象可以使用布尔函数来压缩表示整数和布尔子字段的许多可能值,但需要反映其术语可能采取的所有可能值的具体结构。当一个项有许多可能的值不能共享这样的表示时,这很容易导致blowup,因为GL必须进行大小写拆分。为了解决这个问题,我们向GL添加了几个功能,允许它使用各种形式的重写来推理类似术语的符号对象。这些特性使得GL可以像ACL 2重写器一样使用规则进行编程,这样用户就可以为那些默认的、类似值的表示会导致大小写爆炸的术语选择更好的范式。在本文中,我们描述了这些新的功能,作为一个激励的例子,我们展示了如何编程重写有效地记录理论的原因。
英文摘要:
GL is a verified tool for proving ACL2 theorems using Boolean methods such as BDD reasoning and satisfiability checking. In its typical operation, GL recursively traverses a term, computing a symbolic object representing the value of each subterm. In older versions of GL, such a symbolic object could use Boolean functions to compactly represent many possible values for integer and Boolean subfields, but otherwise needed to reflect the concrete structure of all possiblealues that its term might take. When a term has many possible values that can't share such a representation, this can easily cause blowups because GL must then case-split. To address this problem, we have added several features to GL that allow it to reason about term-like symbolic objects using various forms of rewriting. These features allow GL to be programmed with rules much like the ACL2 rewriter, so that users may choose a better normal form for terms for which the default, value-like representation would otherwise cause case explosions. In this paper we describe these new features; as a motivating example, we show how to program the rewriter to reason effectively about the theory of records.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。