(0) Obligation:

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

f(X, X) → f(a, n__b)
ba
bn__b
activate(n__b) → b
activate(X) → X

Q is empty.