Linear High-Order Deterministic Tree Transducers with Regular Look-Ahead

Paul Gallot, Aurélien Lemay, Sylvain Salvati
{"title":"Linear High-Order Deterministic Tree Transducers with Regular Look-Ahead","authors":"Paul Gallot, Aurélien Lemay, Sylvain Salvati","doi":"10.4230/LIPIcs.MFCS.2020.38","DOIUrl":null,"url":null,"abstract":"We introduce the notion of high-order deterministic top-down tree transducers (HODT) whose outputs correspond to single-typed lambda-calculus formulas. These transducers are natural generalizations of known models of top-tree transducers such as: Deterministic Top-Down Tree Transducers, Macro Tree Transducers, Streaming Tree Transducers... We focus on the linear restriction of high order tree transducers with look-ahead (HODTR lin), and prove this corresponds to tree to tree functional transformations defined by Monadic Second Order (MSO) logic. We give a specialized procedure for the composition of those transducers that uses a flow analysis based on coherence spaces and allows us to preserve the linearity of transducers. This procedure has a better complexity than classical algorithms for composition of other equivalent tree transducers, but raises the order of transducers. However, we also indicate that the order of a HODTR lin can always be bounded by 3, and give a procedure that reduces the order of a HODTR lin to 3. As those resulting HODTR lin can then be transformed into other equivalent models, this gives an important insight on composition algorithm for other classes of transducers. Finally, we prove that those results partially translate to the case of almost linear HODTR: the class corresponds to the class of tree transformations performed by MSO with unfolding (not closed by composition), and provide a mechanism to reduce the order to 3 in this case.","PeriodicalId":369104,"journal":{"name":"International Symposium on Mathematical Foundations of Computer Science","volume":"205 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2020-08-28","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"3","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"International Symposium on Mathematical Foundations of Computer Science","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.4230/LIPIcs.MFCS.2020.38","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 3

Abstract

We introduce the notion of high-order deterministic top-down tree transducers (HODT) whose outputs correspond to single-typed lambda-calculus formulas. These transducers are natural generalizations of known models of top-tree transducers such as: Deterministic Top-Down Tree Transducers, Macro Tree Transducers, Streaming Tree Transducers... We focus on the linear restriction of high order tree transducers with look-ahead (HODTR lin), and prove this corresponds to tree to tree functional transformations defined by Monadic Second Order (MSO) logic. We give a specialized procedure for the composition of those transducers that uses a flow analysis based on coherence spaces and allows us to preserve the linearity of transducers. This procedure has a better complexity than classical algorithms for composition of other equivalent tree transducers, but raises the order of transducers. However, we also indicate that the order of a HODTR lin can always be bounded by 3, and give a procedure that reduces the order of a HODTR lin to 3. As those resulting HODTR lin can then be transformed into other equivalent models, this gives an important insight on composition algorithm for other classes of transducers. Finally, we prove that those results partially translate to the case of almost linear HODTR: the class corresponds to the class of tree transformations performed by MSO with unfolding (not closed by composition), and provide a mechanism to reduce the order to 3 in this case.
具有规则正向的线性高阶确定性树形换能器
我们引入了高阶确定性自顶向下树形换能器(HODT)的概念,其输出对应于单一类型的lambda-calculus公式。这些传感器是已知的顶树传感器模型的自然概括,如:确定性自顶向下树传感器,宏树传感器,流树传感器……研究了具有前视的高阶树型换能器(HODTR lin)的线性限制,并证明了它对应于一元二阶(MSO)逻辑定义的树到树泛函变换。我们为这些换能器的组成提供了一个专门的程序,该程序使用基于相干空间的流量分析,并允许我们保持换能器的线性。与传统的等效树形换能器合成算法相比,该方法具有较好的复杂度,但提高了换能器的阶数。然而,我们也指出了HODTR线的阶数总是可以以3为界,并给出了一个将HODTR线的阶数降低到3的过程。由于所得的HODTR lin可以转换为其他等效模型,这为其他类型换能器的组合算法提供了重要的见解。最后,我们证明了这些结果部分转化为几乎线性HODTR的情况:该类对应于由MSO执行的具有展开(不通过组合关闭)的树变换类,并提供了在这种情况下将阶数降低到3的机制。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信