/home/nowonder/forschung/aprove/TPDB05/TRS/AG01/#3.41.trs

The program

(from AG01 3.41)
(VAR x)
(RULES
p(s(x)) -> x
fac(0) -> s(0)
fac(s(x)) -> times(s(x),fac(p(s(x))))
)

Submit to AProVE Web Frontend

Edit in AProVE Web Frontend