(0) Obligation:

Q restricted rewrite system:
The TRS R consists of the following rules:

active(from(X)) → mark(cons(X, from(s(X))))
active(sel(0, cons(X, XS))) → mark(X)
active(sel(s(N), cons(X, XS))) → mark(sel(N, XS))
active(minus(X, 0)) → mark(0)
active(minus(s(X), s(Y))) → mark(minus(X, Y))
active(quot(0, s(Y))) → mark(0)
active(quot(s(X), s(Y))) → mark(s(quot(minus(X, Y), s(Y))))
active(zWquot(XS, nil)) → mark(nil)
active(zWquot(nil, XS)) → mark(nil)
active(zWquot(cons(X, XS), cons(Y, YS))) → mark(cons(quot(X, Y), zWquot(XS, YS)))
mark(from(X)) → active(from(mark(X)))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
mark(0) → active(0)
mark(minus(X1, X2)) → active(minus(mark(X1), mark(X2)))
mark(quot(X1, X2)) → active(quot(mark(X1), mark(X2)))
mark(zWquot(X1, X2)) → active(zWquot(mark(X1), mark(X2)))
mark(nil) → active(nil)
from(mark(X)) → from(X)
from(active(X)) → from(X)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)
minus(mark(X1), X2) → minus(X1, X2)
minus(X1, mark(X2)) → minus(X1, X2)
minus(active(X1), X2) → minus(X1, X2)
minus(X1, active(X2)) → minus(X1, X2)
quot(mark(X1), X2) → quot(X1, X2)
quot(X1, mark(X2)) → quot(X1, X2)
quot(active(X1), X2) → quot(X1, X2)
quot(X1, active(X2)) → quot(X1, X2)
zWquot(mark(X1), X2) → zWquot(X1, X2)
zWquot(X1, mark(X2)) → zWquot(X1, X2)
zWquot(active(X1), X2) → zWquot(X1, X2)
zWquot(X1, active(X2)) → zWquot(X1, X2)

Q is empty.

(1) DependencyPairsProof (EQUIVALENT transformation)

Using Dependency Pairs [AG00,LPAR04] we result in the following initial DP problem.

(2) Obligation:

Q DP problem:
The TRS P consists of the following rules:

