arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1904.09203cs.FL
收藏

树-树变换器的线性有界组合:线性尺寸增加和复杂性

Linear Bounded Composition of Tree-Walking Tree Transducers: Linear Size Increase and Complexity

Joost Engelfriet, Kazuhiro Inaba, Sebastian Maneth

摘要:

树遍历树换能器的组合相对于组合中的换能器的数量形成层级。作为主要的技术结果,它证明了任何这样的组合可以实现为线性有界组合,这意味着中间结果的大小可以被选择为在输出树的大小中至多是线性的。这就影响了翻译层次结构的表现力和复杂性。首先,如果计算的平移是线性大小增加的函数,即,输出树的大小最多与输入树的大小成线性关系,则它可以仅由一个确定性的树遍历树转换器来实现。对于确定性换能器的组合物,可以决定平移是否具有线性尺寸增加。第二,确定性换能器的每个组成可以在RAM上的确定性线性时间中和在图灵机上的确定性线性空间中计算,以输入和输出树的大小之和测量。类似地,非确定性换能器的每个组成可以在非确定性图灵机上同时在多项式时间和线性空间中计算。它们的输出树语言是确定性上下文敏感的,即,可以在图灵机上的确定性线性空间中识别。非确定性平移复合的隶属度问题是非确定性多项式时间和确定性线性空间。非确定性和确定性树遍历树转换的组合的成员问题(对于非确定性IO宏树转换)是可还原为上下文无关语言的日志空间,而确定性和非确定性树遍历树转换的组合的成员问题(对于非确定性OI宏树转换)可能是NP完全的。

英文摘要:

Compositions of tree-walking tree transducers form a hierarchy with respect to the number of transducers in the composition. As main technical result it is proved that any such composition can be realized as a linear bounded composition, which means that the sizes of the intermediate results can be chosen to be at most linear in the size of the output tree. This has consequences for the expressiveness and complexity of the translations in the hierarchy. First, if the computed translation is a function of linear size increase, i.e., the size of the output tree is at most linear in the size of the input tree, then it can be realized by just one, deterministic, tree-walking tree transducer. For compositions of deterministic transducers it is decidable whether or not the translation is of linear size increase. Second, every composition of deterministic transducers can be computed in deterministic linear time on a RAM and in deterministic linear space on a Turing machine, measured in the sum of the sizes of the input and output tree. Similarly, every composition of nondeterministic transducers can be computed in simultaneous polynomial time and linear space on a nondeterministic Turing machine. Their output tree languages are deterministic context-sensitive, i.e., can be recognized in deterministic linear space on a Turing machine. The membership problem for compositions of nondeterministic translations is nondeterministic polynomial time and deterministic linear space. The membership problem for the composition of a nondeterministic and a deterministic tree-walking tree translation (for a nondeterministic IO macro tree translation) is log-space reducible to a context-free language, whereas the membership problem for the composition of a deterministic and a nondeterministic tree-walking tree translation (for a nondeterministic OI macro tree translation) is possibly NP-complete.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