Abstract

We study the matching problem of regular tree languages, that is, "$\exists \sigma:\sigma(L)\subseteq R$?" where $L,R$ are regular tree languages over the union of finite ranked alphabets $\Sigma$ and $\mathcal{X}$ where $\mathcal{X}$ is an alphabet of variables and $\sigma$ is a substitution such that $\sigma(x)$ is a set of trees in $T(\Sigma\cup H)\setminus H$ for all $x\in \mathcal{X}$. Here, $H$ denotes a set of "holes" which are used to define a "sorted" concatenation of trees. Conway studied this problem in the special case for languages of finite words in his classical textbook "Regular algebra and finite machines" published in 1971. He showed that if $L$ and $R$ are regular, then the problem "$\exists \sigma \forall x\in \mathcal{X}: \sigma(x)\neq \emptyset\wedge \sigma(L)\subseteq R$?" is decidable. Moreover, there are only finitely many maximal solutions, the maximal solutions are regular substitutions, and they are effectively computable. We extend Conway's results when $L,R$ are regular languages of finite and infinite trees, and language substitution is applied inside-out, in the sense of Engelfriet and Schmidt (1977/78). More precisely, we show that if $L\subseteq T(\Sigma\cup\mathcal{X})$ and $R\subseteq T(\Sigma)$ are regular tree languages over finite or infinite trees, then the problem "$\exists \sigma \forall x\in \mathcal{X}: \sigma(x)\neq \emptyset\wedge \sigma_{\mathrm{io}}(L)\subseteq R$?" is decidable. Here, the subscript "$\mathrm{io}$" in $\sigma_{\mathrm{io}}(L)$ refers to "inside-out". Moreover, there are only finitely many maximal solutions $\sigma$, the maximal solutions are regular substitutions and effectively computable. The corresponding question for the outside-in extension $\sigma_{\mathrm{oi}}$ remains open, even in the restricted setting of finite trees.

Highlights

  • We study the matching problem of regular tree languages, that is, “∃σ : σ(L) ⊆ R?” where L, R are regular tree languages over the union of finite ranked alphabets Σ and X where X is an alphabet of variables and σ is a substitution such that σ(x) is a set of trees in T (Σ ∪ H) \ H for all x ∈ X

  • H denotes a set of “holes” which are used to define a “sorted” concatenation of trees. Conway studied this problem in the special case for languages of finite words in his classical textbook Regular algebra and finite machines published in 1971

  • It is called a solution of the problem “L ⊆ R?” if σ(L) ⊆ R. In his textbook [Con71, Chapt. 6], Conway developed a factorization theory of formal languages. Thereby he found a nugget in formal language theory: Given as input regular word languages L ⊆ (Σ ∪ X )∗ and R ⊆ Σ∗, it holds: [1] It is decidable whether there is a substitution σ : X → 2Σ∗ such that σ(L) ⊆ R and

Read more

Summary

Introduction

In the word case, the class C can be defined by the class of context-free languages, and Conway’s result for finite words still holds if L is context-free and R is regular. A special case is stated in Cor. 6.5: we can compute the finite set of maximal substitutions σ satisfying σio(L) ⊆ R and σ(x) = ∅. This statement reflects the original setting of Conway. We don’t rely on (or use) the theory of monads This is a categorial concept, which leads to a general notion of a syntactic algebra, see the arXiv-paper of Bojanczyk [Boj15] for finite trees..

Notation and preliminaries
Regular tree languages
Tasks and profiles
Parity games
Main results
Findings
Conclusion and open problems

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.