(0) Obligation:

Q restricted rewrite system:
The TRS R consists of the following rules:

f(f(a)) → c(n__f(g(f(a))))
f(X) → n__f(X)
activate(n__f(X)) → f(X)
activate(X) → X

Q is empty.

(1) DirectTerminationProof (EQUIVALENT transformation)

We use [DIRECT_TERMINATION] with the following order to prove termination.

Knuth-Bendix order [KBO] with precedence:
activate1 > f1 > c1 > g1 > nf1 > a

and weight map:

a=1
f_1=3
c_1=1
n__f_1=1
g_1=1
activate_1=3

The variable weight is 1

(2) TRUE