| Back: | ⟨a, b | aab=bb, bab=ab⟩ |
|---|
Completion settings:
Axiom: aab=bb.
Defines rule #1.
Axiom: bab=ab.
Defines rule #3.
Overlap of [1] aab=bb with [2] bab=ab:
Critical pair: aaab=bbab.
Reduce LHS:
| [1] | a(aab) |
| ⇒ abb |
Reduce RHS:
| [2] | b(bab) |
| [2] | ⇒ (bab) |
| ⇒ ab |
Defines rule #2.
Overlap of [2] bab=ab with [2] bab=ab:
Critical pair: baab=abab.
Reduce LHS:
| [1] | b(aab) |
| ⇒ bbb |
Reduce RHS:
| [2] | a(bab) |
| [1] | ⇒ (aab) |
| ⇒ bb |
Defines rule #4.