Structured versus Decorated Cospans
arXiv:2101.09363 · doi:10.32408/compositionality-4-3
Abstract
One goal of applied category theory is to understand open systems. We compare two ways of describing open systems as cospans equipped with extra data. First, given a functor , a "structured cospan" is a diagram in of the form . If and have finite colimits and preserves them, it is known that there is a symmetric monoidal double category whose objects are those of and whose horizontal 1-cells are structured cospans. Second, given a pseudofunctor , a "decorated cospan" is a diagram in of the form together with an object of . Generalizing the work of Fong, we show that if has finite colimits and is symmetric lax monoidal, there is a symmetric monoidal double category whose objects are those of and whose horizontal 1-cells are decorated cospans. We prove that under certain conditions, these two constructions become isomorphic when we take to be the Grothendieck category of . We illustrate these ideas with applications to electrical circuits, Petri nets, dynamical systems and epidemiological modeling.
39 pages, version for Compositionality