A semigroup S is called a union of groups if each of its elements lies in a (maximal) subgroup of S. It is well known that in a union of groups Green’s relation 3 (defined by a/‘b if and only if SaS=%S) is a congruence whose classes are completely simple subsemigroups of S and such that S/g is a semilattice (i.e. satisfies x1=x, xu=yx) [I]. In this paper we present a construction of all unions of groups S having the following properties: (1) S is the syntactic semigroup of a language of the form C+ = Un,O Cn, where C is a finite prefix code; (2) S/f is the two-element semilattice. Using the terminology of Clifford and Preston the semigroups studied here are ideal extensions of a completely simple semigroup by another, or unions of groups of height two. All the completely simple semigroups satisfying condition (1) above have been obtained in [6], using the concept of team tournament, All unions of groups S satisfying (1) and having a non-trivial group of units are constructible using certain factorizations of B,, the group of integers modulo n [4]. The two construction techniques are combined here to give all the unions of groups satisfying (1) and (2) as transition semigroups of what we call a ‘standard amalgamation’ of the automata of two team tournaments (Theorem 3.2). It is likely that the process given here generalizes to a construction of all unions of groups satisfying (1) provided some convenient representation of the two 2-classes case is found. We conjecture that all these semigroups are chains of length n of completely simple semigroups, and that they are in general of group complexity n, in the sense of J. Rhodes [3] (cf. also Tilson’s Chapter 12 in [2]). The complexity conjecture, at least in the case n = 2, can be verified on examples using the results of [ll]. Directly related to these considerations is the problem of describing the variety I of all languages whose syntactic semigroups are unions of groups (see [2], [lo]). In view of the recent results of J.E. Pin [9], the following question arises naturally: Is
Read full abstract