Emmanuel Filiot ; Ismaël Jecker ; Gabriele Puppis ; Christof Löding ; Anca Muscholl et al. - Finite-valued Streaming String Transducers

theoretics:13747 - TheoretiCS, January 8, 2025, Volume 4 - https://doi.org/10.46298/theoretics.25.1
Finite-valued Streaming String TransducersArticle

Authors: Emmanuel Filiot ; Ismaël Jecker ; Gabriele Puppis ; Christof Löding ; Anca Muscholl ; Sarah Winter

    A transducer is finite-valued if for some bound k, it maps any given input to at most k outputs. For classical, one-way transducers, it is known since the 80s that finite valuedness entails decidability of the equivalence problem. This decidability result is in contrast to the general case, which makes finite-valued transducers very attractive. For classical transducers, it is also known that finite valuedness is decidable and that any k-valued finite transducer can be decomposed as a union of k single-valued finite transducers. In this paper, we extend the above results to copyless streaming string transducers (SSTs), answering questions raised by Alur and Deshmukh in 2011. SSTs strictly extend the expressiveness of one-way transducers via additional variables that store partial outputs. We prove that any k-valued SST can be effectively decomposed as a union of k (single-valued) deterministic SSTs. As a corollary, we obtain equivalence of SSTs and two-way transducers in the finite-valued case (those two models are incomparable in general). Another corollary is an elementary upper bound for checking equivalence of finite-valued SSTs. The latter problem was already known to be decidable, but the proof complexity was unknown (it relied on Ehrenfeucht's conjecture). Finally, our main result is that finite valuedness of SSTs is decidable. The complexity is PSpace, and even PTime when the number of variables is fixed.


    Volume: Volume 4
    Published on: January 8, 2025
    Accepted on: November 10, 2024
    Submitted on: June 10, 2024
    Keywords: Computer Science - Formal Languages and Automata Theory

    Consultation statistics

    This page has been seen 52 times.
    This article's PDF has been downloaded 34 times.