arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2104.03681cs.SE
收藏

基于定理证明的同步模型动态验证逻辑

A Dynamic Logic for Verification of Synchronous Models based on Theorem Proving

Yuanrui Zhang

摘要:

同步模型是一种用于反应式系统建模和描述的形式化模型。它有一个很大的优势,比其他实时模型,其建模范式支持一个确定性的并发行为的系统。针对同步模型的验证问题,提出了一种基于组合推理和项重写的同步模型验证方法,该方法基于模型检验、SAT/SMT求解、项重写、类型推断等技术。具体来说,我们首先提出了一个动态逻辑的变化,称为同步动态逻辑(SDL)。SDL扩展了一阶动态逻辑(FODL)的常规程序模型,引入了必要的原语来描述并行程序之间的同步和同步通信,并利用时态动态逻辑公式丰富了FODL公式,以指定安全属性--反应式系统中主要关注的一类属性。为了正确地捕捉同步通信,我们定义了一个建设性的语义SDL的程序模型。我们为SDL建立了一个完善的、相对完整的证明体系。与以往的验证方法相比,SDL提供了一种分而治之的方法来分析和验证同步模型的基础上组合推理的语法结构的SDL。为了说明SDL的有用性,我们应用SDL指定和验证同步模型SyncChart中的一个小例子,这显示了SDL在实践中使用的潜力。

英文摘要:

Synchronous model is a type of formal models for modelling and specifying reactive systems. It has a great advantage over other real-time models that its modelling paradigm supports a deterministic concurrent behaviour of systems. Various approaches have been utilized for verification of synchronous models based on different techniques, such as model checking, SAT/SMT sovling, term rewriting, type inference and so on. In this paper, we propose a verification approach for synchronous models based on compositional reasoning and term rewriting. Specifically, we initially propose a variation of dynamic logic, called synchronous dynamic logic (SDL). SDL extends the regular program model of first-order dynamic logic (FODL) with necessary primitives to capture the notion of synchrony and synchronous communication between parallel programs, and enriches FODL formulas with temporal dynamic logical formulas to specify safety properties -- a type of properties mainly concerned in reactive systems. To rightly capture the synchronous communications, we define a constructive semantics for the program model of SDL. We build a sound and relatively complete proof system for SDL. Compared to previous verification approaches, SDL provides a divide and conquer way to analyze and verify synchronous models based on compositional reasoning of the syntactic structure of the programs of SDL. To illustrate the usefulness of SDL, we apply SDL to specify and verify a small example in the synchronous model SyncChart, which shows the potential of SDL to be used in practice.

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

↑