English

Categorical Semantics of Reversible Pattern-Matching

Logic in Computer Science 2021-12-30 v3 Computation and Language

Abstract

This paper is concerned with categorical structures for reversible computation. In particular, we focus on a typed, functional reversible language based on Theseus. We discuss how join inverse rig categories do not in general capture pattern-matching, the core construct Theseus uses to enforce reversibility. We then derive a categorical structure to add to join inverse rig categories in order to capture pattern-matching. We show how such a structure makes an adequate model for reversible pattern-matching.

Keywords

Cite

@article{arxiv.2109.05837,
  title  = {Categorical Semantics of Reversible Pattern-Matching},
  author = {Kostia Chardonnet and Louis Lemonnier and Benoît Valiron},
  journal= {arXiv preprint arXiv:2109.05837},
  year   = {2021}
}

Comments

In Proceedings MFPS 2021, arXiv:2112.13746

R2 v1 2026-06-24T05:54:36.633Z