Decision trees for subword-closed languages over arbitrary finite alphabets
Abstract
Moshkov classified binary subword-closed languages by the minimum depth of decision trees that recognize the words of length in , or decide membership in , using queries that return the th letter of the input word. We extend this classification to alphabets with letters. With the homogeneity and heterogeneity dimensions defined via pairs of different letters, the classification is the same as for : the deterministic recognition depth is bounded, logarithmic, or linear in , the other three depths are bounded or linear, and there are five complexity classes. Since Moshkov's two-block structure lemma fails for , we prove a structure lemma with up to blocks. Our bounds are polynomial in and the two dimensions; in the bounded case they replace the exponential constant of the binary case by a linear one. We also show that the complexity class (one of the five) of a language given by a finite set of forbidden subwords can be computed in polynomial time. For several ternary languages we prove exact formulas for all four depths and check them by computation for small .
Create a lesson
Related papers
An Analysis of Decision Problems for Relational Pattern Languages under Various Constraints
Shared title terminology · Klaus Jansen, Dirk Nowotka, Lis Pirotton et al.
Characterizing Language Generation in the Limit: Finite Witnesses and a Separation-Width Hierarchy
Shared title terminology · Xiaoyu Li, Andi Han, Jiaojiao Jiang et al.
Deterministic Bandwidth of Finite Languages
Shared title terminology · Da-Jung Cho, Szilárd Zsolt Fazekas, Max Wiedenhöft
Revisiting Finiteness of Matrix Monoids
Shared title terminology · Rida Ait El Manssour, Roland Guttenberg, Nathan Lhote et al.
Operator Precedence Tree Automata
Shared title terminology · Matteo Pradella
Tensorized Automata: Algebraically Informed Representation Learning for Sequential Decision Making
Shared title terminology · Anand Balakrishnan, Dweep Trivedi, Swarat Chaudhuri