Semantics for a Turing-Complete Reversible Programming Language with Inductive Types - Archive ouverte HAL
Communication Dans Un Congrès Année : 2024

Semantics for a Turing-Complete Reversible Programming Language with Inductive Types

Résumé

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 and to interpret inductive types and recursion. We then derive a notion of completeness in the sense that any computable, partial, first-order injective function is the image of a term in the language.
Fichier principal
Vignette du fichier
LIPIcs.FSCD.2024.19.pdf (897.67 Ko) Télécharger le fichier
Origine Fichiers produits par l'(les) auteur(s)

Dates et versions

hal-04636603 , version 1 (05-07-2024)

Identifiants

Citer

Kostia Chardonnet, Louis Lemonnier, Benoît Valiron. Semantics for a Turing-Complete Reversible Programming Language with Inductive Types. FSCD 2024 - 9th International Conference on Formal Structures for Computation and Deduction, Jul 2024, Tallinn, Estonia. pp.19:1-19:19, ⟨10.4230/LIPIcs.FSCD.2024.19⟩. ⟨hal-04636603⟩
123 Consultations
42 Téléchargements

Altmetric

Partager

More