A transducer is finite-valued if there exists a bound k such that any given input maps to at most k outputs. For classical one-way transducers, it is known since the 1980s that finite valuedness entails decidability of the equivalence problem. This result is in contrast with undecidability in the general case, making finite-valued transducers very appealing. For one-way transducers it is also known that finite valuedness itself is decidable and that any k-valued finite transducer can be decomposed into a union of k single-valued finite transducers. In this article, we extend the above results to copyless streaming string transducers (SSTs), addressing open 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 into a union of k (single-valued) deterministic SSTs. As a corollary, we establish the equivalence between SSTs and two-way transducers in the finite-valued case, even though these models are generally incomparable. Another corollary provides an elementary upper bound for deciding equivalence of finite-valued SSTs. The equivalence problem was already known to be decidable, but the proof complexity relied on Ehrenfeucht's conjecture. Lastly, our main contribution shows that finite valuedness of SSTs is decidable, with the complexity being PSPCAE in general, and PTIME when the number of variables is fixed.

Finite-valued Streaming String Transducers

Gabriele Puppis
;
2025-01-01

Abstract

A transducer is finite-valued if there exists a bound k such that any given input maps to at most k outputs. For classical one-way transducers, it is known since the 1980s that finite valuedness entails decidability of the equivalence problem. This result is in contrast with undecidability in the general case, making finite-valued transducers very appealing. For one-way transducers it is also known that finite valuedness itself is decidable and that any k-valued finite transducer can be decomposed into a union of k single-valued finite transducers. In this article, we extend the above results to copyless streaming string transducers (SSTs), addressing open 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 into a union of k (single-valued) deterministic SSTs. As a corollary, we establish the equivalence between SSTs and two-way transducers in the finite-valued case, even though these models are generally incomparable. Another corollary provides an elementary upper bound for deciding equivalence of finite-valued SSTs. The equivalence problem was already known to be decidable, but the proof complexity relied on Ehrenfeucht's conjecture. Lastly, our main contribution shows that finite valuedness of SSTs is decidable, with the complexity being PSPCAE in general, and PTIME when the number of variables is fixed.
File in questo prodotto:
File Dimensione Formato  
TheoretiCS25.pdf

accesso aperto

Tipologia: Versione Editoriale (PDF)
Licenza: Creative commons
Dimensione 579.69 kB
Formato Adobe PDF
579.69 kB Adobe PDF Visualizza/Apri

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/11390/1296865
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus ND
  • ???jsp.display-item.citation.isi??? ND
social impact