my-server
← Wiki

Omega-regular language

In computer science and formal language theory, the ω-regular languages are a class of ω-languages that generalize the definition of regular languages to infinite words. As regular languages accept finite strings (such as strings beginning in an a, or strings alternating between a and b), ω-regular languages accept infinite words (such as, infinite sequences beginning in an a, or infinite sequences alternating between a and b).

Formal definition

Let A be a language. Denote by A<sup>ω</sup> the set whose elements are obtained by concatenating words from A infinitely many times, i.e the set of functions .

The class of ω-regular ω-languages is defined inductively as follows

  • A<sup>ω</sup>, where A is a regular language not containing the empty string, is ω-regular;
  • AB, the concatenation of a regular language A and an ω-regular language B (Note that BA is not well-defined), is ω-regular;
  • A ∪ B, where A and B are ω-regular languages (this rule can only be applied finitely many times), is ω-regular.

Note that if A is regular, A<sup>ω</sup> is not necessarily ω-regular, since A could be for example {ε}, the set containing only the empty string, in which case A<sup>ω</sup>=A, which is not an ω-language and therefore not an ω-regular language.

It is a straightforward consequence of the definition that the ω-regular languages are precisely the ω-languages of the form A<sub>1</sub>B<sub>1</sub><sup>ω</sup> ∪ ... ∪ A<sub>n</sub>B<sub>n</sub><sup>ω</sup> for some n, where the A<sub>i</sub>s and B<sub>i</sub>s are regular languages and the B<sub>i</sub>s do not contain the empty string.

Equivalence to Büchi automaton

Conversely, for a given Büchi automaton , we construct an ω-regular language and then we will show that this language is recognized by A. For an ω-word w = a<sub>1</sub>a<sub>2</sub>... let w(i,j) be the finite segment a<sub>i+1</sub>...a<sub>j&minus;1</sub>a<sub>j</sub> of w. For every , we define a regular language L<sub>q,q'</sub> that is accepted by the finite automaton .

Equivalence to Monadic second-order logic

Büchi showed in 1962 that ω-regular languages are precisely the ones definable in a particular monadic second-order logic called S1S.

Further reading

  • Wolfgang Thomas, "Automata on infinite objects." In Jan van Leeuwen, editor, Handbook of Theoretical Computer Science, volume B: Formal Models and Semantics, pages 133-192. Elsevier Science Publishers, Amsterdam, 1990.