带对合的笛卡尔非保护递归
Non-Cartesian Guarded Recursion with Daggers
AI总结:
本文将对合范畴中的保护递归框架扩展到非笛卡尔环境,通过构造合适的范畴并研究其与对合范畴结构的交互,为高阶可逆编程语言添加保护递归特性。
摘要:
保护递归是一个框架,允许在经典(相对于并发、概率、量子)编程语言中形式化流。后者在笛卡尔闭范畴中获取其语义。然而,某些编程范式不在笛卡尔环境中获取语义;例如并发、可逆和量子编程就是这种情况。在本文中,我们通过对合范畴(包含态射上对合算子的范畴)中的范畴模型聚焦于可逆编程。我们展示了如何将保护递归框架引入到具有足够数据结构结构的对合范畴中,也称为对合刚性范畴。首先,给定任意范畴,我们构造另一个范畴,通过丰富和不动点定理证明其在多种方式下适用于保护递归。然后,我们研究该构造与对合刚性范畴结构之间的交互,旨在实现可逆编程。最后,我们证明我们的构造适合作为高阶可逆编程语言(如对称模式匹配)的模型,并为其添加保护递归特性。
英文摘要:
Guarded recursion is a framework allowing for a formalisation of streams in classical (as opposed to concurrent, probabilistic, quantum) programming languages. The latter take their semantics in cartesian closed categories. However, some programming paradigms do not take their semantics in a cartesian setting; this is the case for concurrency, reversible and quantum programming for example. In this paper, we focus on reversible programming through its categorical model in dagger categories, which are categories that contain an involutive operator on morphisms. We show how to introduce the framework of guarded recursion into dagger categories with sufficient structure for data types, also called dagger rig categories. First, given an arbitrary category, we build another category shown to be suitable for guarded recursion in multiple ways, via enrichment and fixed point theorems. We then study the interaction between this construction and the structure of dagger rig categories, aiming for reversible programming. Finally, we show that our construction is suitable as a model of higher-order reversible programming languages, such as symmetric pattern matching, to which we add guarded recursion features.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。