Contract Automata: A Specification Language for Mode-Based Systems

被引:0
|
作者
Weigl, Alexander [1 ]
Bachmeier, Joshua [2 ]
Ulbrich, Mattias [1 ]
Beckert, Bernhard [1 ]
机构
[1] Karlsruhe Inst Technol, Karlsruhe, Germany
[2] FZI Res Ctr Informat Technol, Karlsruhe, Germany
关键词
D O I
10.1145/3644033.3644381
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
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 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 subsystems. 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. We provide a tool for the generation of the proof obligation that can be discharged with model-checkers or static program analyses. We exemplify the use of contract automata by presenting the specification and verification of an emergency brake assistant.
引用
收藏
页码:1 / 11
页数:11
相关论文
共 50 条
  • [41] On an approach to functional specification of automata systems. III
    Chebotarev, A.N.
    Kibernetika i Sistemnyj Analis, 1993, (05): : 3 - 17
  • [42] A New Sliding Mode-Based Learning Control for Uncertain Discrete-time Systems
    Do Manh Tuan
    Man, Zhihong
    Zhang, Cishen
    Jin, Jiong
    2012 12TH INTERNATIONAL CONFERENCE ON CONTROL, AUTOMATION, ROBOTICS & VISION (ICARCV), 2012, : 741 - 746
  • [43] Extended Mode-Based Bandwidth Analysis for Asymmetric Near-Field Communication Systems
    Tak, Youndo
    Nam, Sangwook
    IEEE TRANSACTIONS ON ANTENNAS AND PROPAGATION, 2012, 60 (01) : 421 - 424
  • [44] A mode-based meta-model for the frequency response functions of uncertain structural systems
    Pichler, L.
    Pradlwarter, H. J.
    Schueller, G. I.
    PROCEEDINGS OF LSAME.08: LEUVEN SYMPOSIUM ON APPLIED MECHANICS IN ENGINEERING, PTS 1 AND 2, 2008, : 753 - 767
  • [45] Mode-Based Estimation of 3 dB Bandwidth for Near-Field Communication Systems
    Tak, Youndo
    Park, Jongmin
    Nam, Sangwook
    IEEE TRANSACTIONS ON ANTENNAS AND PROPAGATION, 2011, 59 (08) : 3131 - 3135
  • [46] A mode-based meta-model for the frequency response functions of uncertain structural systems
    Pichler, L.
    Pradlwarter, H. J.
    Schueller, G. I.
    COMPUTERS & STRUCTURES, 2009, 87 (5-6) : 332 - 341
  • [47] Specification and analysis of automata-based designs
    Bryans, J
    Blair, L
    Bowman, H
    Derrick, J
    INTEGRATED FORMAL METHODS, PROCEEDINGS, 2000, 1945 : 176 - 193
  • [48] On the Significance of Contract-Based Typestate Specification
    Khairunnesa, Samantha Syeda
    Hoan Anh Nguyen
    Rajan, Hridesh
    WASPI'18: PROCEEDINGS OF THE 1ST ACM SIGSOFT INTERNATIONAL WORKSHOP ON AUTOMATED SPECIFICATION INFERENCE, 2018, : 13 - 14
  • [49] Application of Contract-based verification techniques for Hybrid Automata to Surgical Robotic Systems
    Schreiter, Luzie
    Bresolin, Davide
    Capiluppi, Marta
    Raczkowsky, Joerg
    Fiorini, Paolo
    Woern, Heinz
    2014 EUROPEAN CONTROL CONFERENCE (ECC), 2014, : 2310 - 2315
  • [50] "Safety Automata" - A new Specification Language for the Development of PLC Safety Applications
    Frey, Georg
    Schlich, Bastian
    Drath, Rainer
    Eschbach, Robert
    2012 IEEE 17TH CONFERENCE ON EMERGING TECHNOLOGIES & FACTORY AUTOMATION (ETFA), 2012,