(VAR x y z) (RULES app(app(app(f, x), app(c, x)), app(c, y)) -> app(app(app(f, y), y), app(app(app(f, y), x), y)) app(app(app(f, app(s, x)), y), z) -> app(app(app(f, x), app(s, app(c, y))), app(c, z)) app(app(app(f, app(c, x)), x), y) -> app(c, y) app(app(g, x), y) -> x app(app(g, x), y) -> y ) (STRATEGY INNERMOST)