A Diagrammatic Basis for Computer Programming
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.
0
Turn this paper into a full lesson
ArcXiv compiles a staged curriculum from this paper: 8-12 lessons across beginner → advanced, synthesised section guides, visuals, flashcards, a quiz, exercises, and on-demand deep dives per section. Grounded in the abstract, never invented.