关于相对单子和余单子的焦点化的语法与语义
Syntax and semantics of focalisation with relative monads and comonads
AI总结:
本文研究直觉主义与线性设置中资源与效应模态的焦点化语法,通过相对(余)单子实现线性call-by-push-value模型中模态的完备性,并从非结合范畴的伴随角度建立对应关系。
摘要:
焦点化和极化逻辑原则可用于设计良行为的相继式演算项语法,作为描述效应计算的元语言。在语义方面,这对应于以非结合范畴上的伴随形式陈述的模型计算公理化极化概念。本文研究一般直觉主义和线性设置中资源和效应模态的特殊微妙情况:指数余单子 $!$(细化 $\square$)和强单子 $\lozenge$。我们贡献的出发点是注意到,如果转向相对(余)单子,即对于 $!$ 相对于 $\downarrow$(正移位函子)的余单子和对于 $\lozenge$ 相对于 $\uparrow$(负移位函子)的单子,可以实现线性call-by-push-value模型中关于 $!$ 和 $\lozenge$ 的极化语法的完备性。这些相对(余)单子概念对call-by-push-value伴随的特殊化最近出现。然而我们提出的语法源于证明论考虑,当时未注意到与相对(余)单子的联系。因此我们的第一个评论是,在焦点化背景下,从证明论角度先前已经激发了相对于call-by-push-value伴随的(余)单子,这也为效应设置中的这些概念提供了元语言。我们从公理化、非结合的角度研究这些模态。我们回顾非结合范畴上的伴随概念,并建立该伴随概念与相对伴随概念之间的对应结果。然后将该对应扩展到建模 $!$ 和 $\lozenge$ 所需的线性-非线性及强版本的伴随。
英文摘要:
The logical principles of focalisation and polarisation can be used to design well-behaved term syntaxes for sequent calculus, which play a role as meta-languages for describing effectful computation. On the semantics side, this corresponds to an axiomatic and polarised notion of model of computation stated in terms of adjunctions over non-associative categories. In this paper, we study the special and delicate cases of resource and effect modalities in a general intuitionistic and linear setting: an exponential comonad $!$ (refining $\square$) and a strong monad $\lozenge$. The starting point of our contribution is noticing that the completeness for a polarised syntax for $!$ and $\lozenge$ with respect to (co)monads in linear call-by-push-value models can be achieved if we move to relative (co)monads: more precisely, comonads relative to $\downarrow$ (the positive shift functor) for $!$ and monads relative to $\uparrow$ (the negative shift functor) for $\lozenge$. These specialisations of the concept of relative (co)monad to call-by-push-value adjunctions recently appeared. Yet the syntax we present arose from proof-theoretic consideration, without the link with relative (co)monads being noticed at the time. Our first remark is thus that (co)monads relative to a call-by-push-value adjunction have been motivated previously from a proof-theoretic perspective in the context of focalisation, which also provides a meta-language for these concepts in an effectful setting. We carry out the study of these modalities from the axiomatic, non-associative point of view. We recall the notion of adjunction over non-associative categories, and establish correspondence results between this notion of adjunction and that of relative adjunction. This correspondence is then extended to linear-non-linear and strong versions of adjunctions as needed to model $!$ and $\lozenge$.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。