References & Citations
Computer Science > Logic in Computer Science
Title: Implicit automata in typed $λ$-calculi II: streaming transducers vs categorical semantics
(Submitted on 3 Aug 2020 (v1), last revised 25 Aug 2021 (this version, v3))
Abstract: We characterize regular string transductions as programs in a linear $\lambda$-calculus with additives. One direction of this equivalence is proved by encoding copyless streaming string transducers (SSTs), which compute regular functions, into our $\lambda$-calculus. For the converse, we consider a categorical framework for defining automata and transducers over words, which allows us to relate register updates in SSTs to the semantics of the linear $\lambda$-calculus in a suitable monoidal closed category. To illustrate the relevance of monoidal closure to automata theory, we also leverage this notion to give abstract generalizations of the arguments showing that copyless SSTs may be determinized and that the composition of two regular functions may be implemented by a copyless SST. Our main result is then generalized from strings to trees using a similar approach. In doing so, we exhibit a connection between a feature of streaming tree transducers and the multiplicative/additive distinction of linear logic.
Keywords: MSO transductions, implicit complexity, Dialectica categories, Church encodings
Submission history
From: Cécilia Pradic [view email][v1] Mon, 3 Aug 2020 17:37:10 GMT (685kb,D)
[v2] Mon, 16 Nov 2020 16:04:39 GMT (698kb,D)
[v3] Wed, 25 Aug 2021 22:05:14 GMT (714kb,D)
Link back to: arXiv, form interface, contact.