0 QTRS
↳1 DependencyPairsProof (⇔)
↳2 QDP
↳3 DependencyGraphProof (⇔)
↳4 QDP
↳5 QDPOrderProof (⇔)
↳6 QDP
↳7 DependencyGraphProof (⇔)
↳8 TRUE
U11(tt, N, XS) → U12(tt, activate(N), activate(XS))
U12(tt, N, XS) → snd(splitAt(activate(N), activate(XS)))
U21(tt, X) → U22(tt, activate(X))
U22(tt, X) → activate(X)
U31(tt, N) → U32(tt, activate(N))
U32(tt, N) → activate(N)
U41(tt, N, XS) → U42(tt, activate(N), activate(XS))
U42(tt, N, XS) → head(afterNth(activate(N), activate(XS)))
U51(tt, Y) → U52(tt, activate(Y))
U52(tt, Y) → activate(Y)
U61(tt, N, X, XS) → U62(tt, activate(N), activate(X), activate(XS))
U62(tt, N, X, XS) → U63(tt, activate(N), activate(X), activate(XS))
U63(tt, N, X, XS) → U64(splitAt(activate(N), activate(XS)), activate(X))
U64(pair(YS, ZS), X) → pair(cons(activate(X), YS), ZS)
U71(tt, XS) → U72(tt, activate(XS))
U72(tt, XS) → activate(XS)
U81(tt, N, XS) → U82(tt, activate(N), activate(XS))
U82(tt, N, XS) → fst(splitAt(activate(N), activate(XS)))
afterNth(N, XS) → U11(tt, N, XS)
fst(pair(X, Y)) → U21(tt, X)
head(cons(N, XS)) → U31(tt, N)
natsFrom(N) → cons(N, n__natsFrom(s(N)))
sel(N, XS) → U41(tt, N, XS)
snd(pair(X, Y)) → U51(tt, Y)
splitAt(0, XS) → pair(nil, XS)
splitAt(s(N), cons(X, XS)) → U61(tt, N, X, activate(XS))
tail(cons(N, XS)) → U71(tt, activate(XS))
take(N, XS) → U81(tt, N, XS)
natsFrom(X) → n__natsFrom(X)
activate(n__natsFrom(X)) → natsFrom(X)
activate(X) → X
U111(tt, N, XS) → U121(tt, activate(N), activate(XS))
U111(tt, N, XS) → ACTIVATE(N)
U111(tt, N, XS) → ACTIVATE(XS)
U121(tt, N, XS) → SND(splitAt(activate(N), activate(XS)))
U121(tt, N, XS) → SPLITAT(activate(N), activate(XS))
U121(tt, N, XS) → ACTIVATE(N)
U121(tt, N, XS) → ACTIVATE(XS)
U211(tt, X) → U221(tt, activate(X))
U211(tt, X) → ACTIVATE(X)
U221(tt, X) → ACTIVATE(X)
U311(tt, N) → U321(tt, activate(N))
U311(tt, N) → ACTIVATE(N)
U321(tt, N) → ACTIVATE(N)
U411(tt, N, XS) → U421(tt, activate(N), activate(XS))
U411(tt, N, XS) → ACTIVATE(N)
U411(tt, N, XS) → ACTIVATE(XS)
U421(tt, N, XS) → HEAD(afterNth(activate(N), activate(XS)))
U421(tt, N, XS) → AFTERNTH(activate(N), activate(XS))
U421(tt, N, XS) → ACTIVATE(N)
U421(tt, N, XS) → ACTIVATE(XS)
U511(tt, Y) → U521(tt, activate(Y))
U511(tt, Y) → ACTIVATE(Y)
U521(tt, Y) → ACTIVATE(Y)
U611(tt, N, X, XS) → U621(tt, activate(N), activate(X), activate(XS))
U611(tt, N, X, XS) → ACTIVATE(N)
U611(tt, N, X, XS) → ACTIVATE(X)
U611(tt, N, X, XS) → ACTIVATE(XS)
U621(tt, N, X, XS) → U631(tt, activate(N), activate(X), activate(XS))
U621(tt, N, X, XS) → ACTIVATE(N)
U621(tt, N, X, XS) → ACTIVATE(X)
U621(tt, N, X, XS) → ACTIVATE(XS)
U631(tt, N, X, XS) → U641(splitAt(activate(N), activate(XS)), activate(X))
U631(tt, N, X, XS) → SPLITAT(activate(N), activate(XS))
U631(tt, N, X, XS) → ACTIVATE(N)
U631(tt, N, X, XS) → ACTIVATE(XS)
U631(tt, N, X, XS) → ACTIVATE(X)
U641(pair(YS, ZS), X) → ACTIVATE(X)
U711(tt, XS) → U721(tt, activate(XS))
U711(tt, XS) → ACTIVATE(XS)
U721(tt, XS) → ACTIVATE(XS)
U811(tt, N, XS) → U821(tt, activate(N), activate(XS))
U811(tt, N, XS) → ACTIVATE(N)
U811(tt, N, XS) → ACTIVATE(XS)
U821(tt, N, XS) → FST(splitAt(activate(N), activate(XS)))
U821(tt, N, XS) → SPLITAT(activate(N), activate(XS))
U821(tt, N, XS) → ACTIVATE(N)
U821(tt, N, XS) → ACTIVATE(XS)
AFTERNTH(N, XS) → U111(tt, N, XS)
FST(pair(X, Y)) → U211(tt, X)
HEAD(cons(N, XS)) → U311(tt, N)
SEL(N, XS) → U411(tt, N, XS)
SND(pair(X, Y)) → U511(tt, Y)
SPLITAT(s(N), cons(X, XS)) → U611(tt, N, X, activate(XS))
SPLITAT(s(N), cons(X, XS)) → ACTIVATE(XS)
TAIL(cons(N, XS)) → U711(tt, activate(XS))
TAIL(cons(N, XS)) → ACTIVATE(XS)
TAKE(N, XS) → U811(tt, N, XS)
ACTIVATE(n__natsFrom(X)) → NATSFROM(X)
U11(tt, N, XS) → U12(tt, activate(N), activate(XS))
U12(tt, N, XS) → snd(splitAt(activate(N), activate(XS)))
U21(tt, X) → U22(tt, activate(X))
U22(tt, X) → activate(X)
U31(tt, N) → U32(tt, activate(N))
U32(tt, N) → activate(N)
U41(tt, N, XS) → U42(tt, activate(N), activate(XS))
U42(tt, N, XS) → head(afterNth(activate(N), activate(XS)))
U51(tt, Y) → U52(tt, activate(Y))
U52(tt, Y) → activate(Y)
U61(tt, N, X, XS) → U62(tt, activate(N), activate(X), activate(XS))
U62(tt, N, X, XS) → U63(tt, activate(N), activate(X), activate(XS))
U63(tt, N, X, XS) → U64(splitAt(activate(N), activate(XS)), activate(X))
U64(pair(YS, ZS), X) → pair(cons(activate(X), YS), ZS)
U71(tt, XS) → U72(tt, activate(XS))
U72(tt, XS) → activate(XS)
U81(tt, N, XS) → U82(tt, activate(N), activate(XS))
U82(tt, N, XS) → fst(splitAt(activate(N), activate(XS)))
afterNth(N, XS) → U11(tt, N, XS)
fst(pair(X, Y)) → U21(tt, X)
head(cons(N, XS)) → U31(tt, N)
natsFrom(N) → cons(N, n__natsFrom(s(N)))
sel(N, XS) → U41(tt, N, XS)
snd(pair(X, Y)) → U51(tt, Y)
splitAt(0, XS) → pair(nil, XS)
splitAt(s(N), cons(X, XS)) → U61(tt, N, X, activate(XS))
tail(cons(N, XS)) → U71(tt, activate(XS))
take(N, XS) → U81(tt, N, XS)
natsFrom(X) → n__natsFrom(X)
activate(n__natsFrom(X)) → natsFrom(X)
activate(X) → X
U621(tt, N, X, XS) → U631(tt, activate(N), activate(X), activate(XS))
U631(tt, N, X, XS) → SPLITAT(activate(N), activate(XS))
SPLITAT(s(N), cons(X, XS)) → U611(tt, N, X, activate(XS))
U611(tt, N, X, XS) → U621(tt, activate(N), activate(X), activate(XS))
U11(tt, N, XS) → U12(tt, activate(N), activate(XS))
U12(tt, N, XS) → snd(splitAt(activate(N), activate(XS)))
U21(tt, X) → U22(tt, activate(X))
U22(tt, X) → activate(X)
U31(tt, N) → U32(tt, activate(N))
U32(tt, N) → activate(N)
U41(tt, N, XS) → U42(tt, activate(N), activate(XS))
U42(tt, N, XS) → head(afterNth(activate(N), activate(XS)))
U51(tt, Y) → U52(tt, activate(Y))
U52(tt, Y) → activate(Y)
U61(tt, N, X, XS) → U62(tt, activate(N), activate(X), activate(XS))
U62(tt, N, X, XS) → U63(tt, activate(N), activate(X), activate(XS))
U63(tt, N, X, XS) → U64(splitAt(activate(N), activate(XS)), activate(X))
U64(pair(YS, ZS), X) → pair(cons(activate(X), YS), ZS)
U71(tt, XS) → U72(tt, activate(XS))
U72(tt, XS) → activate(XS)
U81(tt, N, XS) → U82(tt, activate(N), activate(XS))
U82(tt, N, XS) → fst(splitAt(activate(N), activate(XS)))
afterNth(N, XS) → U11(tt, N, XS)
fst(pair(X, Y)) → U21(tt, X)
head(cons(N, XS)) → U31(tt, N)
natsFrom(N) → cons(N, n__natsFrom(s(N)))
sel(N, XS) → U41(tt, N, XS)
snd(pair(X, Y)) → U51(tt, Y)
splitAt(0, XS) → pair(nil, XS)
splitAt(s(N), cons(X, XS)) → U61(tt, N, X, activate(XS))
tail(cons(N, XS)) → U71(tt, activate(XS))
take(N, XS) → U81(tt, N, XS)
natsFrom(X) → n__natsFrom(X)
activate(n__natsFrom(X)) → natsFrom(X)
activate(X) → X
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
U621(tt, N, X, XS) → U631(tt, activate(N), activate(X), activate(XS))
U631(tt, N, X, XS) → SPLITAT(activate(N), activate(XS))
[U62^11, tt, s1, U61^11] > U63^12
[nnatsFrom, natsFrom] > U63^12
activate(n__natsFrom(X)) → natsFrom(X)
natsFrom(X) → n__natsFrom(X)
activate(X) → X
natsFrom(N) → cons(N, n__natsFrom(s(N)))
SPLITAT(s(N), cons(X, XS)) → U611(tt, N, X, activate(XS))
U611(tt, N, X, XS) → U621(tt, activate(N), activate(X), activate(XS))
U11(tt, N, XS) → U12(tt, activate(N), activate(XS))
U12(tt, N, XS) → snd(splitAt(activate(N), activate(XS)))
U21(tt, X) → U22(tt, activate(X))
U22(tt, X) → activate(X)
U31(tt, N) → U32(tt, activate(N))
U32(tt, N) → activate(N)
U41(tt, N, XS) → U42(tt, activate(N), activate(XS))
U42(tt, N, XS) → head(afterNth(activate(N), activate(XS)))
U51(tt, Y) → U52(tt, activate(Y))
U52(tt, Y) → activate(Y)
U61(tt, N, X, XS) → U62(tt, activate(N), activate(X), activate(XS))
U62(tt, N, X, XS) → U63(tt, activate(N), activate(X), activate(XS))
U63(tt, N, X, XS) → U64(splitAt(activate(N), activate(XS)), activate(X))
U64(pair(YS, ZS), X) → pair(cons(activate(X), YS), ZS)
U71(tt, XS) → U72(tt, activate(XS))
U72(tt, XS) → activate(XS)
U81(tt, N, XS) → U82(tt, activate(N), activate(XS))
U82(tt, N, XS) → fst(splitAt(activate(N), activate(XS)))
afterNth(N, XS) → U11(tt, N, XS)
fst(pair(X, Y)) → U21(tt, X)
head(cons(N, XS)) → U31(tt, N)
natsFrom(N) → cons(N, n__natsFrom(s(N)))
sel(N, XS) → U41(tt, N, XS)
snd(pair(X, Y)) → U51(tt, Y)
splitAt(0, XS) → pair(nil, XS)
splitAt(s(N), cons(X, XS)) → U61(tt, N, X, activate(XS))
tail(cons(N, XS)) → U71(tt, activate(XS))
take(N, XS) → U81(tt, N, XS)
natsFrom(X) → n__natsFrom(X)
activate(n__natsFrom(X)) → natsFrom(X)
activate(X) → X