arXiv · 2301.05101
Folding interpretations
Abstract
We study the polyregular string-to-string functions, which are certain functions of polynomial output size that can be described using automata and logic. We describe a system of combinators that generates exactly these functions. Unlike previous systems, the present system includes an iteration mechanism, namely fold. Although unrestricted fold can define all primitive recursive functions, we identify a type system (inspired by linear logic) that restricts fold so that it defines exactly the polyregular functions. We also present related systems, for quantifier-free functions as well as for linear regular functions on both strings and trees.
Explore related subjects
Keep this discovery
Mikołaj Bojańczyk. 2023-01-12. Folding interpretations. https://arxiv.org/abs/2301.05101
Cite the original work for its findings. Save a collection to share your selection of sources.