Rewriting modulo traced comonoid structure

02/19/2023
by   Dan R. Ghica, et al.
0

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.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
06/21/2018

Hypergraph Categories

Hypergraph categories have been rediscovered at least five times, under ...
research
01/25/2022

Full abstraction for digital circuits

This paper refines the existing axiomatic semantics of digital circuits ...
research
07/18/2018

Circuits via topoi

Leveraging topos theory a semantics can be given to sequential circuits ...
research
12/27/2017

Rewriting in Free Hypergraph Categories

We study rewriting for equational theories in the context of symmetric m...
research
04/10/2018

Bimonoidal Structure of Probability Monads

We give a conceptual treatment of the notion of joints, marginals, and i...
research
03/13/2020

Comb Diagrams for Discrete-Time Feedback

The data for many useful bidirectional constructions in applied category...
research
12/27/2017

Rewriting in Free Hypegraph Categories

We study rewriting for equational theories in the context of symmetric m...

Please sign up or login with your details

Forgot password? Click here to reset