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

The program

(VAR x y p f)
(RULES
  app(app(app(if, true), x), y) -> x
  app(app(app(if, false), x), y) -> y
  app(app(app(until, p), f), x) -> app(app(app(if, app(p, x)), x), app(app(app(until, p), f), app(f, x)))
)

Submit to AProVE Web Frontend

Edit in AProVE Web Frontend