Logics for unordered trees with data constraints

作者:

Highlights:

摘要

We study monadic second-order logics with counting constraints (CMso) for unordered data trees. Our objective is to enhance this logic with data constraints for comparing string data values. Comparisons between data values at arbitrary positions of a data tree quickly lead to undecidability. Therefore, we restrict ourselves to comparing sibling data values of unordered trees. But even in this case CMso remains undecidable when allowing for data comparisons that can check the equality of string factors. However, for more restricted data constraints that can only check the equality of string prefixes, it becomes decidable. This decidability result is obtained by reduction to WSkS. Furthermore, we exhibit a restricted class of constraints which can be used in transitions of tree automata, resulting in a model with tractable complexity, which can be extended with structural equality tests between siblings. This efficient restriction is relevant to applications such as checking well-formedness properties of file system trees.

论文关键词:Counting Mso,Data trees,String comparisons

论文评审过程:Received 15 July 2015, Revised 16 November 2018, Accepted 27 November 2018, Available online 30 January 2019, Version of Record 6 June 2019.

论文官网地址:https://doi.org/10.1016/j.jcss.2018.11.004