Rational set

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 that contains all finite subsets and is closed under union, product and Kleene star. Rational sets are useful in automata theory, formal languages and algebra.

A rational set generalizes the notion of rational (or regular) language (understood as defined by regular expressions) to monoids that are not necessarily free.{{such as?|date=June 2021}}

Definition

Let (N,\cdot) be a monoid with identity element e. The set \mathrm{RAT}(N) of rational subsets of N is the smallest set that contains every finite set and is closed under

  • union: if A,B\in \mathrm{RAT}(N) then A\cup B\in \mathrm{RAT}(N)
  • product: if A,B\in \mathrm{RAT}(N) then A\cdot B=\{a\cdot b\mid a\in A,b\in B\}\in\mathrm{RAT}(N)
  • Kleene star: if A\in \mathrm{RAT}(N) then A^*=\bigcup_{i=0}^\infty A^i \in\mathrm{RAT}(N) where A^0=\{e\} is the singleton containing the identity element, and where A^{n+1}=A^n \cdot 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 \mathbb N are the ultimately periodic sets of integers. More generally, the rational subsets of \mathbb N^k are the semilinear sets.[http://www.liafa.jussieu.fr/~jep/MPRI/MPRI.html Mathematical Foundations of Automata Theory]

Properties

McKnight's theorem states that if N is finitely generated then its recognizable subset are rational sets.

This is not true in general, since the whole N is always recognizable but it is not rational if N is infinitely generated.

Rational sets are closed under homomorphism: given N and M two monoids and \phi:N\rightarrow M a monoid homomorphism, if S\in\mathrm{RAT}(N) then \phi(S)=\{\phi(x)\mid x\in S\}\in\mathrm{RAT}(M) .

\mathrm{RAT}(N) is not closed under complement as the following example shows.cf. Jean-Éric Pin, [http://www.liafa.jussieu.fr/~jep/PDF/MPRI/MPRI.pdf Mathematical Foundations of Automata Theory], p. 76, Example 1.3

Let N=\{a\}^*\times\{b,c\}^*, the sets

R=(a,b)^*(1,c)^* = \{(a^n,b^nc^m)\mid n,m\in\mathbb N\} and S=(1,b)^*(a,c)^*=\{(a^n,b^mc^n)\mid n,m\in\mathbb N\} are rational but R\cap S=\{(a^n,b^nc^n)\mid n\in\mathbb N\} is not because its projection to the second element \{b^nc^n\mid n\in\mathbb N\} is not rational.

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

For finite groups the following result of A. Anissimov and A. W. 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.{{cite book|editor1=C.M. Campbell |editor2=M.R. Quick |editor3=E.F. Robertson |editor4=G.C. Smith|title=Groups St Andrews 2005 Volume 2|year=2007|publisher=Cambridge University Press|isbn=978-0-521-69470-4|page=376|chapter=Groups and semigroups: connections and contrasts |author=John Meakin}} [http://www.math.unl.edu/~jmeakin2/groups%20and%20semigroups.pdf preprint]

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.{{cite book | last1=Hoffmann | first1=Michael | last2=Kuske | first2=Dietrich | last3=Otto | first3=Friedrich | last4=Thomas | first4=Richard M. | chapter=Some relatives of automatic and hyperbolic groups | zbl=1031.20047 | editor1-last=Gomes | editor1-first=Gracinda M. S. | title=Semigroups, algorithms, automata and languages. Proceedings of workshops held at the International Centre of Mathematics, CIM, Coimbra, Portugal, May, June and July 2001 | location=Singapore | publisher= World Scientific | pages= 379–406 | year=2002 }}

See also

References

  • {{cite book |last1=Diekert |first1=Volker |last2=Kufleitner |first2=Manfred |last3=Rosenberg |first3=Gerhard |last4=Hertrampf |first4=Ulrich |title=Discrete Algebraic Methods |date=2016 |publisher=Walter de Gruyther GmbH |location=Berlin/Boston |isbn=978-3-11-041332-8 | chapter = Chapter 7: Automata}}

{{reflist}}

Further reading

  • {{cite book | last=Sakarovitch | first=Jacques | title=Elements of automata theory | others=Translated from the French by Reuben Thomas | location=Cambridge | publisher=Cambridge University Press | year=2009 | isbn=978-0-521-84425-3 | zbl=1188.68177 | at = Part II: The power of algebra }}

Category:Automata (computation)