ACTIVE(from(X)) → MARK(cons(X, from(s(X))))
ACTIVE(from(X)) → CONS(X, from(s(X)))
ACTIVE(from(X)) → FROM(s(X))
ACTIVE(from(X)) → S(X)
ACTIVE(sel(0, cons(X, XS))) → MARK(X)
ACTIVE(sel(s(N), cons(X, XS))) → MARK(sel(N, XS))
ACTIVE(sel(s(N), cons(X, XS))) → SEL(N, XS)
ACTIVE(minus(X, 0)) → MARK(0)
ACTIVE(minus(s(X), s(Y))) → MARK(minus(X, Y))
ACTIVE(minus(s(X), s(Y))) → MINUS(X, Y)
ACTIVE(quot(0, s(Y))) → MARK(0)
ACTIVE(quot(s(X), s(Y))) → MARK(s(quot(minus(X, Y), s(Y))))
ACTIVE(quot(s(X), s(Y))) → S(quot(minus(X, Y), s(Y)))
ACTIVE(quot(s(X), s(Y))) → QUOT(minus(X, Y), s(Y))
ACTIVE(quot(s(X), s(Y))) → MINUS(X, Y)
ACTIVE(zWquot(XS, nil)) → MARK(nil)
ACTIVE(zWquot(nil, XS)) → MARK(nil)
ACTIVE(zWquot(cons(X, XS), cons(Y, YS))) → MARK(cons(quot(X, Y), zWquot(XS, YS)))
ACTIVE(zWquot(cons(X, XS), cons(Y, YS))) → CONS(quot(X, Y), zWquot(XS, YS))
ACTIVE(zWquot(cons(X, XS), cons(Y, YS))) → QUOT(X, Y)
ACTIVE(zWquot(cons(X, XS), cons(Y, YS))) → ZWQUOT(XS, YS)
MARK(from(X)) → ACTIVE(from(mark(X)))
MARK(from(X)) → FROM(mark(X))
MARK(from(X)) → MARK(X)
MARK(cons(X1, X2)) → ACTIVE(cons(mark(X1), X2))
MARK(cons(X1, X2)) → CONS(mark(X1), X2)
MARK(cons(X1, X2)) → MARK(X1)
MARK(s(X)) → ACTIVE(s(mark(X)))
MARK(s(X)) → S(mark(X))
MARK(s(X)) → MARK(X)
MARK(sel(X1, X2)) → ACTIVE(sel(mark(X1), mark(X2)))
MARK(sel(X1, X2)) → SEL(mark(X1), mark(X2))
MARK(sel(X1, X2)) → MARK(X1)
MARK(sel(X1, X2)) → MARK(X2)
MARK(0) → ACTIVE(0)
MARK(minus(X1, X2)) → ACTIVE(minus(mark(X1), mark(X2)))
MARK(minus(X1, X2)) → MINUS(mark(X1), mark(X2))
MARK(minus(X1, X2)) → MARK(X1)
MARK(minus(X1, X2)) → MARK(X2)
MARK(quot(X1, X2)) → ACTIVE(quot(mark(X1), mark(X2)))
MARK(quot(X1, X2)) → QUOT(mark(X1), mark(X2))
MARK(quot(X1, X2)) → MARK(X1)
MARK(quot(X1, X2)) → MARK(X2)
MARK(zWquot(X1, X2)) → ACTIVE(zWquot(mark(X1), mark(X2)))
MARK(zWquot(X1, X2)) → ZWQUOT(mark(X1), mark(X2))
MARK(zWquot(X1, X2)) → MARK(X1)
MARK(zWquot(X1, X2)) → MARK(X2)
MARK(nil) → ACTIVE(nil)
FROM(mark(X)) → FROM(X)
FROM(active(X)) → FROM(X)
CONS(mark(X1), X2) → CONS(X1, X2)
CONS(X1, mark(X2)) → CONS(X1, X2)
CONS(active(X1), X2) → CONS(X1, X2)
CONS(X1, active(X2)) → CONS(X1, X2)
S(mark(X)) → S(X)
S(active(X)) → S(X)
SEL(mark(X1), X2) → SEL(X1, X2)
SEL(X1, mark(X2)) → SEL(X1, X2)
SEL(active(X1), X2) → SEL(X1, X2)
SEL(X1, active(X2)) → SEL(X1, X2)
MINUS(mark(X1), X2) → MINUS(X1, X2)
MINUS(X1, mark(X2)) → MINUS(X1, X2)
MINUS(active(X1), X2) → MINUS(X1, X2)
MINUS(X1, active(X2)) → MINUS(X1, X2)
QUOT(mark(X1), X2) → QUOT(X1, X2)
QUOT(X1, mark(X2)) → QUOT(X1, X2)
QUOT(active(X1), X2) → QUOT(X1, X2)
QUOT(X1, active(X2)) → QUOT(X1, X2)
ZWQUOT(mark(X1), X2) → ZWQUOT(X1, X2)
ZWQUOT(X1, mark(X2)) → ZWQUOT(X1, X2)
ZWQUOT(active(X1), X2) → ZWQUOT(X1, X2)
ZWQUOT(X1, active(X2)) → ZWQUOT(X1, X2)

The TRS R consists of the following rules:

active(from(X)) → mark(cons(X, from(s(X))))
active(sel(0, cons(X, XS))) → mark(X)
active(sel(s(N), cons(X, XS))) → mark(sel(N, XS))
active(minus(X, 0)) → mark(0)
active(minus(s(X), s(Y))) → mark(minus(X, Y))
active(quot(0, s(Y))) → mark(0)
active(quot(s(X), s(Y))) → mark(s(quot(minus(X, Y), s(Y))))
active(zWquot(XS, nil)) → mark(nil)
active(zWquot(nil, XS)) → mark(nil)
active(zWquot(cons(X, XS), cons(Y, YS))) → mark(cons(quot(X, Y), zWquot(XS, YS)))
mark(from(X)) → active(from(mark(X)))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
mark(0) → active(0)
mark(minus(X1, X2)) → active(minus(mark(X1), mark(X2)))
mark(quot(X1, X2)) → active(quot(mark(X1), mark(X2)))
mark(zWquot(X1, X2)) → active(zWquot(mark(X1), mark(X2)))
mark(nil) → active(nil)
from(mark(X)) → from(X)
from(active(X)) → from(X)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)
minus(mark(X1), X2) → minus(X1, X2)
minus(X1, mark(X2)) → minus(X1, X2)
minus(active(X1), X2) → minus(X1, X2)
minus(X1, active(X2)) → minus(X1, X2)
quot(mark(X1), X2) → quot(X1, X2)
quot(X1, mark(X2)) → quot(X1, X2)
quot(active(X1), X2) → quot(X1, X2)
quot(X1, active(X2)) → quot(X1, X2)
zWquot(mark(X1), X2) → zWquot(X1, X2)
zWquot(X1, mark(X2)) → zWquot(X1, X2)
zWquot(active(X1), X2) → zWquot(X1, X2)
zWquot(X1, active(X2)) → zWquot(X1, X2)

