arXiv · 2507.18238
Deriving Program Logics from Distributive Monoidal Categories
Abstract
We derive multiple program logics - including correctness, incorrectness, and relational Hoare logic - from the axioms of imperative categories: uniformly traced distributive copy-discard categories. Rules of program logics follow from the axioms of imperative categories. The algebra of guarded commands derived by the categorical structure generalises guarded Kleene algebras with tests.
Explore related subjects
Keep this discovery
Filippo Bonchi, Elena Di Lavore, Mario Román, Sam Staton. 2025-07-24. Deriving Program Logics from Distributive Monoidal Categories. https://arxiv.org/abs/2507.18238
Cite the original work for its findings. Save a collection to share your selection of sources.
Discover connections
Connections use source metadata and explicit phrase matches, not verified experimental comparisons.