学习证明参数化并发系统的安全性(完整版)
Learning to Prove Safety over Parameterised Concurrent Systems (Full Version)
摘要:
我们重新审视了经典的问题,证明安全的参数化并发系统,即,用有限(符号)方法表示的有限状态并发系统的无限族。这样的无限族的一个例子是一个用餐哲学家协议,具有任意数量的n个进程(n是定义无限族的参数)。常规模型检验是一种用于参数化并发系统建模的通用框架,其中无限组的配置(分别为:transitions)由正则集(resp.常规换能器)。虽然在常规的模型检验框架中验证安全属性通常是不可判定的,但是在过去的15年中已经开发了许多复杂的半算法,可以在许多实际情况中成功地证明安全性。在本文中,我们提出了一个简单的解决方案,利用Angluin的经典L* 算法(及其变体)来合成正则归纳不变量。我们提供了一个终止保证时,从一组给定的初始配置可达的配置集是定期的。我们已经测试了L* 算法的标准(以及新的)的例子,在定期的模型检验,包括用餐哲学家协议,用餐密码协议,和几个互斥协议(如面包店,伯恩斯,Szymanski,和德国)。我们的实验表明,尽管我们的解决方案的简单性,它可以执行至少以及现有的半算法。
英文摘要:
We revisit the classic problem of proving safety over parameterised concurrent systems, i.e., an infinite family of finite-state concurrent systems that are represented by some finite (symbolic) means. An example of such an infinite family is a dining philosopher protocol with any number n of processes (n being the parameter that defines the infinite family). Regular model checking is a well-known generic framework for modelling parameterised concurrent systems, where an infinite set of configurations (resp. transitions) is represented by a regular set (resp. regular transducer). Although verifying safety properties in the regular model checking framework is undecidable in general, many sophisticated semi-algorithms have been developed in the past fifteen years that can successfully prove safety in many practical instances. In this paper, we propose a simple solution to synthesise regular inductive invariants that makes use of Angluin's classic L* algorithm (and its variants). We provide a termination guarantee when the set of configurations reachable from a given set of initial configurations is regular. We have tested L* algorithm on standard (as well as new) examples in regular model checking including the dining philosopher protocol, the dining cryptographer protocol, and several mutual exclusion protocols (e.g. Bakery, Burns, Szymanski, and German). Our experiments show that, despite the simplicity of our solution, it can perform at least as well as existing semi-algorithms.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。