arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1805.08605cs.LO
收藏

反向箭头所示的可逆效果

Reversible effects as inverse arrows

Chris Heunen, Robin Kaarsgaard, Martti Karvonen

摘要:

可逆计算模型中的所有进程都可以反转。应用包括低功耗计算、量子计算和机器人技术。目前还不清楚如何代表在这种情况下的副作用,因为传统的方法不需要尊重可逆性。我们通过将Hughes的箭头调整为匕首箭头和反向箭头来模拟可逆效应。这捕获了几个基本的可逆效果,包括序列化和可变存储计算。箭是原函子范畴中的幺半群,匕首箭是原函子范畴中的对合幺半群,逆箭满足某些附加性质。这些语义为支持副作用的函数可逆程序的设计提供了信息。

英文摘要:

Reversible computing models settings in which all processes can be reversed. Applications include low-power computing, quantum computing, and robotics. It is unclear how to represent side-effects in this setting, because conventional methods need not respect reversibility. We model reversible effects by adapting Hughes' arrows to dagger arrows and inverse arrows. This captures several fundamental reversible effects, including serialization and mutable store computations. Whereas arrows are monoids in the category of profunctors, dagger arrows are involutive monoids in the category of profunctors, and inverse arrows satisfy certain additional properties. These semantics inform the design of functional reversible programs supporting side-effects.

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

↑