【24h】

Marrying Words and Trees

机译:结婚的词和树木

获取原文

摘要

We discuss the model of nested words for representation of data with both a linear ordering and a hierarchically nested matching of items. Examples of data with such dual linear-hierarchical structure include annotated linguistic data, executions of structured programs, and HTML/XML documents. Nested words generalize both words and ordered trees, and allow both word and tree operations. We define nested word automata-finite-state acceptors for nested words, and show that the resulting class of regular languages of nested words has all the appealing theoretical properties that the classical regular word languages enjoy such as determinization, closure under a variety of operations, decidability of emptiness as well as equivalence, and characterization using monadic second order logic. The linear encodings of nested words gives the class of visibly pushdown languages of words, and this class lies between balanced languages and deterministic context-free languages. We argue that for algorithmic verification of structured programs, instead of viewing the program as a context-free language over words, one should view it as a regular language of nested words (or equivalently, as a visibly pushdown language), and this would allow model checking of many properties (such as stack inspection, pre-post conditions) that are not expressible in existing specification logics. We also study the relationship between ordered trees and nested words, and the corresponding automata: while the analysis complexity of nested word automata is the same as that of classical tree automata, they combine both bottom-up and top-down traversals, and enjoy expressiveness and succinctness benefits over tree automata. There is a rapidly growing literature related to nested words, and we will briefly survey results on languages infinite nested words, nested trees, temporal logics over nested words, and new decidability results based on visibility.
机译:我们讨论嵌套词语模型,以表示数据的表示和项目的分层嵌套匹配。具有这种双线性分层结构的数据的示例包括带注释的语言数据,结构化程序的执行和HTML / XML文档。嵌套单词概括了单词和有序树,并允许单词和树操作。我们为嵌套单词定义嵌套的Word自动机构 - 有限状态受体,并显示所产生的嵌套词语类别的常规语言具有所有吸引力的理论属性,即经典常规词语享受,例如确定化,关闭各种操作下的封闭,空虚的可判定性以及使用Monadic二阶逻辑的等效性和表征。嵌套单词的线性编码给出了明显的下推语言的单词,这个课程在于平衡语言和确定性无背景之间的语言。我们争辩说,对于结构化程序的算法验证,而不是将程序视为单词的无背景语言,应该将其视为嵌套单词的常规语言(或等效,作为可见的下推语言),这将允许模型检查在现有规范逻辑中不可以表示的许多属性(如堆栈检查,前后条件)。我们还研究了有序树木和嵌套单词之间的关系,以及相应的自动机:虽然嵌套词自动机的分析复杂性与古典树自动机相同,但它们将自下而上和自上而下的遍历,享受表现力和简洁度在树自动机上有益。与嵌套词语有关的文献迅速,我们将简要介绍对语言无限嵌套单词,嵌套树,嵌套单词的时间逻辑以及基于可见性的新可解锁性结果的结果。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号