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