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. © 2012 Springer-Verlag Berlin Heidelberg.
CITATION STYLE
Bauer, S. S., David, A., Hennicker, R., Guldstrand Larsen, K., Legay, A., Nyman, U., & Wa̧sowski, A. (2012). Moving from specifications to contracts in component-based design. In Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) (Vol. 7212 LNCS, pp. 43–58). https://doi.org/10.1007/978-3-642-28872-2_3
Mendeley helps you to discover research relevant for your work.