Given words w1 and w2 over the generators of an fp-semigroup S, create the relation w1 = w2. Note that this relation is not automatically added to the existing set of defining relations R for S. It may be added to R, for example, through use of the quo-constructor (see below).
Given a relation r over the generators of S, return the left hand side of the relation r. The object returned is a word over the generators of S.
Given a relation r over the generators of S, return the right hand side of the relation r. The object returned is a word over the generators of S.
A semigroup with non-trivial relations is constructed as a quotient of an existing semigroup, possibly a free semigroup.
Given a generators clause consisting of a list of variables x1, ..., xr, and a set of relations relations over these generators, first construct the free semigroup F on the generators x1, ..., xr and then construct the quotient of F corresponding to the ideal of F defined by relations.The syntax for the relations clause is the same as for the quo-constructor. The function returns:
Thus, the statement
- (a)
- The quotient semigroup S;
- (b)
- The natural homomorphism φ : F -> S.
S< y1, ..., yr > := Semigroup< x1, ..., xr | w1, ..., ws >;
is an abbreviation for
F< x1, ..., xr > := FreeSemigroup(r);
S< y1, ..., yr > := quo< F | w1, ..., ws >;
Given a generators clause consisting of a list of variables x1, ..., xr, and a set of relations relations over these generators, first construct the free monoid F on the generators x1, ..., xr and then construct the quotient of F corresponding to the ideal of F defined by relations.The syntax for the relations clause is the same as for the quo-constructor. The function returns:
Thus, the statement
- (a)
- The quotient monoid M;
- (b)
- The natural homomorphism φ : F -> M.
M< y1, ..., yr > := Monoid< x1, ..., xr | w1, ..., ws >;
is an abbreviation for
F< x1, ..., xr > := FreeMonoid(r);
M< y1, ..., yr > := quo< F | w1, ..., ws >;
> M<x,y> := Monoid< x, y | x^2, y^2, (x*y)^2 >; > M; Finitely presented monoid Relations: x^2 = Id(M) y^2 = Id(M) (x * y)^2 = Id(M)
The functions in this group provide access to basic information stored for a finitely-presented semigroup G.
The i-th defining generator for S.
A set containing the generators for S.
The number of generators for S.
The parent semigroup S of the word u.
A sequence containing the defining relations for S.