A categorical foundation for structured reversible flowchart languages: Soundness and adequacy

10/10/2017
by   Robert Glück, et al.
0

Structured reversible flowchart languages is a class of imperative reversible programming languages allowing for a simple diagrammatic representation of control flow built from a limited set of control flow structures. This class includes the reversible programming language Janus (without recursion), as well as more recently developed reversible programming languages such as R-CORE and R-WHILE. In the present paper, we develop a categorical foundation for this class of languages based on inverse categories with joins. We generalize the notion of extensivity of restriction categories to one that may be accommodated by inverse categories, and use the resulting decision maps to give a reversible representation of predicates and assertions. This leads to a categorical semantics for structured reversible flowcharts, which we show to be both sound, adequate, and fully abstract with respect to the operational semantics under certain conditions.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
05/20/2021

Join inverse rig categories for reversible functional programming, and beyond

Reversible computing is a computational paradigm in which computations a...
research
07/25/2017

Design and Implementation of a Reversible Object-Oriented Programming Language

High-level reversible programming languages are few and far between and ...
research
04/02/2019

Inversion, Iteration, and the Art of Dual Wielding

The humble † ("dagger") is used to denote two different operations in ca...
research
02/14/2019

Introducing Yet Another REversible Language

Yarel is a core reversible programming language that implements a class ...
research
05/22/2019

Condition/Decision Duality and the Internal Logic of Extensive Restriction Categories

In flowchart languages, predicates play an interesting double role. In t...
research
09/11/2023

Automatic regenerative simulation via non-reversible simulated tempering

Simulated Tempering (ST) is an MCMC algorithm for complex target distrib...
research
09/13/2021

Categorical Semantics of Reversible Pattern-Matching

This paper is concerned with categorical structures for reversible compu...

Please sign up or login with your details

Forgot password? Click here to reset