arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2007.04621cs.LOcs.PL
收藏

等变函子的计算半效应逻辑与范畴胶合

Logic of computational semi-effects and categorical gluing for equivariant functors

Yuichi Nishiwaki, Toshiya Asai

摘要:

在本文中,我们重新审视莫吉的著名演算的计算效果从逻辑的monoidal行动(行动范畴)。我们的发展采取以下步骤。首先,我们对Moggi的计算元语言进行了证明论重构,得到了一个模型类型为$\rhd$的类型论。通过命题作为类型的范式,其逻辑可以被看作是通过本顿的伴随演算的松散逻辑的分解。这种演算作为一种编程语言建模了一种较弱版本的效果,我们称之为\emph{semi-effects}。其次,我们利用行为范畴和等变函子给出了它的语义。与以前的研究相比,效果和actegories,我们的方法是更一般的模型直接给出的等变函子,其中包括Freyd类别(因此强单子)作为一个特例。第三,我们证明了沿着等变函子的范畴粘合是可能的,并推导出$\rhd$ -模态的逻辑谓词。我们还表明,这种粘合,在一个自然的假设下,产生的逻辑谓词,与胜俣的分类$\top\top$ -解除莫吉的元语言。

英文摘要:

In this paper, we revisit Moggi's celebrated calculus of computational effects from the perspective of logic of monoidal action (actegory). Our development takes the following steps. Firstly, we perform proof-theoretic reconstruction of Moggi's computational metalanguage and obtain a type theory with a modal type $\rhd$ as a refinement. Through the proposition-as-type paradigm, its logic can be seen as a decomposition of lax logic via Benton's adjoint calculus. This calculus models as a programming language a weaker version of effects, which we call \emph{semi-effects}. Secondly, we give its semantics using actegories and equivariant functors. Compared to previous studies of effects and actegories, our approach is more general in that models are directly given by equivariant functors, which include Freyd categories (hence strong monads) as a special case. Thirdly, we show that categorical gluing along equivariant functors is possible and derive logical predicates for $\rhd$-modality. We also show that this gluing, under a natural assumption, gives rise to logical predicates that coincide with those derived by Katsumata's categorical $\top\top$-lifting for Moggi's metalanguage.

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

↑