Two-dimensional transducers
arXiv:2509.06769
Abstract
We define a bicategory whose 1-cells provide a categorification of transducers, computational devices extending finite-state automata with output capabilities. This bicategory is a mathematically interesting object: its objects are categories and its 1-cells consist of a category of `states', and a profunctor where denotes the free monoidal category over . Extending to in a canonical way, to each `word' in one attaches an endoprofunctor over the category of states, enriched over presheaves on . We discuss a number of other characterizations of the hom-category ; we establish a Kleisli-like universal property for and explore the connection of to other bicategories of computational models, such as Bob Walters' bicategory of `circuits'; it is convenient to regard as the loose bicategory of a double category : the bicategory (resp., double category) of profunctors is naturally contained in the bicategory (resp., double category) (resp., ); we study the completeness and cocompleteness properties of , the existence of companions and conjoints, and we sketch how monads, adjunctions, and other structures/properties that naturally arise from the definition work in .
Dedicated to Bob Paré, on the occasion of his 80th birthday