1 Erratum to: Semigroup Forum DOI 10.1007/s00233-016-9838-1

Shoufeng Wang discovered an error in the main theorem of the author’s Semigroup Forum article ‘Algebras of Ehresmann semigroups and categories’. Wang observed that the function we suggest as an isomorphism is not a homomorphism unless the semigroup being discussed is left restriction. In order to fix our mistake, we will add this assumption. Note that our revised result is still a generalization of earlier work of Guo and Chen, the author, and Steinberg.

2 A correction to the main theorem of [3]

Shoufeng Wang [6] has observed that the proof of [3, Theorem 3.4] does not hold without the additional assumption that the semigroup is left restriction. This Erratum shows how this assumption yields a valid result, and examines the consequences. Theorem 1.5, which is the revision of [3, Theorem 3.4], nevertheless generalizes [5, Theorem 4.2], [2, Theorem 4.2] and [4, Proposition 3.2].

We assume the reader is familiar with [3] and in particular with the definition of an E-Ehresmann semigroup; for undefined terms, the reader should consult [3].

We start by giving a counterexample to the original claim in [3, Theorem 3.4]. Let S be an E-Ehresmann semigroup with \(\le =\le _{r}\) a principally finite poset, and let \(C=\mathbf {C}(S)\) be the corresponding Ehresmann category. We do not know whether \(\mathbb {K}S\) is always isomorphic to \(\mathbb {K}C\), but Shoufeng Wang observed that the function \(\varphi :\mathbb {K}S\rightarrow \mathbb {K}C\) defined by

$$\begin{aligned} \varphi (a)=\sum _{b\le a}C(b) \end{aligned}$$

is, in general, not a homomorphism, as can be seen in the following example.

Example 1.1

Choose \(S=B_{2}\), the monoid of all binary relations on the set \(\{1,2\}\). As mentioned in [3, Example 4.4], \(B_{2}\) is an E-Ehresmann semigroup where \(E=\{{{\mathrm{id}}},\{(1,1)\},\{(2,2)\},\varnothing \}\) is the set of partial identities. For every \(a\in B_{2}\), \(a^{+}\) (\(a^{*}\)) is the identity function on the domain (respectively, image) of a. Let \(C=\mathbf{C}(B_{2})\) be the corresponding Ehresmann category. It is easy to see that \(\varphi :\mathbb {K}B_{2}\rightarrow \mathbb {K}C\) is not a homomorphism. Choose \(a=\{(1,1),(1,2)\}\) and \(b=\{(1,1)\}\) so \(ab=\{(1,1)\}\). Note that in \(B_{2}\), \(\le \) is domain restriction, so

$$\begin{aligned} \varphi (b)=\varphi (ab)=\varphi (\{(1,1)\})=C(\{(1,1)\})+C(\varnothing ) \end{aligned}$$

and

$$\begin{aligned} \varphi (a)=C(\{(1,1),(1,2)\})+C(\varnothing ). \end{aligned}$$

Recall that in the category algebra the multiplication xy equals 0 unless \({{\mathrm{\mathbf {r}}}}(x)={{\mathrm{\mathbf {d}}}}(y)\). Hence,

$$\begin{aligned} \varphi (a)\varphi (b)=\left( C(\{(1,2),(1,1)\})+C(\varnothing )\right) \left( C(\{(1,1)\})+C(\varnothing )\right) =C(\varnothing ) \end{aligned}$$

so indeed

$$\begin{aligned} \varphi (ab)\ne \varphi (a)\varphi (b). \end{aligned}$$

In order to fix this problem, we will have to add the requirement of being left (or right) restriction.

Definition 1.2

Let S be a left E-Ehresmann semigroup. S is called left restriction if

$$\begin{aligned} ae=(ae)^{+}a \end{aligned}$$

for every \(a\in S\) and \(e\in E\). Dually, a right E-Ehresmann semigroup S is called right restriction if

$$\begin{aligned} ea=a(ea)^{*} \end{aligned}$$

for every \(a\in S\) and \(e\in E\). If S is an E-Ehresmann semigroup which is both left and right restriction, then it is called a restriction semigroup.

Example 1.3

Every inverse semigroup is a restriction semigroup. It is well known that the monoid \({{\mathrm{\mathcal {PT}}}}_{n}\) of all partial transformations on an n-element set is left restriction but not right restriction. However, the monoid \(B_{n}\) of all binary relations on an n-element set is neither left nor right restriction.

