On the Balancedness of Tree-to-word Transducers
Abstract
A language over an alphabet of opening () and closing () brackets, is balanced if it is a subset of the Dyck language over , and it is well-formed if all words are prefixes of words in . We show that well-formedness of a context-free language is decidable in polynomial time, and that the longest common reduced suffix can be computed in polynomial time. With this at a hand we decide for the class 2-TWs of non-linear tree transducers with output alphabet whether or not the output language is balanced.
Keywords
Cite
@article{arxiv.1911.13054,
title = {On the Balancedness of Tree-to-word Transducers},
author = {Raphaela Löbel and Michael Luttenberger and Helmut Seidl},
journal= {arXiv preprint arXiv:1911.13054},
year = {2020}
}
Comments
Major changes in Section 3 Balancedness of 2-TWs: instead of proving equivalence of LTWs over the involutive monoid we use the result that equivalence of LTWs over the free group is decidable in polynomial time (arXiv:2001.03480). A short version will be published in the conference proceedings of DLT 2020