In
computer science
Computer science is the study of computation, automation, and information. Computer science spans theoretical disciplines (such as algorithms, theory of computation, information theory, and automation) to practical disciplines (includin ...
, more precisely in
automata theory
Automata theory is the study of abstract machines and automata, as well as the computational problems that can be solved using them. It is a theory in theoretical computer science. The word ''automata'' comes from the Greek word αὐτόματο� ...
, a recognizable set of a
monoid
In abstract algebra, a branch of mathematics, a monoid is a set equipped with an associative binary operation and an identity element. For example, the nonnegative integers with addition form a monoid, the identity element being 0.
Monoids ...
is a subset that can be distinguished by some morphism to a finite monoid. Recognizable sets are useful in automata theory,
formal language
In logic, mathematics, computer science, and linguistics, a formal language consists of words whose letters are taken from an alphabet and are well-formed according to a specific set of rules.
The alphabet of a formal language consists of s ...
s and
algebra
Algebra () is one of the areas of mathematics, broad areas of mathematics. Roughly speaking, algebra is the study of mathematical symbols and the rules for manipulating these symbols in formulas; it is a unifying thread of almost all of mathem ...
.
This notion is different from the notion of
recognizable language. Indeed, the term "recognizable" has a different meaning in
computability theory
Computability theory, also known as recursion theory, is a branch of mathematical logic, computer science, and the theory of computation that originated in the 1930s with the study of computable functions and Turing degrees. The field has since ...
.
Definition
Let
be a
monoid
In abstract algebra, a branch of mathematics, a monoid is a set equipped with an associative binary operation and an identity element. For example, the nonnegative integers with addition form a monoid, the identity element being 0.
Monoids ...
, a subset
is recognized by a monoid
if there exists a morphism
from
to
such that
, and recognizable if it is recognized by some finite monoid. This means that there exists a subset
of
(not necessarily a submonoid of
) such that the image of
is in
and the image of
is in
.
Example
Let
be an
alphabet
An alphabet is a standardized set of basic written graphemes (called letters) that represent the phonemes of certain spoken languages. Not all writing systems represent language in this way; in a syllabary, each character represents a s ...
: the set
of words over
is a monoid, the
free monoid In abstract algebra, the free monoid on a set is the monoid whose elements are all the finite sequences (or strings) of zero or more elements from that set, with string concatenation as the monoid operation and with the unique sequence of zero elem ...
on
. The recognizable subsets of
are precisely the
regular language
In theoretical computer science and formal language theory, a regular language (also called a rational language) is a formal language that can be defined by a regular expression, in the strict sense in theoretical computer science (as opposed to ...
s. Indeed, such a language is recognized by the
transition monoid In mathematics and theoretical computer science, a semiautomaton is a deterministic finite automaton having inputs but no output. It consists of a set ''Q'' of states, a set Σ called the input alphabet, and a function ''T'': ''Q'' × Σ → ''Q' ...
of any automaton that recognizes the language.
The recognizable subsets of
are the ultimately periodic sets of integers.
Properties
A subset of
is recognizable if and only if its
syntactic monoid In mathematics and computer science, the syntactic monoid M(L) of a formal language L is the smallest monoid that recognizes the language L.
Syntactic quotient
The free monoid on a given set is the monoid whose elements are all the strings of ...
is finite.
The set
of recognizable subsets of
is closed under:
*
union
Union commonly refers to:
* Trade union, an organization of workers
* Union (set theory), in mathematics, a fundamental operation on sets
Union may also refer to:
Arts and entertainment
Music
* Union (band), an American rock group
** ''Un ...
*
intersection
In mathematics, the intersection of two or more objects is another object consisting of everything that is contained in all of the objects simultaneously. For example, in Euclidean geometry, when two lines in a plane are not parallel, thei ...
*
complement
A complement is something that completes something else.
Complement may refer specifically to:
The arts
* Complement (music), an interval that, when added to another, spans an octave
** Aggregate complementation, the separation of pitch-clas ...
*
right
Rights are legal, social, or ethical principles of freedom or entitlement; that is, rights are the fundamental normative rules about what is allowed of people or owed to people according to some legal system, social convention, or ethical th ...
and
left quotient
Mezei's theorem states that if
is the product of the monoids
, then a subset of
is recognizable if and only if it is a finite union of subsets of the form
, where each
is a recognizable subset of
. For instance, the subset
of
is rational and hence recognizable, since
is a free monoid. It follows that the subset
of
is recognizable.
McKnight's theorem states that if
is finitely generated then its recognizable subsets are
rational subsets.
This is not true in general, since the whole
is always recognizable but it is not rational if
is infinitely generated.
Conversely, a
rational subset may not be recognizable, even if
is finitely generated.
In fact, even a finite subset of
is not necessarily recognizable. For instance, the set
is not a recognizable subset of
. Indeed, if a morphism
from
to
satisfies
, then
is an
injective function
In mathematics, an injective function (also known as injection, or one-to-one function) is a function that maps distinct elements of its domain to distinct elements; that is, implies . (Equivalently, implies in the equivalent contraposi ...
, hence
is infinite.
Also, in general,
is not closed under
Kleene star
In mathematical logic and computer science, the Kleene star (or Kleene operator or Kleene closure) is a unary operation, either on sets of strings or on sets of symbols or characters. In mathematics,
it is more commonly known as the free monoid ...
. For instance, the set
is a recognizable subset of
, but
is not recognizable. Indeed, its
syntactic monoid In mathematics and computer science, the syntactic monoid M(L) of a formal language L is the smallest monoid that recognizes the language L.
Syntactic quotient
The free monoid on a given set is the monoid whose elements are all the strings of ...
is infinite.
The intersection of a rational subset and of a recognizable subset is rational.
Recognizable sets are closed under inverse of morphisms. I.e. if
and
are monoids and
is a morphism then if
then
.
For finite groups the following result of Anissimov and Seifert is well known: a
subgroup
In group theory, a branch of mathematics, given a group ''G'' under a binary operation ∗, a subset ''H'' of ''G'' is called a subgroup of ''G'' if ''H'' also forms a group under the operation ∗. More precisely, ''H'' is a subgrou ...
''H'' of a
finitely generated group
In algebra, a finitely generated group is a group ''G'' that has some finite generating set ''S'' so that every element of ''G'' can be written as the combination (under the group operation) of finitely many elements of ''S'' and of inverses ...
''G'' is recognizable if and only if ''H'' has
finite index In mathematics, specifically group theory, the index of a subgroup ''H'' in a group ''G'' is the
number of left cosets of ''H'' in ''G'', or equivalently, the number of right cosets of ''H'' in ''G''.
The index is denoted , G:H, or :H/math> or ...
in ''G''. In contrast, ''H'' is rational if and only if ''H'' is finitely generated.
[preprint]
/ref>
See also
* Rational set
* Rational monoid In mathematics, a rational monoid is a monoid, an algebraic structure, for which each element can be represented in a "normal form" that can be computed by a finite transducer: multiplication in such a monoid is "easy", in the sense that it can be ...
References
*
*Jean-Eric Pin
Mathematical Foundations of Automata Theory
Chapter IV: Recognisable and rational sets
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
Automata (computation)