arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2108.01756cs.LOmath.CT
收藏

可定位的单子

Localisable Monads

Carmen Constantin, Nuiok Dicaire, Chris Heunen

摘要:

Monad控制编程语义中的计算副作用。它们可以以“自下而上”的方式组合,以处理此类效果的多个实例。索引monads和分级monads以模块化的方式做到这一点。相反,在这里,我们使用张量拓扑的技术,以“自顶向下”的方式为monad配备了细粒度的结构。这提供了一个内在的理论,本地计算效果,而不需要事先知道如何组成的影响相互作用。具体地说,任何monoidal范畴都可以分解为基空间上的局部范畴层。我们确定了一个概念的本地化单子的特点时,单子分解为一捆单子。等价的,可局部化的单子是在适当的预层2-范畴中的形式单子,我们构造了它的代数。三个扩展的例子演示了如何localisable单子可以解释的基本空间的位置在计算机内存中,作为网站在网络中的互动代理同时采取行动,并作为时间在随机过程。

英文摘要:

Monads govern computational side-effects in programming semantics. They can be combined in a ''bottom-up'' way to handle several instances of such effects. Indexed monads and graded monads do this in a modular way. Here, instead, we equip monads with fine-grained structure in a ''top-down'' way, using techniques from tensor topology. This provides an intrinsic theory of local computational effects without needing to know how constituent effects interact beforehand. Specifically, any monoidal category decomposes as a sheaf of local categories over a base space. We identify a notion of localisable monads which characterises when a monad decomposes as a sheaf of monads. Equivalently, localisable monads are formal monads in an appropriate presheaf 2-category, whose algebras we characterise. Three extended examples demonstrate how localisable monads can interpret the base space as locations in a computer memory, as sites in a network of interacting agents acting concurrently, and as time in stochastic processes.

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

↑