/home/nowonder/forschung/aprove/TPDB05/TRS/TRCSR/Ex4_7_77_Bor03_GM.trs

The program

(VAR X XS X1 X2)
(RULES 
a__zeros -> cons(0,zeros)
a__tail(cons(X,XS)) -> mark(XS)
mark(zeros) -> a__zeros
mark(tail(X)) -> a__tail(mark(X))
mark(cons(X1,X2)) -> cons(mark(X1),X2)
mark(0) -> 0
a__zeros -> zeros
a__tail(X) -> tail(X)
)

Submit to AProVE Web Frontend

Edit in AProVE Web Frontend