(0) Obligation:

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

f(X) → if(X, c, f(true))
if(true, X, Y) → X
if(false, X, Y) → Y

Q is empty.