Double pushout rewriting of C-sets

11/02/2021
by   Kristopher Brown, et al.
0

We generalize a pushout complement algorithm from graph rewriting to finitely-presented C-sets and structured cospans, allowing us to perform double pushout rewrites generically over a broad class of combinatorial data structures and open systems thereof. As part of this work, we present a general algorithm for pattern matching in C-sets via the construction of C-set homomorphisms, which generalizes the computation of graph homomorphisms. We demonstrate the utility of this generalization through applications to Petri net model space exploration, rewriting of wiring diagrams with symmetric monoidal structure, and open Petri net rewriting. These applications highlight the important productivity gains due to our implementation of C-set rewriting for arbitrary C, which allows us to easily extend our implementation to new categorical constructions, including slice categories and cospan categories.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
07/23/2019

The word problem for double categories

We solve the word problem for double categories by translating it to the...
research
06/07/2022

Compositional Exploration of Combinatorial Scientific Models

We implement a novel representation of model search spaces as diagrams o...
research
05/26/2023

Protocol Choice and Iteration for the Free Cornering

We extend the free cornering of a symmetric monoidal category, a double ...
research
06/08/2021

Categorical Data Structures for Technical Computing

Many mathematical objects can be represented as functors from finitely-p...
research
08/13/2019

Unfolding Polyhedra

Starting with the unsolved "Dürer's problem" of edge-unfolding a convex ...
research
08/16/2018

Open Petri Nets

The reachability semantics for Petri nets can be studied using open Petr...
research
05/01/2023

Data-Parallel Algorithms for String Diagrams

We give parallel algorithms for string diagrams represented as structure...

Please sign up or login with your details

Forgot password? Click here to reset