/home/nowonder/forschung/aprove/TPDB05/TRS/SK90/2.14.trs

The program

(VAR x y z)
(RULES
double(0) -> 0
double(s(x)) -> s(s(double(x)))
half(0) -> 0
half(s(0)) -> 0
half(s(s(x))) -> s(half(x))
-(x,0) -> x
-(s(x),s(y)) -> -(x,y)
if(0,y,z) -> y
if(s(x),y,z) -> z
half(double(x)) -> x
)
(COMMENT Example 2.14 in \cite{SK90})

Submit to AProVE Web Frontend

Edit in AProVE Web Frontend