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(c(x0)) |
|
b(b(x0)) |
→ |
c(d(x0)) |
|
c(c(x0)) |
→ |
d(d(d(x0))) |
|
d(c(x0)) |
→ |
b(f(x0)) |
|
d(d(d(x0))) |
→ |
a(c(x0)) |
|
f(f(x0)) |
→ |
f(b(x0)) |
Proof
1 Rule Removal
Using the
linear polynomial interpretation over the arctic semiring over the integers
| [f(x1)] |
= |
9 ·
x1 +
-∞
|
| [c(x1)] |
= |
11 ·
x1 +
-∞
|
| [d(x1)] |
= |
7 ·
x1 +
-∞
|
| [a(x1)] |
= |
10 ·
x1 +
-∞
|
| [b(x1)] |
= |
9 ·
x1 +
-∞
|
the
rules
|
a(a(x0)) |
→ |
b(c(x0)) |
|
b(b(x0)) |
→ |
c(d(x0)) |
|
d(c(x0)) |
→ |
b(f(x0)) |
|
d(d(d(x0))) |
→ |
a(c(x0)) |
|
f(f(x0)) |
→ |
f(b(x0)) |
remain.
1.1 Rule Removal
Using the
linear polynomial interpretation over the arctic semiring over the integers
| [f(x1)] |
= |
1 ·
x1 +
-∞
|
| [c(x1)] |
= |
0 ·
x1 +
-∞
|
| [d(x1)] |
= |
2 ·
x1 +
-∞
|
| [a(x1)] |
= |
2 ·
x1 +
-∞
|
| [b(x1)] |
= |
1 ·
x1 +
-∞
|
the
rules
|
b(b(x0)) |
→ |
c(d(x0)) |
|
d(c(x0)) |
→ |
b(f(x0)) |
|
f(f(x0)) |
→ |
f(b(x0)) |
remain.
1.1.1 Rule Removal
Using the
Knuth Bendix order with w0 = 1 and the following precedence and weight function
| prec(f) |
= |
2 |
|
weight(f) |
= |
1 |
|
|
|
| prec(d) |
= |
3 |
|
weight(d) |
= |
1 |
|
|
|
| prec(b) |
= |
1 |
|
weight(b) |
= |
1 |
|
|
|
| prec(c) |
= |
0 |
|
weight(c) |
= |
1 |
|
|
|
all rules could be removed.
1.1.1.1 R is empty
There are no rules in the TRS. Hence, it is terminating.