Moving from Specifications to Contracts in Component-Based Design

被引:0
作者
Bauer, Sebastian S. [1 ]
David, Alexandre [2 ]
Hennicker, Rolf [1 ]
Larsen, Kim Guldstrand [2 ]
Legay, Axel [2 ,3 ]
Nyman, Ulrik [2 ]
Wasowski, Andrzej [4 ]
机构
[1] Univ Munich, Marchioninistr 15, D-81377 Munich, Germany
[2] Aalborg Univ, Dept Comp Sci, Aalborg, Denmark
[3] INRIA, IRISA, Rennes, France
[4] IT Univ Copenhagen, Copenhagen, Denmark
来源
FUNDAMENTAL APPROACHES TO SOFTWARE ENGINEERING, FASE 2012 | 2012年 / 7212卷
关键词
TRANSITION-SYSTEMS;
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
We study the relation between specifications of component behaviors and contracts providing means to specify assumptions on environments as well as component guarantees. We show how a contract framework can be built in a generic way on top of any specification theory which supports composition and specification refinement. Our contract framework lifts refinement to the level of contracts and proposes a notion of contract composition on the basis of dominating contracts. Contract composition satisfies a universal property and can be constructively defined if the underlying specification theory is complete, i.e. it offers operators for quotienting and conjoining specifications. We illustrate our generic construction of contracts by moving a specification theory for modal transition systems to contracts and we show that a (previously proposed) trace-based contract theory is an instance of our framework.
引用
收藏
页码:43 / 58
页数:16
相关论文
共 37 条
  • [21] Huth M, 2001, LECT NOTES COMPUT SC, V2028, P155
  • [22] Jones C., 1981, THESIS
  • [23] Larsen K.G., 1988, LICS
  • [24] LARSEN KG, 1990, LECT NOTES COMPUT SC, V407, P232
  • [25] Larsen KG, 2006, LECT NOTES COMPUT SC, V4085, P82
  • [26] Larsen KG, 2011, LECT NOTES COMPUT SC, V6919, P129, DOI 10.1007/978-3-642-24310-3_10
  • [27] A BEHAVIORAL NOTION OF SUBTYPING
    LISKOV, BH
    WING, JM
    [J]. ACM TRANSACTIONS ON PROGRAMMING LANGUAGES AND SYSTEMS, 1994, 16 (06): : 1811 - 1841
  • [28] APPLYING DESIGN BY CONTRACT
    MEYER, B
    [J]. COMPUTER, 1992, 25 (10) : 40 - 51
  • [29] PROOFS OF NETWORKS OF PROCESSES
    MISRA, J
    CHANDY, KM
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1981, 7 (04) : 417 - 426
  • [30] Nyman U, 2007, LECT NOTES COMPUT SC, V4421, P64