Reversible programs have reversible semantics
Publikation: Bidrag til bog/antologi/rapport › Konferencebidrag i proceedings › Forskning › fagfællebedømt
During the past decade, reversible programming languages have been formalized using various established semantic frameworks. However, these semantics fail to effectively specify the distinct properties of reversible languages at the metalevel, and even neglect the central question of whether the defined language is reversible. In this paper, we build on a metalanguage foundation for reversible languages based on the category of sets and partial injective functions. We exemplify our approach through step-by-step development of the full semantics of an r-Turing complete reversible while-language with recursive procedures. This yields a formalization of the semantics in which the reversibility of the language and its inverse semantics are immediate, as well as the inversion of programs written in the language. We further discuss applications and future research directions for reversible semantics.
Originalsprog | Engelsk |
---|---|
Titel | Formal Methods. FM 2019 International Workshops - Revised Selected Papers |
Redaktører | Emil Sekerinski, Nelma Moreira, José N. Oliveira, Daniel Ratiu, Riccardo Guidotti, Marie Farrell, Matt Luckcuck, Diego Marmsoler, José Campos, Troy Astarte, Laure Gonnord, Antonio Cerone, Luis Couto, Brijesh Dongol, Martin Kutrib, Pedro Monteiro, David Delmas |
Forlag | Springer VS |
Publikationsdato | 2020 |
Sider | 413-427 |
ISBN (Trykt) | 9783030549961 |
DOI | |
Status | Udgivet - 2020 |
Begivenhed | 3rd World Congress on Formal Methods, FM 2019 - Porto, Portugal Varighed: 7 okt. 2019 → 11 okt. 2019 |
Konference
Konference | 3rd World Congress on Formal Methods, FM 2019 |
---|---|
Land | Portugal |
By | Porto |
Periode | 07/10/2019 → 11/10/2019 |
Navn | Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) |
---|---|
Vol/bind | 12233 LNCS |
ISSN | 0302-9743 |
ID: 248898134