Certification Problem
Input (TPDB SRS_Standard/Secret_06_SRS/secr4)
The rewrite relation of the following TRS is considered.
|
a(a(x1)) |
→ |
b(b(b(x1))) |
(1) |
|
a(x1) |
→ |
c(d(x1)) |
(2) |
|
b(b(x1)) |
→ |
c(c(c(x1))) |
(3) |
|
c(c(x1)) |
→ |
d(d(d(x1))) |
(4) |
|
e(d(x1)) |
→ |
a(b(c(d(e(x1))))) |
(5) |
|
b(x1) |
→ |
d(d(x1)) |
(6) |
|
e(c(x1)) |
→ |
b(a(a(e(x1)))) |
(7) |
|
c(d(d(x1))) |
→ |
a(x1) |
(8) |
Property / Task
Prove or disprove termination.Answer / Result
Yes.Proof (by ttt2 @ termCOMP 2023)
1 Rule Removal
Using the
linear polynomial interpretation over the naturals
| [e(x1)] |
= |
28 · x1 + 18 |
| [b(x1)] |
= |
1 · x1 + 9 |
| [c(x1)] |
= |
1 · x1 + 6 |
| [a(x1)] |
= |
1 · x1 + 14 |
| [d(x1)] |
= |
1 · x1 + 4 |
all of the following rules can be deleted.
|
a(a(x1)) |
→ |
b(b(b(x1))) |
(1) |
|
a(x1) |
→ |
c(d(x1)) |
(2) |
|
e(d(x1)) |
→ |
a(b(c(d(e(x1))))) |
(5) |
|
b(x1) |
→ |
d(d(x1)) |
(6) |
|
e(c(x1)) |
→ |
b(a(a(e(x1)))) |
(7) |
1.1 Rule Removal
Using the
Knuth Bendix order with w0 = 1 and the following precedence and weight functions
| prec(c) |
= |
0 |
|
weight(c) |
= |
2 |
|
|
|
| prec(d) |
= |
3 |
|
weight(d) |
= |
0 |
|
|
|
| prec(b) |
= |
1 |
|
weight(b) |
= |
4 |
|
|
|
| prec(a) |
= |
2 |
|
weight(a) |
= |
1 |
|
|
|
all of the following rules can be deleted.
|
b(b(x1)) |
→ |
c(c(c(x1))) |
(3) |
|
c(c(x1)) |
→ |
d(d(d(x1))) |
(4) |
|
c(d(d(x1))) |
→ |
a(x1) |
(8) |
1.1.1 R is empty
There are no rules in the TRS. Hence, it is terminating.