Lemma 1.4

If S is an E-Ehresmann semigroup which is also left restriction (right restriction), then \(\le _{l}\subseteq \le _{r}\) (respectively, \(\le _{r}\subseteq \le _{l}\)).

Proof

Assume \(b\le _{l}a\). By [3, Proposition 2.6], there exists an \(e\in E\) such that \(b=ae=(ae)^{+}a\) but \((ae)^{+}\in E\) so \(b\le _{r}a\) as well. The other case is dual. \(\square \)

We can now give a correct version of [3, Theorem 3.4], under the additional assumption of being left restriction.

Theorem 1.5

Let S be an E-Ehresmann and left restriction semigroup and let \(C=\mathbf{C}(S)\). Then \(\mathbb {K}S\) is isomorphic to \(\mathbb {K}C\). Explicit isomorphisms \(\varphi :\mathbb {K}S\rightarrow \mathbb {K}C\), \(\psi :\mathbb {K}C\rightarrow \mathbb {K}S\) are defined (on basis elements) by

$$\begin{aligned} \varphi (a)=\sum _{b\le a}C(b),\quad \psi (x)=\sum _{y\le x}\mu (y,x)S(y) \end{aligned}$$

where \(\mu \) is the Möbius function of the poset \(\le \).

Remark 1.6

Theorem 1.5 can be proved, mutatis mutandis, for E-Ehresmann and right restriction semigroups using \(\le _{l}\) instead of \(\le _{r}\).

Proof of Theorem 1.5

The proof that \(\varphi \) and \(\psi \) are bijections is identical to that in [3], as is Case 1 of the proof that \(\varphi \) is a homomorphism.

For Case 2, we assume \({{\mathrm{\mathbf {r}}}}(C(a))\ne {{\mathrm{\mathbf {d}}}}(C(b))\) (or equivalently, \(a^{*}\ne b^{+})\). Define \(\tilde{a}=ab^{+}\) and \(\tilde{b}=a^{*}b\). Proceeding as in [3], it remains to show that

$$\begin{aligned} \left( \sum _{a^{\prime }\le \tilde{a}}C(a^{\prime })\right) \left( \sum _{b^{\prime }\le \tilde{b}}C(b^{\prime })\right) =\left( \sum _{a^{\prime }\le a}C(a^{\prime })\right) \left( \sum _{b^{\prime }\le b}C(b^{\prime })\right) . \end{aligned}$$
(1)

We set \(x=C(a)\), \(\tilde{x}=C(\tilde{a})\), \(y=C(b)\) and \(\tilde{y}=C(\tilde{b})\) so (1) can be written as

$$\begin{aligned} \left( \sum _{x^{\prime }\le \tilde{x}}x^{\prime }\right) \left( \sum _{y^{\prime }\le \tilde{y}}y^{\prime }\right) =\left( \sum _{x^{\prime }\le x}x^{\prime }\right) \left( \sum _{y^{\prime }\le y}y^{\prime }\right) . \end{aligned}$$
(2)

Now we need the new assumption of left restriction. First note that \(\tilde{y}\le y\) and \(\tilde{x}\le _{l}x\) since they are restriction and co-restriction, respectively. S is left restriction so \(\tilde{x}\le x\) by Lemma 1.4. Hence, every element on the left-hand side of (2) appears also on the right-hand side. What is left to show is that a multiplication \(x^{\prime }\cdot y^{\prime }\) on the right-hand side of (2) equals 0 unless \(x^{\prime }\le \tilde{x}\) and \(y^{\prime }\le \tilde{y}\). Take \(x^{\prime }\le x\) such that \(x^{\prime }\nleq \tilde{x}\) and assume that there is a \(y^{\prime }\le y\) such that \(\exists x^{\prime }\cdot y^{\prime }\), that is, \({{\mathrm{\mathbf {r}}}}(x^{\prime })={{\mathrm{\mathbf {d}}}}(y^{\prime })\). Since \(y^{\prime }\le y\) we have \({{\mathrm{\mathbf {r}}}}(x^{\prime })={{\mathrm{\mathbf {d}}}}(y^{\prime })\le {{\mathrm{\mathbf {d}}}}(y)\) by [3, CO1]. Now, by [3, EC7] (choosing \(f={{\mathrm{\mathbf {d}}}}(y)\)) we have that

