Lemma of Arden

from Wikipedia, the free encyclopedia

The lemma of Arden makes a statement about sets of character strings, which in the context of formal languages ​​are the subject of theoretical computer science , more specifically of automaton theory .

formulation

Let it be any alphabet ; stand for the Kleene star , for the positive transitive envelope , for the concatenation of two sets of strings and for their ordinary union (in this priority - brackets are accordingly neglected). Then the following equivalence applies:

or the following equation:

In words: For an arbitrary set of strings and a set of strings that does not contain the empty word , the equation has only one solution .

proof

For the sake of readability, quantization is omitted in both parts of the proof, which is not a problem with universal quantification as long as no specifications are made for the variables in question. Corresponding positions are dealt with specially.

execution

Let there be a solution for in the equation .

Superset

First, the definition of the Kleene star is applied and the distributivity of the concatenation across associations is used:

Now it can be shown by complete induction over that it holds for all :

  • Induction hypothesis

  • Induction start

  • Induction step

Since for different n all are pairwise disjoint, the original superset relationship follows from this .

Subset

Here the proof is indirect: It is thought not apply, making it at least a word with has to give. Because is, must also be an element of , or put another way . In the first case is made up of two sub- words and , so . Since there cannot be the empty word (which demands quantification ), it follows . If one considers the smallest of those assumed as existing , then it would also have to apply, but this contradicts the assumption . In the other case, that is , the contradiction also arises . Since both cases end in contradictions, it must have been wrong to assume that it does not hold.

Reverse direction

This line of proof is trivial, since it suffices to show that the equation solves at all:

application

The central meaning of the Arden lemma is its application in automaton theory. It makes it easier to determine the technical description of the language accepted by a non-deterministic finite automaton (NEA) :

A NEA is considered , the states of which are to be designated with the natural numbers from to (i.e. ). In addition, the following definitions are used:

With the help of these sets the sublanguage of each state can be specified:

The definition of gives a system of equations with equations:

Now one brings a partial language into a suitable form, which enables the application of the lemma:

According to Arden's lemma, this statement is equivalent to the following:

This solution is clear. If you now insert into all other equations, you get an equation system with one less variable and in this way you can simplify further and further down to the trivial case in which only one equation is left, which is independent of all other sub-languages can solve. By inserting it backwards, you then also get the other sub-languages ​​in order to finally determine the unambiguous solution of the entire system of equations and to identify the language accepted by the automaton .

Algebraic consideration

From the perspective of abstract algebra , the structure of a dioid represents what means that both and form a monoid and is distributive over . The neutral element regarding the union is the empty set and the neutral element regarding the concatenation is . Due to the lack of invertibility, it is generally not possible to solve equations using this structure. The lemma of Arden makes it possible at least to determine the solutions of some special equations and that even clearly.

Examples

Simple examples

Complex example

NFAexample.svg


This gives the following system of equations:


By applying the lemma one gets the solution step by step:






Since the starting state is , whatever corresponds to the language assigned to the regular expression applies .

literature

  • DN Arden: Theory of Computing Machine Design: An Intensive Course for Engineers, Scientists, and Mathematicians , University of Michigan Press, Michigan, USA, 1960 (pp. 1–35)
  • John E. Hopcroft: Introduction to Automata Theory, Languages, and Computation , Addison-Wesley, 1979. ISBN 0-201-02988-X
  • Marko Van Eekelen, Herman Geuvers, Julien Schmaltz, Freek Wiedijk: Interactive Theorem Proving , Springer Science & Business Media, 2011
  • Harold V. McIntosh: One Dimensional Cellular Automata , Luniver Press, 2009 (p. 87)
  • A. Arnold, D. Niwinski: Rudiments of µ-calculus , Elsevier, 2001 (from p. 107)

Web links

  • John Daintith: Ardens rule , Oxford University Press, 2004 (English)