paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Improving Bit-Blasting for Nonlinear Integer Constraints

改进非线性整数约束的 Bit-Blasting
ISSTA Proceedings of the 32nd ACM SIGSOFT International Symposium on Software Testing and Analysis2023匹配度 3/10 · 该论文属于 SMT/形式化验证中的位爆破求解技术,与静态分析和形式化验证底层相关,但不涉及用户核心关注的 LLM/Agent 与程序分析交叉,也不涉及浮点程序分析或贝叶斯程序分析。引用 14 inbox
Fuqi Jia, Rui Han, Pei Huang, Minghao Liu, Feifei Ma, Jian Zhang
crossref: 2026-09-12dblp: 2026-09-12

AI 速览

一句话:针对困难非线性乘法、搜索空间与冗余问题改进位爆破,实现 BLAN 并在 SMT(QF_NIA) 上超越现有求解器。

非线性整数约束在软硬件验证中常见且困难,SMT(QF_NIA) 是其布尔组合形式。经典方法位爆破将其归约为布尔可满足性问题,但现有纯位爆破求解器竞争力不足,存在非线性乘法、搜索空间不合适与冗余等问题。本文提出面向困难非线性乘法的自适应函数与特定约束的启发式分析策略;同时发现连续加法顺序会影响位向量位宽,并给出最优顺序决策算法以减少冗余。作者实现求解器 BLAN。在 SMT-LIB 的可满足 QF_NIA 实例上,BLAN 优于 APROVE、CVC5、MATHSAT、YICES2 和 Z3;敏感性分析验证了方法有效性,并展望结合其他求解器处理不可满足实例。

问题
如何提升基于位爆破的 SMT(QF_NIA) 求解效率,解决非线性乘法困难、搜索空间选择不当以及冗余问题。
方法
提出针对困难非线性乘法的自适应函数与约束分析启发式,并设计连续加法的最优顺序决策算法以减少位向量位宽和冗余,实现求解器 BLAN。
评估
在 SMT-LIB 可满足 QF_NIA 实例上与 APROVE、CVC5、MATHSAT、YICES2、Z3 对比,BLAN 表现更优;敏感性分析验证所提方法有效性,并展望结合其他求解器处理不可满足实例。
原文摘要(Abstract)

Nonlinear integer constraints are common and difficult in the verification and analysis of software/hardware. SMT(QF_NIA) generalizes such constraints, which is a boolean combination of nonlinear integer arithmetic constraints. A classical method to solve SMT(QF_NIA) is bit-blasting, which reduces them to boolean satisfiability problems. Currently, the existing pure bit-blasting based solvers are noncompetitive with other state-of-the-art SMT solvers. The bit-blasting based methods have some problems: First, the bit-blasting method is hampered by nonlinear multiplication operations; second, it sometimes does not search in a proper search space; and third, it contains some redundancy. In this paper, we focus on improving the efficiency of bit-blasting based method. To decide on a proper search space, we proposed an adaptive function for hard nonlinear multiplications, and heuristic strategies to analyze specific constraints. We also found that different orders in successive additions will result in bit vectors with different bit-widths. We proposed an optimal order decision algorithm to save redundancy in successive additions. We implement a solver with the proposed methods named BLAN. Experiments demonstrate that BLAN outperforms other state-of-the-art SMT solvers (APROVE, CVC5, MATHSAT, YICES2, Z3) on the satisfiable SMT(QF_NIA) instances in SMT-LIB. We provide an outlook of BLAN on solving unsatisfiable instances via combining with other solvers. Sensitivity analysis also demonstrates the effectiveness of the proposed methods.

链接与引用

DOI 原文 · PDF(开放获取) · DBLP

BibTeX
@inproceedings{JiaH00MZ23,
  title = {Improving Bit-Blasting for Nonlinear Integer Constraints},
  author = {Fuqi Jia and Rui Han and Pei Huang and Minghao Liu and Feifei Ma and Jian Zhang},
  booktitle = {ISSTA},
  year = {2023},
  doi = {10.1145/3597926.3598034}
}