R
↳Dependency Pair Analysis
EQ(ns(X), ns(Y)) -> EQ(activate(X), activate(Y))
EQ(ns(X), ns(Y)) -> ACTIVATE(X)
EQ(ns(X), ns(Y)) -> ACTIVATE(Y)
TAKE(s(X), cons(Y, L)) -> ACTIVATE(Y)
TAKE(s(X), cons(Y, L)) -> ACTIVATE(X)
TAKE(s(X), cons(Y, L)) -> ACTIVATE(L)
LENGTH(nil) -> 0'
LENGTH(cons(X, L)) -> S(nlength(activate(L)))
LENGTH(cons(X, L)) -> ACTIVATE(L)
ACTIVATE(n0) -> 0'
ACTIVATE(ns(X)) -> S(X)
ACTIVATE(ninf(X)) -> INF(activate(X))
ACTIVATE(ninf(X)) -> ACTIVATE(X)
ACTIVATE(ntake(X1, X2)) -> TAKE(activate(X1), activate(X2))
ACTIVATE(ntake(X1, X2)) -> ACTIVATE(X1)
ACTIVATE(ntake(X1, X2)) -> ACTIVATE(X2)
ACTIVATE(nlength(X)) -> LENGTH(activate(X))
ACTIVATE(nlength(X)) -> ACTIVATE(X)
R
↳DPs
→DP Problem 1
↳Narrowing Transformation
→DP Problem 2
↳Remaining
ACTIVATE(nlength(X)) -> ACTIVATE(X)
LENGTH(cons(X, L)) -> ACTIVATE(L)
ACTIVATE(nlength(X)) -> LENGTH(activate(X))
ACTIVATE(ntake(X1, X2)) -> ACTIVATE(X2)
ACTIVATE(ntake(X1, X2)) -> ACTIVATE(X1)
ACTIVATE(ninf(X)) -> ACTIVATE(X)
eq(n0, n0) -> true
eq(ns(X), ns(Y)) -> eq(activate(X), activate(Y))
eq(X, Y) -> false
inf(X) -> cons(X, ninf(ns(X)))
inf(X) -> ninf(X)
take(0, X) -> nil
take(s(X), cons(Y, L)) -> cons(activate(Y), ntake(activate(X), activate(L)))
take(X1, X2) -> ntake(X1, X2)
length(nil) -> 0
length(cons(X, L)) -> s(nlength(activate(L)))
length(X) -> nlength(X)
0 -> n0
s(X) -> ns(X)
activate(n0) -> 0
activate(ns(X)) -> s(X)
activate(ninf(X)) -> inf(activate(X))
activate(ntake(X1, X2)) -> take(activate(X1), activate(X2))
activate(nlength(X)) -> length(activate(X))
activate(X) -> X
innermost
six new Dependency Pairs are created:
ACTIVATE(nlength(X)) -> LENGTH(activate(X))
ACTIVATE(nlength(n0)) -> LENGTH(0)
ACTIVATE(nlength(ns(X''))) -> LENGTH(s(X''))
ACTIVATE(nlength(ninf(X''))) -> LENGTH(inf(activate(X'')))
ACTIVATE(nlength(ntake(X1', X2'))) -> LENGTH(take(activate(X1'), activate(X2')))
ACTIVATE(nlength(nlength(X''))) -> LENGTH(length(activate(X'')))
ACTIVATE(nlength(X'')) -> LENGTH(X'')
R
↳DPs
→DP Problem 1
↳Nar
→DP Problem 3
↳Rewriting Transformation
→DP Problem 2
↳Remaining
ACTIVATE(nlength(X'')) -> LENGTH(X'')
ACTIVATE(nlength(nlength(X''))) -> LENGTH(length(activate(X'')))
ACTIVATE(nlength(ntake(X1', X2'))) -> LENGTH(take(activate(X1'), activate(X2')))
ACTIVATE(nlength(ninf(X''))) -> LENGTH(inf(activate(X'')))
ACTIVATE(nlength(ns(X''))) -> LENGTH(s(X''))
LENGTH(cons(X, L)) -> ACTIVATE(L)
ACTIVATE(nlength(n0)) -> LENGTH(0)
ACTIVATE(ntake(X1, X2)) -> ACTIVATE(X2)
ACTIVATE(ntake(X1, X2)) -> ACTIVATE(X1)
ACTIVATE(ninf(X)) -> ACTIVATE(X)
ACTIVATE(nlength(X)) -> ACTIVATE(X)
eq(n0, n0) -> true
eq(ns(X), ns(Y)) -> eq(activate(X), activate(Y))
eq(X, Y) -> false
inf(X) -> cons(X, ninf(ns(X)))
inf(X) -> ninf(X)
take(0, X) -> nil
take(s(X), cons(Y, L)) -> cons(activate(Y), ntake(activate(X), activate(L)))
take(X1, X2) -> ntake(X1, X2)
length(nil) -> 0
length(cons(X, L)) -> s(nlength(activate(L)))
length(X) -> nlength(X)
0 -> n0
s(X) -> ns(X)
activate(n0) -> 0
activate(ns(X)) -> s(X)
activate(ninf(X)) -> inf(activate(X))
activate(ntake(X1, X2)) -> take(activate(X1), activate(X2))
activate(nlength(X)) -> length(activate(X))
activate(X) -> X
innermost
one new Dependency Pair is created:
ACTIVATE(nlength(n0)) -> LENGTH(0)
ACTIVATE(nlength(n0)) -> LENGTH(n0)
R
↳DPs
→DP Problem 1
↳Nar
→DP Problem 3
↳Rw
...
→DP Problem 4
↳Rewriting Transformation
→DP Problem 2
↳Remaining
ACTIVATE(nlength(nlength(X''))) -> LENGTH(length(activate(X'')))
ACTIVATE(nlength(ntake(X1', X2'))) -> LENGTH(take(activate(X1'), activate(X2')))
ACTIVATE(nlength(ninf(X''))) -> LENGTH(inf(activate(X'')))
ACTIVATE(nlength(ns(X''))) -> LENGTH(s(X''))
ACTIVATE(nlength(X)) -> ACTIVATE(X)
ACTIVATE(ntake(X1, X2)) -> ACTIVATE(X2)
ACTIVATE(ntake(X1, X2)) -> ACTIVATE(X1)
ACTIVATE(ninf(X)) -> ACTIVATE(X)
LENGTH(cons(X, L)) -> ACTIVATE(L)
ACTIVATE(nlength(X'')) -> LENGTH(X'')
eq(n0, n0) -> true
eq(ns(X), ns(Y)) -> eq(activate(X), activate(Y))
eq(X, Y) -> false
inf(X) -> cons(X, ninf(ns(X)))
inf(X) -> ninf(X)
take(0, X) -> nil
take(s(X), cons(Y, L)) -> cons(activate(Y), ntake(activate(X), activate(L)))
take(X1, X2) -> ntake(X1, X2)
length(nil) -> 0
length(cons(X, L)) -> s(nlength(activate(L)))
length(X) -> nlength(X)
0 -> n0
s(X) -> ns(X)
activate(n0) -> 0
activate(ns(X)) -> s(X)
activate(ninf(X)) -> inf(activate(X))
activate(ntake(X1, X2)) -> take(activate(X1), activate(X2))
activate(nlength(X)) -> length(activate(X))
activate(X) -> X
innermost
one new Dependency Pair is created:
ACTIVATE(nlength(ns(X''))) -> LENGTH(s(X''))
ACTIVATE(nlength(ns(X''))) -> LENGTH(ns(X''))
R
↳DPs
→DP Problem 1
↳Nar
→DP Problem 2
↳Remaining Obligation(s)
ACTIVATE(nlength(X'')) -> LENGTH(X'')
ACTIVATE(nlength(ntake(X1', X2'))) -> LENGTH(take(activate(X1'), activate(X2')))
ACTIVATE(nlength(ninf(X''))) -> LENGTH(inf(activate(X'')))
ACTIVATE(nlength(X)) -> ACTIVATE(X)
ACTIVATE(ntake(X1, X2)) -> ACTIVATE(X2)
ACTIVATE(ntake(X1, X2)) -> ACTIVATE(X1)
ACTIVATE(ninf(X)) -> ACTIVATE(X)
LENGTH(cons(X, L)) -> ACTIVATE(L)
ACTIVATE(nlength(nlength(X''))) -> LENGTH(length(activate(X'')))
eq(n0, n0) -> true
eq(ns(X), ns(Y)) -> eq(activate(X), activate(Y))
eq(X, Y) -> false
inf(X) -> cons(X, ninf(ns(X)))
inf(X) -> ninf(X)
take(0, X) -> nil
take(s(X), cons(Y, L)) -> cons(activate(Y), ntake(activate(X), activate(L)))
take(X1, X2) -> ntake(X1, X2)
length(nil) -> 0
length(cons(X, L)) -> s(nlength(activate(L)))
length(X) -> nlength(X)
0 -> n0
s(X) -> ns(X)
activate(n0) -> 0
activate(ns(X)) -> s(X)
activate(ninf(X)) -> inf(activate(X))
activate(ntake(X1, X2)) -> take(activate(X1), activate(X2))
activate(nlength(X)) -> length(activate(X))
activate(X) -> X
innermost
EQ(ns(X), ns(Y)) -> EQ(activate(X), activate(Y))
eq(n0, n0) -> true
eq(ns(X), ns(Y)) -> eq(activate(X), activate(Y))
eq(X, Y) -> false
inf(X) -> cons(X, ninf(ns(X)))
inf(X) -> ninf(X)
take(0, X) -> nil
take(s(X), cons(Y, L)) -> cons(activate(Y), ntake(activate(X), activate(L)))
take(X1, X2) -> ntake(X1, X2)
length(nil) -> 0
length(cons(X, L)) -> s(nlength(activate(L)))
length(X) -> nlength(X)
0 -> n0
s(X) -> ns(X)
activate(n0) -> 0
activate(ns(X)) -> s(X)
activate(ninf(X)) -> inf(activate(X))
activate(ntake(X1, X2)) -> take(activate(X1), activate(X2))
activate(nlength(X)) -> length(activate(X))
activate(X) -> X
innermost
R
↳DPs
→DP Problem 1
↳Nar
→DP Problem 2
↳Remaining Obligation(s)
ACTIVATE(nlength(X'')) -> LENGTH(X'')
ACTIVATE(nlength(ntake(X1', X2'))) -> LENGTH(take(activate(X1'), activate(X2')))
ACTIVATE(nlength(ninf(X''))) -> LENGTH(inf(activate(X'')))
ACTIVATE(nlength(X)) -> ACTIVATE(X)
ACTIVATE(ntake(X1, X2)) -> ACTIVATE(X2)
ACTIVATE(ntake(X1, X2)) -> ACTIVATE(X1)
ACTIVATE(ninf(X)) -> ACTIVATE(X)
LENGTH(cons(X, L)) -> ACTIVATE(L)
ACTIVATE(nlength(nlength(X''))) -> LENGTH(length(activate(X'')))
eq(n0, n0) -> true
eq(ns(X), ns(Y)) -> eq(activate(X), activate(Y))
eq(X, Y) -> false
inf(X) -> cons(X, ninf(ns(X)))
inf(X) -> ninf(X)
take(0, X) -> nil
take(s(X), cons(Y, L)) -> cons(activate(Y), ntake(activate(X), activate(L)))
take(X1, X2) -> ntake(X1, X2)
length(nil) -> 0
length(cons(X, L)) -> s(nlength(activate(L)))
length(X) -> nlength(X)
0 -> n0
s(X) -> ns(X)
activate(n0) -> 0
activate(ns(X)) -> s(X)
activate(ninf(X)) -> inf(activate(X))
activate(ntake(X1, X2)) -> take(activate(X1), activate(X2))
activate(nlength(X)) -> length(activate(X))
activate(X) -> X
innermost
EQ(ns(X), ns(Y)) -> EQ(activate(X), activate(Y))
eq(n0, n0) -> true
eq(ns(X), ns(Y)) -> eq(activate(X), activate(Y))
eq(X, Y) -> false
inf(X) -> cons(X, ninf(ns(X)))
inf(X) -> ninf(X)
take(0, X) -> nil
take(s(X), cons(Y, L)) -> cons(activate(Y), ntake(activate(X), activate(L)))
take(X1, X2) -> ntake(X1, X2)
length(nil) -> 0
length(cons(X, L)) -> s(nlength(activate(L)))
length(X) -> nlength(X)
0 -> n0
s(X) -> ns(X)
activate(n0) -> 0
activate(ns(X)) -> s(X)
activate(ninf(X)) -> inf(activate(X))
activate(ntake(X1, X2)) -> take(activate(X1), activate(X2))
activate(nlength(X)) -> length(activate(X))
activate(X) -> X
innermost