Structural aspects of semigroups based on digraphs
James East, Maximilien Gadouleau, and James D. Mitchell

TL;DR
This paper explores the structural properties of semigroups generated by digraphs, providing algorithms and classifications for various algebraic properties based on the digraph's structure.
Contribution
It introduces a linear time algorithm to detect cycles of fixed length in the semigroup and classifies digraphs based on their generated semigroup's algebraic properties.
Findings
Algorithm for detecting cycles of length k in semigroups
Classification of digraphs with specific semigroup properties
Conditions for semigroup properties like inverse, regular, or simple
Abstract
Given any digraph without loops or multiple arcs, there is a natural construction of a semigroup of transformations. To every arc of is associated the idempotent transformation mapping to and fixing all vertices other than . The semigroup is generated by the idempotent transformations for all arcs of . In this paper, we consider the question of when there is a transformation in containing a large cycle, and, for fixed , we give a linear time algorithm to verify if contains a transformation with a cycle of length . We also classify those digraphs such that has one of the following properties: inverse, completely regular, commutative, simple, 0-simple, a semilattice, a rectangular band, congruence-free, is…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
Topicssemigroups and automata theory · Advanced Graph Theory Research · Chemical Synthesis and Analysis
Structural aspects of semigroups based on digraphs
James East111Centre for Research in Mathematics, School of Computing, Engineering and Mathematics, Western Sydney University, Locked Bag 1797, Penrith NSW 2751, Australia. Email: [email protected], Maximilien Gadouleau222School of Engineering and Computing Sciences, Durham University, South Road, Durham DH1 3LE, UK. Email: [email protected], and James D. Mitchell333School of Mathematics and Statistics, University of St Andrews, St Andrews, Fife KY16 9SS, UK. Email: [email protected]
Abstract
Given any digraph without loops or multiple arcs, there is a natural construction of a semigroup of transformations. To every arc of is associated the idempotent transformation mapping to and fixing all vertices other than . The semigroup is generated by the idempotent transformations for all arcs of .
In this paper, we consider the question of when there is a transformation in containing a large cycle, and, for fixed , we give a linear time algorithm to verify if contains a transformation with a cycle of length . We also classify those digraphs such that has one of the following properties: inverse, completely regular, commutative, simple, 0-simple, a semilattice, a rectangular band, congruence-free, is -trivial or -universal where is any of Green’s -, -, -, or -relation, and when has a left, right, or two-sided zero.
1 Introduction
A transformation of degree is a function from to itself. A transformation semigroup is a semigroup consisting of transformations of equal degree and with the operation of composition of functions. For the sake of brevity we will denote by . We define to be the transformation defined by
[TABLE]
where and . A digraph is an ordered pair , where is a set whose elements are referred to as vertices, and is a set of ordered pairs called arcs. We identify a transformation with an arc in a digraph and we refer to as an arc. If is a digraph, we denote by the semigroup generated by the arcs of , and we refer to such a semigroup as arc-generated.
Arc-generated semigroups were first introduced by John Rhodes in the 1960s [R10, Definition 6.51], under the name semigroups of flows. In [R10], Rhodes was largely concerned with determining the maximal subgroups of an arc-generated semigroup, and he conjectured that every such subgroup was a direct product of cyclic, alternating, and symmetric groups. This conjecture was recently proved in a remarkable paper [HNP17] by Horváth, Nehaniv, and Podoski.
Many famous examples of semigroups are arc-generated. Perhaps the best known example is the semigroup of all non-invertible, or singular, transformations on , which was shown to be arc-generated by J. M. Howie in [H66]. Other examples include the semigroup of singular order-preserving transformations [A62], and the so-called Catalan semigroup [H93, S96], which are generated by the arcs of the digraphs and , respectively; these digraphs can be seen in Figure 1.
In [H78], Howie showed that is generated by , but no fewer, arcs. In [GH87] it was shown that is the minimum size of any generating set for whether it consists of arcs or not. It was shown in [H78] that is generated by the arcs of a digraph if and only if is strongly connected and contains a tournament. As a corollary, the minimal-size idempotent generating sets of are in one-one correspondence with the strongly connected tournaments on vertices; these were enumerated by Wright [W70]. In [DE16] it was shown that a digraph is strongly connected and contains a tournament if and only if it contains a strongly connected tournament. Hence every idempotent generating set for contains one of minimum size, something that is not true for generating sets of , in general.
Several authors have classified those digraphs such that has a specific semigroup property. For instance, in [YY06] those digraphs such that is regular are classified; and in [CCGM16] those where is a band are classified. In [YY06, YY09], necessary and sufficient conditions on digraphs and are given so that or , respectively. In this paper, we continue in this direction, by classifying those digraphs for which the semigroup has one of a variety of properties.
The paper is organised as follows. In Section 2 we review some relevant terminology and basic results about digraphs and semigroups. In Section 3 we investigate the presence of transformations with long cycles in arc-generated semigroups and classify those arc-generated semigroups that are -trivial. It is possible that Proposition 9 and the converse of Proposition 11 in Section 3 can be proved using Theorem 1(5)(b) and Lemma 15 from [HNP17]. Our proofs were produced independently of the results in [HNP17], and are relatively concise and self-contained, and so we have included the proofs for the sake of completeness. Arc-generated semigroups that are -, - or -trivial are classified in Section 4. Further classes of arc-generated semigroups—including bands, completely regular semigroups, inverse semigroups, semilattices and commutative semigroups—are classified in Section 5. Finally, properties related to left and right zeros are classified in Section 6, which among other things, allows us to classify those arc-generated semigroups that are rectangular bands, simple, [math]-simple, or congruence-free.
Many of the results in Sections 4, 5, and 6 were suggested by initial computational experiments conducted using the Semigroups package [M17] for GAP [GAP4].
2 Preliminaries
2.1 Digraphs
In this subsection, we review some terminology and basic results on digraphs. We refer the reader to [BG09a] for an authoritative account of digraphs.
Unless otherwise stated, the vertex set of a digraph will be for some .
The in-degree of a vertex in a digraph is the number of arcs of the form in ; similarly, the out-degree of is the number of arcs of the form in . A vertex in a digraph is called a sink if the out-degree of is [math]. A vertex is isolated if it has no incoming or outgoing arcs.
If is a digraph, and is subset of the vertices of , then the subdigraph of induced by is the digraph with vertices and arcs . In general, a subdigraph of is any digraph with and .
If is a digraph, and is an equivalence relation on , then the quotient digraph is defined as follows. The vertex set is the set of all -classes of , and if are -classes, then has the arc if and only if and has an arc for some and .
A walk in a digraph is a finite sequence , , of vertices such that is an arc for all ; the length of this walk is . A path is a walk where all vertices are distinct. A cycle in a digraph is a walk where and all other vertices are distinct. A digraph is called acyclic if it has no cycles.
A graph is defined to be a digraph where is an arc if and only if is an arc in . We refer to the pair of arcs above as the edge . Vertices and of a graph are adjacent if is an edge of .
An induced subdigraph of a graph, is also a graph, which we refer to as an induced subgraph. A spanning subgraph (as opposed to an induced subgraph) of a graph is any graph where .
The degree of a vertex in a graph is its in-degree, which equals its out-degree. If and are vertices of a graph , then the distance from to is the length of a shortest path from to , if such a path exists.
If and are graphs, then is a minor of if can be obtained by successively deleting vertices, deleting edges, or contracting edges of .
If is a vertex of a digraph , then the strong component of is the induced subdigraph of with vertices such that there is a path from to and from to . The underlying graph of a digraph is the graph with an edge for each arc of . The component of is the induced subdigraph of with vertices such that there is a path from to in the underlying graph of . Every digraph is partitioned by its strong components and its components, and the quotient of a digraph by its strong components is acyclic. A terminal component of a digraph is a strong component such that is not an arc in for all , . Alternatively, is terminal if it is a sink in the quotient of a digraph by its strong components. A strong component or a digraph is trivial if it only has one vertex.
A graph is separable if it can be decomposed into two connected induced subgraphs and with exactly one vertex in common; a graph is non-separable if admits no such decomposition. A block of a graph is an induced subgraph that is non-separable and is maximal with respect to this property.
A graph is bipartite if it can be decomposed into two empty subgraphs and . In other words, in a bipartite graph every edge of connects a vertex from with a vertex from . A graph is odd bipartite if it is bipartite and it has an odd number of vertices.
We denote by the complete graph with vertices and edges for all distinct ; by the star graph with vertices and edges for all . We denote by the path graph, or simply path if there is no ambiguity, with vertices and edges for all . We denote by the cycle graph with vertices and edges and for all .
2.2 Semigroups and monoids
In this subsection, we review some terminology about semigroups. We refer the reader to [H95] and [GM09] for further background material about semigroups.
A semigroup is a set with an associative binary operation. A monoid is a semigroup with an identity: i.e. an element such that for all . If is a semigroup, then is an idempotent if . If is a semigroup, then we denote by the monoid obtained by adjoining an identity to . A semigroup is regular if for all there exists such that . A subsemigroup of a semigroup is a subset of that is also a semigroup with the same operation as ; denoted .
A congruence on a semigroup is an equivalence relation on for which and imply for all . A semigroup is congruence-free if the only congruences on are the universal and trivial relations.
Let be a semigroup and let be arbitrary. We say that and are -related if the principal left ideals generated by and in are equal; in other words, if . We write to denote that and are -related.
Green’s -relation is defined dually to Green’s -relation; Green’s -relation is the meet, in the lattice of equivalence relations on , of and . Green’s -relation is defined so that are -related if . We will refer to the equivalence classes as -classes where is any of , , , or . We write to indicate , where is any of , , , or .
We denote by the monoid consisting of all of the transformations of degree where ; called the full transformation monoid. This monoid plays the same role in semigroup theory as the symmetric group does in group theory, in that every finite semigroup is isomorphic to a subsemigroup of some . Green’s relations on can be described in terms of the following natural parameters associated to transformations. The image of a transformation is the set
[TABLE]
the kernel of is the equivalence relation
[TABLE]
and the rank of is
[TABLE]
It is well-known that two elements of are -, - or - related if and only if they have the same kernel, image or rank, respectively; see [H95, Exercise 2.6.16].
A semigroup is aperiodic if all of its subgroups are trivial. A semigroup is -trivial for , if implies .
2.3 Arc-generated semigroups
We now characterise some basic semigroup theoretic properties of in terms of digraph theoretic properties of .
Suppose that is a digraph with vertex set , that is an isolated vertex, and that is the subdigraph of induced by . Then it is clear that the arc-generated semigroups and are isomorphic. So, we may assume without loss of generality, where appropriate and if it is convenient, that a digraph has no isolated vertices.
The following proposition will allow us to only consider connected digraphs in some cases; its proof is trivial and is omitted.
Proposition 1**.**
Let be a digraph with components and no isolated vertices. Then is isomorphic to . ∎
The next result is also trivial.
Proposition 2**.**
Let be a digraph. Then the following are equivalent:
- (i)
* is trivial;* 2. (ii)
* is a group;* 3. (iii)
* has a unique -class;* 4. (iv)
* has only one arc. ∎*
The semigroup can contain arcs that are not present in . It was shown in [YY06, Lemma 2.3] that the set of arcs in is
[TABLE]
The closure of , denoted , is the digraph on with the set of arcs as above; it is clear that . By construction, if and only if every strong component of is a graph. We say that is closed if .
3 Cyclic properties
A cycle of length in is a sequence of distinct points such that for all , where the indices are computed modulo . This section is concerned with cycles of transformations in an arc-generated semigroup. In particular, we are interested in the presence of long cycles. As mentioned in the introduction, the results in this section are related to those in [HNP17], where the authors describe the structure and actions of the maximal subgroups of any arc-generated semigroup in terms of properties of . Proposition 9 and the converse of Proposition 11 could be proved using Theorem 1(5)(b) and Lemma 15 from [HNP17]. However, determining the properties of the specific digraphs in Propositions 9 and 11 required to apply the results in [HNP17] is non-trivial, and requires the notation and terminology used in [HNP17]. Since the proofs presented in this section are self-contained, and relatively concise, and were found independently of [HNP17], we have opted not to use the results of [HNP17].
One application of the results in this section is a classification of the digraphs such that is -trivial. In particular, we shall prove the following result.
Proposition 3**.**
Let be a digraph. Then is -trivial if and only if all the strong components of are paths.
3.1 Preliminary results
The length of a longest cycle of is denoted as and for a digraph we write
[TABLE]
Lemma 4**.**
Let be a digraph. Then the following are equivalent:
- (i)
; 2. (ii)
* is aperiodic;* 3. (iii)
* is -trivial.*
Proof.
Conditions (ii) and (iii) are equivalent for any finite semigroup; see [P86, Proposition 4.2].
(i) (ii). We prove the contrapositive. Suppose belongs to a non-trivial subgroup and that is not an idempotent. Then the restriction of to is a non-trivial permutation, so .
(ii) (i). Again, we prove the contrapositive. Suppose has a cycle of length , say . Choose such that is an idempotent, and let be the -class of . Then is a group, and . But and are distinct elements of , since . ∎
Since for any digraph , we clearly have . Thus, when studying , we can assume without loss of generality that is closed. If , then any cycle of belongs entirely to a strong component of . Therefore, if has strong components , then
[TABLE]
Thus, in this section we may assume without loss of generality, if it is convenient, that is a connected graph.
Lemma 6**.**
For the cycle graph , , we have .
Proof.
Clearly, for any digraph on vertices, . Conversely,
[TABLE]
has the cycle . ∎
If is a subgraph of , then , and so , which will allow us to isolate subgraphs of in order to obtain lower bounds on . In the next lemma, we extend this result to graph minors.
Lemma 7**.**
If is a graph and is a minor of , then .
Proof.
For any and and any , we write if, relabelling the vertices of if necessary, for any , there exists such that for all . It is clear that if , then . Hence it suffices to show that .
This clearly holds if is obtained from from deleting an edge or a vertex. Suppose that is obtained from by contracting the edge . Let be the set of vertices that are adjacent to but not to in .
Let be arbitrary. Then there exist arcs such that . If for some , then we replace in the product for by . Similarly, we replace any arc , , by . If denotes this modified product, then for all , and so . ∎
Lemma 8**.**
Let be a graph. Then the following hold:
- (i)
if has a vertex of degree , then ; 2. (ii)
if contains a subgraph that is a tree with leaves, then ; 3. (iii)
if is connected and is the number of vertices of degree not equal to , then
[TABLE]
Proof.
(i). For distinct vertices and of the star graph such that , we write . Then
[TABLE]
has the cycle . The result now follows from Lemma 7.
(ii). If is a tree with leaves, then is a minor of , so the result follows from Corollary 7 and part (i).
(iii). By [BK12], any graph with vertices of degree not equal to contains a spanning tree with at least leaves. ∎
The next result concerns connected graphs that can be decomposed into two connected induced subgraphs with a path connecting them. With this in mind, we introduce a construction based on paths. Let and be two connected graphs on and vertices, respectively, where , and let be a path with vertices. Let denote the graph obtained by adding an edge between an endpoint of and a vertex of of degree not equal to 1, and an edge between the other endpoint of to a vertex of of degree not equal to 1. Even though this definition depends on the choice of attachment vertices, we will omit them in the notation, for our purpose is to derive results that do not depend on them, apart from the fact that they do not have degree 1 in and . We remark that , since the only connected graph on two vertices is , whose vertices both have degree 1. However, it is possible to have or .
The vertices of are denoted as , where they are sorted in weakly increasing order of distance to the path . In particular, is attached to , and and are neighbours of if . A similar notation is used for ; in particular is attached to . Write , , , and order the elements of the path as so that is adjacent to , and is adjacent to ; finally, we also write and . For instance, the graph is illustrated in Figure 2.
Proposition 9** (cf. Theorem 1(5)(b) in [HNP17]).**
With the above notation, if , then
[TABLE]
Proof.
We write . If , then where , and hence is the semigroup of order-preserving transformations [A62], which is aperiodic. Otherwise, we have and we view the result as two matching upper and lower bounds on .
Lower bound. Throughout this part of the proof, if is a path in , then we define
[TABLE]
Since this transformation depends on the choice of path, we will always specify the path.
Case 1: . We will show that there exists containing the cycle .
For each , we choose such that there is a shortest-length path from to that avoids . We also define
- •
to follow the path ,
- •
to follow a shortest-length path avoiding and to follow the reverse of such a path (but omitting the last edge) for all ,
- •
for all , even if ,
- •
to follow any path avoiding vertices from .
It is straightforward to verify that
[TABLE]
contains the cycle , as required (the second product is computed in descending order of the indices). We also note that .
Case 2: . As in Case 1, we may use to create containing the cycle and such that for all . Similarly, we may use to create containing the cycle and such that for all . If and follow the unique shortest paths, then contains the cycle .
Upper bound. Since if is a subgraph of , we assume without loss of generality that . We define a pre-order on the vertices of such that if , or , or and for some . If and , then we write or . We note that implies . We define the sets
[TABLE]
For the remainder of the proof, we fix some , and we write , where are arcs in . We also define and for all .
Case 1: . We require the following claim.
Claim 9.1**.**
Suppose that . If there are vertices and in such that and , then for some such that .
Proof.
If , then and so has the required properties. Suppose that . Since , there exists such that . If is the least such value, then , , and for some . If we set , then . ∎
Seeking a contradiction, suppose that has a cycle of length , where , and let be such a cycle, where . It is not necessarily the case that . Since , is not contained in and so for all . This gives . Let be such that . Then but . So by Claim 9.1, , which is the desired contradiction.
Case 2: . For the sake of obtaining a contradiction, suppose that has a cycle of length at least . Let be such a cycle, sorted so that . Again it is not necessarily the case that . We note that (since ) and (since ), whence .
We say that a vertex of is of -type if there is such that and . Similarly, we say that is of -type if there is such that and .
Claim 9.2**.**
Suppose that . If there are vertices and in such that and , then either is of -type, or is of -type.
Proof.
As in the proof of Claim 9.1, if , then witnesses that is of -type. Similarly, if then shows that is of -type.
Suppose that and . As before, for some , and both belong to or . Suppose that both and belong to before they both belong to ; the case when they both first belong to is symmetric. Let be the least value such that . Then for all , and either or . If for some , then since , it follows that . Hence is the least value such that .
We will show that for all . Seeking a contradiction, suppose that for some , and let . The vertices of can be partitioned into two parts:
[TABLE]
Let . If , then . Otherwise, . By maximality of and minimality of , we have , , for all , and for all . It follows that . Therefore, , and so
[TABLE]
which contradicts the fact that .
We conclude that for all , and by the argument concluding the proof of Claim 9.1, we obtain , so that is of -type. ∎
Claim 9.3**.**
There exist such that , , and . There also exist such that , , and .
Proof.
If , then since intersects but is not contained in , there exist such that , , , and . Then and have the required properties.
If , then for all . In particular, if , then and have the required properties.
The proof of the existence of and is symmetrical. ∎
We now write , and note that by Claim 9.3. We enumerate such that . For each , let be an element of such that and ; we also assume that is maximal with respect to this property: that is, if is such that and , then . Note that is not necessarily sorted according to the pre-order. If is a maximal element of with respect to , then Claim 9.3 indicates that . We also have , since , where is as in Claim 9.3.
Claim 9.4**.**
There exists such that are all of -type and are all of -type. Moreover, for all , .
Proof.
We shall prove a sequence of facts about the set , the last two of which give the claim.
(a). If is of -type, and if , then is not of -type.
Suppose to the contrary that we have the following: ; ; and ; and . We then have , for otherwise and
[TABLE]
a contradiction. Similarly, we have . Thus
[TABLE]
Denoting , we have
[TABLE]
a contradiction.
(b). For every , is of -type if and only if is not of -type.
Apply (a) with and combine with Claim 9.2.
(c). If is of -type, then so too are .
If is of -type and , then because , (a) says that is not of -type and (b) in turn says that is of -type.
(d). is of -type and is of -type.
We prove that is not of -type, which by (b) implies that is of -type. Suppose that for some with . If , then and hence , a contradiction. If , then (since and ) and hence , so that , a contradiction. The proof for is symmetrical.
(e). There exists such that are all of -type and are all of -type.
This follows from combining (b), (c) and (d), with a=\max\{i:y_{1},\ldots,y_{i}\text{ are of L-type}\}.
(f). For all , .
By (e), is of -type, and of -type. It follows from (a) that . ∎
We now partition into two parts and defined by
[TABLE]
Note that and are both non-empty: for example, and . Since is a cycle of , for any non-empty proper subset of . In particular, and , and so there exist and such that and . It follows that and , and hence and for some . But then , which contradicts Claim 9.4. ∎
3.2 Classification results
In this subsection, we give a classification of the connected graphs for which is equal to , or . From this, and in light of equation (5), it is easy to deduce such classifications for arbitrary graphs . We also consider the computational complexity of determining whether a given graph satisfies .
The classification of graphs with or is based on the following family of graphs. The graph for is obtained by adding the edge to the path , so that the three last vertices form a triangle (and indeed ). The graph for is obtained by removing the edge from , so that the last four vertices form the star graph (and indeed ). The graphs and are illustrated in Figure 3.
A number of other graphs, pictured in Figure 4, will feature in the proofs. It can be shown, using GAP [GAP4] for instance, that if is the bull graph or the E-graph, then and that .
Proposition 10**.**
Let be a connected graph. Then if and only if is a path.
Proof.
Since is the semigroup of order-preserving transformations of , it is aperiodic. Conversely, suppose that . By Lemmas 6, 7 and 8, is a tree with maximum degree , in other words, is a path. ∎
Proposition 3 easily follows from Proposition 10 and equation (5).
Proposition 11**.**
Let be a connected graph. Then if and only if is or .
Proof.
Note that and . It follows from Proposition 9 that for ; this can also be verified for , using GAP [GAP4]. This part of the proof also follows from Lemma 15 in [HNP17].
Conversely, suppose that ; the case is easy so let us assume . By Lemmas 6 and 7, does not have any cycle of length or more. By Lemma 8, has no vertices of degree greater than .
Claim 11.1**.**
has exactly one vertex of degree .
Proof.
If has no vertex of degree , then it is a path and , or it is a cycle and . Thus, has a vertex of degree 3, say , with neighbours , and . First, suppose that also has degree 3. If and are both neighbours of , then has the cycle . If is adjacent to and to another vertex, say , then contains a bull. Thus, is not adjacent to either or , and instead is adjacent to and , say, in which case, contains a tree with leaves , , , and , so Lemma 8(ii) applies. So vertex does not have degree and, similarly, neither do vertices and . Second, suppose that contains another vertex of degree , say , that is not a neighbour of . There is a path from to , and we may assume this goes through vertex ; then by contracting the path from to , and applying Lemma 7, we get back to the first case. ∎
We now split the rest of the proof into two cases. First, if is a tree, then or has the E-graph as a subgraph. The latter case would yield , hence . Second, if is not a tree, then has a triangle, say induced by the vertices . One of them must be the vertex of degree 3, say , and the other two have degree . Then . ∎
On the other extreme, we have the following classification. Recall that a graph is non-separable if for every pair of vertices , there are at least two vertex-disjoint paths from to .
Proposition 12**.**
Let be a connected graph. Then if and only if or is non-separable and not odd bipartite.
Proof.
The case being easily checked, we assume throughout the proof.
Let be non-separable. Recall the puzzle group from [W74], obtained as follows. First of all, create a hole at any vertex . Then repeatedly slide a vertex into the hole at vertex , where is adjacent to ; this moves the hole to . Whenever the hole goes back to , this yields a permutation of . The (abstract) group does not actually depend on . Clearly, creating the hole at can be done by using any arc where is a neighbour of , and then sliding a vertex to the hole in is equivalent to using the arc . Therefore, for any initial hole and any acting on , there exists such that for all .
() We have already noted that , and that . Let be non-separable and neither a cycle nor the graph . According to [W74, Theorem 2], if is bipartite and otherwise. Therefore if is non-separable and not odd bipartite, or if is non-separable and odd bipartite.
() We prove the contrapositive. Suppose first that is non-separable and odd bipartite. To obtain a contradiction, suppose that has . Due to the form of , there exist and such that , and (note that acts as a cyclic permutation on ). Since , we can assume that the first arc in any word expressing is . This corresponds to creating a hole in , and then expressing as a member of , which is impossible since is an odd permutation while .
Now suppose that is separable. So there exist and such that , , and for any edge of with and we have ; see for example [BM08, Theorems 5.1 and 5.2]. Then is a minor of , which is itself a minor of , where and . By Lemma 7 and Proposition 9,
[TABLE]
(Note that when , for example, we have .) Thus, in all cases, . ∎
We remark that the proof of Proposition 12 (in conjunction with Proposition 12 itself) indicates that if is non-separable and odd bipartite, then .
A classification of graphs such that for arbitrary seems beyond reach at the moment. However, since these graphs form a minor-closed class, we can determine whether in time [KKR12]. We show that in fact this can be done in linear time.
Theorem 13**.**
For any fixed , deciding whether a connected graph , given as an adjacency list, satisfies can be done in time.
Proof.
Let us refer to a maximal path in consisting of vertices of degree as a branch. If a branch does not belong to a non-separable block, then , where the branch is the path in the middle. We say that a branch is terminal if and non-terminal otherwise. We shall use the same notation as for Proposition 9.
The result is clear for (Proposition 10), so suppose . The algorithm goes as follows.
If , solve by brute force, i.e. by enumerating all elements of . 2. 2.
If is a path, then return Yes. 3. 3.
If has a vertex of degree at least , then return No (Lemma 8). 4. 4.
If has at least vertices of degree not , then return No (Lemma 8(iii)). 5. 5.
If has a non-separable block of size at least , then return No (Proposition 12 and the remark after its proof). 6. 6.
Let be the longest branch of . If is terminal and has length at most , or if is non-terminal and has length at most , then return No. Otherwise, return Yes.
If the first five properties are not satisfied, then the number of vertices of degree is at least
[TABLE]
On the other hand, the number of branches is at most . Thus the longest branch of has length .
First, suppose that is terminal, i.e. with and . If , then and , where is the subgraph of induced by . Otherwise, hence and .
Second, suppose that is non-terminal: i.e. with . If , then . Let
[TABLE]
We then have
[TABLE]
and , where is the subgraph of induced by . Otherwise, hence and .
Step 1 runs in time; properties 2 to 4 are decidable in time . If the first four properties are not satisfied, the number of edges of is at most . Then the following steps, which run in (an algorithm to find the non-separable blocks in linear time is given in [HT73]), actually run in time. ∎
4 Properties related to Green’s relations
In this section we characterise some semigroup theoretic properties of in terms of certain digraph theoretic properties of . In Proposition 3, we classified the digraphs for which is -trivial. The purpose of this section is to give analogous classifications for Green’s -, - and -relations in Propositions 16, 17 and 22, respectively.
The proof of [H95, Proposition 2.4.2] gives the following.
Lemma 14**.**
Let be a subsemigroup of a semigroup , let , and suppose are regular in . Then the following hold:
- (i)
* are -related in if and only if they are -related in ;* 2. (ii)
* are -related in if and only if they are -related in . ∎*
Recall that two elements of are -, -, or - related if and only if they have the same kernel, image, or rank, respectively.
Lemma 15**.**
Let be a digraph. If contains a cycle and is an arc in that cycle, then and .
Proof.
As noted earlier, it follows from [YY06, Lemma 2.3] that belongs to . Since and are idempotents, and hence regular, and they have equal kernels, it follows follows from Lemma 14 that . ∎
Proposition 16**.**
Let be a digraph. Then is -trivial if and only if is acyclic.
Proof.
() It follows immediately from Lemma 15 that if contains a cycle, then it is not -trivial, and so the contrapositive of this implication holds.
() Again we prove the contrapositive. Suppose that are such that and . Then there exist such that and , and there is with . Hence and . The former implies that contains a non-trivial path from to , and the latter that contains a path from to . Thus contains a cycle. ∎
Proposition 17**.**
Let be a digraph. Then is -trivial if and only if the following hold:
- (i)
the out-degree of every vertex in is at most ; and 2. (ii)
* contains no cycles of length greater than .*
Proof.
() We prove the contrapositive (i.e. that if either (i) or (ii) is not true, then is not -trivial). If there are distinct arcs and in , then and are regular, and have the same image, and so . If contains a cycle of length greater than , then is not -trivial, by Proposition 3, and hence it is not -trivial.
() Suppose that both (i) and (ii) both hold. We begin by making some observations about the elements of and their action on the vertices of .
Suppose that is an arbitrary vertex of with out-degree . By the assumptions on the structure of , there is a unique path
[TABLE]
in starting at , and where has out-degree [math] or is an arc in . Since there are no vertices in with out-degree exceeding , it follows that is the only arc in starting at for every . So, if , then
[TABLE]
First, we will show that
[TABLE]
for all .
We proceed by induction on . If , then and for some by (19). If , then by induction there exists such that
[TABLE]
Suppose first that . Then . If , then (19) gives for some . If , then by the form of , can only be one of or . On the other hand, if , then , and where , again by (19), unless in which case it is possible that . This completes the proof of (20).
Second, suppose that and for some . Since there is a unique path from to in , it follows that any factorisation of in the arcs of must contain each of
[TABLE]
in this order. In other words,
[TABLE]
for some .
We will now begin the proof of this implication in earnest. Suppose that there are such that . We will show that and are not -related. Since , there exists such that . Since at least one of does not fix , it follows that the out-degree of is equal to . Suppose that are as in (18). From (19), and for some . We may assume without loss of generality that . We consider two cases separately.
Case 1: or is not an arc in . By (21),
[TABLE]
It follows that if is such that , then
[TABLE]
But and so (20) implies that , contradicting the assumption that . Hence .
Case 2: and is an arc in . Since , it follows that and . By (21), there exist such that
[TABLE]
and we may assume without loss of generality that does not have as a factor. Suppose that is arbitrary. By (20),
[TABLE]
In either case, and so for any , which implies . ∎
Proposition 22**.**
Let be a digraph. Then the following are equivalent:
- (i)
* has at most one idempotent in every -class and every -class;* 2. (ii)
* is -trivial;* 3. (iii)
* is acyclic and the out-degree of every vertex in is at most .*
Proof.
(i) (iii). If had a vertex of out-degree greater than , then, as in the proof of Proposition 17, would contain two distinct -related idempotents.
If contained a cycle, then, by Lemma 15, would contain two distinct -related idempotents.
(iii) (ii). If is acyclic and the out-degree of every vertex in is at most , then, by Propositions 16 and 17, is both - and -trivial. Hence is -trivial.
(ii) (i). Since is -trivial, it is both - and -trivial. Hence every -class and every -class contains exactly one element, and, in particular, at most one idempotent. ∎
5 Other classical semigroup properties
A semigroup is called completely regular if every element belongs to subgroup. Equivalently, a semigroup is completely regular if and only if every element is -related to an idempotent. A finite semigroup is completely regular if and only if for all .
If is any digraph with at most vertices, then is a band. Hence in the next two results we will assume that the number of vertices in is at least .
We say a digraph is directed-bipartite if there is a partition of the vertices of into two parts and such that every arc of satisfies and .
Proposition 23**.**
Let be a connected digraph with at least vertices. Then the following are equivalent:
- (i)
* is a band;* 2. (ii)
* is completely regular;* 3. (iii)
* is directed-bipartite.*
Proof.
(i) and (iii) are shown to be equivalent in [CCGM16, Theorem 2.12].
(i) (ii). This implication follows immediately, since every band is completely regular.
(ii) (iii). We prove the contrapositive. Suppose that contains the arcs and , where are distinct, and consider . Then and , and so and are not -related in . It follows that and are not -related in , and so is not completely regular. ∎
Corollary 24**.**
Let be a connected acyclic digraph with at least vertices. Then the following are equivalent:
- (i)
* is a band;* 2. (ii)
* is completely regular;* 3. (iii)
* is regular;* 4. (iv)
* is directed-bipartite.*
Proof.
It suffices to prove that (iii) implies (i), so we suppose that is regular. Since is acyclic, is -trivial by Lemma 16. Since is regular, it follows that every -class contains an idempotent. But every -class is of size 1, and so every element of is an idempotent. In other words, is a band. ∎
There are non-acyclic digraphs such that is regular but not a band. For example, if is any strong tournament with vertices, then , and is regular but not a band.
For , an -fan is a connected acyclic digraph isomorphic to the digraph with arcs for all . A -fan is just a one-vertex digraph with no arcs. A picture of an -fan can be seen in Figure 5.
A semigroup is called inverse if for all there exists a unique such that and . It is well-known (see, for example, [H95, Theorem 5.1.1]) that a semigroup is inverse if and only if it is regular and its idempotents commute. The same theorem from [H95] also says that is inverse if and only if each -class and each -class of contains exactly one idempotent. A semilattice is a semigroup of commuting idempotents. For any set , the power set of is a semilattice under ; the subsemigroup is called the free semilattice of degree . If are disjoint finite sets, then is a free semilattice of degree , isomorphic to .
Proposition 25**.**
Let be a connected digraph. Then the following are equivalent:
- (i)
* is a free semilattice of degree ;* 2. (ii)
* is inverse;* 3. (iii)
* is commutative;* 4. (iv)
* is a fan.*
If any of the above conditions holds, then .
Proof.
(i) (ii). Every semilattice is an inverse semigroup.
(ii) (iii). Since is inverse, it has exactly one idempotent in every - and -class, and hence by Proposition 22, is -trivial. Thus is a semilattice, and hence it is commutative.
(iii) (iv). Assume that is commutative. If contains distinct arcs and , then , a contradiction. If contains distinct arcs and , then , a contradiction. Since is connected, it follows that is a fan.
(iv) (i). We may assume that the unique sink in is the vertex . If is any subset of , then we define by
[TABLE]
If is not empty, then . Conversely, the arcs of commute and so any transformation in is of the form for some non-empty subset of . If and are non-empty subsets of , then it is routine to verify that . It follows that the map defined by is an isomorphism. ∎
If is a digraph with connected components , then it follows from Proposition 1 that is inverse if and only if each is inverse. From this we obtain the following corollary to Proposition 25.
Corollary 26**.**
The number of digraphs (up to isomorphism) with vertices such that is an inverse semigroup is equal to .
Proof.
Suppose that is inverse, that the connected components of are , and write for each . It follows from Proposition 25 that each is a fan, and each is a free semilattice of degree . It follows that is a free semilattice of degree . So the isomorphism class of is completely determined by , the number of connected (fan) components of . Since can take any value from to , the proof is complete. ∎
6 Zeros
An element of a semigroup is a left zero if for all . Right zeros are defined analogously. An element is a zero if it is both a left and right zero. If a semigroup has a left zero and a right zero, then it has a unique zero. In this section, we obtain necessary and sufficient conditions on a digraph so that has various properties associated to left or right zeros. Some of our results also classify the digraphs for which consists of a single -, -, or -class (see Proposition 2 for the analogous result for the -relation). We begin with two technical lemmas.
Lemma 27**.**
If is strongly connected, then contains every constant map.
Proof.
Since is strongly connected, it suffices to show that contains any constant map. Suppose that there exists with rank , where . We prove that there exists with , from which the lemma follows. Since , there exist distinct , and since is strongly connected, there is a path in from to . If denotes the product of the arcs in a path from to , then it is routine to check that , as required. ∎
Lemma 28**.**
If is connected, then there exists such that belongs to a terminal component of for each .
Proof.
Suppose without loss of generality that are the vertices of that do not belong to a terminal component of . Then for every there exists a vertex in a terminal component of such that there is a path in from to . The product has the required property. ∎
Proposition 29**.**
Let be a connected digraph. Then the following hold:
- (i)
* has a left zero if and only if all terminal components of are trivial. If this is the case, then is a left zero of if and only if belongs to a terminal component for all vertices .* 2. (ii)
* has a right zero if and only if it has exactly one terminal component. If this is the case, then is a right zero of if and only if it is a constant map.* 3. (iii)
* has a zero if and only if it has exactly one terminal component , which is trivial. If this is the case, then the zero of is the constant map with image .*
Proof.
(i). Suppose that is a left zero, let be an arbitrary terminal component, and let . By Lemma 27, there exist such that and for all . Let be arbitrary. Since is terminal, . But then, since is a left zero, . This shows that .
Conversely, suppose that all terminal components of are trivial: . By Lemma 28, there exists such that belongs to a terminal component for each vertex . Now let be arbitrary. Let and put . Then , so that , and is a left zero.
On the other hand, suppose that all of the terminal components of are trivial, and that is such that does not belong to a terminal component for some . Then contains some arc . But then , so that is not a left zero.
(ii). Suppose that has at least two terminal components. Then there exist distinct terminal components and and a vertex such that there is a path from to a vertex from and a path from to a vertex from . For , let be such that . If is a right zero, then
[TABLE]
which is the desired contradiction.
Conversely, suppose that has only one terminal component and fix some . By Lemmas 27 and 28, there exist such that , and . Then is a constant map (with image ), and hence a right zero.
On the other hand, suppose that only has one terminal component , and that is not a constant map. So . We know that contains some constant map . But then , so that , whence is not a right zero. ∎
A semigroup is called a left zero semigroup if every element of is a left zero; right zero semigroups are defined analogously.
Proposition 30**.**
Let be a digraph. Then the following are equivalent:
- (i)
* is a left zero semigroup;* 2. (ii)
* has a unique -class;* 3. (iii)
there is a unique non-trivial connected component of , and is a fan.
Proof.
(i) (ii). Every left zero semigroup has a unique -class.
(ii) (iii). Since has a unique -class, it follows that all of the arcs in belong to the same -class. Hence the arcs in have the same image: say, for some fixed . In other words, the arcs in are all of the form , .
(iii) (i). If the only arcs in are of the form for some fixed , then for all , and so is a left zero semigroup. ∎
Proposition 31**.**
Let be a digraph. Then the following are equivalent:
- (i)
* is a right zero semigroup;* 2. (ii)
* has a unique -class;* 3. (iii)
there is a unique non-trivial connected component of , and has vertices.
Proof.
(i) (ii). Every right zero semigroup has a unique -class.
(ii) (iii). Since has a unique -class, all elements of are -related. But if and only if and so all of the arcs of involve the same two vertices.
(iii) (i). In this case, is isomorphic to a subsemigroup of , which is a right zero semigroup, and hence is a right zero semigroup also. ∎
Recall that a semigroup is simple if it contains a single -class.
Proposition 32**.**
Let be a connected digraph. Then the following are equivalent:
- (i)
* is a rectangular band;* 2. (ii)
* is simple;* 3. (iii)
* is a left or right zero semigroup.*
Proof.
(iii) (ii). Every left or right zero semigroup is simple.
(ii) (i). If is simple, then it is completely regular. If , then we conclude from Proposition 23 that is a band; this is also true if . Every simple band is a rectangular band.
(i) (iii). Suppose that is a rectangular band. Since has a single -class, every element of has rank . It follows that consists entirely of arcs. If is not a left or right zero semigroup, then there exist distinct arcs such that and . The former implies that and for some , and the latter that for some , where are distinct. But then is not an idempotent, a contradiction. ∎
Recall that a semigroup with a zero element [math] is 0-simple if and its -classes are and .
Proposition 33**.**
Let be a digraph. Then is [math]-simple if and only if the only non-trivial connected component of is one of the following:
Proof.
() It is straightforward to verify that is 0-simple if is either of the given digraphs, using GAP [GAP4] for instance.
() Suppose that is 0-simple and, without loss of generality, that has no isolated vertices. Since is 0-simple, it has two -classes, and the minimum one contains only the zero element. In particular, contains at most one element of rank smaller than and no elements of rank smaller than .
Suppose that has two connected components and . If there is an arc in , and distinct arcs in , then are distinct elements of rank , a contradiction. Hence, if has more than one connected component, then every connected component has exactly one arc. In this case, contains at least 2 arcs and the zero element and so . But Proposition 22 implies that is -trivial and so has at least three -classes, a contradiction. Thus is connected.
If is the zero element, then by Proposition 29, is constant which implies that , and so . It is possible to check that if is any digraph with at most 3 vertices such that is 0-simple, then is isomorphic to one of the two given digraphs. ∎
Proposition 34**.**
Let be a digraph. Then is congruence-free if and only if the only non-trivial connected component of is one of the following:
Proof.
Let (left to right) be the digraphs in the statement of the proposition.
() The semigroups have size at most , and so are congruence-free. It is straightforward to verify that and are both congruence-free (using GAP [GAP4] for instance).
() If is congruence-free, then either , is 0-simple, or is a simple group; see [H95, Theorems 3.7.1 and 3.7.2]. So, by Propositions 2 and 33, it suffices to note that the only digraphs so that are the digraphs and . ∎
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[A 62] A. Ja. Aĭzenštat, The defining relations of the endomorphism semigroup of a finite linearly ordered set, Sibirsk. Mat. Ž. 3 (1962) 161–169.
- 2[BK 12] A. V. Bankevich, G. V. Karpov, Bounds for the number of leaves in spanning trees, Journal of Mathematical Sciences (New York) 184 (2012) 564-–572.
- 3[CCGM 16] P. J. Cameron, A. Castillo-Ramirez, M. Gadouleau, and J. G. Mitchell, Lengths of words in transformation semigroups generated by digraphs, Journal of Algebraic Combinatorics 45 (2017) 149–170.
- 4[BG 09a] Jorgen Bang-Jensen and Gregory Gutin, Digraphs: Theory, Algorithms and Applications , Springer, 2009.
- 5[BM 08] J. A. Bondy and U. S. R. Murty, Graph theory , Graduate Texts in Mathematics, 244 , Springer, New York, 2008.
- 6[DE 16] Igor Dolinka and James East, Idempotent generation in the endomorphism monoid of a uniform partition, Comm. Algebra 44 (2016) 5179–5198.
- 7[GM 09] Olexandr Ganyushkin and Volodymyr Mazorchuk, Classical finite transformation semigroups. An introduction , Algebra and Applications, 9. Springer-Verlag London, Ltd., London, 2009.
- 8[GAP 4] The GAP Group, GAP – Groups, Algorithms, and Programming, Version 4.8.6; 2016 http://www.gap-system.org .
