YES
Termination Proof
Termination Proof
by ttt2 (version ttt2 1.15)
Input
The rewrite relation of the following TRS is considered.
a(a(b(d(b(d(a(x0))))))) |
→ |
a(a(c(a(a(b(d(x0))))))) |
a(a(c(x0))) |
→ |
c(c(a(a(x0)))) |
c(c(c(x0))) |
→ |
b(d(c(b(d(x0))))) |
Proof
1 String Reversal
Since only unary symbols occur, one can reverse all terms and obtains the TRS
a(d(b(d(b(a(a(x0))))))) |
→ |
d(b(a(a(c(a(a(x0))))))) |
c(a(a(x0))) |
→ |
a(a(c(c(x0)))) |
c(c(c(x0))) |
→ |
d(b(c(d(b(x0))))) |
1.1 Rule Removal
Using the
linear polynomial interpretation over (3 x 3)-matrices with strict dimension 1
over the naturals
[d(x1)] |
= |
·
x1 +
|
[c(x1)] |
= |
·
x1 +
|
[a(x1)] |
= |
·
x1 +
|
[b(x1)] |
= |
·
x1 +
|
the
rules
c(a(a(x0))) |
→ |
a(a(c(c(x0)))) |
c(c(c(x0))) |
→ |
d(b(c(d(b(x0))))) |
remain.
1.1.1 String Reversal
Since only unary symbols occur, one can reverse all terms and obtains the TRS
a(a(c(x0))) |
→ |
c(c(a(a(x0)))) |
c(c(c(x0))) |
→ |
b(d(c(b(d(x0))))) |
1.1.1.1 Bounds
The given TRS is
match-bounded by 1.
This is shown by the following automaton.
-
final states:
{6, 1}
-
transitions:
5 |
→ |
11 |
34 |
→ |
5 |
1 |
→ |
4 |
1 |
→ |
3 |
4 |
→ |
29 |
16 |
→ |
1 |
a0(3) |
→ |
4 |
a0(2) |
→ |
3 |
f40
|
→ |
2 |
d0(9) |
→ |
10 |
d0(2) |
→ |
7 |
b1(30) |
→ |
31 |
b1(33) |
→ |
34 |
b1(15) |
→ |
16 |
b1(12) |
→ |
13 |
d1(32) |
→ |
33 |
d1(11) |
→ |
12 |
d1(14) |
→ |
15 |
d1(29) |
→ |
30 |
b0(10) |
→ |
6 |
b0(7) |
→ |
8 |
c1(13) |
→ |
14 |
c1(31) |
→ |
32 |
c0(8) |
→ |
9 |
c0(5) |
→ |
1 |
c0(4) |
→ |
5 |