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

The program

(VAR x y)
(RULES
  app(app(minus, x), 0) -> x
  app(app(minus, app(s, x)), app(s, y)) -> app(app(minus, x), y)
  app(double, 0) -> 0
  app(double, app(s, x)) -> app(s, app(s, app(double, x)))
  app(app(plus, 0), y) -> y
  app(app(plus, app(s, x)), y) -> app(s, app(app(plus, x), y))
  app(app(plus, app(s, x)), y) -> app(app(plus, x), app(s, y))
  app(app(plus, app(s, x)), y) -> app(s, app(app(plus, app(app(minus, x), y)), app(double, y)))
)

Submit to AProVE Web Frontend

Edit in AProVE Web Frontend