English

Implicit automata in {\lambda}-calculi III: affine planar string-to-string functions

Logic in Computer Science 2024-12-18 v4 Formal Languages and Automata Theory

Abstract

We prove a characterization of first-order string-to-string transduction via λ\lambda-terms typed in non-commutative affine logic that compute with Church encoding, extending the analogous known characterization of star-free languages. We show that every first-order transduction can be computed by a λ\lambda-term using a known Krohn-Rhodes-style decomposition lemma. The converse direction is given by compiling λ\lambda-terms into two-way reversible planar transducers. The soundness of this translation involves showing that the transition functions of those transducers live in a monoidal closed category of diagrams in which we can interpret purely affine λ\lambda-terms. One challenge is that the unit of the tensor of the category in question is not a terminal object. As a result, our interpretation does not identify β\beta-equivalent terms, but it does turn β\beta-reductions into inequalities in a poset-enrichment of the category of diagrams.

Keywords

Cite

@article{arxiv.2404.03985,
  title  = {Implicit automata in {\lambda}-calculi III: affine planar string-to-string functions},
  author = {Cécilia Pradic and Ian Price},
  journal= {arXiv preprint arXiv:2404.03985},
  year   = {2024}
}

Comments

19+1 pages, 7 figures; camera-ready version for MFPS

R2 v1 2026-06-28T15:44:57.752Z