A Diagrammatic Basis for Computer Programming
Logic in Computer Science
2026-04-22 v2
Abstract
Tape diagrams provide a convenient graphical notation for arrows of rig categories, i.e., categories equipped with two monoidal products, and . In this work, we introduce Kleene-Cartesian rig categories, namely rig categories where provides a Cartesian bicategory, while a Kleene bicategory. We show that the associated tape diagrams can conveniently deal with imperative programs and various program logic.
Cite
@article{arxiv.2512.07240,
title = {A Diagrammatic Basis for Computer Programming},
author = {Filippo Bonchi and Alessandro Di Giorgio and Elena Di Lavore},
journal= {arXiv preprint arXiv:2512.07240},
year = {2026}
}