arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2404.15215cs.LOcs.SE
收藏

Bottoms Up for CHCs:线性约束Horn子句到软件验证的新颖转换

Bottoms Up for CHCs: Novel Transformation of Linear Constrained Horn Clauses to Software Verification

Márk Somorjai, Mihály Dobos-Kovács, Zsófia Ádám, Levente Bajczi, András Vörös

AI总结:

提出针对线性约束Horn子句的自底向上验证方法,在THETA框架中相比自顶向下技术使解决任务数量增加两倍多。

摘要:

约束Horn子句(CHCs)传统上被用作形式验证中的低级表示。大多数现有求解器使用多种专门技术,包括直接状态空间遍历或欠近似抽象,需要专用的复杂算法。其他求解器通过将问题转换为其他验证任务的输入,利用现有算法的优势,成功简化了验证工作流。其中一种方法将CHC问题转换为递归程序,大致模拟自顶向下的求解器进行推导任务;并验证指定为控制位置的安全违规的可达性。我们提出了一种针对线性CHCs的替代性自底向上方法,并在开源模型检查框架THETA中对合成和工业示例评估了这两种方案。我们发现,当在验证工作流中使用新颖的自底向上方法时,已解决任务的数量比自顶向下技术增加了两倍多。

英文摘要:

Constrained Horn Clauses (CHCs) have conventionally been used as a low-level representation in formal verification. Most existing solvers use a diverse set of specialized techniques, including direct state space traversal or under-approximating abstraction, necessitating purpose-built complex algorithms. Other solvers successfully simplified the verification workflow by translating the problem to inputs for other verification tasks, leveraging the strengths of existing algorithms. One such approach transforms the CHC problem into a recursive program roughly emulating a top-down solver for the deduction task; and verifying the reachability of a safety violation specified as a control location. We propose an alternative bottom-up approach for linear CHCs, and evaluate the two options in the open-source model checking framework THETA on both synthetic and industrial examples. We find that there is a more than twofold increase in the number of solved tasks when the novel bottom-up approach is used in the verification workflow, in contrast with the top-down technique.

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

↑