Back to Search
Start Over
Rewriting Modulo Traced Comonoid Structure
- Publication Year :
- 2023
- Publisher :
- Schloss Dagstuhl - Leibniz-Zentrum für Informatik, 2023.
-
Abstract
- In this paper we adapt previous work on rewriting string diagrams using hypergraphs to the case where the underlying category has a traced comonoid structure, in which wires can be forked and the outputs of a morphism can be connected to its input. Such a structure is particularly interesting because any traced Cartesian (dataflow) category has an underlying traced comonoid structure. We show that certain subclasses of hypergraphs are fully complete for traced comonoid categories: that is to say, every term in such a category has a unique corresponding hypergraph up to isomorphism, and from every hypergraph with the desired properties, a unique term in the category can be retrieved up to the axioms of traced comonoid categories. We also show how the framework of double pushout rewriting (DPO) can be adapted for traced comonoid categories by characterising the valid pushout complements for rewriting in our setting. We conclude by presenting a case study in the form of recent work on an equational theory for sequential circuits: circuits built from primitive logic gates with delay and feedback. The graph rewriting framework allows for the definition of an operational semantics for sequential circuits.<br />20 pages
- Subjects :
- FOS: Computer and information sciences
Computer Science - Logic in Computer Science
graph rewriting
symmetric traced monoidal categories
comonoid structure
FOS: Mathematics
Theory of computation → Equational logic and rewriting
Category Theory (math.CT)
Mathematics - Category Theory
string diagrams
double pushout rewriting
Logic in Computer Science (cs.LO)
Subjects
Details
- Language :
- English
- Database :
- OpenAIRE
- Accession number :
- edsair.doi.dedup.....8603719cdd0c59822bbca6d33efdd7dc
- Full Text :
- https://doi.org/10.4230/lipics.fscd.2023.14