R
↳Dependency Pair Analysis
FROM(X) -> FROM(s(X))
2ND(cons(X, XS)) -> HEAD(XS)
TAKE(s(N), cons(X, XS)) -> TAKE(N, XS)
SEL(s(N), cons(X, XS)) -> SEL(N, XS)
R
↳DPs
→DP Problem 1
↳Instantiation Transformation
→DP Problem 2
↳Remaining
→DP Problem 3
↳Remaining
FROM(X) -> FROM(s(X))
from(X) -> cons(X, from(s(X)))
head(cons(X, XS)) -> X
2nd(cons(X, XS)) -> head(XS)
take(0, XS) -> nil
take(s(N), cons(X, XS)) -> cons(X, take(N, XS))
sel(0, cons(X, XS)) -> X
sel(s(N), cons(X, XS)) -> sel(N, XS)
one new Dependency Pair is created:
FROM(X) -> FROM(s(X))
FROM(s(X'')) -> FROM(s(s(X'')))
R
↳DPs
→DP Problem 1
↳Inst
→DP Problem 2
↳Remaining Obligation(s)
→DP Problem 3
↳Remaining Obligation(s)
FROM(s(X'')) -> FROM(s(s(X'')))
from(X) -> cons(X, from(s(X)))
head(cons(X, XS)) -> X
2nd(cons(X, XS)) -> head(XS)
take(0, XS) -> nil
take(s(N), cons(X, XS)) -> cons(X, take(N, XS))
sel(0, cons(X, XS)) -> X
sel(s(N), cons(X, XS)) -> sel(N, XS)
TAKE(s(N), cons(X, XS)) -> TAKE(N, XS)
from(X) -> cons(X, from(s(X)))
head(cons(X, XS)) -> X
2nd(cons(X, XS)) -> head(XS)
take(0, XS) -> nil
take(s(N), cons(X, XS)) -> cons(X, take(N, XS))
sel(0, cons(X, XS)) -> X
sel(s(N), cons(X, XS)) -> sel(N, XS)
SEL(s(N), cons(X, XS)) -> SEL(N, XS)
from(X) -> cons(X, from(s(X)))
head(cons(X, XS)) -> X
2nd(cons(X, XS)) -> head(XS)
take(0, XS) -> nil
take(s(N), cons(X, XS)) -> cons(X, take(N, XS))
sel(0, cons(X, XS)) -> X
sel(s(N), cons(X, XS)) -> sel(N, XS)
R
↳DPs
→DP Problem 1
↳Inst
→DP Problem 2
↳Remaining Obligation(s)
→DP Problem 3
↳Remaining Obligation(s)
FROM(s(X'')) -> FROM(s(s(X'')))
from(X) -> cons(X, from(s(X)))
head(cons(X, XS)) -> X
2nd(cons(X, XS)) -> head(XS)
take(0, XS) -> nil
take(s(N), cons(X, XS)) -> cons(X, take(N, XS))
sel(0, cons(X, XS)) -> X
sel(s(N), cons(X, XS)) -> sel(N, XS)
TAKE(s(N), cons(X, XS)) -> TAKE(N, XS)
from(X) -> cons(X, from(s(X)))
head(cons(X, XS)) -> X
2nd(cons(X, XS)) -> head(XS)
take(0, XS) -> nil
take(s(N), cons(X, XS)) -> cons(X, take(N, XS))
sel(0, cons(X, XS)) -> X
sel(s(N), cons(X, XS)) -> sel(N, XS)
SEL(s(N), cons(X, XS)) -> SEL(N, XS)
from(X) -> cons(X, from(s(X)))
head(cons(X, XS)) -> X
2nd(cons(X, XS)) -> head(XS)
take(0, XS) -> nil
take(s(N), cons(X, XS)) -> cons(X, take(N, XS))
sel(0, cons(X, XS)) -> X
sel(s(N), cons(X, XS)) -> sel(N, XS)
R
↳DPs
→DP Problem 1
↳Inst
→DP Problem 2
↳Remaining Obligation(s)
→DP Problem 3
↳Remaining Obligation(s)
FROM(s(X'')) -> FROM(s(s(X'')))
from(X) -> cons(X, from(s(X)))
head(cons(X, XS)) -> X
2nd(cons(X, XS)) -> head(XS)
take(0, XS) -> nil
take(s(N), cons(X, XS)) -> cons(X, take(N, XS))
sel(0, cons(X, XS)) -> X
sel(s(N), cons(X, XS)) -> sel(N, XS)
TAKE(s(N), cons(X, XS)) -> TAKE(N, XS)
from(X) -> cons(X, from(s(X)))
head(cons(X, XS)) -> X
2nd(cons(X, XS)) -> head(XS)
take(0, XS) -> nil
take(s(N), cons(X, XS)) -> cons(X, take(N, XS))
sel(0, cons(X, XS)) -> X
sel(s(N), cons(X, XS)) -> sel(N, XS)
SEL(s(N), cons(X, XS)) -> SEL(N, XS)
from(X) -> cons(X, from(s(X)))
head(cons(X, XS)) -> X
2nd(cons(X, XS)) -> head(XS)
take(0, XS) -> nil
take(s(N), cons(X, XS)) -> cons(X, take(N, XS))
sel(0, cons(X, XS)) -> X
sel(s(N), cons(X, XS)) -> sel(N, XS)