(0) Obligation:

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

f(X, n__g(X), Y) → f(activate(Y), activate(Y), activate(Y))
g(b) → c
bc
g(X) → n__g(X)
activate(n__g(X)) → g(activate(X))
activate(X) → X

Q is empty.