1 Introduction

For an arbitrary set X, the set \({\mathcal {T}}_{X}\) of all transformations of X, that is of all maps from X to itself, is a semigroup under composition, and called the full transformation semigroup on X. If \(X=X_{n} =\{1,\ldots ,n\}\) with its natural order, then \({\mathcal {T}}_{X}\) is denoted by \({\mathcal {T}}_{n}\). A transformation \(\alpha \in {\mathcal {T}}_{n}\) is called order-preserving if \(x\le y\) implies \(x\alpha \le y\alpha \) for all \(x,y \in X_n\), and decreasing (increasing) if \(x\alpha \le x\) (\(x\alpha \ge x\)) for all \( x\in X_{n}\). The subsemigroup of all order-preserving transformations in \({\mathcal {T}}_{n}\) are denoted by \({\mathcal {O}}_{n}\), and the subsemigroup of all order-decreasing (order-increasing) transformations in \({\mathcal {T}}_{n}\) is denoted by \({\mathcal {D}}_{n}\) (\({\mathcal {D}}_{n}^{+}\)). The subsemigroup of all order-preserving and decreasing (increasing) transformations in \({\mathcal {T}}_{n}\) is denoted by \({\mathcal {C}}_{n}\) (\({\mathcal {C}}_{n}^{+}\)), i.e., \({\mathcal {C}}_{n}={\mathcal {O}}_{n}\cap {\mathcal {D}}_{n}\) (\({\mathcal {C}}_{n}^{+}={\mathcal {O}}_{n}\cap {\mathcal {D}}_{n}^{+}\)). In [14, Corollary 2.7.], Umar proved that \({\mathcal {D}}_{n}\) and \(\mathcal {D}_{n}^{+}\) are isomorphic, and it is also well-known that \({\mathcal {C}}_{n}\) and \({\mathcal {C}}_{n}^{+}\) are isomorphic semigroups (for example, see Remarks on [8, page 290]).

For any transformation \(\alpha \in {\mathcal {T}}_{n}\), the kernel, the image, the fix, and the shift of \(\alpha \) are defined, respectively, by

$$\begin{aligned} \ker (\alpha )= & {} \{ (x,y) : x\alpha = y\alpha \text{ for } \text{ all } x,y\in X_n\},\quad \mathrm {im\, }(\alpha ) = \{ x\alpha : x\in X_{n}\}, \\ \mathrm {fix\, }(\alpha )= & {} \{ x\in X_n: x\alpha =x\} ,\, \text{ and } \, \mathrm {shift\, }(\alpha ) = \{ x\in X_{n} : x\alpha \not = x\} . \end{aligned}$$

The set of all idempotent elements of S is denoted by E(S), that is, \(E(S)=\{\, e\in S\mid e^{2}=e\, \}\). For any \(\alpha \in {\mathcal {T}}_{n}\), it is clear that \(\alpha \) is an idempotent if and only if \(\mathrm {fix\, }(\alpha )= \mathrm {im\, }(\alpha )\). The set of all nilpotent elements of a semigroup S with zero 0 is denoted by N(S), that is, \(N(S)=\{\, a\in S\mid a^{k}=0\, \text{ for } \text{ some } k\in {\mathbb {N}}\, \}\). It is a known fact that a finite semigroup S with zero is nilpotent, \(S^{m}=\{0\}\) for a positive integer m, if and only if the unique idempotent of S is the zero element (see, for example [5, Proposition 8.1.2]). It is clear that

$$\begin{aligned} \varepsilon =\left( \begin{array}{cccc} 1 &{} 2 &{} \cdots &{} n\\ 1 &{} 1 &{} \cdots &{} 1 \end{array}\right) \quad \text{ and } \quad \varepsilon ^{+}=\left( \begin{array}{cccc} 1 &{} 2 &{} \cdots &{} n\\ n &{} n &{} \cdots &{} n \end{array}\right) \end{aligned}$$

are the zero elements of \({\mathcal {C}}_{n}\) and \({\mathcal {C}}_{n}^{+}\), respectively. As shown in [10, Lemma 1.4.], an element \(\alpha \) of \({\mathcal {C}}_{n}\) is nilpotent if and only if \(\mathrm {fix\, }(\alpha )= \{1\}\). As on [4, page 241], for any \(\alpha \in {\mathcal {C}}_{n}\), we can use the following tabular form:

$$\begin{aligned} \alpha =\left( \begin{array}{cccc} A_1 &{} \cdots &{} A_r \\ a_1 &{} \cdots &{} a_r \end{array}\right) , \end{aligned}$$
(1)

where \(\mathrm {im\, }(\alpha )=\{1=a_{1}<\cdots <a_{r}\}\), and \(a_{i}\alpha ^{-1}=A_{i}\) for each \(1\le i\le r\). Thus, \(\{ A_{1}, \ldots ,A_{r} \}\) is an ordered convex partition of \(X_{n}\), that is \(x<y\) for all \(x\in A_{i}\) and \(y\in A_{i+1}\) where \(1\le i\le r-1\), and moreover, each \(A_{i}\) (\(1\le i\le r\)) is a convex subset of \(X_{n}\) provided that for all \(x,y \in A_{i}\)\(x\le z\le y\) implies \(z\in A_{i}\) (for example, see [1, 2, 8]). As proved in [11, Theorem 2.1], \(|{\mathcal {C}}_{n}| = |{\mathcal {C}}_{n}^+| = C_{n}\), n-th Catalan number (see, for example [6]). For this reason, \({\mathcal {C}}_{n}\) is also called the Catalan monoid on \(X_{n}\) under its natural order.

For a non-empty subset A of a semigroup S, the subsemigroup generated by A, the smallest subsemigroup of S containing A, is denoted by \(\langle A\, \rangle \). If there exists a finite subset A of S such that \(S=\langle A\, \rangle \), then S is called a finitely generated semigroup. The rank of a finitely generated semigroup S is defined by

$$\begin{aligned} \mathrm {rank\, }(S)=\min \{\, |A|:\langle A\, \rangle =S\, \} , \end{aligned}$$

where \(|A|\) denotes the cardinality of A. An element s of a semigroup S is called indecomposable, if \(s\ne xy\) for all \(x,y\in S\), that is, if \(s\in S\setminus S^{2}\). An element s of a semigroup S is called irreducible provided that the condition \(s=xy\) for \(x,y\in S\) implies \(s=x\) or \(s=y\). It is clear that every generating set of S must contain all indecomposable and irreducible elements of S. Thus, if A is a non-empty finite set which consists of irreducible elements and \(S=\langle A\rangle \), then A is the minimum generating set of S, and so \(\mathrm {rank\, }(S)=|A|\).

