Algebraic Graph Rewriting
Transforms structured data and acsets using category-theoretic graph rewriting techniques like DPO, SPO, and SqPO.
This skill empowers Claude to manipulate complex data structures through the lens of category theory using the AlgebraicRewriting.jl framework. It provides specific guidance for defining rewriting rules—consisting of Left (pattern), Interface (preserved), and Right (replacement) components—to perform mathematically rigorous transformations on C-Sets. Whether you are performing safe deletions with Double Pushout (DPO), greedy transformations with Single Pushout (SPO), or vertex cloning with Sesqui-Pushout (SqPO), this skill ensures implementation patterns follow best practices within the AlgebraicJulia ecosystem.
Key Features
01Provides structured L-K-R rule definitions for precise graph manipulation
02Implements Double Pushout (DPO) for deletion without dangling edges
03Integrates with autodiff tools like Enzyme.jl for learned transformation seeds
042 GitHub stars
05Declaratively transforms C-Set data structures using Catlab.jl foundations
06Supports Sesqui-Pushout (SqPO) for complex cloning and transformation patterns
Use Cases
01Modeling chemical reaction networks and topological chemputer transformations
02Automating schema migrations and data transformations in acset-based systems
03Developing rule-based simulations for biological or physical network models