0 QTRS
↳1 DependencyPairsProof (⇔)
↳2 QDP
↳3 DependencyGraphProof (⇔)
↳4 AND
↳5 QDP
↳6 QDP
↳7 QDP
↳8 QDP
↳9 QDP
↳10 QDP
↳11 QDP
↳12 QDPOrderProof (⇔)
↳13 QDP
↳14 QDPOrderProof (⇔)
↳15 QDP
active(incr(nil)) → mark(nil)
active(incr(cons(X, L))) → mark(cons(s(X), incr(L)))
active(adx(nil)) → mark(nil)
active(adx(cons(X, L))) → mark(incr(cons(X, adx(L))))
active(nats) → mark(adx(zeros))
active(zeros) → mark(cons(0, zeros))
active(head(cons(X, L))) → mark(X)
active(tail(cons(X, L))) → mark(L)
mark(incr(X)) → active(incr(mark(X)))
mark(nil) → active(nil)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(adx(X)) → active(adx(mark(X)))
mark(nats) → active(nats)
mark(zeros) → active(zeros)
mark(0) → active(0)
mark(head(X)) → active(head(mark(X)))
mark(tail(X)) → active(tail(mark(X)))
incr(mark(X)) → incr(X)
incr(active(X)) → incr(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)
adx(mark(X)) → adx(X)
adx(active(X)) → adx(X)
head(mark(X)) → head(X)
head(active(X)) → head(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
ACTIVE(incr(nil)) → MARK(nil)
ACTIVE(incr(cons(X, L))) → MARK(cons(s(X), incr(L)))
ACTIVE(incr(cons(X, L))) → CONS(s(X), incr(L))
ACTIVE(incr(cons(X, L))) → S(X)
ACTIVE(incr(cons(X, L))) → INCR(L)
ACTIVE(adx(nil)) → MARK(nil)
ACTIVE(adx(cons(X, L))) → MARK(incr(cons(X, adx(L))))
ACTIVE(adx(cons(X, L))) → INCR(cons(X, adx(L)))
ACTIVE(adx(cons(X, L))) → CONS(X, adx(L))
ACTIVE(adx(cons(X, L))) → ADX(L)
ACTIVE(nats) → MARK(adx(zeros))
ACTIVE(nats) → ADX(zeros)
ACTIVE(zeros) → MARK(cons(0, zeros))
ACTIVE(zeros) → CONS(0, zeros)
ACTIVE(head(cons(X, L))) → MARK(X)
ACTIVE(tail(cons(X, L))) → MARK(L)
MARK(incr(X)) → ACTIVE(incr(mark(X)))
MARK(incr(X)) → INCR(mark(X))
MARK(incr(X)) → MARK(X)
MARK(nil) → ACTIVE(nil)
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(adx(X)) → ACTIVE(adx(mark(X)))
MARK(adx(X)) → ADX(mark(X))
MARK(adx(X)) → MARK(X)
MARK(nats) → ACTIVE(nats)
MARK(zeros) → ACTIVE(zeros)
MARK(0) → ACTIVE(0)
MARK(head(X)) → ACTIVE(head(mark(X)))
MARK(head(X)) → HEAD(mark(X))
MARK(head(X)) → MARK(X)
MARK(tail(X)) → ACTIVE(tail(mark(X)))
MARK(tail(X)) → TAIL(mark(X))
MARK(tail(X)) → MARK(X)
INCR(mark(X)) → INCR(X)
INCR(active(X)) → INCR(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)
ADX(mark(X)) → ADX(X)
ADX(active(X)) → ADX(X)
HEAD(mark(X)) → HEAD(X)
HEAD(active(X)) → HEAD(X)
TAIL(mark(X)) → TAIL(X)
TAIL(active(X)) → TAIL(X)
active(incr(nil)) → mark(nil)
active(incr(cons(X, L))) → mark(cons(s(X), incr(L)))
active(adx(nil)) → mark(nil)
active(adx(cons(X, L))) → mark(incr(cons(X, adx(L))))
active(nats) → mark(adx(zeros))
active(zeros) → mark(cons(0, zeros))
active(head(cons(X, L))) → mark(X)
active(tail(cons(X, L))) → mark(L)
mark(incr(X)) → active(incr(mark(X)))
mark(nil) → active(nil)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(adx(X)) → active(adx(mark(X)))
mark(nats) → active(nats)
mark(zeros) → active(zeros)
mark(0) → active(0)
mark(head(X)) → active(head(mark(X)))
mark(tail(X)) → active(tail(mark(X)))
incr(mark(X)) → incr(X)
incr(active(X)) → incr(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)
adx(mark(X)) → adx(X)
adx(active(X)) → adx(X)
head(mark(X)) → head(X)
head(active(X)) → head(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
TAIL(active(X)) → TAIL(X)
TAIL(mark(X)) → TAIL(X)
active(incr(nil)) → mark(nil)
active(incr(cons(X, L))) → mark(cons(s(X), incr(L)))
active(adx(nil)) → mark(nil)
active(adx(cons(X, L))) → mark(incr(cons(X, adx(L))))
active(nats) → mark(adx(zeros))
active(zeros) → mark(cons(0, zeros))
active(head(cons(X, L))) → mark(X)
active(tail(cons(X, L))) → mark(L)
mark(incr(X)) → active(incr(mark(X)))
mark(nil) → active(nil)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(adx(X)) → active(adx(mark(X)))
mark(nats) → active(nats)
mark(zeros) → active(zeros)
mark(0) → active(0)
mark(head(X)) → active(head(mark(X)))
mark(tail(X)) → active(tail(mark(X)))
incr(mark(X)) → incr(X)
incr(active(X)) → incr(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)
adx(mark(X)) → adx(X)
adx(active(X)) → adx(X)
head(mark(X)) → head(X)
head(active(X)) → head(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
HEAD(active(X)) → HEAD(X)
HEAD(mark(X)) → HEAD(X)
active(incr(nil)) → mark(nil)
active(incr(cons(X, L))) → mark(cons(s(X), incr(L)))
active(adx(nil)) → mark(nil)
active(adx(cons(X, L))) → mark(incr(cons(X, adx(L))))
active(nats) → mark(adx(zeros))
active(zeros) → mark(cons(0, zeros))
active(head(cons(X, L))) → mark(X)
active(tail(cons(X, L))) → mark(L)
mark(incr(X)) → active(incr(mark(X)))
mark(nil) → active(nil)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(adx(X)) → active(adx(mark(X)))
mark(nats) → active(nats)
mark(zeros) → active(zeros)
mark(0) → active(0)
mark(head(X)) → active(head(mark(X)))
mark(tail(X)) → active(tail(mark(X)))
incr(mark(X)) → incr(X)
incr(active(X)) → incr(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)
adx(mark(X)) → adx(X)
adx(active(X)) → adx(X)
head(mark(X)) → head(X)
head(active(X)) → head(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
ADX(active(X)) → ADX(X)
ADX(mark(X)) → ADX(X)
active(incr(nil)) → mark(nil)
active(incr(cons(X, L))) → mark(cons(s(X), incr(L)))
active(adx(nil)) → mark(nil)
active(adx(cons(X, L))) → mark(incr(cons(X, adx(L))))
active(nats) → mark(adx(zeros))
active(zeros) → mark(cons(0, zeros))
active(head(cons(X, L))) → mark(X)
active(tail(cons(X, L))) → mark(L)
mark(incr(X)) → active(incr(mark(X)))
mark(nil) → active(nil)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(adx(X)) → active(adx(mark(X)))
mark(nats) → active(nats)
mark(zeros) → active(zeros)
mark(0) → active(0)
mark(head(X)) → active(head(mark(X)))
mark(tail(X)) → active(tail(mark(X)))
incr(mark(X)) → incr(X)
incr(active(X)) → incr(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)
adx(mark(X)) → adx(X)
adx(active(X)) → adx(X)
head(mark(X)) → head(X)
head(active(X)) → head(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
S(active(X)) → S(X)
S(mark(X)) → S(X)
active(incr(nil)) → mark(nil)
active(incr(cons(X, L))) → mark(cons(s(X), incr(L)))
active(adx(nil)) → mark(nil)
active(adx(cons(X, L))) → mark(incr(cons(X, adx(L))))
active(nats) → mark(adx(zeros))
active(zeros) → mark(cons(0, zeros))
active(head(cons(X, L))) → mark(X)
active(tail(cons(X, L))) → mark(L)
mark(incr(X)) → active(incr(mark(X)))
mark(nil) → active(nil)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(adx(X)) → active(adx(mark(X)))
mark(nats) → active(nats)
mark(zeros) → active(zeros)
mark(0) → active(0)
mark(head(X)) → active(head(mark(X)))
mark(tail(X)) → active(tail(mark(X)))
incr(mark(X)) → incr(X)
incr(active(X)) → incr(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)
adx(mark(X)) → adx(X)
adx(active(X)) → adx(X)
head(mark(X)) → head(X)
head(active(X)) → head(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
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)
active(incr(nil)) → mark(nil)
active(incr(cons(X, L))) → mark(cons(s(X), incr(L)))
active(adx(nil)) → mark(nil)
active(adx(cons(X, L))) → mark(incr(cons(X, adx(L))))
active(nats) → mark(adx(zeros))
active(zeros) → mark(cons(0, zeros))
active(head(cons(X, L))) → mark(X)
active(tail(cons(X, L))) → mark(L)
mark(incr(X)) → active(incr(mark(X)))
mark(nil) → active(nil)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(adx(X)) → active(adx(mark(X)))
mark(nats) → active(nats)
mark(zeros) → active(zeros)
mark(0) → active(0)
mark(head(X)) → active(head(mark(X)))
mark(tail(X)) → active(tail(mark(X)))
incr(mark(X)) → incr(X)
incr(active(X)) → incr(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)
adx(mark(X)) → adx(X)
adx(active(X)) → adx(X)
head(mark(X)) → head(X)
head(active(X)) → head(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
INCR(active(X)) → INCR(X)
INCR(mark(X)) → INCR(X)
active(incr(nil)) → mark(nil)
active(incr(cons(X, L))) → mark(cons(s(X), incr(L)))
active(adx(nil)) → mark(nil)
active(adx(cons(X, L))) → mark(incr(cons(X, adx(L))))
active(nats) → mark(adx(zeros))
active(zeros) → mark(cons(0, zeros))
active(head(cons(X, L))) → mark(X)
active(tail(cons(X, L))) → mark(L)
mark(incr(X)) → active(incr(mark(X)))
mark(nil) → active(nil)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(adx(X)) → active(adx(mark(X)))
mark(nats) → active(nats)
mark(zeros) → active(zeros)
mark(0) → active(0)
mark(head(X)) → active(head(mark(X)))
mark(tail(X)) → active(tail(mark(X)))
incr(mark(X)) → incr(X)
incr(active(X)) → incr(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)
adx(mark(X)) → adx(X)
adx(active(X)) → adx(X)
head(mark(X)) → head(X)
head(active(X)) → head(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
ACTIVE(incr(cons(X, L))) → MARK(cons(s(X), incr(L)))
MARK(incr(X)) → ACTIVE(incr(mark(X)))
ACTIVE(adx(cons(X, L))) → MARK(incr(cons(X, adx(L))))
MARK(incr(X)) → MARK(X)
MARK(cons(X1, X2)) → ACTIVE(cons(mark(X1), X2))
ACTIVE(head(cons(X, L))) → MARK(X)
MARK(cons(X1, X2)) → MARK(X1)
MARK(s(X)) → ACTIVE(s(mark(X)))
ACTIVE(tail(cons(X, L))) → MARK(L)
MARK(s(X)) → MARK(X)
MARK(adx(X)) → ACTIVE(adx(mark(X)))
MARK(adx(X)) → MARK(X)
MARK(nats) → ACTIVE(nats)
ACTIVE(nats) → MARK(adx(zeros))
MARK(zeros) → ACTIVE(zeros)
ACTIVE(zeros) → MARK(cons(0, zeros))
MARK(head(X)) → ACTIVE(head(mark(X)))
MARK(head(X)) → MARK(X)
MARK(tail(X)) → ACTIVE(tail(mark(X)))
MARK(tail(X)) → MARK(X)
active(incr(nil)) → mark(nil)
active(incr(cons(X, L))) → mark(cons(s(X), incr(L)))
active(adx(nil)) → mark(nil)
active(adx(cons(X, L))) → mark(incr(cons(X, adx(L))))
active(nats) → mark(adx(zeros))
active(zeros) → mark(cons(0, zeros))
active(head(cons(X, L))) → mark(X)
active(tail(cons(X, L))) → mark(L)
mark(incr(X)) → active(incr(mark(X)))
mark(nil) → active(nil)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(adx(X)) → active(adx(mark(X)))
mark(nats) → active(nats)
mark(zeros) → active(zeros)
mark(0) → active(0)
mark(head(X)) → active(head(mark(X)))
mark(tail(X)) → active(tail(mark(X)))
incr(mark(X)) → incr(X)
incr(active(X)) → incr(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)
adx(mark(X)) → adx(X)
adx(active(X)) → adx(X)
head(mark(X)) → head(X)
head(active(X)) → head(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
MARK(s(X)) → ACTIVE(s(mark(X)))
[incr, cons, MARK, adx, head, tail, nats, zeros] > [mark, active] > s
[incr, cons, MARK, adx, head, tail, nats, zeros] > [mark, active] > nil
0 > [mark, active] > s
0 > [mark, active] > nil
active(incr(nil)) → mark(nil)
active(incr(cons(X, L))) → mark(cons(s(X), incr(L)))
active(adx(nil)) → mark(nil)
active(adx(cons(X, L))) → mark(incr(cons(X, adx(L))))
active(nats) → mark(adx(zeros))
active(zeros) → mark(cons(0, zeros))
active(head(cons(X, L))) → mark(X)
active(tail(cons(X, L))) → mark(L)
mark(incr(X)) → active(incr(mark(X)))
mark(nil) → active(nil)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(adx(X)) → active(adx(mark(X)))
mark(nats) → active(nats)
mark(zeros) → active(zeros)
mark(0) → active(0)
mark(head(X)) → active(head(mark(X)))
mark(tail(X)) → active(tail(mark(X)))
incr(mark(X)) → incr(X)
incr(active(X)) → incr(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)
adx(mark(X)) → adx(X)
adx(active(X)) → adx(X)
head(mark(X)) → head(X)
head(active(X)) → head(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
ACTIVE(incr(cons(X, L))) → MARK(cons(s(X), incr(L)))
MARK(incr(X)) → ACTIVE(incr(mark(X)))
ACTIVE(adx(cons(X, L))) → MARK(incr(cons(X, adx(L))))
MARK(incr(X)) → MARK(X)
MARK(cons(X1, X2)) → ACTIVE(cons(mark(X1), X2))
ACTIVE(head(cons(X, L))) → MARK(X)
MARK(cons(X1, X2)) → MARK(X1)
ACTIVE(tail(cons(X, L))) → MARK(L)
MARK(s(X)) → MARK(X)
MARK(adx(X)) → ACTIVE(adx(mark(X)))
MARK(adx(X)) → MARK(X)
MARK(nats) → ACTIVE(nats)
ACTIVE(nats) → MARK(adx(zeros))
MARK(zeros) → ACTIVE(zeros)
ACTIVE(zeros) → MARK(cons(0, zeros))
MARK(head(X)) → ACTIVE(head(mark(X)))
MARK(head(X)) → MARK(X)
MARK(tail(X)) → ACTIVE(tail(mark(X)))
MARK(tail(X)) → MARK(X)
active(incr(nil)) → mark(nil)
active(incr(cons(X, L))) → mark(cons(s(X), incr(L)))
active(adx(nil)) → mark(nil)
active(adx(cons(X, L))) → mark(incr(cons(X, adx(L))))
active(nats) → mark(adx(zeros))
active(zeros) → mark(cons(0, zeros))
active(head(cons(X, L))) → mark(X)
active(tail(cons(X, L))) → mark(L)
mark(incr(X)) → active(incr(mark(X)))
mark(nil) → active(nil)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(adx(X)) → active(adx(mark(X)))
mark(nats) → active(nats)
mark(zeros) → active(zeros)
mark(0) → active(0)
mark(head(X)) → active(head(mark(X)))
mark(tail(X)) → active(tail(mark(X)))
incr(mark(X)) → incr(X)
incr(active(X)) → incr(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)
adx(mark(X)) → adx(X)
adx(active(X)) → adx(X)
head(mark(X)) → head(X)
head(active(X)) → head(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
MARK(cons(X1, X2)) → ACTIVE(cons(mark(X1), X2))
[incr, MARK, adx, head, tail, nats, zeros, nil] > [mark, active] > cons
[incr, MARK, adx, head, tail, nats, zeros, nil] > [mark, active] > s
[incr, MARK, adx, head, tail, nats, zeros, nil] > [mark, active] > 0
active(incr(nil)) → mark(nil)
active(incr(cons(X, L))) → mark(cons(s(X), incr(L)))
active(adx(nil)) → mark(nil)
active(adx(cons(X, L))) → mark(incr(cons(X, adx(L))))
active(nats) → mark(adx(zeros))
active(zeros) → mark(cons(0, zeros))
active(head(cons(X, L))) → mark(X)
active(tail(cons(X, L))) → mark(L)
mark(incr(X)) → active(incr(mark(X)))
mark(nil) → active(nil)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(adx(X)) → active(adx(mark(X)))
mark(nats) → active(nats)
mark(zeros) → active(zeros)
mark(0) → active(0)
mark(head(X)) → active(head(mark(X)))
mark(tail(X)) → active(tail(mark(X)))
incr(mark(X)) → incr(X)
incr(active(X)) → incr(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)
adx(mark(X)) → adx(X)
adx(active(X)) → adx(X)
head(mark(X)) → head(X)
head(active(X)) → head(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
ACTIVE(incr(cons(X, L))) → MARK(cons(s(X), incr(L)))
MARK(incr(X)) → ACTIVE(incr(mark(X)))
ACTIVE(adx(cons(X, L))) → MARK(incr(cons(X, adx(L))))
MARK(incr(X)) → MARK(X)
ACTIVE(head(cons(X, L))) → MARK(X)
MARK(cons(X1, X2)) → MARK(X1)
ACTIVE(tail(cons(X, L))) → MARK(L)
MARK(s(X)) → MARK(X)
MARK(adx(X)) → ACTIVE(adx(mark(X)))
MARK(adx(X)) → MARK(X)
MARK(nats) → ACTIVE(nats)
ACTIVE(nats) → MARK(adx(zeros))
MARK(zeros) → ACTIVE(zeros)
ACTIVE(zeros) → MARK(cons(0, zeros))
MARK(head(X)) → ACTIVE(head(mark(X)))
MARK(head(X)) → MARK(X)
MARK(tail(X)) → ACTIVE(tail(mark(X)))
MARK(tail(X)) → MARK(X)
active(incr(nil)) → mark(nil)
active(incr(cons(X, L))) → mark(cons(s(X), incr(L)))
active(adx(nil)) → mark(nil)
active(adx(cons(X, L))) → mark(incr(cons(X, adx(L))))
active(nats) → mark(adx(zeros))
active(zeros) → mark(cons(0, zeros))
active(head(cons(X, L))) → mark(X)
active(tail(cons(X, L))) → mark(L)
mark(incr(X)) → active(incr(mark(X)))
mark(nil) → active(nil)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(adx(X)) → active(adx(mark(X)))
mark(nats) → active(nats)
mark(zeros) → active(zeros)
mark(0) → active(0)
mark(head(X)) → active(head(mark(X)))
mark(tail(X)) → active(tail(mark(X)))
incr(mark(X)) → incr(X)
incr(active(X)) → incr(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)
adx(mark(X)) → adx(X)
adx(active(X)) → adx(X)
head(mark(X)) → head(X)
head(active(X)) → head(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)