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

Stateflow的有界不变量检测

Bounded Invariant Checking for Stateflow

Predrag Filipovikj, Gustav Ung, Dilian Gurov, Mattias Nyberg

摘要:

状态流模型是复杂的软件模型,通常用作使用Matlab Simulink设计的工业安全关键软件解决方案的一部分。作为安全关键解决方案的一部分,这些模型需要应用严格的验证技术来确保其正确性。在本文中,我们提出了一个基于反驳的形式化验证方法分析Stateflow模型的不变属性,基于有界模型检验(BMC)。我们的技术的关键是:i)状态流模型的状态空间表示为模型的符号配置上的符号转换系统(STS),以及ii)增量BMC的应用程序,在每次展开转换系统的下一个状态关系后生成验证结果。为此,我们开发了一个符号结构操作语义(SSOS)的状态流,从现有的结构操作语义(SOS),并显示两者之间的不变属性的保存。我们将符号配置上STS的有界不变检验定义为可满足性问题。我们开发了一个自动化的程序,用于生成的STS的初始和下一个状态谓词,并在一个工具的形式,利用标准的,现成的可满足性求解器的技术的原型实现。最后,我们提出了初步的性能结果,通过应用我们的工具上的一个说明性的例子和两个工业模型。

英文摘要:

Stateflow models are complex software models, often used as part of industrial safety-critical software solutions designed with Matlab Simulink. Being part of safety-critical solutions, these models require the application of rigorous verification techniques for assuring their correctness. In this paper, we propose a refutation-based formal verification approach for analyzing Stateflow models against invariant properties, based on bounded model checking (BMC). The crux of our technique is: i) a representation of the state space of Stateflow models as a symbolic transition system (STS) over the symbolic configurations of the model, and ii) application of incremental BMC, to generate verification results after each unrolling of the next-state relation of the transition system. To this end, we develop a symbolic structural operational semantics (SSOS) for Stateflow, starting from an existing structural operational semantics (SOS), and show the preservation of invariant properties between the two. We define bounded invariant checking for STS over symbolic configurations as a satisfiability problem. We develop an automated procedure for generating the initial and next-state predicates of the STS, and a prototype implementation of the technique in the form of a tool utilising standard, off-the-shelf satisfiability solvers. Finally, we present preliminary performance results by applying our tool on an illustrative example and two industrial models.

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

↑