Title :
Faithful mapping of model classes to mathematical structures
Author :
Darvas, A. ; Muller, Philipp
Author_Institution :
Dept. of Comput. Sci., ETH Zurich, Zurich
fDate :
12/1/2008 12:00:00 AM
Abstract :
Abstraction techniques are indispensable for the specification and verification of the functional behaviour of programs. In object-oriented specification languages like Java Modeling Language, a powerful abstraction technique is the use of model classes, that is, classes that are only used for specification purposes and that provide object-oriented interfaces for essential mathematical concepts such as sets or relations. Although the use of model classes in specifications is natural and powerful, they pose problems for verification. Program verifiers map model classes to their underlying logics. Flaws in a model class or the mapping can easily lead to unsoundness and incompleteness. This article proposes an approach for the faithful mapping of model classes to mathematical structures provided by the theorem prover of the program verifier at hand. Faithfulness means that a given model class semantically corresponds to the mathematical structure it is mapped to. This approach enables reasoning about programs specified in terms of model classes. It also helps in writing consistent and complete model-class specifications as well as in identifying and checking redundant specifications.
Keywords :
formal specification; object-oriented programming; reasoning about programs; Java Modeling Language; abstraction techniques; functional behaviour specification; functional behaviour verification; mathematical structures; model classes; object-oriented interfaces; object-oriented specification languages; program verifiers map model; reasoning about programs;
Journal_Title :
Software, IET
DOI :
10.1049/iet-sen:20080011