Q is empty.
We have to consider all minimal (P,Q,R)-chains.

(3) DependencyGraphProof (EQUIVALENT transformation)

The approximation of the Dependency Graph [LPAR04,FROCOS05,EDGSTAR] contains 8 SCCs with 24 less nodes.

(4) Complex Obligation (AND)

(5) Obligation:

Q DP problem:
The TRS P consists of the following rules:

ZWQUOT(X1, mark(X2)) → ZWQUOT(X1, X2)
ZWQUOT(mark(X1), X2) → ZWQUOT(X1, X2)
ZWQUOT(active(X1), X2) → ZWQUOT(X1, X2)
ZWQUOT(X1, active(X2)) → ZWQUOT(X1, X2)

The TRS R consists of the following rules:

active(from(X)) → mark(cons(X, from(s(X))))
active(sel(0, cons(X, XS))) → mark(X)
active(sel(s(N), cons(X, XS))) → mark(sel(N, XS))
active(minus(X, 0)) → mark(0)
active(minus(s(X), s(Y))) → mark(minus(X, Y))
active(quot(0, s(Y))) → mark(0)
active(quot(s(X), s(Y))) → mark(s(quot(minus(X, Y), s(Y))))
active(zWquot(XS, nil)) → mark(nil)
active(zWquot(nil, XS)) → mark(nil)
active(zWquot(cons(X, XS), cons(Y, YS))) → mark(cons(quot(X, Y), zWquot(XS, YS)))
mark(from(X)) → active(from(mark(X)))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
mark(0) → active(0)
mark(minus(X1, X2)) → active(minus(mark(X1), mark(X2)))
mark(quot(X1, X2)) → active(quot(mark(X1), mark(X2)))
mark(zWquot(X1, X2)) → active(zWquot(mark(X1), mark(X2)))
mark(nil) → active(nil)
from(mark(X)) → from(X)
from(active(X)) → from(X)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)
minus(mark(X1), X2) → minus(X1, X2)
minus(X1, mark(X2)) → minus(X1, X2)
minus(active(X1), X2) → minus(X1, X2)
minus(X1, active(X2)) → minus(X1, X2)
quot(mark(X1), X2) → quot(X1, X2)
quot(X1, mark(X2)) → quot(X1, X2)
quot(active(X1), X2) → quot(X1, X2)
quot(X1, active(X2)) → quot(X1, X2)
zWquot(mark(X1), X2) → zWquot(X1, X2)
zWquot(X1, mark(X2)) → zWquot(X1, X2)
zWquot(active(X1), X2) → zWquot(X1, X2)
zWquot(X1, active(X2)) → zWquot(X1, X2)

Q is empty.
We have to consider all minimal (P,Q,R)-chains.

(6) Obligation:

Q DP problem:
The TRS P consists of the following rules:

QUOT(X1, mark(X2)) → QUOT(X1, X2)
QUOT(mark(X1), X2) → QUOT(X1, X2)
QUOT(active(X1), X2) → QUOT(X1, X2)
QUOT(X1, active(X2)) → QUOT(X1, X2)

The TRS R consists of the following rules:

