This paper is concerned with categorical structures for reversible computation. In particular, we focus on a typed, functional reversible language based on Theseus. We discuss how join inverse rig categories do not in general capture pattern-matching, the core construct Theseus uses to enforce reversibility. We then derive a categorical structure to add to join inverse rig categories in order to capture pattern-matching. We show how such a structure makes an adequate model for reversible pattern-matching.
翻译:本文涉及可逆计算绝对结构。 特别是, 我们侧重于基于特修斯的打印式、 功能可逆语言。 我们讨论如何将反向钻机类别合并, 而不是一般的捕捉模式匹配, 核心构造特修斯用于强制反向。 然后我们得出一个绝对结构, 添加反向钻机类别, 以便捕捉模式匹配。 我们展示了这样一个结构如何为可逆模式匹配制作一个适当的模型 。