/home/nowonder/forschung/aprove/TPDB05/TRS/uncurried/AG01/#3.2.trs

The program

(from AG01 3.2)
(VAR x y)
(RULES
pred(s(x)) -> x
minus(x,0)  -> x
minus(x,s(y)) -> pred(minus(x,y))
quot(0,s(y)) -> 0
quot(s(x),s(y)) -> s(quot(minus(x,y),s(y)))
)

Submit to AProVE Web Frontend

Edit in AProVE Web Frontend