A semigroup S is called a band if \(S=E(S)\). If S is a commutative band, then S is called a semilattice. For any non-empty set X, let \(\mathcal {SL}_{X}\) be the set of all subsets of X. With the multiplication in \(\mathcal {SL}_{X}\) defined by \(A\cdot B=A\cap B\)\(\mathcal {SL}_{X}\) is a semilattice: it is called the free semilattice on X. Notice that \(\mathcal {SL}_{X}\) can be defined to be the set of all subsets of X with the multiplication \(A\cdot B=A\cup B\), which is more common definition of the free semilattice on X, but the first definition is more useful for this research. If we consider the map \(\varphi :(\mathcal {SL}_{X}, \cap )\rightarrow (\mathcal {SL}_{X}, \cup )\) defined by \(A\varphi =X\setminus A\), then we see that these two definitions of the free semilattice on X are equivalent up to the isomorphism. If X is a finite set with n elements, then we suppose that \(X=X_{n}=\{1,\ldots ,n\}\), and we denote the free semilattice on \(X_{n}\) by \(\mathcal {SL}_{n}\) instead of \(\mathcal {SL}_{X_{n}}\). (For other terms in semigroup theory, we refer to [7].)

A proper subsemigroup of a semigroup S is called maximal if it is not contained any other proper subsemigroup of S, and it is called the maximum subsemigroup if it is unique. A subsemigroup T of a semigroup S is called

  • isolated provided that for all \(x\in S\), the condition \(x^{n}\in T\) for some \(n\in {\mathbb {N}}\) implies \(x\in T\);

  • completely isolated provided that, for all \(x,y\in S\), \(xy\in T\) implies \(x\in T\) or \(y\in T\);

  • right convex provided that, for all \(x,y\in S\), \(xy\in T\) implies \(y\in T\);

  • left convex provided that, for all \(x,y\in S\), \(xy\in T\) implies \(x\in T\);

  • convex provided that, for all \(x,y\in S\), \(xy\in T\) implies \(x\in T\) and \(y\in T\).

It is clear from the definitions that every completely isolated subsemigroup is isolated that every left (right) convex subsemigroup is completely isolated, and that every convex subsemigroup is both left and right convex. Moreover, any left (right) convex subsemigroup of a monoid S must contain the identity of S. We refer the readers to [3,4,5] for details and more properties on these subsemigroups. The (completely) isolated and (left/right) convex subsemigroups of some special semigroups have been studied by several authors, (for examples, see [12, 13]). In [12], all (completely) isolated and (left/right) convex subsemigroups of \({\mathcal {T}}_{n}\) are classified. In [13], all (completely) isolated and (left/right) convex subsemigroups of \(\mathcal {IS}_{n}\), all injective partial transformations in \(X_{n}\), are classified. As we have recently focused in \({\mathcal {C}}_{n}\) (see [9, 15, 16]), we are concerned with the classification of all (completely) isolated and (left/right) convex subsemigroups of \({\mathcal {C}}_{n}\).

Given \(\zeta \in E({\mathcal {C}}_{n})\), it is known that

$$\begin{aligned} {\mathcal {C}}_{n}(\zeta )=\{\alpha \in {\mathcal {C}}_{n} : \alpha ^{m}=\zeta \text{ for } \text{ some } m\in {\mathbb {N}}\} \end{aligned}$$

is a subsemigroup of \({\mathcal {C}}_{n}\) with zero element \(\zeta \) (see [16, Proposition 2]). In the second section, we firstly show that for any \(\zeta \in E({\mathcal {C}}_{n})\)\({\mathcal {C}}_{n}(\zeta )\) is the unique isolated nilpotent subsemigroup of \({\mathcal {C}}_{n}\) with zero element \(\zeta \). Then, we show that a subsemigroup T of \({\mathcal {C}}_{n}\) is isolated if and only if \(T=\bigcup \limits _{\zeta \in E(T)} {\mathcal {C}} _{n}(\zeta )\) and \(\mathrm {sl\,}(T)=\{\, \mathrm {fix\, }(\zeta )\, : \, \zeta \in E(T)\, \}\) is a subsemigroup of the free semilattice \(\mathcal {SL}_{n}\). For any isolated subsemigroup T of \({\mathcal {C}}_{n}\), we prove that T is completely isolated if and only if \(\mathrm {sl\,}(T)\) is a completely isolated subsemigroup of \(\mathcal {SL} _{n}(1)=\{\, Y : 1\in Y\subseteq X_{n} \}\), which is clearly isomorphic to \(\mathcal {SL}_{n-1}\). In the third section, for a (completely isolated) subsemigroup T of \({\mathcal {C}}_{n}\), we prove that T is convex if and only if \(T={\mathcal {C}}_{n}[Y]=\{ \alpha \in {\mathcal {C}}_{n} : Y\subseteq \mathrm {fix\, }(\alpha )\}\), where \(Y=\bigcap \limits _{ \zeta \in E(T)} \mathrm {fix\, }(\zeta )\). Finally, we find the cardinality and the minimum generating set of \({\mathcal {C}}_{n}[Y]\), and so we conclude that \(\mathrm {rank\, }({\mathcal {C}}_{n}[Y])=n-|Y|+1\).

2 Completely Isolated Subsemigroups of \({\mathcal {C}}_{n}\)

Let \(\zeta \) be any idempotent element of a semigroup S and let

$$\begin{aligned} S(\zeta )=\{\alpha \in S:\alpha ^{m}=\zeta \ \text{ for } \text{ some } \ m\in {\mathbb {N}}\} . \end{aligned}$$

The following lemma, which was proved in [5, Lemma 5.3.4], is very useful to classify all isolated subsemigroups of \({\mathcal {C}}_{n}\).

Lemma 2.1

Let S be a semigroup, and let T be a subsemigroup of S.

  1. (i)

    If T is isolated, then \(S(\zeta )\subseteq T\), for all \(\zeta \in E(T)\).

  2. (ii)

    If T is isolated, and if S is finite, then \(T=\bigcup \limits _{\zeta \in E(T)} S(\zeta )\). \(\square \)

For any \(\zeta \in E({\mathcal {C}}_{n})\), it follows from [16, Proposition 2] that

$$\begin{aligned} {\mathcal {C}}_{n}(\zeta )=\{\alpha \in {\mathcal {C}}_{n} : \alpha ^{m}=\zeta \text{ for } \text{ some } m\in {\mathbb {N}}\} \end{aligned}$$

is a subsemigroup of \({\mathcal {C}}_{n}\) with zero element \(\zeta \). Furthermore, if T is a nilpotent subsemigroup of \({\mathcal {C}}_{n}\) with zero \(\zeta \), then it is clear that T is a subset of \(\mathcal {C}_{n}(\zeta )\), and so \({\mathcal {C}}_{n}(\zeta )\) is the maximum nilpotent subsemigroup of \({\mathcal {C}}_{n}\) with zero element \(\zeta \). Notice that \({\mathcal {C}}_{n}(\varepsilon )=N({\mathcal {C}}_n)\), where \(\varepsilon = \left( \begin{array}{ccc} 1 &{} \cdots &{} n\\ 1 &{} \cdots &{} 1 \end{array}\right) \).

The following proposition from [16] plays a major role throughout this paper.

Proposition 2.2

Let \(\zeta \) be any idempotent, and let \(\alpha \) be any element of  \({\mathcal {C}}_n\). Then, \(\alpha \in {\mathcal {C}}_{n}(\zeta )\) if and only if \(\mathrm {fix\, }(\alpha )=\mathrm {fix\, }(\zeta )\). \(\square \)

