From Relational Interfaces to Assume-Guarantee Contracts
Pierluigi Nuzzo and Antonio Iannopollo and Stavros Tripakis and Alberto L. Sangiovanni-Vincentelli
EECS Department, University of California, Berkeley
Technical Report No. UCB/EECS-2014-21
March 18, 2014
http://www2.eecs.berkeley.edu/Pubs/TechRpts/2014/EECS-2014-21.pdf
Contract-based design is emerging as a unifying compositional paradigm for the specification, design and verification of large-scale complex systems. Yet, different contract frameworks are currently available, without a clear understanding of the relations between them. In this paper, we investigate the relation between interface theories (specifically, relational interfaces) and assume-guarantee (A/G) contracts, revealing some of the subtleties involved. We show that the natural transformation of interfaces to A/G contracts represented by linear temporal logic (LTL) formulas preserves refinement, but does not generally preserve serial composition, and we present an assumption-projection operator to remedy the latter issue. We also discuss the properties of our transformation with respect to conjunction. Finally, we provide illustrative examples that shed light on the effectiveness of both frameworks for requirement formalization, early detection of integration errors, and principled use of abstraction-refinement.
BibTeX citation:
@techreport{Nuzzo:EECS-2014-21, Author= {Nuzzo, Pierluigi and Iannopollo, Antonio and Tripakis, Stavros and Sangiovanni-Vincentelli, Alberto L.}, Title= {From Relational Interfaces to Assume-Guarantee Contracts}, Year= {2014}, Month= {Mar}, Url= {http://www2.eecs.berkeley.edu/Pubs/TechRpts/2014/EECS-2014-21.html}, Number= {UCB/EECS-2014-21}, Abstract= {Contract-based design is emerging as a unifying compositional paradigm for the specification, design and verification of large-scale complex systems. Yet, different contract frameworks are currently available, without a clear understanding of the relations between them. In this paper, we investigate the relation between interface theories (specifically, relational interfaces) and assume-guarantee (A/G) contracts, revealing some of the subtleties involved. We show that the natural transformation of interfaces to A/G contracts represented by linear temporal logic (LTL) formulas preserves refinement, but does not generally preserve serial composition, and we present an assumption-projection operator to remedy the latter issue. We also discuss the properties of our transformation with respect to conjunction. Finally, we provide illustrative examples that shed light on the effectiveness of both frameworks for requirement formalization, early detection of integration errors, and principled use of abstraction-refinement.}, }
EndNote citation:
%0 Report %A Nuzzo, Pierluigi %A Iannopollo, Antonio %A Tripakis, Stavros %A Sangiovanni-Vincentelli, Alberto L. %T From Relational Interfaces to Assume-Guarantee Contracts %I EECS Department, University of California, Berkeley %D 2014 %8 March 18 %@ UCB/EECS-2014-21 %U http://www2.eecs.berkeley.edu/Pubs/TechRpts/2014/EECS-2014-21.html %F Nuzzo:EECS-2014-21