| Back: | ⟨a, b | aab=bb, bab=ba⟩ |
|---|
Completion settings:
Axiom: aab=bb.
Defines rule #1.
Axiom: bab=ba.
Defines rule #2.
Overlap of [2] bab=ba with [2] bab=ba:
Critical pair: baba=baab.
Reduce LHS:
| [2] | (bab)a |
| ⇒ baa |
Reduce RHS:
| [1] | b(aab) |
| ⇒ bbb |
Flip LHS and RHS.
Defines rule #4.
Overlap of [1] aab=bb with [3] bbb=baa:
Critical pair: aabaa=bbbb.
Reduce LHS:
| [1] | (aab)aa |
| ⇒ bbaa |
Reduce RHS:
| [3] | (bbb)b |
| [1] | ⇒ b(aab) |
| [3] | ⇒ (bbb) |
| ⇒ baa |
Referenced by [6].
Overlap of [2] bab=ba with [3] bbb=baa:
Critical pair: babaa=babb.
Reduce LHS:
| [2] | (bab)aa |
| ⇒ baaa |
Reduce RHS:
| [2] | (bab)b |
| [2] | ⇒ (bab) |
| ⇒ ba |
Defines rule #5.
Referenced by [6].
Overlap of [1] aab=bb with [5] baaa=ba:
Critical pair: aaba=bbaaa.
Reduce LHS:
| [1] | (aab)a |
| ⇒ bba |
Reduce RHS:
| [4] | (bbaa)a |
| [5] | ⇒ (baaa) |
| ⇒ ba |
Defines rule #3.