It is known that for any \(\alpha ,\beta \in {\mathcal {D}}_{n}\), \(\mathrm {fix\, }(\alpha \beta ) =\mathrm {fix\, }(\alpha )\cap \mathrm {fix\, }(\beta )\) (for example, see [10, Lemma 1.1]), and so we are able state the following technical proposition, which also plays an important role throughout in our paper.

Proposition 2.3

  1. (i)

    For any \(\alpha ,\beta \in {\mathcal {C}}_{n}\)\(\mathrm {fix\, }(\alpha \beta )=\mathrm {fix\, }(\alpha )\cap \mathrm {fix\, }(\beta )\).

  2. (ii)

    For any \(\alpha \in {\mathcal {C}}_n\) and for any \(k\in {\mathbb {N}}\)\(\mathrm {fix\, }(\alpha ^{k})=\mathrm {fix\, }(\alpha )\).

Proof

(i) Since \({\mathcal {C}}_{n}\) is a subsemigroup of \({\mathcal {D}}_{n}\), it is an immediate consequence of Lemma 1.1 from [10].

(ii) The result follows from (i) by induction on k. \(\square \)

Notice that Proposition 2.3 is not valid for all transformations in \({\mathcal {T}}_{n}\). Next, we have the following result:

Theorem 2.4

For any \(\zeta \in E({\mathcal {C}}_{n})\), \({\mathcal {C}}_{n}(\zeta )\) is the unique isolated nilpotent subsemigroup of \({\mathcal {C}}_{n}\) with zero element \(\zeta \).

Proof

We have just noticed that \({\mathcal {C}}_{n}(\zeta )\) is the maximal nilpotent subsemigroup of \(\mathcal {C}_{n}\) with the zero element. Let \(\mathrm {fix\, }(\zeta )=\{1=a_{1}<a_{2}<\cdots <a_{p}\}\). Given \(\alpha \in \mathcal {C}_{n}\) and \(k\in {\mathbb {N}}\), suppose that \(\alpha ^{k}\in {\mathcal {C}}_{n} (\zeta )\). Then, it follows from Propositions 2.2 and 2.3 (ii) that \(\mathrm {fix\, }(\alpha )=\mathrm {fix\, }(\alpha ^{k})=\{ 1=a_{1}<a_{2}<\cdots <a_{p} \}\), and so \(\alpha \in {\mathcal {C}}_{n}(\zeta )\). Therefore, \({\mathcal {C}}_{n}(\zeta )\) is isolated.

Let T be any isolated nilpotent subsemigroup of \({\mathcal {C}}_{n}\) with zero element \(\zeta \). Since T is nilpotent, \(E(T)=\{\zeta \}\), and so it follows from Lemma 2.1 (ii) that \(T={\mathcal {C}}_{n}(\zeta )\), as required. \(\square \)

The following example shows that the union of isolated subsemigroups does not need to be even a semigroup.

Example 2.5

Let \(\zeta _1 =\left( \begin{array}{cccc} 1&{} 2 &{} 3 &{} 4 \\ 1&{} 1 &{} 1 &{} 4 \end{array}\right) \) and \(\zeta _2 =\left( \begin{array}{cccc} 1&{} 2 &{} 3 &{} 4 \\ 1&{} 2 &{} 2 &{} 2 \end{array}\right) ,\) which are two idempotents of \({\mathcal {C}}_{4}\). Then, \({\mathcal {C}}_{4}(\zeta _{1})\) and \({\mathcal {C}}_{4}(\zeta _{2})\) are two isolated subsemigoups of \({\mathcal {C}}_{4}\), but \(\zeta _{1}\zeta _{2}=\left( \begin{array}{cccc} 1&{} 2 &{} 3 &{} 4 \\ 1&{} 1 &{} 1 &{} 2 \end{array}\right) \) is not in \({\mathcal {C}}_{4}(\zeta _{1})\cup {\mathcal {C}}_{4}(\zeta _{2})\). \(\square \)

To complete the classification of isolated subsemigroups of \({\mathcal {C}}_{n}\), we state and prove the following lemma:

Lemma 2.6

Let T be an isolated subsemigroup of \({\mathcal {C}}_{n}\).

  1. (i)

    For any idempotent element \(\zeta \) of T\({\mathcal {C}}_{n}(\zeta )\) is a subsemigroup of T.

  2. (ii)

    If \(\zeta _{1}\) and \(\zeta _{2}\) are two idempotents elements of T, then there exists an idempotent element \(\zeta _{3}\) of T such that \(\mathrm {fix\, }(\zeta _{1})\cap \mathrm {fix\, }(\zeta _{2}) =\mathrm {fix\, }(\zeta _{3})\).

Proof

(i) It is an immediate consequence of the concerning definitions.

(ii) For any \(\zeta _{1},\zeta _{2}\in E(T)\), let \(\zeta _{1}\zeta _{2}=\alpha \). Since T is a finite subsemigroup, there exists a positive integer k such that \(\alpha ^{k}\) is an idempotent element of T, that is there exist a positive integer k and an idempotent \(\zeta _{3}\in E(T)\) such that \(\alpha ^{k}= \zeta _{3}\). Therefore, it follows from Proposition 2.3 that

$$\begin{aligned} \mathrm {fix\, }(\zeta _{1})\cap \mathrm {fix\, }(\zeta _{2})=\mathrm {fix\, }(\zeta _1\zeta _2)=\mathrm {fix\, }(\alpha )=\mathrm {fix\, }(\alpha ^{k})=\mathrm {fix\, }(\zeta _{3}), \end{aligned}$$

as wanted. \(\square \)

Notice that for any non-empty subset Y of \(X_{n}\), there are many idempotents in \({\mathcal {T}}_{n}\) whose fix set is Y. Notice also that, for every \(\alpha \) in \({\mathcal {C}}_{n}\), we have \(1\in \mathrm {fix\, }(\alpha )\). However, for \(Y\subseteq X_{n}\) which contains 1, there is a unique idempotent \(\zeta \) in \({\mathcal {C}}_{n}\) such that \(\mathrm {fix\, }(\zeta )=Y\). Namely, if \(Y=\{ 1=a_{1}<a_{2}< \cdots <a_{r} \}\subseteq X_{n}\), then \(\zeta =\left( \begin{array}{cccc} A_{1}&{} A_{2} &{} \cdots &{} A_{r} \\ 1 &{} a_{2} &{} \cdots &{} a_{r} \end{array}\right) \) where \(A_{i}=\{a_{i},a_{i}+1,\ldots ,a_{i+1}-1\}\), with \(1\le i\le r-1\) and \(A_{r}=\{a_{r}, a_{r}+1, \ldots ,n\}\). Moreover, it is clear that the subset of \(X_{n}\)

$$\begin{aligned} \mathrm {sl\,}({\mathcal {C}}_{n}) =\{ \mathrm {fix\, }(\zeta ): \zeta \in E({\mathcal {C}}_{n}) \} = \{ Y\subseteq X_{n}: 1\in Y \} \end{aligned}$$

