Table of Contents
Fetching ...

Colored Petri Nets are Monoidal Double Functors

Jade Master, Joe Moeller

TL;DR

This work provides a category-theoretic account of colored Petri nets by modeling them as monoidal double functors from the underlying Petri net to Span(CMon), thereby turning syntax into semantics. It develops an operational semantics through the Grothendieck construction on a displayed category, yielding a category of executions that faithfully corresponds to firing sequences. A central result shows that unfolding colored Petri nets into ordinary Petri nets is free on unfolding, captured by a commuting diagram (up to isomorphism) between the semantics of the colored net and its unfolded form. The framework gives a canonical notion of morphisms as monoidal vertical transformations, connects to prior approaches with improved coherence by avoiding decategorification, and opens avenues for compositional open nets via structured cospans and monoidal displayed categories.

Abstract

We give a characterization of colored Petri nets as monoidal double functors. Framing colored Petri nets in terms of category theory allows for canonical definitions of various well-known constructions on colored Petri nets. In particular, we show how morphisms of colored Petri nets may be understood as natural transformations. The displayed category construction explains how lax double functors are equivalent to functors with codomain their former domain. We use this result to characterize the unfolding of colored Petri nets in terms of free symmetric monoidal categories.

Colored Petri Nets are Monoidal Double Functors

TL;DR

This work provides a category-theoretic account of colored Petri nets by modeling them as monoidal double functors from the underlying Petri net to Span(CMon), thereby turning syntax into semantics. It develops an operational semantics through the Grothendieck construction on a displayed category, yielding a category of executions that faithfully corresponds to firing sequences. A central result shows that unfolding colored Petri nets into ordinary Petri nets is free on unfolding, captured by a commuting diagram (up to isomorphism) between the semantics of the colored net and its unfolded form. The framework gives a canonical notion of morphisms as monoidal vertical transformations, connects to prior approaches with improved coherence by avoiding decategorification, and opens avenues for compositional open nets via structured cospans and monoidal displayed categories.

Abstract

We give a characterization of colored Petri nets as monoidal double functors. Framing colored Petri nets in terms of category theory allows for canonical definitions of various well-known constructions on colored Petri nets. In particular, we show how morphisms of colored Petri nets may be understood as natural transformations. The displayed category construction explains how lax double functors are equivalent to functors with codomain their former domain. We use this result to characterize the unfolding of colored Petri nets in terms of free symmetric monoidal categories.

Paper Structure

This paper contains 8 sections, 8 theorems, 27 equations.

Key Result

Proposition 1.5

There is an adjunction \begin{tikzcd} \Petri \ar[r,bend left,"F"] \ar[r,phantom,"\bot"] & \CMC \ar[l,bend left,"U"] \end{tikzcd}whose left adjoint generates the free commutative monoidal category on a Petri net.

Theorems & Definitions (36)

  • Definition 1.1
  • Definition 1.2
  • Definition 1.3
  • Definition 1.4
  • Proposition 1.5
  • proof
  • Definition 2.1: lakosabstraction Def. 4.8
  • Proposition 2.2
  • Proposition 2.3
  • proof
  • ...and 26 more