论文标题
有限的不变检查状态流
Bounded Invariant Checking for Stateflow
论文作者
论文摘要
状态流模型是复杂的软件模型,通常用作使用MATLAB Simulink设计的工业安全关键软件解决方案的一部分。作为安全 - 关键解决方案的一部分,这些模型需要应用严格的验证技术来确保其正确性。在本文中,我们提出了一种基于有限模型检查(BMC)的基于反驳的形式验证方法,用于分析状态流模型针对不变属性。我们技术的关键是:i)状态流模型的状态空间作为模型的符号配置的符号过渡系统(STS),以及ii)II)应用BMC的应用,以生成验证结果。为此,我们从现有的结构操作语义(SOS)开发了状态流的符号结构操作语义(SSO),并显示两者之间不变属性的保存。我们将对符号配置的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.