scispace - formally typeset
Search or ask a question

Showing papers on "Nested word published in 2016"


Journal ArticleDOI
08 Aug 2016
TL;DR: The robust theory of regular languages is based on three important pillars: computation (automata), logic, and algebra as discussed by the authors, and recent results on extensions of these pillars to functions from words to words.
Abstract: The robust theory of regular languages is based on three important pillars: computation (automata), logic, and algebra. In this paper, we survey old and recent results on extensions of these pillars to functions from words to words. We consider two important classes of word functions, the rational and regular functions, respectively defined by one-way and two-way automata with output words, called transducers.

32 citations


Book ChapterDOI
17 Jul 2016
TL;DR: A polynomially time-bounded algorithm for probabilistic model checking of discrete-time Markov chains against unambiguous Buchi automata specifications is provided and an implementation and experiments are reported on.
Abstract: Unambiguous automata, i.e., nondeterministic automata with the restriction of having at most one accepting run over a word, have the potential to be used instead of deterministic automata in settings where nondeterministic automata can not be applied in general. In this paper, we provide a polynomially time-bounded algorithm for probabilistic model checking of discrete-time Markov chains against unambiguous Buchi automata specifications and report on our implementation and experiments.

29 citations


Book ChapterDOI
02 Apr 2016
TL;DR: It is shown that semi-determinism leads to a simpler complementation procedure: an extended breakpoint construction that allows for symbolic implementation, and this algorithm outperforms the known complementation techniques for general nondeterministic Buchi automata.
Abstract: We introduce an efficient complementation technique for semi-deterministic Buchi automata, which are Buchi automata that are deterministic in the limit: from every accepting state onward, their behaviour is deterministic. It is interesting to study semi-deterministic automata, because they play a role in practical applications of automata theory, such as the analysis of Markov decision processes. Our motivation to study their complementation comes from the termination analysis implemented in Ultimate Buchi Automizer, where these automata represent checked runs and have to be complemented to identify runs to be checked. We show that semi-determinism leads to a simpler complementation procedure: an extended breakpoint construction that allows for symbolic implementation. It also leads to significantly improved bounds as the complement of a semi-deterministic automaton with n states has less than $$4^n$$ states. Moreover, the resulting automaton is unambiguous, which again offers new applications, like the analysis of Markov chains. We have evaluated our construction against the semi-deterministic automata produced by the Ultimate Buchi Automizer. The evaluation confirms that our algorithm outperforms the known complementation techniques for general nondeterministic Buchi automata.

27 citations


Journal ArticleDOI
TL;DR: It is shown that ref-REG coincides with the class of languages defined by regular expressions as they exist in modern programming languages like Perl, Python, Java, etc. (often called REGEX languages).
Abstract: A (factor-)reference in a word is a special symbol that refers to another factor in the same word; a reference is dereferenced by substituting it with the referenced factor. We introduce and investigate the class ref-REG of all languages that can be obtained by taking a regular language R and then dereferencing all possible references in the words of R. We show that ref-REG coincides with the class of languages defined by regular expressions as they exist in modern programming languages like Perl, Python, Java, etc. (often called REGEX languages).

27 citations