is a subsemigroup of \(\mathcal {SL}_{n}\). Furthermore, for \(n\ge 2\)\(\mathrm {sl\,}({\mathcal {C}}_{n})\) and \(\mathcal {SL}_{n-1}\) are isomorphic semigroups. Now, we state and prove one of our main results: it presents a complete description of all isolated proper subsemigroups of \({\mathcal {C}}_{n}\).

Theorem 2.7

Let T be a non-empty subset of \({\mathcal {C}}_{n}\). If E(T) is not empty, then T is an isolated subsemigroup of \({\mathcal {C}}_{n}\) if and only if the following two conditions are satisfied:

  1. (a)

    \(T=\bigcup \limits _{\zeta \in E(T)} {\mathcal {C}}_{n}(\zeta )\) and

  2. (b)

    \(\mathrm {sl\,}(T)=\{\, \mathrm {fix\, }(\zeta )\, : \, \zeta \in E(T)\, \}\) is a subsemigroup of the free semilattice \(\mathcal {SL}_{n}\).

Proof

(\(\Rightarrow \)) Since \({\mathcal {C}}_{n}\) is finite, it follows from Lemma 2.1 (ii) that \(T= \bigcup \limits _{\zeta \in E(T)} {\mathcal {C}}_ {n}(\zeta )\). For any \(\zeta _{1},\zeta _{2} \in E(T)\), it follows from Lemma 2.6 (ii) that there exists an idempotent element \(\zeta _{3}\) of T such that \(\mathrm {fix\, }(\zeta _{1} ) \cap \mathrm {fix\, }(\zeta _{2}) =\mathrm {fix\, }(\zeta _{3})\), and so \(\mathrm {sl\,}(T)\) is a subsemigroup of \(\mathcal {SL}_{n}\).

(\(\Leftarrow \)) For a non-empty subset T of \({\mathcal {C}}_{n}\), suppose that E(T) is not empty,  \(T=\bigcup \limits _{ \zeta \in E(T)} {\mathcal {C}}_{n}(\zeta )\), and that \(\mathrm {sl\,}(T)=\{ \mathrm {fix\, }(\zeta ) :\zeta \in E(T) \}\) is a subsemigroup of \(\mathcal {SL}_{n}\). For \(\alpha , \beta \in T\), there exist two idempotents \(\zeta _{1}, \zeta _{2}\in E(T)\) such that \(\alpha \in {\mathcal {C}}_{n}(\zeta _{1})\) and \(\beta \in {\mathcal {C}}_{n}( \zeta _{2})\). From Proposition 2.2, we have \(\mathrm {fix\, }(\alpha )=\mathrm {fix\, }( \zeta _{1})\) and \(\mathrm {fix\, }(\beta )=\mathrm {fix\, }(\zeta _{2})\). Then, it follows from Proposition 2.3 (i) that

$$\begin{aligned} \mathrm {fix\, }(\alpha \beta )= \mathrm {fix\, }(\alpha )\cap \mathrm {fix\, }(\beta ) =\mathrm {fix\, }(\zeta _{1})\cap \mathrm {fix\, }( \zeta _{2}). \end{aligned}$$

Let \(\zeta _{3}\) be the unique idempotent in \({\mathcal {C}}_{n}\) with \(\mathrm {fix\, }(\zeta _{3})=\mathrm {fix\, }(\zeta _{1})\cap \mathrm {fix\, }(\zeta _{2})\). It follows from (b) and (a) that \(\mathrm {fix\, }(\zeta _{3}) \in \mathrm {sl\,}(T)\) and \({\mathcal {C}} _{n}(\zeta _{3})\subseteq T\). Since \(\mathrm {fix\, }(\alpha \beta )=\mathrm {fix\, }(\zeta _{3})\), it follows Proposition 2.2 that \(\alpha \beta \in {\mathcal {C}} _{n}(\zeta _{3})\). Therefore, T is a subsemigroup, and from Theorem 2.4, is clearly isolated, as required.\(\square \)

For a subsemigroup T of \({\mathcal {C}}_{n}\), notice that if \(T=\{1_{n}\}\), where \(1_{n}\) denotes the identity element of \({\mathcal {C}}_{n}\), then, since \(1_{n}\) is irreducible, \(T=\{1_{n}\}\) is isolated. If \(1_{n}\in T\not = \{1_{n}\}\), then it is clear that T is isolated exactly when \(T\setminus \{1_{n}\}\) is an isolated subsemigroup of \({\mathcal {C}}_{n}\).

Now, we focus on completely isolated subsemigroups of \({\mathcal {C}}_{n}\). The following example shows that for any non-identity \(\zeta \in E({\mathcal {C}}_{n})\), \({\mathcal {C}}_{n}(\zeta )\) is not a completely isolated, and so is not, in general, (right/left) convex subsemigroup of \({\mathcal {C}}_{n}\).

Example 2.8

Let \(\zeta =\left( \begin{array}{ccccc} 1&{} 2 &{} 3 &{} 4 &{} 5 \\ 1&{} 1 &{} 3 &{} 3 &{} 3 \end{array}\right) ,\) which is an idempotent element of \({\mathcal {C}}_5\). If we consider two transformations, namely \(\alpha =\left( \begin{array}{ccccc} 1&{} 2 &{} 3 &{} 4 &{} 5 \\ 1&{} 1 &{} 3 &{} 4 &{} 5 \end{array}\right) \) and \(\beta =\left( \begin{array}{ccccc} 1&{} 2 &{} 3 &{} 4 &{} 5 \\ 1&{} 2 &{} 3 &{} 3 &{} 4 \end{array}\right) \), then we have \(\alpha \beta =\left( \begin{array}{ccccc} 1&{} 2 &{} 3 &{} 4 &{} 5 \\ 1&{} 1 &{} 3 &{} 3 &{} 4 \end{array}\right) .\) It follows from Proposition 2.2 that \(\alpha \beta \in {\mathcal {C}}_{5}(\zeta )\). However, neither \(\alpha \) nor \(\beta \) are in \({\mathcal {C}}_{5}(\zeta )\). Therefore, \({\mathcal {C}}_{5}(\zeta )\) is not completely isolated, and so not (left/right) convex. \(\square \)

The following lemma is given in [5, Exercise 5.3.1] which is an immediate consequence of the considered definitions.

Lemma 2.9

A proper subsemigroup \(T\subset S\) is completely isolated if and only if its complement \({\overline{T}}=S \setminus T\) is a subsemigroup. In particular, if T is completely isolated, then \({\overline{T}}\) is completely isolated as well. \(\square \)

