{"id":{"repo_id":"whiterose","oai_identifier":"oai:etheses.whiterose.ac.uk:33407"},"canonical_url":"https://search.ndltd.org/etd/whiterose/oai:etheses.whiterose.ac.uk:33407","repository":{"repo_id":"whiterose","name":"White Rose University Consortium","base_url":"https://etheses.whiterose.ac.uk/cgi/oai2"},"display":{"title":"Time and space complexity of rule-based graph programs","abstract":"This thesis concerns the time and space efficiency of programs in GP 2, a rule-based graph transformation language that facilitates formal program analysis. Such programs are a sequence of control structures in which rules are called. A rule describes how part of a host graph is changed to another by specifying a subgraph that is to be replaced. We call the process of finding the specified subgraph in the host graph matching, which takes polynomial time in general. In practise however, we often want rule application to take constant time since it likely corresponds to a single step in a classical algorithm. Several case studies show that the time complexity of GP 2 programs can be on the same level as that of their imperative counterparts. We give linear-time programs for connectedness checking, DAG recognition, and topological sorting, as well as an efficient implementation of Boruvka’s algorithm for finding minimum spanning trees. This efficiency is achieved via roots, which are special nodes in rules and graphs that can be accessed in constant time and allow matching to happen locally around them. The given programs also use depth-first search to traverse graphs in linear time instead of iterating over nodes because GP 2 abstracts away from internal graph data structures. In the spirit of formal program analysis, we give a framework in which to describe the time complexity of these efficient programs. This framework is underpinned by a formal semantics that describes program execution in a sequence of steps that do not cover more than one rule application. On the topic of space efficiency, we give a theoretical result that shows GP 2, like some graph-based machine models, can simulate Turing machines using less space and only quadratic time overhead.","abstract_html":"This thesis concerns the time and space efficiency of programs in GP 2, a rule-based graph transformation language that facilitates formal program analysis. Such programs are a sequence of control structures in which rules are called. A rule describes how part of a host graph is changed to another by specifying a subgraph that is to be replaced. We call the process of finding the specified subgraph in the host graph matching, which takes polynomial time in general. In practise however, we often want rule application to take constant time since it likely corresponds to a single step in a classical algorithm. Several case studies show that the time complexity of GP 2 programs can be on the same level as that of their imperative counterparts. We give linear-time programs for connectedness checking, DAG recognition, and topological sorting, as well as an efficient implementation of Boruvka’s algorithm for finding minimum spanning trees. This efficiency is achieved via roots, which are special nodes in rules and graphs that can be accessed in constant time and allow matching to happen locally around them. The given programs also use depth-first search to traverse graphs in linear time instead of iterating over nodes because GP 2 abstracts away from internal graph data structures. In the spirit of formal program analysis, we give a framework in which to describe the time complexity of these efficient programs. This framework is underpinned by a formal semantics that describes program execution in a sequence of steps that do not cover more than one rule application. On the topic of space efficiency, we give a theoretical result that shows GP 2, like some graph-based machine models, can simulate Turing machines using less space and only quadratic time overhead.","abstract_has_math":false,"creators":["Courtehoute, Brian"],"institution":"University of York","degree_name":"Ph.D","degree_level":"doctoral","degree_discipline":null,"degree_department":null,"school":null,"contributors":[],"advisors":["Plump, Detlef"],"committee_chairs":[],"committee_members":[],"year":2023,"date_issued":"2023-03","date_published":"2023-03","updated_at":"2026-11-18T23:23:34Z","subjects":[],"languages":["eng"],"rights":[],"rights_urls":[],"identifier_entries":[{"key":"dc:identifier","label":"Identifier","values":["uk.bl.ethos.890388"],"render_values":[{"text":"uk.bl.ethos.890388","href":null,"code":true}]}],"person_identifier_entries":[{"key":"person:identifier.orcid","label":"ORCID","values":["0000000277364852"],"render_values":[{"text":"0000-0002-7736-4852","href":"https://orcid.org/0000-0002-7736-4852","code":true}]}]},"links":{"outbound_url":null,"outbound_label":null,"outbound_source":null,"record_url":null,"record_label":null,"record_kind":null,"record_source":null,"download_url":"https://etheses.whiterose.ac.uk/id/eprint/33407/1/Courtehoute_203046852_CorrectedThesisClean.pdf","download_label":"Download PDF","download_source":"dc:identifier.uri","access_status":null,"embargo_until":null,"access_note":null},"source_record":{"url":"https://etheses.whiterose.ac.uk/cgi/oai2?verb=GetRecord&metadataPrefix=uketd_dc&identifier=oai%3Aetheses.whiterose.ac.uk%3A33407","prefix":"uketd_dc"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.advisor","label":"Advisor","values":["Plump, Detlef"]},{"key":"dc:creator","label":"Author","values":["Courtehoute, Brian"]},{"key":"person:identifier.orcid","label":"ORCID","values":["0000000277364852"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date","label":"Dc Date","values":["2023-03"]},{"key":"dc:date.issued","label":"Date","values":["2023-03"]},{"key":"dc:publisher.department","label":"Dc Publisher Department","values":["Computer Science (York)"]},{"key":"dc:publisher.institution","label":"Dc Publisher Institution","values":["University of York"]},{"key":"dc:relation.isreferencedby","label":"Dc Relation Isreferencedby","values":["https://etheses.whiterose.ac.uk/id/eprint/33407/"]},{"key":"dc:relation.references","label":"Dc Relation References","values":["[1] Aditya Agrawal, Gabor Karsai, Sandeep Neema, Feng Shi & Attila Vizhanyo (2006): The Design of a Language for Model Transformations. Software and System Modeling 5(3), pp. 261–288, doi:10.1007/s10270-006-0027-7. [2] Alfred V. Aho, John E. Hopcroft & Jeffrey D. Ullman (1974): The Design and Analysis of Computer Algorithms. Addison-Wesley. [3] Jakob Lykke Andersen, Christoph Flamm, Daniel Merkle & Peter F. Stadler (2017): Chemical Graph Transformation with Stereo-Information. In Juan de Lara & Detlef Plump, editors: Proc. 10th International Conference on Graph Transformation (ICGT 2017), Lecture Notes in Computer Science 10373, Springer, pp. 54–69, doi:10.1007/978-3-319-61470-0_4. [4] Krzysztof R. Apt (1984): Ten Years of Hoare’s Logic: A Survey. Part II: Nondeterminism. Theoretical Computer Science 28, pp. 83–109, doi:10.1016/0304-3975(83)90066-X. [5] Krzysztof R. Apt (1996): From Logic Programming to Prolog. Prentice Hall. [6] Nina Aschenbrenner & Leif Geiger (2008): Transforming Scene Graphs Using Triple Graph Grammars – A Practice Report. In A. Schürr, M. Nagl & A. Zündorf, editors: Applications of Graph Transformations with Industrial Relevance (AGTIVE 2007), Lecture Notes in Computer Science 5088, Springer, pp. 32–43, doi:10.1007/978-3-540-89020-1_3. [7] Franz Baader & Tobias Nipkow (1998): Term Rewriting and All That. Cambridge University Press, doi:10.1017/CBO9781139172752. [8] Christopher Bak (2015): GP 2: Efficient Implementation of a Graph Programming Language. Ph.D. thesis, Department of Computer Science, University of York. Available at http://etheses.whiterose.ac.uk/12586/. [9] Christopher Bak, Glyn Faulkner, Detlef Plump & Colin Runciman (2015): A Reference Interpreter for the Graph Programming Language GP 2. Electronic Proceedings in Theoretical Computer Science 181, pp. 48–64, doi:10.4204/eptcs.181.4. [10] Christopher Bak & Detlef Plump (2012): Rooted Graph Programs. In: Proc. International Workshop on Graph Based Tools (GraBaTs 2012), Electronic Communications of the EASST 54, p. 12, doi:10.14279/tuj.eceasst.54.780. [11] Christopher Bak & Detlef Plump (2016): Compiling Graph Programs to C. In Rachid Echahed & Mark Minas, editors: Graph Transformation, Lecture Notes in Computer Science (LNCS) 9761, Springer, pp. 102–117, doi:10.1007/978-3-319-40530-8_7. [12] Cüneyt F. Bazlamaçcı & Khalil S. Hindi (2001): Minimum-weight spanning tree algorithms A survey and empirical study. Computers & Operations Research 28(8), pp. 767–785, doi:10.1016/S0305-0548(00)00007-1. [13] Nicolas Behr, Bello Shehu Bello, Sebastian Ehmes & Reiko Heckel (2021): Stochastic Graph Transformation For Social Network Modeling. In Berthold Hoffmann & Mark Minas, editors: Proc. 12th International Workshop on Graph Computational Models (GCM 2021), EPTCS 350, pp. 35–50, doi:10.4204/EPTCS.350.3. Revised Selected Papers. [14] Gábor Bergmann, Ákos Horváth, István Ráth & Dániel Varró (2008): A Benchmark Evaluation of Incremental Pattern Matching in Graph Transformation. In: Proc. International Conference on Graph Transformation (ICGT 2008), Lecture Notes in Computer Science 5214, Springer, pp. 396–410, doi:10.1007/978-3-540-87405-8_27. [15] Ronald V. Book & Friedrich Otto (1993): String-Rewriting Systems. Springer, doi:10.1007/978-1-4613-9771-7. [16] Horst Bunke, Thomas Glauser & T.-H. Tran (1991): An Efficient Implementation of Graph Grammars Based on the RETE-Matching Algorithm. In: Proc. Graph Grammars and Their Application to Computer Science and Biology, LNCS 532, Springer-Verlag, pp. 174–189, doi:10.1007/BFb0017389. [17] Graham Campbell (2019): Efficient Graph Rewriting. Bachelor thesis, Department of Computer Science, University of York, doi:10.48550/arXiv.1906.05170. [18] Graham Campbell, Brian Courtehoute & Detlef Plump (2019): Linear-Time Graph Algorithms in GP 2. In Markus Roggenbach & Ana Sokolova, editors: Proc. 8th Conference on Algebra and Coalgebra in Computer Science (CALCO 2019), Leibniz International Proceedings in Informatics (LIPICS) 139, Schloss Dagstuhl-Leibniz-Zentrum für Informatik, pp. 16:1–16:23, doi:10.4230/LIPIcs.CALCO.2019.16. [19] Graham Campbell, Brian Courtehoute & Detlef Plump (2022): Fast Rule-Based Graph Programs. Science of Computer Programming 214, doi:10.1016/j.scico.2021.102727. [20] Graham Campbell, Jack Romo & Detlef Plump (2020): The Improved GP 2 Compiler. In: Pre-Proc. 11th International Workshop on Graph Computation Models (GCM 2020), pp. 206–217. Available at https://eprints.whiterose.ac.uk/176054/. [21] Graham Campbell, Jack Romo & Detlef Plump (2020): Improving the GP 2 Compiler, doi:10.48550/arXiv.2002.02914. [22] William Clinger (1984): The Scheme 311 Compiler an Exercise in Denotational Semantics. In: Proc. ACM Symposium on LISP and Functional Programming (LFP 1984), pp. 356–364, doi:10.1145/800055.802052. [23] Thomas H. Cormen, Charles E. Leiserson, Ronald L. Rivest & Clifford Stein (2009): Introduction to Algorithms, 3rd edition. The MIT Press. [24] Brian Courtehoute & Detlef Plump (2020): A Fast Graph Program for Computing Minimum Spanning Trees. In: Proc. 11th International Workshop on Graph Computation Models (GCM 2020), Electronic Proceedings in Theoretical Computer Science 330, pp. 163–180, doi:10.4204/eptcs.330.10. Revised Selected Papers. [25] Brian Courtehoute & Detlef Plump (2021): A Small-Step Operational Semantics for GP 2. In: Proc. 12th International Workshop on Graph Computation Models (GCM 2021), Electronic Proceedings in Theoretical Computer Science 350, pp. 89–110, doi:10.4204/eptcs.350.6. Revised Selected Papers. [26] Brian Courtehoute & Detlef Plump (2022): Time and Space Measures for a Complete Graph Computation Model. In: Proc. 13th International Workshop on Graph Computation Models (GCM 2022), Electronic Proceedings in Theoretical Computer Science 374, pp. 23–44, doi:10.4204/eptcs.374.4. Revised Selected Papers. [27] Edsger W. Dijkstra (1968): Letters to the Editor: Go To Statement Considered Harmful. Communications of the ACM 11(3), pp. 147–148, doi:10.1145/362929.362947. [28] Edsger W. Dijkstra (1976): A Discipline of Programming, 1st edition. Prentice Hall. [29] Mike Dodds (2008): Graph Transformation and Pointer Structures. Ph.D. thesis, Department of Computer Science, University of York. Available at https://www.cs.york.ac.uk/plasma/publications/pdf/DoddsThesis.08.pdf. [30] Heiko Dörr (1995): Efficient Graph Rewriting and its Implementation. Lecture Notes in Computer Science 922, Springer, doi:10.1007/BFb0031909. [31] Frank Drewes (1993): NP-completeness of k-connected hyperedge-replacement languages of order k. Information Processing Letters 45(2), pp. 89–94, doi:10.1016/0020-0190(93)90221-T. [32] Frank Drewes, Berthold Hoffmann & Mark Minas (2020): Graph Parsing as Graph Transformation. In Fabio Gadducci & Timo Kehrer, editors: Proc. 13th International Conference on Graph Transformation (ICGT 2020), Lecture Notes in Computer Science 12150, Springer, pp. 221–238, doi:10.1007/978-3-030-51372-6_13. [33] Frank Drewes, Berthold Hoffmann & Mark Minas (2021): Rule-Based Top-Down Parsing for Acyclic Contextual Hyperedge Replacement Grammars. In Fabio Gadducci & Timo Kehrer, editors: Proc. 14th International Conference on Graph Transformation (ICGT 2021), Lecture Notes in Computer Science 12741, Springer, pp. 164–184, doi:10.1007/978-3-030-78946-6_9. [34] Hartmut Ehrig, Karsten Ehrig, Ulrike Prange & Gabriele Taentzer (2006): Fundamentals of Algebraic Graph Transformation. Monographs in Theoretical Computer Science. An EATCS Series, Springer, doi:10.1007/3-540-31188-2. [35] Hartmut Ehrig, Claudia Ermel, Ulrike Golas & Frank Hermann (2015): Graph and Model Transformation. Monographs in Theoretical Computer Science. An EATCS Series, Springer, doi:10.1007/978-3-662-47980-3. [36] Maribel Fernández, Hélène Kirchner & Bruno Pinaud (2019): Strategic Port Graph Rewriting: an Interactive Modelling Framework. Mathematical Structures in Computer Science 29(5), pp. 615–662, doi:10.1017/S0960129518000270. [37] Wan Fokkink & Thuy Vu (2003): Structural Operational Semantics and Bounded Nondeterminism. Acta Informatica 39, pp. 501–516, doi:10.1007/s00236-003-0111-1. [38] Charles L. Forgy (1982): Rete: A Fast Algorithm For the Many Pattern/Many Object Pattern Match Problem. Artificial Intelligence 19(1), pp. 17–37, doi:10.1016/0004-3702(82)90020-0. [39] Michael Garey & David S. Johnson (1979): Computers and Intractability: A Guide to the Theory of NP-Completeness. W. H. Freeman. [40] Rubino Geiß, Gernot Veit Batz, Daniel Grund, Sebastian Hack & Adam Szalkowski (2006): GrGen: A Fast SPO-Based Graph Rewriting Tool. In Andrea Corradini, Hartmut Ehrig, Ugo Montanari, Leila Ribeiro & Grzegorz Rozenberg, editors: Proc. International Conference on Graph Transformation (ICGT 2006), Lecture Notes in Computer Science, Springer, pp. 383–397, doi:10.1007/11841883_27. [41] Amir Hossein Ghamarian, Maarten de Mol, Arend Rensink, Eduardo Zambon & Maria Zimakova (2012): Modelling and Analysis Using GROOVE. International Journal on Software Tools for Technology Transfer 14(1), pp. 15–40, doi:10.1007/s10009-011-0186-x. [42] Annegret Habel & Detlef Plump (2001): Computational Completeness of Programming Languages Based on Graph Transformation. In: Proc. Foundations of Software Science and Computation Structures (FOSSACS 2001), LNCS 2030, Springer, pp. 230–245, doi:10.1007/3-540-45315-6 15. [43] Annegret Habel & Detlef Plump (2002): Relabelling in Graph Transformation. In Andrea Corradini, Hartmut Ehrig, Hans-Jörg Kreowski & Grzegorz Rozenberg, editors: Graph Transformation, Lecture Notes in Computer Science 2505, Springer, pp. 135–147, doi:10.1007/3-540-45832-8_12. [44] C. A. R. Hoare (1969): An Axiomatic Basis for Computer Programming. Communications of the ACM 12(10), pp. 576–580, doi:10.1145/363235.363259. [45] Ákos Hórvath, Gergely Varró & Dániel Varró (2007): Generic Search Plans for Matching Advanced Graph Patterns. In: Proc. Workshop on Graph Transformation and Visual Modeling Techniques (GT-VMT 2007), Electronic Communications of the EASST 6, doi:10.14279/tuj.eceasst.6.49. [46] Ivaylo Hristakiev & Detlef Plump (2018): Checking Graph Programs for Confluence. In: Software Technologies: Applications and Foundations – STAF 2017 Collocated Workshops, Revised Selected Papers, Lecture Notes in Computer Science 10748, Springer, pp. 92–108, doi:10.1007/978-3-319-74730-9_8. [47] Edgar Jakumeit, Sebastian Buchwald & Moritz Kroll (2010): GrGen.NET - The Expressive, Convenient and Fast Graph Rewrite system. International Journal on Software Tools for Technology Transfer 12(3–4), pp. 263–271, doi:10.1007/s10009-010-0148-8. [48] Edgar Jakumeit, Sebastian Buchwald, Dennis Wagelaar, Li Dan, Ábel Hegedüs, Markus Herrmannsdörfer, Tassilo Horn, Elina Kalnina, Christian Krause, Kevin Lano, Arend Rensink, Louis Rose, Sebastian Wätzoldt, Markus Lepper & Steffen Mazanek (2014): A Survey and Comparison of Transformation Tools Based on the Transformation Tool Contest. Science of Computer Programming 85, pp. 41–99, doi:10.1016/j.scico.2013.10.009. [49] Andrey N. Kolmogorov & Vladimir A. Uspenskii (217–245): On the Definition of an Algorithm. American Mathematical Society Translations: Series 2 29, pp. 217–245, doi:10.1090/trans2/029. [50] Dénes Kőnig (1927): Über eine Schlussweise aus dem Endlichen ins Unendliche. Acta Sci. Math.(Szeged) 3(2-3), pp. 121–130. Available at https://acta.bibl.u-szeged.hu/13338/. [51] Klaus-Jörn Lange & Emo Welzl (1987): String grammars with disconnecting or a basic root of the difficulty in graph grammar parsing. Discrete Applied Mathematics 16(1), pp. 17–30, doi:10.1016/0166-218X(87)90051-5. [52] David R. Luginbuhl & Michael C. Loui (1993): Hierarchies and Space Measures for Pointer Machines. Information and Computation 104(2), pp. 253–270, doi:10.1006/inco.1993.1032. [53] Greg Manning & Detlef Plump (2008): The GP Programming System. In: Proceedings of the Seventh International Workshop on Graph Transformation and Visual Modeling Techniques (GT-VMT 2008), pp. 1–13, doi:10.14279/tuj.eceasst.10.150. [54] Georg Moser & Manuel Schneckenreither (2020): Automated Amortised Resource Analysis for Term Rewrite Systems. Science of Computer Programming 185, doi:10.1016/j.scico.2019.102306. [55] Hanne Riis Nielson & Flemming Nielson (2007): Semantics with Applications: An Appetizer. Springer-Verlag London, doi:10.1007/978-1-84628-692-6. [56] Romain Pascual (2022): Inference of Graph Transformation Rules for the Design of Geometric Modeling Operations. Ph.D. thesis, Université Paris-Saclay. Available at https://romainpascual.fr/uploads/phdthesis.pdf. [57] Gordon D. Plotkin (2004): A Structural Approach to Operational Semantics. Journal of Logic and Algebraic Programming 60–61, pp. 17–139, doi:10.1016/j.jlap.2004.05.001. [58] Detlef Plump (2012): The Design of GP 2. In: Proc. Workshop on Reduction Strategies in Rewriting and Programming (WRS 2011), Electronic Proceedings in Theoretical Computer Science 82, pp. 1–16, doi:10.4204/EPTCS.82.1. [59] Detlef Plump (2016): Reasoning About Graph Programs. In: Proc. Computing with Terms and Graphs (TERMGRAPH 2016), Electronic Proceedings in Theoretical Computer Science 225, pp. 35–44, doi:10.4204/eptcs.225.6. [60] Detlef Plump (2017): From Imperative to Rule-based Graph Programs. Journal of Logical and Algebraic Methods in Programming 88, pp. 154–173, doi:10.1016/j.jlamp.2016.12.001. [61] Detlef Plump, Amritesh Singh & Robin Suri (2011): Minimizing Finite Automata with Graph Programs. In: Proc. 3rd International Workshop on Graph Computation Models (GCM 2010), Electronic Communications of the EASST 39, doi:10.14279/tuj.eceasst.39.658. Revised Selected Papers. [62] Detlef Plump & Sandra Steinert (2004): Towards Graph Programs for Graph Algorithms. In Hartmut Ehrig, Gregor Engels, Francesco Parisi-Presicce & Grzegorz Rozenberg, editors: Graph Transformations, Lecture Notes in Computer Science 3256, Springer, pp. 128–143, doi:10.1007/978-3-540-30203-2_11. [63] Christopher M. Poskitt (2013): Verification of Graph Programs. Ph.D. thesis, Department of Computer Science, University of York. Available at http://etheses.whiterose.ac.uk/4700/. [64] Christopher M. Poskitt & Detlef Plump (2023): Monadic Second-Order Incorrectness Logic for GP 2. Journal of Logical and Algebraic Methods in Programming 130, doi:10.1016/j.jlamp.2022.100825. [65] John C. Reynolds (1998): Theories of Programming Languages. Cambridge University Press, doi:10.1017/cbo9780511626364. [66] Marko A. Rodriguez (2015): The Gremlin Graph Traversal Machine and Language. In: Proc. 15th Symposium on Database Programming Languages (DBPL 2015), Association for Computing Machinery (ACM), pp. 1–10, doi:10.1145/2815072.2815073. [67] Olga Runge, Claudia Ermel & Gabriele Taentzer (2012): AGG 2.0 — New Features for Specifying and Analyzing Algebraic Graph Transformations. In: Proc. Applications of Graph Transformations with Industrial Relevance (AGTIVE 2011), Lecture Notes in Computer Science 7233, Springer, pp. 81–88, doi:10.1007/978-3-642-34176-2_8. [68] Florian Schöler & Volker Steinhage (2012): Towards an Automated 3D Reconstruction of Plant Architecture. In Andy Schürr, Dániel Varró & Gergely Varró, editors: Applications of Graph Transformations with Industrial Relevance (AGTIVE 2011), Lecture Notes in Computer Science 7233, Springer, pp. 51–64, doi:10.1007/978-3-642-34176-2_6. [69] Arnold Schönhage (1980): Storage Modification Machines. SIAM Journal on Computing 9(3), pp. 490–508, doi:10.1137/0209036. [70] Andreas Schürr (1991): Operationales Spezifizieren mit programmierten Graphersetzungssystemen - formale Definitionen, Anwendungsbeispiele und Werkzeugunterstützung. DUV Informatik, Deutscher Universitätsverlag, doi:10.1007/978-3-663-14577-6. [71] Andy Schürr (1997): Programmed Graph Replacement Systems, chapter 7, pp. 479–546. World Scientific, doi:10.1142/9789812384720_0007. [72] Andy Schürr, Andreas J. Winter & Albert Zündorf (1999): The PROGRES Approach: Language and Environment, chapter 13, pp. 487–550. World Scientific, doi:10.1142/9789812815149_0013. [73] Roger S. Scowen (1993): Extended BNF - A Generic Base Standard. In: Software Engineering Standards Symposium (SESS 1993), pp. 25–34. Available at https://www.cl.cam.ac.uk/~mgk25/iso-14977-paper. pdf. [74] Robert Sedgewick (1997): Algorithms in C: Parts 1-4, Fundamentals, Data Structures, Sorting, and Searching, 3rd edition. Addison-Wesley. [75] Robert Sedgewick (2001): Algorithms in C, Part 5: Graph Algorithms, 3rd edition. Addison-Wesley. [76] Steven S. Skiena (2008): The Algorithm Design Manual, 2nd edition. Springer, doi:10.1007/978-1-84800-070-4. [77] Cees Slot & Peter van Emde Boas (1988): The Problem of Space Invariance for Sequential Machines. Information and Computation 77(2), pp. 93–122, doi:10.1016/0890-5401(88)90052-1. [78] Robert Söldner & Detlef Plump (2022): Towards Mechanised Proofs in Double-Pushout Graph Transformation. In: Proc. 13th International Workshop on Graph Computation Models (GCM 2022), Electronic Proceedings in Theoretical Computer Science 374, pp. 59–75, doi:10.4204/eptcs.374.6. Revised Selected Papers. [79] Daniel Strüber, Kristopher Born, Kanwal Daud Gill, Raffaela Groner, Timo Kehrer, Manuel Ohrndorf & Matthias Tichy (2017): Henshin: A Usability-Focused Framework for EMF Model Transformation Development. In: Proc. 10th International Conference on Graph Transformation (ICGT 2017), Lecture Notes in Computer Science 10373, Springer, pp. 196–208, doi:10.1007/978-3-319-61470-0_12. [80] Janusz Szuba, Agnieszka Ozimek & Andy Schürr (2004): On Graphs in Conceptual Engineering Design. In John L. Pfaltz, Manfred Nagl & Boris Böhlen, editors: Applications of Graph Transformations with Industrial Relevance (AGTIVE 2003), Lecture Notes in Computer Science 3062, Springer, pp. 75–89, doi:10.1007/978-3-540-25959-6_6. [81] Harald Søndergaard & Peter Sestoft (1992): Non-determinism in Functional Languages. The Computer Journal 35(5), pp. 514–523, doi:10.1093/comjnl/35.5.514. [82] Gabriele Taentzer (1996): Parallel and Distributed Graph Transformation: Formal Description and Application to Communication-based Systems. Ph.D. thesis, Technische Universität Berlin. Available at https://www.user.tu-berlin.de/lieske/tfs/Dissertationen/GabiTaentzer.pdf. [83] Gabriele Taentzer, Enrico Biermann, Dénes Bisztray, Bernd Bohnet, Iovka Boneva, Artur Boronat, Leif Geiger, Rubino Geiß, Ákos Horvath, Ole Kniemeyer, Tom Mens, Benjamin Ness, Detlef Plump & Tamás Vajk (2008): Generation of Sierpinski Triangles: A Case Study for Graph Transformation Tools. In Andy Schürr, Manfred Nagl & Albert Zündorf, editors: Applications of Graph Transformations with Industrial Relevance (AGTIVE 2007), Lecture Notes in Computer Science 5088, Springer, pp. 514–539, doi:10.1007/978-3-540-89020-1_35. [84] Julian R. Ullmann (1976): An Algorithm for Subgraph Isomorphism. Journal of the ACM 23(1), pp. 31–42, doi:10.1145/321921.321925. [85] Peter van Emde Boas (1989): Space Measures For Storage Modification Machines. Information Processing Letters 30(2), pp. 103–110, doi:10.1016/0020-0190(89)90117-8. [86] Peter van Emde Boas (1990): Machine Models and Simulation. In Jan van Leeuwen, editor: Handbook of Theoretical Computer Science Algorithms and Complexity, chapter 1, volume A, Elsevier, pp. 1–66, doi:10.1016/b978-0-444-88071-0.50006-0. [87] Gergely Varró, Katalin Friedl & Dániel Varró (2006): Adaptive Graph Pattern Matching for Model Transformations using Model-sensitive Search Plans. In: Proc. Workshop on Graph and Model Transformation (GraMoT 2005), Electronic Notes in Theoretical Computer Science 152, Elsevier, pp. 191–205, doi:10.1016/j.entcs.2005.10.025. [88] Gergely Varró, Katalin Friedl & Dániel Varró (2006): Implementing a Graph Transformation Engine in Relational Databases. Software & Systems Modeling 5(3), pp. 313–341, doi:10.1007/s10270-006-0015-y. [89] Gergely Varró, Andy Schürr & Dániel Varró (2005): Benchmarking for Graph Transformation. In: IEEE Symposium on Visual Languages and Human-Centric Computing (VL/HCC 2005), pp. 79–88, doi:10.1109/VLHCC.2005.23. [90] William Waites, Matteo Cavaliere, David Manheim, Jasmina Panovska-Griffiths & Vincent Danos (2021): Rule-based Epidemic Models. Journal of Theoretical Biology 530, doi:10.1016/j.jtbi.2021.110851. [91] David A. Watt (1988): An Action Semantics of Standard ML. In M. Main, A. Melton, M. Mislove & D. Schmidt, editors: Mathematical Foundations of Programming Language Semantics (MFPS 1987), Lecture Notes in Computer Science 298, Springer, pp. 572–598, doi:10.1007/3-540-19020-1_30. [92] Jens H. Weber-Jahnke (2008): Modelling of Longitudinal Information Systems with Graph Grammars. In: Applications of Graph Transformations with Industrial Relevance (AGTIVE 2007), Lecture Notes in Computer Science 5088, Springer, pp. 59–65, doi:10.1007/978-3-540-89020-1_5. [93] Robin J. Wilson (1972): Introduction to Graph Theory, 5th edition. Prentice Hall. [94] Gia Wulandari (2021): Verification of Graph Programs With Monadic Second-order Logic. Ph.D. thesis, Department of Computer Science, University of York. Available at https://etheses.whiterose.ac.uk/29370/. [95] Gia Wulandari & Detlef Plump (2021): Verifying Graph Programs with Monadic Second-Order Logic. In: Proc. 14th International Conference on Graph Transformation (ICGT 2021), Lecture Notes in Computer Science 12741, Springer, pp. 240–261, doi:10.1007/978-3-030-78946-6_13. [96] Paul Ziemann, Karsten Hölscher & Martin Gogolla (2005): From UML Models to Graph Transformation Systems. In: Proc. Workshop on Visual Languages and Formal Methods (VLFM 2004), Electronic Notes in Theoretical Computer Science 127, pp. 17–33, doi:10.1016/j.entcs.2004.10.025."]},{"key":"dc:type","label":"Dc Type","values":["Thesis"]},{"key":"dc:type.qualificationlevel","label":"Dc Type Qualificationlevel","values":["doctoral"]},{"key":"dc:type.qualificationname","label":"Dc Type Qualificationname","values":["Ph.D"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language.dcterms_iso639_2","label":"Language (ISO 639-2)","values":["eng"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier","label":"Identifier","values":["uk.bl.ethos.890388"]},{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://etheses.whiterose.ac.uk/id/eprint/33407/1/Courtehoute_203046852_CorrectedThesisClean.pdf"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["This thesis concerns the time and space efficiency of programs in GP 2, a rule-based graph transformation language that facilitates formal program analysis. Such programs are a sequence of control structures in which rules are called. A rule describes how part of a host graph is changed to another by specifying a subgraph that is to be replaced. We call the process of finding the specified subgraph in the host graph matching, which takes polynomial time in general. In practise however, we often want rule application to take constant time since it likely corresponds to a single step in a classical algorithm. Several case studies show that the time complexity of GP 2 programs can be on the same level as that of their imperative counterparts. We give linear-time programs for connectedness checking, DAG recognition, and topological sorting, as well as an efficient implementation of Boruvka’s algorithm for finding minimum spanning trees. This efficiency is achieved via roots, which are special nodes in rules and graphs that can be accessed in constant time and allow matching to happen locally around them. The given programs also use depth-first search to traverse graphs in linear time instead of iterating over nodes because GP 2 abstracts away from internal graph data structures. In the spirit of formal program analysis, we give a framework in which to describe the time complexity of these efficient programs. This framework is underpinned by a formal semantics that describes program execution in a sequence of steps that do not cover more than one rule application. On the topic of space efficiency, we give a theoretical result that shows GP 2, like some graph-based machine models, can simulate Turing machines using less space and only quadratic time overhead."]},{"key":"dc:format","label":"Dc Format","values":["text"]},{"key":"dcterms:accessrights","label":"Dcterms Accessrights","values":["public"]},{"key":"dc:title","label":"Title","values":["Time and space complexity of rule-based graph programs"]}]}],"canonical_facts":{"dc:contributor.advisor":["Plump, Detlef"],"dc:creator":["Courtehoute, Brian"],"dc:date":["2023-03"],"dc:date.issued":["2023-03"],"dc:description.abstract":["This thesis concerns the time and space efficiency of programs in GP 2, a rule-based graph transformation language that facilitates formal program analysis. Such programs are a sequence of control structures in which rules are called. A rule describes how part of a host graph is changed to another by specifying a subgraph that is to be replaced. We call the process of finding the specified subgraph in the host graph matching, which takes polynomial time in general. In practise however, we often want rule application to take constant time since it likely corresponds to a single step in a classical algorithm. Several case studies show that the time complexity of GP 2 programs can be on the same level as that of their imperative counterparts. We give linear-time programs for connectedness checking, DAG recognition, and topological sorting, as well as an efficient implementation of Boruvka’s algorithm for finding minimum spanning trees. This efficiency is achieved via roots, which are special nodes in rules and graphs that can be accessed in constant time and allow matching to happen locally around them. The given programs also use depth-first search to traverse graphs in linear time instead of iterating over nodes because GP 2 abstracts away from internal graph data structures. In the spirit of formal program analysis, we give a framework in which to describe the time complexity of these efficient programs. This framework is underpinned by a formal semantics that describes program execution in a sequence of steps that do not cover more than one rule application. On the topic of space efficiency, we give a theoretical result that shows GP 2, like some graph-based machine models, can simulate Turing machines using less space and only quadratic time overhead."],"dc:format":["text"],"dc:identifier":["uk.bl.ethos.890388"],"dc:identifier.uri":["https://etheses.whiterose.ac.uk/id/eprint/33407/1/Courtehoute_203046852_CorrectedThesisClean.pdf"],"dc:language.dcterms_iso639_2":["eng"],"dc:publisher.department":["Computer Science (York)"],"dc:publisher.institution":["University of York"],"dc:relation.isreferencedby":["https://etheses.whiterose.ac.uk/id/eprint/33407/"],"dc:relation.references":["[1] Aditya Agrawal, Gabor Karsai, Sandeep Neema, Feng Shi & Attila Vizhanyo (2006): The Design of a Language for Model Transformations. Software and System Modeling 5(3), pp. 261–288, doi:10.1007/s10270-006-0027-7. [2] Alfred V. Aho, John E. Hopcroft & Jeffrey D. Ullman (1974): The Design and Analysis of Computer Algorithms. Addison-Wesley. [3] Jakob Lykke Andersen, Christoph Flamm, Daniel Merkle & Peter F. Stadler (2017): Chemical Graph Transformation with Stereo-Information. In Juan de Lara & Detlef Plump, editors: Proc. 10th International Conference on Graph Transformation (ICGT 2017), Lecture Notes in Computer Science 10373, Springer, pp. 54–69, doi:10.1007/978-3-319-61470-0_4. [4] Krzysztof R. Apt (1984): Ten Years of Hoare’s Logic: A Survey. Part II: Nondeterminism. Theoretical Computer Science 28, pp. 83–109, doi:10.1016/0304-3975(83)90066-X. [5] Krzysztof R. Apt (1996): From Logic Programming to Prolog. Prentice Hall. [6] Nina Aschenbrenner & Leif Geiger (2008): Transforming Scene Graphs Using Triple Graph Grammars – A Practice Report. In A. Schürr, M. Nagl & A. Zündorf, editors: Applications of Graph Transformations with Industrial Relevance (AGTIVE 2007), Lecture Notes in Computer Science 5088, Springer, pp. 32–43, doi:10.1007/978-3-540-89020-1_3. [7] Franz Baader & Tobias Nipkow (1998): Term Rewriting and All That. Cambridge University Press, doi:10.1017/CBO9781139172752. [8] Christopher Bak (2015): GP 2: Efficient Implementation of a Graph Programming Language. Ph.D. thesis, Department of Computer Science, University of York. Available at http://etheses.whiterose.ac.uk/12586/. [9] Christopher Bak, Glyn Faulkner, Detlef Plump & Colin Runciman (2015): A Reference Interpreter for the Graph Programming Language GP 2. Electronic Proceedings in Theoretical Computer Science 181, pp. 48–64, doi:10.4204/eptcs.181.4. [10] Christopher Bak & Detlef Plump (2012): Rooted Graph Programs. In: Proc. International Workshop on Graph Based Tools (GraBaTs 2012), Electronic Communications of the EASST 54, p. 12, doi:10.14279/tuj.eceasst.54.780. [11] Christopher Bak & Detlef Plump (2016): Compiling Graph Programs to C. In Rachid Echahed & Mark Minas, editors: Graph Transformation, Lecture Notes in Computer Science (LNCS) 9761, Springer, pp. 102–117, doi:10.1007/978-3-319-40530-8_7. [12] Cüneyt F. Bazlamaçcı & Khalil S. Hindi (2001): Minimum-weight spanning tree algorithms A survey and empirical study. Computers & Operations Research 28(8), pp. 767–785, doi:10.1016/S0305-0548(00)00007-1. [13] Nicolas Behr, Bello Shehu Bello, Sebastian Ehmes & Reiko Heckel (2021): Stochastic Graph Transformation For Social Network Modeling. In Berthold Hoffmann & Mark Minas, editors: Proc. 12th International Workshop on Graph Computational Models (GCM 2021), EPTCS 350, pp. 35–50, doi:10.4204/EPTCS.350.3. Revised Selected Papers. [14] Gábor Bergmann, Ákos Horváth, István Ráth & Dániel Varró (2008): A Benchmark Evaluation of Incremental Pattern Matching in Graph Transformation. In: Proc. International Conference on Graph Transformation (ICGT 2008), Lecture Notes in Computer Science 5214, Springer, pp. 396–410, doi:10.1007/978-3-540-87405-8_27. [15] Ronald V. Book & Friedrich Otto (1993): String-Rewriting Systems. Springer, doi:10.1007/978-1-4613-9771-7. [16] Horst Bunke, Thomas Glauser & T.-H. Tran (1991): An Efficient Implementation of Graph Grammars Based on the RETE-Matching Algorithm. In: Proc. Graph Grammars and Their Application to Computer Science and Biology, LNCS 532, Springer-Verlag, pp. 174–189, doi:10.1007/BFb0017389. [17] Graham Campbell (2019): Efficient Graph Rewriting. Bachelor thesis, Department of Computer Science, University of York, doi:10.48550/arXiv.1906.05170. [18] Graham Campbell, Brian Courtehoute & Detlef Plump (2019): Linear-Time Graph Algorithms in GP 2. In Markus Roggenbach & Ana Sokolova, editors: Proc. 8th Conference on Algebra and Coalgebra in Computer Science (CALCO 2019), Leibniz International Proceedings in Informatics (LIPICS) 139, Schloss Dagstuhl-Leibniz-Zentrum für Informatik, pp. 16:1–16:23, doi:10.4230/LIPIcs.CALCO.2019.16. [19] Graham Campbell, Brian Courtehoute & Detlef Plump (2022): Fast Rule-Based Graph Programs. Science of Computer Programming 214, doi:10.1016/j.scico.2021.102727. [20] Graham Campbell, Jack Romo & Detlef Plump (2020): The Improved GP 2 Compiler. In: Pre-Proc. 11th International Workshop on Graph Computation Models (GCM 2020), pp. 206–217. Available at https://eprints.whiterose.ac.uk/176054/. [21] Graham Campbell, Jack Romo & Detlef Plump (2020): Improving the GP 2 Compiler, doi:10.48550/arXiv.2002.02914. [22] William Clinger (1984): The Scheme 311 Compiler an Exercise in Denotational Semantics. In: Proc. ACM Symposium on LISP and Functional Programming (LFP 1984), pp. 356–364, doi:10.1145/800055.802052. [23] Thomas H. Cormen, Charles E. Leiserson, Ronald L. Rivest & Clifford Stein (2009): Introduction to Algorithms, 3rd edition. The MIT Press. [24] Brian Courtehoute & Detlef Plump (2020): A Fast Graph Program for Computing Minimum Spanning Trees. In: Proc. 11th International Workshop on Graph Computation Models (GCM 2020), Electronic Proceedings in Theoretical Computer Science 330, pp. 163–180, doi:10.4204/eptcs.330.10. Revised Selected Papers. [25] Brian Courtehoute & Detlef Plump (2021): A Small-Step Operational Semantics for GP 2. In: Proc. 12th International Workshop on Graph Computation Models (GCM 2021), Electronic Proceedings in Theoretical Computer Science 350, pp. 89–110, doi:10.4204/eptcs.350.6. Revised Selected Papers. [26] Brian Courtehoute & Detlef Plump (2022): Time and Space Measures for a Complete Graph Computation Model. In: Proc. 13th International Workshop on Graph Computation Models (GCM 2022), Electronic Proceedings in Theoretical Computer Science 374, pp. 23–44, doi:10.4204/eptcs.374.4. Revised Selected Papers. [27] Edsger W. Dijkstra (1968): Letters to the Editor: Go To Statement Considered Harmful. Communications of the ACM 11(3), pp. 147–148, doi:10.1145/362929.362947. [28] Edsger W. Dijkstra (1976): A Discipline of Programming, 1st edition. Prentice Hall. [29] Mike Dodds (2008): Graph Transformation and Pointer Structures. Ph.D. thesis, Department of Computer Science, University of York. Available at https://www.cs.york.ac.uk/plasma/publications/pdf/DoddsThesis.08.pdf. [30] Heiko Dörr (1995): Efficient Graph Rewriting and its Implementation. Lecture Notes in Computer Science 922, Springer, doi:10.1007/BFb0031909. [31] Frank Drewes (1993): NP-completeness of k-connected hyperedge-replacement languages of order k. Information Processing Letters 45(2), pp. 89–94, doi:10.1016/0020-0190(93)90221-T. [32] Frank Drewes, Berthold Hoffmann & Mark Minas (2020): Graph Parsing as Graph Transformation. In Fabio Gadducci & Timo Kehrer, editors: Proc. 13th International Conference on Graph Transformation (ICGT 2020), Lecture Notes in Computer Science 12150, Springer, pp. 221–238, doi:10.1007/978-3-030-51372-6_13. [33] Frank Drewes, Berthold Hoffmann & Mark Minas (2021): Rule-Based Top-Down Parsing for Acyclic Contextual Hyperedge Replacement Grammars. In Fabio Gadducci & Timo Kehrer, editors: Proc. 14th International Conference on Graph Transformation (ICGT 2021), Lecture Notes in Computer Science 12741, Springer, pp. 164–184, doi:10.1007/978-3-030-78946-6_9. [34] Hartmut Ehrig, Karsten Ehrig, Ulrike Prange & Gabriele Taentzer (2006): Fundamentals of Algebraic Graph Transformation. Monographs in Theoretical Computer Science. An EATCS Series, Springer, doi:10.1007/3-540-31188-2. [35] Hartmut Ehrig, Claudia Ermel, Ulrike Golas & Frank Hermann (2015): Graph and Model Transformation. Monographs in Theoretical Computer Science. An EATCS Series, Springer, doi:10.1007/978-3-662-47980-3. [36] Maribel Fernández, Hélène Kirchner & Bruno Pinaud (2019): Strategic Port Graph Rewriting: an Interactive Modelling Framework. Mathematical Structures in Computer Science 29(5), pp. 615–662, doi:10.1017/S0960129518000270. [37] Wan Fokkink & Thuy Vu (2003): Structural Operational Semantics and Bounded Nondeterminism. Acta Informatica 39, pp. 501–516, doi:10.1007/s00236-003-0111-1. [38] Charles L. Forgy (1982): Rete: A Fast Algorithm For the Many Pattern/Many Object Pattern Match Problem. Artificial Intelligence 19(1), pp. 17–37, doi:10.1016/0004-3702(82)90020-0. [39] Michael Garey & David S. Johnson (1979): Computers and Intractability: A Guide to the Theory of NP-Completeness. W. H. Freeman. [40] Rubino Geiß, Gernot Veit Batz, Daniel Grund, Sebastian Hack & Adam Szalkowski (2006): GrGen: A Fast SPO-Based Graph Rewriting Tool. In Andrea Corradini, Hartmut Ehrig, Ugo Montanari, Leila Ribeiro & Grzegorz Rozenberg, editors: Proc. International Conference on Graph Transformation (ICGT 2006), Lecture Notes in Computer Science, Springer, pp. 383–397, doi:10.1007/11841883_27. [41] Amir Hossein Ghamarian, Maarten de Mol, Arend Rensink, Eduardo Zambon & Maria Zimakova (2012): Modelling and Analysis Using GROOVE. International Journal on Software Tools for Technology Transfer 14(1), pp. 15–40, doi:10.1007/s10009-011-0186-x. [42] Annegret Habel & Detlef Plump (2001): Computational Completeness of Programming Languages Based on Graph Transformation. In: Proc. Foundations of Software Science and Computation Structures (FOSSACS 2001), LNCS 2030, Springer, pp. 230–245, doi:10.1007/3-540-45315-6 15. [43] Annegret Habel & Detlef Plump (2002): Relabelling in Graph Transformation. In Andrea Corradini, Hartmut Ehrig, Hans-Jörg Kreowski & Grzegorz Rozenberg, editors: Graph Transformation, Lecture Notes in Computer Science 2505, Springer, pp. 135–147, doi:10.1007/3-540-45832-8_12. [44] C. A. R. Hoare (1969): An Axiomatic Basis for Computer Programming. Communications of the ACM 12(10), pp. 576–580, doi:10.1145/363235.363259. [45] Ákos Hórvath, Gergely Varró & Dániel Varró (2007): Generic Search Plans for Matching Advanced Graph Patterns. In: Proc. Workshop on Graph Transformation and Visual Modeling Techniques (GT-VMT 2007), Electronic Communications of the EASST 6, doi:10.14279/tuj.eceasst.6.49. [46] Ivaylo Hristakiev & Detlef Plump (2018): Checking Graph Programs for Confluence. In: Software Technologies: Applications and Foundations – STAF 2017 Collocated Workshops, Revised Selected Papers, Lecture Notes in Computer Science 10748, Springer, pp. 92–108, doi:10.1007/978-3-319-74730-9_8. [47] Edgar Jakumeit, Sebastian Buchwald & Moritz Kroll (2010): GrGen.NET - The Expressive, Convenient and Fast Graph Rewrite system. International Journal on Software Tools for Technology Transfer 12(3–4), pp. 263–271, doi:10.1007/s10009-010-0148-8. [48] Edgar Jakumeit, Sebastian Buchwald, Dennis Wagelaar, Li Dan, Ábel Hegedüs, Markus Herrmannsdörfer, Tassilo Horn, Elina Kalnina, Christian Krause, Kevin Lano, Arend Rensink, Louis Rose, Sebastian Wätzoldt, Markus Lepper & Steffen Mazanek (2014): A Survey and Comparison of Transformation Tools Based on the Transformation Tool Contest. Science of Computer Programming 85, pp. 41–99, doi:10.1016/j.scico.2013.10.009. [49] Andrey N. Kolmogorov & Vladimir A. Uspenskii (217–245): On the Definition of an Algorithm. American Mathematical Society Translations: Series 2 29, pp. 217–245, doi:10.1090/trans2/029. [50] Dénes Kőnig (1927): Über eine Schlussweise aus dem Endlichen ins Unendliche. Acta Sci. Math.(Szeged) 3(2-3), pp. 121–130. Available at https://acta.bibl.u-szeged.hu/13338/. [51] Klaus-Jörn Lange & Emo Welzl (1987): String grammars with disconnecting or a basic root of the difficulty in graph grammar parsing. Discrete Applied Mathematics 16(1), pp. 17–30, doi:10.1016/0166-218X(87)90051-5. [52] David R. Luginbuhl & Michael C. Loui (1993): Hierarchies and Space Measures for Pointer Machines. Information and Computation 104(2), pp. 253–270, doi:10.1006/inco.1993.1032. [53] Greg Manning & Detlef Plump (2008): The GP Programming System. In: Proceedings of the Seventh International Workshop on Graph Transformation and Visual Modeling Techniques (GT-VMT 2008), pp. 1–13, doi:10.14279/tuj.eceasst.10.150. [54] Georg Moser & Manuel Schneckenreither (2020): Automated Amortised Resource Analysis for Term Rewrite Systems. Science of Computer Programming 185, doi:10.1016/j.scico.2019.102306. [55] Hanne Riis Nielson & Flemming Nielson (2007): Semantics with Applications: An Appetizer. Springer-Verlag London, doi:10.1007/978-1-84628-692-6. [56] Romain Pascual (2022): Inference of Graph Transformation Rules for the Design of Geometric Modeling Operations. Ph.D. thesis, Université Paris-Saclay. Available at https://romainpascual.fr/uploads/phdthesis.pdf. [57] Gordon D. Plotkin (2004): A Structural Approach to Operational Semantics. Journal of Logic and Algebraic Programming 60–61, pp. 17–139, doi:10.1016/j.jlap.2004.05.001. [58] Detlef Plump (2012): The Design of GP 2. In: Proc. Workshop on Reduction Strategies in Rewriting and Programming (WRS 2011), Electronic Proceedings in Theoretical Computer Science 82, pp. 1–16, doi:10.4204/EPTCS.82.1. [59] Detlef Plump (2016): Reasoning About Graph Programs. In: Proc. Computing with Terms and Graphs (TERMGRAPH 2016), Electronic Proceedings in Theoretical Computer Science 225, pp. 35–44, doi:10.4204/eptcs.225.6. [60] Detlef Plump (2017): From Imperative to Rule-based Graph Programs. Journal of Logical and Algebraic Methods in Programming 88, pp. 154–173, doi:10.1016/j.jlamp.2016.12.001. [61] Detlef Plump, Amritesh Singh & Robin Suri (2011): Minimizing Finite Automata with Graph Programs. In: Proc. 3rd International Workshop on Graph Computation Models (GCM 2010), Electronic Communications of the EASST 39, doi:10.14279/tuj.eceasst.39.658. Revised Selected Papers. [62] Detlef Plump & Sandra Steinert (2004): Towards Graph Programs for Graph Algorithms. In Hartmut Ehrig, Gregor Engels, Francesco Parisi-Presicce & Grzegorz Rozenberg, editors: Graph Transformations, Lecture Notes in Computer Science 3256, Springer, pp. 128–143, doi:10.1007/978-3-540-30203-2_11. [63] Christopher M. Poskitt (2013): Verification of Graph Programs. Ph.D. thesis, Department of Computer Science, University of York. Available at http://etheses.whiterose.ac.uk/4700/. [64] Christopher M. Poskitt & Detlef Plump (2023): Monadic Second-Order Incorrectness Logic for GP 2. Journal of Logical and Algebraic Methods in Programming 130, doi:10.1016/j.jlamp.2022.100825. [65] John C. Reynolds (1998): Theories of Programming Languages. Cambridge University Press, doi:10.1017/cbo9780511626364. [66] Marko A. Rodriguez (2015): The Gremlin Graph Traversal Machine and Language. In: Proc. 15th Symposium on Database Programming Languages (DBPL 2015), Association for Computing Machinery (ACM), pp. 1–10, doi:10.1145/2815072.2815073. [67] Olga Runge, Claudia Ermel & Gabriele Taentzer (2012): AGG 2.0 — New Features for Specifying and Analyzing Algebraic Graph Transformations. In: Proc. Applications of Graph Transformations with Industrial Relevance (AGTIVE 2011), Lecture Notes in Computer Science 7233, Springer, pp. 81–88, doi:10.1007/978-3-642-34176-2_8. [68] Florian Schöler & Volker Steinhage (2012): Towards an Automated 3D Reconstruction of Plant Architecture. In Andy Schürr, Dániel Varró & Gergely Varró, editors: Applications of Graph Transformations with Industrial Relevance (AGTIVE 2011), Lecture Notes in Computer Science 7233, Springer, pp. 51–64, doi:10.1007/978-3-642-34176-2_6. [69] Arnold Schönhage (1980): Storage Modification Machines. SIAM Journal on Computing 9(3), pp. 490–508, doi:10.1137/0209036. [70] Andreas Schürr (1991): Operationales Spezifizieren mit programmierten Graphersetzungssystemen - formale Definitionen, Anwendungsbeispiele und Werkzeugunterstützung. DUV Informatik, Deutscher Universitätsverlag, doi:10.1007/978-3-663-14577-6. [71] Andy Schürr (1997): Programmed Graph Replacement Systems, chapter 7, pp. 479–546. World Scientific, doi:10.1142/9789812384720_0007. [72] Andy Schürr, Andreas J. Winter & Albert Zündorf (1999): The PROGRES Approach: Language and Environment, chapter 13, pp. 487–550. World Scientific, doi:10.1142/9789812815149_0013. [73] Roger S. Scowen (1993): Extended BNF - A Generic Base Standard. In: Software Engineering Standards Symposium (SESS 1993), pp. 25–34. Available at https://www.cl.cam.ac.uk/~mgk25/iso-14977-paper. pdf. [74] Robert Sedgewick (1997): Algorithms in C: Parts 1-4, Fundamentals, Data Structures, Sorting, and Searching, 3rd edition. Addison-Wesley. [75] Robert Sedgewick (2001): Algorithms in C, Part 5: Graph Algorithms, 3rd edition. Addison-Wesley. [76] Steven S. Skiena (2008): The Algorithm Design Manual, 2nd edition. Springer, doi:10.1007/978-1-84800-070-4. [77] Cees Slot & Peter van Emde Boas (1988): The Problem of Space Invariance for Sequential Machines. Information and Computation 77(2), pp. 93–122, doi:10.1016/0890-5401(88)90052-1. [78] Robert Söldner & Detlef Plump (2022): Towards Mechanised Proofs in Double-Pushout Graph Transformation. In: Proc. 13th International Workshop on Graph Computation Models (GCM 2022), Electronic Proceedings in Theoretical Computer Science 374, pp. 59–75, doi:10.4204/eptcs.374.6. Revised Selected Papers. [79] Daniel Strüber, Kristopher Born, Kanwal Daud Gill, Raffaela Groner, Timo Kehrer, Manuel Ohrndorf & Matthias Tichy (2017): Henshin: A Usability-Focused Framework for EMF Model Transformation Development. In: Proc. 10th International Conference on Graph Transformation (ICGT 2017), Lecture Notes in Computer Science 10373, Springer, pp. 196–208, doi:10.1007/978-3-319-61470-0_12. [80] Janusz Szuba, Agnieszka Ozimek & Andy Schürr (2004): On Graphs in Conceptual Engineering Design. In John L. Pfaltz, Manfred Nagl & Boris Böhlen, editors: Applications of Graph Transformations with Industrial Relevance (AGTIVE 2003), Lecture Notes in Computer Science 3062, Springer, pp. 75–89, doi:10.1007/978-3-540-25959-6_6. [81] Harald Søndergaard & Peter Sestoft (1992): Non-determinism in Functional Languages. The Computer Journal 35(5), pp. 514–523, doi:10.1093/comjnl/35.5.514. [82] Gabriele Taentzer (1996): Parallel and Distributed Graph Transformation: Formal Description and Application to Communication-based Systems. Ph.D. thesis, Technische Universität Berlin. Available at https://www.user.tu-berlin.de/lieske/tfs/Dissertationen/GabiTaentzer.pdf. [83] Gabriele Taentzer, Enrico Biermann, Dénes Bisztray, Bernd Bohnet, Iovka Boneva, Artur Boronat, Leif Geiger, Rubino Geiß, Ákos Horvath, Ole Kniemeyer, Tom Mens, Benjamin Ness, Detlef Plump & Tamás Vajk (2008): Generation of Sierpinski Triangles: A Case Study for Graph Transformation Tools. In Andy Schürr, Manfred Nagl & Albert Zündorf, editors: Applications of Graph Transformations with Industrial Relevance (AGTIVE 2007), Lecture Notes in Computer Science 5088, Springer, pp. 514–539, doi:10.1007/978-3-540-89020-1_35. [84] Julian R. Ullmann (1976): An Algorithm for Subgraph Isomorphism. Journal of the ACM 23(1), pp. 31–42, doi:10.1145/321921.321925. [85] Peter van Emde Boas (1989): Space Measures For Storage Modification Machines. Information Processing Letters 30(2), pp. 103–110, doi:10.1016/0020-0190(89)90117-8. [86] Peter van Emde Boas (1990): Machine Models and Simulation. In Jan van Leeuwen, editor: Handbook of Theoretical Computer Science Algorithms and Complexity, chapter 1, volume A, Elsevier, pp. 1–66, doi:10.1016/b978-0-444-88071-0.50006-0. [87] Gergely Varró, Katalin Friedl & Dániel Varró (2006): Adaptive Graph Pattern Matching for Model Transformations using Model-sensitive Search Plans. In: Proc. Workshop on Graph and Model Transformation (GraMoT 2005), Electronic Notes in Theoretical Computer Science 152, Elsevier, pp. 191–205, doi:10.1016/j.entcs.2005.10.025. [88] Gergely Varró, Katalin Friedl & Dániel Varró (2006): Implementing a Graph Transformation Engine in Relational Databases. Software & Systems Modeling 5(3), pp. 313–341, doi:10.1007/s10270-006-0015-y. [89] Gergely Varró, Andy Schürr & Dániel Varró (2005): Benchmarking for Graph Transformation. In: IEEE Symposium on Visual Languages and Human-Centric Computing (VL/HCC 2005), pp. 79–88, doi:10.1109/VLHCC.2005.23. [90] William Waites, Matteo Cavaliere, David Manheim, Jasmina Panovska-Griffiths & Vincent Danos (2021): Rule-based Epidemic Models. Journal of Theoretical Biology 530, doi:10.1016/j.jtbi.2021.110851. [91] David A. Watt (1988): An Action Semantics of Standard ML. In M. Main, A. Melton, M. Mislove & D. Schmidt, editors: Mathematical Foundations of Programming Language Semantics (MFPS 1987), Lecture Notes in Computer Science 298, Springer, pp. 572–598, doi:10.1007/3-540-19020-1_30. [92] Jens H. Weber-Jahnke (2008): Modelling of Longitudinal Information Systems with Graph Grammars. In: Applications of Graph Transformations with Industrial Relevance (AGTIVE 2007), Lecture Notes in Computer Science 5088, Springer, pp. 59–65, doi:10.1007/978-3-540-89020-1_5. [93] Robin J. Wilson (1972): Introduction to Graph Theory, 5th edition. Prentice Hall. [94] Gia Wulandari (2021): Verification of Graph Programs With Monadic Second-order Logic. Ph.D. thesis, Department of Computer Science, University of York. Available at https://etheses.whiterose.ac.uk/29370/. [95] Gia Wulandari & Detlef Plump (2021): Verifying Graph Programs with Monadic Second-Order Logic. In: Proc. 14th International Conference on Graph Transformation (ICGT 2021), Lecture Notes in Computer Science 12741, Springer, pp. 240–261, doi:10.1007/978-3-030-78946-6_13. [96] Paul Ziemann, Karsten Hölscher & Martin Gogolla (2005): From UML Models to Graph Transformation Systems. In: Proc. Workshop on Visual Languages and Formal Methods (VLFM 2004), Electronic Notes in Theoretical Computer Science 127, pp. 17–33, doi:10.1016/j.entcs.2004.10.025."],"dcterms:accessrights":["public"],"dc:title":["Time and space complexity of rule-based graph programs"],"dc:type":["Thesis"],"dc:type.qualificationlevel":["doctoral"],"dc:type.qualificationname":["Ph.D"],"person:identifier.orcid":["0000000277364852"]},"updated_at":"2026-11-18T23:23:34Z"}