I am trying to prove the diamond lemma: Suppose we have two elementary cancellations of a word $w$
then there exists some $w'$ such that there are (possibly trivial) cancellations
The diamond lemma,
There are two cases to consider: whether or not the cancelled subwords in $w$ overlap.
How can I write the proof in the case that the cancelled subwords overlap?
Thank you for your help.



Hint: See Newman's lemma: That is a relation is confluent (satisfies the diamond property) if and only if it is locally confluent.