Identities in unitriangular and gossip monoids
- 54 Downloads
Abstract
We establish a criterion for a semigroup identity to hold in the monoid of \(n \times n\) upper unitriangular matrices with entries in a commutative semiring S. This criterion is combinatorial modulo the arithmetic of the multiplicative identity element of S. In the case where S is non-trivial and idempotent, the generated variety is the variety \(\mathbf {J}_{\mathbf {n-1}}\), which by a result of Volkov is generated by any one of: the monoid of unitriangular Boolean matrices, the monoid \(R_n\) of all reflexive relations on an n element set, or the Catalan monoid \(C_n\). We propose S-matrix analogues of these latter two monoids in the case where S is an idempotent semiring whose multiplicative identity element is the ‘top’ element with respect to the natural partial order on S, and show that each generates \(\mathbf {J}_{\mathbf {n-1}}\). As a consequence we obtain a complete solution to the finite basis problem for Lossy gossip monoids.
Keywords
Semigroup identities Unitriangular matrices Gossip monoids1 Introduction
The finite basis problem for semigroups asks: which semigroups have an equational theory admitting a finite basis of identities? Such semigroups are called finitely based. In contrast to the situation for finite groups [12], it has long been known that there exist finite semigroups which are non-finitely based [13], and there is a rich literature studying the finite basis problem from viewpoint of finite semigroups (see the survey [17]). As observed by Volkov [19], infinite semigroups are far less frequently studied in the context of the finite basis problem, due to the fact that many natural infinite semigroups are in some sense ‘too big’ to allow for the kind of universal coincidences demanded by identities. For example, if S is a commutative semiring into which the semiring of natural numbers can be embedded, then for \(n>1\) the monoid of all \(n\times n\) (upper triangular) matrices over S satisfies no non-trivial identities, since the free monoid of rank 2 embeds into all such semigroups (see [19] for example). The finite basis problem is increasingly studied for families of infinite semigroups of combinatorial interest for which identities are known to exist, with complete results available for one-relator semigroups [14] and Kauffman monoids [2], and several recent partial results for various semigroups of upper triangular matrices with restrictions on the size of the matrices and the entries permitted on the diagonals [6, 7, 19, 20].
In this work we consider the identities satisfied by several families of matrix semigroups, beginning with upper triangular matrices with entries in a commutative semiring. Daviaud, the first author and Kambites [8] established necessary and sufficient conditions for a semigroup identity to hold in the monoid of upper triangular matrices over the tropical semifield, in terms of equivalence of certain tropical polynomials, leading to an algorithm for checking whether such an identity holds in time polynomial in the length of the identity and size of the alphabet. In Sect. 2 we show how the analysis of [8] may be generalised to the setting of commutative semirings S to provide necessary and sufficient conditions for a semigroup identity to hold in the monoid of \(n \times n\) upper triangular matrices with entries in S. This result is then applied in Sect. 3 to establish a criterion for a semigroup identity to hold in the submonoid of \(n \times n\) upper unitriangular matrices, showing that the generated variety depends only upon the isomorphism type of the subsemiring generated by the multiplicative identity element of S. In the case where S is a (non-trivial) idempotent semiring our result together with a result of Volkov [18] yields that the generated variety is \(\mathbf {J}_{\mathbf {n-1}}\), that is, the variety of semigroups generated by the monoids of height \(n-1\) in Simon’s hierarchy of finite \(\mathcal {J}\)-trivial monoids [15]. In Sect. 4 we introduce the submonoid \(R_n(S)\) of the full matrix monoid over a (non-trivial) interval semiringS, and show that this generates the same variety as its finite (Boolean) counterpart, the reflexive monoid. In Sect. 5 we consider several monoids related to the Catalan monoid, including the so-called lossy gossip monoid\(\mathcal {G}_n\) (that is, the monoid generated by all “metric” matrices in the full matrix monoid over the tropical semiring [5]). By [18] this common variety is once again seen to be \(\mathbf {J}_{\mathbf {n-1}}\). Blanchet-Sadri has shown that the variety \(\mathbf {J}_{\mathbf {n-1}}\) is finitely based for \(n \le 4\) [3], and non-finitely based otherwise [4], and so this settles the finite basis problem for the above mentioned families of monoids.
We conclude this introduction by briefly recalling the necessary definitions, notation and background.
1.1 Semigroup identities
We write \(\mathbb {N}_0\) and \(\mathbb {N}\) respectively for the natural numbers with and without 0. If \(\Sigma \) is a finite alphabet, then \(\Sigma ^+\) will denote the free semigroup on \(\Sigma \), that is, the set of finite, non-empty words over \(\Sigma \) under the operation of concatenation. Likewise, \(\Sigma ^*\) will denote the free monoid on \(\Sigma \). Thus \(\Sigma ^* = \Sigma ^+ \cup \{1\}\) where 1 denotes the empty word. For \(w \in \Sigma ^+\) and \(s \in \Sigma \) we write |w| for the length of w and \(|w|_s\) for the number of occurrences of the letter s in w. For \(1 \le i \le |w|\) we write \(w_i\) to denote the ith letter of w. The content of w is the map \(\Sigma \rightarrow \mathbb {N}_0, s \mapsto |w|_s\).
Recall that a (semigroup) identity is a pair of words, usually written “\(u=v\)”, in the free semigroup \(\Sigma ^+\) on an alphabet \(\Sigma \). The identity is said to be balanced if \(|u|_a=|v|_a\) for all \(a \in \Sigma \). We say that the identity holds in a semigroup U (or that Usatisfies the identity) if every morphism from \(\Sigma ^+\) to U maps u and v to the same element of U. If a morphism maps u and v to the same element we say that it satisfies the given identity in U; otherwise it falsifies it. We write \(\mathrm{Id}(U)\) to denote the set of all identities satisfied by the semigroup U.
1.2 Semirings
We say that a commutative semiring S is an interval semiring if S is idempotent and \(1_S\) is the greatest element of S with respect to the natural partial order on S. Examples of interval semirings include: the Boolean semiring \(\mathbb {B}\); the semiring \(\mathcal {I} =([0,1],\cdot , \oplus )\) with usual multiplication of numbers and addition given by taking the maximum; the semiring \((\mathbb {R}_{\le 0} \cup \{-\infty \}, \otimes , \oplus )\) with multiplication given by usual addition of numbers and addition given by taking the maximum; any complete distributive lattice L with addition \(\vee \) and multiplication \(\wedge \).
1.3 Matrix semigroups
It is easy to see that the set of all \(n \times n\) matrices with entries in S forms a monoid under the matrix multiplication induced from the operations in S. We denote this semigroup by \(M_n(S)\) and write \(UT_n(S)\) to denote the subsemigroup of \(M_n(S)\) consisting of the upper-triangular matrices in \(M_n(S)\) whose entries below the main diagonal are zero. We also write \(U_n(S)\) to denote the semigroup of unitriangular matrices, namely those elements of \(UT_n(S)\) whose diagonal entries are all equal to \(1_S\).
1.4 Polynomials
By a formal polynomial in variables from a set X we mean an element of the commutative polynomial semiring S[X], that is, a finite formal sum in which each term is a formal product of a non-zero coefficient from S and formal powers of finitely many of the variables of X, considered up to the commutative and distributive laws in S. We view S as a subsemiring of S[X] by identifying \(0_S\) with an empty sum, and each non-zero element \(a \in S\) with the term having coefficient a and in which all exponents of \(x \in X\) are zero. If S is trivial, then S[X] is isomorphic to S. If S is idempotent, we consider the summation up to idempotency of addition.
Each formal polynomial naturally defines a function from \(S^X\) to S, by interpreting all formal products and formal sums as products and sums within S. Two distinct formal polynomials may define the same function. For example, \(x^{\otimes 2} \oplus x \oplus 1\) and \(x^{\otimes 2} \oplus 1\) are distinct formal tropical polynomials defining the same function, since x can never exceed both \(x^{\otimes 2}\) and 1. We say that two formal polynomials are functionally equivalent over S if they represent the same function from \(S^X\) to S.
2 The identities of triangular matrices
We begin by providing analogues of [8, Lemma 5.1 and Theorem 5.2] for upper triangular monoids over more general commutative semirings. The two mentioned results are stated for the class of ‘chain structured tropical matrix semigroups’, defined over the tropical semifield using a fixed partial order on the set [n]. In the case where this partial order is total, one obtains the upper triangular monoid \(UT_n(\mathbb {T})\).
Let \([n] = \{1, 2,\ldots , n\}\). By a k-vertex walk (or walk of vertex lengthk) in [n] we mean a k-tuple \((v_1, \dots , v_k)\) such that \(v_1 \le v_2 \le \dots \le v_k\). A k-vertex path (or path of vertex lengthk) is a k-vertex walk in which consecutive vertices (and hence all vertices) are distinct.
Lemma 2.1
Proof
We follow the proof given in [8].
Let \(f_u^w\) denote the polynomial \(f_{u, \rho }^w\) with \(\rho =(1,2,\ldots , |u|+1)\) in variables x(s, i), with \(s \in \Sigma \) and \(1 \le i \le |u|+1\). We are now ready to prove the main theorem of this section, which generalises [8, Theorem 5.2] modulo a reduction in the number of the formal polynomials considered.
Theorem 2.2
Let S be a commutative semiring. The identity \(w=v\) over alphabet \(\Sigma \) is satisfied in \(UT_n(S)\) if and only if for every \(u \in \Sigma ^*\) with \(|u| \le n-1\) the polynomials \(f_{u}^w\) and \(f_{u}^v\) are functionally equivalent over S.
Proof
(In the case where S is trivial, \(UT_n(S)\) is the trivial group, whilst each of the formal polynomials \(f_{u}^w\) is equal to \(0_S\). Thus the result holds trivially.)
Conversely, suppose that \(f_{u}^w\) and \(f_{u}^v\) are functionally equivalent over S for all \(u\in \Sigma ^*\) of length at most \(n-1\). Noting that for any path \(\rho \) of vertex length |u|, the polynomials \(f_{u, \rho }^w\) and \(f_{u}^w\) differ only in the labelling of their variables, it is then easy to see that \(f_{u, \rho }^w\) and \(f_{u, \rho }^v\) are functionally equivalent for all pairs \(u, \rho \) with \(u\in \Sigma ^*\) of length at most \(n-1\), and \(\rho \) a path of vertex length \(|u|+1\) through [n].
Lemma 2.3
- (i)
The polynomials \(f_1^w\) and \(f_1^v\) are functionally equivalent if and only if w and v have the same content.
- (ii)
Suppose further that the partial sums \(\sum _{i=0}^{j}\alpha ^i\) for \(j \in \mathbb {N}_0\) are pairwise distinct. If \(f_a^w\) is functionally equivalent to \(f_a^v\) for all \(a \in \Sigma \), then \(f_1^w\) is functionally equivalent to \(f_1^v\) .
Proof
- (i)
By definition, \(f_1^w\) is the monomial \(\prod _{s \in \Sigma } x(s, 1)^{|w|_s}\), and it is clear that w and v have the same content if and only if the formal polynomials \(f_1^w\) and \(f_1^v\) are identical. In particular, if the content of the two words agree, then these polynomials are functionally equivalent. Suppose then that \(f_1^w\) and \(f_1^v\) are functionally equivalent. Setting \(x(s,1)=\alpha \) and \(x(t,1)=1_S\) for all \(t \ne s\) then yields \(\alpha ^{|w|_s} = \alpha ^{|v|_s}\), and hence \(|w|_s=|v|_s\). Repeating this argument for each \(s \in \Sigma \) yields that the two words have the same content.
- (ii)
It suffices to show that if \(f_a^w\) is functionally equivalent to \(f_a^v\) for all \(a \in \Sigma \), then the content of the two words must be equal. Evaluating the polynomials \(f_a^w\) and \(f_a^v\) at \(x(a, 1) = \alpha \) and \(x(z, i) = 1_S\) for all other choices of z, i yields \(\sum _{i=0}^{|w|_a-1}\alpha ^i\) = \(\sum _{i=0}^{|v|_a-1}\alpha ^i\), and hence \(|w|_a=|v|_a\). Repeating this argument for each \(a \in \Sigma \) gives that the two words have the same content.\(\square \)
The multiplicative monoid of S clearly embeds into \(UT_n(S)\), and so under the hypothesis of the previous lemma we note that identities satisfied by \(UT_n(S)\) must be balanced (as all identities satisfied by the free monoid of rank 1 are). The polynomial \(f_1^w\) essentially records the content of w. Under the stronger hypotheses of Lemma 2.3 (ii), this information can be deduced from the set of polynomials \(\{f^w_a: a \in \Sigma \}\), hence reducing the number of polynomials to be checked by 1.
Corollary 2.4
Let S be a semiring whose multiplicative monoid contains an element \(\alpha \) generating a free submonoid of rank 1, and suppose that the partial sums \(\sum _{i=1}^{j}\alpha ^i\) for \(j \in \mathbb {N}\) are pairwise distinct. The identity \(w=v\) over alphabet \(\Sigma \) is satisfied in \(UT_n(S)\) if and only if for every \(u \in \Sigma ^+\) with \(1 \le |u| \le n-1\) the polynomials \(f_{u}^w\) and \(f_{u}^v\) are functionally equivalent.
3 The identities of unitriangular matrices
Say that the scattered multiplicity of \(u\in \Sigma ^+\) in \(w \in \Sigma ^+\) is the number of distinct ways in which u occurs as a scattered subword of w, and denote this by \(m_u^w \in \mathbb {N}_0\). For \(m \in \mathbb {N}_0\) write \(\lfloor m \rfloor _S{:}{=}\sum _{j=1}^{m} 1_S\).
Theorem 3.1
Let S be a commutative semiring. The identity \(w=v\) over alphabet \(\Sigma \) is satisfied in the unitriangular monoid \(U_n(S)\) if and only if \(\lfloor m_u^w\rfloor _S=\lfloor m_u^v\rfloor _S\) for each word \(u \in \Sigma ^+\) of length at most \(n-1\).
Proof
(In the case where S is trivial, \(U_n(S)\) is the trivial group, whilst each of the multiplicities \(\lfloor m_u^w\rfloor _S\) is equal to \(0_S\). Thus the result holds trivially.)
Proposition 3.2
Let S and T be commutative semirings. The the unitriangular monoids \(U_n(S)\) and \(U_n(T)\) generate the same variety of semigroups if and only if \(1_S\) and \(1_T\) generate isomorphic semirings.
Proof
If \(1_S\) and \(1_T\) generate isomorphic semirings, then for all \(j, k \in \mathbb {N}_0\) we have \(\lfloor j \rfloor _S = \lfloor k \rfloor _S\) if and only if \(\lfloor j \rfloor _T = \lfloor k \rfloor _T\). It then follows immediately from Theorem 3.1 that \(U_n(S)\) and \(U_n(T)\) satisfy exactly the same semigroup identities.
Conversely, if \(U_n(S)\) and \(U_n(T)\) satisfy the same identities, it follows that for all words \(w,v,u \in \Sigma ^+\) we must have \(\lfloor m_u^w \rfloor _S= \lfloor m_u^v \rfloor _S\) if and only if \(\lfloor m_u^w \rfloor _T= \lfloor m_u^v \rfloor _T\). Consideration of all pairs of words \(w=a^j,v=a^k\) with respect to the fixed word \(u=a\) of length 1 allows us to determine all relations of the form \(\lfloor j \rfloor _R = \lfloor k \rfloor _R\) for \(j,k \in \mathbb {N}\) and \(R=S, T\). Since the same set of relations holds for \(R=S\) and \(R=T\), it follows that \(1_S\) and \(1_T\) generate isomorphic semirings. \(\square \)
Corollary 3.3
Let S be a non-trivial idempotent semiring. The identity \(w=v\) over alphabet \(\Sigma \) is satisfied in the unitriangular monoid \(U_n(S)\) if and only if w and v admit the same set of scattered subwords of length at most \(n-1\).
Proof
The previous results generalise a result of Volkov [18], who proved that \(w=v\) is a semigroup identity for \(U_n(\mathbb {B})\) if and only if w and v have the same scattered subwords of length at most \(n-1\). Since the results of that paper also show that the unitriangular Boolean matrices \(U_n(\mathbb {B})\), the monoid \(R_n\) of reflexive binary relations on a set of cardinality n, and the Catalan monoid \(C_n\) all satisfy exactly the same set of identities, we get the following immediate corollary.
Corollary 3.4
Let S be a non-trivial idempotent semiring. The the unitriangular monoid \(U_n(S)\) satisfies exactly the same semigroup identities as the semigroup of reflexive relations \(R_n\) or the Catalan monoid \(C_n\).
Ashikhmin et al. [1] have subsequently shown that a certain family of the Hecke–Kiselman monoids introduced by Ganyushkin and Mazorchuk [10]—including the Kiselman monoid \(K_n\) and the Catalan monoid \(C_n\)—all satisfy the same identities. In Sect. 5 we shall see that another family of \(\mathcal {J}\)-trivial monoids of combinatorial interest, the gossip monoids \(G_n\), satisfy the same identities as the Catalan monoids \(C_n\).
The monoid \(U_n(S)\) can be viewed as an oversemigroup of \(U_n(\mathbb {B})\) allowing for entries over the idempotent semiring S, and so it is natural to ask if there are analogous extensions of \(R_n\) and \(C_n\). We note that there is an obvious Boolean matrix representation of \(R_n\), formed by sending a relation R to the Boolean matrix whose (i, j)th entry is 1 if and only if i and j are related by R. In the following section we shall consider a natural analogue of \(R_n\) consisting of matrices over a semiring S with diagonal entries all equal to the multiplicative identity of S. It is clear that, in general, the set of all such matrices need not form a semigroup (e.g. over the tropical semiring such matrices are not closed under multiplication). We shall therefore restrict our attention to a particular class of idempotent semirings.
4 Generalised reflexive monoids
Lemma 4.1
- (i)
If \(A = U(1)X(1)U(2) \ldots U(L)X(L)U(L+1)\) and \(B = X(1) \ldots X(L)\) for some \(U(i), X(i) \in V\), then \(B \preceq A\).
- (ii)For all \(A \in V\) we havewhere \(I_n\) denotes the identity matrix of \(M_n(S)\).$$\begin{aligned} I_n \preceq A \preceq A^2 \preceq A^2 \preceq \cdots \preceq A^n \preceq \cdots \end{aligned}$$
(In particular, V is \(\mathcal {J}\)-trivial and so every regular element of V is idempotent.)
Proof
- (i)Suppose that \(A = U(1)X(1)U(2) \ldots U(L)X(L)U(L+1)\) and \(B = X(1) \ldots X(L)\). Since every element of V has only ones on its diagonal, for all \(i,j \in [n]\) this giveswhere the sum ranges over all choices of \(\rho _i \in [n]\), with \(\rho _0=i\) and \(\rho _{2L+1} = j\). Since \(a+b \ge a,b\) for all \(a,b \in S\), it follows that by restricting the choices for the \(\rho _i\) we will obtain a partial sum that must be less than or equal to \(A_{i,j}\). In particular, we have$$\begin{aligned} A_{i,j}= & {} \sum U(1)_{\rho _0,\rho _1}X(1)_{\rho _1,\rho _2}U(2)_{\rho _2,\rho _3}\ldots X(L)_{\rho _{2L-1},\rho _{2L}}U(L+1)_{\rho _{2L},\rho _{2L+1}} \end{aligned}$$where the sum ranges over all choices of \(\rho _i \in [n]\), with \(\rho _0=i\) and \(\rho _{L} = j\). Since all diagonal entries of elements of V are equal to \(1_S\), this gives$$\begin{aligned} A_{i,j}\ge & {} \sum U(1)_{\rho _0,\rho _0}X(1)_{\rho _0,\rho _1}U(2)_{\rho _1,\rho _1}\ldots X(L)_{\rho _{L-1},\rho _{L}}U(L+1)_{\rho _{L},\rho _{L}} \end{aligned}$$where the sum ranges over all choices of \(\rho _i \in [n]\), with \(\rho _0=i\) and \(\rho _{L} = j\). By the definition of matrix multiplication, the latter is equal to \(B_{i,j}\). Thus for all \(i,j \in [n]\) we have \(A_{i,j} \ge B_{i,j}\), and hence \(B \preceq A\).$$\begin{aligned} A_{i,j}\ge & {} \sum X(1)_{\rho _0,\rho _1}\ldots X(L)_{\rho _{L-1},\rho _{L}}, \end{aligned}$$
- (ii)
It follows immediately from part (i) that the powers are non-decreasing. In particular, if \(A \mathcal {J} B\) in V then there exist \(P,Q,X,Y \in V\) with \(A = PBQ\) and \(B=XAY\). Now by part (i) this gives \(A \preceq B\) and \(B \preceq A\), and hence \(A=B\). Recalling that an element \(A \in V\) is regular if and only if it is \(\mathcal {D}\)-related to an idempotent, it follows immediately that A is regular if and only if it is idempotent.
Lemma 4.2
- (i)If \(A = X(1) \ldots X(L)\) in \(R_n(S)\), then for all \(i,j \in [n]\) we havewhere the sum ranges over all block chains \(\rho {:}{=}(\rho _0, \ldots , \rho _L)\) with \(\rho _0=i\) and \(\rho _L=j\).$$\begin{aligned} A_{i,j} = \sum X(1)_{\rho _0, \rho _1}X(2)_{\rho _1, \rho _2} \ldots X(L)_{\rho _{L-1}, \rho _L}, \end{aligned}$$
- (ii)
For all \(A \in R_n(S)\) and all \(N \ge n-1\) we have \(A^N = A^{n-1}\).
(In particular, \(A^{n-1}\) is idempotent and \(R_n(S)\) is aperiodic.)
Proof
- (i)Let \(A = X(1) \ldots X(L)\) in \(R_n(S)\). Then, by the definition of matrix multiplication,where the sum ranges over all \(L+1\)-tuples \(\rho {:}{=}(\rho _0, \ldots , \rho _L)\), with \(\rho _k \in [n]\) and \(\rho _0=i, \rho _L=j\). Let \(\rho \) be such a tuple, and suppose that \(\rho \) is not a block chain. Then for some s, t with \(s+1<t\) we must have \(\rho _s \ne \rho _{s+1}\) and \(\rho _s=\rho _t\). Consider the tuple \(\rho '{:}{=}(\rho '_0, \ldots , \rho '_L)\) obtained from \(\rho \) by replacing each \(\rho _k\) with \(s<k <t\) by \(\rho _s\). Since each diagonal entry is equal to \(1_S\) and \(1_S \ge a\) for all \(a \in S\), it is easy to see that:$$\begin{aligned} A_{i,j} = \sum X(1)_{\rho _0,\rho _1} X(2)_{\rho _1, \rho _2} \ldots X(L)_{\rho _{L-1}, \rho _{L}}, \end{aligned}$$By repeated application of the above argument, it is clear that$$\begin{aligned} X(1)_{\rho '_0,\rho '_1} X(2)_{\rho '_1, \rho '_2} \ldots X(L)_{\rho '_{L-1}, \rho '_{L}} \ge X(1)_{\rho _0,\rho _1} X(2)_{\rho _1, \rho _2} \ldots X(L)_{\rho _{L-1}, \rho _{L}}. \end{aligned}$$for some block chain \(\sigma \). Since \(a \le b\) in S if and only if \(a+b=b\), it follows from the previous observation that taking the sum over all block chains must give the same result as taking the sum over all tuples. Thus$$\begin{aligned} X(1)_{\sigma _0,\sigma _1} X(2)_{\sigma _1, \sigma _2} \ldots X(L)_{\sigma _{L-1}, \sigma _{L}} \ge X(1)_{\rho _0,\rho _1} X(2)_{\rho _1, \rho _2} \ldots X(L)_{\rho _{L-1}, \rho _{L}}, \end{aligned}$$where the sum ranges over all block chains \(\rho {:}{=}(\rho _0, \ldots , \rho _L)\) with \(\rho _0=i\) and \(\rho _L=j\).$$\begin{aligned} A_{i,j} = \sum X(1)_{\rho _0,\rho _1} X(2)_{\rho _1, \rho _2} \ldots X(L)_{\rho _{L-1}, \rho _{L}}, \end{aligned}$$
- (ii)Let \(A \in R_n(S)\) and \(N \in \mathbb {N}\). Then by part (i)where the sum ranges over all \(N+1\)-tuples of the form$$\begin{aligned} (A^N)_{i,j} = \sum A_{\rho _0,\rho _1} A_{\rho _1, \rho _2} \ldots A_{\rho _{N-1}, \rho _{N}}, \end{aligned}$$where \(i, i_1, \ldots , i_k, j\) are distinct elements of [n]. Moreover, for such an \(N+1\)-tuple \(\rho \), the fact that the diagonal entries of A are all equal to \(1_S\) means that the corresponding term of the summation is equal to$$\begin{aligned} \rho {:}{=}(i, \ldots ,i, i_1, \ldots , i_1, \ldots , i_k \ldots , i_k, j\ldots , j), \end{aligned}$$Thus for each \(N\ge n-1\) we see that every term occurring in the summation above also occurs as a term in the corresponding summation for \(A^{n-1}\), and hence \(A^N \preceq A^{n-1}\). On the other hand, by Lemma 4.1, we know that \(A^{n-1} \preceq A^{N}\) for all \(N \ge n-1\). Thus we may conclude that \(A^{n-1} = A^N\) for all \(N \ge n-1\). In particular,$$\begin{aligned} A_{i,i_1}A_{i_1,i_2} \ldots A_{i_{k-1}, i_k} A_{i_k,j}. \end{aligned}$$(Recall that a semigroup V is aperiodic if for every \(a \in V\) there exists a positive integer m such that \(a^{m+1} = a^m\).) \(\square \)$$\begin{aligned} A^{n-1}A^{n-1} = A^{2n-2} = A^{n-1}. \end{aligned}$$
We note that in the case where \(R_n(S)\) is finite, the fact that \(R_n(S)\) is aperiodic follows directly from Lemma 4.1, since every finite \(\mathcal {H}\)-trivial semigroup is aperiodic. For infinite semigroups, \(\mathcal {J}\)-triviality is not sufficient to deduce aperiodicity (for example, the semigroup of natural numbers under addition is an infinite \(\mathcal {J}\)-trivial semigroup which is clearly not aperiodic).
Theorem 4.3
Let S be a non-trivial interval semiring. The identity \(w=v\) over alphabet \(\Sigma \) is satisfied in \(R_n(S)\) if and only if w and v have the same scattered subwords of length at most \(n-1\).
Proof
Noting that \(U_n(S) \subseteq R_n(S)\), it suffices to show that if w and v have the same scattered subwords of length at most \(n-1\), then \(w=v\) holds in \(R_n(S)\).
5 Catalan monoids and gossip
- (1)
\(A_{i,l}=A_{i,r}=1\) with \(l \le r\) implies \(A_{i,k}=1\) for all \(l \le k \le r\),
- (2)
\( A_{u,j}=A_{d,j}=1\) with \(u \le d\) implies \(A_{k,j}=1\) for all \(u \le k \le d\), and
- (3)
\(A_{i,i}=1\) for all i.
Lemma 5.1
The matrices \(D(1), \ldots , D(n-1)\) generate the monoid \(C_n^U\) of all convex upper unitriangular Boolean matrices. Moreover, \(C_n^U \cong C_n\).
Proof
It is straightforward to verify that the matrices D(i) satisfy the relations (2). Since the elements of \(C_n^U\) are in one to one correspondence with the Dyck paths from (0, 0) to (n, n), we see that \(|C_n^U|=|C_n|\), and so these two monoids must be isomorphic.
\(\square \)
Let E(i) denote the product \(D(i)D(i)^T \in \mathrm{Conv}_n\). The double Catalan monoid \(DC_n\) of Mazorchuk and Steinberg [11] is the submonoid of \(\mathrm{Conv}_n\) generated by the matrices \(E_1, \ldots , E_{n-1}\). Define \(\mathcal {U}:DC_n \rightarrow C_n^U\) to be the map sending a matrix to its upper profile, namely \(\mathcal {U}(A)_{i,j} = A_{i,j}\) if \(i \le j\) and \(\mathcal {U}(A)_{i,j} =0\) otherwise.
Lemma 5.2
The map \(\mathcal {U}:DC_n \rightarrow C_n^U\) is a surjective monoid homomorphism.
Proof
Let \(A, B \in DC_n\). By definition \(\mathcal {U}(AB)_{i,j} = (AB)_{i,j}\) if \(i \le j\) and 0 otherwise. Thus the non-zero entries occur in positions \(i \le j\) for which there exists k with \(A_{i,k} = B_{k,j}=1\). Note that if there exists such a k with \(k<i\), then by the convexity of B we must have \(A_{i,i}=B_{i,j}=1\), whilst if there exists such a k with \(k>j\), then by the convexity of A we must have \(A_{i,j}=B_{j,j}=1\). The non-zero entries of \(\mathcal {U}(AB)\) therefore occur in positions (i, j) for which there exists k with \(i \le k \le j\) and \(A_{i,k} = B_{k,j}=1\), and it is easy to see that these coincide with the non-zero entries of \(\mathcal {U}(A) \mathcal {U}(B)\).
Now let D(i, j) denote the \(n \times n\) Boolean matrix with 1’s on the diagonal and a single off-diagonal 1 in position (i, j), and let \(E(i,j) = D(i,j)D(j,i)\). The gossip monoid [5, 9] is the submonoid of \(M_n(\mathbb {B})\) generated by the set \(\{E(i,j): 1 \le i < j \le n\}\). The one directional gossip monoid\(\overline{G}_n\) is the submonoid of \(M_n(\mathbb {B})\) generated by the set \(\{D(i,j): 1 \le i \ne j \le n\}\). It is clear from the definition that \(G_n\) is a submonoid of \(\overline{G}_n\). Moreover, since \(E(i) = E(i,i+1)\) we see that the double Catalan monoid is a submonoid of \(G_n\). The names ‘one-directional gossip monoid’ and ‘gossip monoid’ come from the following interpretation of the matrices D(i, j) and E(i, j). Consider a group of n people, each with a unique piece of information or ‘gossip’ they would like to spread. It is clear that we can record the state of knowledge amongst the n people at any given time by means of a Boolean matrix, putting a 1 in the (i, j)th position if and only if person j has learned the piece of gossip originally known only to person i. The right action of the matrix D(i, j) on \(M_n(\mathbb {B})\) then corresponds to a one-way communication from person i to person j, in which person i recounts to person j all of the gossip that they know. The right action of the matrix E(i, j) on \(M_n(\mathbb {B})\) corresponds to a two-way communication between person i and person j, at the end of which both parties have learned the sum total of gossip known to either i or j. The double Catalan monoid can therefore be thought of as an algebraic model of gossip in a network in which person i can communicate only with the person’s nearest neighbours, \(i-1\) and \(i+1\).
Proposition 5.3
Let \(n \in \mathbb {N}\). The gossip monoid \(G_n\), the one-directional gossip monoid \(\bar{G}_n\), and the double Catalan monoid \(DC_n\), all satisfy the same set of identities as the reflexive monoid \(R_n\).
Proof
It is clear from the above definitions that \(DC_n \subseteq G_n \subseteq \overline{G_n} \subseteq R_n\). Thus \(\mathrm{Id}(DC_n) \supseteq \mathrm{Id}(G_n) \supseteq \mathrm{Id}(\overline{G_n}) \supseteq \mathrm {Id}(R_n)\). By Lemma 5.2, there is a surjective monoid homomorphism from \(\mathcal {U}:DC_n \rightarrow C_n^U\), from which it follows that \(\mathrm{Id}(C_n^U) \supseteq \mathrm{Id}(DC_n)\). The result then follows from the fact that \(R_n\) and \(C_n\) satisfy the same identities [18].
\(\square \)
Proposition 5.4
Let S be a (non-trivial) interval semiring. The monoids \(C_n^U(S)\), \(DC_n(S)\), \(G_n(S)\) and \(\overline{G_n}(S)\) satisfy the same identities as the monoid \(R_n(S)\).
Proof
In the case where S is the subsemiring \([ 0, +\infty ]\) of the (min-plus) tropical semiring, it is straightforward to verify that the monoid \(G_n(S)\) is precisely the lossy gossip monoid \(\mathcal {G}_n\) of [5].
Corollary 5.5
The lossy gossip monoid is finitely based for \(n \le 4\) and non-finitely based otherwise.
Notes
Acknowledgements
The authors thank Professor Volkov for suggesting the topic of this article.
References
- 1.Ashikhmin, D.N., Volkov, M.V., Zhang, W.T.: The finite basis problem for Kiselman monoids. Demonstr. Math. 48(4), 475–492 (2015)MathSciNetzbMATHGoogle Scholar
- 2.Auinger, K., Chen, Y., Hu, X., Luo, Y., Volkov, M.V.: The finite basis problem for Kauffman monoids. Algebra Univers. 74(3–4), 333–350 (2015)MathSciNetCrossRefzbMATHGoogle Scholar
- 3.Blanchet-Sadri, F.: Equations and dot-depth one. Semigroup Forum 47(3), 305–317 (1993)MathSciNetCrossRefzbMATHGoogle Scholar
- 4.Blanchet-Sadri, F.: Equations and monoid varieties of dot-depth one and two. Theor. Comput. Sci. 123(2), 239–258 (1994)MathSciNetCrossRefzbMATHGoogle Scholar
- 5.Brouwer, A.E., Draisma, J., Frenk, B.J.: Lossy gossip and composition of metrics. Discrete Comput. Geom. 53(4), 890–913 (2015)MathSciNetCrossRefzbMATHGoogle Scholar
- 6.Chen, Y., Hu, X., Luo, Y.: The finite basis property of a certain semigroup of upper triangular matrices over a field. J. Algebra Appl. 15(9), 1650177 (2016)MathSciNetCrossRefzbMATHGoogle Scholar
- 7.Chen, Y., Xun, H., Luo, Y., Sapir, O.: The finite basis problem for the monoid of two-by-two upper triangular tropical matrices. Bull. Aust. Math. Soc. 94(1), 54–64 (2016)MathSciNetCrossRefzbMATHGoogle Scholar
- 8.Daviaud, L., Johnson, M., Kambites, M.: Identities in upper triangular tropical matrix semigroups and the bicyclic monoid. J. Algebra 501, 503–525 (2018)MathSciNetCrossRefzbMATHGoogle Scholar
- 9.Fenner, P., Johnson, M., Kambites, M.: NP-completeness in the gossip monoid. Int. J. Algebra Comput. 28(4), 653–672 (2018)MathSciNetCrossRefzbMATHGoogle Scholar
- 10.Ganyushkin, O., Mazorchuk, V.: On Kiselman quotients of 0-Hecke monoids. Int. Electron. J. Algebra 10, 174–191 (2011)MathSciNetzbMATHGoogle Scholar
- 11.Mazorchuk, V., Steinberg, B.: Double Catalan monoids. J. Algebraic Combin. 36(3), 333–354 (2012)MathSciNetCrossRefzbMATHGoogle Scholar
- 12.Oates, S., Powell, M.B.: Identical relations in finite groups. J. Algebra 1, 11–39 (1964)MathSciNetCrossRefzbMATHGoogle Scholar
- 13.Perkins, P.: Bases for equational theories of semigroups. J. Algebra 11, 298–314 (1969)MathSciNetCrossRefzbMATHGoogle Scholar
- 14.Shneerson, L.M.: On the axiomatic rank of varieties generated by a semigroup or monoid with one defining relation. Semigroup Forum 39(1), 17–38 (1989)MathSciNetCrossRefzbMATHGoogle Scholar
- 15.Simon, I.: Hierarchies of events with dot-depth one. Ph.D. Thesis, University of Waterloo (1972)Google Scholar
- 16.Solomon, A.: Catalan monoids, monoids of local endomorphisms, and their presentations. Semigroup Forum 53(3), 351–368 (1996)MathSciNetCrossRefzbMATHGoogle Scholar
- 17.Volkov, M.V.: The finite basis problem for finite semigroups. Sci. Math. Jpn. 53(1), 171–199 (2001)MathSciNetzbMATHGoogle Scholar
- 18.Volkov, M.V.: Reflexive relations, extensive transformations and piecewise testable languages of a given height. Int. J. Algebra Comput. 14(5–6), 817–827 (2004). (International Conference on Semigroups and Groups in honor of the 65th birthday of Prof. John Rhodes) MathSciNetCrossRefzbMATHGoogle Scholar
- 19.Volkov, M.V.: A nonfinitely based semigroup of triangular matrices. In: Romeo, P.G., Meakin, J.C., Rajan, A.R. (eds.) Semigroups, Algebras and Operator Theory. Springer Proceedings in Mathematics & Statistics, vol. 142, pp. 27–38. Springer, New Delhi (2015)CrossRefGoogle Scholar
- 20.Zhang, W.T., Ji, Y.D., Luo, Y.F.: The finite basis problem for infinite involution semigroups of triangular \(2\times 2\) matrices. Semigroup Forum 94(2), 426–441 (2017)MathSciNetCrossRefzbMATHGoogle Scholar
Copyright information
OpenAccessThis article is distributed under the terms of the Creative Commons Attribution 4.0 International License (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made.