active(from(X)) → mark(cons(X, from(s(X))))
active(sel(0, cons(X, XS))) → mark(X)
active(sel(s(N), cons(X, XS))) → mark(sel(N, XS))
active(minus(X, 0)) → mark(0)
active(minus(s(X), s(Y))) → mark(minus(X, Y))
active(quot(0, s(Y))) → mark(0)
active(quot(s(X), s(Y))) → mark(s(quot(minus(X, Y), s(Y))))
active(zWquot(XS, nil)) → mark(nil)
active(zWquot(nil, XS)) → mark(nil)
active(zWquot(cons(X, XS), cons(Y, YS))) → mark(cons(quot(X, Y), zWquot(XS, YS)))
mark(from(X)) → active(from(mark(X)))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
mark(0) → active(0)
mark(minus(X1, X2)) → active(minus(mark(X1), mark(X2)))
mark(quot(X1, X2)) → active(quot(mark(X1), mark(X2)))
mark(zWquot(X1, X2)) → active(zWquot(mark(X1), mark(X2)))
mark(nil) → active(nil)
from(mark(X)) → from(X)
from(active(X)) → from(X)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)
minus(mark(X1), X2) → minus(X1, X2)
minus(X1, mark(X2)) → minus(X1, X2)
minus(active(X1), X2) → minus(X1, X2)
minus(X1, active(X2)) → minus(X1, X2)
quot(mark(X1), X2) → quot(X1, X2)
quot(X1, mark(X2)) → quot(X1, X2)
quot(active(X1), X2) → quot(X1, X2)
quot(X1, active(X2)) → quot(X1, X2)
zWquot(mark(X1), X2) → zWquot(X1, X2)
zWquot(X1, mark(X2)) → zWquot(X1, X2)
zWquot(active(X1), X2) → zWquot(X1, X2)
zWquot(X1, active(X2)) → zWquot(X1, X2)

Q is empty.
We have to consider all minimal (P,Q,R)-chains.

(7) Obligation:

Q DP problem:
The TRS P consists of the following rules:

MINUS(X1, mark(X2)) → MINUS(X1, X2)
MINUS(mark(X1), X2) → MINUS(X1, X2)
MINUS(active(X1), X2) → MINUS(X1, X2)
MINUS(X1, active(X2)) → MINUS(X1, X2)

The TRS R consists of the following rules:

active(from(X)) → mark(cons(X, from(s(X))))
active(sel(0, cons(X, XS))) → mark(X)
active(sel(s(N), cons(X, XS))) → mark(sel(N, XS))
active(minus(X, 0)) → mark(0)
active(minus(s(X), s(Y))) → mark(minus(X, Y))
active(quot(0, s(Y))) → mark(0)
active(quot(s(X), s(Y))) → mark(s(quot(minus(X, Y), s(Y))))
active(zWquot(XS, nil)) → mark(nil)
active(zWquot(nil, XS)) → mark(nil)
active(zWquot(cons(X, XS), cons(Y, YS))) → mark(cons(quot(X, Y), zWquot(XS, YS)))
mark(from(X)) → active(from(mark(X)))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
mark(0) → active(0)
mark(minus(X1, X2)) → active(minus(mark(X1), mark(X2)))
mark(quot(X1, X2)) → active(quot(mark(X1), mark(X2)))
mark(zWquot(X1, X2)) → active(zWquot(mark(X1), mark(X2)))
mark(nil) → active(nil)
from(mark(X)) → from(X)
from(active(X)) → from(X)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)
minus(mark(X1), X2) → minus(X1, X2)
minus(X1, mark(X2)) → minus(X1, X2)
minus(active(X1), X2) → minus(X1, X2)
minus(X1, active(X2)) → minus(X1, X2)
quot(mark(X1), X2) → quot(X1, X2)
quot(X1, mark(X2)) → quot(X1, X2)
quot(active(X1), X2) → quot(X1, X2)
quot(X1, active(X2)) → quot(X1, X2)
zWquot(mark(X1), X2) → zWquot(X1, X2)
zWquot(X1, mark(X2)) → zWquot(X1, X2)
zWquot(active(X1), X2) → zWquot(X1, X2)
zWquot(X1, active(X2)) → zWquot(X1, X2)

Q is empty.
We have to consider all minimal (P,Q,R)-chains.

(8) Obligation:

Q DP problem:
The TRS P consists of the following rules:

SEL(X1, mark(X2)) → SEL(X1, X2)
SEL(mark(X1), X2) → SEL(X1, X2)
SEL(active(X1), X2) → SEL(X1, X2)
SEL(X1, active(X2)) → SEL(X1, X2)

The TRS R consists of the following rules:

active(from(X)) → mark(cons(X, from(s(X))))
active(sel(0, cons(X, XS))) → mark(X)
active(sel(s(N), cons(X, XS))) → mark(sel(N, XS))
active(minus(X, 0)) → mark(0)
active(minus(s(X), s(Y))) → mark(minus(X, Y))
active(quot(0, s(Y))) → mark(0)
active(quot(s(X), s(Y))) → mark(s(quot(minus(X, Y), s(Y))))
active(zWquot(XS, nil)) → mark(nil)
active(zWquot(nil, XS)) → mark(nil)
active(zWquot(cons(X, XS), cons(Y, YS))) → mark(cons(quot(X, Y), zWquot(XS, YS)))
mark(from(X)) → active(from(mark(X)))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
mark(0) → active(0)
mark(minus(X1, X2)) → active(minus(mark(X1), mark(X2)))
mark(quot(X1, X2)) → active(quot(mark(X1), mark(X2)))
mark(zWquot(X1, X2)) → active(zWquot(mark(X1), mark(X2)))
mark(nil) → active(nil)
from(mark(X)) → from(X)
from(active(X)) → from(X)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)
minus(mark(X1), X2) → minus(X1, X2)
minus(X1, mark(X2)) → minus(X1, X2)
minus(active(X1), X2) → minus(X1, X2)
minus(X1, active(X2)) → minus(X1, X2)
quot(mark(X1), X2) → quot(X1, X2)
quot(X1, mark(X2)) → quot(X1, X2)
quot(active(X1), X2) → quot(X1, X2)
quot(X1, active(X2)) → quot(X1, X2)
zWquot(mark(X1), X2) → zWquot(X1, X2)
zWquot(X1, mark(X2)) → zWquot(X1, X2)
zWquot(active(X1), X2) → zWquot(X1, X2)
zWquot(X1, active(X2)) → zWquot(X1, X2)

Q is empty.
We have to consider all minimal (P,Q,R)-chains.

(9) Obligation:

Q DP problem:
The TRS P consists of the following rules:

S(active(X)) → S(X)
S(mark(X)) → S(X)

The TRS R consists of the following rules:

active(from(X)) → mark(cons(X, from(s(X))))
active(sel(0, cons(X, XS))) → mark(X)
active(sel(s(N), cons(X, XS))) → mark(sel(N, XS))
active(minus(X, 0)) → mark(0)
active(minus(s(X), s(Y))) → mark(minus(X, Y))
active(quot(0, s(Y))) → mark(0)
active(quot(s(X), s(Y))) → mark(s(quot(minus(X, Y), s(Y))))
active(zWquot(XS, nil)) → mark(nil)
active(zWquot(nil, XS)) → mark(nil)
active(zWquot(cons(X, XS), cons(Y, YS))) → mark(cons(quot(X, Y), zWquot(XS, YS)))
mark(from(X)) → active(from(mark(X)))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
mark(0) → active(0)
mark(minus(X1, X2)) → active(minus(mark(X1), mark(X2)))
mark(quot(X1, X2)) → active(quot(mark(X1), mark(X2)))
mark(zWquot(X1, X2)) → active(zWquot(mark(X1), mark(X2)))
mark(nil) → active(nil)
from(mark(X)) → from(X)
from(active(X)) → from(X)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)
minus(mark(X1), X2) → minus(X1, X2)
minus(X1, mark(X2)) → minus(X1, X2)
minus(active(X1), X2) → minus(X1, X2)
minus(X1, active(X2)) → minus(X1, X2)
quot(mark(X1), X2) → quot(X1, X2)
quot(X1, mark(X2)) → quot(X1, X2)
quot(active(X1), X2) → quot(X1, X2)
quot(X1, active(X2)) → quot(X1, X2)
zWquot(mark(X1), X2) → zWquot(X1, X2)
zWquot(X1, mark(X2)) → zWquot(X1, X2)
zWquot(active(X1), X2) → zWquot(X1, X2)
zWquot(X1, active(X2)) → zWquot(X1, X2)