$$\begin{aligned} (x^{\prime }\mid {{\mathrm{\mathbf {r}}}}(x^{\prime })\wedge {{\mathrm{\mathbf {d}}}}(y))\le (x\mid {{\mathrm{\mathbf {r}}}}(x)\wedge {{\mathrm{\mathbf {d}}}}(y)) \end{aligned}$$

but note that \((x\mid {{\mathrm{\mathbf {r}}}}(x)\wedge {{\mathrm{\mathbf {d}}}}(y))=\tilde{x}\) and \({{\mathrm{\mathbf {r}}}}(x^{\prime })\wedge {{\mathrm{\mathbf {d}}}}(y)={{\mathrm{\mathbf {r}}}}(x^{\prime })\) so we get

$$\begin{aligned} x^{\prime }=(x^{\prime }\mid {{\mathrm{\mathbf {r}}}}(x^{\prime }))\le \tilde{x} \end{aligned}$$

a contradiction. Similarly, take \(y^{\prime }\le y\) such that \(y^{\prime }\nleq \tilde{y}\) and assume that there is an \(x^{\prime }\le x\) such that \(\exists x^{\prime }\cdot y^{\prime }\), that is, \({{\mathrm{\mathbf {r}}}}(x^{\prime })={{\mathrm{\mathbf {d}}}}(y^{\prime })\). Again, since \({{\mathrm{\mathbf {r}}}}(x^{\prime })\le {{\mathrm{\mathbf {r}}}}(x)\) we have that \({{\mathrm{\mathbf {d}}}}(y^{\prime })\le {{\mathrm{\mathbf {r}}}}(x)\) and clearly \({{\mathrm{\mathbf {d}}}}(y^{\prime })\le {{\mathrm{\mathbf {d}}}}(y)\), hence \({{\mathrm{\mathbf {d}}}}(y^{\prime })\le {{\mathrm{\mathbf {r}}}}(x)\wedge {{\mathrm{\mathbf {d}}}}(y)={{\mathrm{\mathbf {d}}}}(\tilde{y})\). By [3, EC2], there exists a restriction \(({{\mathrm{\mathbf {d}}}}(y^{\prime })\mid \tilde{y})\). But \(({{\mathrm{\mathbf {d}}}}(y^{\prime })\mid \tilde{y})\le \tilde{y}\le y\) so by the uniqueness of restriction \(({{\mathrm{\mathbf {d}}}}(y^{\prime })\mid \tilde{y})=y^{\prime }\), hence \(y^{\prime }\le \tilde{y}\), a contradiction. This finishes the proof. \(\square \)

3 Consequences for the rest of [3]

[3, Corollary 3.6] should be reformulated as:

Corollary 2.1

Let S be an E-Ehresmann and left (or right) restriction semigroup such that E is finite, then \(\mathbb {K}S\) is a unital algebra.

[3, Example 4.4] should be deleted because our weakened theorem no longer applies. The rest of the examples in [3, Section 4] remain valid. In particular, note that the monoid \({{\mathrm{\mathcal {PT}}}}_{n}\) of [3, Example 4.3] is left restriction and that [1, 2.5.11–2.5.12] proves that every strong semilattice of monoids ([3, Example 4.5]) is a restriction semigroup.

The results of [3, Subsection 5.1] remain valid, but one can draw conclusions regarding the algebras of the Ehresmann semigroups only if they are left (or right) restriction. For instance, it can be done for (2, 1, 1) subalgebras of \({{\mathrm{\mathcal {PT}}}}_{n}\) ([3, Example 5.10]) and finite ample semigroups (part of [3, Example 5.11]).

Likewise, the results of [3, Subsection 5.2] are now valid only under the additional assumption of left or right restriction. [3, Proposition 5.17] should be reformulated as:

Proposition 2.2

Let S be a finite E-Ehresmann and left (or right) restriction semigroup whose corresponding Ehresmann category C is an EI-category. Then \(\mathbb {K}{{\mathrm{Reg}}}_{E}(S)\) is isomorphic to \(\mathbb {K}S/{{\mathrm{Rad}}}(\mathbb {K}S)\).

The proof is as given in [3].