Moving from specifications to contracts in component-based design

  • Authors:
  • Sebastian S. Bauer;Alexandre David;Rolf Hennicker;Kim Guldstrand Larsen;Axel Legay;Ulrik Nyman;Andrzej Wąsowski

  • Affiliations:
  • Ludwig-Maximilians-Universität München, Germany;Computer Science Department, Aalborg University, Denmark;Ludwig-Maximilians-Universität München, Germany;Computer Science Department, Aalborg University, Denmark;Computer Science Department, Aalborg University, Denmark and INRIA/IRISA, Rennes Cedex, France;Computer Science Department, Aalborg University, Denmark;IT University of Copenhagen, Denmark

  • Venue:
  • FASE'12 Proceedings of the 15th international conference on Fundamental Approaches to Software Engineering
  • Year:
  • 2012

Quantified Score

Hi-index 0.00

Visualization

Abstract

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.