Arden's rule

In theoretical computer science, Arden's rule, also known as Arden's lemma, is a mathematical statement about a certain form of language equations.

Background

A (formal) language is simply a set of strings. Such sets can be specified by means of some language equation, which in turn is based on operations on languages. Language equations are mathematical statements that resemble numerical equations, but the variables assume values of formal languages rather than numbers. Among the most common operations on two languages A and B are the set union AB, and their concatenation AB. Finally, as an operation taking a single operand, the set A* denotes the Kleene star of the language A.

Statement of Arden's rule

Arden's rule states that the set A*B is the smallest language that is a solution for X in the linear equation X = AXB where X, A, B are sets of strings. Moreover, if the set A does not contain the empty word, then this solution is unique. [1][2]

Equivalently, the set BA* is the smallest language that is a solution for X in X = XAB.

Application

Arden's rule can be used to help convert some finite automatons to regular expressions, as in Kleene's algorithm.

gollark: And draw to the GPU instead of term.
gollark: You could steal CC's code and bodge it somehow to emulate a cursor and such.
gollark: https://cdn.discordapp.com/attachments/198142140805677065/752179089086873630/heavos.png
gollark: Please implement the HeavOS concept art: https://cdn.discordapp.com/attachments/348702212110680064/752192023343267860/unknown.png
gollark: `a and b and c` would do logical AND on them.

See also

Notes

  1. Daintith, John (2004). "Arden's Rule". Archived from the original on 13 February 2010. Retrieved 10 March 2010.
  2. Sutner, Klaus. "Algebra of Regular Languages" (PDF). Archived from the original (PDF) on 2011-07-08. Retrieved 15 Feb 2011.

References

  • Arden, D. N. (1960). Delayed logic and finite state machines, Theory of Computing Machine Design, pp. 1-35, University of Michigan Press, Ann Arbor, Michigan, USA.
  • Dean N. Arden (Oct 1961). "Delayed Logic and Finite State Machines". Proc. 2nd Ann. Symp. on Switching Circuit Theory and Logical Design (SWCT), Detroit/MI. (open-access abstract)
  • John E. Hopcroft and Jeffrey D. Ullman, Introduction to Automata Theory, Languages, and Computation, Addison-Wesley Publishing, Reading Massachusetts, 1979. ISBN 0-201-02988-X. Chapter 2: Finite Automata and Regular Expressions, p.54.
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.