IEEE Software · 1991 · 89 citations · 8 references
ComputingComputer ScienceFormal MethodsProgramming LanguagesTheory Of ComputationData TypesFormal SemanticsObject-oriented DesignObject-oriented ProgrammingType CheckingType SystemsAbstraction MechanismsConstraintsModular VerificationSemantic ConstraintsSubtype PolymorphismType PolymorphismType Specification
A method for modular specification and verification using the ideas of subtype and normal type is presented. The method corresponds to informal techniques used by object-oriented programmers. The key idea is that objects of a subtype must behave like objects of that type's supertypes. An example program is used to show the reasoning problems that supertype abstraction may cause and how the method resolves them. Subtype polymorphism is addressed, and specification and verification update is discussed. A set of syntactic and semantic constraints on subtype relationships, which formalize the intuition that each object of a subtype must behave like some object of each of its supertypes, is examined. These constraints are the key to the soundness of the method. To state them precisely, a formal model of abstract type specifications is used.< <ETX xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">></ETX>
8
Proof of correctness of data representations
C. A. R. Hoare · Acta Informatica · 1972 · 967 citations
How to make ad-hoc polymorphism less ad hoc
Philip Wadler, Stephen Blott · 1989 · 770 citations · Full text
The Larch Family of Specification Languages
John V. Guttag, J. J. Horning, J.M. Wing · IEEE Software · 1985 · 278 citations
Reasoning about object-oriented programs that use subtypes
Gary T. Leavens, William E. Weihl · 1990 · 62 citations · Full text