arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2207.08775cs.LOcs.FLcs.SC
收藏

矩形混杂系统的模型检验:一种量化编码方法

Model Checking for Rectangular Hybrid Systems: A Quantified Encoding Approach

Luan V. Nguyen, Wesam Haddad, Taylor T. Johnson

摘要:

可满足性模理论(SMT)求解器已经成功地应用于解决形式化验证中的许多问题,例如从集成电路到信息物理系统的许多类系统的有界模型检验(BMC)。通常,BMC是通过检查一个可能很长但没有量词的公式的可满足性来执行的。然而,BMC问题可以自然地编码为BMC步骤数量的量化公式。在这种方法中,我们然后使用决策程序支持量词来检查这些量化公式的可满足性。该方法先前已被应用于使用量化布尔公式(QBF)编码来执行用于纯离散系统的BMC,然后使用QBF求解器来释放QBF检查。在本文中,我们提出了一个新的量化编码的BMC矩形混合自动机(RHA),这需要使用更一般的逻辑,由于实(密集)时间和实值状态变量建模连续状态。我们已经实现了一个初步的实验原型的方法,使用HyST模型转换工具生成量化BMC(QBMC)查询的Z3 SMT求解器。我们描述了几个时间和混合自动机的基准,如费舍尔和林奇-斯考特互斥算法的实验结果。我们将我们的方法与无量化器的BMC方法进行比较,例如使用dReal SMT求解器的dReach工具中的方法,以及使用MathSAT SMT求解器构建在nuXmv之上的HyComp工具。基于我们有前途的实验结果,QBMC可能在未来是一个有效的和可扩展的分析方法RHA和其他类的混合自动机的进一步改进,在SMT求解器,如Z3的量词处理。

英文摘要:

Satisfiability Modulo Theories (SMT) solvers have been successfully applied to solve many problems in formal verification such as bounded model checking (BMC) for many classes of systems from integrated circuits to cyber-physical systems. Typically, BMC is performed by checking satisfiability of a possibly long, but quantifier-free formula. However, BMC problems can naturally be encoded as quantified formulas over the number of BMC steps. In this approach, we then use decision procedures supporting quantifiers to check satisfiability of these quantified formulas. This approach has previously been applied to perform BMC using a Quantified Boolean Formula (QBF) encoding for purely discrete systems, and then discharges the QBF checks using QBF solvers. In this paper, we present a new quantified encoding of BMC for rectangular hybrid automata (RHA), which requires using more general logics due to the real (dense) time and real-valued state variables modeling continuous states. We have implemented a preliminary experimental prototype of the method using the HyST model transformation tool to generate the quantified BMC (QBMC) queries for the Z3 SMT solver. We describe experimental results on several timed and hybrid automata benchmarks, such as the Fischer and Lynch-Shavit mutual exclusion algorithms. We compare our approach to quantifier-free BMC approaches, such as those in the dReach tool that uses the dReal SMT solver, and the HyComp tool built on top of nuXmv that uses the MathSAT SMT solver. Based on our promising experimental results, QBMC may in the future be an effective and scalable analysis approach for RHA and other classes of hybrid automata as further improvements are made in quantifier handling in SMT solvers such as Z3.

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

↑