Symmetries in Reversible Programming: From Symmetric Rig Groupoids to Reversible Programming Languages
Vikraman Choudhury, Jacek Karwowski, Amr Sabry

TL;DR
This paper develops a denotational semantics for a reversible programming language using homotopy type theory, establishing a deep correspondence between syntax, algebraic structures, and reversible circuit equivalences, with applications to quantum computing.
Contribution
It introduces a novel semantic framework linking reversible programming languages to symmetric rig groupoids via homotopy type theory, and extends the Curry-Howard correspondence to include symmetry and reversibility.
Findings
Sound and complete correspondence between syntax and univalent universe.
Full abstraction and adequacy of the semantic model.
Application to normalization, verification, and synthesis of reversible logic gates.
Abstract
The family of reversible programming languages for boolean circuits is presented as a syntax of combinators witnessing type isomorphisms of algebraic datatypes. In this paper, we give a denotational semantics for this language, using the language of weak groupoids \`a la Homotopy Type Theory, and show how to derive an equational theory for it, presented by 2-combinators witnessing equivalences of reversible circuits. We establish a correspondence between the syntactic groupoid of the language and a formally presented univalent subuniverse of finite types. The correspondence relates 1-combinators to 1-paths, and 2-combinators to 2-paths in the universe, which is shown to be sound and complete for both levels, establishing full abstraction and adequacy. We extend the already established Curry-Howard correspondence for to a Curry-Howard-Lambek correspondence…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsComputability, Logic, AI Algorithms · Distributed systems and fault tolerance · Parallel Computing and Optimization Techniques
