arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2309.09148cs.SE
收藏

并发反应式系统的依赖-保证推理:PiCore框架、语言集成与应用

Rely-guarantee Reasoning about Concurrent Reactive Systems: The PiCore Framework, Languages Integration and Applications

Yongwang Zhao, David Sanan

AI总结:

本文提出PiCore依赖-保证推理框架,通过事件规范语言和接口设计解耦反应逻辑与事件行为,支持第三方语言集成,并成功应用于Zephyr RTOS内存管理验证及BPEL到PiCore的翻译。

摘要:

依赖-保证方法是对并发反应式系统(CRSs)进行组合验证的一种有前景的方法,例如并发操作系统、中断驱动控制系统和业务流程系统。然而,使用异构反应模式的规范、不同的抽象层次以及现实世界CRSs的复杂性仍然对依赖-保证方法构成挑战。本文提出了PiCore,一个用于CRSs形式化规范与验证的依赖-保证推理框架。我们设计了一种支持复杂反应结构的事件规范语言及其依赖-保证证明系统,以将CRSs反应方面的规范和逻辑与事件行为分离开来。PiCore通过依赖-保证接口对事件行为的语言及其依赖-保证系统进行参数化,并允许通过依赖-保证适配器轻松集成第三方语言。通过这种设计,我们成功集成了两种现有语言及其依赖-保证证明系统,而无需对其规范和证明做任何更改。PiCore已被应用于两个实际案例研究,即Zephyr RTOS中并发内存管理的形式化验证,以及将标准化的业务流程执行语言(BPEL)到PiCore的经过验证的翻译。

英文摘要:

The rely-guarantee approach is a promising way for compositional verification of concurrent reactive systems (CRSs), e.g. concurrent operating systems, interrupt-driven control systems and business process systems. However, specifications using heterogeneous reaction patterns, different abstraction levels, and the complexity of real-world CRSs are still challenging the rely-guarantee approach. This article proposes PiCore, a rely-guarantee reasoning framework for formal specification and verification of CRSs. We design an event specification language supporting complex reaction structures and its rely-guarantee proof system to detach the specification and logic of reactive aspects of CRSs from event behaviours. PiCore parametrizes the language and its rely-guarantee system for event behaviour using a rely-guarantee interface and allows to easily integrate 3rd-party languages via rely-guarantee adapters. By this design, we have successfully integrated two existing languages and their rely-guarantee proof systems without any change of their specification and proofs. PiCore has been applied to two real-world case studies, i.e. formal verification of concurrent memory management in Zephyr RTOS and a verified translation for a standardized Business Process Execution Language (BPEL) to PiCore.

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

↑