Q is empty.
We have to consider all minimal (P,Q,R)-chains.

(10) Obligation:

Q DP problem:
The TRS P consists of the following rules:

CONS(X1, mark(X2)) → CONS(X1, X2)
CONS(mark(X1), X2) → CONS(X1, X2)
CONS(active(X1), X2) → CONS(X1, X2)
CONS(X1, active(X2)) → CONS(X1, X2)

The TRS R consists of the following rules:

active(from(X)) → mark(cons(X, from(s(X))))
active(sel(0, cons(X, XS))) → mark(X)
active(sel(s(N), cons(X, XS))) → mark(sel(N, XS))
active(minus(X, 0)) → mark(0)
active(minus(s(X), s(Y))) → mark(minus(X, Y))
active(quot(0, s(Y))) → mark(0)
active(quot(s(X), s(Y))) → mark(s(quot(minus(X, Y), s(Y))))
active(zWquot(XS, nil)) → mark(nil)
active(zWquot(nil, XS)) → mark(nil)
active(zWquot(cons(X, XS), cons(Y, YS))) → mark(cons(quot(X, Y), zWquot(XS, YS)))
mark(from(X)) → active(from(mark(X)))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
mark(0) → active(0)
mark(minus(X1, X2)) → active(minus(mark(X1), mark(X2)))
mark(quot(X1, X2)) → active(quot(mark(X1), mark(X2)))
mark(zWquot(X1, X2)) → active(zWquot(mark(X1), mark(X2)))
mark(nil) → active(nil)
from(mark(X)) → from(X)
from(active(X)) → from(X)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)
minus(mark(X1), X2) → minus(X1, X2)
minus(X1, mark(X2)) → minus(X1, X2)
minus(active(X1), X2) → minus(X1, X2)
minus(X1, active(X2)) → minus(X1, X2)
quot(mark(X1), X2) → quot(X1, X2)
quot(X1, mark(X2)) → quot(X1, X2)
quot(active(X1), X2) → quot(X1, X2)
quot(X1, active(X2)) → quot(X1, X2)
zWquot(mark(X1), X2) → zWquot(X1, X2)
zWquot(X1, mark(X2)) → zWquot(X1, X2)
zWquot(active(X1), X2) → zWquot(X1, X2)
zWquot(X1, active(X2)) → zWquot(X1, X2)

Q is empty.
We have to consider all minimal (P,Q,R)-chains.

(11) Obligation:

Q DP problem:
The TRS P consists of the following rules:

FROM(active(X)) → FROM(X)
FROM(mark(X)) → FROM(X)

The TRS R consists of the following rules:

active(from(X)) → mark(cons(X, from(s(X))))
active(sel(0, cons(X, XS))) → mark(X)
active(sel(s(N), cons(X, XS))) → mark(sel(N, XS))
active(minus(X, 0)) → mark(0)
active(minus(s(X), s(Y))) → mark(minus(X, Y))
active(quot(0, s(Y))) → mark(0)
active(quot(s(X), s(Y))) → mark(s(quot(minus(X, Y), s(Y))))
active(zWquot(XS, nil)) → mark(nil)
active(zWquot(nil, XS)) → mark(nil)
active(zWquot(cons(X, XS), cons(Y, YS))) → mark(cons(quot(X, Y), zWquot(XS, YS)))
mark(from(X)) → active(from(mark(X)))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
mark(0) → active(0)
mark(minus(X1, X2)) → active(minus(mark(X1), mark(X2)))
mark(quot(X1, X2)) → active(quot(mark(X1), mark(X2)))
mark(zWquot(X1, X2)) → active(zWquot(mark(X1), mark(X2)))
mark(nil) → active(nil)
from(mark(X)) → from(X)
from(active(X)) → from(X)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)
minus(mark(X1), X2) → minus(X1, X2)
minus(X1, mark(X2)) → minus(X1, X2)
minus(active(X1), X2) → minus(X1, X2)
minus(X1, active(X2)) → minus(X1, X2)
quot(mark(X1), X2) → quot(X1, X2)
quot(X1, mark(X2)) → quot(X1, X2)
quot(active(X1), X2) → quot(X1, X2)
quot(X1, active(X2)) → quot(X1, X2)
zWquot(mark(X1), X2) → zWquot(X1, X2)
zWquot(X1, mark(X2)) → zWquot(X1, X2)
zWquot(active(X1), X2) → zWquot(X1, X2)
zWquot(X1, active(X2)) → zWquot(X1, X2)

