SRL is a reversible programming language conceived as a restriction of imperative programming languages. Each SRL program that mentions n registers defines a bijection on n-tuples of integers. Despite its simplicity, SRL is strong enough to grasp a wide class of computable bijections and to rise non-trivial programming issues. We advance in the study of its expressivity. We show how to choose among alternative program-branches by checking if a given value is positive or negative. So, we answer some longstanding questions that the literature poses. In particular, we prove that SRL is primitive recursive complete and that its program equivalence is undecidable.

On the Expressivity of Total Reversible Programming Languages

Paolini L.
;
Roversi L.
2020-01-01

Abstract

SRL is a reversible programming language conceived as a restriction of imperative programming languages. Each SRL program that mentions n registers defines a bijection on n-tuples of integers. Despite its simplicity, SRL is strong enough to grasp a wide class of computable bijections and to rise non-trivial programming issues. We advance in the study of its expressivity. We show how to choose among alternative program-branches by checking if a given value is positive or negative. So, we answer some longstanding questions that the literature poses. In particular, we prove that SRL is primitive recursive complete and that its program equivalence is undecidable.
2020
12th International Conference on Reversible Computation,RC 2020
Oslo, Norway
2020
Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Springer
12227
128
143
978-3-030-52481-4
978-3-030-52482-1
https://link.springer.com/chapter/10.1007/978-3-030-52482-1_7
Decidability; Imperative programming languages; Primitive recursive functions; Reversible programming languages
Matos A.B.; Paolini L.; Roversi L.
File in questo prodotto:
File Dimensione Formato  
main.pdf

Accesso aperto

Tipo di file: PREPRINT (PRIMA BOZZA)
Dimensione 355.5 kB
Formato Adobe PDF
355.5 kB Adobe PDF Visualizza/Apri
On the Expressivity of Total Reversible Programming Languages - LNCS 2020 ori.pdf

Accesso riservato

Tipo di file: PDF EDITORIALE
Dimensione 389.65 kB
Formato Adobe PDF
389.65 kB Adobe PDF   Visualizza/Apri   Richiedi una copia

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/2318/1747639
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 4
  • ???jsp.display-item.citation.isi??? 4
social impact