Here’s a cute monoid: It helps to write ( instead of a, ) instead of b, and | in...

@slava@mathstodon.xyz

Here’s a cute monoid: <a, b, c | ab=1, ca=bc>

It helps to write ( instead of a, ) instead of b, and | instead of c. Also, “1” is the empty word.

So the rules mean:
(1) you can insert or delete () anywhere
(2) you can replace |( with )| or vice versa

The first rule means that a string of balanced parentheses reduces to the empty word:

(((())(()))) = 1

And the second rule means you can “slide” | past a row of ( to turn them all into ):

|((((( = )))))|

But that’s not all…