用于可逆函数编程的连接逆Rig范畴
Join Inverse Rig Categories for Reversible Functional Programming, and Beyond
摘要:
可逆计算是一种计算范式,其中计算在向前和向后方向上都是确定性的,因此程序具有良好定义的向前和向后语义。我们研究了可逆函数式程序设计语言Rfun的形式语义。为了这个目的,我们引入加入逆钻机类别,自然婚姻的加入逆类别和钻机类别,我们可以用来模拟语言Rfun,在合理的假设。这些类别被证明是一个特别自然的适合可逆计算作为一个整体,因为它们包括其他可逆程序设计语言的模型,特别是忒修斯和可逆流程图。这表明连接逆rig类别确实是可逆计算的类别模型。
英文摘要:
Reversible computing is a computational paradigm in which computations are deterministic in both the forward and backward direction, so that programs have well-defined forward and backward semantics. We investigate the formal semantics of the reversible functional programming language Rfun. For this purpose, we introduce join inverse rig categories, the natural marriage of join inverse categories and rig categories, which we show can be used to model the language Rfun, under reasonable assumptions. These categories turn out to be a particularly natural fit for reversible computing as a whole, as they encompass models for other reversible programming languages, notably Theseus and reversible flowcharts. This suggests that join inverse rig categories really are the categorical models of reversible computing.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。