Abstract
Rewriting usually relies on a notion of substitution which can be understood as the succession of three basic operations: deletion of the part to be rewritten to provide a context, union of this context with the right-hand side of a rule, liaison of those two parts, most often by identification of some corresponding items.
In the field of graph rewriting, this has led to the elegant, productive and therefore popular method known as the double push-out approach to graph rewriting. Yet this method has met its descriptive limits when trying to deal with the various notions of node replacement.
In this paper we show how – when set in a proper framework – products (or pullbacks) can provide a very generic and uniform rewriting mechanism which extends uniformly to arbitrary complicated graph-like structures.
Similar content being viewed by others
References
Asperti, A. and Longo, G.: Categories, Types, and Structures. An Introduction to Category Theory for the Working Computer Scientist, MIT Press, 1991.
Barr, M. and Wells, C. F.: Category Theory for Computing Science, Prentice-Hall, 1990.
Bauderon, M.: A categorical approach to vertex replacement: The generation of infinite graphs, in [12], pp. 27-37.
Bauderon, M.: A uniform approach to graph rewriting: The pullback approach, in Proceedings WG'95, Lecture Notes in Comput. Sci. 1017, 1995, pp. 101-115.
Bauderon, M.: Parallel rewriting through the pullback approach, in SEGRAGRA'95, Elect. Notes in Theor. Comput. Sci. 2, 1995.
Bauderon, M. and Courcelle, B.: Graph expressions and graph rewriting, Math. Systems Theory 20 (1987), 83-127.
Bauderon, M. and Jacquet, H.: Node rewriting in hypergraphs, in Proceedings WG'96, Lecture Notes in Comput. Sci. 1197, pp. 31-43.
Bauderon, M. and Jacquet, H.: Node rewriting in graphs and hypergraphs: A categorical framework, Research Report LaBRI-1134, submitted.
Courcelle, B.: An axiomatic definition of context-free rewriting and its applications to NLC graph grammars, Theoret. Comput. Sci. 55 (1987), 141-181.
Courcelle, B.: Graph rewriting: An algebraic and logic approach, in J. Van Leeuwen (ed.), Handbook of Theoretical Computer Science, Vol. B, Elsevier, Amsterdam, 1990, pp. 193-242.
Courcelle, B., Engelfriet, J. and Rozenberg, G.: Handle-rewriting hypergraph grammars, J. Comput. System Sci. 46 (1993), 218-270.
Cuny, J., Ehrig, H., Engels, G. and Rozenberg G. (eds), 5th International Conference on Graph Grammars and their Applications to Computer Science, Williamsburg, November 1994, Lecture Notes in Comput. Sci. 1073, 1996.
Engelfriet, J. and Rozenberg, G.: A comparison of boundary graph grammars and context-free hypergraph grammars, Inform. and Comput. 84 (1990), 163-206.
Engelfriet, J. and Rozenberg, G.: Graph grammars based on node rewriting: An introduction to NLC grammars, Lecture Notes in Comput. Sci. 532 (1991), 12-23.
Engelfriet, J., Heyker, L. and Leih, G.: Context free graph languages of bounded degree are generated by apex graph grammars, Acta Informatica 31 (1994), 341-378.
Ehrig, H.: Introduction of the algebraic theory of graph grammars, in Graph Grammars and their Applications to Computer Science, Lecture Notes in Comput. Sci. 73, 1979, pp. 1-69.
Habel, A.: Hyperedge Replacement: Grammars and Languages, Lecture Notes in Comput. Sci. 643, 1992.
Janssens, D. and Rozenberg, G.: On the structure of node-label-controlled graph languages, Inform. Sci. 20 (1980), 191-216.
Janssens, D. and Rozenberg, G.: Graph grammars with node label controlled rewriting and embedding,Lecture Notes in Comput. Sci. 153 (1982), 186-205.
Janssens, D. and Rozenberg, G.: Graph grammars with neighbourhood-controlled embedding, Theoret. Comput. Sci. 21 (1982), 55-74.
Kim, C. and Jeong, T. E.: HRNCE Grammars,-A hypergraphs generating system with an eNCE way of rewriting, in [12], pp. 383-396.
Klempien-Hinrichs, R.: Node replacement in hypergraphs: Simulation of hyperedge replacement and decidability of confluence, in [12], pp. 397-411.
Klempien-Hinrichs, R.: Net refinement by pullback rewriting, Research Report LaBRI-1175, to appear in FOSSACS'98.
McLane, S.: Categories for the Working Mathematician, Springer, Berlin, 1971.
Vogler, W.: On hyperedge replacement and BNLC graph grammars, Discrete Appl. Math. 46 (1993), 253-273.
Author information
Authors and Affiliations
Rights and permissions
About this article
Cite this article
Bauderon, M., Jacquet, H. Pullback as a Generic Graph Rewriting Mechanism. Applied Categorical Structures 9, 65–82 (2001). https://doi.org/10.1023/A:1008610714027
Issue Date:
DOI: https://doi.org/10.1023/A:1008610714027