Hypergraph Categories

Hypergraph categories have been rediscovered at least five times, under various names, including well-supported compact closed categories, dgs-monoidal categories, and dungeon categories. Perhaps the reason they keep being reinvented is two-fold: there are many applications---including to automata, databases, circuits, linear relations, graph rewriting, and belief propagation---and yet the standard definition is so involved and ornate as to be difficult to find in the literature. Indeed, a hypergraph category is, roughly speaking, a "symmetric monoidal category in which each object is equipped with the structure of a special commutative Frobenius monoid, satisfying certain coherence conditions". Fortunately, this description can be simplified a great deal: a hypergraph category is simply a "cospan-algebra". The goal of this paper is to remove the scare-quotes and make the previous statement precise. We prove two main theorems. First is a coherence theorem for hypergraph categories, which says that every hypergraph category is equivalent to an objectwise-free hypergraph category. Second, we prove that the category of objectwise-free hypergraph categories is equivalent to the category of cospan-algebras.

[1]  A. Carboni,et al.  Matrices, relations, and group representations , 1991 .

[2]  Brendan Fong,et al.  A compositional framework for Markov processes , 2015, 1508.06448.

[3]  Joe Moeller Noncommutative network models , 2020, Math. Struct. Comput. Sci..

[4]  Jacqueline Grennon , 2nd Ed. , 2002, The Journal of nervous and mental disease.

[5]  Aleks Kissinger,et al.  Finite matrices are complete for (dagger-)hypergraph categories , 2014, 1406.5942.

[6]  David I. Spivak,et al.  Seven Sketches in Compositionality: An Invitation to Applied Category Theory , 2018, 1803.05316.

[7]  Nicoletta Sabadini,et al.  GENERIC COMMUTATIVE SEPARABLE ALGEBRAS AND COSPANS OF GRAPHS , 2005 .

[8]  David I. Spivak,et al.  The operad of temporal wiring diagrams: formalizing a graphical language for discrete-time processes , 2013, ArXiv.

[9]  David I. Spivak,et al.  String diagrams for traced and compact categories are oriented 1-cobordisms , 2015 .

[10]  Brendan Fong,et al.  A Compositional Framework for Passive Linear Networks , 2015, 1504.05625.

[11]  David I. Spivak,et al.  Algebras of Open Dynamical Systems on the Operad of Wiring Diagrams , 2014 .

[12]  X. Ren,et al.  Mathematics , 1935, Nature.

[13]  Jason Morton,et al.  Belief propagation in monoidal categories , 2014, QPL.

[14]  T. Kerler On braided tensor categories , 1994, hep-th/9402018.

[15]  Fabio Gadducci,et al.  An inductive view of graph transformation , 1997, WADT.

[16]  G. M. Kelly,et al.  Coherence for compact closed categories , 1980 .

[17]  David I. Spivak The operad of wiring diagrams: formalizing a graphical language for databases, recursion, and plug-and-play circuits , 2013, ArXiv.