Score: 0

Program Logics via Distributive Monoidal Categories

Published: July 24, 2025 | arXiv ID: 2507.18238v1

By: Filippo Bonchi , Elena Di Lavore , Mario Román and more

Potential Business Impact:

Makes computer programs work correctly and reliably.

Business Areas:
Natural Language Processing Artificial Intelligence, Data and Analytics, Software

We derive multiple program logics, including correctness, incorrectness, and relational Hoare logic, from the axioms of imperative categories: uniformly traced distributive copy-discard categories. We introduce an internal language for imperative multicategories, on top of which we derive combinators for an adaptation of Dijkstra's guarded command language. Rules of program logics are derived from this internal language.

Page Count
52 pages

Category
Computer Science:
Logic in Computer Science