R
↳Dependency Pair Analysis
ATAIL(cons(X, XS)) -> MARK(XS)
MARK(zeros) -> AZEROS
MARK(tail(X)) -> ATAIL(mark(X))
MARK(tail(X)) -> MARK(X)
MARK(cons(X1, X2)) -> MARK(X1)
R
↳DPs
→DP Problem 1
↳Argument Filtering and Ordering
MARK(cons(X1, X2)) -> MARK(X1)
MARK(tail(X)) -> MARK(X)
MARK(tail(X)) -> ATAIL(mark(X))
ATAIL(cons(X, XS)) -> MARK(XS)
azeros -> cons(0, zeros)
azeros -> zeros
atail(cons(X, XS)) -> mark(XS)
atail(X) -> tail(X)
mark(zeros) -> azeros
mark(tail(X)) -> atail(mark(X))
mark(cons(X1, X2)) -> cons(mark(X1), X2)
mark(0) -> 0
innermost
MARK(cons(X1, X2)) -> MARK(X1)
MARK(tail(X)) -> MARK(X)
ATAIL(cons(X, XS)) -> MARK(XS)
atail(cons(X, XS)) -> mark(XS)
atail(X) -> tail(X)
mark(zeros) -> azeros
mark(tail(X)) -> atail(mark(X))
mark(cons(X1, X2)) -> cons(mark(X1), X2)
mark(0) -> 0
azeros -> cons(0, zeros)
azeros -> zeros
{azeros, tail, mark, atail} > cons
{azeros, tail, mark, atail} > zeros
{azeros, tail, mark, atail} > 0
{ATAIL, MARK}
ATAIL(x1) -> ATAIL(x1)
MARK(x1) -> MARK(x1)
cons(x1, x2) -> cons(x1, x2)
tail(x1) -> tail(x1)
mark(x1) -> mark(x1)
atail(x1) -> atail(x1)
azeros -> azeros
R
↳DPs
→DP Problem 1
↳AFS
→DP Problem 2
↳Dependency Graph
MARK(tail(X)) -> ATAIL(mark(X))
azeros -> cons(0, zeros)
azeros -> zeros
atail(cons(X, XS)) -> mark(XS)
atail(X) -> tail(X)
mark(zeros) -> azeros
mark(tail(X)) -> atail(mark(X))
mark(cons(X1, X2)) -> cons(mark(X1), X2)
mark(0) -> 0
innermost