[Paper Review] Verifying Recursive Active Documents with Positive Data Tree Rewriting
This paper introduces a data tree-rewriting framework, DTPRS, for modeling evolving active documents with recursive service calls and infinite data domains. By restricting to positive guards and bounded simple paths, it establishes decidability for termination and pattern reachability verification using well-structured transition systems and tree decompositions, offering a decidable fragment where full recursion and negation would otherwise lead to undecidability.
This paper proposes a data tree-rewriting framework for modeling evolving documents. The framework is close to Guarded Active XML, a platform used for handling XML repositories evolving through web services. We focus on automatic verification of properties of evolving documents that can contain data from an infinite domain. We establish the boundaries of decidability, and show that verification of a {\em positive} fragment that can handle recursive service calls is decidable. We also consider bounded model-checking in our data tree-rewriting framework and show that it is $ exptime$-complete.
Motivation & Objective
- To model evolving active documents with recursive service calls and unbounded data values using a formal tree-rewriting system.
- To identify the boundaries of decidability in verifying temporal and reachability properties of such systems.
- To extend the Guarded Active XML (GAXML) model by allowing data deletion, modification, and richer rewriting effects through tree pattern rewriting.
- To establish decidability for key verification tasks under positivity and structural constraints, despite undecidability in the general case.
- To provide a foundation for bounded model-checking and static analysis of complex document evolution workflows.
Proposed method
- Modeling active documents as data trees with labels from an infinite domain, where service calls trigger tree rewriting via pattern-based rules.
- Defining a well-quasi-order on data trees using tree decompositions to enable symbolic manipulation of infinite state spaces.
- Introducing positive DTPRS, where guards are positive (no negation), DTDs are non-recursive, and simple paths are uniformly bounded.
- Using well-structured transition systems (WSTS) to prove decidability of termination and tree pattern reachability under positivity.
- Reducing recursion-free GAXML to DTPRS by simulating renaming, deletion, and append actions via external function calls and query splitting.
- Establishing NexpTime-completeness for bounded model-checking in general DTPRS by encoding bounded-length rewriting sequences.
Experimental results
Research questions
- RQ1What are the decidability boundaries for verifying temporal and reachability properties in active documents with recursive service calls and infinite data domains?
- RQ2Can decidability be achieved for recursive active documents if we restrict to positive guards and bounded path lengths?
- RQ3Is bounded model-checking decidable for general DTPRS, and what is its complexity?
- RQ4What happens to decidability when negative guards or recursive DTDs are introduced in the system?
- RQ5Can the GAXML model be faithfully encoded within the proposed DTPRS framework while preserving verification properties?
Key findings
- Termination and tree pattern reachability are decidable for positive DTPRS, where guards are positive, DTDs are non-recursive, and simple paths are bounded.
- The framework is NexpTime-complete for bounded model-checking of general DTPRS, even without positivity.
- Verification of Tree-LTL properties is undecidable even for positive DTPRS, indicating that temporal logic verification remains challenging.
- The reduction from GAXML to DTPRS preserves decidability and complexity, showing that bounded GAXML verification is captured within the DTPRS framework.
- Undecidability holds for systems with recursive DTDs or negated guards, establishing sharp boundaries for decidability.
- The use of tree decompositions and well-quasi-orders enables symbolic manipulation of infinite state spaces, forming the core technical enabler of decidability.
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.