Q is empty.
We have to consider all minimal (P,Q,R)-chains.

(12) Obligation:

Q DP problem:
The TRS P consists of the following rules:

MARK(from(X)) → ACTIVE(from(mark(X)))
ACTIVE(from(X)) → MARK(cons(X, from(s(X))))
MARK(from(X)) → MARK(X)
MARK(cons(X1, X2)) → ACTIVE(cons(mark(X1), X2))
ACTIVE(sel(0, cons(X, XS))) → MARK(X)
MARK(cons(X1, X2)) → MARK(X1)
MARK(s(X)) → ACTIVE(s(mark(X)))
ACTIVE(sel(s(N), cons(X, XS))) → MARK(sel(N, XS))
MARK(s(X)) → MARK(X)
MARK(sel(X1, X2)) → ACTIVE(sel(mark(X1), mark(X2)))
ACTIVE(minus(s(X), s(Y))) → MARK(minus(X, Y))
MARK(sel(X1, X2)) → MARK(X1)
MARK(sel(X1, X2)) → MARK(X2)
MARK(minus(X1, X2)) → ACTIVE(minus(mark(X1), mark(X2)))
ACTIVE(quot(s(X), s(Y))) → MARK(s(quot(minus(X, Y), s(Y))))
MARK(minus(X1, X2)) → MARK(X1)
MARK(minus(X1, X2)) → MARK(X2)
MARK(quot(X1, X2)) → ACTIVE(quot(mark(X1), mark(X2)))
ACTIVE(zWquot(cons(X, XS), cons(Y, YS))) → MARK(cons(quot(X, Y), zWquot(XS, YS)))
MARK(quot(X1, X2)) → MARK(X1)
MARK(quot(X1, X2)) → MARK(X2)
MARK(zWquot(X1, X2)) → ACTIVE(zWquot(mark(X1), mark(X2)))
MARK(zWquot(X1, X2)) → MARK(X1)
MARK(zWquot(X1, X2)) → MARK(X2)

The TRS R consists of the following rules:

active(from(X)) → mark(cons(X, from(s(X))))
active(sel(0, cons(X, XS))) → mark(X)
active(sel(s(N), cons(X, XS))) → mark(sel(N, XS))
active(minus(X, 0)) → mark(0)
active(minus(s(X), s(Y))) → mark(minus(X, Y))
active(quot(0, s(Y))) → mark(0)
active(quot(s(X), s(Y))) → mark(s(quot(minus(X, Y), s(Y))))
active(zWquot(XS, nil)) → mark(nil)
active(zWquot(nil, XS)) → mark(nil)
active(zWquot(cons(X, XS), cons(Y, YS))) → mark(cons(quot(X, Y), zWquot(XS, YS)))
mark(from(X)) → active(from(mark(X)))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
mark(0) → active(0)
mark(minus(X1, X2)) → active(minus(mark(X1), mark(X2)))
mark(quot(X1, X2)) → active(quot(mark(X1), mark(X2)))
mark(zWquot(X1, X2)) → active(zWquot(mark(X1), mark(X2)))
mark(nil) → active(nil)
from(mark(X)) → from(X)
from(active(X)) → from(X)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)
minus(mark(X1), X2) → minus(X1, X2)
minus(X1, mark(X2)) → minus(X1, X2)
minus(active(X1), X2) → minus(X1, X2)
minus(X1, active(X2)) → minus(X1, X2)
quot(mark(X1), X2) → quot(X1, X2)
quot(X1, mark(X2)) → quot(X1, X2)
quot(active(X1), X2) → quot(X1, X2)
quot(X1, active(X2)) → quot(X1, X2)
zWquot(mark(X1), X2) → zWquot(X1, X2)
zWquot(X1, mark(X2)) → zWquot(X1, X2)
zWquot(active(X1), X2) → zWquot(X1, X2)
zWquot(X1, active(X2)) → zWquot(X1, X2)

Q is empty.
We have to consider all minimal (P,Q,R)-chains.