Theoretical Computer Science (2002) 289(1) 137-163

59Citations

9Readers

Let E be a regular expression. Our aim is to establish a theoretical relation between two well-known automata recognizing the language of E, namely the position automaton ℘E constructed by Glushkov or McNaughton and Yamada, and the equation automaton script E sign E constructed by Mirkin or Antimirov. We define the notion of c-derivative (for canonical derivative) of a regular expression E and show that if E is linear then two Brzozowski's derivatives of E are aci-similar if and only if the corresponding c-derivatives are identical. It allows us to represent the Berry-Sethi's set of continuations of a position by a unique c-derivative, called the c-continuation of the position. Hence the definition of script c signE, the c-continuation automaton of E, whose states are pairs made of a position of E and of the associated c-continuation. If states are viewed as positions, script c signE is isomorphic to ℘E. On the other hand, a partial derivative, as defined by Antimirov, is a class of c-derivatives for some equivalence relation, thus script c signE reduces to script E sign E. Finally script c signE makes it possible to go from ℘E to script E sign E, while this cannot be achieved directly (from the state graphs). These theoretical results lead to an O(|E|2) space and time algorithm to compute the equation automaton, where |E| is the size of the expression. This is the complexity of the most efficient constructions yielding the position automaton, while the size of the equation automaton is not greater and generally much smaller than the size of the position automaton. © 2002 Elsevier Science B.V. All rights reserved.

CITATION STYLE

APA

Champarnaud, J. M., & Ziadi, D. (2002). Canonical derivatives, partial derivatives and finite automaton constructions. *Theoretical Computer Science*, *289*(1), 137–163. https://doi.org/10.1016/S0304-3975(01)00267-5

Mendeley helps you to discover research relevant for your work.

Already have an account? Sign in

Sign up for free