Jeopardy: An Invertible Functional Programming Language
Not on the map. Why?
Abstract (arXiv)
Algorithms are ways of mapping problems to solutions. An algorithm is invertible precisely when this mapping is injective, such that the initial problem can be uniquely inferred from its solution. While invertible algorithms can be described in general-purpose languages, no guarantees are generally made by such languages as regards invertibility, so ensuring invertibility requires additional (and often non-trivial) proof. On the other hand, while reversible programming languages guarantee that their programs are invertible by restricting the permissible operations to those which are locally invertible, writing programs in the reversible style can be cumbersome, and may differ significantly from conventional implementations even when the implemented algorithm is, in fact, invertible. In this paper we introduce Jeopardy, a functional programming language that guarantees program invertibility without imposing local reversibility. In particular, Jeopardy allows the limited use of uninvertible -- and even nondeterministic! -- operations, provided that they are used in a way that can be statically determined to be invertible. To this end, we outline an implicitly available arguments analysis and three further approaches that can give a partial static guarantee to the (generally difficult) problem of guaranteeing invertibility.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 3 of its 31 references that are in the map. First posted on arXiv 6 Sep 2022.
Builds on
3 of 31 references.
References · 3
- 2018Reversible effects as inverse arrowscited by 3
- 2021Bennett and Stinespring, Together at Lastcited by 1
- 2021Quantum Information Effectscited by 1
Built on by
Not cited yet.