A monoid is cancellative if whenever xz=yz or zx=zy for any elements x, y, z, yo...
Slava Pestov @slava@mathstodon.xyz
A monoid is cancellative if whenever xz=yz or zx=zy for any elements x, y, z, you also have x=y.
Cancellativity is undecidable in general, but in the one-relation case, <a, b | u=v> where |u| > 0, |v| > 0, is cancellative if and only if the first letter of u is distinct from the first letter of v, and the last letter of u is distinct from the last letter of v.
A one-relation cancellative monoid also embeds into the one-relation group with the same presentation, which again is not true in the general case. But there are "fewer" one-relation groups than one-relation monoids, because it is possible that two presentations define the same group but different monoids.
So, a bunch of the cancellative one-relation monoids in my enumeration are actually submonoids of the same handful of groups.
One "popular" such group is the braid group on three strands B_3, also known as the Trefoil knot group. https://en.wikipedia.org/wiki/Braid_group