arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2109.02805cs.LO
收藏

有限域上的一阶逻辑:语义求值与SMT求解竞争

First-Order Logic in Finite Domains: Where Semantic Evaluation Competes with SMT Solving

Wolfgang Schreiner, Franz-Xaver Reichl

摘要:

在本文中,我们比较了由数学模型检查器RISCAL支持的两种用于确定有限域上一阶公式有效性的替代机制:首先,语义评价的原始方法(基于RISCAL语言的指称语义的实现),第二,SMT求解的后一种方法(基于RISCAL公式到SMT-LIB公式的可满足性保持转换,作为SMT求解器的输入)。在简短介绍了这两种方法并讨论了它们的基本优点和缺点之后,我们通过一组人工基准和一组来自RISCAL实际应用的基准对它们进行了定量评估;为此,我们应用了最先进的SMT求解器Boolector,CVC 4,Yices和Z3。我们的基准测试表明,(虽然SMT解决一般大大优于语义评估),各种SMT求解器表现出很大的性能差异。更重要的是,我们确定类的公式,语义评估是能够竞争(甚至优于)可满足性解决,概述了一些改进的空间,在翻译的RISCAL公式SMT-LIB公式,以及在目前的SMT技术。

英文摘要:

In this paper, we compare two alternative mechanisms for deciding the validity of first-order formulas over finite domains supported by the mathematical model checker RISCAL: first, the original approach of semantic evaluation (based on an implementation of the denotational semantics of the RISCAL language) and, second, the later approach of SMT solving (based on satisfiability preserving translations of RISCAL formulas to SMT-LIB formulas as inputs for SMT solvers). After a short presentation of the two approaches and a discussion of their fundamental pros and cons, we quantitatively evaluate them, both by a set of artificial benchmarks and by a set of benchmarks taken from real-life applications of RISCAL; for this, we apply the state-of-the-art SMT solvers Boolector, CVC4, Yices, and Z3. Our benchmarks demonstrate that (while SMT solving generally vastly outperforms semantic evaluation), the various SMT solvers exhibit great performance differences. More important, we identify classes of formulas where semantic evaluation is able to compete with (or even outperform) satisfiability solving, outlining some room for improvements in the translation of RISCAL formulas to SMT-LIB formulas as well as in the current SMT technology.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