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

The program

(VAR y x xs f)
(RULES
  app(app(plus, 0), y) -> y
  app(app(plus, app(s, x)), y) -> app(s, app(app(plus, x), y))
  app(app(times, 0), y) -> 0
  app(app(times, app(s, x)), y) -> app(app(plus, app(app(times, x), y)), y)
  app(inc, xs) -> app(app(map, app(plus, app(s, 0))), xs)
  app(double, xs) -> app(app(map, app(times, app(s, app(s, 0)))), xs)
  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