English

Two-dimensional transducers

Category Theory 2025-09-11 v2

Abstract

We define a bicategory 2TDX\mathbf{2TDX} 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 A,B,\mathcal{A},\mathcal{B},\dots and its 1-cells (Q,t):AB(\mathcal{Q}, t) : \mathcal{A} \to \mathcal{B} consist of a category Q\mathcal{Q} of `states', and a profunctor t:A×Qop×Q×(B)opSet t : \mathcal{A} \times \mathcal{Q}^\text{op}\times\mathcal{Q} \times (\mathcal{B}^*)^\text{op} \to \mathbf{Set} where B\mathcal{B}^* denotes the free monoidal category over B\mathcal{B}. Extending tt to A\mathcal{A}^* in a canonical way, to each `word' a\underline a in A\mathcal{A}^* one attaches an endoprofunctor over the category Q\mathcal{Q} of states, enriched over presheaves on B\mathcal{B}^*. We discuss a number of other characterizations of the hom-category 2TDX(A,B)\mathbf{2TDX}(\mathcal{A},\mathcal{B}); we establish a Kleisli-like universal property for 2TDX(A,B)\mathbf{2TDX}(\mathcal{A},\mathcal{B}) and explore the connection of 2TDX\mathbf{2TDX} to other bicategories of computational models, such as Bob Walters' bicategory of `circuits'; it is convenient to regard 2TDX\mathbf{2TDX} as the loose bicategory of a double category DTDX\mathbb{D}\mathbf{TDX}: the bicategory (resp., double category) of profunctors is naturally contained in the bicategory (resp., double category) 2TDX\mathbf{2TDX} (resp., DTDX\mathbb{D}\mathbf{TDX}); we study the completeness and cocompleteness properties of DTDX\mathbb{D}\mathbf{TDX}, the existence of companions and conjoints, and we sketch how monads, adjunctions, and other structures/properties that naturally arise from the definition work in DTDX\mathbb{D}\mathbf{TDX}.

Keywords

Cite

@article{arxiv.2509.06769,
  title  = {Two-dimensional transducers},
  author = {Fosco Loregian},
  journal= {arXiv preprint arXiv:2509.06769},
  year   = {2025}
}

Comments

Dedicated to Bob Par\'e, on the occasion of his 80th birthday

R2 v1 2026-07-01T05:26:36.331Z