The structure of polynomial growth for tree automata/transducers and MSO set queries

Abstract

Given an N-weighted tree automaton, we give a decision procedure for exponential vs polynomial growth (with respect to the input size) in quadratic time, and an algorithm that computes the exact polynomial degree of growth in cubic time. As a special case, they apply to the growth of the ambiguity of a nondeterministic tree automaton, i.e. the number of distinct accepting runs over a given input. We deduce analogous decidability results (ignoring complexity) for the growth of the number of results of set queries in Monadic Second-Order logic (MSO) over ranked trees. In the case of polynomial growth of degree k, we also prove a reparameterization theorem for such queries: their results can be mapped to k-tuples of input nodes in a finite-to-one and MSO-definable fashion. We then apply these tools to study growth rates and subclass membership problems for tree-to-tree functions. Using new proof strategies, we recover and generalize known results concerning polyregular functions, total deterministic macro tree transducers, and partial nondeterministic top-down tree transducers. In particular, we give a procedure to decide polynomial size-to-height increase for both macro tree transducers and MSO set interpretations, and compute the degree. The paper concludes with a survey of a wide range of related work.

0

Turn this paper into a full lesson

ArcXiv compiles a staged curriculum from this paper: 8-12 lessons across beginner → advanced, synthesised section guides, visuals, flashcards, a quiz, exercises, and on-demand deep dives per section. Grounded in the abstract, never invented.

Discussion (0)

Sign in to join the discussion.

Loading comments…