Score: 0

A Diagrammatic Basis for Computer Programming

Published: December 8, 2025 | arXiv ID: 2512.07240v1

By: Filippo Bonchi, Alessandro Di Giorgio, Elena Di Lavore

Potential Business Impact:

Makes computer programs easier to draw and understand.

Business Areas:
Robotics Hardware, Science and Engineering, Software

Tape diagrams provide a convenient graphical notation for arrows of rig categories, i.e., categories equipped with two monoidal products, $\oplus$ and $\otimes$. In this work, we introduce Kleene-Cartesian rig categories, namely rig categories where $\otimes$ provides a Cartesian bicategory, while $\oplus$ a Kleene bicategory. We show that the associated tape diagrams can conveniently deal with imperative programs and various program logic.

Page Count
81 pages

Category
Computer Science:
Logic in Computer Science