一句话:提出统一的原始-对偶框架,用广义Lagrangian刻画并设计验证算法,推导已有方法并给出新的不动点逻辑判定算法。
验证与自动推理中的许多算法都利用证明与反驳/反例之间的对偶性,但这种对偶常仅为直觉或针对特定问题特制,缺乏统一形式化。本文把优化中的 Lagrangian 概念推广到验证中的离散域(状态幂集、谓词、ranking function 等),由 Lagrangian 诱导原始与对偶问题;进而提出抽象原始-对偶过程,同时搜索原始解与对偶解并相互引导,给出单调性下保证进展的充分条件。作者证明程序分析、验证与自动推理中的许多已有算法都可由合适的 Lagrangian 导出,并据此解释其保证进展的要素。最后将该框架用于量化线性算术上不动点逻辑的有效性检查,原型结果有前景,部分实例优于现有技术。
Many algorithms in verification and automated reasoning leverage some form of duality between proofs and refutations or counterexamples. In most cases, duality is only used as an intuition that helps in understanding the algorithms and is not formalized. In other cases, duality is used explicitly, but in a specially tailored way that does not generalize to other problems. In this paper we propose a unified primal-dual framework for designing verification algorithms that leverage duality. To that end, we generalize the concept of a Lagrangian that is commonly used in linear programming and optimization to capture the domains considered in verification problems, which are usually discrete, e.g., powersets of states, predicates, ranking functions, etc. A Lagrangian then induces a primal problem and a dual problem. We devise an abstract primal-dual procedure that simultaneously searches for a primal solution and a dual solution, where the two searches guide each other. We provide sufficient conditions that ensure that the procedure makes progress under certain monotonicity assumptions on the Lagrangian. We show that many existing algorithms in program analysis, verification, and automated reasoning can be derived from our algorithmic framework with a suitable choice of Lagrangian. The Lagrangian-based formulation sheds new light on various characteristics of these algorithms, such as the ingredients they use to ensure monotonicity and guarantee progress. We further use our framework to develop a new validity checking algorithm for fixpoint logic over quantified linear arithmetic. Our prototype achieves promising results and in some cases solves instances that are not solved by state-of-the-art techniques.
@article{paperbot3228,
title = {A Primal-Dual Perspective on Program Verification Algorithms},
author = {Takeshi Tsukada and Hiroshi Unno and Oded Padon and Sharon Shoham},
journal = {Proceedings of the ACM on Programming Languages},
volume = {9},
number = {POPL},
year = {2025},
doi = {10.1145/3704904}
}