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
↳Narrowing Transformation
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
four new Dependency Pairs are created:
MARK(tail(X)) -> ATAIL(mark(X))
MARK(tail(zeros)) -> ATAIL(azeros)
MARK(tail(tail(X''))) -> ATAIL(atail(mark(X'')))
MARK(tail(cons(X1', X2'))) -> ATAIL(cons(mark(X1'), X2'))
MARK(tail(0)) -> ATAIL(0)
R
↳DPs
→DP Problem 1
↳Nar
→DP Problem 2
↳Forward Instantiation Transformation
MARK(tail(cons(X1', X2'))) -> ATAIL(cons(mark(X1'), X2'))
MARK(tail(tail(X''))) -> ATAIL(atail(mark(X'')))
ATAIL(cons(X, XS)) -> MARK(XS)
MARK(tail(zeros)) -> ATAIL(azeros)
MARK(tail(X)) -> MARK(X)
MARK(cons(X1, X2)) -> MARK(X1)
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
five new Dependency Pairs are created:
ATAIL(cons(X, XS)) -> MARK(XS)
ATAIL(cons(X, tail(X''))) -> MARK(tail(X''))
ATAIL(cons(X, cons(X1'', X2''))) -> MARK(cons(X1'', X2''))
ATAIL(cons(X, tail(zeros))) -> MARK(tail(zeros))
ATAIL(cons(X, tail(tail(X'''')))) -> MARK(tail(tail(X'''')))
ATAIL(cons(X, tail(cons(X1''', X2''')))) -> MARK(tail(cons(X1''', X2''')))
R
↳DPs
→DP Problem 1
↳Nar
→DP Problem 2
↳FwdInst
...
→DP Problem 3
↳Forward Instantiation Transformation
ATAIL(cons(X, tail(cons(X1''', X2''')))) -> MARK(tail(cons(X1''', X2''')))
MARK(tail(tail(X''))) -> ATAIL(atail(mark(X'')))
ATAIL(cons(X, tail(tail(X'''')))) -> MARK(tail(tail(X'''')))
ATAIL(cons(X, tail(zeros))) -> MARK(tail(zeros))
ATAIL(cons(X, cons(X1'', X2''))) -> MARK(cons(X1'', X2''))
MARK(tail(zeros)) -> ATAIL(azeros)
MARK(cons(X1, X2)) -> MARK(X1)
MARK(tail(X)) -> MARK(X)
ATAIL(cons(X, tail(X''))) -> MARK(tail(X''))
MARK(tail(cons(X1', X2'))) -> ATAIL(cons(mark(X1'), X2'))
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
five new Dependency Pairs are created:
MARK(tail(X)) -> MARK(X)
MARK(tail(tail(X''))) -> MARK(tail(X''))
MARK(tail(cons(X1'', X2''))) -> MARK(cons(X1'', X2''))
MARK(tail(tail(zeros))) -> MARK(tail(zeros))
MARK(tail(tail(tail(X'''')))) -> MARK(tail(tail(X'''')))
MARK(tail(tail(cons(X1''', X2''')))) -> MARK(tail(cons(X1''', X2''')))
R
↳DPs
→DP Problem 1
↳Nar
→DP Problem 2
↳FwdInst
...
→DP Problem 4
↳Forward Instantiation Transformation
MARK(tail(tail(cons(X1''', X2''')))) -> MARK(tail(cons(X1''', X2''')))
MARK(tail(tail(tail(X'''')))) -> MARK(tail(tail(X'''')))
MARK(tail(tail(zeros))) -> MARK(tail(zeros))
MARK(tail(cons(X1'', X2''))) -> MARK(cons(X1'', X2''))
MARK(tail(tail(X''))) -> MARK(tail(X''))
ATAIL(cons(X, tail(tail(X'''')))) -> MARK(tail(tail(X'''')))
ATAIL(cons(X, tail(zeros))) -> MARK(tail(zeros))
MARK(tail(tail(X''))) -> ATAIL(atail(mark(X'')))
MARK(cons(X1, X2)) -> MARK(X1)
ATAIL(cons(X, cons(X1'', X2''))) -> MARK(cons(X1'', X2''))
MARK(tail(zeros)) -> ATAIL(azeros)
ATAIL(cons(X, tail(X''))) -> MARK(tail(X''))
MARK(tail(cons(X1', X2'))) -> ATAIL(cons(mark(X1'), X2'))
ATAIL(cons(X, tail(cons(X1''', X2''')))) -> MARK(tail(cons(X1''', X2''')))
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
eight new Dependency Pairs are created:
MARK(cons(X1, X2)) -> MARK(X1)
MARK(cons(cons(X1'', X2''), X2)) -> MARK(cons(X1'', X2''))
MARK(cons(tail(zeros), X2)) -> MARK(tail(zeros))
MARK(cons(tail(tail(X'''')), X2)) -> MARK(tail(tail(X'''')))
MARK(cons(tail(cons(X1''', X2''')), X2)) -> MARK(tail(cons(X1''', X2''')))
MARK(cons(tail(cons(X1'''', X2'''')), X2)) -> MARK(tail(cons(X1'''', X2'''')))
MARK(cons(tail(tail(zeros)), X2)) -> MARK(tail(tail(zeros)))
MARK(cons(tail(tail(tail(X''''''))), X2)) -> MARK(tail(tail(tail(X''''''))))
MARK(cons(tail(tail(cons(X1''''', X2'''''))), X2)) -> MARK(tail(tail(cons(X1''''', X2'''''))))
R
↳DPs
→DP Problem 1
↳Nar
→DP Problem 2
↳FwdInst
...
→DP Problem 5
↳Remaining Obligation(s)
ATAIL(cons(X, tail(cons(X1''', X2''')))) -> MARK(tail(cons(X1''', X2''')))
MARK(cons(tail(tail(cons(X1''''', X2'''''))), X2)) -> MARK(tail(tail(cons(X1''''', X2'''''))))
MARK(tail(tail(tail(X'''')))) -> MARK(tail(tail(X'''')))
MARK(cons(tail(tail(tail(X''''''))), X2)) -> MARK(tail(tail(tail(X''''''))))
MARK(tail(tail(zeros))) -> MARK(tail(zeros))
MARK(cons(tail(tail(zeros)), X2)) -> MARK(tail(tail(zeros)))
MARK(cons(tail(cons(X1'''', X2'''')), X2)) -> MARK(tail(cons(X1'''', X2'''')))
MARK(cons(tail(cons(X1''', X2''')), X2)) -> MARK(tail(cons(X1''', X2''')))
MARK(tail(cons(X1'', X2''))) -> MARK(cons(X1'', X2''))
MARK(tail(tail(X''))) -> MARK(tail(X''))
ATAIL(cons(X, tail(tail(X'''')))) -> MARK(tail(tail(X'''')))
ATAIL(cons(X, tail(zeros))) -> MARK(tail(zeros))
MARK(tail(tail(X''))) -> ATAIL(atail(mark(X'')))
MARK(cons(tail(tail(X'''')), X2)) -> MARK(tail(tail(X'''')))
MARK(cons(tail(zeros), X2)) -> MARK(tail(zeros))
MARK(cons(cons(X1'', X2''), X2)) -> MARK(cons(X1'', X2''))
ATAIL(cons(X, cons(X1'', X2''))) -> MARK(cons(X1'', X2''))
MARK(tail(zeros)) -> ATAIL(azeros)
ATAIL(cons(X, tail(X''))) -> MARK(tail(X''))
MARK(tail(cons(X1', X2'))) -> ATAIL(cons(mark(X1'), X2'))
MARK(tail(tail(cons(X1''', X2''')))) -> MARK(tail(cons(X1''', X2''')))
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