arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1912.13477cs.LOcs.PLmath.CT
收藏

单子与共单子的相互作用律

Interaction laws of monads and comonads

Shin-ya Katsumata, Exequiel Rivas, Tarmo Uustalu

摘要:

我们引入并研究函子-函子和单子-单子相互作用定律作为数学对象来描述有效计算与效果执行机器行为的相互作用。单子-共单子相互作用律是函子-函子相互作用律的幺半群范畴的幺半群对象。我们表明,适当的推广的概念的对偶和Sweedler对偶,最大函子分别。与给定函子或余单子相互作用的单子是它的对偶,而与给定单子相互作用的最大余单子是它的Sweedler对偶。我们将monad-comonad相互作用定律与有状态的跑步者联系起来。我们表明,函子-函子相互作用的法律是楚空间上采取的日子卷积monoidal结构的endofunctors类别。长谷川的胶合赋予这些Chu空间范畴一个幺半群结构,其幺半群对象是单子-共单子相互作用律。

英文摘要:

We introduce and study functor-functor and monad-comonad interaction laws as mathematical objects to describe interaction of effectful computations with behaviors of effect-performing machines. Monad-comonad interaction laws are monoid objects of the monoidal category of functor-functor interaction laws. We show that, for suitable generalizations of the concepts of dual and Sweedler dual, the greatest functor resp. monad interacting with a given functor or comonad is its dual while the greatest comonad interacting with a given monad is its Sweedler dual. We relate monad-comonad interaction laws to stateful runners. We show that functor-functor interaction laws are Chu spaces over the category of endofunctors taken with the Day convolution monoidal structure. Hasegawa's glueing endows the category of these Chu spaces with a monoidal structure whose monoid objects are monad-comonad interaction laws.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