[Paper Review] Alternating Automata on Data Trees and XPath Satisfiability
This paper introduces alternating tree automata with one register for reasoning about data trees, where nodes are labeled with letters and data values from an infinite domain. It establishes that nonemptiness is decidable but not primitive recursive for general automata, and not elementary for safety automata, leading to decidability of satisfiability for two fragments of XPath with data equality and DTDs.
A data tree is an unranked ordered tree whose every node is labelled by a letter from a finite alphabet and an element ("datum") from an infinite set, where the latter can only be compared for equality. The article considers alternating automata on data trees that can move downward and rightward, and have one register for storing data. The main results are that nonemptiness over finite data trees is decidable but not primitive recursive, and that nonemptiness of safety automata is decidable but not elementary. The proofs use nondeterministic tree automata with faulty counters. Allowing upward moves, leftward moves, or two registers, each causes undecidability. As corollaries, decidability is obtained for two data-sensitive fragments of the XPath query language.
Motivation & Objective
- To develop a formal framework for reasoning about data trees using alternating automata with one register.
- To address the decidability of nonemptiness and satisfiability for XPath queries over XML documents with data values.
- To overcome limitations of previous automata models that lack closure under complement and have undecidable nonuniversality.
- To characterize decidable fragments of XPath that support data equality and DTDs, particularly forward and safety variants.
- To establish complexity bounds for nonemptiness and satisfiability, showing non-primitive recursive and non-elementary complexity respectively.
Proposed method
- Introduces alternating tree automata with one register that can move downward and rightward, and compare data for equality.
- Uses a novel construction of nondeterministic tree automata with faulty counters to simulate alternating behavior and prove decidability results.
- Defines automata for XPath qualifiers via closure operations: disjunctive and conjunctive disjoint unions, dualization, and substitution for holes.
- Introduces ITCA (infinite-tree counter automata) and ITCANT (acyclic ITCAs) to model tree languages after data abstraction.
- Applies closure properties of ITCAs under intersection with forward nondeterministic tree automata to reduce satisfiability to nonemptiness.
- Employs safety automata and their equivalence to ATRA1 (alternating tree automata with one register) to extend results to infinite trees.
Experimental results
Research questions
- RQ1Is nonemptiness decidable for alternating automata with one register on finite data trees?
- RQ2What is the complexity of nonemptiness for safety variants of such automata?
- RQ3Can satisfiability be decided for forward XPath queries with data equality and DTDs?
- RQ4What happens to decidability when upward or leftward moves, or two registers, are allowed?
- RQ5Are there decidable fragments of XPath that support negation, data comparisons, and recursive axes?
Key findings
- Nonemptiness of alternating automata with one register on finite data trees is decidable but not primitive recursive.
- Nonemptiness of safety alternating automata with one register is decidable but not elementary.
- Satisfiability for forward XPath with DTDs is decidable over finite XML trees.
- Satisfiability for safety forward XPath with DTDs is decidable over both finite and infinite XML trees.
- Adding upward or leftward moves, or increasing the number of registers to two, causes undecidability of nonemptiness.
- The results imply decidability of two data-sensitive fragments of XPath, including those with negation and data equality, under specific structural constraints.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.