paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Regular Model Checking Upside-Down: An Invariant-Based Approach

正则模型检测倒置:一种基于不变式的方法
LMCS vol.Volume 21, Issue 12025匹配度 3/10 · 论文属于形式化验证/自动机理论中的正则模型检测,与用户关注的“LLM/Agent 改进静态分析/形式化验证”仅有领域上的弱关联;不涉及 LLM、Agent、浮点程序分析或贝叶斯程序分析,因此匹配度较低。引用 5 inbox
Javier Esparza, Michael Raskin, Christoph Welzel-Mohr
crossref: 2026-09-10

AI 速览

一句话:提出基于不变式的自顶向下正则模型检测,用 b-不变式将可达集逼近为正规集并构造自动机验证安全性。

正则模型检测用于验证无限状态系统,其配置可表示为有限字,初始集正规,迁移由保长转换器描述。传统方法从下逼近可达配置,迭代构造自动机,常因不终止而需加速、抽象与加宽。本文提出互补的上逼近过程:从全体配置出发,利用可达集等于所有归纳不变式之交。由于该交一般非正规,作者引入 b-不变式,即至多 b 个子句的 CNF 公式所表示的不变式。论文证明对任意 b≥0,所有归纳 b-不变式之交是正规的,并构造识别自动机;该自动机是否接受不安全配置对任意 b 属 EXPSPACE,b=1 时 PSPACE 完全。最后在若干基准上研究验证安全性所需的 b 大小。

问题
如何从上方逼近无限状态系统的可达配置集并自动验证其安全性,同时避免传统正则模型检测从下方迭代时的不终止问题。
方法
引入 b-不变式(至多 b 个子句的 CNF 表示),证明所有归纳 b-不变式之交为正规集,并构造识别该交的自动机来检查不安全配置。
评估
给出安全性检查的复杂度上界:任意 b 为 EXPSPACE,b=1 为 PSPACE 完全;并在若干基准上分析验证安全性所需的 b 大小。
原文摘要(Abstract)

Regular model checking is a technique for the verification of infinite-state systems whose configurations can be represented as finite words over a suitable alphabet. The form we are studying applies to systems whose set of initial configurations is regular, and whose transition relation is captured by a length-preserving transducer. To verify safety properties, regular model checking iteratively computes automata recognizing increasingly larger regular sets of reachable configurations, and checks if they contain unsafe configurations. Since this procedure often does not terminate, acceleration, abstraction, and widening techniques have been developed to compute a regular superset of the reachable configurations. In this paper, we develop a complementary procedure. Instead of approaching the set of reachable configurations from below, we start with the set of all configurations and approach it from above. We use that the set of reachable configurations is equal to the intersection of all inductive invariants of the system. Since this intersection is non-regular in general, we introduce b-invariants, defined as those representable by CNF-formulas with at most b clauses. We prove that, for every $b\geq0$, the intersection of all inductive b-invariants is regular, and we construct an automaton recognizing it. We show that whether this automaton accepts some unsafe configuration is in EXPSPACE for every $b\geq0$, and PSPACE-complete for b=1. Finally, we study how large must b be to prove safety properties of a number of benchmarks.

链接与引用

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

BibTeX
@article{EsparzaRW22,
  title = {Regular Model Checking Upside-Down: An Invariant-Based Approach},
  author = {Javier Esparza and Michael Raskin and Christoph Welzel-Mohr},
  journal = {Logical Methods in Computer Science},
  volume = {Volume 21, Issue 1},
  year = {2025},
  doi = {10.46298/lmcs-21(1:4)2025}
}