221 research outputs found

    A decidable characterization of locally testable tree languages

    Get PDF
    A regular tree language L is locally testable if membership of a tree in L depends only on the presence or absence of some fix set of neighborhoods in the tree. In this paper we show that it is decidable whether a regular tree language is locally testable. The decidability is shown for ranked trees and for unranked unordered trees

    A Characterization for Decidable Separability by Piecewise Testable Languages

    Full text link
    The separability problem for word languages of a class C\mathcal{C} by languages of a class S\mathcal{S} asks, for two given languages II and EE from C\mathcal{C}, whether there exists a language SS from S\mathcal{S} that includes II and excludes EE, that is, I⊆SI \subseteq S and S∩E=∅S\cap E = \emptyset. In this work, we assume some mild closure properties for C\mathcal{C} and study for which such classes separability by a piecewise testable language (PTL) is decidable. We characterize these classes in terms of decidability of (two variants of) an unboundedness problem. From this, we deduce that separability by PTL is decidable for a number of language classes, such as the context-free languages and languages of labeled vector addition systems. Furthermore, it follows that separability by PTL is decidable if and only if one can compute for any language of the class its downward closure wrt. the scattered substring ordering (i.e., if the set of scattered substrings of any language of the class is effectively regular). The obtained decidability results contrast some undecidability results. In fact, for all (non-regular) language classes that we present as examples with decidable separability, it is undecidable whether a given language is a PTL itself. Our characterization involves a result of independent interest, which states that for any kind of languages II and EE, non-separability by PTL is equivalent to the existence of common patterns in II and EE

    Going higher in the First-order Quantifier Alternation Hierarchy on Words

    Full text link
    We investigate the quantifier alternation hierarchy in first-order logic on finite words. Levels in this hierarchy are defined by counting the number of quantifier alternations in formulas. We prove that one can decide membership of a regular language to the levels BΣ2\mathcal{B}\Sigma_2 (boolean combination of formulas having only 1 alternation) and Σ3\Sigma_3 (formulas having only 2 alternations beginning with an existential block). Our proof works by considering a deeper problem, called separation, which, once solved for lower levels, allows us to solve membership for higher levels

    Fragments of first-order logic over infinite words

    Get PDF
    We give topological and algebraic characterizations as well as language theoretic descriptions of the following subclasses of first-order logic FO[<] for omega-languages: Sigma_2, FO^2, the intersection of FO^2 and Sigma_2, and Delta_2 (and by duality Pi_2 and the intersection of FO^2 and Pi_2). These descriptions extend the respective results for finite words. In particular, we relate the above fragments to language classes of certain (unambiguous) polynomials. An immediate consequence is the decidability of the membership problem of these classes, but this was shown before by Wilke and Bojanczyk and is therefore not our main focus. The paper is about the interplay of algebraic, topological, and language theoretic properties.Comment: Conference version presented at 26th International Symposium on Theoretical Aspects of Computer Science, STACS 200

    Adding modular predicates to first-order fragments

    Full text link
    We investigate the decidability of the definability problem for fragments of first order logic over finite words enriched with modular predicates. Our approach aims toward the most generic statements that we could achieve, which successfully covers the quantifier alternation hierarchy of first order logic and some of its fragments. We obtain that deciding this problem for each level of the alternation hierarchy of both first order logic and its two-variable fragment when equipped with all regular numerical predicates is not harder than deciding it for the corresponding level equipped with only the linear order and the successor. For two-variable fragments we also treat the case of the signature containing only the order and modular predicates.Relying on some recent results, this proves the decidability for each level of the alternation hierarchy of the two-variable first order fragmentwhile in the case of the first order logic the question remains open for levels greater than two.The main ingredients of the proofs are syntactic transformations of first order formulas as well as the algebraic framework of finite categories

    Algebras for Classifying Regular Tree Languages and an Application to Frontier Testability

    Get PDF
    Point-tree algebras, a class of equational three-sorted algebras are defined. The elements of sort t of the free point-tree algebra T generated by a set A are identified with finite binary trees with labels in A. A set L of finite binary trees over A is recognized by a point-tree algebr B if there exists a homomorphism h from T in B such that L is an inverse image of h. A tree language is regular if and only if it is recognized by a finite point-tree algebra. There exists a smallest recognizing point-tree algebra for every tree language, the so-called syntactic point-tree algebra. For regular tree languages, this point-tree algebra is computable from a (minimal) recognizing tree automaton. The class of finite point-tree algebras recognizing frontier testable (also known as reverse definite) tree languages is described by means of equations. This gives a cubic algorithm deciding whether a given regular tree language (over a fixed alphabet) is frontier testable. The characterization of the class of frontier testable languages in terms of equations is in contrast with other algebraic approaches to the classification of tree languages (the semigroup and the universal-algebraic approach) where such equations are not possible or not known
    • …
    corecore