pith. sign in

arxiv: 1710.02804 · v1 · pith:SL3QW7NOnew · submitted 2017-10-08 · 💻 cs.PL

Reversible Computation in Term Rewriting

classification 💻 cs.PL
keywords reversiblerewritingtermcomputationstatebidirectionalmethodprogram
0
0 comments X
read the original abstract

Essentially, in a reversible programming language, for each forward computation from state $S$ to state $S'$, there exists a constructive method to go backwards from state $S'$ to state $S$. Besides its theoretical interest, reversible computation is a fundamental concept which is relevant in many different areas like cellular automata, bidirectional program transformation, or quantum computing, to name a few. In this work, we focus on term rewriting, a computation model that underlies most rule-based programming languages. In general, term rewriting is not reversible, even for injective functions; namely, given a rewrite step $t_1 \rightarrow t_2$, we do not always have a decidable method to get $t_1$ from $t_2$. Here, we introduce a conservative extension of term rewriting that becomes reversible. Furthermore, we also define two transformations, injectivization and inversion, to make a rewrite system reversible using standard term rewriting. We illustrate the usefulness of our transformations in the context of bidirectional program transformation.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.

Forward citations

Cited by 2 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score.

  1. Operational Inexpressibility at the Step-Duplicating Primitive Recursor Orientation Boundary

    cs.LO 2026-04 unverdicted novelty 5.0

    Operational inexpressibility is identified as the property that blocks derivations depending on input dimension from constraining the target in term-rewriting systems, with the step-duplicating primitive recursor as t...

  2. Operational Inexpressibility at the Step-Duplicating Primitive Recursor Orientation Boundary

    cs.LO 2026-04 unverdicted novelty 5.0

    The paper defines operational inexpressibility for step-duplicating primitive recursors in term rewriting and classifies sound responses into construction or confession methods while linking them to reflection hierarc...