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 of all finite words over an alphabet can be shown to be star-free by taking the complement of the empty set,. Then, the language of words over the alphabet that do not have consecutive a's can be defined as, first constructing the language of words consisting of with an arbitrary prefix and suffix, and then taking its complement, which must be all words which do not contain the substring.
An example of a regular language which is not star-free is,[2] i.e. the language of strings consisting of an even number of "a". For where, the language can be defined as, taking the set of all words and removing from it words starting with, ending in or containing or. However, when, this definition does not create.
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.
| P ≟ NP | Thistheoretical computer science–related article is astub. You can help Wikipedia byadding missing information. |