University of Leicester

cms

Research Reports 2005

Summary

CS-05-001 P. Kosiuczenko.

Redesign of UML Class Diagrams: A Formal Approach

CS-05-002 P. Kosiuczenko.

Proof Transformation via Interpretation Functions




Full details

CS-05-001 P. Kosiuczenko.

Redesign of UML Class Diagrams: A Formal Approach

Contracts provide a precise way of specifying object-oriented systems. When a class structure is modified, the corresponding contracts must be modified accordingly. This paper presents a method of transforming contracts, which allows the extension of a mapping defined on a few model elements, to - what we call - an interpretation function, and to use this function to automatically translate OCL-constraints. Interestingly, such functions preserve reasoning using prepositional calculi, resolution, equations, and induction. Interpretation functions can be used to trace model elements throughout multiple redesigns of UML class diagrams in both the forward, and the backward direction. The applicability of our approach is demonstrated in several examples, including some of Fowler's refactoring patterns.

Keywords: UML, OCL, formal methods, refactoring, requirements tracing.

Available as: Adobe™ PDF (.pdf)

CS-05-002 P. Kosiuczenko.

Proof Transformation via Interpretation Functions

Redesign of a class structure requires transformation of the corresponding specification. In a previous paper we have shown how to use, what we call, interpretation functions for transformation of constraints. In this paper we study the way proof are transformed via such functions. We provide a sufficient condition for interpretation functions to preserve proofs using propositional logic with modus ponens, proofs using resolution rule and induction.

Available as: Adobe™ PDF (.pdf)

Author: Gilbert Laycock (g.laycock@mcs.le.ac.uk).
© University of Leicester January 2005. Last modified: 27th July 2007, 12:21:57
CMS Web Maintainer. This document has been approved by the Head of Department.