Morphisms in a monoidal category are usually interpreted as processes, and graphically depicted as square boxes. In practice, we are faced with the problem of interpreting what non-square boxes ought to represent in terms of the monoidal category and, more importantly, how should they be composed. Examples of this situation include lenses or learners. We propose a description of these non-square boxes, which we call open diagrams, using the monoidal bicategory of profunctors. A graphical coend calculus can then be used to reason about open diagrams and their compositions.
翻译:单亚化类别中的摩尔西斯通常被解释为过程,用图形描述为方形框。在实践中,我们面临如何解释非方形框在单亚化类别中应该代表什么的问题,更重要的是,它们应该如何组成。这种情况的例子包括镜片或学习者。我们建议对这些非方形框进行描述,我们称之为开方图,使用单亚化二类解释词。然后,可以使用图形组合计算来解释开方图及其组成。