Skip to main content
Log in

Protective Interface Specifications

  • Original Paper
  • Published:
Formal Aspects of Computing

Abstract.

The interface specification of a procedure describes the procedure's behaviour 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.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

Author information

Authors and Affiliations

Authors

Additional information

Received October 1997 / Accepted in revised form March 1998

Rights and permissions

Reprints and permissions

About this article

Cite this article

Leavens, G., Wing, J. Protective Interface Specifications. Form Aspects Comput 10, 59–75 (1998). https://doi.org/10.1007/PL00003926

Download citation

  • Issue Date:

  • DOI: https://doi.org/10.1007/PL00003926

Navigation