Since the permutation group \({\mathcal {S}}_{n}\) and the singular transformation semigroup \(\text{ Sing}_{n}= {\mathcal {T}}_{n}\setminus {\mathcal {S}}_{n}\) are both subsemigroups of \({\mathcal {T}}_{n}\), it follows from Lemma 2.9 that both \({\mathcal {S}}_{n}\) and \(\text{ Sing}_{n}\) are completely isolated subsemigroups of \({\mathcal {T}}_{n}\). Moreover, since \({\mathcal {C}}_{n}\setminus \{ 1_{n}\}\) and \(\{1_{n}\}\) are both subsemigroups of \({\mathcal {C}}_{n}\), similarly, both \({\mathcal {C}}_{n}\setminus \{ 1_{n}\}\) and \(\{1_{n}\}\) are completely isolated. It is also clear that a subsemigroup \(T\not =\{1_{n}\}\) of \({\mathcal {C}}_{n}\) with \(1_{n}\) is completely isolated if and only if \(T\setminus \{1_{n}\}\) is completely isolated. Furthermore, if T is a completely isolated subsemigroup of \({\mathcal {C}}_{n}\), then since every completely isolated subsemigroup is isolated, it follows from Theorem 2.7 (b) that \(\mathrm {sl\,}(T)=\{\,\mathrm {fix\, }(\zeta )\, : \, \zeta \in E(T)\, \}\) is a subsemigroup of \(\mathcal {SL}_{n}\). For \(n\ge 2\), we define the set

$$\begin{aligned} \mathrm {csl\,}(T)=\{\, Y : 1\in Y\subseteq X_{n},\ Y\not \in \mathrm {sl\,}(T)\, \}, \end{aligned}$$

so that \(\mathrm {sl\,}(T)\cap \mathrm {csl\,}(T)=\emptyset \) and \(\mathrm {sl\,}(T)\cup \mathrm {csl\,}(T)= \mathcal {SL}_{n}(1)\), where

$$\begin{aligned} \mathcal {SL}_{n}(1)=\{\, Y : 1\in Y\subseteq X_{n} \, \} . \end{aligned}$$

It is clear that \(\mathcal {SL}_{n}(1)\) is a subsemigroup of \(\mathcal {SL}_{n}\) and isomorphic to \(\mathcal {SL}_{n-1}\). Since completely isolated subsemigroups are isolated, we consider only isolated subsemigroups in the following theorem:

Theorem 2.10

For any isolated subsemigroup T of \({\mathcal {C}}_{n}\), T is completely isolated if and only if \(\mathrm {sl\,}(T)\) is a completely isolated subsemigroup of \(\mathcal {SL}_{n}(1)\).

Proof

First of all, since \(1\in \mathrm {fix\, }(\alpha )\), for every \(\alpha \in T\), it follows from Theorem 2.7 (b) that \(\mathrm {sl\,}(T)\) is a subsemigroup of \(\mathcal {SL}_{n}(1)\).

(\(\Rightarrow \)) Suppose that T is completely isolated, and that, for \(Y_{1}, Y_{2}\in \mathcal {SL}_{n}(1)\),   \(Y_{1}\cap Y_{2}\in \mathrm {sl\,}(T)\). Let \(\zeta _{1}\), \(\zeta _{2}\) and \(\zeta _{3}\) be the idempotent elements in \({\mathcal {C}}_{n}\) such that \(Y_{1}=\mathrm {fix\, }(\zeta _{1})\), \(Y_{2}=\mathrm {fix\, }(\zeta _{2})\) and \(Y_{1}\cap Y_{2}= \mathrm {fix\, }(\zeta _{3})\), respectively. Since \(Y_{1}\cap Y_{2}=\mathrm {fix\, }(\zeta _{3})\in \mathrm {sl\,}(T)\),  it follows from the uniqueness of \(\zeta _{3}\) that \(\zeta _{3}\in T\), and so from Lemma 2.6 (i),  \({\mathcal {C}}_{n}(\zeta _ {3})\) is a subsemigroup of T. From Proposition 2.3 (i), since we have

$$\begin{aligned} \mathrm {fix\, }(\zeta _{1}\zeta _{2})=\mathrm {fix\, }(\zeta _{1})\cap \mathrm {fix\, }(\zeta _{2})=Y_{1}\cap Y_{2}=\mathrm {fix\, }(\zeta _{3}), \end{aligned}$$

it follows from Proposition 2.2 that \(\zeta _{1}\zeta _{2}\in {\mathcal {C}}_{n}(\zeta _{3})\), and so \(\zeta _{1} \zeta _{2}\in T\). Since T is completely isolated, \(\zeta _{1}\in T\) or \(\zeta _{2}\in T\), and so \(\zeta _{1}\in E(T)\) or \(\zeta _{2}\in E(T)\). Thus, \(Y_{1}\in \mathrm {sl\,}(T)\) or \(Y_{2}\in \mathrm {sl\,}(T)\), as required.

(\(\Leftarrow \)) Suppose that \(\mathrm {sl\,}(T)\) is completely isolated, and that, for \(\alpha , \beta \in {\mathcal {C}}_{n}\)\(\alpha \beta \in T\). As above, let \(\zeta _{1}\), \(\zeta _{2}\) and \(\zeta _{3}\) be the elements in \({\mathcal {C}}_{n}\) such that \(\mathrm {fix\, }(\alpha )=\mathrm {fix\, }(\zeta _{1})\), \(\mathrm {fix\, }(\beta ) =\mathrm {fix\, }(\zeta _{2})\) and \(\mathrm {fix\, }(\alpha \beta )=\mathrm {fix\, }(\zeta _{3})\), respectively. From Proposition 2.2, we have \(\alpha \in {\mathcal {C}}_{n} (\zeta _{1})\)\(\beta \in {\mathcal {C}}_{n}(\zeta _{2})\) and \(\alpha \beta \in {\mathcal {C}}_{n} (\zeta _{3})\), and so since \(\alpha \beta \in T\), it follows from Proposition 2.3 (ii) that \(\zeta _{3}\in T\). From Proposition 2.3 (i), since we have

$$\begin{aligned} \mathrm {fix\, }(\zeta _{3})=\mathrm {fix\, }(\alpha \beta )=\mathrm {fix\, }(\alpha )\cap \mathrm {fix\, }( \beta )=\mathrm {fix\, }(\zeta _{1})\cap \mathrm {fix\, }(\zeta _{2}) \in \mathrm {sl\,}(T), \end{aligned}$$

and since \(\mathrm {sl\,}(T)\) is completely isolated, it follows that \(\mathrm {fix\, }(\zeta _{1})\) or \(\mathrm {fix\, }( \zeta _{2})\) is in \(\mathrm {sl\,}(T)\), and so \(\zeta _{1}\) or \(\zeta _{2}\) is in T. Then, since \(\alpha \in {\mathcal {C}}_{n}( \zeta _{1})\) and \(\beta \in {\mathcal {C}}_{n} (\zeta _{2})\), it follows from Lemma 2.6 (i) that \(\alpha \) or \(\beta \) is an element of T, as required. \(\square \)

For \(n\ge 2\), let Y be a subset of \(X_{n}\) containing 1. Then, we consider the sets:

$$\begin{aligned} {\mathcal {C}}_{n}[Y]= & {} \{ \, \alpha \in {\mathcal {C}}_{n} : Y\subseteq \mathrm {fix\, }(\alpha )\, \}\quad \text{ and } \\ \overline{{\mathcal {C}}}_{n}[Y]= & {} \{\, \alpha \in {\mathcal {C}}_{n} : Y\setminus \mathrm {fix\, }(\alpha )\not = \emptyset \, \} . \end{aligned}$$

