The rewrite relation of the following TRS is considered.
| A(b(x1)) | → | b(a(B(A(x1)))) | (1) |
| B(a(x1)) | → | a(b(A(B(x1)))) | (2) |
| A(a(x1)) | → | x1 | (3) |
| B(b(x1)) | → | x1 | (4) |
| A#(b(x1)) | → | A#(x1) | (5) |
| A#(b(x1)) | → | B#(A(x1)) | (6) |
| B#(a(x1)) | → | B#(x1) | (7) |
| B#(a(x1)) | → | A#(B(x1)) | (8) |
| [A#(x1)] | = |
|
||||||||||||||
| [A(x1)] | = |
|
||||||||||||||
| [a(x1)] | = |
|
||||||||||||||
| [B#(x1)] | = |
|
||||||||||||||
| [b(x1)] | = |
|
||||||||||||||
| [B(x1)] | = |
|
| A(b(x1)) | → | b(a(B(A(x1)))) | (1) |
| B(a(x1)) | → | a(b(A(B(x1)))) | (2) |
| A(a(x1)) | → | x1 | (3) |
| B(b(x1)) | → | x1 | (4) |
| A#(b(x1)) | → | B#(A(x1)) | (6) |
The dependency pairs are split into 2 components.
| B#(a(x1)) | → | B#(x1) | (7) |
Using size-change termination in combination with the subterm criterion one obtains the following initial size-change graphs.
| B#(a(x1)) | → | B#(x1) | (7) |
| 1 | > | 1 |
As there is no critical graph in the transitive closure, there are no infinite chains.
| A#(b(x1)) | → | A#(x1) | (5) |
Using size-change termination in combination with the subterm criterion one obtains the following initial size-change graphs.
| A#(b(x1)) | → | A#(x1) | (5) |
| 1 | > | 1 |
As there is no critical graph in the transitive closure, there are no infinite chains.