paper

A Diagrammatic Basis for Computer Programming

arXiv:2512.07240

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.

A Diagrammatic Basis for Computer Programming · wovepaper