反应式设计合同的统一理论
Unifying Theories of Reactive Design Contracts
摘要:
契约式设计是基于模型设计的一种重要技术,其中组合系统由指定每个组件的行为假设和保证的契约集合指定。在本文中,我们描述了一个统一的理论反应式设计合同的反应式系统的建模和验证提供了基础。我们提供了一种语言的表达和组成的合同,是由一个丰富的计算理论支持。与文献中的其他语义模型相比,我们的合同理论允许我们指定状态变量的演变和允许与环境的相互作用。此外,我们的互动模型是抽象的,并支持,例如,离散时间,连续时间,和混合计算模型。基于统一编程理论(UTP),我们的理论可以与进一步的计算理论相结合,以支持多范式语言的语义。通过我们的证明框架Isabelle/UTP提供了实际的推理支持,包括一个证明策略,该策略将关于反应式程序的猜想减少到三个谓词,象征性地描述其假设并保证中间和最终观察结果。这使我们能够验证具有大或无限状态空间的程序。我们的工作推进了最先进的反应式语言的语义,他们的合同规范的描述,和组合验证。
英文摘要:
Design-by-contract is an important technique for model-based design in which a composite system is specified by a collection of contracts that specify the behavioural assumptions and guarantees of each component. In this paper, we describe a unifying theory for reactive design contracts that provides the basis for modelling and verification of reactive systems. We provide a language for expression and composition of contracts that is supported by a rich calculational theory. In contrast with other semantic models in the literature, our theory of contracts allow us to specify both the evolution of state variables and the permissible interactions with the environment. Moreover, our model of interaction is abstract, and supports, for instance, discrete time, continuous time, and hybrid computational models. Being based in Unifying Theories of Programming (UTP), our theory can be composed with further computational theories to support semantics for multi-paradigm languages. Practical reasoning support is provided via our proof framework, Isabelle/UTP, including a proof tactic that reduces a conjecture about a reactive program to three predicates, symbolically characterising its assumptions and guarantees about intermediate and final observations. This allows us to verify programs with a large or infinite state space. Our work advances the state-of-the-art in semantics for reactive languages, description of their contractual specifications, and compositional verification.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。