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

有符号位向量和浮点数理论的模优化

Optimization Modulo the Theories of Signed Bit-Vectors and Floating-Point Numbers

Patrick Trentin, Roberto Sebastiani

摘要:

优化模理论(OMT)是SMT的一个重要扩展,它允许找到优化给定目标函数的模型,通常包括线性算术或伪布尔项。然而,许多SMT和OMT应用,特别是来自SW和HW验证的应用,需要处理数字的位精确表示,这在SMT中分别借助于用于整数的位向量(BV)理论和用于实数的浮点数(FP)理论来处理。尽管Nadel和Ryvchin已经提出了一种用于OMT(无符号)BV的方法,但不幸的是,我们不知道任何现有的用于OMT FP的方法。在本文中,我们填补了这一空白。我们提出了一种新的OMT方法,基于吸引子和动态吸引子的新概念,将Nadel和Ryvchin的工作扩展到签名BV,最重要的是,FP。我们已经实现了一些OMT(BV)和OMT(FP)的OptiMathSAT程序,并测试了后者从SMT-LIB库修改后的问题。实证结果支持了新方法的有效性和可行性。

英文摘要:

Optimization Modulo Theories (OMT) is an important extension of SMT which allows for finding models that optimize given objective functions, typically consisting in linear-arithmetic or pseudo-Boolean terms. However, many SMT and OMT applications, in particular from SW and HW verification, require handling bit-precise representations of numbers, which in SMT are handled by means of the theory of Bit-Vectors (BV) for the integers and that of Floating-Point Numbers (FP) for the reals respectively. Whereas an approach for OMT with (unsigned) BV has been proposed by Nadel & Ryvchin, unfortunately we are not aware of any existing approach for OMT with FP. In this paper we fill this gap. We present a novel OMT approach, based on the novel concept of attractor and dynamic attractor, which extends the work of Nadel & Ryvchin to signed BV and, most importantly, to FP. We have implemented some OMT(BV) and OMT(FP) procedures on top of OptiMathSAT and tested the latter ones on modified problems from the SMT-LIB repository. The empirical results support the validity and feasibility of the novel approach.

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

↑