Unifying Theories of Reactive Design Contracts

12/29/2017
by   Simon Foster, et al.
0

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, characterising its assumptions and guarantees about intermediate and final observations. Our work advances the state-of-the-art in semantics for reactive languages, description of their contractual specifications, and compositional verification.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
12/29/2017

Unifying Theories of Time with Generalised Reactive Processes

Hoare and He's theory of reactive processes provides a unifying foundati...
research
12/29/2017

Unifying Theories of Timed with Generalised Reactive Processes

Hoare and He's theory of reactive processes provides a unifying foundati...
research
05/11/2021

Formally Verified Simulations of State-Rich Processes using Interaction Trees in Isabelle/HOL

Simulation and formal verification are important complementary technique...
research
01/15/2021

An Abstract Contract Theory for Programs with Procedures

When developing complex software and systems, contracts provide a means ...
research
05/14/2019

Unifying Semantic Foundations for Automated Verification Tools in Isabelle/UTP

The growing complexity and diversity of models used in the engineering o...
research
07/11/2022

Program Adverbs and Tlön Embeddings

Free monads (and their variants) have become a popular general-purpose t...
research
02/15/2020

Information-Flow Interfaces

Contract-based design is a promising methodology for taming the complexi...

Please sign up or login with your details

Forgot password? Click here to reset