The structure of polynomial growth for tree automata/transducers and MSO set queries
Abstract
The ambiguity of a tree automaton is the number of distinct accepting runs over a given input. We show that, in polynomial time, one can decide whether the ambiguity grows polynomially or exponentially in the input size, and, in the former case, one can compute the exact polynomial degree. Equivalently, this amounts to studying the growth of the number of results of set queries in Monadic Second-Order logic (MSO) over ranked trees; we also prove a reparameterization theorem for such queries in the case of polynomial growth. This property of MSO set queries leads directly to a generalization of Bojańczyk's dimension minimization theorem for string-to-string polyregular functions. Our generalization applies to MSO set interpretations from trees, which subsume (as we show) tree-walking transducers and invisible pebble tree-to-string transducers. Finally, with a bit more work we obtain the following: * a new, short and conceptual proof that macro tree transducers of linear growth compute only tree-to-tree MSO transductions (a seminal theorem of Engelfriet and Maneth); * a procedure to decide polynomial size-to-height increase for macro tree transducers and compute the polynomial degree, which extends the recent decidability result of Gallot, Maneth, Nakano and Peyrat concerning linear size-to-height increase.
- Publication:
-
arXiv e-prints
- Pub Date:
- January 2025
- DOI:
- arXiv:
- arXiv:2501.10270
- Bibcode:
- 2025arXiv250110270G
- Keywords:
-
- Computer Science - Formal Languages and Automata Theory;
- Computer Science - Logic in Computer Science
- E-Print:
- 29 pages. To be submitted to a journal in the near future. Comments welcome