Kalpana Kalpana (Editor)

Rational set

Updated on
Edit
Like
Comment
Share on FacebookTweet on TwitterShare on LinkedInShare on Reddit

In computer science, more precisely in automata theory, a rational set of a monoid is an element of the minimal class of subsets of this monoid which contains all finite subsets and is closed under union, product and Kleene star. Rational sets are useful in automata theory, formal languages and algebra.

Contents

A rational set generalizes the notion of rational (regular) language (understood as defined by regular expressions) to monoids that are not necessarily free.

Definition

Let ( N , ) be a monoid with identity element e . The set R A T ( N ) of rational subsets of N is the smallest set that contains every finite set and is closed under

  • union: if A , B R A T ( N ) then A B R A T ( N )
  • product: if A , B R A T ( N ) then A × B = { a × b a A , b B } R A T ( N )
  • Kleene star if A R A T ( N ) then A = i = 0 A i R A T ( N ) where A 0 = { e } is the singleton containing the identity element, and where A n + 1 = A n × A .
  • This means that any rational subset of N can be obtained by taking a finite number of finite subsets of N and applying the union, product and Kleene star operations a finite number of times.

    In general a rational subset of a monoid is not a submonoid.

    Example

    Let A be an alphabet, the set A of words over A is a monoid. The rational subset of A are precisely the regular languages. Indeed the regular languages may be defined by a finite regular expression.

    The rational subsets of N are the ultimately periodic sets of integers. More generally, the rational subsets of N k are the semilinear sets.

    Properties

    McKnight's theorem states that if N is finitely generated then its recognizable subset are rational sets. This is not true in general, i.e. R A T ( N ) is not closed under complement. Let N = { a } × { b , c } , the sets U = { ( a n , b n c m ) n , m N } and V = { ( a n , b m c n ) n , m N } are recognizable but W = U V = { ( a n , b n c n ) n N } is not because its projection to the second element { b n m n n N } is not rational.

    The intersection of a rational subset and of a recognizable subset is rational.

    Rational sets are closed under morphism: given N and M two monoids and ϕ : N M a morphism, if S R A T ( N ) then ϕ ( S ) = { ϕ ( x ) x S } R A T ( M ) .

    For finite groups the following result of Anissimov and Seifert is well known: a subgroup H of a finitely generated group G is recognizable if and only if H has finite index in G. In contrast, H is rational if and only if H is finitely generated.

    Rational relations and rational functions

    A binary relation between monoids M and N is a rational relation if the graph of the relation, regarded as a subset of M×N is a rational set in the product monoid. A function from M to N is a rational function if the graph of the function is a rational set.

    References

    Rational set Wikipedia