KIT | KIT-Bibliothek | Impressum | Datenschutz

Contract Automata: A Specification Language for Mode-Based Systems

Weigl, Alexander ORCID iD icon 1; Bachmeier, Joshua 2; Beckert, Bernhard ORCID iD icon 1; Ulbrich, Mattias ORCID iD icon 1
1 Institut für Informationssicherheit und Verlässlichkeit (KASTEL), Karlsruher Institut für Technologie (KIT)
2 FZI Forschungszentrum Informatik (FZI)

Abstract:

The comprehensive, understandable and effective formal specification of complex systems is often difficult, especially for reactive and interactive systems like web services or embedded system components. In this paper, we propose \emph{contract automata}, a new specification formalism for describing the expected behaviour of stateful systems. Contract automata combine two established concepts for formal system specification: contract-based specification and nondeterministic finite state automata. Contract automata restrict the effects that the operations of the specified system may have using input-output-contracts. The automaton structure of a contract automaton describes when contracts are applicable. Contract automata support the refinement and composition of reactive systems, enabling modular verification of systems assembled of multiple sub systems. In this paper, we formally define the semantics of contract automata based on a two-party game between the system under test and its environment. We define the proof obligations and present techniques to prove a refinement relationship between contract automata, the validity of system compositions, and the compliance of source code against a contract automaton. ... mehr


Volltext §
DOI: 10.5445/IR/1000164563
Veröffentlicht am 18.12.2023
Cover der Publikation
Zugehörige Institution(en) am KIT Institut für Informationssicherheit und Verlässlichkeit (KASTEL)
Publikationstyp Forschungsbericht/Preprint
Publikationsjahr 2023
Sprache Englisch
Identifikator KITopen-ID: 1000164563
Verlag Karlsruher Institut für Technologie (KIT)
Projektinformation SofDCar (BMWK, 19S21002K)
Schlagwörter Specification, Design-by-Contract, Reactive Systems
Relationen in KITopen
KIT – Die Forschungsuniversität in der Helmholtz-Gemeinschaft
KITopen Landing Page