# Green's relations

In mathematics, **Green's relations** are five equivalence relations that characterise the elements of a semigroup in terms of the principal ideals they generate. The relations are named for James Alexander Green, who introduced them in a paper of 1951. John Mackintosh Howie, a prominent semigroup theorist, described this work as "so all-pervading that, on encountering a new semigroup, almost the first question one asks is 'What are the Green relations like?'" (Howie 2002). The relations are useful for understanding the nature of divisibility in a semigroup; they are also valid for groups, but in this case tell us nothing useful, because groups always have divisibility.

Instead of working directly with a semigroup *S*, it is convenient to define Green's relations over the monoid *S*^{1}. (*S*^{1} is "*S* with an identity adjoined if necessary"; if *S* is not already a monoid, a new element is adjoined and defined to be an identity.) This ensures that principal ideals generated by some semigroup element do indeed contain that element. For an element *a* of *S*, the relevant ideals are:

For elements *a* and *b* of *S*, Green's relations *L*, *R* and *J* are defined by

That is, *a* and *b* are *L*-related if they generate the same left ideal; *R*-related if they generate the same right ideal; and *J*-related if they generate the same two-sided ideal. These are equivalence relations on *S*, so each of them yields a partition of *S* into equivalence classes. The *L*-class of *a* is denoted *L*_{a} (and similarly for the other relations). The *L*-classes and *R*-classes can be equivalently understood as the strongly connected components of the left and right Cayley graphs of *S*^{1}.^{[1]} Further, the *L*, *R*, and *J* relations define three preorders ≤_{L}, ≤_{R}, and ≤_{J}, where *a* ≤_{J} *b* holds for two elements *a* and *b* of *S* if the *J*-class of *a* is included in that of *b*, i.e., *S*^{1} *a* *S*^{1} ⊆ *S*^{1} *b* *S*^{1}, and ≤_{L} and ≤_{R} are defined analogously.^{[2]}

The *L* and *R* relations are left-right dual to one another; theorems concerning one can be translated into similar statements about the other. For example, *L* is *right-compatible*: if *a* *L* *b* and *c* is another element of *S*, then *ac* *L* *bc*. Dually, *R* is *left-compatible*: if *a* *R* *b*, then *ca* *R* *cb*.

The remaining relations are derived from *L* and *R*. Their intersection is *H*:

This is also an equivalence relation on *S*. The class *H*_{a} is the intersection of *L*_{a} and *R*_{a}. More generally, the intersection of any *L*-class with any *R*-class is either an *H*-class or the empty set.

Finally, *D* is defined: *a* *D* *b* if and only if there exists a *c* in *S* such that *a* *L* *c* and *c* *R* *b*. In the language of lattices, *D* is the join of *L* and *R*. (The join for equivalence relations is normally more difficult to define, but is simplified in this case by the fact that *a* *L* *c* and *c* *R* *b* for some *c* if and only if *a* *R* *d* and *d* *L* *b* for some *d*.)

As *D* is the smallest equivalence relation containing both *L* and *R*, we know that *a* *D* *b* implies *a* *J* *b*—so *J* contains *D*. In a finite semigroup, *D* and *J* are the same,^{[4]} as also in a rational monoid.^{[5]}^{[clarification needed]} Furthermore they also coincide in any epigroup.^{[6]}

There is also a formulation of *D* in terms of equivalence classes, derived directly from the above definition:^{[7]}

Consequently, the *D*-classes of a semigroup can be seen as unions of *L*-classes, as unions of *R*-classes, or as unions of *H*-classes. Clifford and Preston (1961) suggest thinking of this situation in terms of an "egg-box":^{[8]}

Each row of eggs represents an *R*-class, and each column an *L*-class; the eggs themselves are the *H*-classes. For a group, there is only one egg, because all five of Green's relations coincide, and make all group elements equivalent. The opposite case, found for example in the bicyclic semigroup, is where each element is in an *H*-class of its own. The egg-box for this semigroup would contain infinitely many eggs, but all eggs are in the same box because there is only one *D*-class. (A semigroup for which all elements are *D*-related is called *bisimple*.)

It can be shown that within a *D*-class, all *H*-classes are the same size. For example, the transformation semigroup *T*_{4} contains four *D*-classes, within which the *H*-classes have 1, 2, 6, and 24 elements respectively.

Recent advances in the combinatorics of semigroups have used Green's relations to help enumerate semigroups with certain properties. A typical result (Satoh, Yama, and Tokizawa 1994) shows that there are exactly 1,843,120,128 non-equivalent semigroups of order 8, including 221,805 that are commutative; their work is based on a systematic exploration of possible *D*-classes. (By contrast, there are only five groups of order 8.)

The egg-box diagram for *T*_{3} has three *D*-classes. They are also *J*-classes, because these relations coincide for a finite semigroup.

In *T*_{3}, two functions are *L*-related if and only if they have the same image. Such functions appear in the same column of the table above. Likewise, the functions *f* and *g* are *R*-related if and only if

The elements in bold are the idempotents. Any *H*-class containing one of these is a (maximal) subgroup. In particular, the third *D*-class is isomorphic to the symmetric group *S*_{3}. There are also six subgroups of order 2, and three of order 1 (as well as subgroups of these subgroups). Six elements of *T*_{3} are not in any subgroup.

There are essentially two ways of generalising an algebraic theory. One is to change its definitions so that it covers more or different objects; the other, more subtle way, is to find some desirable outcome of the theory and consider alternative ways of reaching that conclusion.

Following the first route, analogous versions of Green's relations have been defined for semirings (Grillet 1970) and rings (Petro 2002). Some, but not all, of the properties associated with the relations in semigroups carry over to these cases. Staying within the world of semigroups, Green's relations can be extended to cover relative ideals, which are subsets that are only ideals with respect to a subsemigroup (Wallace 1963).

For the second kind of generalisation, researchers have concentrated on properties of bijections between *L*- and *R*- classes. If *x* *R* *y*, then it is always possible to find bijections between *L*_{x} and *L*_{y} that are *R*-class-preserving. (That is, if two elements of an *L*-class are in the same *R*-class, then their images under a bijection will still be in the same *R*-class.) The dual statement for *x* *L* *y* also holds. These bijections are right and left translations, restricted to the appropriate equivalence classes. The question that arises is: how else could there be such bijections?

Suppose that Λ and Ρ are semigroups of partial transformations of some semigroup *S*. Under certain conditions, it can be shown that if *x* Ρ = *y* Ρ, with *x* *ρ*_{1} = *y* and *y* *ρ*_{2} = *x*, then the restrictions

are mutually inverse bijections. (Conventionally, arguments are written on the right for Λ, and on the left for Ρ.) Then the *L* and *R* relations can be defined by

and *D* and *H* follow as usual. Generalisation of *J* is not part of this system, as it plays no part in the desired property.

We call (Λ, Ρ) a *Green's pair*. There are several choices of partial transformation semigroup that yield the original relations. One example would be to take Λ to be the semigroup of all left translations on *S*^{1}, restricted to *S*, and Ρ the corresponding semigroup of restricted right translations.

These definitions are due to Clark and Carruth (1980). They subsume Wallace's work, as well as various other generalised definitions proposed in the mid-1970s. The full axioms are fairly lengthy to state; informally, the most important requirements are that both Λ and Ρ should contain the identity transformation, and that elements of Λ should commute with elements of Ρ.