On the semantics of conditional branching
Fredrik Dahlqvist
Key points
From the paper's conclusion- Motivated by the non-standard interpretations of if-then-else in probabilistic and quantum programs we review the different semantics of conditional branching and propose a unifying categorical structure for the interpretation of if-then-else.
Abstract
Motivated by the non-standard interpretations of if-then-else in probabilistic and quantum programs we review the different semantics of conditional branching and propose a unifying categorical structure for the interpretation of if-then-else. We show that many semantically important categories possess this structure, covering inter alia classical, probabilistic, quantum or non-deterministic computations. We examine algebraic structures related to and generated by this categorical structure, in particular on collections of predicates. In this setting we show that the skew-associativity rules of GKATs and barycentric algebras are two instances of a common skew-associativity rule.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- A Complete Equational Theory for Quantum Circuits with Generalized ControlarXiv · 2026
- A Complete Axiomatisation of Distribution-Based Branching Bisimilarity for Non-Deterministic and Probabilistic ChoicearXiv · 2026
- On Propositional Dynamic Logic and ConcurrencyACM Transactions on Computational Logic · 2026
- An Algebraic Perspective on Operational SemanticsarXiv · 2026
- Quantum methods for managing ambiguity in natural language processingQuantum Machine Intelligence · 2026
- CFGKAT: A Complete Calculus for Non-Local Control FlowarXiv · 2026