带归纳类型的图灵完备可逆编程语言的语义
Semantics for a Turing-complete Reversible Programming Language with Inductive Types
AI总结:
本文研究基于Theseus的高阶可逆编程语言,通过模式匹配保证函数可逆,证明其可编码任意可逆图灵机,构建了带模式匹配结构的并逆范畴语义,并证明其完全完备性,即可计算部分单射函数均为语言项的像。
摘要:
本文研究基于Theseus(忒修斯)的函数式高阶可逆编程语言的表达能力与指称语义。该语言使用模式匹配来保证函数的可逆性。我们展示了如何在该语言中编码任意可逆图灵机。随后我们基于并逆范畴构建了可靠且充分的范畴语义,并添加了额外结构以刻画模式匹配。我们还推导出了完全完备性结果,即任意可计算的部分单射函数都是该语言中某个项的像。
英文摘要:
This paper is concerned with the expressivity and denotational semantics of a functional higher-order reversible programming language based on Theseus. In this language, pattern-matching is used to ensure the reversibility of functions. We show how one can encode any Reversible Turing Machine in said language. We then build a sound and adequate categorical semantics based on join inverse categories, with additional structures to capture pattern-matching. We then derive a full completeness result, stating that any computable, partial injective function is the image of a term in the language.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。