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

The program

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

Submit to AProVE Web Frontend

Edit in AProVE Web Frontend