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

The program

(VAR x y)
(RULES
  app(p, 0) -> 0
  app(p, app(s, x)) -> x
  app(app(le, 0), y) -> true
  app(app(le, app(s, x)), 0) -> false
  app(app(le, app(s, x)), app(s, y)) -> app(app(le, x), y)
  app(app(minus, x), y) -> app(app(app(if, app(app(le, x), y)), x), y)
  app(app(app(if, true), x), y) -> 0
  app(app(app(if, false), x), y) -> app(s, app(app(minus, app(p, x)), y))
)
(STRATEGY INNERMOST)

Submit to AProVE Web Frontend

Edit in AProVE Web Frontend