First recall that if \(\alpha \in {\mathcal {C}}_{n}\), then \(1\in \mathrm {fix\, }(\alpha )\). Then, it is clear that \(\mathcal {C}_{n}[\{1\}]={\mathcal {C}}_{n}\) is isolated, and that \(\overline{{\mathcal {C}}}_{n}[\{1\}]=\emptyset \). Moreover, \({\mathcal {C}}_{n}[X_{n}]=\{ 1_{n}\}\) and \(\overline{{\mathcal {C}}}_{n}[X_{n}]={\mathcal {C}}_{n}\setminus \{ 1_{n}\}\) are both completely isolated. Now, we state and prove a less trivial result:

Lemma 2.11

For every proper subset \(Y\not = \{ 1\}\) of \(X_{n}\) containing 1,  \({\mathcal {C}}_{n}[Y]\) and \(\overline{{\mathcal {C}}}_{n}[Y]\) are both completely isolated subsemigroups of \({\mathcal {C}}_{n}\).

Proof

Given \(\alpha ,\beta \in {\mathcal {C}}_{n}\),  it follows from Proposition 2.3 (i) that for every \(i\in Y\)\(i\in \mathrm {fix\, }(\alpha \beta )\) if and only if \(i\in \mathrm {fix\, }(\alpha )\) and \(i\in \mathrm {fix\, }(\beta )\), and so \({\mathcal {C}}_{n}[Y]\) is a subsemigroup of \({\mathcal {C}}_{n}\). Similarly, since

$$\begin{aligned} Y\setminus \mathrm {fix\, }(\alpha \beta ) = Y\setminus (\mathrm {fix\, }(\alpha )\cap \mathrm {fix\, }(\beta ))= (Y\setminus \mathrm {fix\, }(\alpha ))\cup (Y\setminus \mathrm {fix\, }(\beta )), \end{aligned}$$

it follows that \(\overline{{\mathcal {C}}}_{n}[Y]\) is a subsemigroup of \({\mathcal {C}}_{n}\). Now, the result follows from Lemma 2.9. \(\square \)

In the above proof, it is also shown that \(\overline{{\mathcal {C}}}_{n}[Y]\) is an ideal of \({\mathcal {C}}_{n}\).

Proposition 2.12

If T is a completely isolated subsemigroup of \({\mathcal {C}}_{n}\), then T is a subsemigroup of \({\mathcal {C}}_{n}[Y]\) where \(Y=\bigcap \limits _{\zeta \in E(T)} \mathrm {fix\, }(\zeta )\).

Proof

For \(\alpha \in T\), it follows from Theorem 2.7 (a) and Proposition 2.2 that there exists \(\zeta \in E(T)\) such that \(\alpha \in {\mathcal {C}}_{n}(\zeta )\) and \(\mathrm {fix\, }(\alpha )=\mathrm {fix\, }(\zeta )\). Thus, \(Y\subseteq \mathrm {fix\, }(\alpha )\), and so \(\alpha \in {\mathcal {C}}_{n}[Y]\). \(\square \)

In general, it is not the case that T is \({\mathcal {C}}_{n}[Y]\) where \(Y=\bigcap \limits _{\zeta \in E(T)} \mathrm {fix\, }(\zeta )\). To demonstrate this fact, we give the following counter-example:

Example 2.13

Let

$$\begin{aligned} T=\left\{ \left( \begin{array}{cccc} 1 &{} 2 &{} 3 &{} 4 \\ 1 &{} 2 &{} 2 &{} 2 \end{array}\right) , \left( \begin{array}{cccc} 1 &{} 2 &{} 3 &{} 4 \\ 1 &{} 2 &{} 2 &{} 3 \end{array}\right) , \left( \begin{array}{cccc} 1 &{} 2 &{} 3 &{} 4 \\ 1 &{} 2 &{} 3 &{} 3 \end{array}\right) \right\} . \end{aligned}$$

It is easy to check that T is a subsemigroup of \({\mathcal {C}}_{4}\), and moreover, \(\mathrm {sl\,}(T)= \{\{1,2\},\{1,2,3\}\}\) and \(\mathrm {csl\,}(T)=\{\{1\},\{1,3\},\{1,4\},\{1,2,4\},\{1,3,4\},\{1,2,3,4\}\}\) which are both subsemigroups of \(\mathcal {SL}_{4}(1)\). Therefore, it follows from Lemma 2.9 and Theorem 2.10 that T is completely isolated. However, \(\left( \begin{array}{cccc} 1 &{} 2 &{} 3 &{} 4 \\ 1 &{} 2 &{} 2 &{} 4 \end{array}\right) \in {\mathcal {C}}_{4}[\{1,2\}]\), and so \({\mathcal {C}}_{4}[\{1,2\}]\not = T\). \(\square \)

In the next section, we characterize all situations where the example does not occur.

3 Convex Subsemigroups of \({\mathcal {C}}_{n}\)

Next, we focus on (left/right) convex subsemigroups of \({\mathcal {C}}_{n}\). Since every (left/right) convex subsemigroup is completely isolated, in this section, we only consider completely isolated subsemigroups of \({\mathcal {C}}_{n}\).

Lemma 3.1

For any completely isolated subsemigroup T of \({\mathcal {C}}_{n}\), T is left (right) convex if and only if \(\mathrm {sl\,}(T)\) is a left (right) convex subsemigroup of \(\mathcal {SL}_{n}(1)\).

Proof

The proofs are similar to the proof of Theorem 2.10. \(\square \)

Since \(\mathcal {SL}_{n}(1)\) is a commutative semigroup, a subsemigroup of \(\mathcal {SL}_{n}(1)\) is left convex if and only if it is right convex, and so from Lemma 3.1, a subsemigroup of \({\mathcal {C}}_{n}\) is left if and only if it is right convex. Therefore, it is enough to classify only convex subsemigroups of \({\mathcal {C}}_{n}\). Moreover, if T is a convex subsemigroup of \({\mathcal {C}}_{n}\), then since for any \(a\in T\)\(1_{n}a=a1_{n}=a\in T\),   \(1_{n}\in T\). From now on, we consider only completely isolated subsemigroups of \({\mathcal {C}}_{n}\) with identity.

Theorem 3.2

Let T be a (completely isolated) subsemigroup of \({\mathcal {C}}_{n}\) with identity. Then, T is convex if and only if \(T={\mathcal {C}}_{n}[Y]\) where \(Y=\bigcap \limits _{\zeta \in E(T)} \mathrm {fix\, }(\zeta )\).

Proof

