Remember that a monoid is left cancellative if for all x, y, z, xy=xz implies th...
Slava Pestov @slava@mathstodon.xyz
Remember that a monoid is left cancellative if for all x, y, z, xy=xz implies that y=z. Right cancellativity is defined similarly. Every group is cancellative, but not every cancellative monoid is a group.
For a one relation monoid, cancellativity can be determined directly from the presentation. When there are multiple relations, cancellativity is undecidable, even if you have an FCRS for the monoid.
I had a go at classifying the two relation monoids in my enumeration up to cancellativity, using a few simple heuristics. First, there are the obvious ones (a finite monoid that is not a group is non-cancellative; free products of cancellative monoids are cancellative; cancellativity is decidable for commutative monoids as well, etc).
With that out of the way, you check each rule in the FCRS:
- if both sides start with the same letter, the monoid is not left cancellative.
- if both sides end with the same letter, the monoid is not right cancellative.
- if the FCRS contains a rule of the form w -> 1, you check if each cyclic conjugate of w reduces to the identity: if not, the monoid is not cancellative.
Surprisingly, the above is sufficient to decide the cancellativity of all but 105 presentations in the two generator, two relation enumeration.
Here are the holdouts. Some are definitely cancellative, but my heuristic can only find counter-examples, not prove the fact.
https://monoids.net/2,2/index-infinite-noncommutative-monoid.html