YES
Termination Proof
Termination Proof
by ttt2 (version ttt2 1.15)
Input
The rewrite relation of the following TRS is considered.
a(a(x0)) |
→ |
b(x0) |
a(a(a(x0))) |
→ |
a(b(a(x0))) |
a(b(a(x0))) |
→ |
b(b(b(x0))) |
a(a(a(a(x0)))) |
→ |
a(a(b(a(a(x0))))) |
a(a(b(a(x0)))) |
→ |
a(b(b(a(b(x0))))) |
a(b(a(a(x0)))) |
→ |
b(a(b(b(a(x0))))) |
a(b(b(a(x0)))) |
→ |
b(b(b(b(b(x0))))) |
a(a(a(a(a(x0))))) |
→ |
a(a(a(b(a(a(a(x0))))))) |
a(a(a(b(a(x0))))) |
→ |
a(a(b(b(a(a(b(x0))))))) |
a(a(b(a(a(x0))))) |
→ |
a(b(a(b(a(b(a(x0))))))) |
a(a(b(b(a(x0))))) |
→ |
a(b(b(b(a(b(b(x0))))))) |
a(b(a(a(a(x0))))) |
→ |
b(a(a(b(b(a(a(x0))))))) |
a(b(a(b(a(x0))))) |
→ |
b(a(b(b(b(a(b(x0))))))) |
a(b(b(a(a(x0))))) |
→ |
b(b(a(b(b(b(a(x0))))))) |
a(b(b(b(a(x0))))) |
→ |
b(b(b(b(b(b(b(x0))))))) |
Proof
1 String Reversal
Since only unary symbols occur, one can reverse all terms and obtains the TRS
a(a(x0)) |
→ |
b(x0) |
a(a(a(x0))) |
→ |
a(b(a(x0))) |
a(b(a(x0))) |
→ |
b(b(b(x0))) |
a(a(a(a(x0)))) |
→ |
a(a(b(a(a(x0))))) |
a(b(a(a(x0)))) |
→ |
b(a(b(b(a(x0))))) |
a(a(b(a(x0)))) |
→ |
a(b(b(a(b(x0))))) |
a(b(b(a(x0)))) |
→ |
b(b(b(b(b(x0))))) |
a(a(a(a(a(x0))))) |
→ |
a(a(a(b(a(a(a(x0))))))) |
a(b(a(a(a(x0))))) |
→ |
b(a(a(b(b(a(a(x0))))))) |
a(a(b(a(a(x0))))) |
→ |
a(b(a(b(a(b(a(x0))))))) |
a(b(b(a(a(x0))))) |
→ |
b(b(a(b(b(b(a(x0))))))) |
a(a(a(b(a(x0))))) |
→ |
a(a(b(b(a(a(b(x0))))))) |
a(b(a(b(a(x0))))) |
→ |
b(a(b(b(b(a(b(x0))))))) |
a(a(b(b(a(x0))))) |
→ |
a(b(b(b(a(b(b(x0))))))) |
a(b(b(b(a(x0))))) |
→ |
b(b(b(b(b(b(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 +
|
the
rules
a(a(x0)) |
→ |
b(x0) |
a(b(a(x0))) |
→ |
b(b(b(x0))) |
a(b(a(a(x0)))) |
→ |
b(a(b(b(a(x0))))) |
a(a(b(a(x0)))) |
→ |
a(b(b(a(b(x0))))) |
a(b(b(a(x0)))) |
→ |
b(b(b(b(b(x0))))) |
a(a(b(a(a(x0))))) |
→ |
a(b(a(b(a(b(a(x0))))))) |
a(b(b(a(a(x0))))) |
→ |
b(b(a(b(b(b(a(x0))))))) |
a(b(a(b(a(x0))))) |
→ |
b(a(b(b(b(a(b(x0))))))) |
a(a(b(b(a(x0))))) |
→ |
a(b(b(b(a(b(b(x0))))))) |
a(b(b(b(a(x0))))) |
→ |
b(b(b(b(b(b(b(x0))))))) |
remain.
1.1.1 Rule Removal
Using the
linear polynomial interpretation over the arctic semiring over the integers
[b(x1)] |
= |
0 ·
x1 +
-∞
|
[a(x1)] |
= |
1 ·
x1 +
-∞
|
the
rule
a(a(b(a(a(x0))))) |
→ |
a(b(a(b(a(b(a(x0))))))) |
remains.
1.1.1.1 Bounds
The given TRS is
match-bounded by 0.
This is shown by the following automaton.
-
final states:
{1}
-
transitions:
1 |
→ |
3 |
a0(8) |
→ |
1 |
a0(4) |
→ |
5 |
a0(2) |
→ |
3 |
a0(6) |
→ |
7 |
b0(5) |
→ |
6 |
b0(7) |
→ |
8 |
b0(3) |
→ |
4 |
f20
|
→ |
2 |