Skip to main content

A Generalized Concurrent Rule Construction for Double-Pushout Rewriting

  • Conference paper
  • First Online:
Graph Transformation (ICGT 2021)

Abstract

Double-pushout rewriting is an established categorical approach to the rule-based transformation of graphs and graph-like objects. One of its standard results is the construction of concurrent rules and the Concurrency Theorem pertaining to it: The sequential application of two rules can equivalently be replaced by the application of a concurrent rule and vice versa. We extend and generalize this result by introducing generalized concurrent rules (GCRs). Their distinguishing property is that they allow identifying and preserving elements that are deleted by their first underlying rule and created by the second one. We position this new kind of composition of rules among the existing ones and obtain a Generalized Concurrency Theorem for it. We conduct our work in the same generic framework in which the Concurrency Theorem has been presented, namely double-pushout rewriting in \(\mathcal {M}\)-adhesive categories via rules equipped with application conditions.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others

Notes

  1. 1.

    This means, every pair of morphisms with the same codomain can be factored as a pair of morphisms belonging to \(\mathcal {E}^{\prime }\) followed by an \(\mathcal {M}\)-morphism. We do not directly need this property in any of our proofs but it is assumed for the computation of application conditions of concurrent and, hence, also generalized concurrent rules. Moreover, it guarantees the existence of E-related transformations [6, Fact 5.29].

    Since we restrict ourselves to the case of \(\mathcal {M}\)-matching, decomposition of \(\mathcal {M}\)-morphisms then ensures that all occurring pairs \((e_1,e_2) \in \mathcal {E}^{\prime }\) are in fact even pairs of \(\mathcal {M}\)-morphisms. This in turn (by closedness of \(\mathcal {M}\) under pullbacks) implies that in any common kernel k compatible to a given E-dependency relation, the embedding morphisms \(u_1,u_2\) are necessarily \(\mathcal {M}\)-morphisms.

