Contextad 作为 Wreath;Kleisli、Para 与 Span 构造作为 Wreath 积
Contextful Arrows via Wreath Products
AI总结:
本文提出 contextad 与 Ctx 构造,用 Lack–Street wreath 统一 Kleisli、Para 和 Span,并说明其在双范畴及函数式副作用的依赖分级余单子中的应用。
摘要:
我们引入 contextad 与 Ctx 构造,统一范畴论中处理上下文及具有上下文的箭头的多种结构与构造——余单子及其 Kleisli 构造、actegory 及其 Para 构造,以及 adequate triple 及其 Span 构造。Contextad 借助 Lack–Street wreath 定义,并在带有显示映射的 2-范畴中,针对 span 的三范畴内的伪单子作适当范畴化。相应的 wreath 积给出 Ctx 构造,并且由其泛性质我们推出三函子性。这种抽象进路使我们能够在忽略结构差异的意义下工作,从而迅速证明:在非常温和的假设下,一个以余松弛方式配备 2-代数结构的 contextad 会产生一个具有类似结构的、由具有上下文的箭头组成的双范畴。我们还探讨 contextad 作为依赖分级余单子在组织函数式编程中具有上下文的计算时可能发挥的作用。我们表明,许多副作用单子可以由依赖分级余单子对偶地刻画,并指向关于参数右伴随单子向依赖分级余单子“可转置性”的一个一般性结果。
英文摘要:
We introduce contextads and the Ctx construction, unifying various structures and constructions in category theory dealing with context and contextful arrows---comonads and their Kleisli construction, actegories and their Para construction, adequate triples and their Span construction. Contextads are defined in terms of Lack--Street wreaths, suitably categorified for pseudomonads in a tricategory of spans in a 2-category with display maps. The associated wreath product provides the Ctx construction, and by its universal property we conclude trifunctoriality. This abstract approach lets us work up to structure, and thus swiftly prove that, under very mild assumptions, a contextad equipped colaxly with a 2-algebraic structure produces a similarly structured double category of contextful arrows. We also explore the role contextads might play qua dependently graded comonads in organizing contextful computation in functional programming. We show that many side-effects monads can be dually captured by dependently graded comonads, and gesture towards a general result on the `transposability' of parametric right adjoint monads to dependently graded comonads.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。