A previous discussion on a more intuitive variant of a UFD led naturally to discussing signs on commutative monoids, where instead of thinking of signs as additive inverses in a ring, we generalized to defining a more abstract concept of sign. Upon further thought, we can probably generalize this definition even further, from a commutative monoid to a most general kind of algebra — namely, a magma. In this post, we take this approach, which has a “reverse mathematics” benefit of seeing the most general settings in which certain theorems hold and certain questions can be formulated.
Our fundamental definition, which was first given for commutative monoids in this post but can nevertheless be generalized almost word-for-word to magmas, is as follows:
Definition. Let be a magma. A sign on
is a unary operation
satisfying the following:
for all
for all
for all
As implied by the discussion in that post, an equivalent definition is given by:
Theorem. A unary operation is a sign if and only if it satisfies the following:
is a permutation that can be decomposed into disjoint 2-cycles
for all
Note how strong the requirement is; in particular, for this definition to apply say to rings, we must exclude 0. (So
wouldn’t be a sign on a ring; instead, it would be a sign on the ring excluding 0.)
Also note that if is commutative, then (3) can be equivalently shortened either to
or
.
We now attempt to generalize some of the results as well as conjectures in that post to this setting.
—
Are the three axioms independent? We showed that (1) and (2) don’t imply (3) for commutative monoids, so they certainly don’t in general for magmas, and similarly (2) and (3) don’t imply (1). Do (1) and (3) imply (2)?
We can restrict to commutative monoids, or indeed as rich a structure as we’d like — that’d only make the counterexample stronger.
Actually, on second thought, this is obvious — just take a commutative ring with as the sign. Clearly, this doesn’t satisfy (1) since the ring contains 0, but it always satisfies (2) and (3). Hence, (2) and (3) don’t imply (1).
It follows that the three axioms are independent.
—
Can we develop some of “polynomial algebra” in a very general setting here? Specifically, can we show:
Conjecture. Let be a sign on
. Then,
if and only if
or
.
This would yield that, if we have an equation on
with unknown
, then if there is a solution, there must be exactly two solutions, which are both signs of each other.
Before we work on this, let’s note some basic facts that hold in this setting. We have if and only if
, and
, thus
. (For a general magma, we have \hfill\break
.) In particular, to prove the conjecture we only need one direction: if
and
then
. If we have a signed semigroup
(where multiplication is associative), then we can write
for
, and then we have that
and
; this then inspires similar questions about “roots” of elements in a signed semigroup. We can extrapolate consequences and generalizations of the conjecture:
Lemma. Let be a signed semigroup. Consider the equation
in unknown
. Then, the solution set can be partitioned into two subsets where each subset is the signs of the elements in the other. Consequently, if it has a finite number of solutions, then this number is even.
Proof. If is a solution, then so is
, for
. Thus, if the solution set is
, then it must consist of elements that can be separated into pairs
(the elements in these pairs are distinct by axiom (1) of signs.) Thus,
can be partitioned into two subsets in the desired manner, and hence if it is finite then it must consist of an even number of elements.
Lemma. Let be a signed semigroup, and assume
is cancellative. Consider the equation
in unknown
(with odd exponent this time.) If
is a solution then
isn’t.
Proof. Assume for the sake of contradiction there existed such that
. We have
, thus
. But since
is cancellative we can yield
, contradicting the sign axioms.
(It seems like it would be hard / maybe not possible to derive this result if isn’t cancellative, although we could try something maybe with the disjoint 2-cycle structure of the sign and Pigeonhole Principle.)
Conjecture. Let be a signed semigroup. Consider the equation
in unknown
. If the equation has a finite number of solutions, then this number is odd.
Attempt. Assume for the sake of contradiction that the number of solutions was even.
Actually, this seems a bit trickier on second thought … it remains to investigate this further.
Restatement of the Conjecture. In a general magma, the solution set of in unknown
must have size less than or equal to 2. (From the lemmas, equivalently, the size must be 0 or 2.)
Proof. Clearly, the conjecture implies this, and if the size is less than or equal to 2, then if , there must be at most two possible values for
in terms of
; both
and
work, and these are different, so these must be the only solutions.
Conjectured Consequence of the Conjecture. In a semigroup, the solution set of in unknown
must have size less than or equal to
.
Attempt. We proceed by strong induction on .
For the base case, , we trivially have that there is exactly one solution to
.
Now, for the induction step, we split into cases depending on parity of .
First, assume is even,
, and assume the result holds for all
; we prove it for
. The equation in consideration is
, which implies
. By the conjecture, there are at most two possible values of
, say
and
. But by the induction hypothesis, there are at most
values of
for
and similarly for
, thus there are at most
values of
, as desired.
Otherwise, assume is odd,
, and assume the result holds for all
; we prove it for
. The equation in consideration is
, or
. Actually, it seems trickier to yield something now analogously to the case of
being even … we could try Pigeonhole Principle maybe with the disjoint 2-cycle structure of the sign, assuming
is finite. Even if
is cancellative or a division semigroup, if we produced
, we’d still have a variable on both sides, which would invalidate applying the conjecture assuming the RHS is a constant. Thus, odd seems trickier.
At the very least, this is what we’ve shown:
Consequence of the Conjecture. In a signed semigroup , the number of solutions of
for unknown
is finite and at most
, if
is a power of 2.
It remains to investigate the conjecture.
—
We can generalize many basic concepts about counting numbers and integers in a straightforward manner. From the disjoint-cycle permutation structure of a sign, it is clear that a sign partitions the magma into two subsets that are signs of each other’s elements. Furthermore, if we know the multiplication table for one of these halves, then that determines the multiplication table for the whole magma.
Also, given a non-signed magma , we can construct a new magma
from
that is signed. We deem this construction to be canonical, and it preserves many algebraic properties of
(like commutativity or associativity.) Specifically, we define
with multiplication and sign on defined in the natural manner.
—
That statement can be interpreted in some sense as yielding the multiplication structure given the sign. Can we go the other way around? Specifically, given the multiplication structure on all of , can we constrain what a sign could be? Can we determine conditions for whether or not there exists a sign? Can we for example do this if we are given a sign on a subset of
(much like how we can be given a sign on
and multiplication on a suitable half of
to yield multiplication on all of
)?
Let’s ask this question as follows. Let be a magma whose full multiplication table is known, and say we are given
and a sign on
. Are there conditions on
, and
that allow
to be extended to a sign
on all of
?
Well, it seems natural to require that be closed under multiplication, aka
is a submagma of
. So we know the multiplication tables of
, and have a sign
on
. Given that we are dealing with a general magma, it is hard to require more conditions beyond this that would seem to help. So let’s say this is our setup. Then, can we extend
to
? Furthermore, is the extension unique?
Actually, we of course need to require to be closed under sign too. So we’d need
to be closed under multiplication and sign.
Let’s try a toy example: look at and
, under multiplication. So we have
and we have a sign on
. Given that we know how nonzero real numbers multiply, does that determine the sign on all of
?
Let ; we are trying to find
. We are given
. If say
, then we could generate
from
or
, and then that would yield
. But wait … that generation requires additivity, which we are not considering in the signed magma structure. And actually, it depends on
, which is not a general assumption for magmas. Thus, that logic wouldn’t work for magmas.
It seems we can say this clearly: if an element is generated from , then its sign is determined by the sign on
and repeated application of (3). This generation could be done without associativity too, if words in
can contain parentheses; for example, if
, then
, and
.
But actually, if is closed under multiplication, then all elements generated from
would just stay within
. So that wouldn’t be helpful. Instead, we can say the following: if
is closed under sign and multiplicatively generates
, then the sign on
uniquely determines the sign on
.
Hmm … but the fact that (3) gave two expressions for , and furthermore asserted their equivalence, seems to me to show that there are additional “redundancies” that we are not considering, that could allow us to derive more information here. In fact, it seems like the existence of a sign could lead to implications for the multiplicative structure. Certainly, many different “expression trees” in a non-associative signed magma must evaluate to the same thing, and the fact that
is bijective means that this could presumably yield some version of associativity as a consequence, or maybe a weaker form of associativity.
Let’s actually try to show this. Let’s evaluate and
and see if we can show them to be equal. There are actually three different expressions for each, which we see as follows:
So what we can yield is this: if and only if
, and also
if and only if
. Thus, certain associativity triples imply other associativity triples. Actually, these are also equivalent to
. In other words,
being an associativity triple is equivalent to the associativity of the triple with either of the three elements replaced by its sign. Let us write a shorthand for
exactly when they are both associative or both not associative. Then, we have:
In fact, any triple is “equivalent” (by satisfaction of associativity) to any triple formed from replacing any number of elements by their signs. Thus, associativity of some triples implies associativity of other triples, and with it seems very plausible that many of these triples must often be different. But that works another way too: non-associativity of some triples implies non-associativity of many other different triples.
Can we show that finite signed magmas must be associative? The idea is to use contradiction, and show that if a certain number of triples are not associative, then that implies non-associativity for a much larger set of triples. Then, use Pigeonhole Principle to show a number of triples that must be associative, and construct a contradiction from these two.
So let’s say our finite signed magma has size . For any triple
, we can form the expressions
and
. Let’s use Pigeonhole Principle where the expressions are the items and the
elements are the buckets. Actually, this may not work without incorporating sign: just because some of the expressions are equal doesn’t mean that the two expressions for a particular triple are equal. In fact, we can simply order the triples say lexicographically (imposing an order on the magma as well) and then always have
(mod
.)
It seems that we can combine this with the associativity equivalency from sign applications to elements in the triple to yield some sort of existence of a certain number of associative triples. I think this proof is doable, but I will come back to it at another time and investigate this further.
—
We can ask some additional questions:
- Can we “add 0” to any signed magma and define an addition operation, possibly to turn any signed magma into an additive abelian group with a multiplication that distributes over? In that case, whenever we work with signed magmas, we can immediately make use of the additive structure, which we can take to be canonical (implied whenever we use addition.)
- In the case that we can show associativity of finite signed magmas, can we exhibit an example of a non-associative infinite signed magma?
- Can we go further and fully classify finite signed magmas? The reason this seems to be possible to me is that the sign axioms seem quite strong: (1) and (2) already imply a disjoint-cycle permutation which lead to further consequences, while including (3) with these seems to constrain the possibilities a lot. My first guess is the following: for any finite signed magma
,
is isomorphic as a “ring without associativity or unit” to
, with addition and multiplication defined in some way on
, and then extended via sign to the rest of the set.
It remains to study these further.

2 replies on “Signs on Magmas in Abstract Algebra”
You should publish your work.
LikeLiked by 1 person
Thanks Jerry! It’s been a while since I’ve worked on this sort of math, but when I get a chance I’ll revisit it and see how much of it can be published.
LikeLike