/home/nowonder/forschung/aprove/TPDB05/TRS/higher-order/AotoYam/Ex1SimplyTyped.trs

The program

(VAR x y f xs)
(RULES
  app(id, x) -> x
  app(add, 0) -> id
  app(app(add, app(s, x)), y) -> app(s, app(app(add, x), y))
  app(app(map, f), nil) -> nil
  app(app(map, f), app(app(cons, x), xs)) -> app(app(cons, app(f, x)), app(app(map, f), xs))
)

Submit to AProVE Web Frontend

Edit in AProVE Web Frontend