强双自然变换与广义余密度单子
Strong Dinatural Transformations and Generalised Codensity Monads
AI总结:
本文提出双余密度单子,基于强双自然性,用于建模多态lambda演算中的类型语义,并提供单子与双余密度单子之间的同构条件。
摘要:
我们引入了双余密度单子:一种点wise余密度单子的泛化,由到单子生成的函子生成,由混合变元双函子生成。我们的构造基于强双自然性(也称为巴尔双自然性)的概念,并受到某些多态lambda演算类型语义模型的启发——特别是具有全称量词变量的延续单子形式,如System F中的列表单子的Church编码。在扩展一些关于凯利式表示的先前结果的基础上,我们提供了一组充分条件,以建立给定双函子的单子与双余密度单子之间的同构。然后,我们专注于通过将我们的构造实例化为同态函子以及更一般地由对象的同态(即Eilenberg-Moore代数之间的内部化同态集)给出的双函子所获得的单子类别。这使我们能够以新颖的方式呈现由不同种类的半环和其他用于建模有序非确定计算的理论生成的单子。
英文摘要:
We introduce dicodensity monads: a generalisation of pointwise codensity monads generated by functors to monads generated by mixed-variant bifunctors. Our construction is based on the notion of strong dinaturality (also known as Barr dinaturality), and is inspired by denotational models of certain types in polymorphic lambda calculi - in particular, a form of continuation monads with universally quantified variables, such as the Church encoding of the list monad in System F. Extending some previous results on Cayley-style representations, we provide a set of sufficient conditions to establish an isomorphism between a monad and the dicodensity monad for a given bifunctor. Then, we focus on the class of monads obtained by instantiating our construction with hom-functors and, more generally, bifunctors given by objects of homomorphisms (that is, internalised hom-sets between Eilenberg--Moore algebras). This gives us, for example, novel presentations of monads generated by different kinds of semirings and other theories used to model ordered nondeterministic computations.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。