Type-Checking for Pattern-Based Tree Transformations
Not on the map. Why?
Abstract (arXiv)
We introduce and study pattern-based tree transformations. As an illustrating example, consider a source pattern (x · y) + (x · z) and a target pattern x · (y + z) as a pair. This source pattern matches any expression e of the form (e1 · e2) + (e1 · e3) (by substituting x with e1, y with e2, and z with e3) and the pair transforms it into the expression e1 · (e2 + e3) 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.
Key facts. No citing papers in the map yet (data through 26 Nov 2026). Builds on 0 of its 16 references that are in the map. Submitted 8 Oct 2026.
Builds on
0 of 16 references.
No references here yet.
Built on by
Not cited yet.