/home/nowonder/forschung/aprove/TPDB05/TRS/currying/AG01/#4.34.trs

The program

(VAR x y)
(RULES
  app(f, 0) -> true
  app(f, 1) -> false
  app(f, app(s, x)) -> app(f, x)
  app(app(app(if, true), x), y) -> x
  app(app(app(if, false), x), y) -> y
  app(app(g, app(s, x)), app(s, y)) -> app(app(app(if, app(f, x)), app(s, x)), app(s, y))
  app(app(g, x), app(c, y)) -> app(app(g, x), app(app(g, app(s, app(c, y))), y))
)
(STRATEGY INNERMOST)

Submit to AProVE Web Frontend

Edit in AProVE Web Frontend