Let \(E(T)=\{\,\zeta _{1},\ldots ,\zeta _{r}\,\}\)\(Y=\bigcap \limits _{i=1}^{r}\mathrm {fix\, }(\zeta _{i} )\), and let \(\zeta _{_{Y}}\) be the unique idempotent with \(\mathrm {fix\, }(\zeta _{_{Y}})=Y\). Since \(\zeta _{1}\cdots \zeta _{r}\in T\), it follows from Proposition 2.3 (i) and (ii), and Theorem 2.7 (a) that \(\mathrm {fix\, }(\zeta _{1}\cdots \zeta _{r}) =Y\), and that \(\zeta _{_{Y}}\in T\). Moreover, since every completely isolated subsemigroup is isolated, it follows from Lemma 2.6 (i) that \({\mathcal {C}}_{n} (\zeta _{_{Y}})\) is a subsemigroup of T.

(\(\Rightarrow \)) Suppose that T is a convex subsemigroup of \({\mathcal {C}}_{n}\). Given \(\alpha \in \mathcal {C}_{n}[Y]\), since \(\mathrm {fix\, }(\alpha \zeta _{_{Y}})=\mathrm {fix\, }(\alpha )\cap \mathrm {fix\, }(\zeta _{_{Y}})=\mathrm {fix\, }(\zeta _{_{Y}})=Y\), it follows from Proposition 2.2 and Theorem 2.7 (a) that \(\alpha \zeta _{_{Y}}\in {\mathcal {C}}_{n}(\zeta _{_{Y}})\), and so \(\alpha \zeta _{_{Y}}\in T\). From convexity of T, we have \(\alpha \in T\), and so \({\mathcal {C}}_{n}[Y]\subseteq T\). It follows from Proposition 2.12 that \(T={\mathcal {C}}_{n}[Y]\).

(\(\Leftarrow \)) First of all, from Lemma 2.11\(T={\mathcal {C}}_{n}[Y]\) is completely isolated. For \(\alpha ,\beta \in {\mathcal {C}}_{n}\), suppose that \(\alpha \beta \in {\mathcal {C}}_{n}[Y]\). Since \(Y\subseteq \mathrm {fix\, }(\alpha \beta )\), it follows from Proposition 2.3 (i) that \(Y\subseteq \mathrm {fix\, }(\alpha )\) and \(Y\subseteq \mathrm {fix\, }(\beta )\), and so both \(\alpha \) and \(\beta \) are elements of \({\mathcal {C}}_{n}[Y]\), as required. \(\square \)

For every proper subset \(Y\not = \{ 1\}\) of \(X_{n}\) containing 1, we know from Lemma 2.11 that both \({\mathcal {C}}_{n}[Y]\) and \(\overline{{\mathcal {C}}}_{n}[Y]\) are completely isolated. From Theorem 3.2, we know also that \({\mathcal {C}}_{n}[Y]\) is convex. However, \(\overline{{\mathcal {C}}}_{n}[Y]\) is not convex in general. To illustrate this fact, we give the following counter example:

Example 3.3

Let \(n=4\) and \(Y=\{ 1,2\}\). Then,

$$\begin{aligned} \mathcal {SL}_{4}(1)=\{\{1\},\{1,2\},\{1,3\},\{1,4\},\{1,2,3\},\{1,2,4\},\{1,3,4\},\{1,2,3,4\}\} , \end{aligned}$$

and so \(\alpha \in \overline{{\mathcal {C}}}_{4}[\{1,2\}]\) if and only if \(\mathrm {fix\, }(\alpha )\in \{\{1\},\{1,3\}, \{1,4\},\{1,3,4\}\}\). If we consider two elements \(\beta =\left( \begin{array}{cccc} 1 &{} 2 &{} 3 &{} 4 \\ 1 &{} 2 &{} 3 &{} 3 \end{array}\right) \) and \(\gamma =\left( \begin{array}{cccc} 1 &{} 2 &{} 3 &{} 4 \\ 1 &{} 1 &{} 3 &{} 4 \end{array}\right) \), then we see that \(\beta \gamma =\gamma \beta =\left( \begin{array}{cccc} 1 &{} 2 &{} 3 &{} 4 \\ 1 &{} 1 &{} 3 &{} 3 \end{array}\right) \), which is an element of \(\overline{{\mathcal {C}}}_{4}[\{1,2\}]\). However, \(\beta \) is not an element of \(\overline{{\mathcal {C}}} _{4}[\{1,2\}]\), and so \(\overline{{\mathcal {C}}}_{4}[\{1,2\}]\) is not convex. \(\square \)

Moreover, from Lemma 2.11, Theorems 2.7 and 3.2 , we have the following immediate result:

Corollary 3.4

A subsemigroup T of \(\mathcal {SL}_{n}\) is convex if and only if

$$\begin{aligned} T=\{ Y\in \mathcal {SL}_{n} : Y_{T}\subseteq Y\} \end{aligned}$$

where \(Y_{T}=\bigcap \limits _{Y\in T}Y\), that is, \(Y_{T}\) is the zero of T. \(\square \)

For every proper subset \(Y\not = \{ 1\}\) of \(X_{n}\) containing 1, suppose that \(E({\mathcal {C}}_{n}[Y]) =\{ \zeta _{1},\zeta _{2}, \ldots ,\zeta _{r}\}\). Then, it is clear from Lemma 2.1 (ii) that \({\mathcal {C}}_{n}[Y]\) is the union of its disjoint subsemigroups \({\mathcal {C}}_{n}(\zeta _{1}),\ldots ,{\mathcal {C}}_{n}(\zeta _{r})\). For each \(1\le i\le r\), let \(\mathrm {fix\, }(\zeta _{i})=\{ 1=a_{i,1}< a_{i,2}< \cdots < a_{i,p_{i}}\}\). Then, for each \(1\le i\le r\), it follows from [16, Theorem 3] that \(|{\mathcal {C}}_{n} (\zeta _{i}) |=\prod \limits _{j=1}^{p_{i}} C_{k_{j}-1}\)  (recall that \(C_{n}\) is n-th Catalan number), and so we have

$$\begin{aligned} |{\mathcal {C}}_{n}[Y]|=\sum _{i=1}^{r}\left( \prod _{j=1}^{p_{i}} C_{k_{j}-1} \right) \end{aligned}$$

where \(k_{j} = a_{i,j+1}-a_{i,j}\) for \(1\le j \le p_{i}-1\) and \(k_{p_{i}}=n-a_{i,p_{j}}+1\).

For all \(1\le i\le n-1\), we consider the transformations

$$\begin{aligned} \xi _{i}=\left( \begin{array}{ccccccc} 1 &{} \cdots &{} i &{} i+1 &{} i+2 &{} \cdots &{} n\\ 1 &{} \cdots &{} i &{} i &{} i+2 &{} \cdots &{} n \end{array} \right) , \end{aligned}$$

which are idempotent elements of \({\mathcal {C}}_{n}\). It is known that \(\{\xi _{1},\xi _{2},\ldots ,\xi _{n-1} \}\) is the minimum generating set for \({\mathcal {C}}_{n}\setminus \{1_{n}\}\), and so \(\mathrm {rank\, }({\mathcal {C}}_{n} \setminus \{1_{n}\})=n-1\) for \(n\ge 2\) (see [5, Theorem 14.4.5]).

Lemma 3.5

