arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1405.1295cs.LO
收藏

树的全局数值约束

Global Numerical Constraints on Trees

Everardo Bárcenas, Jesús Lavalle

摘要:

我们引入了一个逻辑基础的原因树结构上的节点出现的数量的限制。相关的形式主义仅限于表达特定树区域上的出现约束,例如给定节点的子节点。相比之下,在本工作中引入的逻辑可以简洁地表示任何区域,后代或祖先的数值界限。我们证明了即使数值约束是二进制形式的逻辑在单指数时间内也是可判定的。我们还说明了使用的逻辑在描述的数值约束的多方向路径查询XML文档。此外,对正则语言(XML模式)的数值限制也可以通过该逻辑简明地描述。这意味着可判定计数扩展的XML查询和XML模式的表征。此外,由于该逻辑在否定下是封闭的,因此可以用作检验空性、包容性和等价性的最佳推理框架。

英文摘要:

We introduce a logical foundation to reason on tree structures with constraints on the number of node occurrences. Related formalisms are limited to express occurrence constraints on particular tree regions, as for instance the children of a given node. By contrast, the logic introduced in the present work can concisely express numerical bounds on any region, descendants or ancestors for instance. We prove that the logic is decidable in single exponential time even if the numerical constraints are in binary form. We also illustrate the usage of the logic in the description of numerical constraints on multi-directional path queries on XML documents. Furthermore, numerical restrictions on regular languages (XML schemas) can also be concisely described by the logic. This implies a characterization of decidable counting extensions of XPath queries and XML schemas. Moreover, as the logic is closed under negation, it can thus be used as an optimal reasoning framework for testing emptiness, containment and equivalence.

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

↑