Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Star-free language

From Wikipedia, the free encyclopedia
Classification of formal languages

Intheoretical computer science andformal language theory, aregular language is said to bestar-free if it can be described by aregular expression constructed from the letters of thealphabet, theempty word, theempty set symbol, allboolean operators – includingcomplementation – andconcatenation but noKleene star.[1] The condition is equivalent to havinggeneralized star height zero.

For instance, the languageΣ{\displaystyle \Sigma ^{*}} of all finite words over an alphabetΣ{\displaystyle \Sigma } can be shown to be star-free by taking the complement of the empty set,Σ=¯{\displaystyle \Sigma ^{*}={\bar {\emptyset }}}. Then, the language of words over the alphabet{a,b}{\displaystyle \{a,\,b\}} that do not have consecutive a's can be defined asΣaaΣ¯{\displaystyle {\overline {\Sigma ^{*}aa\Sigma ^{*}}}}, first constructing the language of words consisting ofaa{\displaystyle aa} with an arbitrary prefix and suffix, and then taking its complement, which must be all words which do not contain the substringaa{\displaystyle aa}.

An example of a regular language which is not star-free is(aa){\displaystyle (aa)^{*}},[2] i.e. the language of strings consisting of an even number of "a". For(ab){\displaystyle (ab)^{*}} whereab{\displaystyle a\neq b}, the language can be defined asΣ(bΣΣaΣaaΣΣbbΣ){\displaystyle \Sigma ^{*}\setminus (b\Sigma ^{*}\cup \Sigma ^{*}a\cup \Sigma ^{*}aa\Sigma ^{*}\cup \Sigma ^{*}bb\Sigma ^{*})}, taking the set of all words and removing from it words starting withb{\displaystyle b}, ending ina{\displaystyle a} or containingaa{\displaystyle aa} orbb{\displaystyle bb}. However, whena=b{\displaystyle a=b}, this definition does not create(aa){\displaystyle (aa)^{*}}.

Marcel-Paul Schützenberger characterized star-free languages as those withaperiodicsyntactic monoids.[3][4] They can also be characterized logically as languages definable in FO[<], thefirst-order logic over the natural numbers with the less-than relation,[5] as languages accepted by someaperiodic finite-state automaton (known as counter-free languages),[6] and as languages definable inlinear temporal logic.[7]

All star-free languages are in uniformAC0.

See also

[edit]

Notes

[edit]
  1. ^Lawson (2004) p.235
  2. ^Arto Salomaa (1981).Jewels of Formal Language Theory. Computer Science Press. p. 53.ISBN 978-0-914894-69-8.
  3. ^Marcel-Paul Schützenberger (1965)."On finite monoids having only trivial subgroups"(PDF).Information and Computation.8 (2):190–194.doi:10.1016/s0019-9958(65)90108-7.
  4. ^Lawson (2004) p.262
  5. ^Straubing, Howard (1994).Finite automata, formal logic, and circuit complexity. Progress in Theoretical Computer Science. Basel: Birkhäuser. p. 79.ISBN 3-7643-3719-2.Zbl 0816.68086.
  6. ^McNaughton, Robert;Papert, Seymour (1971).Counter-free Automata. Research Monograph. Vol. 65. With an appendix by William Henneman. MIT Press.ISBN 0-262-13076-9.Zbl 0232.94024.
  7. ^Kamp, Johan Antony Willem (1968).Tense Logic and the Theory of Linear Order. University of California at Los Angeles (UCLA).

References

[edit]
Each category of languages, except those marked by a*, is aproper subset of the category directly above it.Any language in each category is generated by a grammar and by an automaton in the category in the same line.


P ≟ NP 

Thistheoretical computer science–related article is astub. You can help Wikipedia byadding missing information.

Retrieved from "https://en.wikipedia.org/w/index.php?title=Star-free_language&oldid=1279573524"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2026 Movatter.jp