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 条
  • [21] Global Stabilization of Inertia Wheel Systems with a Novel Sliding Mode-Based Strategy
    Lu, Biao
    Fang, Yongchun
    Sun, Ning
    2016 14TH INTERNATIONAL WORKSHOP ON VARIABLE STRUCTURE SYSTEMS (VSS), 2016, : 200 - 205
  • [22] Design of a Novel Mode-based Energy Storage Controller for Residential PV Systems
    Henri, Gonzague
    Lu, Ning
    Carrejo, Carlos
    2017 IEEE PES INNOVATIVE SMART GRID TECHNOLOGIES CONFERENCE EUROPE (ISGT-EUROPE), 2017,
  • [23] Automated modelling of building energy systems with mode-based control algorithms in Modelica
    Cai, Xiaoye
    Xue, Junyi
    Kuempel, Alexander
    Mueller, Dirk
    CARBON-NEUTRAL CITIES - ENERGY EFFICIENCY AND RENEWABLES IN THE DIGITAL ERA (CISBAT 2021), 2021, 2042
  • [24] Quantifying the Bias Dynamics in a Mode-based Kalman Filter for Stochastic Hybrid Systems
    Zhang, Wenji
    Natarajan, Balasubramaniam
    2018 ANNUAL AMERICAN CONTROL CONFERENCE (ACC), 2018, : 5849 - 5856
  • [25] Coupling mode-based nanophotonic circuit device
    Zhou, X.
    Fu, Y.
    Li, K.
    Wang, S.
    Cai, Z.
    APPLIED PHYSICS B-LASERS AND OPTICS, 2008, 91 (02): : 373 - 376
  • [26] CSL4P: A Contract Specification Language for Platforms
    Pinto, Alessandro
    Vincentelli, Alberto L. Sangiovanni
    SYSTEMS ENGINEERING, 2017, 20 (03) : 220 - 234
  • [27] Mode-based beamforming with closely spaced amtennas
    Lee, Tzung-I
    Wang, Yuanxun Ethan
    2007 IEEE/MTT-S INTERNATIONAL MICROWAVE SYMPOSIUM DIGEST, VOLS 1-6, 2007, : 1716 - 1719
  • [28] Distributed learning for kernel mode-based regression
    Wang, Tao
    CANADIAN JOURNAL OF STATISTICS-REVUE CANADIENNE DE STATISTIQUE, 2024,
  • [29] Minor Surfaces are Boundaries of Mode-Based Clusters
    Ataer-Cansizoglu, Esra
    Akcakaya, Murat
    Erdogmus, Deniz
    IEEE SIGNAL PROCESSING LETTERS, 2015, 22 (07) : 891 - 895
  • [30] LTLAS: a language based on temporal logic for agents systems specification
    Mendoza, NF
    Corchado, FFR
    ADVANCES IN LOGIC, ARTIFICIAL INTELLIGENCE AND ROBOTICS, 2002, 85 : 242 - 249