The rewrite relation of the following TRS is considered.
b(a(x1)) | → | a(a(d(x1))) | (1) |
a(c(x1)) | → | b(b(x1)) | (2) |
d(a(b(x1))) | → | b(d(d(c(x1)))) | (3) |
d(x1) | → | a(x1) | (4) |
b(a(c(a(x1)))) | → | x1 | (5) |
a(b(x1)) | → | d(a(a(x1))) | (6) |
c(a(x1)) | → | b(b(x1)) | (7) |
b(a(d(x1))) | → | c(d(d(b(x1)))) | (8) |
d(x1) | → | a(x1) | (4) |
a(c(a(b(x1)))) | → | x1 | (9) |
a#(b(x1)) | → | d#(a(a(x1))) | (10) |
a#(b(x1)) | → | a#(a(x1)) | (11) |
a#(b(x1)) | → | a#(x1) | (12) |
c#(a(x1)) | → | b#(b(x1)) | (13) |
c#(a(x1)) | → | b#(x1) | (14) |
b#(a(d(x1))) | → | c#(d(d(b(x1)))) | (15) |
b#(a(d(x1))) | → | d#(d(b(x1))) | (16) |
b#(a(d(x1))) | → | d#(b(x1)) | (17) |
b#(a(d(x1))) | → | b#(x1) | (18) |
d#(x1) | → | a#(x1) | (19) |
The dependency pairs are split into 2 components.
b#(a(d(x1))) | → | c#(d(d(b(x1)))) | (15) |
c#(a(x1)) | → | b#(b(x1)) | (13) |
b#(a(d(x1))) | → | b#(x1) | (18) |
c#(a(x1)) | → | b#(x1) | (14) |
[b#(x1)] | = |
|
||||||||||||||||||
[a(x1)] | = |
|
||||||||||||||||||
[d(x1)] | = |
|
||||||||||||||||||
[c#(x1)] | = |
|
||||||||||||||||||
[b(x1)] | = |
|
||||||||||||||||||
[c(x1)] | = |
|
c#(a(x1)) | → | b#(b(x1)) | (13) |
[b#(x1)] | = |
|
||||||||||||||||||
[a(x1)] | = |
|
||||||||||||||||||
[d(x1)] | = |
|
||||||||||||||||||
[c#(x1)] | = |
|
||||||||||||||||||
[b(x1)] | = |
|
||||||||||||||||||
[c(x1)] | = |
|
c#(a(x1)) | → | b#(x1) | (14) |
The dependency pairs are split into 1 component.
b#(a(d(x1))) | → | b#(x1) | (18) |
[a(x1)] | = | 1 · x1 |
[d(x1)] | = | 1 · x1 |
[b#(x1)] | = | 1 · x1 |
Using size-change termination in combination with the subterm criterion one obtains the following initial size-change graphs.
b#(a(d(x1))) | → | b#(x1) | (18) |
1 | > | 1 |
As there is no critical graph in the transitive closure, there are no infinite chains.
d#(x1) | → | a#(x1) | (19) |
a#(b(x1)) | → | d#(a(a(x1))) | (10) |
a#(b(x1)) | → | a#(a(x1)) | (11) |
a#(b(x1)) | → | a#(x1) | (12) |
[d(x1)] | = | 1 · x1 |
[a(x1)] | = | 1 · x1 |
[b(x1)] | = | 1 · x1 |
[c(x1)] | = | 1 · x1 |
[a#(x1)] | = | 1 · x1 |
[d#(x1)] | = | 1 · x1 |
d(x1) | → | a(x1) | (4) |
a(b(x1)) | → | d(a(a(x1))) | (6) |
a(c(a(b(x1)))) | → | x1 | (9) |
[a#(x1)] | = | -1 + 2 · x1 |
[d#(x1)] | = | 2 + 2 · x1 |
[a(x1)] | = | x1 |
[b(x1)] | = | 2 + 2 · x1 |
[d(x1)] | = | 2 + 2 · x1 |
[c(x1)] | = | 2 + x1 |
d#(x1) | → | a#(x1) | (19) |
a#(b(x1)) | → | d#(a(a(x1))) | (10) |
a#(b(x1)) | → | a#(a(x1)) | (11) |
a#(b(x1)) | → | a#(x1) | (12) |
There are no pairs anymore.