Model Synchronization Based on Triple Graph Grammars: Correctness, Completeness and Invertibility

Frank Hermann,Hartmut Ehrig,Fernando Orejas,Krzysztof Czarnecki,Zinovy Diskin,Yingfei Xiong,Susann Gottmann,Thomas Engel
DOI: https://doi.org/10.1007/s10270-012-0309-1
2013-01-01
Abstract:Triple graph grammars (TGGs) have been used successfully to analyze correctness and completeness of bidirectional model transformations, but a corresponding formal approach to model synchronization has been missing. This paper closes this gap by providing a formal synchronization framework with bidirectional update propagation operations. They are generated from a given TGG, which specifies the language of all consistently integrated source and target models. As our main result, we show that the generated synchronization framework is correct and complete, provided that forward and backward propagation operations are deterministic. Correctness essentially means that the propagation operations preserve and establish consistency while completeness ensures that the operations are defined for all possible inputs. Moreover, we analyze the conditions under which the operations are inverse to each other. All constructions and results are motivated and explained by a running example, which leads to a case study, using concrete visual syntax and abstract syntax notation based on typed attributed graphs.
What problem does this paper attempt to address?