A categorical foundation for structured reversible flowchart languages

Publikation: Bidrag til tidsskriftTidsskriftartikelForskningfagfællebedømt

Standard

A categorical foundation for structured reversible flowchart languages. / Glück, Robert; Kaarsgaard, Robin.

I: Electronic Notes in Theoretical Computer Science, Bind 336, 2018, s. 155-171.

Publikation: Bidrag til tidsskriftTidsskriftartikelForskningfagfællebedømt

Harvard

Glück, R & Kaarsgaard, R 2018, 'A categorical foundation for structured reversible flowchart languages', Electronic Notes in Theoretical Computer Science, bind 336, s. 155-171. https://doi.org/10.1016/j.entcs.2018.03.021

APA

Glück, R., & Kaarsgaard, R. (2018). A categorical foundation for structured reversible flowchart languages. Electronic Notes in Theoretical Computer Science, 336, 155-171. https://doi.org/10.1016/j.entcs.2018.03.021

Vancouver

Glück R, Kaarsgaard R. A categorical foundation for structured reversible flowchart languages. Electronic Notes in Theoretical Computer Science. 2018;336:155-171. https://doi.org/10.1016/j.entcs.2018.03.021

Author

Glück, Robert ; Kaarsgaard, Robin. / A categorical foundation for structured reversible flowchart languages. I: Electronic Notes in Theoretical Computer Science. 2018 ; Bind 336. s. 155-171.

Bibtex

@article{c7f8a601fecc46f3bcbb9fa566ad813e,
title = "A categorical foundation for structured reversible flowchart languages",
abstract = "Structured reversible flowchart languages is a class of imperative reversible programming languages allowingfor a simple diagrammatic representation of control flow built from a limited set of control flow structures,as ordinary structured flowcharts allow for conventional languages. This class includes the reversibleprogramming language Janus (without recursion), as well as more recently developed reversible programminglanguages such asR-COREandR-WHILE. In the present paper, we develop a categorical foundation for thisclass of languages based on inverse categories with joins. We generalize the notion of extensivity of restrictioncategories to one that may be accommodated by inverse categories, and use the resulting decision mapsto give a reversible representation of predicates and assertions. This leads to a categorical semantics forstructured reversible flowcharts, from which we show that a program inverter can be extracted. Finally, weexemplify our approach by the development of a small structured reversible flowchart language, use ourframework to both straightforwardly give it semantics and derive fundamental theorems about it, and discussfurther applications of decisions in reversible programming.",
author = "Robert Gl{\"u}ck and Robin Kaarsgaard",
year = "2018",
doi = "10.1016/j.entcs.2018.03.021",
language = "English",
volume = "336",
pages = "155--171",
journal = "Electronic Notes in Theoretical Computer Science",
issn = "1571-0661",
publisher = "Elsevier",

}

RIS

TY - JOUR

T1 - A categorical foundation for structured reversible flowchart languages

AU - Glück, Robert

AU - Kaarsgaard, Robin

PY - 2018

Y1 - 2018

N2 - Structured reversible flowchart languages is a class of imperative reversible programming languages allowingfor a simple diagrammatic representation of control flow built from a limited set of control flow structures,as ordinary structured flowcharts allow for conventional languages. This class includes the reversibleprogramming language Janus (without recursion), as well as more recently developed reversible programminglanguages such asR-COREandR-WHILE. In the present paper, we develop a categorical foundation for thisclass of languages based on inverse categories with joins. We generalize the notion of extensivity of restrictioncategories to one that may be accommodated by inverse categories, and use the resulting decision mapsto give a reversible representation of predicates and assertions. This leads to a categorical semantics forstructured reversible flowcharts, from which we show that a program inverter can be extracted. Finally, weexemplify our approach by the development of a small structured reversible flowchart language, use ourframework to both straightforwardly give it semantics and derive fundamental theorems about it, and discussfurther applications of decisions in reversible programming.

AB - Structured reversible flowchart languages is a class of imperative reversible programming languages allowingfor a simple diagrammatic representation of control flow built from a limited set of control flow structures,as ordinary structured flowcharts allow for conventional languages. This class includes the reversibleprogramming language Janus (without recursion), as well as more recently developed reversible programminglanguages such asR-COREandR-WHILE. In the present paper, we develop a categorical foundation for thisclass of languages based on inverse categories with joins. We generalize the notion of extensivity of restrictioncategories to one that may be accommodated by inverse categories, and use the resulting decision mapsto give a reversible representation of predicates and assertions. This leads to a categorical semantics forstructured reversible flowcharts, from which we show that a program inverter can be extracted. Finally, weexemplify our approach by the development of a small structured reversible flowchart language, use ourframework to both straightforwardly give it semantics and derive fundamental theorems about it, and discussfurther applications of decisions in reversible programming.

U2 - 10.1016/j.entcs.2018.03.021

DO - 10.1016/j.entcs.2018.03.021

M3 - Journal article

VL - 336

SP - 155

EP - 171

JO - Electronic Notes in Theoretical Computer Science

JF - Electronic Notes in Theoretical Computer Science

SN - 1571-0661

ER -

ID: 195226492