The rewrite relation of the following TRS is considered.
a(a(b(b(x1)))) | → | b(b(c(c(a(a(x1)))))) | (1) |
b(b(c(c(x1)))) | → | c(c(b(b(b(b(x1)))))) | (2) |
b(b(a(a(x1)))) | → | a(a(c(c(b(b(x1)))))) | (3) |
a#(a(b(b(x1)))) | → | b#(b(c(c(a(a(x1)))))) | (4) |
a#(a(b(b(x1)))) | → | b#(c(c(a(a(x1))))) | (5) |
a#(a(b(b(x1)))) | → | a#(a(x1)) | (6) |
a#(a(b(b(x1)))) | → | a#(x1) | (7) |
b#(b(c(c(x1)))) | → | b#(b(b(b(x1)))) | (8) |
b#(b(c(c(x1)))) | → | b#(b(b(x1))) | (9) |
b#(b(c(c(x1)))) | → | b#(b(x1)) | (10) |
b#(b(c(c(x1)))) | → | b#(x1) | (11) |
b#(b(a(a(x1)))) | → | a#(a(c(c(b(b(x1)))))) | (12) |
b#(b(a(a(x1)))) | → | a#(c(c(b(b(x1))))) | (13) |
b#(b(a(a(x1)))) | → | b#(b(x1)) | (14) |
b#(b(a(a(x1)))) | → | b#(x1) | (15) |
The dependency pairs are split into 2 components.
a#(a(b(b(x1)))) | → | a#(x1) | (7) |
a#(a(b(b(x1)))) | → | a#(a(x1)) | (6) |
[a#(x1)] | = | 1 · x1 |
[a(x1)] | = | 1 + 1 · x1 |
[b(x1)] | = | 1 + 1 · x1 |
[c(x1)] | = | 0 |
a(a(b(b(x1)))) | → | b(b(c(c(a(a(x1)))))) | (1) |
b(b(c(c(x1)))) | → | c(c(b(b(b(b(x1)))))) | (2) |
a#(a(b(b(x1)))) | → | a#(x1) | (7) |
a#(a(b(b(x1)))) | → | a#(a(x1)) | (6) |
There are no pairs anymore.
b#(b(c(c(x1)))) | → | b#(b(b(x1))) | (9) |
b#(b(c(c(x1)))) | → | b#(b(b(b(x1)))) | (8) |
b#(b(c(c(x1)))) | → | b#(b(x1)) | (10) |
b#(b(c(c(x1)))) | → | b#(x1) | (11) |
b#(b(a(a(x1)))) | → | b#(b(x1)) | (14) |
b#(b(a(a(x1)))) | → | b#(x1) | (15) |
[b(x1)] | = | 1 · x1 |
[c(x1)] | = | 1 · x1 |
[a(x1)] | = | 1 · x1 |
[b#(x1)] | = | 1 · x1 |
b(b(c(c(x1)))) | → | c(c(b(b(b(b(x1)))))) | (2) |
b(b(a(a(x1)))) | → | a(a(c(c(b(b(x1)))))) | (3) |
20
Hence, it suffices to show innermost termination in the following.[b#(x1)] | = | 1 · x1 |
[b(x1)] | = | 1 · x1 |
[c(x1)] | = | 1 · x1 |
[a(x1)] | = | 1 + 1 · x1 |
b#(b(a(a(x1)))) | → | b#(b(x1)) | (14) |
b#(b(a(a(x1)))) | → | b#(x1) | (15) |
[b#(x1)] | = | 1 · x1 |
[b(x1)] | = | 1 · x1 |
[c(x1)] | = | 1 + 1 · x1 |
[a(x1)] | = | 1 |
b#(b(c(c(x1)))) | → | b#(b(b(x1))) | (9) |
b#(b(c(c(x1)))) | → | b#(b(b(b(x1)))) | (8) |
b#(b(c(c(x1)))) | → | b#(b(x1)) | (10) |
b#(b(c(c(x1)))) | → | b#(x1) | (11) |
There are no pairs anymore.