Hostname: page-component-5d84bcc8dc-ltttr Total loading time: 0 Render date: 2026-09-11T09:14:57.564Z Has data issue: false hasContentIssue false

Formal analysis of model transformations based on triple graph grammars

Published online by Cambridge University Press:  26 June 2014

FRANK HERMANN
Affiliation:
Institut für Softwaretechnik und Theoretische Informatik, Technische Universität Berlin, Berlin, Germany and Interdisciplinary Centre for Security, Reliability and Trust, University of Luxembourg, Luxembourg Email: frank.hermann@uni.lu
HARTMUT EHRIG
Affiliation:
Institut für Softwaretechnik und Theoretische Informatik, Technische Universität Berlin, Berlin, Germany Email: ehrig@cs.tu-berlin.de
ULRIKE GOLAS
Affiliation:
Konrad-Zuse-Zentrum für Informationstechnik Berlin, Berlin, Germany Email: golas@zib.de
FERNANDO OREJAS
Affiliation:
Departament de Llenguatges i Sistemes Informàtics, Universitat Politècnica de Catalunya, Barcelona, Spain Email: orejas@lsi.upc.edu

Abstract

Triple graph grammars (TGGs) are a well-established concept for the specification and execution of bidirectional model transformations within model driven software engineering. Their main advantage is an automatic generation of operational rules for forward and backward model transformations, which simplifies specification and enhances usability as well as consistency. In this paper we present several important results for analysing model transformations based on the formal categorical foundation of TGGs within the framework of attributed graph transformation systems.

Our first main result shows that the crucial properties of correctness and completeness are ensured for model transformations. In order to analyse functional behaviour, we generate a new kind of operational rule, called a forward translation rule. We apply existing results for the analysis of local confluence for attributed graph transformation systems. As additional main results, we provide sufficient criteria for the verification of functional behaviour as well as a necessary and sufficient condition for strong functional behaviour. In fact, these conditions imply polynomial complexity for the execution of the model transformation. We also analyse information and complete information preservation of model transformations, that is, whether a source model can be reconstructed (uniquely) from the target model computed by the model transformation. We illustrate the results for the well-known model transformation example from class diagrams to relational database models.

Information

Type
Paper
Copyright
Copyright © Cambridge University Press 2014 

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

Article purchase

Temporarily unavailable