Certification Problem
Input (TPDB TRS_Standard/Transformed_CSR_04/Ex18_Luc06_Z)
The rewrite relation of the following TRS is considered.
f(f(a)) |
→ |
f(g(n__f(a))) |
(1) |
f(X) |
→ |
n__f(X) |
(2) |
activate(n__f(X)) |
→ |
f(X) |
(3) |
activate(X) |
→ |
X |
(4) |
Property / Task
Prove or disprove termination.Answer / Result
Yes.Proof (by ttt2 @ termCOMP 2023)
1 Rule Removal
Using the
Knuth Bendix order with w0 = 1 and the following precedence and weight functions
prec(activate) |
= |
2 |
|
weight(activate) |
= |
1 |
|
|
|
prec(g) |
= |
0 |
|
weight(g) |
= |
1 |
|
|
|
prec(n__f) |
= |
7 |
|
weight(n__f) |
= |
0 |
|
|
|
prec(f) |
= |
1 |
|
weight(f) |
= |
1 |
|
|
|
prec(a) |
= |
3 |
|
weight(a) |
= |
4 |
|
|
|
all of the following rules can be deleted.
f(f(a)) |
→ |
f(g(n__f(a))) |
(1) |
f(X) |
→ |
n__f(X) |
(2) |
activate(n__f(X)) |
→ |
f(X) |
(3) |
activate(X) |
→ |
X |
(4) |
1.1 R is empty
There are no rules in the TRS. Hence, it is terminating.