References

  1. Behr, N.: Sesqui-pushout rewriting: concurrency, associativity and rule algebra framework. In: Echahed, R., Plump, D. (eds.) Proceedings Tenth International Workshop on Graph Computation Models, GCM@STAF 2019, Eindhoven, The Netherlands, 17th July 2019. EPTCS, vol. 309, pp. 23–52 (2019). https://doi.org/10.4204/EPTCS.309.2

  2. Behr, N., Danos, V., Garnier, I.: Combinatorial conversion and moment bisimulation for stochastic rewriting systems. Log. Methods Comput. Sci. 16(3) (2020). https://lmcs.episciences.org/6628

  3. Behr, N., Sobocinski, P.: Rule algebras for adhesive categories. Log. Methods Comput. Sci. 16(3) (2020). https://lmcs.episciences.org/6615

  4. Boehm, P., Fonio, H.-R., Habel, A.: Amalgamation of graph transformations with applications to synchronization. In: Ehrig, H., Floyd, C., Nivat, M., Thatcher, J. (eds.) CAAP 1985. LNCS, vol. 185, pp. 267–283. Springer, Heidelberg (1985). https://doi.org/10.1007/3-540-15198-2_17

    Chapter  MATH  Google Scholar 

  5. Ehrig, H., Ehrig, K., Prange, U., Taentzer, G.: Fundamentals of Algebraic Graph Transformation. MTCSAES. Springer, Heidelberg (2006). https://doi.org/10.1007/3-540-31188-2

    Book  MATH  Google Scholar 

  6. Ehrig, H., Ermel, C., Golas, U., Hermann, F.: Graph and Model Transformation - General Framework and Applications. MTCSAES. Springer, Cham (2015). https://doi.org/10.1007/978-3-662-47980-3

  7. Ehrig, H., Golas, U., Habel, A., Lambers, L., Orejas, F.: \(\cal{M}\)-adhesive transformation systems with nested application conditions. Part 1: parallelism, concurrency and amalgamation. Math. Struct. Comput. Sci. 24(4), 240406 (2014). https://doi.org/10.1017/S0960129512000357

  8. Ehrig, H., Habel, A., Kreowski, H.J., Parisi-Presicce, F.: Parallelism and concurrency in high-level replacement systems. Math. Struct. Comput. Sci. 1(3), 361–404 (1991). https://doi.org/10.1017/S0960129500001353

    Article  MathSciNet  MATH  Google Scholar 

  9. Ehrig, H., Habel, A., Lambers, L.: Parallelism and concurrency theorems for rules with nested application conditions. Electron. Commun. Eur. Assoc. Softw. Sci. Technol. 26 (2010). https://doi.org/10.14279/tuj.eceasst.26.363

  10. Ehrig, H., Hermann, F., Prange, U.: Cospan DPO approach: an alternative for DPO graph transformations. Bull. EATCS 98, 139–149 (2009)

    MathSciNet  MATH  Google Scholar 

  11. Ehrig, H., Rosen, B.K.: Parallelism and concurrency of graph manipulations. Theoret. Comput. Sci. 11(3), 247–275 (1980). https://doi.org/10.1016/0304-3975(80)90016-X

    Article  MathSciNet  MATH  Google Scholar 

  12. Fowler, M.: Refactoring - Improving the Design of Existing Code. Addison Wesley object technology series. Addison-Wesley (1999). http://martinfowler.com/books/refactoring.html

  13. Fritsche, L., Kosiol, J., Möller, A., Schürr, A., Taentzer, G.: A precedence-driven approach for concurrent model synchronization scenarios using triple graph grammars. In: de Lara, J., Tratt, L. (eds.) Proceedings of the 13th ACM SIGPLAN International Conference on Software Language Engineering (SLE 2020), November 16–17, 2020, Virtual, USA. ACM (2020). https://doi.org/10.1145/3426425.3426931

  14. Fritsche, L., Kosiol, J., Schürr, A., Taentzer, G.: Short-Cut Rules - sequential composition of rules avoiding unnecessary deletions. In: Mazzara, M., Ober, I., Salaün, G. (eds.) STAF 2018. LNCS, vol. 11176, pp. 415–430. Springer, Cham (2018). https://doi.org/10.1007/978-3-030-04771-9_30

    Chapter  Google Scholar 

  15. Fritsche, L., Kosiol, J., Schürr, A., Taentzer, G.: Efficient model synchronization by automatically constructed repair processes. In: Hähnle, R., van der Aalst, W. (eds.) FASE 2019. LNCS, vol. 11424, pp. 116–133. Springer, Cham (2019). https://doi.org/10.1007/978-3-030-16722-6_7

    Chapter  MATH  Google Scholar 

  16. Fritsche, L., Kosiol, J., Schürr, A., Taentzer, G.: Avoiding unnecessary information loss: correct and efficient model synchronization based on triple graph grammars. Int. J. Software Tools Technol. Transf. (2020). https://doi.org/10.1007/s10009-020-00588-7

  17. Golas, U., Habel, A., Ehrig, H.: Multi-amalgamation of rules with application conditions in \(\cal{M}\)-adhesive categories. Math. Struct. Comput. Sci. 24(4) (2014). https://doi.org/10.1017/S0960129512000345

  18. Habel, A., Pennemann, K.H.: Correctness of high-level transformation systems relative to nested conditions. Math. Struct. Comput. Sci. 19(2), 245–296 (2009). https://doi.org/10.1017/S0960129508007202

    Article  MathSciNet  MATH  Google Scholar 

  19. Kehrer, T., Taentzer, G., Rindt, M., Kelter, U.: Automatically deriving the specification of model editing operations from meta-models. In: Van Van Gorp, P., Engels, G. (eds.) ICMT 2016. LNCS, vol. 9765, pp. 173–188. Springer, Cham (2016). https://doi.org/10.1007/978-3-319-42064-6_12

    Chapter  Google Scholar 

  20. Kosiol, J., Taentzer, G.: A Generalized Concurrent Rule Construction for Double-Pushout Rewriting (2021). https://arxiv.org/abs/2105.02309

  21. Lack, S., Sobociński, P.: Adhesive and quasiadhesive categories. Theoret. Inform. Appl. 39(3), 511–545 (2005). https://doi.org/10.1051/ita:2005028

    Article  MathSciNet  MATH  Google Scholar 

  22. Löwe, M.: Algebraic approach to single-pushout graph transformation. Theor. Comput. Sci. 109(1&2), 181–224 (1993). https://doi.org/10.1016/0304-3975(93)90068-5

    Article  MathSciNet  MATH  Google Scholar 

  23. Löwe, M.: Polymorphic Sesqui-Pushout graph rewriting. In: Parisi-Presicce, F., Westfechtel, B. (eds.) ICGT 2015. LNCS, vol. 9151, pp. 3–18. Springer, Cham (2015). https://doi.org/10.1007/978-3-319-21145-9_1

    Chapter  MATH  Google Scholar 

  24. Löwe, M.: Double-Pushout rewriting in context. In: Guerra, E., Orejas, F. (eds.) ICGT 2019. LNCS, vol. 11629, pp. 21–37. Springer, Cham (2019). https://doi.org/10.1007/978-3-030-23611-3_2

    Chapter  Google Scholar 

  25. Mantz, F., Taentzer, G., Lamo, Y., Wolter, U.: Co-evolving meta-models and their instance models: a formal approach based on graph transformation. Sci. Comput. Program. 104, 2–43 (2015). https://doi.org/10.1016/j.scico.2015.01.002

    Article  Google Scholar 

  26. Wolter, U., Macías, F., Rutle, A.: Multilevel typed graph transformations. In: Gadducci, F., Kehrer, T. (eds.) ICGT 2020. LNCS, vol. 12150, pp. 163–182. Springer, Cham (2020). https://doi.org/10.1007/978-3-030-51372-6_10

    Chapter  Google Scholar 

Download references

Acknowledgments

This work was partially funded by the German Research Foundation (DFG), project TA294/17-1.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Jens Kosiol .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2021 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Kosiol, J., Taentzer, G. (2021). A Generalized Concurrent Rule Construction for Double-Pushout Rewriting. In: Gadducci, F., Kehrer, T. (eds) Graph Transformation. ICGT 2021. Lecture Notes in Computer Science(), vol 12741. Springer, Cham. https://doi.org/10.1007/978-3-030-78946-6_2

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-78946-6_2

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-78945-9

  • Online ISBN: 978-3-030-78946-6

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics