paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Skeletal approximation enumeration for SMT solver testing

面向 SMT 求解器测试的骨架近似枚举
FSE Proceedings of the 29th ACM Joint Meeting on European Software Engineering Conference and Symposium on the Foundations of Software Engineering2021匹配度 3/10 · 该论文聚焦 SMT 求解器测试与缺陷发现,属于形式化方法与软件测试基础设施,但未涉及 LLM/Agent、静态分析结合 AI、浮点程序分析或贝叶斯程序分析等画像核心方向,关联较弱。引用 19 inbox
Peisen Yao, Heqing Huang, Wensheng Tang, Qingkai Shi, Rongxin Wu, Charles Zhang
crossref: 2026-09-12

AI 速览

一句话:提出轻量、通用的骨架近似枚举(SAE)技术,用于测试所有一阶理论的 SMT 求解器并发现大量真实缺陷。

SMT 求解器在符号执行、程序验证等领域应用广泛,确保其正确性至关重要。然而现有测试方法成本高,且受测试预言问题限制,难以推广到不同求解器和理论。本文提出骨架近似枚举(SAE),一种面向所有一阶理论的轻量且通用的 SMT 求解器测试技术,用以补充现有方法并克服其不足。作者将 SAE 应用于 Z3 和 CVC4 两个成熟的最先进求解器;截至写作时,共发现 71 个已确认缺陷,其中 55 个已被修复。结果表明该技术对工业级 SMT 求解器具有实用性和缺陷发现能力。

问题
如何低成本、通用地测试 SMT 求解器,并在缺少可靠测试预言的情况下发现不同求解器和理论中的错误。
方法
提出骨架近似枚举(SAE),一种适用于所有一阶理论的轻量级通用 SMT 求解器测试技术。
评估
在 Z3 和 CVC4 上开展实证评估,共确认 71 个 bug,其中 55 个已被修复。
原文摘要(Abstract)

Ensuring the equality of SMT solvers is critical due to its broad spectrum of applications in academia and industry, such as symbolic execution and program verification. Existing approaches to testing SMT solvers are either too costly or find difficulties generalizing to different solvers and theories, due to the test oracle problem. To complement existing approaches and overcome their weaknesses, this paper introduces skeletal approximation enumeration (SAE), a novel lightweight and general testing technique for all first-order theories. To demonstrate its practical utility, we have applied the SAE technique to test Z3 and CVC4, two comprehensively tested, state-of-the-art SMT solvers. By the time of writing, our approach had found 71 confirmed bugs in Z3 and CVC4,55 of which had already been fixed.

链接与引用

DOI 原文 ·

BibTeX
@inproceedings{paperbot6416,
  title = {Skeletal approximation enumeration for SMT solver testing},
  author = {Peisen Yao and Heqing Huang and Wensheng Tang and Qingkai Shi and Rongxin Wu and Charles Zhang},
  booktitle = {FSE},
  year = {2021},
  doi = {10.1145/3468264.3468540}
}