6 research outputs found

    Decomposing Finite Languages

    Get PDF

    Inductive Synthesis of Cover-Grammars with the Help of Ant Colony Optimization

    Get PDF
    A cover-grammar of a finite language is a context-free grammar that accepts all words in the language and possibly other words that are longer than any word in the language. In this paper, we describe an efficient algorithm aided by Ant Colony System that, for a given finite language, synthesizes (constructs) a small cover-grammar of the language. We also check its ability to solve a grammatical inference task through the series of experiments

    Decomposing Finite Languages

    Full text link
    The paper completely characterizes the primality of acyclic DFAs, where a DFA A\mathcal{A} is prime if there do not exist DFAs A1,…,At\mathcal{A}_1,\dots,\mathcal{A}_t with L(A)=⋂i=1tL(Ai)\mathcal{L}(\mathcal{A}) = \bigcap_{i=1}^{t} \mathcal{L}({\mathcal{A}_i}) such that each Ai\mathcal{A}_i has strictly less states than the minimal DFA recognizing the same language as A\mathcal{A}. A regular language is prime if its minimal DFA is prime. Thus, this result also characterizes the primality of finite languages. Further, the NL\mathsf{NL}-completeness of the corresponding decision problem PrimeDFAfin\mathsf{PrimeDFA}_{\text{fin}} is proven. The paper also characterizes the primality of acyclic DFAs under two different notions of compositionality, union and union-intersection compositionality. Additionally, the paper introduces the notion of S-primality, where a DFA A\mathcal{A} is S-prime if there do not exist DFAs A1,…,At\mathcal{A}_1,\dots,\mathcal{A}_t with L(A)=⋂i=1tL(Ai)\mathcal{L}(\mathcal{A}) = \bigcap_{i=1}^{t} \mathcal{L}(\mathcal{A}_i) such that each Ai\mathcal{A}_i has strictly less states than A\mathcal{A} itself. It is proven that the problem of deciding S-primality for a given DFA is NL\mathsf{NL}-hard. To do so, the NL\mathsf{NL}-completeness of 2MinimalDFA\mathsf{2MinimalDFA}, the basic problem of deciding minimality for a DFA with at most two letters, is proven

    An algorithm for the decomposition of finite languages

    No full text
    corecore