词条 | 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. BackgroundA (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 A ∪ B, and their concatenation A⋅B. Finally, as an operation taking a single operand, the set A* denotes the Kleene star of the language A. Statement of Arden's ruleArden's rule states that the set A*⋅B is the smallest language that is a solution for X in the linear equation X = A⋅X ∪ B 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 B⋅A* is the smallest language that is a solution for X in X = X⋅A ∪ B. ApplicationArden's rule can be used to help convert some finite automatons to regular expressions. See also
Notes1. ^{{cite web|url=http://www.encyclopedia.com/doc/1O11-Ardensrule.html|title=Arden's Rule|last=Daintith|first=John|year=2004|accessdate=10 March 2010| archiveurl= https://web.archive.org/web/20100213122543/http://www.encyclopedia.com/doc/1O11-Ardensrule.html| archivedate= 13 February 2010 | deadurl= no}} 2. ^{{cite web|url=http://www.cs.cmu.edu/~cdm/pdf/KleeneAlg.pdf |title=Algebra of Regular Languages |last=Sutner |first=Klaus |accessdate=15 Feb 2011 |deadurl=yes |archiveurl=https://web.archive.org/web/20110708171054/http://www.cs.cmu.edu/~cdm/pdf/KleeneAlg.pdf |archivedate=2011-07-08 }} References
1 : Formal languages |
随便看 |
|
开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。