Type-Checking for Pattern-Based Tree Transformations
Abstract
We introduce and study pattern-based tree transformations. As an illustrating example, consider a source pattern and a target pattern as a pair. This source pattern matches any expression of the form (by substituting with , with , and with ) and the pair transforms it into the expression as dictated by the target pattern. Note that in this example, the set of expressions that match the source pattern is not a regular tree language. We propose a model of tree transformations given by a finite representation of a (possibly infinite) set of such (source pattern, target pattern) pairs. The expressive power of this model comes at the cost of undecidability of checking equivalence. Nevertheless, we show that the type-checking problem is decidable for our model of pattern-based tree transformations. The type-checking problem asks whether applying a given transformation to trees having a given regular property (type) preserves the property. Our decision procedure is by a reduction to the emptiness problem of alternating tree automata.
Create a lesson
Related papers
Decision trees for subword-closed languages over arbitrary finite alphabets
Shared title terminology · Shahid Hussain
Operator Precedence Tree Automata
Shared title terminology · Matteo Pradella
Automata for MSO over Infinite Trees with Quantification over Borel Sets of Branches
Shared title terminology · Mikołaj Bojańczyk, Antonio Casares, Sven Manthe et al.
Tree Equivalence of Higher-Order Recursion Schemes Is Undecidable
Shared title terminology · Mingkun Xiao, Yixuan Sun
Model Checking for Noisy Toric Words
Shared title terminology · Mihir Vahanwala
An Analysis of Decision Problems for Relational Pattern Languages under Various Constraints
Shared title terminology · Klaus Jansen, Dirk Nowotka, Lis Pirotton et al.