(from Ste92 example 3) (VAR x) (RULES g(h(g(x))) -> g(x) g(g(x)) -> g(h(g(x))) h(h(x)) -> h(f(h(x),x)) )