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