Jump to content

Rational set

From Wikipedia, the free encyclopedia

Incomputer science,more precisely inautomata theory,arational setof amonoidis an element of the minimal class of subsets of this monoid that contains all finite subsets and is closed underunion,product andKleene star.Rational sets are useful inautomata theory,formal languagesandalgebra.

A rational set generalizes the notion ofrational (or regular) language(understood as defined byregular expressions) to monoids that are not necessarilyfree.[example needed]

Definition

[edit]

Letbe amonoidwith identity element.The setof rational subsets ofis the smallest set that contains every finite set and is closed under

  • union:ifthen
  • product: ifthen
  • Kleene star:ifthenwhereis the singleton containing the identity element, and where.

This means that any rational subset ofcan be obtained by taking a finite number of finite subsets ofand 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

[edit]

Letbe analphabet,the setofwordsoveris a monoid. The rational subset ofare precisely theregular languages.Indeed, the regular languages may be defined by a finiteregular expression.

The rational subsets ofare the ultimately periodic sets of integers. More generally, the rational subsets ofare thesemilinear sets.[1]

Properties

[edit]

McKnight's theoremstates that ifisfinitely generatedthen itsrecognizable subsetare rational sets. This is not true in general, since the wholeis always recognizable but it is not rational ifis infinitely generated.

Rational sets are closed under homomorphism: givenandtwo monoids anda monoid homomorphism, ifthen.

is not closed undercomplementas the following example shows.[2] Let,the sets andare rational butis not because its projection to the second elementis not rational.

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

Forfinite groupsthe following result of A. Anissimov and A. W. Seifert is well known: asubgroupHof afinitely generated groupGis recognizable if and only ifHhasfinite indexinG.In contrast,His rational if and only ifHis finitely generated.[3]

Rational relations and rational functions

[edit]

Abinary relationbetween monoidsMandNis arational relationif the graph of the relation, regarded as a subset ofM×Nis a rational set in the product monoid. A function fromMtoNis arational functionif the graph of the function is a rational set.[4]

See also

[edit]

References

[edit]
  • Diekert, Volker; Kufleitner, Manfred; Rosenberg, Gerhard; Hertrampf, Ulrich (2016). "Chapter 7: Automata".Discrete Algebraic Methods.Berlin/Boston: Walter de Gruyther GmbH.ISBN978-3-11-041332-8.
  • Jean-Éric Pin,Mathematical Foundations of Automata Theory,Chapter IV: Recognisable and rational sets
  • Samuel EilenbergandMarcel-Paul Schützenberger,Rational Sets in Commutative Monoids,Journal of Algebra,1969.
  1. ^Mathematical Foundations of Automata Theory
  2. ^cf. Jean-Éric Pin,Mathematical Foundations of Automata Theory,p. 76, Example 1.3
  3. ^John Meakin (2007). "Groups and semigroups: connections and contrasts". In C.M. Campbell; M.R. Quick; E.F. Robertson; G.C. Smith (eds.).Groups St Andrews 2005 Volume 2.Cambridge University Press. p. 376.ISBN978-0-521-69470-4.preprint
  4. ^Hoffmann, Michael; Kuske, Dietrich; Otto, Friedrich; Thomas, Richard M. (2002). "Some relatives of automatic and hyperbolic groups". In Gomes, Gracinda M. S. (ed.).Semigroups, algorithms, automata and languages. Proceedings of workshops held at the International Centre of Mathematics, CIM, Coimbra, Portugal, May, June and July 2001.Singapore: World Scientific. pp. 379–406.Zbl1031.20047.

Further reading

[edit]
  • Sakarovitch, Jacques (2009).Elements of automata theory.Translated from the French by Reuben Thomas. Cambridge: Cambridge University Press. Part II: The power of algebra.ISBN978-0-521-84425-3.Zbl1188.68177.