For the alphabet A the set of all words A* is a free monoid with a generating set A and catenation of words as operation.
Let L be a subset of A* and
.
We define context of x
with respect to L to be
.
Definition The syntactic congruence of L is the
relation:
The syntactic monoid Syn(L) of L is the monoid
.
For
,
the element of Syn(L) with representative x will be
written as [x]. The operation in Syn(L) is defined with
.
Note 1.3.5 It is well known fact (see for ex. [11], or [15]) that L is a regular language iff Syn(L) is finite. So, the factor language of every sofic system has a finite syntactic monoid.