Certification Problem

Input (TPDB TRS_Standard/Transformed_CSR_04/Ex25_Luc06_Z)

The rewrite relation of the following TRS is considered.

f(f(X)) c(n__f(g(n__f(X)))) (1)
c(X) d(activate(X)) (2)
h(X) c(n__d(X)) (3)
f(X) n__f(X) (4)
d(X) n__d(X) (5)
activate(n__f(X)) f(X) (6)
activate(n__d(X)) d(X) (7)
activate(X) X (8)

Property / Task

Prove or disprove termination.

Answer / Result

Yes.

Proof (by AProVE @ termCOMP 2023)

1 Rule Removal

Using the linear polynomial interpretation over the naturals
[f(x1)] = 1 · x1 + 4
[c(x1)] = 1 · x1 + 7
[n__f(x1)] = 1 · x1
[g(x1)] = 1 · x1
[d(x1)] = 1 · x1 + 1
[activate(x1)] = 1 · x1 + 5
[h(x1)] = 1 · x1 + 8
[n__d(x1)] = 1 · x1
all of the following rules can be deleted.
f(f(X)) c(n__f(g(n__f(X)))) (1)
c(X) d(activate(X)) (2)
h(X) c(n__d(X)) (3)
f(X) n__f(X) (4)
d(X) n__d(X) (5)
activate(n__f(X)) f(X) (6)
activate(n__d(X)) d(X) (7)
activate(X) X (8)

1.1 R is empty

There are no rules in the TRS. Hence, it is terminating.