Volume 41, Numbers 3-4, 219-249, DOI: 10.1007/s10817-008-9108-3

An Extensible Encoding of Object-oriented Data Models in hol
with an Application to imp++

Achim D. Brucker and Burkhart Wolff

From the issue entitled "Special Issue: Formal Modeling and Verification of Critical Systems"

View Related Documents

Abstract

We present an extensible encoding of object-oriented data models into higher-order logic (hol). Our encoding is supported by a datatype package that leverages the use of the shallow embedding technique to object-oriented specification and programming languages. The package incrementally compiles an object-oriented data model, i. e., a class model, to a theory containing object-universes, constructors, accessor functions, coercions (casts) between static types (and providing a foundation for the notion of dynamic types), characteristic sets, and co-inductive class invariants. The package is conservative, i. e., all properties are derived entirely from constant definitions, including the constraints over object structures. As an application, we use the package for an object-oriented core-language called imp++, for which we formally prove the correctness of a Hoare logic with respect to a denotational semantics.

Keywords  Object-oriented data models -  hol  - Theorem proving - Verification

Fulltext Preview

Image of the first page of the fulltext document