Suppose that x, y, z are elements of the monoid with
and suppose that x is invertible with inverse u. Multiply both sides of the equality by u:
Since * is associative, the definition of inverse gives:
Hence y = z.