R
↳Dependency Pair Analysis
AFROM(X) -> MARK(X)
ALENGTH(cons(X, Y)) -> ALENGTH1(Y)
ALENGTH1(X) -> ALENGTH(X)
MARK(from(X)) -> AFROM(mark(X))
MARK(from(X)) -> MARK(X)
MARK(length(X)) -> ALENGTH(X)
MARK(length1(X)) -> ALENGTH1(X)
MARK(cons(X1, X2)) -> MARK(X1)
MARK(s(X)) -> MARK(X)
R
↳DPs
→DP Problem 1
↳Argument Filtering and Ordering
→DP Problem 2
↳FwdInst
ALENGTH1(X) -> ALENGTH(X)
ALENGTH(cons(X, Y)) -> ALENGTH1(Y)
afrom(X) -> cons(mark(X), from(s(X)))
afrom(X) -> from(X)
alength(nil) -> 0
alength(cons(X, Y)) -> s(alength1(Y))
alength(X) -> length(X)
alength1(X) -> alength(X)
alength1(X) -> length1(X)
mark(from(X)) -> afrom(mark(X))
mark(length(X)) -> alength(X)
mark(length1(X)) -> alength1(X)
mark(cons(X1, X2)) -> cons(mark(X1), X2)
mark(s(X)) -> s(mark(X))
mark(nil) -> nil
mark(0) -> 0
innermost
ALENGTH(cons(X, Y)) -> ALENGTH1(Y)
ALENGTH1(x1) -> x1
ALENGTH(x1) -> x1
cons(x1, x2) -> cons(x1, x2)
R
↳DPs
→DP Problem 1
↳AFS
→DP Problem 3
↳Dependency Graph
→DP Problem 2
↳FwdInst
ALENGTH1(X) -> ALENGTH(X)
afrom(X) -> cons(mark(X), from(s(X)))
afrom(X) -> from(X)
alength(nil) -> 0
alength(cons(X, Y)) -> s(alength1(Y))
alength(X) -> length(X)
alength1(X) -> alength(X)
alength1(X) -> length1(X)
mark(from(X)) -> afrom(mark(X))
mark(length(X)) -> alength(X)
mark(length1(X)) -> alength1(X)
mark(cons(X1, X2)) -> cons(mark(X1), X2)
mark(s(X)) -> s(mark(X))
mark(nil) -> nil
mark(0) -> 0
innermost
R
↳DPs
→DP Problem 1
↳AFS
→DP Problem 2
↳Forward Instantiation Transformation
MARK(s(X)) -> MARK(X)
MARK(cons(X1, X2)) -> MARK(X1)
MARK(from(X)) -> MARK(X)
MARK(from(X)) -> AFROM(mark(X))
AFROM(X) -> MARK(X)
afrom(X) -> cons(mark(X), from(s(X)))
afrom(X) -> from(X)
alength(nil) -> 0
alength(cons(X, Y)) -> s(alength1(Y))
alength(X) -> length(X)
alength1(X) -> alength(X)
alength1(X) -> length1(X)
mark(from(X)) -> afrom(mark(X))
mark(length(X)) -> alength(X)
mark(length1(X)) -> alength1(X)
mark(cons(X1, X2)) -> cons(mark(X1), X2)
mark(s(X)) -> s(mark(X))
mark(nil) -> nil
mark(0) -> 0
innermost
three new Dependency Pairs are created:
AFROM(X) -> MARK(X)
AFROM(from(X'')) -> MARK(from(X''))
AFROM(cons(X1'', X2'')) -> MARK(cons(X1'', X2''))
AFROM(s(X'')) -> MARK(s(X''))
R
↳DPs
→DP Problem 1
↳AFS
→DP Problem 2
↳FwdInst
→DP Problem 4
↳Narrowing Transformation
AFROM(s(X'')) -> MARK(s(X''))
AFROM(cons(X1'', X2'')) -> MARK(cons(X1'', X2''))
MARK(cons(X1, X2)) -> MARK(X1)
MARK(from(X)) -> MARK(X)
AFROM(from(X'')) -> MARK(from(X''))
MARK(from(X)) -> AFROM(mark(X))
MARK(s(X)) -> MARK(X)
afrom(X) -> cons(mark(X), from(s(X)))
afrom(X) -> from(X)
alength(nil) -> 0
alength(cons(X, Y)) -> s(alength1(Y))
alength(X) -> length(X)
alength1(X) -> alength(X)
alength1(X) -> length1(X)
mark(from(X)) -> afrom(mark(X))
mark(length(X)) -> alength(X)
mark(length1(X)) -> alength1(X)
mark(cons(X1, X2)) -> cons(mark(X1), X2)
mark(s(X)) -> s(mark(X))
mark(nil) -> nil
mark(0) -> 0
innermost
seven new Dependency Pairs are created:
MARK(from(X)) -> AFROM(mark(X))
MARK(from(from(X''))) -> AFROM(afrom(mark(X'')))
MARK(from(length(X''))) -> AFROM(alength(X''))
MARK(from(length1(X''))) -> AFROM(alength1(X''))
MARK(from(cons(X1', X2'))) -> AFROM(cons(mark(X1'), X2'))
MARK(from(s(X''))) -> AFROM(s(mark(X'')))
MARK(from(nil)) -> AFROM(nil)
MARK(from(0)) -> AFROM(0)
R
↳DPs
→DP Problem 1
↳AFS
→DP Problem 2
↳FwdInst
→DP Problem 4
↳Nar
...
→DP Problem 5
↳Forward Instantiation Transformation
MARK(from(s(X''))) -> AFROM(s(mark(X'')))
MARK(from(cons(X1', X2'))) -> AFROM(cons(mark(X1'), X2'))
MARK(from(length1(X''))) -> AFROM(alength1(X''))
AFROM(cons(X1'', X2'')) -> MARK(cons(X1'', X2''))
MARK(from(length(X''))) -> AFROM(alength(X''))
AFROM(from(X'')) -> MARK(from(X''))
MARK(from(from(X''))) -> AFROM(afrom(mark(X'')))
MARK(cons(X1, X2)) -> MARK(X1)
MARK(from(X)) -> MARK(X)
MARK(s(X)) -> MARK(X)
AFROM(s(X'')) -> MARK(s(X''))
afrom(X) -> cons(mark(X), from(s(X)))
afrom(X) -> from(X)
alength(nil) -> 0
alength(cons(X, Y)) -> s(alength1(Y))
alength(X) -> length(X)
alength1(X) -> alength(X)
alength1(X) -> length1(X)
mark(from(X)) -> afrom(mark(X))
mark(length(X)) -> alength(X)
mark(length1(X)) -> alength1(X)
mark(cons(X1, X2)) -> cons(mark(X1), X2)
mark(s(X)) -> s(mark(X))
mark(nil) -> nil
mark(0) -> 0
innermost
eight new Dependency Pairs are created:
MARK(from(X)) -> MARK(X)
MARK(from(from(X''))) -> MARK(from(X''))
MARK(from(cons(X1'', X2''))) -> MARK(cons(X1'', X2''))
MARK(from(s(X''))) -> MARK(s(X''))
MARK(from(from(from(X'''')))) -> MARK(from(from(X'''')))
MARK(from(from(length(X'''')))) -> MARK(from(length(X'''')))
MARK(from(from(length1(X'''')))) -> MARK(from(length1(X'''')))
MARK(from(from(cons(X1''', X2''')))) -> MARK(from(cons(X1''', X2''')))
MARK(from(from(s(X'''')))) -> MARK(from(s(X'''')))
R
↳DPs
→DP Problem 1
↳AFS
→DP Problem 2
↳FwdInst
→DP Problem 4
↳Nar
...
→DP Problem 6
↳Forward Instantiation Transformation
MARK(from(from(s(X'''')))) -> MARK(from(s(X'''')))
MARK(from(from(cons(X1''', X2''')))) -> MARK(from(cons(X1''', X2''')))
MARK(from(from(length1(X'''')))) -> MARK(from(length1(X'''')))
MARK(from(from(length(X'''')))) -> MARK(from(length(X'''')))
MARK(from(from(from(X'''')))) -> MARK(from(from(X'''')))
MARK(from(s(X''))) -> MARK(s(X''))
MARK(from(cons(X1'', X2''))) -> MARK(cons(X1'', X2''))
MARK(from(from(X''))) -> MARK(from(X''))
MARK(from(cons(X1', X2'))) -> AFROM(cons(mark(X1'), X2'))
MARK(from(length1(X''))) -> AFROM(alength1(X''))
AFROM(cons(X1'', X2'')) -> MARK(cons(X1'', X2''))
MARK(from(length(X''))) -> AFROM(alength(X''))
AFROM(from(X'')) -> MARK(from(X''))
MARK(from(from(X''))) -> AFROM(afrom(mark(X'')))
MARK(cons(X1, X2)) -> MARK(X1)
MARK(s(X)) -> MARK(X)
AFROM(s(X'')) -> MARK(s(X''))
MARK(from(s(X''))) -> AFROM(s(mark(X'')))
afrom(X) -> cons(mark(X), from(s(X)))
afrom(X) -> from(X)
alength(nil) -> 0
alength(cons(X, Y)) -> s(alength1(Y))
alength(X) -> length(X)
alength1(X) -> alength(X)
alength1(X) -> length1(X)
mark(from(X)) -> afrom(mark(X))
mark(length(X)) -> alength(X)
mark(length1(X)) -> alength1(X)
mark(cons(X1, X2)) -> cons(mark(X1), X2)
mark(s(X)) -> s(mark(X))
mark(nil) -> nil
mark(0) -> 0
innermost
13 new Dependency Pairs are created:
MARK(cons(X1, X2)) -> MARK(X1)
MARK(cons(cons(X1'', X2''), X2)) -> MARK(cons(X1'', X2''))
MARK(cons(s(X''), X2)) -> MARK(s(X''))
MARK(cons(from(from(X'''')), X2)) -> MARK(from(from(X'''')))
MARK(cons(from(length(X'''')), X2)) -> MARK(from(length(X'''')))
MARK(cons(from(length1(X'''')), X2)) -> MARK(from(length1(X'''')))
MARK(cons(from(cons(X1''', X2''')), X2)) -> MARK(from(cons(X1''', X2''')))
MARK(cons(from(s(X'''')), X2)) -> MARK(from(s(X'''')))
MARK(cons(from(cons(X1'''', X2'''')), X2)) -> MARK(from(cons(X1'''', X2'''')))
MARK(cons(from(from(from(X''''''))), X2)) -> MARK(from(from(from(X''''''))))
MARK(cons(from(from(length(X''''''))), X2)) -> MARK(from(from(length(X''''''))))
MARK(cons(from(from(length1(X''''''))), X2)) -> MARK(from(from(length1(X''''''))))
MARK(cons(from(from(cons(X1''''', X2'''''))), X2)) -> MARK(from(from(cons(X1''''', X2'''''))))
MARK(cons(from(from(s(X''''''))), X2)) -> MARK(from(from(s(X''''''))))
R
↳DPs
→DP Problem 1
↳AFS
→DP Problem 2
↳FwdInst
→DP Problem 4
↳Nar
...
→DP Problem 7
↳Forward Instantiation Transformation
MARK(cons(from(from(s(X''''''))), X2)) -> MARK(from(from(s(X''''''))))
MARK(cons(from(from(cons(X1''''', X2'''''))), X2)) -> MARK(from(from(cons(X1''''', X2'''''))))
MARK(cons(from(from(length1(X''''''))), X2)) -> MARK(from(from(length1(X''''''))))
MARK(cons(from(from(length(X''''''))), X2)) -> MARK(from(from(length(X''''''))))
MARK(from(from(cons(X1''', X2''')))) -> MARK(from(cons(X1''', X2''')))
MARK(from(from(length1(X'''')))) -> MARK(from(length1(X'''')))
MARK(from(from(length(X'''')))) -> MARK(from(length(X'''')))
MARK(from(from(from(X'''')))) -> MARK(from(from(X'''')))
MARK(cons(from(from(from(X''''''))), X2)) -> MARK(from(from(from(X''''''))))
MARK(cons(from(cons(X1'''', X2'''')), X2)) -> MARK(from(cons(X1'''', X2'''')))
MARK(from(s(X''))) -> MARK(s(X''))
MARK(cons(from(s(X'''')), X2)) -> MARK(from(s(X'''')))
MARK(cons(from(cons(X1''', X2''')), X2)) -> MARK(from(cons(X1''', X2''')))
MARK(cons(from(length1(X'''')), X2)) -> MARK(from(length1(X'''')))
MARK(cons(from(length(X'''')), X2)) -> MARK(from(length(X'''')))
MARK(from(cons(X1'', X2''))) -> MARK(cons(X1'', X2''))
MARK(from(cons(X1', X2'))) -> AFROM(cons(mark(X1'), X2'))
MARK(from(length1(X''))) -> AFROM(alength1(X''))
MARK(from(from(X''))) -> MARK(from(X''))
MARK(cons(from(from(X'''')), X2)) -> MARK(from(from(X'''')))
MARK(cons(s(X''), X2)) -> MARK(s(X''))
MARK(cons(cons(X1'', X2''), X2)) -> MARK(cons(X1'', X2''))
AFROM(cons(X1'', X2'')) -> MARK(cons(X1'', X2''))
MARK(from(length(X''))) -> AFROM(alength(X''))
AFROM(from(X'')) -> MARK(from(X''))
MARK(from(from(X''))) -> AFROM(afrom(mark(X'')))
MARK(s(X)) -> MARK(X)
AFROM(s(X'')) -> MARK(s(X''))
MARK(from(s(X''))) -> AFROM(s(mark(X'')))
MARK(from(from(s(X'''')))) -> MARK(from(s(X'''')))
afrom(X) -> cons(mark(X), from(s(X)))
afrom(X) -> from(X)
alength(nil) -> 0
alength(cons(X, Y)) -> s(alength1(Y))
alength(X) -> length(X)
alength1(X) -> alength(X)
alength1(X) -> length1(X)
mark(from(X)) -> afrom(mark(X))
mark(length(X)) -> alength(X)
mark(length1(X)) -> alength1(X)
mark(cons(X1, X2)) -> cons(mark(X1), X2)
mark(s(X)) -> s(mark(X))
mark(nil) -> nil
mark(0) -> 0
innermost
25 new Dependency Pairs are created:
MARK(s(X)) -> MARK(X)
MARK(s(s(X''))) -> MARK(s(X''))
MARK(s(from(from(X'''')))) -> MARK(from(from(X'''')))
MARK(s(from(length(X'''')))) -> MARK(from(length(X'''')))
MARK(s(from(length1(X'''')))) -> MARK(from(length1(X'''')))
MARK(s(from(cons(X1''', X2''')))) -> MARK(from(cons(X1''', X2''')))
MARK(s(from(s(X'''')))) -> MARK(from(s(X'''')))
MARK(s(from(cons(X1'''', X2'''')))) -> MARK(from(cons(X1'''', X2'''')))
MARK(s(from(from(from(X''''''))))) -> MARK(from(from(from(X''''''))))
MARK(s(from(from(length(X''''''))))) -> MARK(from(from(length(X''''''))))
MARK(s(from(from(length1(X''''''))))) -> MARK(from(from(length1(X''''''))))
MARK(s(from(from(cons(X1''''', X2'''''))))) -> MARK(from(from(cons(X1''''', X2'''''))))
MARK(s(from(from(s(X''''''))))) -> MARK(from(from(s(X''''''))))
MARK(s(cons(cons(X1'''', X2''''), X2''))) -> MARK(cons(cons(X1'''', X2''''), X2''))
MARK(s(cons(s(X''''), X2''))) -> MARK(cons(s(X''''), X2''))
MARK(s(cons(from(from(X'''''')), X2''))) -> MARK(cons(from(from(X'''''')), X2''))
MARK(s(cons(from(length(X'''''')), X2''))) -> MARK(cons(from(length(X'''''')), X2''))
MARK(s(cons(from(length1(X'''''')), X2''))) -> MARK(cons(from(length1(X'''''')), X2''))
MARK(s(cons(from(cons(X1''''', X2''''')), X2''))) -> MARK(cons(from(cons(X1''''', X2''''')), X2''))
MARK(s(cons(from(s(X'''''')), X2''))) -> MARK(cons(from(s(X'''''')), X2''))
MARK(s(cons(from(cons(X1'''''', X2'''''')), X2''))) -> MARK(cons(from(cons(X1'''''', X2'''''')), X2''))
MARK(s(cons(from(from(from(X''''''''))), X2''))) -> MARK(cons(from(from(from(X''''''''))), X2''))
MARK(s(cons(from(from(length(X''''''''))), X2''))) -> MARK(cons(from(from(length(X''''''''))), X2''))
MARK(s(cons(from(from(length1(X''''''''))), X2''))) -> MARK(cons(from(from(length1(X''''''''))), X2''))
MARK(s(cons(from(from(cons(X1''''''', X2'''''''))), X2''))) -> MARK(cons(from(from(cons(X1''''''', X2'''''''))), X2''))
MARK(s(cons(from(from(s(X''''''''))), X2''))) -> MARK(cons(from(from(s(X''''''''))), X2''))
R
↳DPs
→DP Problem 1
↳AFS
→DP Problem 2
↳FwdInst
→DP Problem 4
↳Nar
...
→DP Problem 8
↳Remaining Obligation(s)
MARK(s(cons(from(from(s(X''''''''))), X2''))) -> MARK(cons(from(from(s(X''''''''))), X2''))
MARK(s(cons(from(from(cons(X1''''''', X2'''''''))), X2''))) -> MARK(cons(from(from(cons(X1''''''', X2'''''''))), X2''))
MARK(s(cons(from(from(length1(X''''''''))), X2''))) -> MARK(cons(from(from(length1(X''''''''))), X2''))
MARK(s(cons(from(from(length(X''''''''))), X2''))) -> MARK(cons(from(from(length(X''''''''))), X2''))
MARK(s(cons(from(from(from(X''''''''))), X2''))) -> MARK(cons(from(from(from(X''''''''))), X2''))
MARK(s(cons(from(cons(X1'''''', X2'''''')), X2''))) -> MARK(cons(from(cons(X1'''''', X2'''''')), X2''))
MARK(cons(from(s(X'''')), X2)) -> MARK(from(s(X'''')))
MARK(s(cons(from(s(X'''''')), X2''))) -> MARK(cons(from(s(X'''''')), X2''))
MARK(cons(from(cons(X1'''', X2'''')), X2)) -> MARK(from(cons(X1'''', X2'''')))
MARK(cons(from(cons(X1''', X2''')), X2)) -> MARK(from(cons(X1''', X2''')))
MARK(s(cons(from(cons(X1''''', X2''''')), X2''))) -> MARK(cons(from(cons(X1''''', X2''''')), X2''))
MARK(cons(from(length1(X'''')), X2)) -> MARK(from(length1(X'''')))
MARK(s(cons(from(length1(X'''''')), X2''))) -> MARK(cons(from(length1(X'''''')), X2''))
MARK(cons(from(length(X'''')), X2)) -> MARK(from(length(X'''')))
MARK(s(cons(from(length(X'''''')), X2''))) -> MARK(cons(from(length(X'''''')), X2''))
MARK(cons(from(from(cons(X1''''', X2'''''))), X2)) -> MARK(from(from(cons(X1''''', X2'''''))))
MARK(cons(from(from(length1(X''''''))), X2)) -> MARK(from(from(length1(X''''''))))
MARK(cons(from(from(length(X''''''))), X2)) -> MARK(from(from(length(X''''''))))
MARK(cons(from(from(from(X''''''))), X2)) -> MARK(from(from(from(X''''''))))
MARK(s(cons(from(from(X'''''')), X2''))) -> MARK(cons(from(from(X'''''')), X2''))
MARK(s(cons(s(X''''), X2''))) -> MARK(cons(s(X''''), X2''))
MARK(s(cons(cons(X1'''', X2''''), X2''))) -> MARK(cons(cons(X1'''', X2''''), X2''))
MARK(s(from(from(s(X''''''))))) -> MARK(from(from(s(X''''''))))
MARK(s(from(from(cons(X1''''', X2'''''))))) -> MARK(from(from(cons(X1''''', X2'''''))))
MARK(s(from(from(length1(X''''''))))) -> MARK(from(from(length1(X''''''))))
MARK(s(from(from(length(X''''''))))) -> MARK(from(from(length(X''''''))))
MARK(s(from(from(from(X''''''))))) -> MARK(from(from(from(X''''''))))
MARK(s(from(cons(X1'''', X2'''')))) -> MARK(from(cons(X1'''', X2'''')))
MARK(s(from(s(X'''')))) -> MARK(from(s(X'''')))
MARK(from(s(X''))) -> MARK(s(X''))
MARK(from(s(X''))) -> AFROM(s(mark(X'')))
MARK(from(from(s(X'''')))) -> MARK(from(s(X'''')))
MARK(from(from(cons(X1''', X2''')))) -> MARK(from(cons(X1''', X2''')))
MARK(from(from(length1(X'''')))) -> MARK(from(length1(X'''')))
MARK(from(from(length(X'''')))) -> MARK(from(length(X'''')))
MARK(from(from(from(X'''')))) -> MARK(from(from(X'''')))
MARK(cons(from(from(X'''')), X2)) -> MARK(from(from(X'''')))
MARK(from(cons(X1'', X2''))) -> MARK(cons(X1'', X2''))
MARK(from(cons(X1', X2'))) -> AFROM(cons(mark(X1'), X2'))
MARK(s(from(cons(X1''', X2''')))) -> MARK(from(cons(X1''', X2''')))
MARK(s(from(length1(X'''')))) -> MARK(from(length1(X'''')))
MARK(s(from(length(X'''')))) -> MARK(from(length(X'''')))
AFROM(s(X'')) -> MARK(s(X''))
MARK(from(length1(X''))) -> AFROM(alength1(X''))
MARK(from(from(X''))) -> MARK(from(X''))
MARK(s(from(from(X'''')))) -> MARK(from(from(X'''')))
MARK(s(s(X''))) -> MARK(s(X''))
MARK(cons(s(X''), X2)) -> MARK(s(X''))
MARK(cons(cons(X1'', X2''), X2)) -> MARK(cons(X1'', X2''))
AFROM(cons(X1'', X2'')) -> MARK(cons(X1'', X2''))
MARK(from(length(X''))) -> AFROM(alength(X''))
AFROM(from(X'')) -> MARK(from(X''))
MARK(from(from(X''))) -> AFROM(afrom(mark(X'')))
MARK(cons(from(from(s(X''''''))), X2)) -> MARK(from(from(s(X''''''))))
afrom(X) -> cons(mark(X), from(s(X)))
afrom(X) -> from(X)
alength(nil) -> 0
alength(cons(X, Y)) -> s(alength1(Y))
alength(X) -> length(X)
alength1(X) -> alength(X)
alength1(X) -> length1(X)
mark(from(X)) -> afrom(mark(X))
mark(length(X)) -> alength(X)
mark(length1(X)) -> alength1(X)
mark(cons(X1, X2)) -> cons(mark(X1), X2)
mark(s(X)) -> s(mark(X))
mark(nil) -> nil
mark(0) -> 0
innermost