{"id":{"repo_id":"mcmaster","oai_identifier":"oai:macsphere.mcmaster.ca:11375/24072"},"canonical_url":"https://search.ndltd.org/etd/mcmaster/oai:macsphere.mcmaster.ca:11375/24072","repository":{"repo_id":"mcmaster","name":"McMaster University","base_url":"https://macsphere.mcmaster.ca/server/oai/request"},"display":{"title":"A Machine-checked Categorial Formalisation of Term Graph Rewriting with Semantics Preservation","abstract":"Term graph rewriting is important as \"conceptual implementation\" of the execution of functional programs, and of data-flow optimisations in compilers. Since term graphs were introduced into the literature, various flavours of term graph rewriting have been investigated mainly as implementation of term rewriting. One way to define term graph rewriting rule application is via the well-established and intuitively accessible double-pushout (DPO) approach. It uses the abstraction of category theory to define matching and replacement on a black-box level through basic categorial theoretic concepts like pushouts. However, the semantics preservation of DPO term graph rewriting, to our knowledge, has never been formalised before. In this thesis, we show the gs-monoidal categories proposed by Andrea Corradini and Fabio Gadducci serves not only as a category-theoretic interface for programming \"on top of\" term graphs with sequential and parallel composition, but also as the necessary link relating our formalisation of DPO term graph rewriting to the categorial description for program semantics. One achievement of our work is the representation of term graphs employed by the dependently-typed programming language Agda on a suitable level of abstraction from the concrete choice of set representation for graph nodes and edges through the novel category-theoretic abstraction of dependent objects. Another result is the formalisation of the functor from gs-monoidal category of term graphs to any gs-monoidal categories which enables us to obtain the semantics of term graphs. Finally, we present a new result proving the semantics preservation for such DPO-based term graph rewriting.","abstract_html":"Term graph rewriting is important as &quot;conceptual implementation&quot; of the execution of functional programs, and of data-flow optimisations in compilers. Since term graphs were introduced into the literature, various flavours of term graph rewriting have been investigated mainly as implementation of term rewriting. One way to define term graph rewriting rule application is via the well-established and intuitively accessible double-pushout (DPO) approach. It uses the abstraction of category theory to define matching and replacement on a black-box level through basic categorial theoretic concepts like pushouts. However, the semantics preservation of DPO term graph rewriting, to our knowledge, has never been formalised before. In this thesis, we show the gs-monoidal categories proposed by Andrea Corradini and Fabio Gadducci serves not only as a category-theoretic interface for programming &quot;on top of&quot; term graphs with sequential and parallel composition, but also as the necessary link relating our formalisation of DPO term graph rewriting to the categorial description for program semantics. One achievement of our work is the representation of term graphs employed by the dependently-typed programming language Agda on a suitable level of abstraction from the concrete choice of set representation for graph nodes and edges through the novel category-theoretic abstraction of dependent objects. Another result is the formalisation of the functor from gs-monoidal category of term graphs to any gs-monoidal categories which enables us to obtain the semantics of term graphs. Finally, we present a new result proving the semantics preservation for such DPO-based term graph rewriting.","abstract_has_math":false,"creators":["Zhao, Yuhang"],"institution":null,"degree_name":null,"degree_level":null,"degree_discipline":null,"degree_department":"Computing and Software","school":null,"contributors":[],"advisors":["Kahl, Wolfram"],"committee_chairs":[],"committee_members":[],"year":2018,"date_issued":"2018","date_published":"2018","updated_at":"2026-11-18T19:38:40Z","subjects":[],"languages":["en"],"rights":[],"rights_urls":[],"identifier_entries":[{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://doi.org/10.71548/21654"],"render_values":[{"text":"https://doi.org/10.71548/21654","href":"https://doi.org/10.71548/21654","code":true}]}],"person_identifier_entries":[]},"links":{"outbound_url":"http://hdl.handle.net/11375/24072","outbound_label":"Handle","outbound_source":"dc:identifier.uri","record_url":"http://hdl.handle.net/11375/24072","record_label":"Repository record","record_kind":"handle","record_source":"dc:identifier.uri","download_url":null,"download_label":null,"download_source":null,"access_status":null,"embargo_until":null,"access_note":null},"source_record":{"url":"https://macsphere.mcmaster.ca/server/oai/request?verb=GetRecord&metadataPrefix=dim&identifier=oai%3Amacsphere.mcmaster.ca%3A11375%2F24072","prefix":"dim"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.advisor","label":"Advisor","values":["Kahl, Wolfram"]},{"key":"dc:contributor.department","label":"Department","values":["Computing and Software"]},{"key":"dc:creator","label":"Author","values":["Zhao, Yuhang"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["2019-03-21T14:27:04Z"]},{"key":"dc:date.available","label":"Dc Date Available","values":["2019-03-21T14:27:04Z"]},{"key":"dc:date.issued","label":"Date","values":["2018"]},{"key":"dc:type","label":"Dc Type","values":["Thesis"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language.iso","label":"Language (ISO)","values":["en"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.uri","label":"Identifier URI","values":["http://hdl.handle.net/11375/24072","https://doi.org/10.71548/21654"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["Term graph rewriting is important as \"conceptual implementation\" of the execution of functional programs, and of data-flow optimisations in compilers. Since term graphs were introduced into the literature, various flavours of term graph rewriting have been investigated mainly as implementation of term rewriting. One way to define term graph rewriting rule application is via the well-established and intuitively accessible double-pushout (DPO) approach. It uses the abstraction of category theory to define matching and replacement on a black-box level through basic categorial theoretic concepts like pushouts. However, the semantics preservation of DPO term graph rewriting, to our knowledge, has never been formalised before. In this thesis, we show the gs-monoidal categories proposed by Andrea Corradini and Fabio Gadducci serves not only as a category-theoretic interface for programming \"on top of\" term graphs with sequential and parallel composition, but also as the necessary link relating our formalisation of DPO term graph rewriting to the categorial description for program semantics. One achievement of our work is the representation of term graphs employed by the dependently-typed programming language Agda on a suitable level of abstraction from the concrete choice of set representation for graph nodes and edges through the novel category-theoretic abstraction of dependent objects. Another result is the formalisation of the functor from gs-monoidal category of term graphs to any gs-monoidal categories which enables us to obtain the semantics of term graphs. Finally, we present a new result proving the semantics preservation for such DPO-based term graph rewriting."]},{"key":"dc:description.degree","label":"Dc Description Degree","values":["Doctor of Philosophy (PhD)"]},{"key":"dc:title","label":"Title","values":["A Machine-checked Categorial Formalisation of Term Graph Rewriting with Semantics Preservation"]},{"key":"others:access_status","label":"Others Access Status","values":["open.access"]}]}],"canonical_facts":{"dc:contributor.advisor":["Kahl, Wolfram"],"dc:contributor.department":["Computing and Software"],"dc:creator":["Zhao, Yuhang"],"dc:date.accessioned":["2019-03-21T14:27:04Z"],"dc:date.available":["2019-03-21T14:27:04Z"],"dc:date.issued":["2018"],"dc:description.abstract":["Term graph rewriting is important as \"conceptual implementation\" of the execution of functional programs, and of data-flow optimisations in compilers. Since term graphs were introduced into the literature, various flavours of term graph rewriting have been investigated mainly as implementation of term rewriting. One way to define term graph rewriting rule application is via the well-established and intuitively accessible double-pushout (DPO) approach. It uses the abstraction of category theory to define matching and replacement on a black-box level through basic categorial theoretic concepts like pushouts. However, the semantics preservation of DPO term graph rewriting, to our knowledge, has never been formalised before. In this thesis, we show the gs-monoidal categories proposed by Andrea Corradini and Fabio Gadducci serves not only as a category-theoretic interface for programming \"on top of\" term graphs with sequential and parallel composition, but also as the necessary link relating our formalisation of DPO term graph rewriting to the categorial description for program semantics. One achievement of our work is the representation of term graphs employed by the dependently-typed programming language Agda on a suitable level of abstraction from the concrete choice of set representation for graph nodes and edges through the novel category-theoretic abstraction of dependent objects. Another result is the formalisation of the functor from gs-monoidal category of term graphs to any gs-monoidal categories which enables us to obtain the semantics of term graphs. Finally, we present a new result proving the semantics preservation for such DPO-based term graph rewriting."],"dc:description.degree":["Doctor of Philosophy (PhD)"],"dc:identifier.uri":["http://hdl.handle.net/11375/24072","https://doi.org/10.71548/21654"],"dc:language.iso":["en"],"dc:title":["A Machine-checked Categorial Formalisation of Term Graph Rewriting with Semantics Preservation"],"dc:type":["Thesis"],"others:access_status":["open.access"]},"updated_at":"2026-11-18T19:38:40Z"}