Every quasitrivial n-ary semigroup is reducible to a semigroup
Miguel Couceiro, Jimmy Devillet

TL;DR
This paper proves that all quasitrivial n-ary semigroups can be reduced to binary semigroups, providing conditions for uniqueness, especially for symmetric cases, and enumerates their sizes on finite sets, revealing new integer sequences.
Contribution
It establishes a reduction framework for quasitrivial n-ary semigroups to binary semigroups and characterizes the conditions for uniqueness, including symmetric cases.
Findings
Reduction of quasitrivial n-ary semigroups to binary semigroups
Necessary and sufficient conditions for reduction uniqueness
Enumeration of classes on finite sets and discovery of new integer sequences
Abstract
We show that every quasitrivial n-ary semigroup is reducible to a binary semigroup, and we provide necessary and sufficient conditions for such a reduction to be unique. These results are then refined in the case of symmetric n-ary semigroups. We also explicitly determine the sizes of these classes when the semigroups are defined on finite sets. As a byproduct of these enumerations, we obtain several new integer sequences.
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.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Every quasitrivial -ary semigroup is reducible to a semigroup
Miguel Couceiro
Université de Lorraine, CNRS, Inria, LORIA, F-54000 Nancy, France
miguel.couceiro[at]{loria,inria}.fr
and
Jimmy Devillet
Mathematics Research Unit, University of Luxembourg, Maison du Nombre, 6, avenue de la Fonte, L-4364 Esch-sur-Alzette, Luxembourg
Abstract.
We show that every quasitrivial -ary semigroup is reducible to a binary semigroup, and we provide necessary and sufficient conditions for such a reduction to be unique. These results are then refined in the case of symmetric -ary semigroups. We also explicitly determine the sizes of these classes when the semigroups are defined on finite sets. As a byproduct of these enumerations, we obtain several new integer sequences.
Key words and phrases:
quasitrivial polyadic semigroup, reducibility, symmetry, enumeration.
1991 Mathematics Subject Classification:
05A15, 20N15; 16B99, 20M14.
The second author is supported by the Luxembourg National Research Fund under the project PRIDE 15/10949314/GSM
1. Introduction
Let be a nonempty set and let be an integer. In this paper we are interested in -ary operations that are associative, namely that satisfy the following system of identities
[TABLE]
for all and all . This generalisation of associativity was originally proposed by Dörnte [4] and studied by Post [10] in the framework of -ary groups and their reductions. An operation is said to be reducible to a binary operation (resp. ternary operation) if it can be written as a composition of a binary (resp. ternary) associative operation (see Definition 2.1).
Recently, the study of reducibility criteria for -ary semigroups , that is, a set endowed with an associative -ary operation, gained an increasing interest (see, e.g., [5, 1, 6, 7]). In particular, Dudek and Mukhin [5] provided necessary and sufficient conditions under which an -ary associative operation is reducible to a binary associative operation. Indeed, they proved (see [5, Theorem 1]) that an associative operation is reducible to an associative binary operation if and only if one can adjoin a neutral element to for , that is, there is an -ary associative extension of such that is a neutral element for and . In this case, a binary reduction of can be defined by
[TABLE]
Recently, Ackerman [1] also investigated reducibility criteria for -ary associative operations that are quasitrivial, that is, operations that preserve all unary relations: for every , .
Remark 1.1**.**
Quasitrivial operations are also called conservative operations [11]. This property has been extensively used in the classification of constraint satisfaction problems into complexity classes (see, e.g, [2] and the references therein).
The following result reassembles Corollaries 3.14 and 3.15, and Theorem 3.18 of [1].
Theorem 1.2**.**
Let be an associative and quasitrivial operation.
- (a)
If is even, then is reducible to an associative and quasitrivial binary operation . 2. (b)
If is odd, then is reducible to an associative and quasitrivial ternary operation . 3. (c)
If and is not reducible to an associative binary operation , then there exist with such that
- •
* is reducible to an associative binary operation.*
- •
* and are neutral elements for .*
From Theorem 1.2 (c) it would follow that if an associative and quasitrivial operation is not reducible to an associative binary operation , then is odd and there exist distinct that are neutral elements for .
However, Theorem 1.2 (c) supposes the existence of a ternary associative and quasitrivial operation that is not reducible to an associative binary operation, and Ackerman did not provide any example of such an operation.
In this paper we show that there is no associative and quasitrivial -ary operation that is not reducible to an associative binary operation (Corollary 2.3). Hence, for any associative and quasitrivial operation one can adjoin a neutral element to . Now this raises the question of whether such a binary reduction is unique and whether it is quasitrivial. We show that both of these properties are equivalent to the existence of at most one neutral element for the -ary associative and quasitrivial operation (Theorem 3.9). Since an -ary associative and quasitrivial operation has at most one neutral element when is even or at most two when is odd (Proposition 3.7), in the case when is finite, we also provide several enumeration results (Propositions 3.15 and 3.17) that explicitly determine the sizes of the corresponding classes of associative and quasitrival -ary operations in terms of the size of the underlying set . As a by-product, these enumeration results led to several integer sequences that were previously unknown in the Sloane’s On-Line Encyclopedia of Integer Sequences (OEIS, see [12]). These results are further refined in the case of symmetric operations (Theorem 4.6).
2. Motivating results
In this section we recall some basic definitions and present some motivating results. In particular, we show that every associative and quasitrivial operation is reducible to an associative binary operation (Corollary 2.3).
Throughout this paper let and . We use the shorthand notation and ( times), and we denote the set of all constant -tuples over by Also, we denote the size of any set by .
Recall that a neutral element for is an element such that
[TABLE]
for all and all . When the meaning is clear from the context, we may drop the index and denote a neutral element for by .
Definition 2.1** (see [1, 5]).**
Let , and be associative operations.
- (1)
An operation is said to be reducible to if for all , where and
[TABLE]
for each integer . In this case, is said to be a binary reduction of . 2. (2)
Similarly, is said to be reducible to if is odd and for all , where and
[TABLE]
for each even integer . In this case, is said to be a ternary reduction of .
As we will see, every associative and quasitrivial operation is reducible to an associative binary operation. To show this, we will make use of the follwing auxiliary result.
Lemma 2.2** (see [5, Lemma 1]).**
If is associative and has a neutral element , then is reducible to the associative operation defined by
[TABLE]
The following corollary follows from Theorem 1.2 and Lemma 2.2.
Corollary 2.3**.**
Every associative and quasitrivial operation is reducible to an associative binary operation.
Theorem 1.2(c) states that a ternary associative and quasitrivial operation must have two neutral elements, whenever it is not reducible to a binary operation. In particular, we can show that two distinct elements are neutral elements for if and only if they are neutral elements for the restriction of to . Indeed, the condition is obviously necessary, while its sufficiency follows from the Lemma 2.4 below.
Lemma 2.4**.**
Let be an associative and quasitrivial operation.
- (a)
If are two distinct neutral elements for , then
[TABLE] 2. (b)
If are two distinct neutral elements for , then both and are neutral elements for .
Proof.
- (a)
Let . We only show that , since the other equalities can be shown similarly. Clearly, the equality holds when . So let and, for a contradiction, suppose that . By the associativity and quasitriviality of , we then have
[TABLE]
which contradicts the fact that and are pairwise distinct. 2. (b)
Suppose to the contrary that is not a neutral element for (the other case can be dealt with similarly). By Lemma 2.4(a) we have that for all . By assumption, there exists such that . We have two cases to consider.
- •
If , then by Lemma 2.4(a) we have that
[TABLE]
Also, by Lemma 2.4(a) we have that
[TABLE]
which contradicts the fact that .
- •
If , then by Lemma 2.4(a) we have that
[TABLE]
and
[TABLE]
By Lemma 2.4(a) we also have that
[TABLE]
which contradicts the fact that .∎
We now present some geometric considerations of quasitrivial operations. The preimage of an element under an operation is denoted by . When is finite, namely , we also define the preimage sequence of as the nondecreasing -element sequence of the numbers , . We denote this sequence by .
Recall that the kernel of an operation is the equivalence relation The contour plot of is the undirected graph , where is the non-reflexive part of , that is, We say that two tuples are -connected (or simply connected) if .
By an idempotent operation, we mean an operation that satisfies for all .
Lemma 2.5**.**
An operation is quasitrivial if and only if it is idempotent and each is connected to some .
Proof.
Clearly, is quasitrivial if and only if it is idempotent and for any there exists such that . ∎
In the sequel we shall make use of the following two lemmas.
Lemma 2.6**.**
For each , the number of tuples with at least one component equal to is given by .
Proof.
Let . The set of tuples in with at least one component equal to is the set , and its cardinality is since . ∎
Lemma 2.7**.**
Let be a quasitrivial operation. Then, for each , we have .
Proof.
Let . Since is quasitrivial, it follows from Lemma 2.5 that the point is at most connected to all with at least one component equal to . By Lemma 2.6, we conclude that there are exactly such points. ∎
Recall that an element is said to be an annihilator for if , whenever has at least one component equal to .
Remark 2.8**.**
A neutral element need not be unique when (for instance, on ). However, if an annihilator exists, then it is unique.
Proposition 2.9**.**
Let be a quasitrivial operation and let . Then is an annihilator if and only if .
Proof.
(Necessity) If is an annihilator, then we know that for all , all and all permutations of . Thus, by Lemma 2.6 is connected to points. Finally, using Lemma 2.7 we get .
(Sufficiency) If , then by Lemmas 2.5 and 2.6 we have that is connected to the points containing at least one component equal to . Thus, we have for all , all and all permutations of , which shows that is an annihilator. ∎
Remark 2.10**.**
By Proposition 2.9, if is quasitrivial, then each element such that is unique.
3. Criteria for unique reductions and some enumeration results
In this section we show that an associative and quasitrivial operation is uniquely reducible to an associative and quasitrivial binary operation if and only if has at most one neutral element (Theorem 3.9). We also enumerate the class of associative and quasitrivial -ary operations, which leads to a previously unknown sequence in the OEIS [12] (Proposition 3.17). Let us first recall a useful result from [6].
Lemma 3.1** (see [6, Proposition 3.5]).**
Assume that the operation is associative and reducible to associative binary operations and . If and are idempotent or have the same neutral element, then .
From Lemma 3.1, we immediately get a necessary and sufficient condition that guarantees unique reductions for associative operation that have a neutral element.
Corollary 3.2**.**
Let be an associative operation that is reducible to associative binary operations and that have neutral elements. Then, if and only if and have the same neutral element.
Using Lemma 2.2, Corollary 3.2, and observing that
- (i)
a binary associative operation has at most one neutral element, 2. (ii)
the neutral element of a binary reduction of an associative operation is also a neutral element for , and 3. (iii)
if is a neutral element for an associative operation and is a reduction of , then (see Definition 2.1) is the neutral element for ,
we can generalise Corollary 3.2 as follows.
Proposition 3.3**.**
Let be an associative operation, and let be the set of its neutral elements and of its binary reductions. If , then for any , there exists such that . Moreover, the mapping defined by is a bijection. In particular, is the unique neutral element for if and only if is the unique binary reduction of .
As we will see in Proposition 3.7, the size of , and thus of , is at most 2 whenever is quasitrivial.
Let denote the class of associative and quasitrivial operations that have exactly one neutral element, and let denote the class of associative operations that have exactly one neutral element and that satisfy the following conditions:
- •
for all ,
- •
for all ,
- •
If there exists such that , then is unique and we have for all .
Note that when . Also, it is not difficult to see that . Actually, we have that if and only if and , where is the neutral element for . A characterization of the class of associative and quasitrivial binary operations as well as can be found in [3, Theorem 2.1, Fact 2.4].
Recall that two groupoids and are said to be isomorphic, and we denote it by , if there exists a bijection such that for every . The following straightforward proposition states, in particular, that any gives rise to a semigroup which has a unique -element subsemigroup isomorphic to the additive semigroup on .
Proposition 3.4**.**
Let be an operation. Then if and only if there exists a unique pair such that the following conditions hold
- (a)
** 2. (b)
* is associative and quasitrivial, and* 3. (c)
every is an annihilator for .
Proposition 3.5**.**
Let be an associative and quasitrivial operation. Suppose that is a neutral element for .
- (a)
If is even, then is reducible to an operation . 2. (b)
If is odd, then is reducible to the operation .
Proof.
(a) By Theorem 1.2(a) we have that is reducible to an associative and quasitrivial binary operation . Finally, we observe that is the neutral element for .
(b) By Lemma 2.2 we have that is reducible to an associative operation of the form (2.1) and that is also a neutral element for . Since is quasitrivial, it follows from (2.1) that for all . If , then the proof is complete. So suppose that and let us show that for all . Since is a neutral element for , we have that for all . So suppose to the contrary that there are distinct such that . As is a reduction of and is quasitrivial, we must have . But then, using the associativity of , we have that
[TABLE]
which contradicts the fact that , and are pairwise distinct.
Now, suppose that there exists such that and let . Since
[TABLE]
we must have . Similarly, we can show that .
To complete the proof, we only need to show that such an is unique. Suppose to the contrary that there exists such that . Since and are pairwise distinct and
[TABLE]
and
[TABLE]
we must have , which yields the desired contradiction. ∎
We observe that the associative operation defined by
[TABLE]
has 2 neutral elements, namely [math] and , when is odd. Moreover, it is quasitrivial if and only if is odd. This also illustrates the fact that an associative and quasitrivial -ary operation that has 2 neutral elements does not necessarily have a quasitrivial reduction. Indeed, when is odd, and on are two distinct reductions of but neither is quasitrivial.
Clearly, if an associative operation is reducible to an operation , then it is quasitrivial. The following proposition provides a necessary and sufficient condition for to be quasitrivial when .
Proposition 3.6**.**
Let be an associative operation. Suppose that is reducible to an operation . Then, is quasitrivial if and only if is odd.
Proof.
To show that the condition is necessary, let such that . If is even, then , contradicting quasitriviality.
So let us prove that the condition is also sufficient. Note that , and thus we only need to show that is idempotent. Since is reducible to , we clearly have that for all such that .
Let such that . Since is odd, we have that
[TABLE]
Hence, is idempotent and the proof is now complete. ∎
It is not difficult to see that the operation defined by
[TABLE]
is associative, idempotent, symmetric (that is, is invariant under any permutation of ), and has neutral elements. However, this number is much smaller for quasitrivial operations.
Proposition 3.7**.**
Let be an associative and quasitrivial operation.
- (a)
If is even, then has at most one neutral element. 2. (b)
If is odd, then has at most two neutral elements.
Proof.
(a) By Theorem 1.2(a) we have that is reducible to an associative and quasitrivial binary operation . Suppose that are two neutral elements for . Since is quasitrivial we have
[TABLE]
Hence, has at most one neutral element.
(b) By Theorem 1.2(b) we have that is reducible to an associative and quasitrivial ternary operation . For a contradiction, suppose that are three distinct neutral elements for . Since is quasitrivial, it is not difficult to see that , , and are neutral elements for . Also, by Proposition 3.5(b) we have that is reducible to the operations . In particular, we have
[TABLE]
and
[TABLE]
Hence, which shows that are not pairwise distinct, and thus yielding the desired contradiction. ∎
Corollary 3.8**.**
Let be an operation and let and be distinct elements of . Then is associative, quasitrivial, and has exactly the two neutral elements and if and only if is odd and is reducible to exactly the two operations .
Proof.
(Necessity) This follows from Propositions 3.3, 3.5, and 3.7 together with the observation that and .
(Sufficiency) This follows from Propositions 3.3 and 3.6. ∎
We can now state and prove the main result of this section.
Theorem 3.9**.**
Let be an associative and quasitrivial operation. The following assertions are equivalent.
- (i)
Any binary reduction of is idempotent. 2. (ii)
Any binary reduction of is quasitrivial. 3. (iii)
* has at most one binary reduction.* 4. (iv)
* has at most one neutral element.* 5. (v)
* for any .*
Proof.
The implications and are straightforward. By Proposition 3.7 and Corollary 3.8 we also have the implications . Hence, to complete the proof, it suffices to show that . First, we prove that . We consider the two possible cases.
If has a unique neutral element , then by Proposition 3.3 is the unique reduction of with neutral element . For the sake of a contradiction, suppose that is not idempotent. By Proposition 3.5 we then have that is odd and .
So let such that . Since , we must have . It is not difficult to see that for all . Now, if there is such that
[TABLE]
then we have that and are both even or both odd (since is odd), and thus
[TABLE]
which contradicts our assumption that . Hence, we have for all .
Now, if , then the proof is complete since and are both neutral elements for , which contradicts our assumption. So suppose that .
Since is the unique neutral element for , there exist and such that
[TABLE]
Again by the fact that is odd, and are both even or both odd, and thus
[TABLE]
Since , we thus have that . But then
[TABLE]
which contradicts our assumption that and are pairwise distinct.
Now, suppose that has no neutral element and that is a reduction of F that is not idempotent. So let such that , and let . By the quasitriviality of we have . On the other hand, by the quasitriviality (and hence idempotency) of and the associativity of we have
[TABLE]
Since and are pairwise distinct, it follows that , which implies that . Similarly, we can show that
[TABLE]
Also, it is not difficult to see that
[TABLE]
Furthermore, since is idempotent and reducible to , we also have that
[TABLE]
Thus is a neutral element for and therefore a neutral element for , which contradicts our assumption that has no neutral element.
As both cases yield a contradiction, we conclude that must be idempotent. The implication is an immediate consequence of the implication together with Lemma 3.1. Thus, the proof of Theorem 3.9 is now complete. ∎
Remark 3.10**.**
We observe that an alternative necessary and sufficient condition for the quasitriviality of a binary reduction of an -ary quasitrivial semigroup has also been provided in [1, Corollary 3.16].
Theorem 3.9 together with Corollary 2.3 imply the following result.
Corollary 3.11**.**
Let be an operation. Then is associative, quasitrivial, and has at most one neutral element if and only if it is reducible to an associative and quasitrivial operation . In this case, is defined by .
Recall that a weak ordering on is a binary relation on that is total and transitive (see, e.g., [8] p. 14). We denote the symmetric part of by . Also, a total ordering on is a weak ordering on that is antisymmetric. If is a weakly ordered set, an element is said to be maximal for if for all . We denote the set of maximal elements of for by .
Given a weak ordering on , the -ary maximum operation on for is the partial symmetric -ary operation defined on
[TABLE]
by where is such that for all . If reduces to a total ordering, then clearly the operation is defined everywhere on . Also, the projection operations and are respectively defined by and for all .
Corollary 3.11 together with [9, Theorem 1] and [3, Corollary 2.3] imply the following characterization of the class of quasitrivial -ary semigroups with at most one neutral element.
Theorem 3.12**.**
Let be an operation. Then is associative, quasitrivial, and has at most one neutral element if and only if there exists a weak ordering on and a binary reduction of such that
[TABLE]
Moreover, when , then the weak ordering is uniquely defined as follows:
[TABLE]
Now, let us illustrate Theorem 3.12 for binary operations by means of their contour plots. We can always represent the contour plot of any operation by fixing a total ordering on . In Figure 1 (left), we represent the contour plot of an operation using the usual total ordering on . To simplify the representation of the connected components, we omit edges that can be obtained by transitivity. It is not difficult to see that is quasitrivial. To check whether is associative, by Theorem 3.12, it suffices to show that is of the form (3.1) where the weak ordering is defined on by (3.2). In Figure 1 (right) we represent the contour plot of using the weak ordering on defined by (3.2). We observe that is of the form (3.1) for and thus by Theorem 3.12 it is associative.
Let be a total ordering on . An operation is said to be -preserving if , whenever for all . Some associative binary operations are -preserving for any total ordering on (e.g., for all ). However, there is no total ordering on for which an operation is -preserving. A typical example is the binary addition modulo 2.
Proposition 3.13**.**
Suppose . If , then there is no total ordering on that is preserved by .
Proof.
Let be the neutral element for and let such that . Suppose to the contrary that there exists a total ordering on such that is -preserving. If , then , which contradicts our assumption. The case yields a similar contradiction. ∎
Remark 3.14**.**
It is not difficult to see that any -preserving operation has at most one neutral element. Therefore, by Corollary 2.3 and Theorem 3.9 we conclude that any associative, quasitrivial, and -preserving operation is reducible to an associative, quasitrivial, and -preserving operation . For a characterization of the class of associative, quasitrivial, and -preserving operations , see [3, Theorem 4.5].
We now provide several enumeration results that give the sizes of the classes of associative and quasitrivial operations that were considered above when . Recall that for any integers , the Stirling number of the second kind is defined by
[TABLE]
For any integer , let (resp. ) denote the number of associative and quasitrivial binary (resp. -ary) operations on . For any integer , we denote by the cardinality of . Also, we denote by the cardinality of . By definition, we have . In [3] the authors solved several enumeration problems concerning associative and quasitrivial binary operations. In particular, they computed (see [3, Theorem 4.1]) as well as (see [3, Proposition 4.2]). These sequences were also introduced in the OEIS [12] as and . The following result summarizes [3, Theorem 4.1] and [3, Proposition 4.2].
Proposition 3.15**.**
For any integer , we have the closed-form expression
[TABLE]
where . Moreover, for any integer , we have .
Proposition 3.16**.**
For any integer , we have .
Proof.
We already have that . Now, let us show how to construct an operation . There are ways to choose the element such that and for all . Then we observe that the restriction of to belongs to , so we have possible choices to construct this restriction. This shows that . Finally, by Proposition 3.15 we conclude that . ∎
For any integer let (resp. ) denote the number of associative and quasitrivial -ary operations that have exactly one neutral element (resp. that have no neutral element) on . Also, for any integer , let denote the number of associative and quasitrivial -ary operations that have two neutral elements on . Clearly, and . The following proposition provides explicit forms of the latter sequences. Table 1 below provides the first few values of all the previously considered sequences. In view of Corollary 3.8, we only consider the case where is odd for and .
Proposition 3.17**.**
For any integer we have and . Also, for any integer we have
[TABLE]
and
[TABLE]
Proof.
By Theorem 3.9 we have that the number of associative and quasitrivial -ary operations that have exactly one neutral element (resp. that have no neutral element) on is exactly the number of associative and quasitrivial binary operation on that have a neutral element (resp. that have no neutral element). This number is given by (resp. ). Also, if is even, then by Theorem 1.2(a) and Proposition 3.7(a) we conclude that and .
Now, suppose that is odd. By Corollary 3.8 and Propositions 3.15 and 3.16 we have that . Finally, by Proposition 3.7 we have that . ∎
4. Symmetric operations
In this section we refine our previous results to the subclass of associative and quasitrivial operations that are symmetric, and present further enumeration results accordingly.
We first recall and establish some auxiliary results.
Fact 4.1**.**
Suppose that is associative and surjective. If it is reducible to an associative operation , then is surjective.
Lemma 4.2** (see [6, Lemma 3.6]).**
Suppose that is associative, symmetric, and reducible to an associative and surjective operation . Then is symmetric.
Proposition 4.3**.**
If is associative, quasitrivial, and symmetric, then it is reducible to an associative, surjective, and symmetric operation . Moreover, if , then has a neutral element.
Proof.
By Corollary 2.3, is reducible to an associative operation . By Fact 4.1 and Lemma 4.2, it follows that is surjective and symmetric.
For the moreover part, we only have two cases to consider.
- •
If is quasitrivial, then by [3, Theorem 3.3] it follows that has a neutral element, and thus also has a neutral element.
- •
If is not quasitrivial, then by Proposition 3.7 and Theorem 3.9 has in fact two neutral elements.∎
Proposition 4.4** (see [1, Corollary 4.10]).**
An operation is associative, quasitrivial, symmetric, and reducible to an associative and quasitrivial operation if and only if there exists a total ordering on such that .
Proposition 4.5**.**
A quasitrivial operation is associative, symmetric, and reducible to an associative and quasitrivial operation if and only if .
Proof.
(Necessity) Since is quasitrivial, it is surjective and hence by Lemma 4.2 it is symmetric. Thus, by Proposition 4.4 there exists a total ordering on such that for all . Hence , which has an annihilator, and the proof of the necessity then follows by Proposition 2.9.
(Sufficiency) We proceed by induction on . The result clearly holds for . Suppose that it holds for some and let us show that it still holds for . Assume that is quasitrivial and that
[TABLE]
Let be the total ordering on defined by
[TABLE]
and let . Clearly, is quasitrivial and . By induction hypothesis we have that , where is the restriction of to . By Proposition 2.9, and thus . ∎
We can now state and prove the main result of this section.
Theorem 4.6**.**
Let be an associative, quasitrivial, symmetric operation. The following assertions are equivalent.
- (i)
* is reducible to an associative and quasitrivial operation .* 2. (ii)
There exists a total ordering on such that is -preserving. 3. (iii)
There exists a total ordering on such that .
Moreover, when , each of the assertions is equivalent to each of the following assertions.
- (iv)
* has exactly one neutral element.* 2. (v)
.
Furthermore, the total ordering considered in assertions (ii) and (iii) is uniquely defined as follows:
[TABLE]
Moreover, there are operations satisfying any of the conditions .
Proof.
. This follows from Proposition 4.4.
. Obvious.
. By Corollary 2.3 we have that is reducible to an associative operation . Suppose to the contrary that is not quasitrivial. From Theorem 3.9 and Proposition 3.7, it then follows that has two neutral elements , which contradicts Remark 3.14.
. This follows from Proposition 4.5.
. This follows from Theorem 3.9 and Proposition 4.3.
. This follows from Lemma 2.2 and Theorem 3.9.
The rest of the statement follows from [3, Theorem 3.3]. ∎
Now, let us illustrate Theorem 4.6 for binary operations by means of their contour plots. In Figure 2 (left), we represent the contour plot of an operation using the usual total ordering on . In Figure 2 (right) we represent the contour plot of using the total ordering on defined by (4.1). We then observe that , which shows by Theorem 4.6 that is associative, quasitrivial, and symmetric.
Based on this example, we illustrate a simple test to check whether an operation is associative, quasitrivial, symmetric, and has exactly one neutral element. First, construct the unique weak ordering on from the preimage sequence , namely, if . Then, check if is a total ordering and if is the maximum operation for .
We denote the class of associative, quasitrivial, symmetric operations that have a neutral element by . Also, we denote by the class of symmetric operations that belong to . It is not difficult to see that . In fact, if and only if and , where is the neutral element for .
For each integer , let denote the number of associative, quasitrivial, and symmetric -ary operations on . Also, denote by the size of . From Theorems 3.9 and 4.6 it follows that . Also, it is easy to check that . The remaining terms of the sequence are given in the following proposition.
Proposition 4.7**.**
For every integer , .
Proof.
As observed . So let us enumerate the operations in . There are ways to choose the element such that and for all . Moreover, the restriction of to belongs to , and we have possible such restrictions. Thus . By Theorems 3.9 and 4.6 it then follows that . ∎
For any integer let denote the number of associative, quasitrivial, and symmetric -ary operations that have exactly one neutral element on . Also, let denote the number of associative, quasitrivial, and symmetric -ary operations that have two neutral elements on .
Proposition 4.8**.**
For each integer , . Moreover, and
Proof.
By Theorems 4.6 and 3.9 and Lemma 4.2 we have that the number of associative, quasitrivial, and symmetric -ary operations that have exactly one neutral element on is exactly the number of associative, quasitrivial, and symmetric binary operations on . By Theorems 3.9 and 4.6 this number is given by . Also, by Corollary 3.8, Proposition 4.7, and Theorems 3.9 and 4.6, we have that and by Proposition 3.7 we have that . ∎
Remark 4.9**.**
Recall that an operation is said to be bisymmetric if
[TABLE]
for all matrices . In [6, Corollary 4.9] it was shown that associativity and bisymmetry are equivalent for operations that are quasitrivial and symmetric. Thus, we can replace associativity with bisymmetry in Theorem 4.6.
5. Conclusion
In this paper we proved that any quasitrivial -ary semigroup is reducible to a semigroup. Furthermore, we showed that a quasitrivial -ary semigroup is reducible to a unique quasitrivial semigroup if and only if it has at most one neutral element. Moreover, we characterized the class of quasitrivial (and symmetric) -ary semigroups that have at most one neutral element. Finally, when the underlying set is finite, this work led to four new integer sequences in the Sloane’s OEIS [12], namely, A308351, A308352, A308354, and A308362.
Note however that there exist idempotent -ary semigroups that are not reducible to a semigroup (for instance, consider the idempotent associative operation defined by for all ). This naturally asks for necessary and sufficient conditions under which an idempotent -ary semigroup is reducible to a semigroup. This and other related questions constitute topics for future research.
Acknowledgements
Both authors would like to thank Jean-Luc Marichal and the anonymous referee for their useful comments and insightful remarks that helped improving the current paper.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] Ackerman, N.L.: A characterization of quasitrivial n 𝑛 n -semigroups. Algebra Universalis (in press)
- 2[2] Bulatov, A.A.: Conservative constraint satisfaction re-revisited. Journal of Computer and System Sciences 82 , 347–356 (2016)
- 3[3] Couceiro, M., Devillet, J., Marichal, J.-L.: Quasitrivial semigroups: characterizations and enumerations. Semigroup Forum 98 , 472–498 (2019)
- 4[4] Dörnte, W.: Untersuchungen über einen verallgemeinerten Gruppenbegriff. Math. Z. 29 , 1–19 (1928)
- 5[5] Dudek, W.A., Mukhin, V.V.: On n 𝑛 n -ary semigroups with adjoint neutral element. Quasigroups and Related Systems 14 , 163–168 (2006)
- 6[6] Devillet, J., Kiss, G., Marichal, J.-L.: Characterizations of quasitrivial symmetric nondecreasing associative operations. Semigroup Forum 98 , 154–171 (2019)
- 7[7] Kiss, G., Somlai, G.: Associative idempotent nondecreasing functions are reducible. Semigroup Forum 98 , 140–153 (2019)
- 8[8] Krantz, D.H., Luce, R.D., Suppes, P., Tverskyand, A.: Foundations of measurement, vol. 1. Academic Press, New York (1971)
