R
↳Dependency Pair Analysis
SEL(s(N), cons(X, XS)) -> SEL(N, activate(XS))
SEL(s(N), cons(X, XS)) -> ACTIVATE(XS)
MINUS(s(X), s(Y)) -> MINUS(X, Y)
QUOT(s(X), s(Y)) -> QUOT(minus(X, Y), s(Y))
QUOT(s(X), s(Y)) -> MINUS(X, Y)
ZWQUOT(cons(X, XS), cons(Y, YS)) -> QUOT(X, Y)
ZWQUOT(cons(X, XS), cons(Y, YS)) -> ACTIVATE(XS)
ZWQUOT(cons(X, XS), cons(Y, YS)) -> ACTIVATE(YS)
ACTIVATE(nfrom(X)) -> FROM(X)
ACTIVATE(nzWquot(X1, X2)) -> ZWQUOT(X1, X2)
R
↳DPs
→DP Problem 1
↳Argument Filtering and Ordering
→DP Problem 2
↳FwdInst
→DP Problem 3
↳FwdInst
→DP Problem 4
↳Remaining
MINUS(s(X), s(Y)) -> MINUS(X, Y)
from(X) -> cons(X, nfrom(s(X)))
from(X) -> nfrom(X)
sel(0, cons(X, XS)) -> X
sel(s(N), cons(X, XS)) -> sel(N, activate(XS))
minus(X, 0) -> 0
minus(s(X), s(Y)) -> minus(X, Y)
quot(0, s(Y)) -> 0
quot(s(X), s(Y)) -> s(quot(minus(X, Y), s(Y)))
zWquot(XS, nil) -> nil
zWquot(nil, XS) -> nil
zWquot(cons(X, XS), cons(Y, YS)) -> cons(quot(X, Y), nzWquot(activate(XS), activate(YS)))
zWquot(X1, X2) -> nzWquot(X1, X2)
activate(nfrom(X)) -> from(X)
activate(nzWquot(X1, X2)) -> zWquot(X1, X2)
activate(X) -> X
innermost
MINUS(s(X), s(Y)) -> MINUS(X, Y)
MINUS(x1, x2) -> MINUS(x1, x2)
s(x1) -> s(x1)
R
↳DPs
→DP Problem 1
↳AFS
→DP Problem 5
↳Dependency Graph
→DP Problem 2
↳FwdInst
→DP Problem 3
↳FwdInst
→DP Problem 4
↳Remaining
from(X) -> cons(X, nfrom(s(X)))
from(X) -> nfrom(X)
sel(0, cons(X, XS)) -> X
sel(s(N), cons(X, XS)) -> sel(N, activate(XS))
minus(X, 0) -> 0
minus(s(X), s(Y)) -> minus(X, Y)
quot(0, s(Y)) -> 0
quot(s(X), s(Y)) -> s(quot(minus(X, Y), s(Y)))
zWquot(XS, nil) -> nil
zWquot(nil, XS) -> nil
zWquot(cons(X, XS), cons(Y, YS)) -> cons(quot(X, Y), nzWquot(activate(XS), activate(YS)))
zWquot(X1, X2) -> nzWquot(X1, X2)
activate(nfrom(X)) -> from(X)
activate(nzWquot(X1, X2)) -> zWquot(X1, X2)
activate(X) -> X
innermost
R
↳DPs
→DP Problem 1
↳AFS
→DP Problem 2
↳Forward Instantiation Transformation
→DP Problem 3
↳FwdInst
→DP Problem 4
↳Remaining
QUOT(s(X), s(Y)) -> QUOT(minus(X, Y), s(Y))
from(X) -> cons(X, nfrom(s(X)))
from(X) -> nfrom(X)
sel(0, cons(X, XS)) -> X
sel(s(N), cons(X, XS)) -> sel(N, activate(XS))
minus(X, 0) -> 0
minus(s(X), s(Y)) -> minus(X, Y)
quot(0, s(Y)) -> 0
quot(s(X), s(Y)) -> s(quot(minus(X, Y), s(Y)))
zWquot(XS, nil) -> nil
zWquot(nil, XS) -> nil
zWquot(cons(X, XS), cons(Y, YS)) -> cons(quot(X, Y), nzWquot(activate(XS), activate(YS)))
zWquot(X1, X2) -> nzWquot(X1, X2)
activate(nfrom(X)) -> from(X)
activate(nzWquot(X1, X2)) -> zWquot(X1, X2)
activate(X) -> X
innermost
no new Dependency Pairs are created.
QUOT(s(X), s(Y)) -> QUOT(minus(X, Y), s(Y))
R
↳DPs
→DP Problem 1
↳AFS
→DP Problem 2
↳FwdInst
→DP Problem 3
↳Forward Instantiation Transformation
→DP Problem 4
↳Remaining
ZWQUOT(cons(X, XS), cons(Y, YS)) -> ACTIVATE(YS)
ZWQUOT(cons(X, XS), cons(Y, YS)) -> ACTIVATE(XS)
ACTIVATE(nzWquot(X1, X2)) -> ZWQUOT(X1, X2)
from(X) -> cons(X, nfrom(s(X)))
from(X) -> nfrom(X)
sel(0, cons(X, XS)) -> X
sel(s(N), cons(X, XS)) -> sel(N, activate(XS))
minus(X, 0) -> 0
minus(s(X), s(Y)) -> minus(X, Y)
quot(0, s(Y)) -> 0
quot(s(X), s(Y)) -> s(quot(minus(X, Y), s(Y)))
zWquot(XS, nil) -> nil
zWquot(nil, XS) -> nil
zWquot(cons(X, XS), cons(Y, YS)) -> cons(quot(X, Y), nzWquot(activate(XS), activate(YS)))
zWquot(X1, X2) -> nzWquot(X1, X2)
activate(nfrom(X)) -> from(X)
activate(nzWquot(X1, X2)) -> zWquot(X1, X2)
activate(X) -> X
innermost
one new Dependency Pair is created:
ZWQUOT(cons(X, XS), cons(Y, YS)) -> ACTIVATE(XS)
ZWQUOT(cons(X, nzWquot(X1'', X2'')), cons(Y, YS)) -> ACTIVATE(nzWquot(X1'', X2''))
R
↳DPs
→DP Problem 1
↳AFS
→DP Problem 2
↳FwdInst
→DP Problem 3
↳FwdInst
→DP Problem 6
↳Forward Instantiation Transformation
→DP Problem 4
↳Remaining
ZWQUOT(cons(X, nzWquot(X1'', X2'')), cons(Y, YS)) -> ACTIVATE(nzWquot(X1'', X2''))
ACTIVATE(nzWquot(X1, X2)) -> ZWQUOT(X1, X2)
ZWQUOT(cons(X, XS), cons(Y, YS)) -> ACTIVATE(YS)
from(X) -> cons(X, nfrom(s(X)))
from(X) -> nfrom(X)
sel(0, cons(X, XS)) -> X
sel(s(N), cons(X, XS)) -> sel(N, activate(XS))
minus(X, 0) -> 0
minus(s(X), s(Y)) -> minus(X, Y)
quot(0, s(Y)) -> 0
quot(s(X), s(Y)) -> s(quot(minus(X, Y), s(Y)))
zWquot(XS, nil) -> nil
zWquot(nil, XS) -> nil
zWquot(cons(X, XS), cons(Y, YS)) -> cons(quot(X, Y), nzWquot(activate(XS), activate(YS)))
zWquot(X1, X2) -> nzWquot(X1, X2)
activate(nfrom(X)) -> from(X)
activate(nzWquot(X1, X2)) -> zWquot(X1, X2)
activate(X) -> X
innermost
one new Dependency Pair is created:
ZWQUOT(cons(X, XS), cons(Y, YS)) -> ACTIVATE(YS)
ZWQUOT(cons(X, XS), cons(Y, nzWquot(X1'', X2''))) -> ACTIVATE(nzWquot(X1'', X2''))
R
↳DPs
→DP Problem 1
↳AFS
→DP Problem 2
↳FwdInst
→DP Problem 3
↳FwdInst
→DP Problem 6
↳FwdInst
...
→DP Problem 7
↳Forward Instantiation Transformation
→DP Problem 4
↳Remaining
ZWQUOT(cons(X, XS), cons(Y, nzWquot(X1'', X2''))) -> ACTIVATE(nzWquot(X1'', X2''))
ACTIVATE(nzWquot(X1, X2)) -> ZWQUOT(X1, X2)
ZWQUOT(cons(X, nzWquot(X1'', X2'')), cons(Y, YS)) -> ACTIVATE(nzWquot(X1'', X2''))
from(X) -> cons(X, nfrom(s(X)))
from(X) -> nfrom(X)
sel(0, cons(X, XS)) -> X
sel(s(N), cons(X, XS)) -> sel(N, activate(XS))
minus(X, 0) -> 0
minus(s(X), s(Y)) -> minus(X, Y)
quot(0, s(Y)) -> 0
quot(s(X), s(Y)) -> s(quot(minus(X, Y), s(Y)))
zWquot(XS, nil) -> nil
zWquot(nil, XS) -> nil
zWquot(cons(X, XS), cons(Y, YS)) -> cons(quot(X, Y), nzWquot(activate(XS), activate(YS)))
zWquot(X1, X2) -> nzWquot(X1, X2)
activate(nfrom(X)) -> from(X)
activate(nzWquot(X1, X2)) -> zWquot(X1, X2)
activate(X) -> X
innermost
two new Dependency Pairs are created:
ACTIVATE(nzWquot(X1, X2)) -> ZWQUOT(X1, X2)
ACTIVATE(nzWquot(cons(X'', nzWquot(X1'''', X2'''')), cons(Y'', YS''))) -> ZWQUOT(cons(X'', nzWquot(X1'''', X2'''')), cons(Y'', YS''))
ACTIVATE(nzWquot(cons(X'', XS''), cons(Y'', nzWquot(X1'''', X2'''')))) -> ZWQUOT(cons(X'', XS''), cons(Y'', nzWquot(X1'''', X2'''')))
R
↳DPs
→DP Problem 1
↳AFS
→DP Problem 2
↳FwdInst
→DP Problem 3
↳FwdInst
→DP Problem 4
↳Remaining Obligation(s)
ACTIVATE(nzWquot(cons(X'', XS''), cons(Y'', nzWquot(X1'''', X2'''')))) -> ZWQUOT(cons(X'', XS''), cons(Y'', nzWquot(X1'''', X2'''')))
ZWQUOT(cons(X, nzWquot(X1'', X2'')), cons(Y, YS)) -> ACTIVATE(nzWquot(X1'', X2''))
ACTIVATE(nzWquot(cons(X'', nzWquot(X1'''', X2'''')), cons(Y'', YS''))) -> ZWQUOT(cons(X'', nzWquot(X1'''', X2'''')), cons(Y'', YS''))
ZWQUOT(cons(X, XS), cons(Y, nzWquot(X1'', X2''))) -> ACTIVATE(nzWquot(X1'', X2''))
from(X) -> cons(X, nfrom(s(X)))
from(X) -> nfrom(X)
sel(0, cons(X, XS)) -> X
sel(s(N), cons(X, XS)) -> sel(N, activate(XS))
minus(X, 0) -> 0
minus(s(X), s(Y)) -> minus(X, Y)
quot(0, s(Y)) -> 0
quot(s(X), s(Y)) -> s(quot(minus(X, Y), s(Y)))
zWquot(XS, nil) -> nil
zWquot(nil, XS) -> nil
zWquot(cons(X, XS), cons(Y, YS)) -> cons(quot(X, Y), nzWquot(activate(XS), activate(YS)))
zWquot(X1, X2) -> nzWquot(X1, X2)
activate(nfrom(X)) -> from(X)
activate(nzWquot(X1, X2)) -> zWquot(X1, X2)
activate(X) -> X
innermost
SEL(s(N), cons(X, XS)) -> SEL(N, activate(XS))
from(X) -> cons(X, nfrom(s(X)))
from(X) -> nfrom(X)
sel(0, cons(X, XS)) -> X
sel(s(N), cons(X, XS)) -> sel(N, activate(XS))
minus(X, 0) -> 0
minus(s(X), s(Y)) -> minus(X, Y)
quot(0, s(Y)) -> 0
quot(s(X), s(Y)) -> s(quot(minus(X, Y), s(Y)))
zWquot(XS, nil) -> nil
zWquot(nil, XS) -> nil
zWquot(cons(X, XS), cons(Y, YS)) -> cons(quot(X, Y), nzWquot(activate(XS), activate(YS)))
zWquot(X1, X2) -> nzWquot(X1, X2)
activate(nfrom(X)) -> from(X)
activate(nzWquot(X1, X2)) -> zWquot(X1, X2)
activate(X) -> X
innermost
R
↳DPs
→DP Problem 1
↳AFS
→DP Problem 2
↳FwdInst
→DP Problem 3
↳FwdInst
→DP Problem 4
↳Remaining Obligation(s)
ACTIVATE(nzWquot(cons(X'', XS''), cons(Y'', nzWquot(X1'''', X2'''')))) -> ZWQUOT(cons(X'', XS''), cons(Y'', nzWquot(X1'''', X2'''')))
ZWQUOT(cons(X, nzWquot(X1'', X2'')), cons(Y, YS)) -> ACTIVATE(nzWquot(X1'', X2''))
ACTIVATE(nzWquot(cons(X'', nzWquot(X1'''', X2'''')), cons(Y'', YS''))) -> ZWQUOT(cons(X'', nzWquot(X1'''', X2'''')), cons(Y'', YS''))
ZWQUOT(cons(X, XS), cons(Y, nzWquot(X1'', X2''))) -> ACTIVATE(nzWquot(X1'', X2''))
from(X) -> cons(X, nfrom(s(X)))
from(X) -> nfrom(X)
sel(0, cons(X, XS)) -> X
sel(s(N), cons(X, XS)) -> sel(N, activate(XS))
minus(X, 0) -> 0
minus(s(X), s(Y)) -> minus(X, Y)
quot(0, s(Y)) -> 0
quot(s(X), s(Y)) -> s(quot(minus(X, Y), s(Y)))
zWquot(XS, nil) -> nil
zWquot(nil, XS) -> nil
zWquot(cons(X, XS), cons(Y, YS)) -> cons(quot(X, Y), nzWquot(activate(XS), activate(YS)))
zWquot(X1, X2) -> nzWquot(X1, X2)
activate(nfrom(X)) -> from(X)
activate(nzWquot(X1, X2)) -> zWquot(X1, X2)
activate(X) -> X
innermost
SEL(s(N), cons(X, XS)) -> SEL(N, activate(XS))
from(X) -> cons(X, nfrom(s(X)))
from(X) -> nfrom(X)
sel(0, cons(X, XS)) -> X
sel(s(N), cons(X, XS)) -> sel(N, activate(XS))
minus(X, 0) -> 0
minus(s(X), s(Y)) -> minus(X, Y)
quot(0, s(Y)) -> 0
quot(s(X), s(Y)) -> s(quot(minus(X, Y), s(Y)))
zWquot(XS, nil) -> nil
zWquot(nil, XS) -> nil
zWquot(cons(X, XS), cons(Y, YS)) -> cons(quot(X, Y), nzWquot(activate(XS), activate(YS)))
zWquot(X1, X2) -> nzWquot(X1, X2)
activate(nfrom(X)) -> from(X)
activate(nzWquot(X1, X2)) -> zWquot(X1, X2)
activate(X) -> X
innermost