Incomplete SMT Techniques for Solving Non-Linear Formulas over the Integers

C. Borralleras, Daniel Larraz, Enric Rodríguez-carbonell, Albert Oliveras, A. Rubio
{"title":"Incomplete SMT Techniques for Solving Non-Linear Formulas over the Integers","authors":"C. Borralleras, Daniel Larraz, Enric Rodríguez-carbonell, Albert Oliveras, A. Rubio","doi":"10.1145/3340923","DOIUrl":null,"url":null,"abstract":"We present new methods for solving the Satisfiability Modulo Theories problem over the theory of Quantifier-Free Non-linear Integer Arithmetic, SMT(QF-NIA), which consists of deciding the satisfiability of ground formulas with integer polynomial constraints. Following previous work, we propose to solve SMT(QF-NIA) instances by reducing them to linear arithmetic: non-linear monomials are linearized by abstracting them with fresh variables and by performing case splitting on integer variables with finite domain. For variables that do not have a finite domain, we can artificially introduce one by imposing a lower and an upper bound and iteratively enlarge it until a solution is found (or the procedure times out). The key for the success of the approach is to determine, at each iteration, which domains have to be enlarged. Previously, unsatisfiable cores were used to identify the domains to be changed, but no clue was obtained as to how large the new domains should be. Here, we explain two novel ways to guide this process by analyzing solutions to optimization problems: (i) to minimize the number of violated artificial domain bounds, solved via a Max-SMT solver, and (ii) to minimize the distance with respect to the artificial domains, solved via an Optimization Modulo Theories (OMT) solver. Using this SMT-based optimization technology allows smoothly extending the method to also solve Max-SMT problems over non-linear integer arithmetic. Finally, we leverage the resulting Max-SMT(QF-NIA) techniques to solve ∃ ∀ formulas in a fragment of quantified non-linear arithmetic that appears commonly in verification and synthesis applications.","PeriodicalId":191685,"journal":{"name":"ACM Transactions on Computational Logic (TOCL)","volume":"44 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2019-08-17","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"9","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"ACM Transactions on Computational Logic (TOCL)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/3340923","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 9

Abstract

We present new methods for solving the Satisfiability Modulo Theories problem over the theory of Quantifier-Free Non-linear Integer Arithmetic, SMT(QF-NIA), which consists of deciding the satisfiability of ground formulas with integer polynomial constraints. Following previous work, we propose to solve SMT(QF-NIA) instances by reducing them to linear arithmetic: non-linear monomials are linearized by abstracting them with fresh variables and by performing case splitting on integer variables with finite domain. For variables that do not have a finite domain, we can artificially introduce one by imposing a lower and an upper bound and iteratively enlarge it until a solution is found (or the procedure times out). The key for the success of the approach is to determine, at each iteration, which domains have to be enlarged. Previously, unsatisfiable cores were used to identify the domains to be changed, but no clue was obtained as to how large the new domains should be. Here, we explain two novel ways to guide this process by analyzing solutions to optimization problems: (i) to minimize the number of violated artificial domain bounds, solved via a Max-SMT solver, and (ii) to minimize the distance with respect to the artificial domains, solved via an Optimization Modulo Theories (OMT) solver. Using this SMT-based optimization technology allows smoothly extending the method to also solve Max-SMT problems over non-linear integer arithmetic. Finally, we leverage the resulting Max-SMT(QF-NIA) techniques to solve ∃ ∀ formulas in a fragment of quantified non-linear arithmetic that appears commonly in verification and synthesis applications.
求解整数上非线性公式的不完全SMT技术
在无量子非线性整数算法SMT(QF-NIA)理论的基础上,提出了求解可满足模理论问题的新方法,该问题包括确定具有整数多项式约束的基公式的可满足性。根据之前的工作,我们提出通过将其简化为线性算法来解决SMT(QF-NIA)实例:通过用新变量抽象非线性单项式并通过在有限域的整数变量上执行分格来线性化非线性单项式。对于没有有限域的变量,我们可以通过施加下限和上限来人为地引入一个,并迭代地扩大它,直到找到一个解决方案(或过程超时)。该方法成功的关键是在每次迭代中确定需要扩大哪些领域。以前,使用不满意的核来确定要更改的域,但没有线索表明新域应该有多大。在这里,我们通过分析优化问题的解决方案来解释两种新的方法来指导这一过程:(i)通过Max-SMT求解器来最小化违反人工域边界的数量,以及(ii)通过优化模理论(OMT)求解器来最小化相对于人工域的距离。使用这种基于smt的优化技术可以平滑地扩展该方法,也可以解决非线性整数算法上的Max-SMT问题。最后,我们利用所得的Max-SMT(QF-NIA)技术来解决在验证和综合应用中常见的量化非线性算法片段中的∃公式。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信
小红书