423 research outputs found

    Analytic aspects of the shuffle product

    Get PDF
    There exist very lucid explanations of the combinatorial origins of rational and algebraic functions, in particular with respect to regular and context free languages. In the search to understand how to extend these natural correspondences, we find that the shuffle product models many key aspects of D-finite generating functions, a class which contains algebraic. We consider several different takes on the shuffle product, shuffle closure, and shuffle grammars, and give explicit generating function consequences. In the process, we define a grammar class that models D-finite generating functions

    RML: Runtime Monitoring Language

    Get PDF
    Runtime verification is a relatively new software verification technique that aims to prove the correctness of a specific run of a program, rather than statically verify the code. The program is instrumented in order to collect all the relevant information, and the resulting trace of events is inspected by a monitor that verifies its compliance with respect to a specification of the expected properties of the system under scrutiny. Many languages exist that can be used to formally express the expected behavior of a system, with different design choices and degrees of expressivity. This thesis presents RML, a specification language designed for runtime verification, with the goal of being completely modular and independent from the instrumentation and the kind of system being monitored. RML is highly expressive, and allows one to express complex, parametric, non-context-free properties concisely. RML is compiled down to TC, a lower level calculus, which is fully formalized with a deterministic, rewriting-based semantics. In order to evaluate the approach, an open source implementation has been developed, and several examples with Node.js programs have been tested. Benchmarks show the ability of the monitors automatically generated from RML specifications to effectively and efficiently verify complex properties

    Acta Cybernetica : Tomus 8. Fasciculus 1.

    Get PDF

    On some modifications and applications of the post correspondence problem

    Get PDF
    The Post Correspondence Problem was introduced by Emil Post in 1946. The problem considers pairs of lists of sequences of symbols, or words, where each word has its place on the list determined by its index. The Post Correspondence Problem asks does there exist a sequence of indices so that, when we write the words in the order of the sequence as single words from both lists, the two resulting words are equal. Post proved the problem to be undecidable, that is, no algorithm deciding it can exist. A variety of restrictions and modifications have been introduced to the original formulation of the problem, that have then been shown to be either decidable or undecidable. Both the original Post Correspondence Problem and its modifications have been widely used in proving other decision problems undecidable. In this thesis we consider some modifications of the Post Correspondence Problem as well as some applications of it in undecidability proofs. We consider a modification for sequences of indices that are infinite to two directions. We also consider a modification to the original Post Correspondence Problem where instead of the words being equal for a sequence of indices, we take two sequences that are conjugates of each other. Two words are conjugates if we can write one word by taking the other and moving some part of that word from the end to the beginning. Both modifications are shown to be undecidable. We also use the Post Correspondence Problem and its modification for injective morphisms in proving two problems from formal language theory to be undecidable; the first problem is on special shuffling of words and the second problem on fixed points of rational functions

    Decomposition and Descriptional Complexity of Shuffle on Words and Finite Languages

    Get PDF
    We investigate various questions related to the shuffle operation on words and finite languages. First we investigate a special variant of the shuffle decomposition problem for regular languages, namely, when the given regular language is the shuffle of finite languages. The shuffle decomposition into finite languages is, in general not unique. Thatis,therearelanguagesL^,L2,L3,L4withLiluL2= £3luT4but{L\,L2}^ {I/3, L4}. However, if all four languages are singletons (with at least two combined letters), it follows by a result of Berstel and Boasson [6], that the solution is unique; that is {L\,L2} = {L3,L4}. We extend this result to show that if L\ and L2 are arbitrary finite sets and Lz and Z-4 are singletons (with at least two letters in each), the solution is unique. This is as strong as it can be, since we provide examples showing that the solution can be non-unique already when (1) both L\ and L2 are singleton sets over different unary alphabets; or (2) L\ contains two words and L2 is singleton. We furthermore investigate the size of shuffle automata for words. It was shown by Campeanu, K. Salomaa and Yu in [11] that the minimal shuffle automaton of two regular languages requires 2mn states in the worst case (where the minimal automata of the two component languages had m and n states, respectively). It was also recently shown that there exist words u and v such that the minimal shuffle iii DFA for u and v requires an exponential number of states. We study the size of shuffle DFAs for restricted cases of words, namely when the words u and v are both periods of a common underlying word. We show that, when the underlying word obeys certain conditions, then the size of the minimal shuffle DFA for u and v is at most quadratic. Moreover we provide an efficient algorithm, which decides for a given DFA A and two words u and v, whether u lu u C L(A)
    • …
    corecore