For every proper subset \(Y\not = \{ 1\}\) of \(X_{n}\) containing 1,  \({\mathcal {C}}_{n}[Y]\) is generated by the set \(\{ \xi _{i} : i+1\in X_{n}\setminus Y \}\cup \{1_{n}\}\).

Proof

If \(|Y|=n-1\), then it is clear that \({\mathcal {C}}_{n}[Y]=\{ \xi _{i}\}\cup \{1_{n}\}\) for some \(1\le i\le n-1\), and so the result is clear. Suppose that \(2\le |Y|\le n-2\) (and that \(n\ge 4\)). Let \(A=\{ \xi _{i} : i+1\in X_{n}\setminus Y \}\). Then, we show that A is a generating set for \({\mathcal {C}}_{n}[Y]\) by induction on the cardinality of shift. First of all, if \(\alpha \in {\mathcal {C}}_{n}[Y]\setminus \{1_{n}\}\), then \(1\le |\mathrm {shift\, }(\alpha )|\le n-|Y|\), and moreover, if \(|\mathrm {shift\, }(\alpha )|= 1\), then it is clear that \(\alpha \in A\). Now, we suppose that \(|\mathrm {shift\, }(\alpha )|\ge 2\). Let i be the maximum element of \(\mathrm {shift\, }(\alpha )\), and let \(i\alpha =j\). Hence, we have the inequalities \(1\le j\le i-1\), and \((j+1)\alpha \le j\). Then, consider the transformation \(\alpha _{i}\) defined by

$$\begin{aligned} x\alpha _{i}=\left\{ \begin{array}{ll} x\alpha &{} \text{ if } \, x\le i-1\\ x &{} \text{ otherwise } \end{array}\right. . \end{aligned}$$

Then, it is clear that \(\alpha _{i}\in {\mathcal {C}}_{n}[Y]\) and \(|\mathrm {shift\, }(\alpha _{i})|= |\mathrm {shift\, }(\alpha ) |-1\). Moreover, since \(j+1,\ldots ,i-1,i \in X_{n}\setminus Y\), we have \(\xi _{i-1}, \xi _{i-2 },\ldots , \xi _{j} \in A\) and

$$\begin{aligned} \alpha = \alpha _{i}\xi _{i-1} \xi _{i-2 }\cdots \xi _{j}, \end{aligned}$$

as required. \(\square \)

From the above proof, if \(\mathrm {shift\, }(\alpha )= \{ x_{1}<x_{2}<\cdots <x_{r}\}\) and if \(k=\sum \limits _{i=1}^{r} (x_{i}-x_{i}\alpha )\), then we also have \(\alpha \in A^{k}\), that is, \(\alpha \) can be written as a product of k many elements of A.

Example 3.6

If \(\alpha =\left( \begin{array}{ccccccccc} 1 &{} 2 &{} 3 &{} 4 &{} 5 &{} 6 &{} 7 &{} 8 &{} 9\\ 1 &{} 1 &{} 1 &{} 2 &{} 5 &{} 5 &{} 5 &{} 8 &{} 8 \end{array} \right) \in {\mathcal {C}}_{9}[\{1,5\}],\) then we have

$$\begin{aligned} \alpha= & {} \left( \begin{array}{ccccccccc} 1 &{} 2 &{} 3 &{} 4 &{} 5 &{} 6 &{} 7 &{} 8 &{} 9\\ 1 &{} 1 &{} 1 &{} 2 &{} 5 &{} 5 &{} 5 &{} 8 &{} 9 \end{array} \right) \xi _{8} \\= & {} \left( \begin{array}{ccccccccc} 1 &{} 2 &{} 3 &{} 4 &{} 5 &{} 6 &{} 7 &{} 8 &{} 9\\ 1 &{} 1 &{} 1 &{} 2 &{} 5 &{} 5 &{} 7 &{} 8 &{} 9 \end{array} \right) \xi _{6}\xi _{5}\xi _{8} \\&\vdots&\\= & {} \xi _{1}\xi _{2}\xi _{1}\xi _{3}\xi _{2}\xi _{5}\xi _{6}\xi _{5}\xi _{8}, \end{aligned}$$

and \((2-2\alpha )+(3-3\alpha )+(4-4\alpha )+(6-6\alpha )+(7-7\alpha )+(9-9\alpha )=9\), as claimed. \(\square \)

Theorem 3.7

For any subset Y of \(X_{n}\) containing 1, the set of idempotents \(\{\xi _{i} : i+1\in X_{n}\setminus Y \} \cup \{1_{n}\}\) is the minimum generating set of \({\mathcal {C}}_{n}[Y]\), and so if \(|Y|=m\), then \(\mathrm {rank\, }({\mathcal {C}}_{n}[Y])=n-m+1\).

Proof

If \(Y=\{1\}\), then \({\mathcal {C}}_{n}[\{1\}]={\mathcal {C}}_{n}\), as indicated above, \(\{\xi _{1},\xi _{2},\ldots , \xi _{n-1}\}\cup \{1_{n}\}\) is the minimum generating set of \({\mathcal {C}}_{n}[\{1\}]\). If \(Y=X_{n}\), then \({\mathcal {C}}_{n}[X_{n}]=\{1_{n}\}\), and so \(\{1_{n}\}\) is the minimum generating set of \({\mathcal {C}}_{n}[X_{n}]\). Since \(\xi _{1}\), \(\xi _{2}\), \(\ldots \), \(\xi _{n-1}\) and \(1_{n}\) are all irreducible elements of \({\mathcal {C}}_{n}\), the result follows Lemma 3.5. \(\square \)

For every subset Y of \(X_{n}\), since the convex subsemigroup

$$\begin{aligned} \mathcal {SL}_{n}[Y]=\{Z:Y\subseteq Z\subseteq X_{n}\} \end{aligned}$$

of \(\mathcal {SL}_{n}\) plays a crucial role to classify convex subsemigroups of \({\mathcal {C}}_{n}\), we should give the next result:

Theorem 3.8

For any subset Y of \(X_{n}\), the set \(\{ X_{n}\setminus \{i\}: i\in X_{n}\setminus Y \}\cup \{X_{n}\}\) is the minimum generating set of \(\mathcal {SL}_{n}[Y]\), and so if \(|Y|=m\), then \(\mathrm {rank\, }(\mathcal {SL}_{n} [Y])=n-m+1\).

Proof

If \(Y=X_{n}\), then \(\mathcal {SL}_{n}[X_{n}]=\{X_{n}\}\), and so \(\{X_{n}\}\) is the minimum generating set of \(\mathcal {SL}_{n}[X_{n}]\). If \(Y\subseteq Z\subsetneqq X_{n}\), then one can easily prove that

$$\begin{aligned} Z=\bigcap _{i\in X_{n}\setminus Z} X_{n}\setminus \{i\} . \end{aligned}$$

Therefore, the set \(\{ X_{n}\setminus \{i\}: i\in X_{n}\setminus Y \}\cup \{X_{n}\}\), which contains irreducible elements, is the minimum generating set of \(\mathcal {SL}_{n}[Y]\). \(\square \)