Representing Object Models as Theories
Abstract
Although techniques for using formal specifications have been progressing, methods for developing formal specifications themselves have improved little. To alleviate this problem, we propose a parallel refinement approach to specification acquisition where the designer uses an object-oriented specification representation while an underlying specification composition system manipulates an equivalent theory-based specification. The paper presents the key to such a system-a theory-based object model. Our theory-based object model formally defines object-oriented concepts in terms of algebraic theories and category theory operations. The theory-based object model provides the basis for the translation of the specification from a semi-formal, object-oriented representation to a formal theory-based specification suitable for input to semi-automated software synthesis systems.