Protective interface specifications
- Gary T. LeavensAffiliated withDepartment of Computer Science, Iowa State University
- , Jeannette M. WingAffiliated withComputer Science Department, Carnegie Mellon University
The interface specification of a procedure describes the procedure's behavior using pre- and postconditions. These pre- and postconditions are written using various functions. If some of these functions are partial, or underspecified, then the procedure specification may not be well-defined.
We show how to write pre- and postcondition specifications that avoid such problems, by having the precondition “protect” the postcondition from the effects of partiality and underspecification. We formalize the notion of protection from partiality in the context of specification languages like VDM-SL and COLD-K. We also formalize the notion of protection from underspecification for the Larch family of specification languages, and for Larch show how one can prove that a procedure specification is protected from the effects of underspecification.
- Protective interface specifications
- Book Title
- TAPSOFT '97: Theory and Practice of Software Development
- Book Subtitle
- 7th International Joint Conference CAAP/FASE Lille, France, April 14–18, 1997 Proceedings
- pp 520-534
- Print ISBN
- Online ISBN
- Series Title
- Lecture Notes in Computer Science
- Series Volume
- Series ISSN
- Springer Berlin Heidelberg
- Copyright Holder
- Additional Links
- Industry Sectors
- eBook Packages
To view the rest of this content please follow the download PDF link above.