The rewrite relation of the following TRS is considered.
a(s(x1)) | → | s(a(x1)) | (1) |
b(a(b(s(x1)))) | → | a(b(s(a(x1)))) | (2) |
b(a(b(b(x1)))) | → | c(s(x1)) | (3) |
c(s(x1)) | → | a(b(a(b(x1)))) | (4) |
a(b(a(a(x1)))) | → | b(a(b(a(x1)))) | (5) |
s(a(x1)) | → | a(s(x1)) | (6) |
s(b(a(b(x1)))) | → | a(s(b(a(x1)))) | (7) |
b(b(a(b(x1)))) | → | s(c(x1)) | (8) |
s(c(x1)) | → | b(a(b(a(x1)))) | (9) |
a(a(b(a(x1)))) | → | a(b(a(b(x1)))) | (10) |
s#(a(x1)) | → | a#(s(x1)) | (11) |
s#(a(x1)) | → | s#(x1) | (12) |
s#(b(a(b(x1)))) | → | a#(s(b(a(x1)))) | (13) |
s#(b(a(b(x1)))) | → | s#(b(a(x1))) | (14) |
s#(b(a(b(x1)))) | → | b#(a(x1)) | (15) |
s#(b(a(b(x1)))) | → | a#(x1) | (16) |
b#(b(a(b(x1)))) | → | s#(c(x1)) | (17) |
s#(c(x1)) | → | b#(a(b(a(x1)))) | (18) |
s#(c(x1)) | → | a#(b(a(x1))) | (19) |
s#(c(x1)) | → | b#(a(x1)) | (20) |
s#(c(x1)) | → | a#(x1) | (21) |
a#(a(b(a(x1)))) | → | a#(b(a(b(x1)))) | (22) |
a#(a(b(a(x1)))) | → | b#(a(b(x1))) | (23) |
a#(a(b(a(x1)))) | → | a#(b(x1)) | (24) |
a#(a(b(a(x1)))) | → | b#(x1) | (25) |
The dependency pairs are split into 2 components.
s#(b(a(b(x1)))) | → | s#(b(a(x1))) | (14) |
s#(a(x1)) | → | s#(x1) | (12) |
[a(x1)] | = | 1 · x1 |
[b(x1)] | = | 1 · x1 |
[s(x1)] | = | 1 · x1 |
[c(x1)] | = | 1 · x1 |
[s#(x1)] | = | 1 · x1 |
a(a(b(a(x1)))) | → | a(b(a(b(x1)))) | (10) |
s(c(x1)) | → | b(a(b(a(x1)))) | (9) |
b(b(a(b(x1)))) | → | s(c(x1)) | (8) |
[a(x1)] | = | 1 + 1 · x1 |
[b(x1)] | = | 1 + 1 · x1 |
[s(x1)] | = | 1 + 1 · x1 |
[c(x1)] | = | 3 + 1 · x1 |
[s#(x1)] | = | 2 · x1 |
s#(b(a(b(x1)))) | → | s#(b(a(x1))) | (14) |
s#(a(x1)) | → | s#(x1) | (12) |
There are no pairs anymore.
s#(c(x1)) | → | b#(a(b(a(x1)))) | (18) |
b#(b(a(b(x1)))) | → | s#(c(x1)) | (17) |
s#(c(x1)) | → | a#(b(a(x1))) | (19) |
a#(a(b(a(x1)))) | → | a#(b(a(b(x1)))) | (22) |
a#(a(b(a(x1)))) | → | b#(a(b(x1))) | (23) |
a#(a(b(a(x1)))) | → | a#(b(x1)) | (24) |
a#(a(b(a(x1)))) | → | b#(x1) | (25) |
s#(c(x1)) | → | b#(a(x1)) | (20) |
s#(c(x1)) | → | a#(x1) | (21) |
[a(x1)] | = | 1 · x1 |
[b(x1)] | = | 1 · x1 |
[s(x1)] | = | 1 · x1 |
[c(x1)] | = | 1 · x1 |
[b#(x1)] | = | 1 · x1 |
[s#(x1)] | = | 1 · x1 |
[a#(x1)] | = | 1 · x1 |
a(a(b(a(x1)))) | → | a(b(a(b(x1)))) | (10) |
s(c(x1)) | → | b(a(b(a(x1)))) | (9) |
b(b(a(b(x1)))) | → | s(c(x1)) | (8) |
[a(x1)] | = | 1 + 1 · x1 |
[b(x1)] | = | 1 + 1 · x1 |
[s(x1)] | = | 2 + 1 · x1 |
[c(x1)] | = | 2 + 1 · x1 |
[s#(x1)] | = | 2 + 1 · x1 |
[b#(x1)] | = | 1 + 1 · x1 |
[a#(x1)] | = | 1 · x1 |
s#(c(x1)) | → | a#(b(a(x1))) | (19) |
a#(a(b(a(x1)))) | → | a#(b(x1)) | (24) |
a#(a(b(a(x1)))) | → | b#(x1) | (25) |
s#(c(x1)) | → | b#(a(x1)) | (20) |
s#(c(x1)) | → | a#(x1) | (21) |
The dependency pairs are split into 2 components.
a#(a(b(a(x1)))) | → | a#(b(a(b(x1)))) | (22) |
[a#(x1)] | = | 1 · x1 |
[a(x1)] | = | 1 |
[b(x1)] | = | 0 |
[s(x1)] | = | 1 · x1 |
[c(x1)] | = | 0 |
b(b(a(b(x1)))) | → | s(c(x1)) | (8) |
s(c(x1)) | → | b(a(b(a(x1)))) | (9) |
a#(a(b(a(x1)))) | → | a#(b(a(b(x1)))) | (22) |
There are no pairs anymore.
b#(b(a(b(x1)))) | → | s#(c(x1)) | (17) |
s#(c(x1)) | → | b#(a(b(a(x1)))) | (18) |
[b#(x1)] | = | 1 · x1 |
[b(x1)] | = | 1 |
[a(x1)] | = | 0 |
[s#(x1)] | = | 1 · x1 |
[c(x1)] | = | 0 |
[s(x1)] | = | 1 + 1 · x1 |
a(a(b(a(x1)))) | → | a(b(a(b(x1)))) | (10) |
b#(b(a(b(x1)))) | → | s#(c(x1)) | (17) |
[a(x1)] | = | 1 + 1 · x1 |
[b(x1)] | = | 1 + 1 · x1 |
[s(x1)] | = | 2 + 1 · x1 |
[c(x1)] | = | 2 + 1 · x1 |
[s#(x1)] | = | 3 + 3 · x1 |
[b#(x1)] | = | 3 + 1 · x1 |
s#(c(x1)) | → | b#(a(b(a(x1)))) | (18) |
There are no pairs anymore.