Journal ArticleDOI
TL;DR: It is proved that scope-bounded computations of an n-stack MVPA can be simulated, rearranging the input word, by using only one stack, and the equivalence of the deterministic and nondeterministic versions is proved.
Abstract: We study the formal language theory of multistack pushdown automata (MPA) restricted to computations where a symbol can be popped from a stack S only if it was pushed within a bounded number of contexts of S (scoped MPA). We show that scoped MPA are indeed a robust model of computation, by focusing on the corresponding theory of visibly MPA (MVPA). We prove the equivalence of the deterministic and nondeterministic versions and show that scope-bounded computations of an n-stack MVPA can be simulated, rearranging the input word, by using only one stack. These results have some interesting consequences, such as, the closure under complement, the decidability of universality, inclusion and equality, and the effective semilinearity of the Parikh image (Parikh's theorem). As a further contribution, we give a logical characterization and compare the expressiveness of the scope-bounded restriction with other MVPA classes from the literature. To the best of our knowledge, scoped MVPA languages form the largest class of formal languages accepted by MPA that enjoys all the above nice properties.

22 citations


Book ChapterDOI
05 Jul 2016
TL;DR: A complete deterministic finite automata in which every non-empty subset of the state set occurs as the image of the whole state set under the action of a suitable input word is presented.
Abstract: We present a few results and several open problems concerning complete deterministic finite automata in which every non-empty subset of the state set occurs as the image of the whole state set under the action of a suitable input word.

20 citations


Posted Content
TL;DR: In this article, the authors propose a formalism to model database-driven systems, called database manipulating systems (DMS), where actions of a DMS modify the current instance of a relational database by adding new elements into the database, deleting tuples from the relations and adding tuples to the relations.
Abstract: We propose a formalism to model database-driven systems, called database manipulating systems (DMS). The actions of a DMS modify the current instance of a relational database by adding new elements into the database, deleting tuples from the relations and adding tuples to the relations. The elements which are modified by an action are chosen by (full) first-order queries. DMS is a highly expressive model and can be thought of as a succinct representation of an infinite state relational transition system, in line with similar models proposed in the literature. We propose monadic second order logic (MSO-FO) to reason about sequences of database instances appearing along a run. Unsurprisingly, the linear-time model checking problem of DMS against MSO-FO is undecidable. Towards decidability, we propose under-approximate model checking of DMS, where the under-approximation parameter is the "bound on recency". In a $k$-recency-bounded run, only the most recent $k$ elements in the current active domain may be modified by an action. More runs can be verified by increasing the bound on recency. Our main result shows that recency-bounded model checking of DMS against MSO-FO is decidable, by a reduction to the satisfiability problem of MSO over nested words.

16 citations


Journal ArticleDOI
TL;DR: A number of decidability and complexity properties are shown, such as the ability to test, given a deterministic pushdown automaton (even if augmented by a fixed number of reversal-bounded counters), whether it is commutative.

14 citations


Book ChapterDOI
14 Mar 2016
TL;DR: Dense-time visibly pushdown automata that make both the call-return as well as resets visible are introduced and MSO logic characterization is presented and the decidability of the emptiness problem for these automata is proved, paving way for verification problem for dense-timed pushdown Automata specification.
Abstract: Two of the most celebrated results that effectively exploit visual representation to give logical characterization and decidable model-checking include visibly pushdown automata (VPA) by Alur and Madhusudan and event-clock automata (ECA) by Alur, Fix and Henzinger. VPA and ECA—by making the call-return edges visible and by making the clock-reset operation visible, respectively—recover decidability for the verification problem for pushdown automata implementation against visibly pushdown automata specification and timed automata implementation against event-clock timed automata specification, respectively. In this work we combine and extend these two works to introduce dense-time visibly pushdown automata that make both the call-return as well as resets visible. We present MSO logic characterization of these automata and prove the decidability of the emptiness problem for these automata paving way for verification problem for dense-timed pushdown automata against dense-timed visibly pushdown automata specification.

13 citations


Journal ArticleDOI
TL;DR: It is shown that if there is a bisimulation between two BL-general fuzzy automata, then they have the same behavior andthere is a morphism from the first one to its quotient.
Abstract: In this note, we define bisimulation for BL-general fuzzy automata and show that if there is a bisimulation between two BL-general fuzzy automata, then they have the same behavior.For a given BL-general fuzzy automata, we obtain the greatest bisimulation for the BL-general fuzzy automata. Thereafter, if we use the greatest bisimulation, then we obtain a quotient BL-general fuzzy automata and this quotient is minimal, furthermore there is a morphism from the first one to its quotient.Also, for two given BL-general fuzzy automata we present an algorithm, which determines bisimulation between them.Finally, we present some examples to clarify these new notions.

13 citations


Journal ArticleDOI
TL;DR: It has been proved that if fuzzy deep pushdown automaton Mfd is constructed from fuzzy state grammar Gfs then L(Mfd) = L(Gfs) and that for any string α ∈ � ∗ , μ(α; α ∉ L( Gfs) = μ( α; α∗) where μ denotes the membership of a string.
Abstract: Motivated by the concept of fuzzy finite automata and fuzzy pushdown automata, we investigate a novel fuzzy state grammars and fuzzy deep pushdown automata concept. This concept represents a natural extension of contemporary state grammar and deep pushdown automaton, making them more robust in terms of imprecision, errors, and uncertainty. It has been proved that we can construct fuzzy deep pushdown automata from fuzzy state grammars and vice-versa. Furthermore, it has been proved that if fuzzy deep pushdown automaton Mfd is constructed from fuzzy state grammar Gfs then L(Mfd) = L(Gfs). In other words, for any string α ∈ � ∗ , μ(α; α ∈ L(Gfs)) = μ(α; α ∈ L(Mfd)) where μ denotes the membership of a string.

Proceedings ArticleDOI
15 Jun 2016
TL;DR: The main result shows that recency-bounded model checking of (DMS) against (MSO-FO) is decidable, by a reduction to the satisfiability problem of MSO over nested words.
Abstract: We propose a formalism to model database-driven systems, called database manipulating systems (DMS). The actions of a (DMS) modify the current instance of a relational database by adding new elements into the database, deleting tuples from the relations and adding tuples to the relations. The elements which are modified by an action are chosen by (full) first-order queries. (DMS) is a highly expressive model and can be thought of as a succinct representation of an infinite state relational transition system, in line with similar models proposed in the literature. We propose monadic second order logic (MSO-FO) to reason about sequences of database instances appearing along a run. Unsurprisingly, the linear-time model checking problem of (DMS) against (MSO-FO) is undecidable. Towards decidability, we propose under-approximate model checking of (DMS), where the under-approximation parameter is the "bound on recency". In a k-recency-bounded run, only the most recent k elements in the current active domain may be modified by an action. More runs can be verified by increasing the bound on recency. Our main result shows that recency-bounded model checking of (DMS) against (MSO-FO) is decidable, by a reduction to the satisfiability problem of MSO over nested words.

Proceedings ArticleDOI
23 May 2016
TL;DR: A strategy to represent nodes and edges in a graph using strings is presented, and this transformation is used to develop algorithms for several classic graph problems including finding Hamiltonian paths and cycles, connected components, and breadth-first search.
Abstract: The Automata Processor is a new accelerator technology that supports direct hardware implementation of a set of non-deterministic finite automata over a streaming input, and is designed for complex string pattern matching applications. In this paper, we broaden the scope of this architecture beyond its primary design goal, by developing algorithmic techniques to solve problems on unweighted graphs. We present a strategy to represent nodes and edges in a graph using strings, and use this transformation to develop algorithms for several classic graph problems including finding Hamiltonian paths and cycles, connected components, and breadth-first search. Our algorithms rely on a core set of automata building blocks which we designed for this purpose, and illustrate various design considerations that developers must bear in mind when harnessing this new technology. We expect that this work provides the foundations for solving graph problems using the Automata Processor.

Book ChapterDOI
14 Mar 2016
TL;DR: In the nested word model, the hierarchical matching of open- and close- tags must be properly nested, and this is not the case in program executions in presence of exceptions, which narrows its model checking applications to programs with no exceptions.
Abstract: Nested words allow modeling of linear and hierarchical structure in data, and nested word automata are special kinds of pushdown automata whose push/pop actions are directed by the hierarchical structure in the input nested word. The resulting class of regular languages of nested words has many appealing theoretical properties, and has found many applications, including model checking of procedural programs. In the nested word model, the hierarchical matching of open- and close- tags must be properly nested, and this is not the case, for instance, in program executions in presence of exceptions. This limitation of nested words narrows its model checking applications to programs with no exceptions.

Proceedings ArticleDOI
05 Jul 2016
TL;DR: It is shown that separability with a regular language is undecidable for visibly pushdown languages, just as it is undECidable for general context-free languages.
Abstract: Context-free languages allow one to express data with hierarchical structure, at the cost of losing some of the useful properties of languages recognized by finite automata on words. However, it is possible to restore some of these properties by making the structure of the tree visible, such as is done by visibly pushdown languages, or finite automata on trees. In this paper, we show that the structure given by such approaches remains invisible when it is read by a finite automaton (on word). In particular, we show that separability with a regular language is undecidable for visibly pushdown languages, just as it is undecidable for general context-free languages.

Journal ArticleDOI
TL;DR: This paper demonstrates the containment of the languages accepted by input-driven pushdown automata in the family of linear conjunctive languages, which is established by a direct simulation of an input- driven automaton by a one-way real-time cellular automaton.

Book ChapterDOI
23 Jan 2016
TL;DR: The class of languages accepted by stateless ordered restarting automata is an abstract family of languages that is incomparable to the linear languages, the context-free languages, and the growing context-sensitive languages with respect to inclusion, and that the emptiness problem is decidable for these languages.
Abstract: While stateless deterministic ordered restarting automata accept exactly the regular languages, it is known that nondeterministic ordered restarting automata accept some languages that are not context-free. Here we show that, in fact, the class of languages accepted by these automata is an abstract family of languages that is incomparable to the linear languages, the context-free languages, and the growing context-sensitive languages with respect to inclusion, and that the emptiness problem is decidable for these languages. In addition, it is shown that stateless ordered restarting automata just accept regular languages, and we present an infinite family of regular languages $$C_n$$ such that $$C_n$$ is accepted by a stateless ordered restarting automaton with an alphabet of size On, but each stateless deterministic ordered restarting automaton for $$C_n$$ needs $$2^{On}$$ letters.

Book ChapterDOI
02 Apr 2016
TL;DR: An efficient algorithm to reduce the size of nondeterministic tree automata, while retaining their language is presented, based on new transition pruning techniques, and quotienting of the state space w.r.t. suitable equivalences.
Abstract: We present an efficient algorithm to reduce the size of nondeterministic tree automata, while retaining their language. It is based on new transition pruning techniques, and quotienting of the state space w.r.t. suitable equivalences. It uses criteria based on combinations of downward and upward simulation preorder on trees, and the more general downward and upward language inclusions. Since tree-language inclusion is EXPTIME-complete, we describe methods to compute good approximations in polynomial time. We implemented our algorithm as a module of the well-known libvata tree automata library, and tested its performance on a given collection of tree automata from various applications of libvata in regular model checking and shape analysis, as well as on various classes of randomly generated tree automata. Our algorithm yields substantially smaller and sparser automata than all previously known reduction techniques, and it is still fast enough to handle large instances.

Book ChapterDOI
11 Jul 2016
TL;DR: It is shown that an infinite family of unary regular languages can be recognized by 2-state affine automata, whereas the number of states of any quantum and probabilistic automata cannot be bounded.
Abstract: In this work we study a non-linear generalization based on affine transformations of probabilistic and quantum automata proposed recently by Diaz-Caro and Yakaryilmaz [6] referred as affine automata. First, we present efficient simulations of probabilistic and quantum automata by means of affine automata which allows us to characterize the class of exclusive stochastic languages. Then, we initiate a study on the succintness of affine automata. In particular, we show that an infinite family of unary regular languages can be recognized by 2-state affine automata, whereas the number of states of any quantum and probabilistic automata cannot be bounded. Finally, we present the characterization of all regular unary languages recognized by two-state affine automata.

Journal ArticleDOI
TL;DR: This work investigates the closure properties of regular languages that are definable by deterministic regular expressions under various language-theoretic operations such as union, intersection, concatenation, Kleene star, and reversal and shows that they are not closed.

Journal ArticleDOI
TL;DR: The set of stochastic languages to be uncountable presenting a single 2-state PFA over the binary alphabet recognizing uncountably many languages depending on the cutpoint is shown, which is the only nontrivial class of languages recognized by 1-state automata.
Abstract: Stochastic languages are the languages recognized by probabilistic finite automata (PFAs) with cutpoint over the field of real numbers More general computational models over the same field such as generalized finite automata (GFAs) and quantum finite automata (QFAs) define the same class In 1963, Rabin proved the set of stochastic languages to be uncountable presenting a single 2-state PFA over the binary alphabet recognizing uncountably many languages depending on the cutpoint In this paper, we show the same result for unary stochastic languages Namely, we exhibit a 2-state unary GFA, a 2-state unary QFA, and a family of 3-state unary PFAs recognizing uncountably many languages; all these numbers of states are optimal After this, we completely characterize the class of languages recognized by 1-state GFAs, which is the only nontrivial class of languages recognized by 1-state automata Finally, we consider the variations of PFAs, QFAs, and GFAs based on the notion of inclusive/exclusive cutpoint, and present some results on their expressive power

Journal ArticleDOI
TL;DR: It is proved that the class of deterministic Data Walking Automata is closed under all Boolean operations, and that theclass of non-deterministic Data walking Automata has decidable emptiness, universality, and containment problems.
Abstract: Data words are words with additional edges that connect pairs of positions carrying the same data value. We consider a natural model of automaton walking on data words, called Data Walking Automaton, and study its closure properties, expressiveness, and the complexity of some basic decision problems. Specifically, we show that the class of deterministic Data Walking Automata is closed under all Boolean operations, and that the class of non-deterministic Data Walking Automata has decidable emptiness, universality, and containment problems. We also prove that deterministic Data Walking Automata are strictly less expressive than non-deterministic Data Walking Automata, which in turn are captured by Class Memory Automata.

Posted ContentDOI
TL;DR: It is shown that FDFAs are more succinct than deterministic parity automata (DPAs) in the sense that translating a DPA to an FDFA can always be done with only a polynomial increase, yet the other direction involves an inevitable exponential blowup in the worst case.
Abstract: Families of DFAs (FDFAs) provide an alternative formalism for recognizing $\omega$-regular languages The motivation for introducing them was a desired correlation between the automaton states and right congruence relations, in a manner similar to the Myhill-Nerode theorem for regular languages This correlation is beneficial for learning algorithms, and indeed it was recently shown that $\omega$-regular languages can be learned from membership and equivalence queries, using FDFAs as the acceptors In this paper, we look into the question of how suitable FDFAs are for defining omega-regular languages Specifically, we look into the complexity of performing Boolean operations, such as complementation and intersection, on FDFAs, the complexity of solving decision problems, such as emptiness and language containment, and the succinctness of FDFAs compared to standard deterministic and nondeterministic $\omega$-automata We show that FDFAs enjoy the benefits of deterministic automata with respect to Boolean operations and decision problems Namely, they can all be performed in nondeterministic logarithmic space We provide polynomial translations of deterministic B\"uchi and co-B\"uchi automata to FDFAs and of FDFAs to nondeterministic B\"uchi automata (NBAs) We show that translation of an NBA to an FDFA may involve an exponential blowup Last, we show that FDFAs are more succinct than deterministic parity automata (DPAs) in the sense that translating a DPA to an FDFA can always be done with only a polynomial increase, yet the other direction involves an inevitable exponential blowup in the worst case

Journal ArticleDOI
Sylvain Lombardy1
TL;DR: In rationally additive semirings, it is proved that two-way automata are equivalent to two- way representations, and, for some specific classes of two-Way Automata, rotating and sweeping automata, a characterization of the series that can be realized is given.
Abstract: We study the series realized by weighted two-way automata, that are strictly more powerful than weighted one-way automata. To this end, we consider the Hadamard product and the Hadamard iteration of formal power series. We introduce two-way representations and show that the series they realize are the solutions of fixed-point equations. In rationally additive semirings, we prove that two-way automata are equivalent to two-way representations, and, for some specific classes of two-way automata, rotating and sweeping automata, we give a characterization of the series that can be realized.

Journal ArticleDOI
TL;DR: This paper considers VPA with multiple stacks, namely n-VPA, with n > 1, and shows that n -VPA are strictly more expressive than VPA, and proves that the model checking problem over n -OVPA models against n-OVPA specifications is decidable.

Book ChapterDOI
25 Jul 2016
TL;DR: A weighted MSO-logic is introduced and a Buchi-Elgot-Trakhtenbrot theorem is proved, i.e., the new logic and the new automaton model are expressively equivalent.
Abstract: We introduce weighted symbolic automata with data storage, which combine and generalize the concepts of automata with storage types, weighted automata, and symbolic automata. By defining two particular data storages, we show that this combination is rich enough to capture symbolic visibly pushdown automata and weighted timed automata. We introduce a weighted MSO-logic and prove a Buchi-Elgot-Trakhtenbrot theorem, i.e., the new logic and the new automaton model are expressively equivalent.

Posted ContentDOI
TL;DR: In this paper, the authors propose a technique to analyze timed systems using finite tree automata instead of finite word automata, where the main idea is to consider timed behaviors as graphs with matching edges capturing timing constraints.
Abstract: Timed systems, such as timed automata, are usually analyzed using their operational semantics on timed words. The classical region abstraction for timed automata reduces them to (untimed) finite state automata with the same time-abstract properties, such as state reachability. We propose a new technique to analyze such timed systems using finite tree automata instead of finite word automata. The main idea is to consider timed behaviors as graphs with matching edges capturing timing constraints. When a family of graphs has bounded tree-width, they can be interpreted in trees and MSO-definable properties of such graphs can be checked using tree automata. The technique is quite general and applies to many timed systems. In this paper, as an example, we develop the technique on timed pushdown systems, which have recently received considerable attention. Further, we also demonstrate how we can use it on timed automata and timed multi-stack pushdown systems (with boundedness restrictions).

Journal ArticleDOI
TL;DR: It is shown that deterministic synchronized alternating pushdown Automata and L R ( 0 ) conjunctive grammars have the same recognition/generation power, analogously to the classical equivalence between acceptance by empty stack of deterministic pushdown automata and

Book ChapterDOI
25 Jul 2016
TL;DR: A perfect subclass of timed context-sensitive languages called dense-time multistack visibly pushdown languages is characterized and a logical characterization for this class of timed languages is provided.
Abstract: Perfect languages--a term coined by Esparza, Ganty, and Majumdar--are the classes of languages that are closed under Boolean operations and enjoy decidable emptiness problem. Perfect languages form the basis for decidable automata-theoretic model-checking for the respective class of models. Regular languages and visibly pushdown languages are paradigmatic examples of perfect languages. Alur and Dill initiated the language-theoretic study of timed languages and introduced timed automata capturing a timed analog of regular languages. However, unlike their untimed counterparts, timed regular languages are not perfect. Alur, Fix, and Henzinger later discovered a perfect subclass of timed languages recognized by event-clock automata. Since then, a number of perfect subclasses of timed context-free languages, such as event-clock visibly pushdown languages, have been proposed. There exist examples of perfect languages even beyond context-free languages:--La Torre, Madhusudan, and Parlato characterized first perfect class of context-sensitive languages via multistack visibly pushdown automata with an explicit bound on number of stages where in each stage at most one stack is used. In this paper we extend their work for timed languages by characterizing a perfect subclass of timed context-sensitive languages called dense-time multistack visibly pushdown languages and provide a logical characterization for this class of timed languages.

Posted Content
TL;DR: In this article, the authors consider a subclass of weighted automata with bounded width and show that the complexity of the basic decision problems (i.e., emptiness and universality) for the subclass with k constant matches the complexity for non-weighted automata, when k is part of the input given in unary.
Abstract: While weighted automata provide a natural framework to express quantitative properties, many basic properties like average response time cannot be expressed with weighted automata. Nested weighted automata extend weighted automata and consist of a master automaton and a set of slave automata that are invoked by the master automaton. Nested weighted automata are strictly more expressive than weighted automata (e.g., average response time can be expressed with nested weighted automata), but the basic decision questions have higher complexity (e.g., for deterministic automata, the emptiness question for nested weighted automata is PSPACE-hard, whereas the corresponding complexity for weighted automata is PTIME). We consider a natural subclass of nested weighted automata where at any point at most a bounded number k of slave automata can be active. We focus on automata whose master value function is the limit average. We show that these nested weighted automata with bounded width are strictly more expressive than weighted automata (e.g., average response time with no overlapping requests can be expressed with bound k=1, but not with non-nested weighted automata). We show that the complexity of the basic decision problems (i.e., emptiness and universality) for the subclass with k constant matches the complexity for weighted automata. Moreover, when k is part of the input given in unary we establish PSPACE-completeness.