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

The program

(VAR x)
(RULES
sum(0) -> 0
sum(s(x)) -> +(sum(x),s(x))
sum1(0) -> 0
sum1(s(x)) -> s(+(sum1(x),+(x,x)))
)
(COMMENT Example 2.17 (Sum of Natural Numbers) in \cite{SK90})

Submit to AProVE Web Frontend

Edit in AProVE Web Frontend