YES (VAR x y w) (RULES response(a(),response(a(),c())) -> c() b() -> response(a(),c()) response(compose(x,y),w) -> response(x,response(y,w)) ) (COMMENT Termination is shown by LPO with precedence: b > c > a > response > compose )