Non-Cartesian Guarded Recursion with Daggers
Louis Lemonnier
Key points
From the paper's conclusion- We show how to introduce the framework of guarded recursion into dagger categories with sufficient structure for data types, also called dagger rig categories.
Abstract
Guarded recursion is a framework allowing for a formalisation of streams in classical (as opposed to concurrent, probabilistic, quantum) programming languages. The latter take their semantics in cartesian closed categories. However, some programming paradigms do not take their semantics in a cartesian setting; this is the case for concurrency, reversible and quantum programming for example. In this paper, we focus on reversible programming through its categorical model in dagger categories, which are categories that contain an involutive operator on morphisms. We show how to introduce the framework of guarded recursion into dagger categories with sufficient structure for data types, also called dagger rig categories. First, given an arbitrary category, we build another category shown to be suitable for guarded recursion in multiple ways, via enrichment and fixed point theorems. We then study the interaction between this construction and the structure of dagger rig categories, aiming for reversible programming. Finally, we show that our construction is suitable as a model of higher-order reversible programming languages, such as symmetric pattern matching, to which we add guarded recursion features.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- A Complete Theory of Sequential Digital Circuits: Denotational, Operational and Algebraic SemanticsLogical Methods in Computer Science · 2026
- Arbitrary Functors as Modalities in a Linear CalculusarXiv · 2026
- TensorRocq: Enabling Diagrammatic Reasoning in RocqProceedings of the ACM on Programming Languages · 2026
- Vy ZX: Formal Verification of a Graphical Quantum LanguageACM Transactions on Programming Languages and Systems · 2026
- A Complete Equational Theory for Quantum Circuits with Generalized ControlarXiv · 2026
- Context-Dependent Effects and Concurrency in Guarded Interaction TreesACM Transactions on Programming Languages and Systems · 2026