Syntactic composition of top-down tree transducers is short cut fusion
Syntactic composition of top-down tree transducers is short cut fusion
复制标题
自顶向下树变换器的句法组成是捷径融合
DOI:
10.1017/s0960129503004109
复制
发表时间:
2004
影响因子:
0.5
通讯作者:
H. Vogler
中科院分区:
文献类型:
--
作者:
Claus Jürgensen;H. Vogler
We compare two deforestation techniques: short cut fusion formalised in category theory and the syntactic composition of tree transducers. The former strongly depends on types and uses the parametricity property or free theorem, whereas the latter makes no use of types at all and allows more general compositions. We introduce the notion of a categorical transducer, which is a generalisation of a catamorphism, and show a corresponding fusion result, which is a generalisation of the ‘acid rain theorem’. We prove the following main theorems: (i) The class of all categorical transducers builds a category where composition is fusion; (ii) The semantics of categorical transducers is a functor. (iii) The subclass of top-down categorical transducers is a subcategory. (iv) Syntactic composition of top-down tree transducers is equivalent to the fusion of top-down categorical transducers.