arXiv · 2611.26400
On the semantics of conditional branching
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.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Fredrik Dahlqvist. 2026-11-19. On the semantics of conditional branching. https://searcharxiv.org/abs/2611.26400
Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite Search arXiv by Indiciae: BibTeX · RIS.