0 QTRS
↳1 DependencyPairsProof (⇔)
↳2 QDP
↳3 DependencyGraphProof (⇔)
↳4 QDP
↳5 QDPOrderProof (⇔)
↳6 QDP
↳7 DependencyGraphProof (⇔)
↳8 AND
↳9 QDP
↳10 QDPOrderProof (⇔)
↳11 QDP
↳12 DependencyGraphProof (⇔)
↳13 AND
↳14 QDP
↳15 QDPOrderProof (⇔)
↳16 QDP
↳17 PisEmptyProof (⇔)
↳18 YES
↳19 QDP
↳20 Narrowing (⇔)
↳21 QDP
↳22 Narrowing (⇔)
↳23 QDP
↳24 Narrowing (⇔)
↳25 QDP
↳26 DependencyGraphProof (⇔)
↳27 QDP
↳28 Narrowing (⇔)
↳29 QDP
↳30 DependencyGraphProof (⇔)
↳31 QDP
↳32 Narrowing (⇔)
↳33 QDP
↳34 DependencyGraphProof (⇔)
↳35 QDP
↳36 Narrowing (⇔)
↳37 QDP
↳38 Narrowing (⇔)
↳39 QDP
↳40 DependencyGraphProof (⇔)
↳41 QDP
↳42 Narrowing (⇔)
↳43 QDP
↳44 Narrowing (⇔)
↳45 QDP
↳46 Narrowing (⇔)
↳47 QDP
↳48 DependencyGraphProof (⇔)
↳49 QDP
↳50 Narrowing (⇔)
↳51 QDP
↳52 DependencyGraphProof (⇔)
↳53 QDP
↳54 Narrowing (⇔)
↳55 QDP
↳56 DependencyGraphProof (⇔)
↳57 QDP
↳58 Narrowing (⇔)
↳59 QDP
↳60 DependencyGraphProof (⇔)
↳61 QDP
↳62 Narrowing (⇔)
↳63 QDP
↳64 Narrowing (⇔)
↳65 QDP
↳66 DependencyGraphProof (⇔)
↳67 QDP
↳68 Narrowing (⇔)
↳69 QDP
↳70 QDPOrderProof (⇔)
↳71 QDP
↳72 QDPOrderProof (⇔)
↳73 QDP
↳74 QDPOrderProof (⇔)
↳75 QDP
↳76 QDPOrderProof (⇔)
↳77 QDP
↳78 QDP
↳79 QDPOrderProof (⇔)
↳80 QDP
↳81 DependencyGraphProof (⇔)
↳82 TRUE
↳83 QDP
↳84 Narrowing (⇔)
↳85 QDP
↳86 Narrowing (⇔)
↳87 QDP
↳88 Narrowing (⇔)
↳89 QDP
↳90 DependencyGraphProof (⇔)
↳91 QDP
↳92 Narrowing (⇔)
↳93 QDP
↳94 DependencyGraphProof (⇔)
↳95 QDP
↳96 Narrowing (⇔)
↳97 QDP
↳98 DependencyGraphProof (⇔)
↳99 QDP
↳100 Narrowing (⇔)
↳101 QDP
↳102 Narrowing (⇔)
↳103 QDP
↳104 DependencyGraphProof (⇔)
↳105 QDP
↳106 Narrowing (⇔)
↳107 QDP
↳108 Narrowing (⇔)
↳109 QDP
↳110 Narrowing (⇔)
↳111 QDP
↳112 DependencyGraphProof (⇔)
↳113 QDP
↳114 Narrowing (⇔)
↳115 QDP
↳116 DependencyGraphProof (⇔)
↳117 QDP
↳118 Narrowing (⇔)
↳119 QDP
↳120 DependencyGraphProof (⇔)
↳121 QDP
↳122 Narrowing (⇔)
↳123 QDP
↳124 DependencyGraphProof (⇔)
↳125 QDP
↳126 Narrowing (⇔)
↳127 QDP
↳128 Narrowing (⇔)
↳129 QDP
↳130 DependencyGraphProof (⇔)
↳131 QDP
↳132 Narrowing (⇔)
↳133 QDP
↳134 QDPOrderProof (⇔)
↳135 QDP
↳136 QDPOrderProof (⇔)
↳137 QDP
↳138 QDPOrderProof (⇔)
↳139 QDP
↳140 QDPOrderProof (⇔)
↳141 QDP
↳142 NonTerminationProof (⇔)
↳143 NO
zeros → cons(0, n__zeros)
U11(tt) → tt
U21(tt) → tt
U31(tt) → tt
U41(tt, V2) → U42(isNatIList(activate(V2)))
U42(tt) → tt
U51(tt, V2) → U52(isNatList(activate(V2)))
U52(tt) → tt
U61(tt, V2) → U62(isNatIList(activate(V2)))
U62(tt) → tt
U71(tt, L, N) → U72(isNat(activate(N)), activate(L))
U72(tt, L) → s(length(activate(L)))
U81(tt) → nil
U91(tt, IL, M, N) → U92(isNat(activate(M)), activate(IL), activate(M), activate(N))
U92(tt, IL, M, N) → U93(isNat(activate(N)), activate(IL), activate(M), activate(N))
U93(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatList(activate(V1)))
isNat(n__s(V1)) → U21(isNat(activate(V1)))
isNatIList(V) → U31(isNatList(activate(V)))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → U41(isNat(activate(V1)), activate(V2))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(isNat(activate(V1)), activate(V2))
isNatList(n__take(V1, V2)) → U61(isNat(activate(V1)), activate(V2))
length(nil) → 0
length(cons(N, L)) → U71(isNatList(activate(L)), activate(L), N)
take(0, IL) → U81(isNatIList(IL))
take(s(M), cons(N, IL)) → U91(isNatIList(activate(IL)), activate(IL), M, N)
zeros → n__zeros
take(X1, X2) → n__take(X1, X2)
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
nil → n__nil
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__nil) → nil
activate(X) → X
ZEROS → CONS(0, n__zeros)
ZEROS → 01
U411(tt, V2) → U421(isNatIList(activate(V2)))
U411(tt, V2) → ISNATILIST(activate(V2))
U411(tt, V2) → ACTIVATE(V2)
U511(tt, V2) → U521(isNatList(activate(V2)))
U511(tt, V2) → ISNATLIST(activate(V2))
U511(tt, V2) → ACTIVATE(V2)
U611(tt, V2) → U621(isNatIList(activate(V2)))
U611(tt, V2) → ISNATILIST(activate(V2))
U611(tt, V2) → ACTIVATE(V2)
U711(tt, L, N) → U721(isNat(activate(N)), activate(L))
U711(tt, L, N) → ISNAT(activate(N))
U711(tt, L, N) → ACTIVATE(N)
U711(tt, L, N) → ACTIVATE(L)
U721(tt, L) → S(length(activate(L)))
U721(tt, L) → LENGTH(activate(L))
U721(tt, L) → ACTIVATE(L)
U811(tt) → NIL
U911(tt, IL, M, N) → U921(isNat(activate(M)), activate(IL), activate(M), activate(N))
U911(tt, IL, M, N) → ISNAT(activate(M))
U911(tt, IL, M, N) → ACTIVATE(M)
U911(tt, IL, M, N) → ACTIVATE(IL)
U911(tt, IL, M, N) → ACTIVATE(N)
U921(tt, IL, M, N) → U931(isNat(activate(N)), activate(IL), activate(M), activate(N))
U921(tt, IL, M, N) → ISNAT(activate(N))
U921(tt, IL, M, N) → ACTIVATE(N)
U921(tt, IL, M, N) → ACTIVATE(IL)
U921(tt, IL, M, N) → ACTIVATE(M)
U931(tt, IL, M, N) → CONS(activate(N), n__take(activate(M), activate(IL)))
U931(tt, IL, M, N) → ACTIVATE(N)
U931(tt, IL, M, N) → ACTIVATE(M)
U931(tt, IL, M, N) → ACTIVATE(IL)
ISNAT(n__length(V1)) → U111(isNatList(activate(V1)))
ISNAT(n__length(V1)) → ISNATLIST(activate(V1))
ISNAT(n__length(V1)) → ACTIVATE(V1)
ISNAT(n__s(V1)) → U211(isNat(activate(V1)))
ISNAT(n__s(V1)) → ISNAT(activate(V1))
ISNAT(n__s(V1)) → ACTIVATE(V1)
ISNATILIST(V) → U311(isNatList(activate(V)))
ISNATILIST(V) → ISNATLIST(activate(V))
ISNATILIST(V) → ACTIVATE(V)
ISNATILIST(n__cons(V1, V2)) → U411(isNat(activate(V1)), activate(V2))
ISNATILIST(n__cons(V1, V2)) → ISNAT(activate(V1))
ISNATILIST(n__cons(V1, V2)) → ACTIVATE(V1)
ISNATILIST(n__cons(V1, V2)) → ACTIVATE(V2)
ISNATLIST(n__cons(V1, V2)) → U511(isNat(activate(V1)), activate(V2))
ISNATLIST(n__cons(V1, V2)) → ISNAT(activate(V1))
ISNATLIST(n__cons(V1, V2)) → ACTIVATE(V1)
ISNATLIST(n__cons(V1, V2)) → ACTIVATE(V2)
ISNATLIST(n__take(V1, V2)) → U611(isNat(activate(V1)), activate(V2))
ISNATLIST(n__take(V1, V2)) → ISNAT(activate(V1))
ISNATLIST(n__take(V1, V2)) → ACTIVATE(V1)
ISNATLIST(n__take(V1, V2)) → ACTIVATE(V2)
LENGTH(nil) → 01
LENGTH(cons(N, L)) → U711(isNatList(activate(L)), activate(L), N)
LENGTH(cons(N, L)) → ISNATLIST(activate(L))
LENGTH(cons(N, L)) → ACTIVATE(L)
TAKE(0, IL) → U811(isNatIList(IL))
TAKE(0, IL) → ISNATILIST(IL)
TAKE(s(M), cons(N, IL)) → U911(isNatIList(activate(IL)), activate(IL), M, N)
TAKE(s(M), cons(N, IL)) → ISNATILIST(activate(IL))
TAKE(s(M), cons(N, IL)) → ACTIVATE(IL)
ACTIVATE(n__zeros) → ZEROS
ACTIVATE(n__take(X1, X2)) → TAKE(X1, X2)
ACTIVATE(n__0) → 01
ACTIVATE(n__length(X)) → LENGTH(X)
ACTIVATE(n__s(X)) → S(X)
ACTIVATE(n__cons(X1, X2)) → CONS(X1, X2)
ACTIVATE(n__nil) → NIL
zeros → cons(0, n__zeros)
U11(tt) → tt
U21(tt) → tt
U31(tt) → tt
U41(tt, V2) → U42(isNatIList(activate(V2)))
U42(tt) → tt
U51(tt, V2) → U52(isNatList(activate(V2)))
U52(tt) → tt
U61(tt, V2) → U62(isNatIList(activate(V2)))
U62(tt) → tt
U71(tt, L, N) → U72(isNat(activate(N)), activate(L))
U72(tt, L) → s(length(activate(L)))
U81(tt) → nil
U91(tt, IL, M, N) → U92(isNat(activate(M)), activate(IL), activate(M), activate(N))
U92(tt, IL, M, N) → U93(isNat(activate(N)), activate(IL), activate(M), activate(N))
U93(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatList(activate(V1)))
isNat(n__s(V1)) → U21(isNat(activate(V1)))
isNatIList(V) → U31(isNatList(activate(V)))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → U41(isNat(activate(V1)), activate(V2))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(isNat(activate(V1)), activate(V2))
isNatList(n__take(V1, V2)) → U61(isNat(activate(V1)), activate(V2))
length(nil) → 0
length(cons(N, L)) → U71(isNatList(activate(L)), activate(L), N)
take(0, IL) → U81(isNatIList(IL))
take(s(M), cons(N, IL)) → U91(isNatIList(activate(IL)), activate(IL), M, N)
zeros → n__zeros
take(X1, X2) → n__take(X1, X2)
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
nil → n__nil
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__nil) → nil
activate(X) → X
ACTIVATE(n__take(X1, X2)) → TAKE(X1, X2)
TAKE(0, IL) → ISNATILIST(IL)
ISNATILIST(V) → ISNATLIST(activate(V))
ISNATLIST(n__cons(V1, V2)) → U511(isNat(activate(V1)), activate(V2))
U511(tt, V2) → ISNATLIST(activate(V2))
ISNATLIST(n__cons(V1, V2)) → ISNAT(activate(V1))
ISNAT(n__length(V1)) → ISNATLIST(activate(V1))
ISNATLIST(n__cons(V1, V2)) → ACTIVATE(V1)
ACTIVATE(n__length(X)) → LENGTH(X)
LENGTH(cons(N, L)) → U711(isNatList(activate(L)), activate(L), N)
U711(tt, L, N) → U721(isNat(activate(N)), activate(L))
U721(tt, L) → LENGTH(activate(L))
LENGTH(cons(N, L)) → ISNATLIST(activate(L))
ISNATLIST(n__cons(V1, V2)) → ACTIVATE(V2)
ISNATLIST(n__take(V1, V2)) → U611(isNat(activate(V1)), activate(V2))
U611(tt, V2) → ISNATILIST(activate(V2))
ISNATILIST(V) → ACTIVATE(V)
ISNATILIST(n__cons(V1, V2)) → U411(isNat(activate(V1)), activate(V2))
U411(tt, V2) → ISNATILIST(activate(V2))
ISNATILIST(n__cons(V1, V2)) → ISNAT(activate(V1))
ISNAT(n__length(V1)) → ACTIVATE(V1)
ISNAT(n__s(V1)) → ISNAT(activate(V1))
ISNAT(n__s(V1)) → ACTIVATE(V1)
ISNATILIST(n__cons(V1, V2)) → ACTIVATE(V1)
ISNATILIST(n__cons(V1, V2)) → ACTIVATE(V2)
U411(tt, V2) → ACTIVATE(V2)
U611(tt, V2) → ACTIVATE(V2)
ISNATLIST(n__take(V1, V2)) → ISNAT(activate(V1))
ISNATLIST(n__take(V1, V2)) → ACTIVATE(V1)
ISNATLIST(n__take(V1, V2)) → ACTIVATE(V2)
LENGTH(cons(N, L)) → ACTIVATE(L)
U721(tt, L) → ACTIVATE(L)
U711(tt, L, N) → ISNAT(activate(N))
U711(tt, L, N) → ACTIVATE(N)
U711(tt, L, N) → ACTIVATE(L)
U511(tt, V2) → ACTIVATE(V2)
TAKE(s(M), cons(N, IL)) → U911(isNatIList(activate(IL)), activate(IL), M, N)
U911(tt, IL, M, N) → U921(isNat(activate(M)), activate(IL), activate(M), activate(N))
U921(tt, IL, M, N) → U931(isNat(activate(N)), activate(IL), activate(M), activate(N))
U931(tt, IL, M, N) → ACTIVATE(N)
U931(tt, IL, M, N) → ACTIVATE(M)
U931(tt, IL, M, N) → ACTIVATE(IL)
U921(tt, IL, M, N) → ISNAT(activate(N))
U921(tt, IL, M, N) → ACTIVATE(N)
U921(tt, IL, M, N) → ACTIVATE(IL)
U921(tt, IL, M, N) → ACTIVATE(M)
U911(tt, IL, M, N) → ISNAT(activate(M))
U911(tt, IL, M, N) → ACTIVATE(M)
U911(tt, IL, M, N) → ACTIVATE(IL)
U911(tt, IL, M, N) → ACTIVATE(N)
TAKE(s(M), cons(N, IL)) → ISNATILIST(activate(IL))
TAKE(s(M), cons(N, IL)) → ACTIVATE(IL)
zeros → cons(0, n__zeros)
U11(tt) → tt
U21(tt) → tt
U31(tt) → tt
U41(tt, V2) → U42(isNatIList(activate(V2)))
U42(tt) → tt
U51(tt, V2) → U52(isNatList(activate(V2)))
U52(tt) → tt
U61(tt, V2) → U62(isNatIList(activate(V2)))
U62(tt) → tt
U71(tt, L, N) → U72(isNat(activate(N)), activate(L))
U72(tt, L) → s(length(activate(L)))
U81(tt) → nil
U91(tt, IL, M, N) → U92(isNat(activate(M)), activate(IL), activate(M), activate(N))
U92(tt, IL, M, N) → U93(isNat(activate(N)), activate(IL), activate(M), activate(N))
U93(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatList(activate(V1)))
isNat(n__s(V1)) → U21(isNat(activate(V1)))
isNatIList(V) → U31(isNatList(activate(V)))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → U41(isNat(activate(V1)), activate(V2))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(isNat(activate(V1)), activate(V2))
isNatList(n__take(V1, V2)) → U61(isNat(activate(V1)), activate(V2))
length(nil) → 0
length(cons(N, L)) → U71(isNatList(activate(L)), activate(L), N)
take(0, IL) → U81(isNatIList(IL))
take(s(M), cons(N, IL)) → U91(isNatIList(activate(IL)), activate(IL), M, N)
zeros → n__zeros
take(X1, X2) → n__take(X1, X2)
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
nil → n__nil
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__nil) → nil
activate(X) → X
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
ACTIVATE(n__take(X1, X2)) → TAKE(X1, X2)
ISNATLIST(n__take(V1, V2)) → U611(isNat(activate(V1)), activate(V2))
ISNATLIST(n__take(V1, V2)) → ISNAT(activate(V1))
ISNATLIST(n__take(V1, V2)) → ACTIVATE(V1)
ISNATLIST(n__take(V1, V2)) → ACTIVATE(V2)
POL( ISNAT(x1) ) = x1 + 2
POL( ISNATILIST(x1) ) = 2x1 + 2
POL( ISNATLIST(x1) ) = x1 + 2
POL( LENGTH(x1) ) = x1 + 2
POL( U411(x1, x2) ) = 2x2 + 2
POL( U511(x1, x2) ) = x2 + 2
POL( U611(x1, x2) ) = 2x2 + 2
POL( U711(x1, ..., x3) ) = x2 + x3 + 2
POL( U721(x1, x2) ) = x2 + 2
POL( U911(x1, ..., x4) ) = 2x2 + x3 + x4 + 2
POL( U921(x1, ..., x4) ) = 2x2 + x3 + x4 + 2
POL( U931(x1, ..., x4) ) = 2x2 + x3 + x4 + 2
POL( U41(x1, x2) ) = 1
POL( U51(x1, x2) ) = max{0, x1 - 2}
POL( U61(x1, x2) ) = max{0, -2}
POL( U71(x1, ..., x3) ) = 2x2 + 2x3
POL( U72(x1, x2) ) = 2x2
POL( U91(x1, ..., x4) ) = 2x2 + x3 + 2x4 + 1
POL( U92(x1, ..., x4) ) = 2x2 + x3 + 2x4 + 1
POL( U93(x1, ..., x4) ) = 2x2 + x3 + 2x4 + 1
POL( cons(x1, x2) ) = 2x1 + x2
POL( isNat(x1) ) = 1
POL( isNatList(x1) ) = max{0, -2}
POL( isNatIList(x1) ) = 1
POL( U11(x1) ) = 1
POL( U21(x1) ) = 0
POL( U31(x1) ) = max{0, x1 - 2}
POL( U42(x1) ) = max{0, -2}
POL( U52(x1) ) = max{0, -2}
POL( U62(x1) ) = max{0, 2x1 - 2}
POL( n__take(x1, x2) ) = x1 + 2x2 + 1
POL( length(x1) ) = 2x1
POL( s(x1) ) = x1
POL( activate(x1) ) = x1
POL( n__zeros ) = 0
POL( zeros ) = 0
POL( take(x1, x2) ) = x1 + 2x2 + 1
POL( n__0 ) = 0
POL( 0 ) = 0
POL( n__length(x1) ) = 2x1
POL( n__s(x1) ) = x1
POL( n__cons(x1, x2) ) = 2x1 + x2
POL( n__nil ) = 0
POL( nil ) = 0
POL( tt ) = 0
POL( U81(x1) ) = max{0, -2}
POL( ACTIVATE(x1) ) = x1 + 2
POL( TAKE(x1, x2) ) = x1 + 2x2 + 2
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__nil) → nil
activate(X) → X
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatList(activate(V1)))
isNat(n__s(V1)) → U21(isNat(activate(V1)))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(isNat(activate(V1)), activate(V2))
isNatList(n__take(V1, V2)) → U61(isNat(activate(V1)), activate(V2))
isNatIList(V) → U31(isNatList(activate(V)))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → U41(isNat(activate(V1)), activate(V2))
take(X1, X2) → n__take(X1, X2)
take(0, IL) → U81(isNatIList(IL))
U81(tt) → nil
U31(tt) → tt
length(nil) → 0
length(X) → n__length(X)
length(cons(N, L)) → U71(isNatList(activate(L)), activate(L), N)
U11(tt) → tt
U21(tt) → tt
U61(tt, V2) → U62(isNatIList(activate(V2)))
U62(tt) → tt
U41(tt, V2) → U42(isNatIList(activate(V2)))
U42(tt) → tt
U51(tt, V2) → U52(isNatList(activate(V2)))
U52(tt) → tt
U71(tt, L, N) → U72(isNat(activate(N)), activate(L))
U72(tt, L) → s(length(activate(L)))
s(X) → n__s(X)
take(s(M), cons(N, IL)) → U91(isNatIList(activate(IL)), activate(IL), M, N)
U91(tt, IL, M, N) → U92(isNat(activate(M)), activate(IL), activate(M), activate(N))
U92(tt, IL, M, N) → U93(isNat(activate(N)), activate(IL), activate(M), activate(N))
U93(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
cons(X1, X2) → n__cons(X1, X2)
zeros → cons(0, n__zeros)
zeros → n__zeros
0 → n__0
nil → n__nil
TAKE(0, IL) → ISNATILIST(IL)
ISNATILIST(V) → ISNATLIST(activate(V))
ISNATLIST(n__cons(V1, V2)) → U511(isNat(activate(V1)), activate(V2))
U511(tt, V2) → ISNATLIST(activate(V2))
ISNATLIST(n__cons(V1, V2)) → ISNAT(activate(V1))
ISNAT(n__length(V1)) → ISNATLIST(activate(V1))
ISNATLIST(n__cons(V1, V2)) → ACTIVATE(V1)
ACTIVATE(n__length(X)) → LENGTH(X)
LENGTH(cons(N, L)) → U711(isNatList(activate(L)), activate(L), N)
U711(tt, L, N) → U721(isNat(activate(N)), activate(L))
U721(tt, L) → LENGTH(activate(L))
LENGTH(cons(N, L)) → ISNATLIST(activate(L))
ISNATLIST(n__cons(V1, V2)) → ACTIVATE(V2)
U611(tt, V2) → ISNATILIST(activate(V2))
ISNATILIST(V) → ACTIVATE(V)
ISNATILIST(n__cons(V1, V2)) → U411(isNat(activate(V1)), activate(V2))
U411(tt, V2) → ISNATILIST(activate(V2))
ISNATILIST(n__cons(V1, V2)) → ISNAT(activate(V1))
ISNAT(n__length(V1)) → ACTIVATE(V1)
ISNAT(n__s(V1)) → ISNAT(activate(V1))
ISNAT(n__s(V1)) → ACTIVATE(V1)
ISNATILIST(n__cons(V1, V2)) → ACTIVATE(V1)
ISNATILIST(n__cons(V1, V2)) → ACTIVATE(V2)
U411(tt, V2) → ACTIVATE(V2)
U611(tt, V2) → ACTIVATE(V2)
LENGTH(cons(N, L)) → ACTIVATE(L)
U721(tt, L) → ACTIVATE(L)
U711(tt, L, N) → ISNAT(activate(N))
U711(tt, L, N) → ACTIVATE(N)
U711(tt, L, N) → ACTIVATE(L)
U511(tt, V2) → ACTIVATE(V2)
TAKE(s(M), cons(N, IL)) → U911(isNatIList(activate(IL)), activate(IL), M, N)
U911(tt, IL, M, N) → U921(isNat(activate(M)), activate(IL), activate(M), activate(N))
U921(tt, IL, M, N) → U931(isNat(activate(N)), activate(IL), activate(M), activate(N))
U931(tt, IL, M, N) → ACTIVATE(N)
U931(tt, IL, M, N) → ACTIVATE(M)
U931(tt, IL, M, N) → ACTIVATE(IL)
U921(tt, IL, M, N) → ISNAT(activate(N))
U921(tt, IL, M, N) → ACTIVATE(N)
U921(tt, IL, M, N) → ACTIVATE(IL)
U921(tt, IL, M, N) → ACTIVATE(M)
U911(tt, IL, M, N) → ISNAT(activate(M))
U911(tt, IL, M, N) → ACTIVATE(M)
U911(tt, IL, M, N) → ACTIVATE(IL)
U911(tt, IL, M, N) → ACTIVATE(N)
TAKE(s(M), cons(N, IL)) → ISNATILIST(activate(IL))
TAKE(s(M), cons(N, IL)) → ACTIVATE(IL)
zeros → cons(0, n__zeros)
U11(tt) → tt
U21(tt) → tt
U31(tt) → tt
U41(tt, V2) → U42(isNatIList(activate(V2)))
U42(tt) → tt
U51(tt, V2) → U52(isNatList(activate(V2)))
U52(tt) → tt
U61(tt, V2) → U62(isNatIList(activate(V2)))
U62(tt) → tt
U71(tt, L, N) → U72(isNat(activate(N)), activate(L))
U72(tt, L) → s(length(activate(L)))
U81(tt) → nil
U91(tt, IL, M, N) → U92(isNat(activate(M)), activate(IL), activate(M), activate(N))
U92(tt, IL, M, N) → U93(isNat(activate(N)), activate(IL), activate(M), activate(N))
U93(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatList(activate(V1)))
isNat(n__s(V1)) → U21(isNat(activate(V1)))
isNatIList(V) → U31(isNatList(activate(V)))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → U41(isNat(activate(V1)), activate(V2))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(isNat(activate(V1)), activate(V2))
isNatList(n__take(V1, V2)) → U61(isNat(activate(V1)), activate(V2))
length(nil) → 0
length(cons(N, L)) → U71(isNatList(activate(L)), activate(L), N)
take(0, IL) → U81(isNatIList(IL))
take(s(M), cons(N, IL)) → U91(isNatIList(activate(IL)), activate(IL), M, N)
zeros → n__zeros
take(X1, X2) → n__take(X1, X2)
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
nil → n__nil
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__nil) → nil
activate(X) → X
U511(tt, V2) → ISNATLIST(activate(V2))
ISNATLIST(n__cons(V1, V2)) → U511(isNat(activate(V1)), activate(V2))
U511(tt, V2) → ACTIVATE(V2)
ACTIVATE(n__length(X)) → LENGTH(X)
LENGTH(cons(N, L)) → U711(isNatList(activate(L)), activate(L), N)
U711(tt, L, N) → U721(isNat(activate(N)), activate(L))
U721(tt, L) → LENGTH(activate(L))
LENGTH(cons(N, L)) → ISNATLIST(activate(L))
ISNATLIST(n__cons(V1, V2)) → ISNAT(activate(V1))
ISNAT(n__length(V1)) → ISNATLIST(activate(V1))
ISNATLIST(n__cons(V1, V2)) → ACTIVATE(V1)
ISNATLIST(n__cons(V1, V2)) → ACTIVATE(V2)
ISNAT(n__length(V1)) → ACTIVATE(V1)
ISNAT(n__s(V1)) → ISNAT(activate(V1))
ISNAT(n__s(V1)) → ACTIVATE(V1)
LENGTH(cons(N, L)) → ACTIVATE(L)
U721(tt, L) → ACTIVATE(L)
U711(tt, L, N) → ISNAT(activate(N))
U711(tt, L, N) → ACTIVATE(N)
U711(tt, L, N) → ACTIVATE(L)
zeros → cons(0, n__zeros)
U11(tt) → tt
U21(tt) → tt
U31(tt) → tt
U41(tt, V2) → U42(isNatIList(activate(V2)))
U42(tt) → tt
U51(tt, V2) → U52(isNatList(activate(V2)))
U52(tt) → tt
U61(tt, V2) → U62(isNatIList(activate(V2)))
U62(tt) → tt
U71(tt, L, N) → U72(isNat(activate(N)), activate(L))
U72(tt, L) → s(length(activate(L)))
U81(tt) → nil
U91(tt, IL, M, N) → U92(isNat(activate(M)), activate(IL), activate(M), activate(N))
U92(tt, IL, M, N) → U93(isNat(activate(N)), activate(IL), activate(M), activate(N))
U93(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatList(activate(V1)))
isNat(n__s(V1)) → U21(isNat(activate(V1)))
isNatIList(V) → U31(isNatList(activate(V)))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → U41(isNat(activate(V1)), activate(V2))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(isNat(activate(V1)), activate(V2))
isNatList(n__take(V1, V2)) → U61(isNat(activate(V1)), activate(V2))
length(nil) → 0
length(cons(N, L)) → U71(isNatList(activate(L)), activate(L), N)
take(0, IL) → U81(isNatIList(IL))
take(s(M), cons(N, IL)) → U91(isNatIList(activate(IL)), activate(IL), M, N)
zeros → n__zeros
take(X1, X2) → n__take(X1, X2)
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
nil → n__nil
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__nil) → nil
activate(X) → X
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
U511(tt, V2) → ACTIVATE(V2)
ISNAT(n__length(V1)) → ISNATLIST(activate(V1))
ISNATLIST(n__cons(V1, V2)) → ACTIVATE(V1)
ISNATLIST(n__cons(V1, V2)) → ACTIVATE(V2)
ISNAT(n__length(V1)) → ACTIVATE(V1)
ISNAT(n__s(V1)) → ACTIVATE(V1)
LENGTH(cons(N, L)) → ACTIVATE(L)
U721(tt, L) → ACTIVATE(L)
U711(tt, L, N) → ACTIVATE(N)
U711(tt, L, N) → ACTIVATE(L)
POL( ISNAT(x1) ) = 2x1 + 1
POL( ISNATLIST(x1) ) = 2x1 + 1
POL( LENGTH(x1) ) = 2x1 + 1
POL( U511(x1, x2) ) = 2x2 + 1
POL( U711(x1, ..., x3) ) = 2x2 + 2x3 + 1
POL( U721(x1, x2) ) = 2x2 + 1
POL( U41(x1, x2) ) = max{0, -1}
POL( U51(x1, x2) ) = 2x2 + 1
POL( U61(x1, x2) ) = 2
POL( U71(x1, ..., x3) ) = 2x2 + 1
POL( U72(x1, x2) ) = 2x2 + 1
POL( U91(x1, ..., x4) ) = 2x2 + 2x3 + 2x4 + 1
POL( U92(x1, ..., x4) ) = 2x2 + 2x3 + 2x4 + 1
POL( U93(x1, ..., x4) ) = 2x2 + 2x3 + 2x4 + 1
POL( cons(x1, x2) ) = x1 + x2
POL( isNat(x1) ) = x1
POL( isNatList(x1) ) = 2x1 + 1
POL( U11(x1) ) = max{0, -2}
POL( U21(x1) ) = x1
POL( U31(x1) ) = 0
POL( U42(x1) ) = max{0, x1 - 2}
POL( isNatIList(x1) ) = max{0, -2}
POL( U52(x1) ) = max{0, x1 - 2}
POL( U62(x1) ) = max{0, -2}
POL( n__take(x1, x2) ) = 2x1 + 2x2 + 1
POL( length(x1) ) = 2x1 + 1
POL( s(x1) ) = x1
POL( activate(x1) ) = x1
POL( n__zeros ) = 0
POL( zeros ) = 0
POL( take(x1, x2) ) = 2x1 + 2x2 + 1
POL( n__0 ) = 0
POL( 0 ) = 0
POL( n__length(x1) ) = 2x1 + 1
POL( n__s(x1) ) = x1
POL( n__cons(x1, x2) ) = x1 + x2
POL( n__nil ) = 0
POL( nil ) = 0
POL( tt ) = 0
POL( U81(x1) ) = max{0, -2}
POL( ACTIVATE(x1) ) = max{0, 2x1 - 1}
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__nil) → nil
activate(X) → X
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatList(activate(V1)))
isNat(n__s(V1)) → U21(isNat(activate(V1)))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(isNat(activate(V1)), activate(V2))
isNatList(n__take(V1, V2)) → U61(isNat(activate(V1)), activate(V2))
take(X1, X2) → n__take(X1, X2)
take(0, IL) → U81(isNatIList(IL))
isNatIList(n__zeros) → tt
U81(tt) → nil
isNatIList(V) → U31(isNatList(activate(V)))
U31(tt) → tt
length(nil) → 0
length(X) → n__length(X)
length(cons(N, L)) → U71(isNatList(activate(L)), activate(L), N)
U11(tt) → tt
U21(tt) → tt
U61(tt, V2) → U62(isNatIList(activate(V2)))
U62(tt) → tt
isNatIList(n__cons(V1, V2)) → U41(isNat(activate(V1)), activate(V2))
U41(tt, V2) → U42(isNatIList(activate(V2)))
U42(tt) → tt
U51(tt, V2) → U52(isNatList(activate(V2)))
U52(tt) → tt
U71(tt, L, N) → U72(isNat(activate(N)), activate(L))
U72(tt, L) → s(length(activate(L)))
s(X) → n__s(X)
take(s(M), cons(N, IL)) → U91(isNatIList(activate(IL)), activate(IL), M, N)
U91(tt, IL, M, N) → U92(isNat(activate(M)), activate(IL), activate(M), activate(N))
U92(tt, IL, M, N) → U93(isNat(activate(N)), activate(IL), activate(M), activate(N))
U93(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
cons(X1, X2) → n__cons(X1, X2)
zeros → cons(0, n__zeros)
zeros → n__zeros
0 → n__0
nil → n__nil
U511(tt, V2) → ISNATLIST(activate(V2))
ISNATLIST(n__cons(V1, V2)) → U511(isNat(activate(V1)), activate(V2))
ACTIVATE(n__length(X)) → LENGTH(X)
LENGTH(cons(N, L)) → U711(isNatList(activate(L)), activate(L), N)
U711(tt, L, N) → U721(isNat(activate(N)), activate(L))
U721(tt, L) → LENGTH(activate(L))
LENGTH(cons(N, L)) → ISNATLIST(activate(L))
ISNATLIST(n__cons(V1, V2)) → ISNAT(activate(V1))
ISNAT(n__s(V1)) → ISNAT(activate(V1))
U711(tt, L, N) → ISNAT(activate(N))
zeros → cons(0, n__zeros)
U11(tt) → tt
U21(tt) → tt
U31(tt) → tt
U41(tt, V2) → U42(isNatIList(activate(V2)))
U42(tt) → tt
U51(tt, V2) → U52(isNatList(activate(V2)))
U52(tt) → tt
U61(tt, V2) → U62(isNatIList(activate(V2)))
U62(tt) → tt
U71(tt, L, N) → U72(isNat(activate(N)), activate(L))
U72(tt, L) → s(length(activate(L)))
U81(tt) → nil
U91(tt, IL, M, N) → U92(isNat(activate(M)), activate(IL), activate(M), activate(N))
U92(tt, IL, M, N) → U93(isNat(activate(N)), activate(IL), activate(M), activate(N))
U93(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatList(activate(V1)))
isNat(n__s(V1)) → U21(isNat(activate(V1)))
isNatIList(V) → U31(isNatList(activate(V)))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → U41(isNat(activate(V1)), activate(V2))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(isNat(activate(V1)), activate(V2))
isNatList(n__take(V1, V2)) → U61(isNat(activate(V1)), activate(V2))
length(nil) → 0
length(cons(N, L)) → U71(isNatList(activate(L)), activate(L), N)
take(0, IL) → U81(isNatIList(IL))
take(s(M), cons(N, IL)) → U91(isNatIList(activate(IL)), activate(IL), M, N)
zeros → n__zeros
take(X1, X2) → n__take(X1, X2)
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
nil → n__nil
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__nil) → nil
activate(X) → X
ISNAT(n__s(V1)) → ISNAT(activate(V1))
zeros → cons(0, n__zeros)
U11(tt) → tt
U21(tt) → tt
U31(tt) → tt
U41(tt, V2) → U42(isNatIList(activate(V2)))
U42(tt) → tt
U51(tt, V2) → U52(isNatList(activate(V2)))
U52(tt) → tt
U61(tt, V2) → U62(isNatIList(activate(V2)))
U62(tt) → tt
U71(tt, L, N) → U72(isNat(activate(N)), activate(L))
U72(tt, L) → s(length(activate(L)))
U81(tt) → nil
U91(tt, IL, M, N) → U92(isNat(activate(M)), activate(IL), activate(M), activate(N))
U92(tt, IL, M, N) → U93(isNat(activate(N)), activate(IL), activate(M), activate(N))
U93(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatList(activate(V1)))
isNat(n__s(V1)) → U21(isNat(activate(V1)))
isNatIList(V) → U31(isNatList(activate(V)))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → U41(isNat(activate(V1)), activate(V2))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(isNat(activate(V1)), activate(V2))
isNatList(n__take(V1, V2)) → U61(isNat(activate(V1)), activate(V2))
length(nil) → 0
length(cons(N, L)) → U71(isNatList(activate(L)), activate(L), N)
take(0, IL) → U81(isNatIList(IL))
take(s(M), cons(N, IL)) → U91(isNatIList(activate(IL)), activate(IL), M, N)
zeros → n__zeros
take(X1, X2) → n__take(X1, X2)
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
nil → n__nil
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__nil) → nil
activate(X) → X
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
ISNAT(n__s(V1)) → ISNAT(activate(V1))
POL(ISNAT(x1)) = -I + 2A · x1
POL(n__s(x1)) = 2A + 1A · x1
POL(activate(x1)) = 1A + 0A · x1
POL(n__zeros) = 0A
POL(zeros) = 1A
POL(n__take(x1, x2)) = -I + 0A · x1 + 0A · x2
POL(take(x1, x2)) = 1A + 0A · x1 + 0A · x2
POL(n__0) = 2A
POL(0) = 2A
POL(n__length(x1)) = 2A + 0A · x1
POL(length(x1)) = 2A + 0A · x1
POL(s(x1)) = 2A + 1A · x1
POL(n__cons(x1, x2)) = -I + -I · x1 + 1A · x2
POL(cons(x1, x2)) = -I + -I · x1 + 1A · x2
POL(n__nil) = 2A
POL(nil) = 2A
POL(U81(x1)) = 2A + -I · x1
POL(isNatIList(x1)) = 2A + 0A · x1
POL(tt) = 2A
POL(U31(x1)) = -I + 0A · x1
POL(isNatList(x1)) = 1A + 0A · x1
POL(U71(x1, x2, x3)) = -I + 1A · x1 + 1A · x2 + -I · x3
POL(U51(x1, x2)) = 1A + -I · x1 + 0A · x2
POL(isNat(x1)) = -I + 0A · x1
POL(U11(x1)) = 2A + 0A · x1
POL(U61(x1, x2)) = -I + 0A · x1 + 0A · x2
POL(U21(x1)) = 2A + -I · x1
POL(U62(x1)) = 0A + 0A · x1
POL(U41(x1, x2)) = 2A + -I · x1 + 0A · x2
POL(U42(x1)) = 0A + 0A · x1
POL(U52(x1)) = 0A + 0A · x1
POL(U72(x1, x2)) = 3A + -I · x1 + 1A · x2
POL(U91(x1, x2, x3, x4)) = 0A + 0A · x1 + 1A · x2 + 1A · x3 + -I · x4
POL(U92(x1, x2, x3, x4)) = 2A + -I · x1 + 1A · x2 + 1A · x3 + -I · x4
POL(U93(x1, x2, x3, x4)) = 2A + -I · x1 + 1A · x2 + 1A · x3 + -I · x4
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__nil) → nil
activate(X) → X
take(X1, X2) → n__take(X1, X2)
take(0, IL) → U81(isNatIList(IL))
isNatIList(n__zeros) → tt
U81(tt) → nil
isNatIList(V) → U31(isNatList(activate(V)))
isNatList(n__nil) → tt
U31(tt) → tt
length(nil) → 0
length(X) → n__length(X)
length(cons(N, L)) → U71(isNatList(activate(L)), activate(L), N)
isNatList(n__cons(V1, V2)) → U51(isNat(activate(V1)), activate(V2))
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatList(activate(V1)))
U11(tt) → tt
isNatList(n__take(V1, V2)) → U61(isNat(activate(V1)), activate(V2))
isNat(n__s(V1)) → U21(isNat(activate(V1)))
U21(tt) → tt
U61(tt, V2) → U62(isNatIList(activate(V2)))
U62(tt) → tt
isNatIList(n__cons(V1, V2)) → U41(isNat(activate(V1)), activate(V2))
U41(tt, V2) → U42(isNatIList(activate(V2)))
U42(tt) → tt
U51(tt, V2) → U52(isNatList(activate(V2)))
U52(tt) → tt
U71(tt, L, N) → U72(isNat(activate(N)), activate(L))
U72(tt, L) → s(length(activate(L)))
s(X) → n__s(X)
take(s(M), cons(N, IL)) → U91(isNatIList(activate(IL)), activate(IL), M, N)
U91(tt, IL, M, N) → U92(isNat(activate(M)), activate(IL), activate(M), activate(N))
U92(tt, IL, M, N) → U93(isNat(activate(N)), activate(IL), activate(M), activate(N))
U93(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
cons(X1, X2) → n__cons(X1, X2)
zeros → cons(0, n__zeros)
zeros → n__zeros
0 → n__0
nil → n__nil
zeros → cons(0, n__zeros)
U11(tt) → tt
U21(tt) → tt
U31(tt) → tt
U41(tt, V2) → U42(isNatIList(activate(V2)))
U42(tt) → tt
U51(tt, V2) → U52(isNatList(activate(V2)))
U52(tt) → tt
U61(tt, V2) → U62(isNatIList(activate(V2)))
U62(tt) → tt
U71(tt, L, N) → U72(isNat(activate(N)), activate(L))
U72(tt, L) → s(length(activate(L)))
U81(tt) → nil
U91(tt, IL, M, N) → U92(isNat(activate(M)), activate(IL), activate(M), activate(N))
U92(tt, IL, M, N) → U93(isNat(activate(N)), activate(IL), activate(M), activate(N))
U93(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatList(activate(V1)))
isNat(n__s(V1)) → U21(isNat(activate(V1)))
isNatIList(V) → U31(isNatList(activate(V)))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → U41(isNat(activate(V1)), activate(V2))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(isNat(activate(V1)), activate(V2))
isNatList(n__take(V1, V2)) → U61(isNat(activate(V1)), activate(V2))
length(nil) → 0
length(cons(N, L)) → U71(isNatList(activate(L)), activate(L), N)
take(0, IL) → U81(isNatIList(IL))
take(s(M), cons(N, IL)) → U91(isNatIList(activate(IL)), activate(IL), M, N)
zeros → n__zeros
take(X1, X2) → n__take(X1, X2)
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
nil → n__nil
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__nil) → nil
activate(X) → X
ISNATLIST(n__cons(V1, V2)) → U511(isNat(activate(V1)), activate(V2))
U511(tt, V2) → ISNATLIST(activate(V2))
zeros → cons(0, n__zeros)
U11(tt) → tt
U21(tt) → tt
U31(tt) → tt
U41(tt, V2) → U42(isNatIList(activate(V2)))
U42(tt) → tt
U51(tt, V2) → U52(isNatList(activate(V2)))
U52(tt) → tt
U61(tt, V2) → U62(isNatIList(activate(V2)))
U62(tt) → tt
U71(tt, L, N) → U72(isNat(activate(N)), activate(L))
U72(tt, L) → s(length(activate(L)))
U81(tt) → nil
U91(tt, IL, M, N) → U92(isNat(activate(M)), activate(IL), activate(M), activate(N))
U92(tt, IL, M, N) → U93(isNat(activate(N)), activate(IL), activate(M), activate(N))
U93(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatList(activate(V1)))
isNat(n__s(V1)) → U21(isNat(activate(V1)))
isNatIList(V) → U31(isNatList(activate(V)))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → U41(isNat(activate(V1)), activate(V2))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(isNat(activate(V1)), activate(V2))
isNatList(n__take(V1, V2)) → U61(isNat(activate(V1)), activate(V2))
length(nil) → 0
length(cons(N, L)) → U71(isNatList(activate(L)), activate(L), N)
take(0, IL) → U81(isNatIList(IL))
take(s(M), cons(N, IL)) → U91(isNatIList(activate(IL)), activate(IL), M, N)
zeros → n__zeros
take(X1, X2) → n__take(X1, X2)
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
nil → n__nil
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__nil) → nil
activate(X) → X
ISNATLIST(n__cons(n__zeros, y1)) → U511(isNat(zeros), activate(y1))
ISNATLIST(n__cons(n__take(x0, x1), y1)) → U511(isNat(take(x0, x1)), activate(y1))
ISNATLIST(n__cons(n__0, y1)) → U511(isNat(0), activate(y1))
ISNATLIST(n__cons(n__length(x0), y1)) → U511(isNat(length(x0)), activate(y1))
ISNATLIST(n__cons(n__s(x0), y1)) → U511(isNat(s(x0)), activate(y1))
ISNATLIST(n__cons(n__cons(x0, x1), y1)) → U511(isNat(cons(x0, x1)), activate(y1))
ISNATLIST(n__cons(n__nil, y1)) → U511(isNat(nil), activate(y1))
ISNATLIST(n__cons(x0, y1)) → U511(isNat(x0), activate(y1))
U511(tt, V2) → ISNATLIST(activate(V2))
ISNATLIST(n__cons(n__zeros, y1)) → U511(isNat(zeros), activate(y1))
ISNATLIST(n__cons(n__take(x0, x1), y1)) → U511(isNat(take(x0, x1)), activate(y1))
ISNATLIST(n__cons(n__0, y1)) → U511(isNat(0), activate(y1))
ISNATLIST(n__cons(n__length(x0), y1)) → U511(isNat(length(x0)), activate(y1))
ISNATLIST(n__cons(n__s(x0), y1)) → U511(isNat(s(x0)), activate(y1))
ISNATLIST(n__cons(n__cons(x0, x1), y1)) → U511(isNat(cons(x0, x1)), activate(y1))
ISNATLIST(n__cons(n__nil, y1)) → U511(isNat(nil), activate(y1))
ISNATLIST(n__cons(x0, y1)) → U511(isNat(x0), activate(y1))
zeros → cons(0, n__zeros)
U11(tt) → tt
U21(tt) → tt
U31(tt) → tt
U41(tt, V2) → U42(isNatIList(activate(V2)))
U42(tt) → tt
U51(tt, V2) → U52(isNatList(activate(V2)))
U52(tt) → tt
U61(tt, V2) → U62(isNatIList(activate(V2)))
U62(tt) → tt
U71(tt, L, N) → U72(isNat(activate(N)), activate(L))
U72(tt, L) → s(length(activate(L)))
U81(tt) → nil
U91(tt, IL, M, N) → U92(isNat(activate(M)), activate(IL), activate(M), activate(N))
U92(tt, IL, M, N) → U93(isNat(activate(N)), activate(IL), activate(M), activate(N))
U93(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatList(activate(V1)))
isNat(n__s(V1)) → U21(isNat(activate(V1)))
isNatIList(V) → U31(isNatList(activate(V)))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → U41(isNat(activate(V1)), activate(V2))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(isNat(activate(V1)), activate(V2))
isNatList(n__take(V1, V2)) → U61(isNat(activate(V1)), activate(V2))
length(nil) → 0
length(cons(N, L)) → U71(isNatList(activate(L)), activate(L), N)
take(0, IL) → U81(isNatIList(IL))
take(s(M), cons(N, IL)) → U91(isNatIList(activate(IL)), activate(IL), M, N)
zeros → n__zeros
take(X1, X2) → n__take(X1, X2)
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
nil → n__nil
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__nil) → nil
activate(X) → X
U511(tt, n__zeros) → ISNATLIST(zeros)
U511(tt, n__take(x0, x1)) → ISNATLIST(take(x0, x1))
U511(tt, n__0) → ISNATLIST(0)
U511(tt, n__length(x0)) → ISNATLIST(length(x0))
U511(tt, n__s(x0)) → ISNATLIST(s(x0))
U511(tt, n__cons(x0, x1)) → ISNATLIST(cons(x0, x1))
U511(tt, n__nil) → ISNATLIST(nil)
U511(tt, x0) → ISNATLIST(x0)
ISNATLIST(n__cons(n__zeros, y1)) → U511(isNat(zeros), activate(y1))
ISNATLIST(n__cons(n__take(x0, x1), y1)) → U511(isNat(take(x0, x1)), activate(y1))
ISNATLIST(n__cons(n__0, y1)) → U511(isNat(0), activate(y1))
ISNATLIST(n__cons(n__length(x0), y1)) → U511(isNat(length(x0)), activate(y1))
ISNATLIST(n__cons(n__s(x0), y1)) → U511(isNat(s(x0)), activate(y1))
ISNATLIST(n__cons(n__cons(x0, x1), y1)) → U511(isNat(cons(x0, x1)), activate(y1))
ISNATLIST(n__cons(n__nil, y1)) → U511(isNat(nil), activate(y1))
ISNATLIST(n__cons(x0, y1)) → U511(isNat(x0), activate(y1))
U511(tt, n__zeros) → ISNATLIST(zeros)
U511(tt, n__take(x0, x1)) → ISNATLIST(take(x0, x1))
U511(tt, n__0) → ISNATLIST(0)
U511(tt, n__length(x0)) → ISNATLIST(length(x0))
U511(tt, n__s(x0)) → ISNATLIST(s(x0))
U511(tt, n__cons(x0, x1)) → ISNATLIST(cons(x0, x1))
U511(tt, n__nil) → ISNATLIST(nil)
U511(tt, x0) → ISNATLIST(x0)
zeros → cons(0, n__zeros)
U11(tt) → tt
U21(tt) → tt
U31(tt) → tt
U41(tt, V2) → U42(isNatIList(activate(V2)))
U42(tt) → tt
U51(tt, V2) → U52(isNatList(activate(V2)))
U52(tt) → tt
U61(tt, V2) → U62(isNatIList(activate(V2)))
U62(tt) → tt
U71(tt, L, N) → U72(isNat(activate(N)), activate(L))
U72(tt, L) → s(length(activate(L)))
U81(tt) → nil
U91(tt, IL, M, N) → U92(isNat(activate(M)), activate(IL), activate(M), activate(N))
U92(tt, IL, M, N) → U93(isNat(activate(N)), activate(IL), activate(M), activate(N))
U93(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatList(activate(V1)))
isNat(n__s(V1)) → U21(isNat(activate(V1)))
isNatIList(V) → U31(isNatList(activate(V)))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → U41(isNat(activate(V1)), activate(V2))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(isNat(activate(V1)), activate(V2))
isNatList(n__take(V1, V2)) → U61(isNat(activate(V1)), activate(V2))
length(nil) → 0
length(cons(N, L)) → U71(isNatList(activate(L)), activate(L), N)
take(0, IL) → U81(isNatIList(IL))
take(s(M), cons(N, IL)) → U91(isNatIList(activate(IL)), activate(IL), M, N)
zeros → n__zeros
take(X1, X2) → n__take(X1, X2)
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
nil → n__nil
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__nil) → nil
activate(X) → X
ISNATLIST(n__cons(n__zeros, y0)) → U511(isNat(cons(0, n__zeros)), activate(y0))
ISNATLIST(n__cons(n__zeros, y0)) → U511(isNat(n__zeros), activate(y0))
ISNATLIST(n__cons(n__take(x0, x1), y1)) → U511(isNat(take(x0, x1)), activate(y1))
ISNATLIST(n__cons(n__0, y1)) → U511(isNat(0), activate(y1))
ISNATLIST(n__cons(n__length(x0), y1)) → U511(isNat(length(x0)), activate(y1))
ISNATLIST(n__cons(n__s(x0), y1)) → U511(isNat(s(x0)), activate(y1))
ISNATLIST(n__cons(n__cons(x0, x1), y1)) → U511(isNat(cons(x0, x1)), activate(y1))
ISNATLIST(n__cons(n__nil, y1)) → U511(isNat(nil), activate(y1))
ISNATLIST(n__cons(x0, y1)) → U511(isNat(x0), activate(y1))
U511(tt, n__zeros) → ISNATLIST(zeros)
U511(tt, n__take(x0, x1)) → ISNATLIST(take(x0, x1))
U511(tt, n__0) → ISNATLIST(0)
U511(tt, n__length(x0)) → ISNATLIST(length(x0))
U511(tt, n__s(x0)) → ISNATLIST(s(x0))
U511(tt, n__cons(x0, x1)) → ISNATLIST(cons(x0, x1))
U511(tt, n__nil) → ISNATLIST(nil)
U511(tt, x0) → ISNATLIST(x0)
ISNATLIST(n__cons(n__zeros, y0)) → U511(isNat(cons(0, n__zeros)), activate(y0))
ISNATLIST(n__cons(n__zeros, y0)) → U511(isNat(n__zeros), activate(y0))
zeros → cons(0, n__zeros)
U11(tt) → tt
U21(tt) → tt
U31(tt) → tt
U41(tt, V2) → U42(isNatIList(activate(V2)))
U42(tt) → tt
U51(tt, V2) → U52(isNatList(activate(V2)))
U52(tt) → tt
U61(tt, V2) → U62(isNatIList(activate(V2)))
U62(tt) → tt
U71(tt, L, N) → U72(isNat(activate(N)), activate(L))
U72(tt, L) → s(length(activate(L)))
U81(tt) → nil
U91(tt, IL, M, N) → U92(isNat(activate(M)), activate(IL), activate(M), activate(N))
U92(tt, IL, M, N) → U93(isNat(activate(N)), activate(IL), activate(M), activate(N))
U93(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatList(activate(V1)))
isNat(n__s(V1)) → U21(isNat(activate(V1)))
isNatIList(V) → U31(isNatList(activate(V)))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → U41(isNat(activate(V1)), activate(V2))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(isNat(activate(V1)), activate(V2))
isNatList(n__take(V1, V2)) → U61(isNat(activate(V1)), activate(V2))
length(nil) → 0
length(cons(N, L)) → U71(isNatList(activate(L)), activate(L), N)
take(0, IL) → U81(isNatIList(IL))
take(s(M), cons(N, IL)) → U91(isNatIList(activate(IL)), activate(IL), M, N)
zeros → n__zeros
take(X1, X2) → n__take(X1, X2)
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
nil → n__nil
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__nil) → nil
activate(X) → X
U511(tt, n__zeros) → ISNATLIST(zeros)
ISNATLIST(n__cons(n__take(x0, x1), y1)) → U511(isNat(take(x0, x1)), activate(y1))
U511(tt, n__take(x0, x1)) → ISNATLIST(take(x0, x1))
ISNATLIST(n__cons(n__0, y1)) → U511(isNat(0), activate(y1))
U511(tt, n__0) → ISNATLIST(0)
ISNATLIST(n__cons(n__length(x0), y1)) → U511(isNat(length(x0)), activate(y1))
U511(tt, n__length(x0)) → ISNATLIST(length(x0))
ISNATLIST(n__cons(n__s(x0), y1)) → U511(isNat(s(x0)), activate(y1))
U511(tt, n__s(x0)) → ISNATLIST(s(x0))
ISNATLIST(n__cons(n__cons(x0, x1), y1)) → U511(isNat(cons(x0, x1)), activate(y1))
U511(tt, n__cons(x0, x1)) → ISNATLIST(cons(x0, x1))
ISNATLIST(n__cons(n__nil, y1)) → U511(isNat(nil), activate(y1))
U511(tt, n__nil) → ISNATLIST(nil)
ISNATLIST(n__cons(x0, y1)) → U511(isNat(x0), activate(y1))
U511(tt, x0) → ISNATLIST(x0)
ISNATLIST(n__cons(n__zeros, y0)) → U511(isNat(cons(0, n__zeros)), activate(y0))
zeros → cons(0, n__zeros)
U11(tt) → tt
U21(tt) → tt
U31(tt) → tt
U41(tt, V2) → U42(isNatIList(activate(V2)))
U42(tt) → tt
U51(tt, V2) → U52(isNatList(activate(V2)))
U52(tt) → tt
U61(tt, V2) → U62(isNatIList(activate(V2)))
U62(tt) → tt
U71(tt, L, N) → U72(isNat(activate(N)), activate(L))
U72(tt, L) → s(length(activate(L)))
U81(tt) → nil
U91(tt, IL, M, N) → U92(isNat(activate(M)), activate(IL), activate(M), activate(N))
U92(tt, IL, M, N) → U93(isNat(activate(N)), activate(IL), activate(M), activate(N))
U93(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatList(activate(V1)))
isNat(n__s(V1)) → U21(isNat(activate(V1)))
isNatIList(V) → U31(isNatList(activate(V)))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → U41(isNat(activate(V1)), activate(V2))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(isNat(activate(V1)), activate(V2))
isNatList(n__take(V1, V2)) → U61(isNat(activate(V1)), activate(V2))
length(nil) → 0
length(cons(N, L)) → U71(isNatList(activate(L)), activate(L), N)
take(0, IL) → U81(isNatIList(IL))
take(s(M), cons(N, IL)) → U91(isNatIList(activate(IL)), activate(IL), M, N)
zeros → n__zeros
take(X1, X2) → n__take(X1, X2)
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
nil → n__nil
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__nil) → nil
activate(X) → X
U511(tt, n__zeros) → ISNATLIST(cons(0, n__zeros))
U511(tt, n__zeros) → ISNATLIST(n__zeros)
ISNATLIST(n__cons(n__take(x0, x1), y1)) → U511(isNat(take(x0, x1)), activate(y1))
U511(tt, n__take(x0, x1)) → ISNATLIST(take(x0, x1))
ISNATLIST(n__cons(n__0, y1)) → U511(isNat(0), activate(y1))
U511(tt, n__0) → ISNATLIST(0)
ISNATLIST(n__cons(n__length(x0), y1)) → U511(isNat(length(x0)), activate(y1))
U511(tt, n__length(x0)) → ISNATLIST(length(x0))
ISNATLIST(n__cons(n__s(x0), y1)) → U511(isNat(s(x0)), activate(y1))
U511(tt, n__s(x0)) → ISNATLIST(s(x0))
ISNATLIST(n__cons(n__cons(x0, x1), y1)) → U511(isNat(cons(x0, x1)), activate(y1))
U511(tt, n__cons(x0, x1)) → ISNATLIST(cons(x0, x1))
ISNATLIST(n__cons(n__nil, y1)) → U511(isNat(nil), activate(y1))
U511(tt, n__nil) → ISNATLIST(nil)
ISNATLIST(n__cons(x0, y1)) → U511(isNat(x0), activate(y1))
U511(tt, x0) → ISNATLIST(x0)
ISNATLIST(n__cons(n__zeros, y0)) → U511(isNat(cons(0, n__zeros)), activate(y0))
U511(tt, n__zeros) → ISNATLIST(cons(0, n__zeros))
U511(tt, n__zeros) → ISNATLIST(n__zeros)
zeros → cons(0, n__zeros)
U11(tt) → tt
U21(tt) → tt
U31(tt) → tt
U41(tt, V2) → U42(isNatIList(activate(V2)))
U42(tt) → tt
U51(tt, V2) → U52(isNatList(activate(V2)))
U52(tt) → tt
U61(tt, V2) → U62(isNatIList(activate(V2)))
U62(tt) → tt
U71(tt, L, N) → U72(isNat(activate(N)), activate(L))
U72(tt, L) → s(length(activate(L)))
U81(tt) → nil
U91(tt, IL, M, N) → U92(isNat(activate(M)), activate(IL), activate(M), activate(N))
U92(tt, IL, M, N) → U93(isNat(activate(N)), activate(IL), activate(M), activate(N))
U93(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatList(activate(V1)))
isNat(n__s(V1)) → U21(isNat(activate(V1)))
isNatIList(V) → U31(isNatList(activate(V)))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → U41(isNat(activate(V1)), activate(V2))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(isNat(activate(V1)), activate(V2))
isNatList(n__take(V1, V2)) → U61(isNat(activate(V1)), activate(V2))
length(nil) → 0
length(cons(N, L)) → U71(isNatList(activate(L)), activate(L), N)
take(0, IL) → U81(isNatIList(IL))
take(s(M), cons(N, IL)) → U91(isNatIList(activate(IL)), activate(IL), M, N)
zeros → n__zeros
take(X1, X2) → n__take(X1, X2)
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
nil → n__nil
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__nil) → nil
activate(X) → X
U511(tt, n__take(x0, x1)) → ISNATLIST(take(x0, x1))
ISNATLIST(n__cons(n__take(x0, x1), y1)) → U511(isNat(take(x0, x1)), activate(y1))
U511(tt, n__0) → ISNATLIST(0)
ISNATLIST(n__cons(n__0, y1)) → U511(isNat(0), activate(y1))
U511(tt, n__length(x0)) → ISNATLIST(length(x0))
ISNATLIST(n__cons(n__length(x0), y1)) → U511(isNat(length(x0)), activate(y1))
U511(tt, n__s(x0)) → ISNATLIST(s(x0))
ISNATLIST(n__cons(n__s(x0), y1)) → U511(isNat(s(x0)), activate(y1))
U511(tt, n__cons(x0, x1)) → ISNATLIST(cons(x0, x1))
ISNATLIST(n__cons(n__cons(x0, x1), y1)) → U511(isNat(cons(x0, x1)), activate(y1))
U511(tt, n__nil) → ISNATLIST(nil)
ISNATLIST(n__cons(n__nil, y1)) → U511(isNat(nil), activate(y1))
U511(tt, x0) → ISNATLIST(x0)
ISNATLIST(n__cons(x0, y1)) → U511(isNat(x0), activate(y1))
U511(tt, n__zeros) → ISNATLIST(cons(0, n__zeros))
ISNATLIST(n__cons(n__zeros, y0)) → U511(isNat(cons(0, n__zeros)), activate(y0))
zeros → cons(0, n__zeros)
U11(tt) → tt
U21(tt) → tt
U31(tt) → tt
U41(tt, V2) → U42(isNatIList(activate(V2)))
U42(tt) → tt
U51(tt, V2) → U52(isNatList(activate(V2)))
U52(tt) → tt
U61(tt, V2) → U62(isNatIList(activate(V2)))
U62(tt) → tt
U71(tt, L, N) → U72(isNat(activate(N)), activate(L))
U72(tt, L) → s(length(activate(L)))
U81(tt) → nil
U91(tt, IL, M, N) → U92(isNat(activate(M)), activate(IL), activate(M), activate(N))
U92(tt, IL, M, N) → U93(isNat(activate(N)), activate(IL), activate(M), activate(N))
U93(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatList(activate(V1)))
isNat(n__s(V1)) → U21(isNat(activate(V1)))
isNatIList(V) → U31(isNatList(activate(V)))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → U41(isNat(activate(V1)), activate(V2))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(isNat(activate(V1)), activate(V2))
isNatList(n__take(V1, V2)) → U61(isNat(activate(V1)), activate(V2))
length(nil) → 0
length(cons(N, L)) → U71(isNatList(activate(L)), activate(L), N)
take(0, IL) → U81(isNatIList(IL))
take(s(M), cons(N, IL)) → U91(isNatIList(activate(IL)), activate(IL), M, N)
zeros → n__zeros
take(X1, X2) → n__take(X1, X2)
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
nil → n__nil
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__nil) → nil
activate(X) → X
U511(tt, n__0) → ISNATLIST(n__0)
U511(tt, n__take(x0, x1)) → ISNATLIST(take(x0, x1))
ISNATLIST(n__cons(n__take(x0, x1), y1)) → U511(isNat(take(x0, x1)), activate(y1))
ISNATLIST(n__cons(n__0, y1)) → U511(isNat(0), activate(y1))
U511(tt, n__length(x0)) → ISNATLIST(length(x0))
ISNATLIST(n__cons(n__length(x0), y1)) → U511(isNat(length(x0)), activate(y1))
U511(tt, n__s(x0)) → ISNATLIST(s(x0))
ISNATLIST(n__cons(n__s(x0), y1)) → U511(isNat(s(x0)), activate(y1))
U511(tt, n__cons(x0, x1)) → ISNATLIST(cons(x0, x1))
ISNATLIST(n__cons(n__cons(x0, x1), y1)) → U511(isNat(cons(x0, x1)), activate(y1))
U511(tt, n__nil) → ISNATLIST(nil)
ISNATLIST(n__cons(n__nil, y1)) → U511(isNat(nil), activate(y1))
U511(tt, x0) → ISNATLIST(x0)
ISNATLIST(n__cons(x0, y1)) → U511(isNat(x0), activate(y1))
U511(tt, n__zeros) → ISNATLIST(cons(0, n__zeros))
ISNATLIST(n__cons(n__zeros, y0)) → U511(isNat(cons(0, n__zeros)), activate(y0))
U511(tt, n__0) → ISNATLIST(n__0)
zeros → cons(0, n__zeros)
U11(tt) → tt
U21(tt) → tt
U31(tt) → tt
U41(tt, V2) → U42(isNatIList(activate(V2)))
U42(tt) → tt
U51(tt, V2) → U52(isNatList(activate(V2)))
U52(tt) → tt
U61(tt, V2) → U62(isNatIList(activate(V2)))
U62(tt) → tt
U71(tt, L, N) → U72(isNat(activate(N)), activate(L))
U72(tt, L) → s(length(activate(L)))
U81(tt) → nil
U91(tt, IL, M, N) → U92(isNat(activate(M)), activate(IL), activate(M), activate(N))
U92(tt, IL, M, N) → U93(isNat(activate(N)), activate(IL), activate(M), activate(N))
U93(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatList(activate(V1)))
isNat(n__s(V1)) → U21(isNat(activate(V1)))
isNatIList(V) → U31(isNatList(activate(V)))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → U41(isNat(activate(V1)), activate(V2))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(isNat(activate(V1)), activate(V2))
isNatList(n__take(V1, V2)) → U61(isNat(activate(V1)), activate(V2))
length(nil) → 0
length(cons(N, L)) → U71(isNatList(activate(L)), activate(L), N)
take(0, IL) → U81(isNatIList(IL))
take(s(M), cons(N, IL)) → U91(isNatIList(activate(IL)), activate(IL), M, N)
zeros → n__zeros
take(X1, X2) → n__take(X1, X2)
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
nil → n__nil
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__nil) → nil
activate(X) → X
ISNATLIST(n__cons(n__take(x0, x1), y1)) → U511(isNat(take(x0, x1)), activate(y1))
U511(tt, n__take(x0, x1)) → ISNATLIST(take(x0, x1))
ISNATLIST(n__cons(n__0, y1)) → U511(isNat(0), activate(y1))
U511(tt, n__length(x0)) → ISNATLIST(length(x0))
ISNATLIST(n__cons(n__length(x0), y1)) → U511(isNat(length(x0)), activate(y1))
U511(tt, n__s(x0)) → ISNATLIST(s(x0))
ISNATLIST(n__cons(n__s(x0), y1)) → U511(isNat(s(x0)), activate(y1))
U511(tt, n__cons(x0, x1)) → ISNATLIST(cons(x0, x1))
ISNATLIST(n__cons(n__cons(x0, x1), y1)) → U511(isNat(cons(x0, x1)), activate(y1))
U511(tt, n__nil) → ISNATLIST(nil)
ISNATLIST(n__cons(n__nil, y1)) → U511(isNat(nil), activate(y1))
U511(tt, x0) → ISNATLIST(x0)
ISNATLIST(n__cons(x0, y1)) → U511(isNat(x0), activate(y1))
U511(tt, n__zeros) → ISNATLIST(cons(0, n__zeros))
ISNATLIST(n__cons(n__zeros, y0)) → U511(isNat(cons(0, n__zeros)), activate(y0))
zeros → cons(0, n__zeros)
U11(tt) → tt
U21(tt) → tt
U31(tt) → tt
U41(tt, V2) → U42(isNatIList(activate(V2)))
U42(tt) → tt
U51(tt, V2) → U52(isNatList(activate(V2)))
U52(tt) → tt
U61(tt, V2) → U62(isNatIList(activate(V2)))
U62(tt) → tt
U71(tt, L, N) → U72(isNat(activate(N)), activate(L))
U72(tt, L) → s(length(activate(L)))
U81(tt) → nil
U91(tt, IL, M, N) → U92(isNat(activate(M)), activate(IL), activate(M), activate(N))
U92(tt, IL, M, N) → U93(isNat(activate(N)), activate(IL), activate(M), activate(N))
U93(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatList(activate(V1)))
isNat(n__s(V1)) → U21(isNat(activate(V1)))
isNatIList(V) → U31(isNatList(activate(V)))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → U41(isNat(activate(V1)), activate(V2))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(isNat(activate(V1)), activate(V2))
isNatList(n__take(V1, V2)) → U61(isNat(activate(V1)), activate(V2))
length(nil) → 0
length(cons(N, L)) → U71(isNatList(activate(L)), activate(L), N)
take(0, IL) → U81(isNatIList(IL))
take(s(M), cons(N, IL)) → U91(isNatIList(activate(IL)), activate(IL), M, N)
zeros → n__zeros
take(X1, X2) → n__take(X1, X2)
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
nil → n__nil
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__nil) → nil
activate(X) → X
ISNATLIST(n__cons(n__0, y0)) → U511(isNat(n__0), activate(y0))
ISNATLIST(n__cons(n__take(x0, x1), y1)) → U511(isNat(take(x0, x1)), activate(y1))
U511(tt, n__take(x0, x1)) → ISNATLIST(take(x0, x1))
U511(tt, n__length(x0)) → ISNATLIST(length(x0))
ISNATLIST(n__cons(n__length(x0), y1)) → U511(isNat(length(x0)), activate(y1))
U511(tt, n__s(x0)) → ISNATLIST(s(x0))
ISNATLIST(n__cons(n__s(x0), y1)) → U511(isNat(s(x0)), activate(y1))
U511(tt, n__cons(x0, x1)) → ISNATLIST(cons(x0, x1))
ISNATLIST(n__cons(n__cons(x0, x1), y1)) → U511(isNat(cons(x0, x1)), activate(y1))
U511(tt, n__nil) → ISNATLIST(nil)
ISNATLIST(n__cons(n__nil, y1)) → U511(isNat(nil), activate(y1))
U511(tt, x0) → ISNATLIST(x0)
ISNATLIST(n__cons(x0, y1)) → U511(isNat(x0), activate(y1))
U511(tt, n__zeros) → ISNATLIST(cons(0, n__zeros))
ISNATLIST(n__cons(n__zeros, y0)) → U511(isNat(cons(0, n__zeros)), activate(y0))
ISNATLIST(n__cons(n__0, y0)) → U511(isNat(n__0), activate(y0))
zeros → cons(0, n__zeros)
U11(tt) → tt
U21(tt) → tt
U31(tt) → tt
U41(tt, V2) → U42(isNatIList(activate(V2)))
U42(tt) → tt
U51(tt, V2) → U52(isNatList(activate(V2)))
U52(tt) → tt
U61(tt, V2) → U62(isNatIList(activate(V2)))
U62(tt) → tt
U71(tt, L, N) → U72(isNat(activate(N)), activate(L))
U72(tt, L) → s(length(activate(L)))
U81(tt) → nil
U91(tt, IL, M, N) → U92(isNat(activate(M)), activate(IL), activate(M), activate(N))
U92(tt, IL, M, N) → U93(isNat(activate(N)), activate(IL), activate(M), activate(N))
U93(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatList(activate(V1)))
isNat(n__s(V1)) → U21(isNat(activate(V1)))
isNatIList(V) → U31(isNatList(activate(V)))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → U41(isNat(activate(V1)), activate(V2))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(isNat(activate(V1)), activate(V2))
isNatList(n__take(V1, V2)) → U61(isNat(activate(V1)), activate(V2))
length(nil) → 0
length(cons(N, L)) → U71(isNatList(activate(L)), activate(L), N)
take(0, IL) → U81(isNatIList(IL))
take(s(M), cons(N, IL)) → U91(isNatIList(activate(IL)), activate(IL), M, N)
zeros → n__zeros
take(X1, X2) → n__take(X1, X2)
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
nil → n__nil
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__nil) → nil
activate(X) → X
U511(tt, n__s(x0)) → ISNATLIST(n__s(x0))
ISNATLIST(n__cons(n__take(x0, x1), y1)) → U511(isNat(take(x0, x1)), activate(y1))
U511(tt, n__take(x0, x1)) → ISNATLIST(take(x0, x1))
U511(tt, n__length(x0)) → ISNATLIST(length(x0))
ISNATLIST(n__cons(n__length(x0), y1)) → U511(isNat(length(x0)), activate(y1))
ISNATLIST(n__cons(n__s(x0), y1)) → U511(isNat(s(x0)), activate(y1))
U511(tt, n__cons(x0, x1)) → ISNATLIST(cons(x0, x1))
ISNATLIST(n__cons(n__cons(x0, x1), y1)) → U511(isNat(cons(x0, x1)), activate(y1))
U511(tt, n__nil) → ISNATLIST(nil)
ISNATLIST(n__cons(n__nil, y1)) → U511(isNat(nil), activate(y1))
U511(tt, x0) → ISNATLIST(x0)
ISNATLIST(n__cons(x0, y1)) → U511(isNat(x0), activate(y1))
U511(tt, n__zeros) → ISNATLIST(cons(0, n__zeros))
ISNATLIST(n__cons(n__zeros, y0)) → U511(isNat(cons(0, n__zeros)), activate(y0))
ISNATLIST(n__cons(n__0, y0)) → U511(isNat(n__0), activate(y0))
U511(tt, n__s(x0)) → ISNATLIST(n__s(x0))
zeros → cons(0, n__zeros)
U11(tt) → tt
U21(tt) → tt
U31(tt) → tt
U41(tt, V2) → U42(isNatIList(activate(V2)))
U42(tt) → tt
U51(tt, V2) → U52(isNatList(activate(V2)))
U52(tt) → tt
U61(tt, V2) → U62(isNatIList(activate(V2)))
U62(tt) → tt
U71(tt, L, N) → U72(isNat(activate(N)), activate(L))
U72(tt, L) → s(length(activate(L)))
U81(tt) → nil
U91(tt, IL, M, N) → U92(isNat(activate(M)), activate(IL), activate(M), activate(N))
U92(tt, IL, M, N) → U93(isNat(activate(N)), activate(IL), activate(M), activate(N))
U93(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatList(activate(V1)))
isNat(n__s(V1)) → U21(isNat(activate(V1)))
isNatIList(V) → U31(isNatList(activate(V)))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → U41(isNat(activate(V1)), activate(V2))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(isNat(activate(V1)), activate(V2))
isNatList(n__take(V1, V2)) → U61(isNat(activate(V1)), activate(V2))
length(nil) → 0
length(cons(N, L)) → U71(isNatList(activate(L)), activate(L), N)
take(0, IL) → U81(isNatIList(IL))
take(s(M), cons(N, IL)) → U91(isNatIList(activate(IL)), activate(IL), M, N)
zeros → n__zeros
take(X1, X2) → n__take(X1, X2)
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
nil → n__nil
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__nil) → nil
activate(X) → X
U511(tt, n__take(x0, x1)) → ISNATLIST(take(x0, x1))
ISNATLIST(n__cons(n__take(x0, x1), y1)) → U511(isNat(take(x0, x1)), activate(y1))
U511(tt, n__length(x0)) → ISNATLIST(length(x0))
ISNATLIST(n__cons(n__length(x0), y1)) → U511(isNat(length(x0)), activate(y1))
U511(tt, n__cons(x0, x1)) → ISNATLIST(cons(x0, x1))
ISNATLIST(n__cons(n__s(x0), y1)) → U511(isNat(s(x0)), activate(y1))
U511(tt, n__nil) → ISNATLIST(nil)
ISNATLIST(n__cons(n__cons(x0, x1), y1)) → U511(isNat(cons(x0, x1)), activate(y1))
U511(tt, x0) → ISNATLIST(x0)
ISNATLIST(n__cons(n__nil, y1)) → U511(isNat(nil), activate(y1))
U511(tt, n__zeros) → ISNATLIST(cons(0, n__zeros))
ISNATLIST(n__cons(x0, y1)) → U511(isNat(x0), activate(y1))
ISNATLIST(n__cons(n__zeros, y0)) → U511(isNat(cons(0, n__zeros)), activate(y0))
ISNATLIST(n__cons(n__0, y0)) → U511(isNat(n__0), activate(y0))
zeros → cons(0, n__zeros)
U11(tt) → tt
U21(tt) → tt
U31(tt) → tt
U41(tt, V2) → U42(isNatIList(activate(V2)))
U42(tt) → tt
U51(tt, V2) → U52(isNatList(activate(V2)))
U52(tt) → tt
U61(tt, V2) → U62(isNatIList(activate(V2)))
U62(tt) → tt
U71(tt, L, N) → U72(isNat(activate(N)), activate(L))
U72(tt, L) → s(length(activate(L)))
U81(tt) → nil
U91(tt, IL, M, N) → U92(isNat(activate(M)), activate(IL), activate(M), activate(N))
U92(tt, IL, M, N) → U93(isNat(activate(N)), activate(IL), activate(M), activate(N))
U93(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatList(activate(V1)))
isNat(n__s(V1)) → U21(isNat(activate(V1)))
isNatIList(V) → U31(isNatList(activate(V)))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → U41(isNat(activate(V1)), activate(V2))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(isNat(activate(V1)), activate(V2))
isNatList(n__take(V1, V2)) → U61(isNat(activate(V1)), activate(V2))
length(nil) → 0
length(cons(N, L)) → U71(isNatList(activate(L)), activate(L), N)
take(0, IL) → U81(isNatIList(IL))
take(s(M), cons(N, IL)) → U91(isNatIList(activate(IL)), activate(IL), M, N)
zeros → n__zeros
take(X1, X2) → n__take(X1, X2)
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
nil → n__nil
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__nil) → nil
activate(X) → X
U511(tt, n__cons(x0, x1)) → ISNATLIST(n__cons(x0, x1))
U511(tt, n__take(x0, x1)) → ISNATLIST(take(x0, x1))
ISNATLIST(n__cons(n__take(x0, x1), y1)) → U511(isNat(take(x0, x1)), activate(y1))
U511(tt, n__length(x0)) → ISNATLIST(length(x0))
ISNATLIST(n__cons(n__length(x0), y1)) → U511(isNat(length(x0)), activate(y1))
ISNATLIST(n__cons(n__s(x0), y1)) → U511(isNat(s(x0)), activate(y1))
U511(tt, n__nil) → ISNATLIST(nil)
ISNATLIST(n__cons(n__cons(x0, x1), y1)) → U511(isNat(cons(x0, x1)), activate(y1))
U511(tt, x0) → ISNATLIST(x0)
ISNATLIST(n__cons(n__nil, y1)) → U511(isNat(nil), activate(y1))
U511(tt, n__zeros) → ISNATLIST(cons(0, n__zeros))
ISNATLIST(n__cons(x0, y1)) → U511(isNat(x0), activate(y1))
ISNATLIST(n__cons(n__zeros, y0)) → U511(isNat(cons(0, n__zeros)), activate(y0))
ISNATLIST(n__cons(n__0, y0)) → U511(isNat(n__0), activate(y0))
U511(tt, n__cons(x0, x1)) → ISNATLIST(n__cons(x0, x1))
zeros → cons(0, n__zeros)
U11(tt) → tt
U21(tt) → tt
U31(tt) → tt
U41(tt, V2) → U42(isNatIList(activate(V2)))
U42(tt) → tt
U51(tt, V2) → U52(isNatList(activate(V2)))
U52(tt) → tt
U61(tt, V2) → U62(isNatIList(activate(V2)))
U62(tt) → tt
U71(tt, L, N) → U72(isNat(activate(N)), activate(L))
U72(tt, L) → s(length(activate(L)))
U81(tt) → nil
U91(tt, IL, M, N) → U92(isNat(activate(M)), activate(IL), activate(M), activate(N))
U92(tt, IL, M, N) → U93(isNat(activate(N)), activate(IL), activate(M), activate(N))
U93(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatList(activate(V1)))
isNat(n__s(V1)) → U21(isNat(activate(V1)))
isNatIList(V) → U31(isNatList(activate(V)))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → U41(isNat(activate(V1)), activate(V2))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(isNat(activate(V1)), activate(V2))
isNatList(n__take(V1, V2)) → U61(isNat(activate(V1)), activate(V2))
length(nil) → 0
length(cons(N, L)) → U71(isNatList(activate(L)), activate(L), N)
take(0, IL) → U81(isNatIList(IL))
take(s(M), cons(N, IL)) → U91(isNatIList(activate(IL)), activate(IL), M, N)
zeros → n__zeros
take(X1, X2) → n__take(X1, X2)
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
nil → n__nil
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__nil) → nil
activate(X) → X
ISNATLIST(n__cons(n__s(x0), y1)) → U511(isNat(n__s(x0)), activate(y1))
U511(tt, n__take(x0, x1)) → ISNATLIST(take(x0, x1))
ISNATLIST(n__cons(n__take(x0, x1), y1)) → U511(isNat(take(x0, x1)), activate(y1))
U511(tt, n__length(x0)) → ISNATLIST(length(x0))
ISNATLIST(n__cons(n__length(x0), y1)) → U511(isNat(length(x0)), activate(y1))
U511(tt, n__nil) → ISNATLIST(nil)
ISNATLIST(n__cons(n__cons(x0, x1), y1)) → U511(isNat(cons(x0, x1)), activate(y1))
U511(tt, x0) → ISNATLIST(x0)
ISNATLIST(n__cons(n__nil, y1)) → U511(isNat(nil), activate(y1))
U511(tt, n__zeros) → ISNATLIST(cons(0, n__zeros))
ISNATLIST(n__cons(x0, y1)) → U511(isNat(x0), activate(y1))
ISNATLIST(n__cons(n__zeros, y0)) → U511(isNat(cons(0, n__zeros)), activate(y0))
ISNATLIST(n__cons(n__0, y0)) → U511(isNat(n__0), activate(y0))
U511(tt, n__cons(x0, x1)) → ISNATLIST(n__cons(x0, x1))
ISNATLIST(n__cons(n__s(x0), y1)) → U511(isNat(n__s(x0)), activate(y1))
zeros → cons(0, n__zeros)
U11(tt) → tt
U21(tt) → tt
U31(tt) → tt
U41(tt, V2) → U42(isNatIList(activate(V2)))
U42(tt) → tt
U51(tt, V2) → U52(isNatList(activate(V2)))
U52(tt) → tt
U61(tt, V2) → U62(isNatIList(activate(V2)))
U62(tt) → tt
U71(tt, L, N) → U72(isNat(activate(N)), activate(L))
U72(tt, L) → s(length(activate(L)))
U81(tt) → nil
U91(tt, IL, M, N) → U92(isNat(activate(M)), activate(IL), activate(M), activate(N))
U92(tt, IL, M, N) → U93(isNat(activate(N)), activate(IL), activate(M), activate(N))
U93(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatList(activate(V1)))
isNat(n__s(V1)) → U21(isNat(activate(V1)))
isNatIList(V) → U31(isNatList(activate(V)))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → U41(isNat(activate(V1)), activate(V2))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(isNat(activate(V1)), activate(V2))
isNatList(n__take(V1, V2)) → U61(isNat(activate(V1)), activate(V2))
length(nil) → 0
length(cons(N, L)) → U71(isNatList(activate(L)), activate(L), N)
take(0, IL) → U81(isNatIList(IL))
take(s(M), cons(N, IL)) → U91(isNatIList(activate(IL)), activate(IL), M, N)
zeros → n__zeros
take(X1, X2) → n__take(X1, X2)
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
nil → n__nil
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__nil) → nil
activate(X) → X
U511(tt, n__nil) → ISNATLIST(n__nil)
U511(tt, n__take(x0, x1)) → ISNATLIST(take(x0, x1))
ISNATLIST(n__cons(n__take(x0, x1), y1)) → U511(isNat(take(x0, x1)), activate(y1))
U511(tt, n__length(x0)) → ISNATLIST(length(x0))
ISNATLIST(n__cons(n__length(x0), y1)) → U511(isNat(length(x0)), activate(y1))
ISNATLIST(n__cons(n__cons(x0, x1), y1)) → U511(isNat(cons(x0, x1)), activate(y1))
U511(tt, x0) → ISNATLIST(x0)
ISNATLIST(n__cons(n__nil, y1)) → U511(isNat(nil), activate(y1))
U511(tt, n__zeros) → ISNATLIST(cons(0, n__zeros))
ISNATLIST(n__cons(x0, y1)) → U511(isNat(x0), activate(y1))
ISNATLIST(n__cons(n__zeros, y0)) → U511(isNat(cons(0, n__zeros)), activate(y0))
ISNATLIST(n__cons(n__0, y0)) → U511(isNat(n__0), activate(y0))
U511(tt, n__cons(x0, x1)) → ISNATLIST(n__cons(x0, x1))
ISNATLIST(n__cons(n__s(x0), y1)) → U511(isNat(n__s(x0)), activate(y1))
U511(tt, n__nil) → ISNATLIST(n__nil)
zeros → cons(0, n__zeros)
U11(tt) → tt
U21(tt) → tt
U31(tt) → tt
U41(tt, V2) → U42(isNatIList(activate(V2)))
U42(tt) → tt
U51(tt, V2) → U52(isNatList(activate(V2)))
U52(tt) → tt
U61(tt, V2) → U62(isNatIList(activate(V2)))
U62(tt) → tt
U71(tt, L, N) → U72(isNat(activate(N)), activate(L))
U72(tt, L) → s(length(activate(L)))
U81(tt) → nil
U91(tt, IL, M, N) → U92(isNat(activate(M)), activate(IL), activate(M), activate(N))
U92(tt, IL, M, N) → U93(isNat(activate(N)), activate(IL), activate(M), activate(N))
U93(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatList(activate(V1)))
isNat(n__s(V1)) → U21(isNat(activate(V1)))
isNatIList(V) → U31(isNatList(activate(V)))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → U41(isNat(activate(V1)), activate(V2))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(isNat(activate(V1)), activate(V2))
isNatList(n__take(V1, V2)) → U61(isNat(activate(V1)), activate(V2))
length(nil) → 0
length(cons(N, L)) → U71(isNatList(activate(L)), activate(L), N)
take(0, IL) → U81(isNatIList(IL))
take(s(M), cons(N, IL)) → U91(isNatIList(activate(IL)), activate(IL), M, N)
zeros → n__zeros
take(X1, X2) → n__take(X1, X2)
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
nil → n__nil
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__nil) → nil
activate(X) → X
ISNATLIST(n__cons(n__take(x0, x1), y1)) → U511(isNat(take(x0, x1)), activate(y1))
U511(tt, n__take(x0, x1)) → ISNATLIST(take(x0, x1))
ISNATLIST(n__cons(n__length(x0), y1)) → U511(isNat(length(x0)), activate(y1))
U511(tt, n__length(x0)) → ISNATLIST(length(x0))
ISNATLIST(n__cons(n__cons(x0, x1), y1)) → U511(isNat(cons(x0, x1)), activate(y1))
U511(tt, x0) → ISNATLIST(x0)
ISNATLIST(n__cons(n__nil, y1)) → U511(isNat(nil), activate(y1))
U511(tt, n__zeros) → ISNATLIST(cons(0, n__zeros))
ISNATLIST(n__cons(x0, y1)) → U511(isNat(x0), activate(y1))
U511(tt, n__cons(x0, x1)) → ISNATLIST(n__cons(x0, x1))
ISNATLIST(n__cons(n__zeros, y0)) → U511(isNat(cons(0, n__zeros)), activate(y0))
ISNATLIST(n__cons(n__0, y0)) → U511(isNat(n__0), activate(y0))
ISNATLIST(n__cons(n__s(x0), y1)) → U511(isNat(n__s(x0)), activate(y1))
zeros → cons(0, n__zeros)
U11(tt) → tt
U21(tt) → tt
U31(tt) → tt
U41(tt, V2) → U42(isNatIList(activate(V2)))
U42(tt) → tt
U51(tt, V2) → U52(isNatList(activate(V2)))
U52(tt) → tt
U61(tt, V2) → U62(isNatIList(activate(V2)))
U62(tt) → tt
U71(tt, L, N) → U72(isNat(activate(N)), activate(L))
U72(tt, L) → s(length(activate(L)))
U81(tt) → nil
U91(tt, IL, M, N) → U92(isNat(activate(M)), activate(IL), activate(M), activate(N))
U92(tt, IL, M, N) → U93(isNat(activate(N)), activate(IL), activate(M), activate(N))
U93(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatList(activate(V1)))
isNat(n__s(V1)) → U21(isNat(activate(V1)))
isNatIList(V) → U31(isNatList(activate(V)))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → U41(isNat(activate(V1)), activate(V2))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(isNat(activate(V1)), activate(V2))
isNatList(n__take(V1, V2)) → U61(isNat(activate(V1)), activate(V2))
length(nil) → 0
length(cons(N, L)) → U71(isNatList(activate(L)), activate(L), N)
take(0, IL) → U81(isNatIList(IL))
take(s(M), cons(N, IL)) → U91(isNatIList(activate(IL)), activate(IL), M, N)
zeros → n__zeros
take(X1, X2) → n__take(X1, X2)
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
nil → n__nil
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__nil) → nil
activate(X) → X
ISNATLIST(n__cons(n__cons(x0, x1), y2)) → U511(isNat(n__cons(x0, x1)), activate(y2))
ISNATLIST(n__cons(n__take(x0, x1), y1)) → U511(isNat(take(x0, x1)), activate(y1))
U511(tt, n__take(x0, x1)) → ISNATLIST(take(x0, x1))
ISNATLIST(n__cons(n__length(x0), y1)) → U511(isNat(length(x0)), activate(y1))
U511(tt, n__length(x0)) → ISNATLIST(length(x0))
U511(tt, x0) → ISNATLIST(x0)
ISNATLIST(n__cons(n__nil, y1)) → U511(isNat(nil), activate(y1))
U511(tt, n__zeros) → ISNATLIST(cons(0, n__zeros))
ISNATLIST(n__cons(x0, y1)) → U511(isNat(x0), activate(y1))
U511(tt, n__cons(x0, x1)) → ISNATLIST(n__cons(x0, x1))
ISNATLIST(n__cons(n__zeros, y0)) → U511(isNat(cons(0, n__zeros)), activate(y0))
ISNATLIST(n__cons(n__0, y0)) → U511(isNat(n__0), activate(y0))
ISNATLIST(n__cons(n__s(x0), y1)) → U511(isNat(n__s(x0)), activate(y1))
ISNATLIST(n__cons(n__cons(x0, x1), y2)) → U511(isNat(n__cons(x0, x1)), activate(y2))
zeros → cons(0, n__zeros)
U11(tt) → tt
U21(tt) → tt
U31(tt) → tt
U41(tt, V2) → U42(isNatIList(activate(V2)))
U42(tt) → tt
U51(tt, V2) → U52(isNatList(activate(V2)))
U52(tt) → tt
U61(tt, V2) → U62(isNatIList(activate(V2)))
U62(tt) → tt
U71(tt, L, N) → U72(isNat(activate(N)), activate(L))
U72(tt, L) → s(length(activate(L)))
U81(tt) → nil
U91(tt, IL, M, N) → U92(isNat(activate(M)), activate(IL), activate(M), activate(N))
U92(tt, IL, M, N) → U93(isNat(activate(N)), activate(IL), activate(M), activate(N))
U93(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatList(activate(V1)))
isNat(n__s(V1)) → U21(isNat(activate(V1)))
isNatIList(V) → U31(isNatList(activate(V)))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → U41(isNat(activate(V1)), activate(V2))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(isNat(activate(V1)), activate(V2))
isNatList(n__take(V1, V2)) → U61(isNat(activate(V1)), activate(V2))
length(nil) → 0
length(cons(N, L)) → U71(isNatList(activate(L)), activate(L), N)
take(0, IL) → U81(isNatIList(IL))
take(s(M), cons(N, IL)) → U91(isNatIList(activate(IL)), activate(IL), M, N)
zeros → n__zeros
take(X1, X2) → n__take(X1, X2)
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
nil → n__nil
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__nil) → nil
activate(X) → X
U511(tt, n__take(x0, x1)) → ISNATLIST(take(x0, x1))
ISNATLIST(n__cons(n__take(x0, x1), y1)) → U511(isNat(take(x0, x1)), activate(y1))
U511(tt, n__length(x0)) → ISNATLIST(length(x0))
ISNATLIST(n__cons(n__length(x0), y1)) → U511(isNat(length(x0)), activate(y1))
U511(tt, x0) → ISNATLIST(x0)
ISNATLIST(n__cons(n__nil, y1)) → U511(isNat(nil), activate(y1))
U511(tt, n__zeros) → ISNATLIST(cons(0, n__zeros))
ISNATLIST(n__cons(x0, y1)) → U511(isNat(x0), activate(y1))
U511(tt, n__cons(x0, x1)) → ISNATLIST(n__cons(x0, x1))
ISNATLIST(n__cons(n__zeros, y0)) → U511(isNat(cons(0, n__zeros)), activate(y0))
ISNATLIST(n__cons(n__0, y0)) → U511(isNat(n__0), activate(y0))
ISNATLIST(n__cons(n__s(x0), y1)) → U511(isNat(n__s(x0)), activate(y1))
zeros → cons(0, n__zeros)
U11(tt) → tt
U21(tt) → tt
U31(tt) → tt
U41(tt, V2) → U42(isNatIList(activate(V2)))
U42(tt) → tt
U51(tt, V2) → U52(isNatList(activate(V2)))
U52(tt) → tt
U61(tt, V2) → U62(isNatIList(activate(V2)))
U62(tt) → tt
U71(tt, L, N) → U72(isNat(activate(N)), activate(L))
U72(tt, L) → s(length(activate(L)))
U81(tt) → nil
U91(tt, IL, M, N) → U92(isNat(activate(M)), activate(IL), activate(M), activate(N))
U92(tt, IL, M, N) → U93(isNat(activate(N)), activate(IL), activate(M), activate(N))
U93(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatList(activate(V1)))
isNat(n__s(V1)) → U21(isNat(activate(V1)))
isNatIList(V) → U31(isNatList(activate(V)))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → U41(isNat(activate(V1)), activate(V2))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(isNat(activate(V1)), activate(V2))
isNatList(n__take(V1, V2)) → U61(isNat(activate(V1)), activate(V2))
length(nil) → 0
length(cons(N, L)) → U71(isNatList(activate(L)), activate(L), N)
take(0, IL) → U81(isNatIList(IL))
take(s(M), cons(N, IL)) → U91(isNatIList(activate(IL)), activate(IL), M, N)
zeros → n__zeros
take(X1, X2) → n__take(X1, X2)
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
nil → n__nil
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__nil) → nil
activate(X) → X
ISNATLIST(n__cons(n__nil, y0)) → U511(isNat(n__nil), activate(y0))
U511(tt, n__take(x0, x1)) → ISNATLIST(take(x0, x1))
ISNATLIST(n__cons(n__take(x0, x1), y1)) → U511(isNat(take(x0, x1)), activate(y1))
U511(tt, n__length(x0)) → ISNATLIST(length(x0))
ISNATLIST(n__cons(n__length(x0), y1)) → U511(isNat(length(x0)), activate(y1))
U511(tt, x0) → ISNATLIST(x0)
U511(tt, n__zeros) → ISNATLIST(cons(0, n__zeros))
ISNATLIST(n__cons(x0, y1)) → U511(isNat(x0), activate(y1))
U511(tt, n__cons(x0, x1)) → ISNATLIST(n__cons(x0, x1))
ISNATLIST(n__cons(n__zeros, y0)) → U511(isNat(cons(0, n__zeros)), activate(y0))
ISNATLIST(n__cons(n__0, y0)) → U511(isNat(n__0), activate(y0))
ISNATLIST(n__cons(n__s(x0), y1)) → U511(isNat(n__s(x0)), activate(y1))
ISNATLIST(n__cons(n__nil, y0)) → U511(isNat(n__nil), activate(y0))
zeros → cons(0, n__zeros)
U11(tt) → tt
U21(tt) → tt
U31(tt) → tt
U41(tt, V2) → U42(isNatIList(activate(V2)))
U42(tt) → tt
U51(tt, V2) → U52(isNatList(activate(V2)))
U52(tt) → tt
U61(tt, V2) → U62(isNatIList(activate(V2)))
U62(tt) → tt
U71(tt, L, N) → U72(isNat(activate(N)), activate(L))
U72(tt, L) → s(length(activate(L)))
U81(tt) → nil
U91(tt, IL, M, N) → U92(isNat(activate(M)), activate(IL), activate(M), activate(N))
U92(tt, IL, M, N) → U93(isNat(activate(N)), activate(IL), activate(M), activate(N))
U93(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatList(activate(V1)))
isNat(n__s(V1)) → U21(isNat(activate(V1)))
isNatIList(V) → U31(isNatList(activate(V)))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → U41(isNat(activate(V1)), activate(V2))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(isNat(activate(V1)), activate(V2))
isNatList(n__take(V1, V2)) → U61(isNat(activate(V1)), activate(V2))
length(nil) → 0
length(cons(N, L)) → U71(isNatList(activate(L)), activate(L), N)
take(0, IL) → U81(isNatIList(IL))
take(s(M), cons(N, IL)) → U91(isNatIList(activate(IL)), activate(IL), M, N)
zeros → n__zeros
take(X1, X2) → n__take(X1, X2)
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
nil → n__nil
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__nil) → nil
activate(X) → X
ISNATLIST(n__cons(n__take(x0, x1), y1)) → U511(isNat(take(x0, x1)), activate(y1))
U511(tt, n__take(x0, x1)) → ISNATLIST(take(x0, x1))
ISNATLIST(n__cons(n__length(x0), y1)) → U511(isNat(length(x0)), activate(y1))
U511(tt, n__length(x0)) → ISNATLIST(length(x0))
ISNATLIST(n__cons(x0, y1)) → U511(isNat(x0), activate(y1))
U511(tt, x0) → ISNATLIST(x0)
ISNATLIST(n__cons(n__zeros, y0)) → U511(isNat(cons(0, n__zeros)), activate(y0))
U511(tt, n__zeros) → ISNATLIST(cons(0, n__zeros))
ISNATLIST(n__cons(n__0, y0)) → U511(isNat(n__0), activate(y0))
U511(tt, n__cons(x0, x1)) → ISNATLIST(n__cons(x0, x1))
ISNATLIST(n__cons(n__s(x0), y1)) → U511(isNat(n__s(x0)), activate(y1))
zeros → cons(0, n__zeros)
U11(tt) → tt
U21(tt) → tt
U31(tt) → tt
U41(tt, V2) → U42(isNatIList(activate(V2)))
U42(tt) → tt
U51(tt, V2) → U52(isNatList(activate(V2)))
U52(tt) → tt
U61(tt, V2) → U62(isNatIList(activate(V2)))
U62(tt) → tt
U71(tt, L, N) → U72(isNat(activate(N)), activate(L))
U72(tt, L) → s(length(activate(L)))
U81(tt) → nil
U91(tt, IL, M, N) → U92(isNat(activate(M)), activate(IL), activate(M), activate(N))
U92(tt, IL, M, N) → U93(isNat(activate(N)), activate(IL), activate(M), activate(N))
U93(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatList(activate(V1)))
isNat(n__s(V1)) → U21(isNat(activate(V1)))
isNatIList(V) → U31(isNatList(activate(V)))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → U41(isNat(activate(V1)), activate(V2))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(isNat(activate(V1)), activate(V2))
isNatList(n__take(V1, V2)) → U61(isNat(activate(V1)), activate(V2))
length(nil) → 0
length(cons(N, L)) → U71(isNatList(activate(L)), activate(L), N)
take(0, IL) → U81(isNatIList(IL))
take(s(M), cons(N, IL)) → U91(isNatIList(activate(IL)), activate(IL), M, N)
zeros → n__zeros
take(X1, X2) → n__take(X1, X2)
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
nil → n__nil
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__nil) → nil
activate(X) → X
ISNATLIST(n__cons(n__zeros, y0)) → U511(isNat(n__cons(0, n__zeros)), activate(y0))
ISNATLIST(n__cons(n__zeros, y0)) → U511(isNat(cons(n__0, n__zeros)), activate(y0))
ISNATLIST(n__cons(n__take(x0, x1), y1)) → U511(isNat(take(x0, x1)), activate(y1))
U511(tt, n__take(x0, x1)) → ISNATLIST(take(x0, x1))
ISNATLIST(n__cons(n__length(x0), y1)) → U511(isNat(length(x0)), activate(y1))
U511(tt, n__length(x0)) → ISNATLIST(length(x0))
ISNATLIST(n__cons(x0, y1)) → U511(isNat(x0), activate(y1))
U511(tt, x0) → ISNATLIST(x0)
U511(tt, n__zeros) → ISNATLIST(cons(0, n__zeros))
ISNATLIST(n__cons(n__0, y0)) → U511(isNat(n__0), activate(y0))
U511(tt, n__cons(x0, x1)) → ISNATLIST(n__cons(x0, x1))
ISNATLIST(n__cons(n__s(x0), y1)) → U511(isNat(n__s(x0)), activate(y1))
ISNATLIST(n__cons(n__zeros, y0)) → U511(isNat(n__cons(0, n__zeros)), activate(y0))
ISNATLIST(n__cons(n__zeros, y0)) → U511(isNat(cons(n__0, n__zeros)), activate(y0))
zeros → cons(0, n__zeros)
U11(tt) → tt
U21(tt) → tt
U31(tt) → tt
U41(tt, V2) → U42(isNatIList(activate(V2)))
U42(tt) → tt
U51(tt, V2) → U52(isNatList(activate(V2)))
U52(tt) → tt
U61(tt, V2) → U62(isNatIList(activate(V2)))
U62(tt) → tt
U71(tt, L, N) → U72(isNat(activate(N)), activate(L))
U72(tt, L) → s(length(activate(L)))
U81(tt) → nil
U91(tt, IL, M, N) → U92(isNat(activate(M)), activate(IL), activate(M), activate(N))
U92(tt, IL, M, N) → U93(isNat(activate(N)), activate(IL), activate(M), activate(N))
U93(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatList(activate(V1)))
isNat(n__s(V1)) → U21(isNat(activate(V1)))
isNatIList(V) → U31(isNatList(activate(V)))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → U41(isNat(activate(V1)), activate(V2))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(isNat(activate(V1)), activate(V2))
isNatList(n__take(V1, V2)) → U61(isNat(activate(V1)), activate(V2))
length(nil) → 0
length(cons(N, L)) → U71(isNatList(activate(L)), activate(L), N)
take(0, IL) → U81(isNatIList(IL))
take(s(M), cons(N, IL)) → U91(isNatIList(activate(IL)), activate(IL), M, N)
zeros → n__zeros
take(X1, X2) → n__take(X1, X2)
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
nil → n__nil
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__nil) → nil
activate(X) → X
U511(tt, n__take(x0, x1)) → ISNATLIST(take(x0, x1))
ISNATLIST(n__cons(n__take(x0, x1), y1)) → U511(isNat(take(x0, x1)), activate(y1))
U511(tt, n__length(x0)) → ISNATLIST(length(x0))
ISNATLIST(n__cons(n__length(x0), y1)) → U511(isNat(length(x0)), activate(y1))
U511(tt, x0) → ISNATLIST(x0)
ISNATLIST(n__cons(x0, y1)) → U511(isNat(x0), activate(y1))
U511(tt, n__zeros) → ISNATLIST(cons(0, n__zeros))
ISNATLIST(n__cons(n__0, y0)) → U511(isNat(n__0), activate(y0))
U511(tt, n__cons(x0, x1)) → ISNATLIST(n__cons(x0, x1))
ISNATLIST(n__cons(n__s(x0), y1)) → U511(isNat(n__s(x0)), activate(y1))
ISNATLIST(n__cons(n__zeros, y0)) → U511(isNat(cons(n__0, n__zeros)), activate(y0))
zeros → cons(0, n__zeros)
U11(tt) → tt
U21(tt) → tt
U31(tt) → tt
U41(tt, V2) → U42(isNatIList(activate(V2)))
U42(tt) → tt
U51(tt, V2) → U52(isNatList(activate(V2)))
U52(tt) → tt
U61(tt, V2) → U62(isNatIList(activate(V2)))
U62(tt) → tt
U71(tt, L, N) → U72(isNat(activate(N)), activate(L))
U72(tt, L) → s(length(activate(L)))
U81(tt) → nil
U91(tt, IL, M, N) → U92(isNat(activate(M)), activate(IL), activate(M), activate(N))
U92(tt, IL, M, N) → U93(isNat(activate(N)), activate(IL), activate(M), activate(N))
U93(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatList(activate(V1)))
isNat(n__s(V1)) → U21(isNat(activate(V1)))
isNatIList(V) → U31(isNatList(activate(V)))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → U41(isNat(activate(V1)), activate(V2))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(isNat(activate(V1)), activate(V2))
isNatList(n__take(V1, V2)) → U61(isNat(activate(V1)), activate(V2))
length(nil) → 0
length(cons(N, L)) → U71(isNatList(activate(L)), activate(L), N)
take(0, IL) → U81(isNatIList(IL))
take(s(M), cons(N, IL)) → U91(isNatIList(activate(IL)), activate(IL), M, N)
zeros → n__zeros
take(X1, X2) → n__take(X1, X2)
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
nil → n__nil
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__nil) → nil
activate(X) → X
U511(tt, n__zeros) → ISNATLIST(n__cons(0, n__zeros))
U511(tt, n__zeros) → ISNATLIST(cons(n__0, n__zeros))
U511(tt, n__take(x0, x1)) → ISNATLIST(take(x0, x1))
ISNATLIST(n__cons(n__take(x0, x1), y1)) → U511(isNat(take(x0, x1)), activate(y1))
U511(tt, n__length(x0)) → ISNATLIST(length(x0))
ISNATLIST(n__cons(n__length(x0), y1)) → U511(isNat(length(x0)), activate(y1))
U511(tt, x0) → ISNATLIST(x0)
ISNATLIST(n__cons(x0, y1)) → U511(isNat(x0), activate(y1))
ISNATLIST(n__cons(n__0, y0)) → U511(isNat(n__0), activate(y0))
U511(tt, n__cons(x0, x1)) → ISNATLIST(n__cons(x0, x1))
ISNATLIST(n__cons(n__s(x0), y1)) → U511(isNat(n__s(x0)), activate(y1))
ISNATLIST(n__cons(n__zeros, y0)) → U511(isNat(cons(n__0, n__zeros)), activate(y0))
U511(tt, n__zeros) → ISNATLIST(n__cons(0, n__zeros))
U511(tt, n__zeros) → ISNATLIST(cons(n__0, n__zeros))
zeros → cons(0, n__zeros)
U11(tt) → tt
U21(tt) → tt
U31(tt) → tt
U41(tt, V2) → U42(isNatIList(activate(V2)))
U42(tt) → tt
U51(tt, V2) → U52(isNatList(activate(V2)))
U52(tt) → tt
U61(tt, V2) → U62(isNatIList(activate(V2)))
U62(tt) → tt
U71(tt, L, N) → U72(isNat(activate(N)), activate(L))
U72(tt, L) → s(length(activate(L)))
U81(tt) → nil
U91(tt, IL, M, N) → U92(isNat(activate(M)), activate(IL), activate(M), activate(N))
U92(tt, IL, M, N) → U93(isNat(activate(N)), activate(IL), activate(M), activate(N))
U93(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatList(activate(V1)))
isNat(n__s(V1)) → U21(isNat(activate(V1)))
isNatIList(V) → U31(isNatList(activate(V)))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → U41(isNat(activate(V1)), activate(V2))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(isNat(activate(V1)), activate(V2))
isNatList(n__take(V1, V2)) → U61(isNat(activate(V1)), activate(V2))
length(nil) → 0
length(cons(N, L)) → U71(isNatList(activate(L)), activate(L), N)
take(0, IL) → U81(isNatIList(IL))
take(s(M), cons(N, IL)) → U91(isNatIList(activate(IL)), activate(IL), M, N)
zeros → n__zeros
take(X1, X2) → n__take(X1, X2)
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
nil → n__nil
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__nil) → nil
activate(X) → X
ISNATLIST(n__cons(n__zeros, y0)) → U511(isNat(n__cons(n__0, n__zeros)), activate(y0))
U511(tt, n__take(x0, x1)) → ISNATLIST(take(x0, x1))
ISNATLIST(n__cons(n__take(x0, x1), y1)) → U511(isNat(take(x0, x1)), activate(y1))
U511(tt, n__length(x0)) → ISNATLIST(length(x0))
ISNATLIST(n__cons(n__length(x0), y1)) → U511(isNat(length(x0)), activate(y1))
U511(tt, x0) → ISNATLIST(x0)
ISNATLIST(n__cons(x0, y1)) → U511(isNat(x0), activate(y1))
ISNATLIST(n__cons(n__0, y0)) → U511(isNat(n__0), activate(y0))
U511(tt, n__cons(x0, x1)) → ISNATLIST(n__cons(x0, x1))
ISNATLIST(n__cons(n__s(x0), y1)) → U511(isNat(n__s(x0)), activate(y1))
U511(tt, n__zeros) → ISNATLIST(n__cons(0, n__zeros))
U511(tt, n__zeros) → ISNATLIST(cons(n__0, n__zeros))
ISNATLIST(n__cons(n__zeros, y0)) → U511(isNat(n__cons(n__0, n__zeros)), activate(y0))
zeros → cons(0, n__zeros)
U11(tt) → tt
U21(tt) → tt
U31(tt) → tt
U41(tt, V2) → U42(isNatIList(activate(V2)))
U42(tt) → tt
U51(tt, V2) → U52(isNatList(activate(V2)))
U52(tt) → tt
U61(tt, V2) → U62(isNatIList(activate(V2)))
U62(tt) → tt
U71(tt, L, N) → U72(isNat(activate(N)), activate(L))
U72(tt, L) → s(length(activate(L)))
U81(tt) → nil
U91(tt, IL, M, N) → U92(isNat(activate(M)), activate(IL), activate(M), activate(N))
U92(tt, IL, M, N) → U93(isNat(activate(N)), activate(IL), activate(M), activate(N))
U93(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatList(activate(V1)))
isNat(n__s(V1)) → U21(isNat(activate(V1)))
isNatIList(V) → U31(isNatList(activate(V)))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → U41(isNat(activate(V1)), activate(V2))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(isNat(activate(V1)), activate(V2))
isNatList(n__take(V1, V2)) → U61(isNat(activate(V1)), activate(V2))
length(nil) → 0
length(cons(N, L)) → U71(isNatList(activate(L)), activate(L), N)
take(0, IL) → U81(isNatIList(IL))
take(s(M), cons(N, IL)) → U91(isNatIList(activate(IL)), activate(IL), M, N)
zeros → n__zeros
take(X1, X2) → n__take(X1, X2)
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
nil → n__nil
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__nil) → nil
activate(X) → X
ISNATLIST(n__cons(n__take(x0, x1), y1)) → U511(isNat(take(x0, x1)), activate(y1))
U511(tt, n__take(x0, x1)) → ISNATLIST(take(x0, x1))
ISNATLIST(n__cons(n__length(x0), y1)) → U511(isNat(length(x0)), activate(y1))
U511(tt, n__length(x0)) → ISNATLIST(length(x0))
ISNATLIST(n__cons(x0, y1)) → U511(isNat(x0), activate(y1))
U511(tt, x0) → ISNATLIST(x0)
ISNATLIST(n__cons(n__0, y0)) → U511(isNat(n__0), activate(y0))
U511(tt, n__cons(x0, x1)) → ISNATLIST(n__cons(x0, x1))
ISNATLIST(n__cons(n__s(x0), y1)) → U511(isNat(n__s(x0)), activate(y1))
U511(tt, n__zeros) → ISNATLIST(n__cons(0, n__zeros))
U511(tt, n__zeros) → ISNATLIST(cons(n__0, n__zeros))
zeros → cons(0, n__zeros)
U11(tt) → tt
U21(tt) → tt
U31(tt) → tt
U41(tt, V2) → U42(isNatIList(activate(V2)))
U42(tt) → tt
U51(tt, V2) → U52(isNatList(activate(V2)))
U52(tt) → tt
U61(tt, V2) → U62(isNatIList(activate(V2)))
U62(tt) → tt
U71(tt, L, N) → U72(isNat(activate(N)), activate(L))
U72(tt, L) → s(length(activate(L)))
U81(tt) → nil
U91(tt, IL, M, N) → U92(isNat(activate(M)), activate(IL), activate(M), activate(N))
U92(tt, IL, M, N) → U93(isNat(activate(N)), activate(IL), activate(M), activate(N))
U93(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatList(activate(V1)))
isNat(n__s(V1)) → U21(isNat(activate(V1)))
isNatIList(V) → U31(isNatList(activate(V)))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → U41(isNat(activate(V1)), activate(V2))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(isNat(activate(V1)), activate(V2))
isNatList(n__take(V1, V2)) → U61(isNat(activate(V1)), activate(V2))
length(nil) → 0
length(cons(N, L)) → U71(isNatList(activate(L)), activate(L), N)
take(0, IL) → U81(isNatIList(IL))
take(s(M), cons(N, IL)) → U91(isNatIList(activate(IL)), activate(IL), M, N)
zeros → n__zeros
take(X1, X2) → n__take(X1, X2)
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
nil → n__nil
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__nil) → nil
activate(X) → X
U511(tt, n__zeros) → ISNATLIST(n__cons(n__0, n__zeros))
ISNATLIST(n__cons(n__take(x0, x1), y1)) → U511(isNat(take(x0, x1)), activate(y1))
U511(tt, n__take(x0, x1)) → ISNATLIST(take(x0, x1))
ISNATLIST(n__cons(n__length(x0), y1)) → U511(isNat(length(x0)), activate(y1))
U511(tt, n__length(x0)) → ISNATLIST(length(x0))
ISNATLIST(n__cons(x0, y1)) → U511(isNat(x0), activate(y1))
U511(tt, x0) → ISNATLIST(x0)
ISNATLIST(n__cons(n__0, y0)) → U511(isNat(n__0), activate(y0))
U511(tt, n__cons(x0, x1)) → ISNATLIST(n__cons(x0, x1))
ISNATLIST(n__cons(n__s(x0), y1)) → U511(isNat(n__s(x0)), activate(y1))
U511(tt, n__zeros) → ISNATLIST(n__cons(0, n__zeros))
U511(tt, n__zeros) → ISNATLIST(n__cons(n__0, n__zeros))
zeros → cons(0, n__zeros)
U11(tt) → tt
U21(tt) → tt
U31(tt) → tt
U41(tt, V2) → U42(isNatIList(activate(V2)))
U42(tt) → tt
U51(tt, V2) → U52(isNatList(activate(V2)))
U52(tt) → tt
U61(tt, V2) → U62(isNatIList(activate(V2)))
U62(tt) → tt
U71(tt, L, N) → U72(isNat(activate(N)), activate(L))
U72(tt, L) → s(length(activate(L)))
U81(tt) → nil
U91(tt, IL, M, N) → U92(isNat(activate(M)), activate(IL), activate(M), activate(N))
U92(tt, IL, M, N) → U93(isNat(activate(N)), activate(IL), activate(M), activate(N))
U93(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatList(activate(V1)))
isNat(n__s(V1)) → U21(isNat(activate(V1)))
isNatIList(V) → U31(isNatList(activate(V)))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → U41(isNat(activate(V1)), activate(V2))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(isNat(activate(V1)), activate(V2))
isNatList(n__take(V1, V2)) → U61(isNat(activate(V1)), activate(V2))
length(nil) → 0
length(cons(N, L)) → U71(isNatList(activate(L)), activate(L), N)
take(0, IL) → U81(isNatIList(IL))
take(s(M), cons(N, IL)) → U91(isNatIList(activate(IL)), activate(IL), M, N)
zeros → n__zeros
take(X1, X2) → n__take(X1, X2)
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
nil → n__nil
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__nil) → nil
activate(X) → X
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
ISNATLIST(n__cons(n__take(x0, x1), y1)) → U511(isNat(take(x0, x1)), activate(y1))
ISNATLIST(n__cons(n__length(x0), y1)) → U511(isNat(length(x0)), activate(y1))
POL( ISNATLIST(x1) ) = x1 + 2
POL( U511(x1, x2) ) = x1 + x2 + 2
POL( take(x1, x2) ) = x2 + 2
POL( 0 ) = 0
POL( U81(x1) ) = max{0, x1 - 2}
POL( isNatIList(x1) ) = 1
POL( s(x1) ) = max{0, -2}
POL( cons(x1, x2) ) = x1 + x2
POL( U91(x1, ..., x4) ) = x2 + x4 + 2
POL( activate(x1) ) = x1
POL( n__take(x1, x2) ) = x2 + 2
POL( U21(x1) ) = max{0, -2}
POL( U41(x1, x2) ) = max{0, -1}
POL( U51(x1, x2) ) = max{0, -2}
POL( U61(x1, x2) ) = max{0, -1}
POL( U72(x1, x2) ) = max{0, -2}
POL( U92(x1, ..., x4) ) = x2 + x4 + 2
POL( U93(x1, ..., x4) ) = x2 + x4 + 2
POL( isNat(x1) ) = max{0, x1 - 1}
POL( n__0 ) = 0
POL( tt ) = 0
POL( n__length(x1) ) = 2
POL( U11(x1) ) = max{0, 2x1 - 2}
POL( isNatList(x1) ) = max{0, -2}
POL( n__s(x1) ) = 0
POL( U71(x1, ..., x3) ) = max{0, -2}
POL( U31(x1) ) = max{0, -2}
POL( U42(x1) ) = max{0, -1}
POL( U52(x1) ) = max{0, -2}
POL( U62(x1) ) = max{0, -2}
POL( length(x1) ) = 2
POL( n__zeros ) = 0
POL( zeros ) = 0
POL( n__cons(x1, x2) ) = x1 + x2
POL( n__nil ) = 0
POL( nil ) = 0
take(0, IL) → U81(isNatIList(IL))
take(s(M), cons(N, IL)) → U91(isNatIList(activate(IL)), activate(IL), M, N)
take(X1, X2) → n__take(X1, X2)
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatList(activate(V1)))
isNat(n__s(V1)) → U21(isNat(activate(V1)))
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__nil) → nil
activate(X) → X
length(nil) → 0
length(cons(N, L)) → U71(isNatList(activate(L)), activate(L), N)
length(X) → n__length(X)
0 → n__0
isNatIList(n__zeros) → tt
U81(tt) → nil
isNatIList(V) → U31(isNatList(activate(V)))
isNatList(n__nil) → tt
U31(tt) → tt
isNatList(n__cons(V1, V2)) → U51(isNat(activate(V1)), activate(V2))
U11(tt) → tt
isNatList(n__take(V1, V2)) → U61(isNat(activate(V1)), activate(V2))
U21(tt) → tt
U61(tt, V2) → U62(isNatIList(activate(V2)))
U62(tt) → tt
isNatIList(n__cons(V1, V2)) → U41(isNat(activate(V1)), activate(V2))
U41(tt, V2) → U42(isNatIList(activate(V2)))
U42(tt) → tt
U51(tt, V2) → U52(isNatList(activate(V2)))
U52(tt) → tt
U71(tt, L, N) → U72(isNat(activate(N)), activate(L))
U72(tt, L) → s(length(activate(L)))
s(X) → n__s(X)
U91(tt, IL, M, N) → U92(isNat(activate(M)), activate(IL), activate(M), activate(N))
U92(tt, IL, M, N) → U93(isNat(activate(N)), activate(IL), activate(M), activate(N))
U93(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
cons(X1, X2) → n__cons(X1, X2)
zeros → cons(0, n__zeros)
zeros → n__zeros
nil → n__nil
U511(tt, n__take(x0, x1)) → ISNATLIST(take(x0, x1))
U511(tt, n__length(x0)) → ISNATLIST(length(x0))
ISNATLIST(n__cons(x0, y1)) → U511(isNat(x0), activate(y1))
U511(tt, x0) → ISNATLIST(x0)
ISNATLIST(n__cons(n__0, y0)) → U511(isNat(n__0), activate(y0))
U511(tt, n__cons(x0, x1)) → ISNATLIST(n__cons(x0, x1))
ISNATLIST(n__cons(n__s(x0), y1)) → U511(isNat(n__s(x0)), activate(y1))
U511(tt, n__zeros) → ISNATLIST(n__cons(0, n__zeros))
U511(tt, n__zeros) → ISNATLIST(n__cons(n__0, n__zeros))
zeros → cons(0, n__zeros)
U11(tt) → tt
U21(tt) → tt
U31(tt) → tt
U41(tt, V2) → U42(isNatIList(activate(V2)))
U42(tt) → tt
U51(tt, V2) → U52(isNatList(activate(V2)))
U52(tt) → tt
U61(tt, V2) → U62(isNatIList(activate(V2)))
U62(tt) → tt
U71(tt, L, N) → U72(isNat(activate(N)), activate(L))
U72(tt, L) → s(length(activate(L)))
U81(tt) → nil
U91(tt, IL, M, N) → U92(isNat(activate(M)), activate(IL), activate(M), activate(N))
U92(tt, IL, M, N) → U93(isNat(activate(N)), activate(IL), activate(M), activate(N))
U93(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatList(activate(V1)))
isNat(n__s(V1)) → U21(isNat(activate(V1)))
isNatIList(V) → U31(isNatList(activate(V)))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → U41(isNat(activate(V1)), activate(V2))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(isNat(activate(V1)), activate(V2))
isNatList(n__take(V1, V2)) → U61(isNat(activate(V1)), activate(V2))
length(nil) → 0
length(cons(N, L)) → U71(isNatList(activate(L)), activate(L), N)
take(0, IL) → U81(isNatIList(IL))
take(s(M), cons(N, IL)) → U91(isNatIList(activate(IL)), activate(IL), M, N)
zeros → n__zeros
take(X1, X2) → n__take(X1, X2)
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
nil → n__nil
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__nil) → nil
activate(X) → X
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
ISNATLIST(n__cons(n__s(x0), y1)) → U511(isNat(n__s(x0)), activate(y1))
POL( ISNATLIST(x1) ) = 2x1 + 2
POL( U511(x1, x2) ) = 2x2 + 2
POL( take(x1, x2) ) = x2
POL( 0 ) = 0
POL( U81(x1) ) = max{0, -2}
POL( isNatIList(x1) ) = max{0, -2}
POL( s(x1) ) = 2
POL( cons(x1, x2) ) = x1 + 2x2
POL( U91(x1, ..., x4) ) = 2x2 + x4
POL( activate(x1) ) = x1
POL( n__take(x1, x2) ) = x2
POL( length(x1) ) = x1 + 2
POL( nil ) = 0
POL( U71(x1, ..., x3) ) = 2
POL( isNatList(x1) ) = 2
POL( n__length(x1) ) = x1 + 2
POL( U21(x1) ) = max{0, -2}
POL( U41(x1, x2) ) = max{0, -2}
POL( U51(x1, x2) ) = 2
POL( U61(x1, x2) ) = 2
POL( U72(x1, x2) ) = 2
POL( U92(x1, ..., x4) ) = 2x2 + x4
POL( U93(x1, ..., x4) ) = 2x2 + x4
POL( isNat(x1) ) = 2x1 + 2
POL( n__0 ) = 0
POL( tt ) = 0
POL( U11(x1) ) = 1
POL( n__s(x1) ) = 2
POL( U31(x1) ) = max{0, -1}
POL( U42(x1) ) = 0
POL( U52(x1) ) = 2
POL( U62(x1) ) = max{0, -2}
POL( n__zeros ) = 0
POL( zeros ) = 0
POL( n__cons(x1, x2) ) = x1 + 2x2
POL( n__nil ) = 0
take(0, IL) → U81(isNatIList(IL))
take(s(M), cons(N, IL)) → U91(isNatIList(activate(IL)), activate(IL), M, N)
take(X1, X2) → n__take(X1, X2)
length(nil) → 0
length(cons(N, L)) → U71(isNatList(activate(L)), activate(L), N)
length(X) → n__length(X)
isNat(n__length(V1)) → U11(isNatList(activate(V1)))
isNat(n__s(V1)) → U21(isNat(activate(V1)))
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__nil) → nil
activate(X) → X
0 → n__0
U81(tt) → nil
isNatIList(V) → U31(isNatList(activate(V)))
U31(tt) → tt
isNatList(n__cons(V1, V2)) → U51(isNat(activate(V1)), activate(V2))
U11(tt) → tt
isNatList(n__take(V1, V2)) → U61(isNat(activate(V1)), activate(V2))
U21(tt) → tt
U61(tt, V2) → U62(isNatIList(activate(V2)))
U62(tt) → tt
isNatIList(n__cons(V1, V2)) → U41(isNat(activate(V1)), activate(V2))
U41(tt, V2) → U42(isNatIList(activate(V2)))
U42(tt) → tt
U51(tt, V2) → U52(isNatList(activate(V2)))
U52(tt) → tt
U71(tt, L, N) → U72(isNat(activate(N)), activate(L))
U72(tt, L) → s(length(activate(L)))
s(X) → n__s(X)
U91(tt, IL, M, N) → U92(isNat(activate(M)), activate(IL), activate(M), activate(N))
U92(tt, IL, M, N) → U93(isNat(activate(N)), activate(IL), activate(M), activate(N))
U93(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
cons(X1, X2) → n__cons(X1, X2)
zeros → cons(0, n__zeros)
zeros → n__zeros
nil → n__nil
U511(tt, n__take(x0, x1)) → ISNATLIST(take(x0, x1))
U511(tt, n__length(x0)) → ISNATLIST(length(x0))
ISNATLIST(n__cons(x0, y1)) → U511(isNat(x0), activate(y1))
U511(tt, x0) → ISNATLIST(x0)
ISNATLIST(n__cons(n__0, y0)) → U511(isNat(n__0), activate(y0))
U511(tt, n__cons(x0, x1)) → ISNATLIST(n__cons(x0, x1))
U511(tt, n__zeros) → ISNATLIST(n__cons(0, n__zeros))
U511(tt, n__zeros) → ISNATLIST(n__cons(n__0, n__zeros))
zeros → cons(0, n__zeros)
U11(tt) → tt
U21(tt) → tt
U31(tt) → tt
U41(tt, V2) → U42(isNatIList(activate(V2)))
U42(tt) → tt
U51(tt, V2) → U52(isNatList(activate(V2)))
U52(tt) → tt
U61(tt, V2) → U62(isNatIList(activate(V2)))
U62(tt) → tt
U71(tt, L, N) → U72(isNat(activate(N)), activate(L))
U72(tt, L) → s(length(activate(L)))
U81(tt) → nil
U91(tt, IL, M, N) → U92(isNat(activate(M)), activate(IL), activate(M), activate(N))
U92(tt, IL, M, N) → U93(isNat(activate(N)), activate(IL), activate(M), activate(N))
U93(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatList(activate(V1)))
isNat(n__s(V1)) → U21(isNat(activate(V1)))
isNatIList(V) → U31(isNatList(activate(V)))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → U41(isNat(activate(V1)), activate(V2))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(isNat(activate(V1)), activate(V2))
isNatList(n__take(V1, V2)) → U61(isNat(activate(V1)), activate(V2))
length(nil) → 0
length(cons(N, L)) → U71(isNatList(activate(L)), activate(L), N)
take(0, IL) → U81(isNatIList(IL))
take(s(M), cons(N, IL)) → U91(isNatIList(activate(IL)), activate(IL), M, N)
zeros → n__zeros
take(X1, X2) → n__take(X1, X2)
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
nil → n__nil
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__nil) → nil
activate(X) → X
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
U511(tt, n__length(x0)) → ISNATLIST(length(x0))
POL( ISNATLIST(x1) ) = x1
POL( U511(x1, x2) ) = max{0, x1 + 2x2 - 1}
POL( take(x1, x2) ) = max{0, -2}
POL( 0 ) = 0
POL( U81(x1) ) = max{0, x1 - 2}
POL( isNatIList(x1) ) = 2
POL( s(x1) ) = max{0, -2}
POL( cons(x1, x2) ) = 2x2
POL( U91(x1, ..., x4) ) = max{0, -1}
POL( activate(x1) ) = x1
POL( n__take(x1, x2) ) = max{0, -2}
POL( length(x1) ) = 2
POL( nil ) = 0
POL( U71(x1, ..., x3) ) = max{0, -2}
POL( isNatList(x1) ) = 1
POL( n__length(x1) ) = 2
POL( U21(x1) ) = 1
POL( U41(x1, x2) ) = x1
POL( U51(x1, x2) ) = max{0, 2x1 - 1}
POL( U61(x1, x2) ) = 1
POL( U72(x1, x2) ) = max{0, -2}
POL( U92(x1, ..., x4) ) = max{0, -1}
POL( U93(x1, ..., x4) ) = max{0, -1}
POL( isNat(x1) ) = 1
POL( n__0 ) = 0
POL( tt ) = 1
POL( U11(x1) ) = max{0, 2x1 - 1}
POL( n__s(x1) ) = max{0, -1}
POL( U31(x1) ) = 1
POL( U42(x1) ) = 1
POL( U52(x1) ) = 1
POL( U62(x1) ) = 1
POL( n__zeros ) = 0
POL( zeros ) = 0
POL( n__cons(x1, x2) ) = 2x2
POL( n__nil ) = 0
take(0, IL) → U81(isNatIList(IL))
take(s(M), cons(N, IL)) → U91(isNatIList(activate(IL)), activate(IL), M, N)
take(X1, X2) → n__take(X1, X2)
length(nil) → 0
length(cons(N, L)) → U71(isNatList(activate(L)), activate(L), N)
length(X) → n__length(X)
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatList(activate(V1)))
isNat(n__s(V1)) → U21(isNat(activate(V1)))
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__nil) → nil
activate(X) → X
0 → n__0
isNatIList(n__zeros) → tt
U81(tt) → nil
isNatIList(V) → U31(isNatList(activate(V)))
isNatList(n__nil) → tt
U31(tt) → tt
isNatList(n__cons(V1, V2)) → U51(isNat(activate(V1)), activate(V2))
U11(tt) → tt
isNatList(n__take(V1, V2)) → U61(isNat(activate(V1)), activate(V2))
U21(tt) → tt
U61(tt, V2) → U62(isNatIList(activate(V2)))
U62(tt) → tt
isNatIList(n__cons(V1, V2)) → U41(isNat(activate(V1)), activate(V2))
U41(tt, V2) → U42(isNatIList(activate(V2)))
U42(tt) → tt
U51(tt, V2) → U52(isNatList(activate(V2)))
U52(tt) → tt
U71(tt, L, N) → U72(isNat(activate(N)), activate(L))
U72(tt, L) → s(length(activate(L)))
s(X) → n__s(X)
U91(tt, IL, M, N) → U92(isNat(activate(M)), activate(IL), activate(M), activate(N))
U92(tt, IL, M, N) → U93(isNat(activate(N)), activate(IL), activate(M), activate(N))
U93(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
cons(X1, X2) → n__cons(X1, X2)
zeros → cons(0, n__zeros)
zeros → n__zeros
nil → n__nil
U511(tt, n__take(x0, x1)) → ISNATLIST(take(x0, x1))
ISNATLIST(n__cons(x0, y1)) → U511(isNat(x0), activate(y1))
U511(tt, x0) → ISNATLIST(x0)
ISNATLIST(n__cons(n__0, y0)) → U511(isNat(n__0), activate(y0))
U511(tt, n__cons(x0, x1)) → ISNATLIST(n__cons(x0, x1))
U511(tt, n__zeros) → ISNATLIST(n__cons(0, n__zeros))
U511(tt, n__zeros) → ISNATLIST(n__cons(n__0, n__zeros))
zeros → cons(0, n__zeros)
U11(tt) → tt
U21(tt) → tt
U31(tt) → tt
U41(tt, V2) → U42(isNatIList(activate(V2)))
U42(tt) → tt
U51(tt, V2) → U52(isNatList(activate(V2)))
U52(tt) → tt
U61(tt, V2) → U62(isNatIList(activate(V2)))
U62(tt) → tt
U71(tt, L, N) → U72(isNat(activate(N)), activate(L))
U72(tt, L) → s(length(activate(L)))
U81(tt) → nil
U91(tt, IL, M, N) → U92(isNat(activate(M)), activate(IL), activate(M), activate(N))
U92(tt, IL, M, N) → U93(isNat(activate(N)), activate(IL), activate(M), activate(N))
U93(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatList(activate(V1)))
isNat(n__s(V1)) → U21(isNat(activate(V1)))
isNatIList(V) → U31(isNatList(activate(V)))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → U41(isNat(activate(V1)), activate(V2))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(isNat(activate(V1)), activate(V2))
isNatList(n__take(V1, V2)) → U61(isNat(activate(V1)), activate(V2))
length(nil) → 0
length(cons(N, L)) → U71(isNatList(activate(L)), activate(L), N)
take(0, IL) → U81(isNatIList(IL))
take(s(M), cons(N, IL)) → U91(isNatIList(activate(IL)), activate(IL), M, N)
zeros → n__zeros
take(X1, X2) → n__take(X1, X2)
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
nil → n__nil
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__nil) → nil
activate(X) → X
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
U511(tt, n__take(x0, x1)) → ISNATLIST(take(x0, x1))
POL(U511(x1, x2)) = 0A + 0A · x1 + 1A · x2
POL(tt) = 2A
POL(n__take(x1, x2)) = 2A + 0A · x1 + 0A · x2
POL(ISNATLIST(x1)) = 2A + 0A · x1
POL(take(x1, x2)) = 2A + 0A · x1 + 0A · x2
POL(n__cons(x1, x2)) = 1A + 1A · x1 + 1A · x2
POL(isNat(x1)) = 2A + 1A · x1
POL(activate(x1)) = 1A + 0A · x1
POL(n__0) = 0A
POL(n__zeros) = 0A
POL(0) = 0A
POL(U81(x1)) = 2A + -I · x1
POL(isNatIList(x1)) = 1A + 1A · x1
POL(s(x1)) = 3A + 1A · x1
POL(cons(x1, x2)) = 1A + 1A · x1 + 1A · x2
POL(U91(x1, x2, x3, x4)) = 3A + -I · x1 + 1A · x2 + 1A · x3 + 1A · x4
POL(n__length(x1)) = 2A + 0A · x1
POL(U11(x1)) = 2A + -I · x1
POL(isNatList(x1)) = -I + 0A · x1
POL(n__s(x1)) = 3A + 1A · x1
POL(U21(x1)) = 4A + 1A · x1
POL(zeros) = 1A
POL(length(x1)) = 2A + 0A · x1
POL(n__nil) = 2A
POL(nil) = 2A
POL(U31(x1)) = -I + 0A · x1
POL(U71(x1, x2, x3)) = -I + 1A · x1 + 1A · x2 + 1A · x3
POL(U51(x1, x2)) = 1A + -I · x1 + 0A · x2
POL(U61(x1, x2)) = 2A + -I · x1 + 0A · x2
POL(U62(x1)) = 2A + -I · x1
POL(U41(x1, x2)) = 2A + -I · x1 + 0A · x2
POL(U42(x1)) = 2A + -I · x1
POL(U52(x1)) = -I + 0A · x1
POL(U72(x1, x2)) = 3A + 0A · x1 + 1A · x2
POL(U92(x1, x2, x3, x4)) = 3A + 0A · x1 + 1A · x2 + 1A · x3 + 1A · x4
POL(U93(x1, x2, x3, x4)) = 3A + 0A · x1 + 1A · x2 + 1A · x3 + 1A · x4
take(0, IL) → U81(isNatIList(IL))
take(s(M), cons(N, IL)) → U91(isNatIList(activate(IL)), activate(IL), M, N)
take(X1, X2) → n__take(X1, X2)
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatList(activate(V1)))
isNat(n__s(V1)) → U21(isNat(activate(V1)))
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__nil) → nil
activate(X) → X
0 → n__0
U81(tt) → nil
isNatIList(V) → U31(isNatList(activate(V)))
isNatList(n__nil) → tt
U31(tt) → tt
length(nil) → 0
length(X) → n__length(X)
length(cons(N, L)) → U71(isNatList(activate(L)), activate(L), N)
isNatList(n__cons(V1, V2)) → U51(isNat(activate(V1)), activate(V2))
U11(tt) → tt
isNatList(n__take(V1, V2)) → U61(isNat(activate(V1)), activate(V2))
U21(tt) → tt
U61(tt, V2) → U62(isNatIList(activate(V2)))
U62(tt) → tt
isNatIList(n__cons(V1, V2)) → U41(isNat(activate(V1)), activate(V2))
U41(tt, V2) → U42(isNatIList(activate(V2)))
U42(tt) → tt
U51(tt, V2) → U52(isNatList(activate(V2)))
U52(tt) → tt
U71(tt, L, N) → U72(isNat(activate(N)), activate(L))
U72(tt, L) → s(length(activate(L)))
s(X) → n__s(X)
U91(tt, IL, M, N) → U92(isNat(activate(M)), activate(IL), activate(M), activate(N))
U92(tt, IL, M, N) → U93(isNat(activate(N)), activate(IL), activate(M), activate(N))
U93(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
cons(X1, X2) → n__cons(X1, X2)
zeros → cons(0, n__zeros)
zeros → n__zeros
nil → n__nil
ISNATLIST(n__cons(x0, y1)) → U511(isNat(x0), activate(y1))
U511(tt, x0) → ISNATLIST(x0)
ISNATLIST(n__cons(n__0, y0)) → U511(isNat(n__0), activate(y0))
U511(tt, n__cons(x0, x1)) → ISNATLIST(n__cons(x0, x1))
U511(tt, n__zeros) → ISNATLIST(n__cons(0, n__zeros))
U511(tt, n__zeros) → ISNATLIST(n__cons(n__0, n__zeros))
zeros → cons(0, n__zeros)
U11(tt) → tt
U21(tt) → tt
U31(tt) → tt
U41(tt, V2) → U42(isNatIList(activate(V2)))
U42(tt) → tt
U51(tt, V2) → U52(isNatList(activate(V2)))
U52(tt) → tt
U61(tt, V2) → U62(isNatIList(activate(V2)))
U62(tt) → tt
U71(tt, L, N) → U72(isNat(activate(N)), activate(L))
U72(tt, L) → s(length(activate(L)))
U81(tt) → nil
U91(tt, IL, M, N) → U92(isNat(activate(M)), activate(IL), activate(M), activate(N))
U92(tt, IL, M, N) → U93(isNat(activate(N)), activate(IL), activate(M), activate(N))
U93(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatList(activate(V1)))
isNat(n__s(V1)) → U21(isNat(activate(V1)))
isNatIList(V) → U31(isNatList(activate(V)))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → U41(isNat(activate(V1)), activate(V2))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(isNat(activate(V1)), activate(V2))
isNatList(n__take(V1, V2)) → U61(isNat(activate(V1)), activate(V2))
length(nil) → 0
length(cons(N, L)) → U71(isNatList(activate(L)), activate(L), N)
take(0, IL) → U81(isNatIList(IL))
take(s(M), cons(N, IL)) → U91(isNatIList(activate(IL)), activate(IL), M, N)
zeros → n__zeros
take(X1, X2) → n__take(X1, X2)
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
nil → n__nil
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__nil) → nil
activate(X) → X
LENGTH(cons(N, L)) → U711(isNatList(activate(L)), activate(L), N)
U711(tt, L, N) → U721(isNat(activate(N)), activate(L))
U721(tt, L) → LENGTH(activate(L))
zeros → cons(0, n__zeros)
U11(tt) → tt
U21(tt) → tt
U31(tt) → tt
U41(tt, V2) → U42(isNatIList(activate(V2)))
U42(tt) → tt
U51(tt, V2) → U52(isNatList(activate(V2)))
U52(tt) → tt
U61(tt, V2) → U62(isNatIList(activate(V2)))
U62(tt) → tt
U71(tt, L, N) → U72(isNat(activate(N)), activate(L))
U72(tt, L) → s(length(activate(L)))
U81(tt) → nil
U91(tt, IL, M, N) → U92(isNat(activate(M)), activate(IL), activate(M), activate(N))
U92(tt, IL, M, N) → U93(isNat(activate(N)), activate(IL), activate(M), activate(N))
U93(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatList(activate(V1)))
isNat(n__s(V1)) → U21(isNat(activate(V1)))
isNatIList(V) → U31(isNatList(activate(V)))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → U41(isNat(activate(V1)), activate(V2))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(isNat(activate(V1)), activate(V2))
isNatList(n__take(V1, V2)) → U61(isNat(activate(V1)), activate(V2))
length(nil) → 0
length(cons(N, L)) → U71(isNatList(activate(L)), activate(L), N)
take(0, IL) → U81(isNatIList(IL))
take(s(M), cons(N, IL)) → U91(isNatIList(activate(IL)), activate(IL), M, N)
zeros → n__zeros
take(X1, X2) → n__take(X1, X2)
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
nil → n__nil
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__nil) → nil
activate(X) → X
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
U711(tt, L, N) → U721(isNat(activate(N)), activate(L))
POL( LENGTH(x1) ) = x1
POL( U711(x1, ..., x3) ) = x1 + x2
POL( U721(x1, x2) ) = x2
POL( U41(x1, x2) ) = 1
POL( U51(x1, x2) ) = 2x2
POL( U61(x1, x2) ) = x1
POL( U71(x1, ..., x3) ) = 2x2
POL( U72(x1, x2) ) = 2x2
POL( U91(x1, ..., x4) ) = 2x3
POL( U92(x1, ..., x4) ) = 2x3
POL( U93(x1, ..., x4) ) = 2x3
POL( cons(x1, x2) ) = 2x2
POL( isNatList(x1) ) = x1
POL( isNat(x1) ) = x1
POL( U11(x1) ) = x1
POL( U21(x1) ) = max{0, 2x1 - 1}
POL( U31(x1) ) = 1
POL( U42(x1) ) = 1
POL( isNatIList(x1) ) = 1
POL( U52(x1) ) = max{0, 2x1 - 1}
POL( U62(x1) ) = 1
POL( n__take(x1, x2) ) = x1
POL( length(x1) ) = x1
POL( s(x1) ) = 2x1
POL( activate(x1) ) = x1
POL( n__zeros ) = 0
POL( zeros ) = 0
POL( take(x1, x2) ) = x1
POL( n__0 ) = 1
POL( 0 ) = 1
POL( n__length(x1) ) = x1
POL( n__s(x1) ) = 2x1
POL( n__cons(x1, x2) ) = 2x2
POL( n__nil ) = 1
POL( nil ) = 1
POL( tt ) = 1
POL( U81(x1) ) = 1
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__nil) → nil
activate(X) → X
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(isNat(activate(V1)), activate(V2))
isNatList(n__take(V1, V2)) → U61(isNat(activate(V1)), activate(V2))
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatList(activate(V1)))
isNat(n__s(V1)) → U21(isNat(activate(V1)))
take(X1, X2) → n__take(X1, X2)
take(0, IL) → U81(isNatIList(IL))
U81(tt) → nil
isNatIList(V) → U31(isNatList(activate(V)))
U31(tt) → tt
length(nil) → 0
length(X) → n__length(X)
length(cons(N, L)) → U71(isNatList(activate(L)), activate(L), N)
U11(tt) → tt
U21(tt) → tt
U61(tt, V2) → U62(isNatIList(activate(V2)))
U62(tt) → tt
isNatIList(n__cons(V1, V2)) → U41(isNat(activate(V1)), activate(V2))
U41(tt, V2) → U42(isNatIList(activate(V2)))
U42(tt) → tt
U51(tt, V2) → U52(isNatList(activate(V2)))
U52(tt) → tt
U71(tt, L, N) → U72(isNat(activate(N)), activate(L))
U72(tt, L) → s(length(activate(L)))
s(X) → n__s(X)
take(s(M), cons(N, IL)) → U91(isNatIList(activate(IL)), activate(IL), M, N)
U91(tt, IL, M, N) → U92(isNat(activate(M)), activate(IL), activate(M), activate(N))
U92(tt, IL, M, N) → U93(isNat(activate(N)), activate(IL), activate(M), activate(N))
U93(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
cons(X1, X2) → n__cons(X1, X2)
zeros → cons(0, n__zeros)
zeros → n__zeros
0 → n__0
nil → n__nil
LENGTH(cons(N, L)) → U711(isNatList(activate(L)), activate(L), N)
U721(tt, L) → LENGTH(activate(L))
zeros → cons(0, n__zeros)
U11(tt) → tt
U21(tt) → tt
U31(tt) → tt
U41(tt, V2) → U42(isNatIList(activate(V2)))
U42(tt) → tt
U51(tt, V2) → U52(isNatList(activate(V2)))
U52(tt) → tt
U61(tt, V2) → U62(isNatIList(activate(V2)))
U62(tt) → tt
U71(tt, L, N) → U72(isNat(activate(N)), activate(L))
U72(tt, L) → s(length(activate(L)))
U81(tt) → nil
U91(tt, IL, M, N) → U92(isNat(activate(M)), activate(IL), activate(M), activate(N))
U92(tt, IL, M, N) → U93(isNat(activate(N)), activate(IL), activate(M), activate(N))
U93(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatList(activate(V1)))
isNat(n__s(V1)) → U21(isNat(activate(V1)))
isNatIList(V) → U31(isNatList(activate(V)))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → U41(isNat(activate(V1)), activate(V2))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(isNat(activate(V1)), activate(V2))
isNatList(n__take(V1, V2)) → U61(isNat(activate(V1)), activate(V2))
length(nil) → 0
length(cons(N, L)) → U71(isNatList(activate(L)), activate(L), N)
take(0, IL) → U81(isNatIList(IL))
take(s(M), cons(N, IL)) → U91(isNatIList(activate(IL)), activate(IL), M, N)
zeros → n__zeros
take(X1, X2) → n__take(X1, X2)
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
nil → n__nil
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__nil) → nil
activate(X) → X
ISNATILIST(n__cons(V1, V2)) → U411(isNat(activate(V1)), activate(V2))
U411(tt, V2) → ISNATILIST(activate(V2))
zeros → cons(0, n__zeros)
U11(tt) → tt
U21(tt) → tt
U31(tt) → tt
U41(tt, V2) → U42(isNatIList(activate(V2)))
U42(tt) → tt
U51(tt, V2) → U52(isNatList(activate(V2)))
U52(tt) → tt
U61(tt, V2) → U62(isNatIList(activate(V2)))
U62(tt) → tt
U71(tt, L, N) → U72(isNat(activate(N)), activate(L))
U72(tt, L) → s(length(activate(L)))
U81(tt) → nil
U91(tt, IL, M, N) → U92(isNat(activate(M)), activate(IL), activate(M), activate(N))
U92(tt, IL, M, N) → U93(isNat(activate(N)), activate(IL), activate(M), activate(N))
U93(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatList(activate(V1)))
isNat(n__s(V1)) → U21(isNat(activate(V1)))
isNatIList(V) → U31(isNatList(activate(V)))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → U41(isNat(activate(V1)), activate(V2))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(isNat(activate(V1)), activate(V2))
isNatList(n__take(V1, V2)) → U61(isNat(activate(V1)), activate(V2))
length(nil) → 0
length(cons(N, L)) → U71(isNatList(activate(L)), activate(L), N)
take(0, IL) → U81(isNatIList(IL))
take(s(M), cons(N, IL)) → U91(isNatIList(activate(IL)), activate(IL), M, N)
zeros → n__zeros
take(X1, X2) → n__take(X1, X2)
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
nil → n__nil
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__nil) → nil
activate(X) → X
ISNATILIST(n__cons(n__zeros, y1)) → U411(isNat(zeros), activate(y1))
ISNATILIST(n__cons(n__take(x0, x1), y1)) → U411(isNat(take(x0, x1)), activate(y1))
ISNATILIST(n__cons(n__0, y1)) → U411(isNat(0), activate(y1))
ISNATILIST(n__cons(n__length(x0), y1)) → U411(isNat(length(x0)), activate(y1))
ISNATILIST(n__cons(n__s(x0), y1)) → U411(isNat(s(x0)), activate(y1))
ISNATILIST(n__cons(n__cons(x0, x1), y1)) → U411(isNat(cons(x0, x1)), activate(y1))
ISNATILIST(n__cons(n__nil, y1)) → U411(isNat(nil), activate(y1))
ISNATILIST(n__cons(x0, y1)) → U411(isNat(x0), activate(y1))
U411(tt, V2) → ISNATILIST(activate(V2))
ISNATILIST(n__cons(n__zeros, y1)) → U411(isNat(zeros), activate(y1))
ISNATILIST(n__cons(n__take(x0, x1), y1)) → U411(isNat(take(x0, x1)), activate(y1))
ISNATILIST(n__cons(n__0, y1)) → U411(isNat(0), activate(y1))
ISNATILIST(n__cons(n__length(x0), y1)) → U411(isNat(length(x0)), activate(y1))
ISNATILIST(n__cons(n__s(x0), y1)) → U411(isNat(s(x0)), activate(y1))
ISNATILIST(n__cons(n__cons(x0, x1), y1)) → U411(isNat(cons(x0, x1)), activate(y1))
ISNATILIST(n__cons(n__nil, y1)) → U411(isNat(nil), activate(y1))
ISNATILIST(n__cons(x0, y1)) → U411(isNat(x0), activate(y1))
zeros → cons(0, n__zeros)
U11(tt) → tt
U21(tt) → tt
U31(tt) → tt
U41(tt, V2) → U42(isNatIList(activate(V2)))
U42(tt) → tt
U51(tt, V2) → U52(isNatList(activate(V2)))
U52(tt) → tt
U61(tt, V2) → U62(isNatIList(activate(V2)))
U62(tt) → tt
U71(tt, L, N) → U72(isNat(activate(N)), activate(L))
U72(tt, L) → s(length(activate(L)))
U81(tt) → nil
U91(tt, IL, M, N) → U92(isNat(activate(M)), activate(IL), activate(M), activate(N))
U92(tt, IL, M, N) → U93(isNat(activate(N)), activate(IL), activate(M), activate(N))
U93(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatList(activate(V1)))
isNat(n__s(V1)) → U21(isNat(activate(V1)))
isNatIList(V) → U31(isNatList(activate(V)))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → U41(isNat(activate(V1)), activate(V2))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(isNat(activate(V1)), activate(V2))
isNatList(n__take(V1, V2)) → U61(isNat(activate(V1)), activate(V2))
length(nil) → 0
length(cons(N, L)) → U71(isNatList(activate(L)), activate(L), N)
take(0, IL) → U81(isNatIList(IL))
take(s(M), cons(N, IL)) → U91(isNatIList(activate(IL)), activate(IL), M, N)
zeros → n__zeros
take(X1, X2) → n__take(X1, X2)
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
nil → n__nil
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__nil) → nil
activate(X) → X
U411(tt, n__zeros) → ISNATILIST(zeros)
U411(tt, n__take(x0, x1)) → ISNATILIST(take(x0, x1))
U411(tt, n__0) → ISNATILIST(0)
U411(tt, n__length(x0)) → ISNATILIST(length(x0))
U411(tt, n__s(x0)) → ISNATILIST(s(x0))
U411(tt, n__cons(x0, x1)) → ISNATILIST(cons(x0, x1))
U411(tt, n__nil) → ISNATILIST(nil)
U411(tt, x0) → ISNATILIST(x0)
ISNATILIST(n__cons(n__zeros, y1)) → U411(isNat(zeros), activate(y1))
ISNATILIST(n__cons(n__take(x0, x1), y1)) → U411(isNat(take(x0, x1)), activate(y1))
ISNATILIST(n__cons(n__0, y1)) → U411(isNat(0), activate(y1))
ISNATILIST(n__cons(n__length(x0), y1)) → U411(isNat(length(x0)), activate(y1))
ISNATILIST(n__cons(n__s(x0), y1)) → U411(isNat(s(x0)), activate(y1))
ISNATILIST(n__cons(n__cons(x0, x1), y1)) → U411(isNat(cons(x0, x1)), activate(y1))
ISNATILIST(n__cons(n__nil, y1)) → U411(isNat(nil), activate(y1))
ISNATILIST(n__cons(x0, y1)) → U411(isNat(x0), activate(y1))
U411(tt, n__zeros) → ISNATILIST(zeros)
U411(tt, n__take(x0, x1)) → ISNATILIST(take(x0, x1))
U411(tt, n__0) → ISNATILIST(0)
U411(tt, n__length(x0)) → ISNATILIST(length(x0))
U411(tt, n__s(x0)) → ISNATILIST(s(x0))
U411(tt, n__cons(x0, x1)) → ISNATILIST(cons(x0, x1))
U411(tt, n__nil) → ISNATILIST(nil)
U411(tt, x0) → ISNATILIST(x0)
zeros → cons(0, n__zeros)
U11(tt) → tt
U21(tt) → tt
U31(tt) → tt
U41(tt, V2) → U42(isNatIList(activate(V2)))
U42(tt) → tt
U51(tt, V2) → U52(isNatList(activate(V2)))
U52(tt) → tt
U61(tt, V2) → U62(isNatIList(activate(V2)))
U62(tt) → tt
U71(tt, L, N) → U72(isNat(activate(N)), activate(L))
U72(tt, L) → s(length(activate(L)))
U81(tt) → nil
U91(tt, IL, M, N) → U92(isNat(activate(M)), activate(IL), activate(M), activate(N))
U92(tt, IL, M, N) → U93(isNat(activate(N)), activate(IL), activate(M), activate(N))
U93(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatList(activate(V1)))
isNat(n__s(V1)) → U21(isNat(activate(V1)))
isNatIList(V) → U31(isNatList(activate(V)))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → U41(isNat(activate(V1)), activate(V2))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(isNat(activate(V1)), activate(V2))
isNatList(n__take(V1, V2)) → U61(isNat(activate(V1)), activate(V2))
length(nil) → 0
length(cons(N, L)) → U71(isNatList(activate(L)), activate(L), N)
take(0, IL) → U81(isNatIList(IL))
take(s(M), cons(N, IL)) → U91(isNatIList(activate(IL)), activate(IL), M, N)
zeros → n__zeros
take(X1, X2) → n__take(X1, X2)
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
nil → n__nil
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__nil) → nil
activate(X) → X
ISNATILIST(n__cons(n__zeros, y0)) → U411(isNat(cons(0, n__zeros)), activate(y0))
ISNATILIST(n__cons(n__zeros, y0)) → U411(isNat(n__zeros), activate(y0))
ISNATILIST(n__cons(n__take(x0, x1), y1)) → U411(isNat(take(x0, x1)), activate(y1))
ISNATILIST(n__cons(n__0, y1)) → U411(isNat(0), activate(y1))
ISNATILIST(n__cons(n__length(x0), y1)) → U411(isNat(length(x0)), activate(y1))
ISNATILIST(n__cons(n__s(x0), y1)) → U411(isNat(s(x0)), activate(y1))
ISNATILIST(n__cons(n__cons(x0, x1), y1)) → U411(isNat(cons(x0, x1)), activate(y1))
ISNATILIST(n__cons(n__nil, y1)) → U411(isNat(nil), activate(y1))
ISNATILIST(n__cons(x0, y1)) → U411(isNat(x0), activate(y1))
U411(tt, n__zeros) → ISNATILIST(zeros)
U411(tt, n__take(x0, x1)) → ISNATILIST(take(x0, x1))
U411(tt, n__0) → ISNATILIST(0)
U411(tt, n__length(x0)) → ISNATILIST(length(x0))
U411(tt, n__s(x0)) → ISNATILIST(s(x0))
U411(tt, n__cons(x0, x1)) → ISNATILIST(cons(x0, x1))
U411(tt, n__nil) → ISNATILIST(nil)
U411(tt, x0) → ISNATILIST(x0)
ISNATILIST(n__cons(n__zeros, y0)) → U411(isNat(cons(0, n__zeros)), activate(y0))
ISNATILIST(n__cons(n__zeros, y0)) → U411(isNat(n__zeros), activate(y0))
zeros → cons(0, n__zeros)
U11(tt) → tt
U21(tt) → tt
U31(tt) → tt
U41(tt, V2) → U42(isNatIList(activate(V2)))
U42(tt) → tt
U51(tt, V2) → U52(isNatList(activate(V2)))
U52(tt) → tt
U61(tt, V2) → U62(isNatIList(activate(V2)))
U62(tt) → tt
U71(tt, L, N) → U72(isNat(activate(N)), activate(L))
U72(tt, L) → s(length(activate(L)))
U81(tt) → nil
U91(tt, IL, M, N) → U92(isNat(activate(M)), activate(IL), activate(M), activate(N))
U92(tt, IL, M, N) → U93(isNat(activate(N)), activate(IL), activate(M), activate(N))
U93(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatList(activate(V1)))
isNat(n__s(V1)) → U21(isNat(activate(V1)))
isNatIList(V) → U31(isNatList(activate(V)))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → U41(isNat(activate(V1)), activate(V2))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(isNat(activate(V1)), activate(V2))
isNatList(n__take(V1, V2)) → U61(isNat(activate(V1)), activate(V2))
length(nil) → 0
length(cons(N, L)) → U71(isNatList(activate(L)), activate(L), N)
take(0, IL) → U81(isNatIList(IL))
take(s(M), cons(N, IL)) → U91(isNatIList(activate(IL)), activate(IL), M, N)
zeros → n__zeros
take(X1, X2) → n__take(X1, X2)
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
nil → n__nil
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__nil) → nil
activate(X) → X
U411(tt, n__zeros) → ISNATILIST(zeros)
ISNATILIST(n__cons(n__take(x0, x1), y1)) → U411(isNat(take(x0, x1)), activate(y1))
U411(tt, n__take(x0, x1)) → ISNATILIST(take(x0, x1))
ISNATILIST(n__cons(n__0, y1)) → U411(isNat(0), activate(y1))
U411(tt, n__0) → ISNATILIST(0)
ISNATILIST(n__cons(n__length(x0), y1)) → U411(isNat(length(x0)), activate(y1))
U411(tt, n__length(x0)) → ISNATILIST(length(x0))
ISNATILIST(n__cons(n__s(x0), y1)) → U411(isNat(s(x0)), activate(y1))
U411(tt, n__s(x0)) → ISNATILIST(s(x0))
ISNATILIST(n__cons(n__cons(x0, x1), y1)) → U411(isNat(cons(x0, x1)), activate(y1))
U411(tt, n__cons(x0, x1)) → ISNATILIST(cons(x0, x1))
ISNATILIST(n__cons(n__nil, y1)) → U411(isNat(nil), activate(y1))
U411(tt, n__nil) → ISNATILIST(nil)
ISNATILIST(n__cons(x0, y1)) → U411(isNat(x0), activate(y1))
U411(tt, x0) → ISNATILIST(x0)
ISNATILIST(n__cons(n__zeros, y0)) → U411(isNat(cons(0, n__zeros)), activate(y0))
zeros → cons(0, n__zeros)
U11(tt) → tt
U21(tt) → tt
U31(tt) → tt
U41(tt, V2) → U42(isNatIList(activate(V2)))
U42(tt) → tt
U51(tt, V2) → U52(isNatList(activate(V2)))
U52(tt) → tt
U61(tt, V2) → U62(isNatIList(activate(V2)))
U62(tt) → tt
U71(tt, L, N) → U72(isNat(activate(N)), activate(L))
U72(tt, L) → s(length(activate(L)))
U81(tt) → nil
U91(tt, IL, M, N) → U92(isNat(activate(M)), activate(IL), activate(M), activate(N))
U92(tt, IL, M, N) → U93(isNat(activate(N)), activate(IL), activate(M), activate(N))
U93(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatList(activate(V1)))
isNat(n__s(V1)) → U21(isNat(activate(V1)))
isNatIList(V) → U31(isNatList(activate(V)))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → U41(isNat(activate(V1)), activate(V2))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(isNat(activate(V1)), activate(V2))
isNatList(n__take(V1, V2)) → U61(isNat(activate(V1)), activate(V2))
length(nil) → 0
length(cons(N, L)) → U71(isNatList(activate(L)), activate(L), N)
take(0, IL) → U81(isNatIList(IL))
take(s(M), cons(N, IL)) → U91(isNatIList(activate(IL)), activate(IL), M, N)
zeros → n__zeros
take(X1, X2) → n__take(X1, X2)
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
nil → n__nil
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__nil) → nil
activate(X) → X
U411(tt, n__zeros) → ISNATILIST(cons(0, n__zeros))
U411(tt, n__zeros) → ISNATILIST(n__zeros)
ISNATILIST(n__cons(n__take(x0, x1), y1)) → U411(isNat(take(x0, x1)), activate(y1))
U411(tt, n__take(x0, x1)) → ISNATILIST(take(x0, x1))
ISNATILIST(n__cons(n__0, y1)) → U411(isNat(0), activate(y1))
U411(tt, n__0) → ISNATILIST(0)
ISNATILIST(n__cons(n__length(x0), y1)) → U411(isNat(length(x0)), activate(y1))
U411(tt, n__length(x0)) → ISNATILIST(length(x0))
ISNATILIST(n__cons(n__s(x0), y1)) → U411(isNat(s(x0)), activate(y1))
U411(tt, n__s(x0)) → ISNATILIST(s(x0))
ISNATILIST(n__cons(n__cons(x0, x1), y1)) → U411(isNat(cons(x0, x1)), activate(y1))
U411(tt, n__cons(x0, x1)) → ISNATILIST(cons(x0, x1))
ISNATILIST(n__cons(n__nil, y1)) → U411(isNat(nil), activate(y1))
U411(tt, n__nil) → ISNATILIST(nil)
ISNATILIST(n__cons(x0, y1)) → U411(isNat(x0), activate(y1))
U411(tt, x0) → ISNATILIST(x0)
ISNATILIST(n__cons(n__zeros, y0)) → U411(isNat(cons(0, n__zeros)), activate(y0))
U411(tt, n__zeros) → ISNATILIST(cons(0, n__zeros))
U411(tt, n__zeros) → ISNATILIST(n__zeros)
zeros → cons(0, n__zeros)
U11(tt) → tt
U21(tt) → tt
U31(tt) → tt
U41(tt, V2) → U42(isNatIList(activate(V2)))
U42(tt) → tt
U51(tt, V2) → U52(isNatList(activate(V2)))
U52(tt) → tt
U61(tt, V2) → U62(isNatIList(activate(V2)))
U62(tt) → tt
U71(tt, L, N) → U72(isNat(activate(N)), activate(L))
U72(tt, L) → s(length(activate(L)))
U81(tt) → nil
U91(tt, IL, M, N) → U92(isNat(activate(M)), activate(IL), activate(M), activate(N))
U92(tt, IL, M, N) → U93(isNat(activate(N)), activate(IL), activate(M), activate(N))
U93(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatList(activate(V1)))
isNat(n__s(V1)) → U21(isNat(activate(V1)))
isNatIList(V) → U31(isNatList(activate(V)))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → U41(isNat(activate(V1)), activate(V2))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(isNat(activate(V1)), activate(V2))
isNatList(n__take(V1, V2)) → U61(isNat(activate(V1)), activate(V2))
length(nil) → 0
length(cons(N, L)) → U71(isNatList(activate(L)), activate(L), N)
take(0, IL) → U81(isNatIList(IL))
take(s(M), cons(N, IL)) → U91(isNatIList(activate(IL)), activate(IL), M, N)
zeros → n__zeros
take(X1, X2) → n__take(X1, X2)
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
nil → n__nil
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__nil) → nil
activate(X) → X
U411(tt, n__take(x0, x1)) → ISNATILIST(take(x0, x1))
ISNATILIST(n__cons(n__take(x0, x1), y1)) → U411(isNat(take(x0, x1)), activate(y1))
U411(tt, n__0) → ISNATILIST(0)
ISNATILIST(n__cons(n__0, y1)) → U411(isNat(0), activate(y1))
U411(tt, n__length(x0)) → ISNATILIST(length(x0))
ISNATILIST(n__cons(n__length(x0), y1)) → U411(isNat(length(x0)), activate(y1))
U411(tt, n__s(x0)) → ISNATILIST(s(x0))
ISNATILIST(n__cons(n__s(x0), y1)) → U411(isNat(s(x0)), activate(y1))
U411(tt, n__cons(x0, x1)) → ISNATILIST(cons(x0, x1))
ISNATILIST(n__cons(n__cons(x0, x1), y1)) → U411(isNat(cons(x0, x1)), activate(y1))
U411(tt, n__nil) → ISNATILIST(nil)
ISNATILIST(n__cons(n__nil, y1)) → U411(isNat(nil), activate(y1))
U411(tt, x0) → ISNATILIST(x0)
ISNATILIST(n__cons(x0, y1)) → U411(isNat(x0), activate(y1))
U411(tt, n__zeros) → ISNATILIST(cons(0, n__zeros))
ISNATILIST(n__cons(n__zeros, y0)) → U411(isNat(cons(0, n__zeros)), activate(y0))
zeros → cons(0, n__zeros)
U11(tt) → tt
U21(tt) → tt
U31(tt) → tt
U41(tt, V2) → U42(isNatIList(activate(V2)))
U42(tt) → tt
U51(tt, V2) → U52(isNatList(activate(V2)))
U52(tt) → tt
U61(tt, V2) → U62(isNatIList(activate(V2)))
U62(tt) → tt
U71(tt, L, N) → U72(isNat(activate(N)), activate(L))
U72(tt, L) → s(length(activate(L)))
U81(tt) → nil
U91(tt, IL, M, N) → U92(isNat(activate(M)), activate(IL), activate(M), activate(N))
U92(tt, IL, M, N) → U93(isNat(activate(N)), activate(IL), activate(M), activate(N))
U93(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatList(activate(V1)))
isNat(n__s(V1)) → U21(isNat(activate(V1)))
isNatIList(V) → U31(isNatList(activate(V)))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → U41(isNat(activate(V1)), activate(V2))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(isNat(activate(V1)), activate(V2))
isNatList(n__take(V1, V2)) → U61(isNat(activate(V1)), activate(V2))
length(nil) → 0
length(cons(N, L)) → U71(isNatList(activate(L)), activate(L), N)
take(0, IL) → U81(isNatIList(IL))
take(s(M), cons(N, IL)) → U91(isNatIList(activate(IL)), activate(IL), M, N)
zeros → n__zeros
take(X1, X2) → n__take(X1, X2)
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
nil → n__nil
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__nil) → nil
activate(X) → X
U411(tt, n__0) → ISNATILIST(n__0)
U411(tt, n__take(x0, x1)) → ISNATILIST(take(x0, x1))
ISNATILIST(n__cons(n__take(x0, x1), y1)) → U411(isNat(take(x0, x1)), activate(y1))
ISNATILIST(n__cons(n__0, y1)) → U411(isNat(0), activate(y1))
U411(tt, n__length(x0)) → ISNATILIST(length(x0))
ISNATILIST(n__cons(n__length(x0), y1)) → U411(isNat(length(x0)), activate(y1))
U411(tt, n__s(x0)) → ISNATILIST(s(x0))
ISNATILIST(n__cons(n__s(x0), y1)) → U411(isNat(s(x0)), activate(y1))
U411(tt, n__cons(x0, x1)) → ISNATILIST(cons(x0, x1))
ISNATILIST(n__cons(n__cons(x0, x1), y1)) → U411(isNat(cons(x0, x1)), activate(y1))
U411(tt, n__nil) → ISNATILIST(nil)
ISNATILIST(n__cons(n__nil, y1)) → U411(isNat(nil), activate(y1))
U411(tt, x0) → ISNATILIST(x0)
ISNATILIST(n__cons(x0, y1)) → U411(isNat(x0), activate(y1))
U411(tt, n__zeros) → ISNATILIST(cons(0, n__zeros))
ISNATILIST(n__cons(n__zeros, y0)) → U411(isNat(cons(0, n__zeros)), activate(y0))
U411(tt, n__0) → ISNATILIST(n__0)
zeros → cons(0, n__zeros)
U11(tt) → tt
U21(tt) → tt
U31(tt) → tt
U41(tt, V2) → U42(isNatIList(activate(V2)))
U42(tt) → tt
U51(tt, V2) → U52(isNatList(activate(V2)))
U52(tt) → tt
U61(tt, V2) → U62(isNatIList(activate(V2)))
U62(tt) → tt
U71(tt, L, N) → U72(isNat(activate(N)), activate(L))
U72(tt, L) → s(length(activate(L)))
U81(tt) → nil
U91(tt, IL, M, N) → U92(isNat(activate(M)), activate(IL), activate(M), activate(N))
U92(tt, IL, M, N) → U93(isNat(activate(N)), activate(IL), activate(M), activate(N))
U93(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatList(activate(V1)))
isNat(n__s(V1)) → U21(isNat(activate(V1)))
isNatIList(V) → U31(isNatList(activate(V)))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → U41(isNat(activate(V1)), activate(V2))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(isNat(activate(V1)), activate(V2))
isNatList(n__take(V1, V2)) → U61(isNat(activate(V1)), activate(V2))
length(nil) → 0
length(cons(N, L)) → U71(isNatList(activate(L)), activate(L), N)
take(0, IL) → U81(isNatIList(IL))
take(s(M), cons(N, IL)) → U91(isNatIList(activate(IL)), activate(IL), M, N)
zeros → n__zeros
take(X1, X2) → n__take(X1, X2)
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
nil → n__nil
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__nil) → nil
activate(X) → X
ISNATILIST(n__cons(n__take(x0, x1), y1)) → U411(isNat(take(x0, x1)), activate(y1))
U411(tt, n__take(x0, x1)) → ISNATILIST(take(x0, x1))
ISNATILIST(n__cons(n__0, y1)) → U411(isNat(0), activate(y1))
U411(tt, n__length(x0)) → ISNATILIST(length(x0))
ISNATILIST(n__cons(n__length(x0), y1)) → U411(isNat(length(x0)), activate(y1))
U411(tt, n__s(x0)) → ISNATILIST(s(x0))
ISNATILIST(n__cons(n__s(x0), y1)) → U411(isNat(s(x0)), activate(y1))
U411(tt, n__cons(x0, x1)) → ISNATILIST(cons(x0, x1))
ISNATILIST(n__cons(n__cons(x0, x1), y1)) → U411(isNat(cons(x0, x1)), activate(y1))
U411(tt, n__nil) → ISNATILIST(nil)
ISNATILIST(n__cons(n__nil, y1)) → U411(isNat(nil), activate(y1))
U411(tt, x0) → ISNATILIST(x0)
ISNATILIST(n__cons(x0, y1)) → U411(isNat(x0), activate(y1))
U411(tt, n__zeros) → ISNATILIST(cons(0, n__zeros))
ISNATILIST(n__cons(n__zeros, y0)) → U411(isNat(cons(0, n__zeros)), activate(y0))
zeros → cons(0, n__zeros)
U11(tt) → tt
U21(tt) → tt
U31(tt) → tt
U41(tt, V2) → U42(isNatIList(activate(V2)))
U42(tt) → tt
U51(tt, V2) → U52(isNatList(activate(V2)))
U52(tt) → tt
U61(tt, V2) → U62(isNatIList(activate(V2)))
U62(tt) → tt
U71(tt, L, N) → U72(isNat(activate(N)), activate(L))
U72(tt, L) → s(length(activate(L)))
U81(tt) → nil
U91(tt, IL, M, N) → U92(isNat(activate(M)), activate(IL), activate(M), activate(N))
U92(tt, IL, M, N) → U93(isNat(activate(N)), activate(IL), activate(M), activate(N))
U93(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatList(activate(V1)))
isNat(n__s(V1)) → U21(isNat(activate(V1)))
isNatIList(V) → U31(isNatList(activate(V)))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → U41(isNat(activate(V1)), activate(V2))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(isNat(activate(V1)), activate(V2))
isNatList(n__take(V1, V2)) → U61(isNat(activate(V1)), activate(V2))
length(nil) → 0
length(cons(N, L)) → U71(isNatList(activate(L)), activate(L), N)
take(0, IL) → U81(isNatIList(IL))
take(s(M), cons(N, IL)) → U91(isNatIList(activate(IL)), activate(IL), M, N)
zeros → n__zeros
take(X1, X2) → n__take(X1, X2)
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
nil → n__nil
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__nil) → nil
activate(X) → X
ISNATILIST(n__cons(n__0, y0)) → U411(isNat(n__0), activate(y0))
ISNATILIST(n__cons(n__take(x0, x1), y1)) → U411(isNat(take(x0, x1)), activate(y1))
U411(tt, n__take(x0, x1)) → ISNATILIST(take(x0, x1))
U411(tt, n__length(x0)) → ISNATILIST(length(x0))
ISNATILIST(n__cons(n__length(x0), y1)) → U411(isNat(length(x0)), activate(y1))
U411(tt, n__s(x0)) → ISNATILIST(s(x0))
ISNATILIST(n__cons(n__s(x0), y1)) → U411(isNat(s(x0)), activate(y1))
U411(tt, n__cons(x0, x1)) → ISNATILIST(cons(x0, x1))
ISNATILIST(n__cons(n__cons(x0, x1), y1)) → U411(isNat(cons(x0, x1)), activate(y1))
U411(tt, n__nil) → ISNATILIST(nil)
ISNATILIST(n__cons(n__nil, y1)) → U411(isNat(nil), activate(y1))
U411(tt, x0) → ISNATILIST(x0)
ISNATILIST(n__cons(x0, y1)) → U411(isNat(x0), activate(y1))
U411(tt, n__zeros) → ISNATILIST(cons(0, n__zeros))
ISNATILIST(n__cons(n__zeros, y0)) → U411(isNat(cons(0, n__zeros)), activate(y0))
ISNATILIST(n__cons(n__0, y0)) → U411(isNat(n__0), activate(y0))
zeros → cons(0, n__zeros)
U11(tt) → tt
U21(tt) → tt
U31(tt) → tt
U41(tt, V2) → U42(isNatIList(activate(V2)))
U42(tt) → tt
U51(tt, V2) → U52(isNatList(activate(V2)))
U52(tt) → tt
U61(tt, V2) → U62(isNatIList(activate(V2)))
U62(tt) → tt
U71(tt, L, N) → U72(isNat(activate(N)), activate(L))
U72(tt, L) → s(length(activate(L)))
U81(tt) → nil
U91(tt, IL, M, N) → U92(isNat(activate(M)), activate(IL), activate(M), activate(N))
U92(tt, IL, M, N) → U93(isNat(activate(N)), activate(IL), activate(M), activate(N))
U93(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatList(activate(V1)))
isNat(n__s(V1)) → U21(isNat(activate(V1)))
isNatIList(V) → U31(isNatList(activate(V)))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → U41(isNat(activate(V1)), activate(V2))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(isNat(activate(V1)), activate(V2))
isNatList(n__take(V1, V2)) → U61(isNat(activate(V1)), activate(V2))
length(nil) → 0
length(cons(N, L)) → U71(isNatList(activate(L)), activate(L), N)
take(0, IL) → U81(isNatIList(IL))
take(s(M), cons(N, IL)) → U91(isNatIList(activate(IL)), activate(IL), M, N)
zeros → n__zeros
take(X1, X2) → n__take(X1, X2)
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
nil → n__nil
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__nil) → nil
activate(X) → X
U411(tt, n__s(x0)) → ISNATILIST(n__s(x0))
ISNATILIST(n__cons(n__take(x0, x1), y1)) → U411(isNat(take(x0, x1)), activate(y1))
U411(tt, n__take(x0, x1)) → ISNATILIST(take(x0, x1))
U411(tt, n__length(x0)) → ISNATILIST(length(x0))
ISNATILIST(n__cons(n__length(x0), y1)) → U411(isNat(length(x0)), activate(y1))
ISNATILIST(n__cons(n__s(x0), y1)) → U411(isNat(s(x0)), activate(y1))
U411(tt, n__cons(x0, x1)) → ISNATILIST(cons(x0, x1))
ISNATILIST(n__cons(n__cons(x0, x1), y1)) → U411(isNat(cons(x0, x1)), activate(y1))
U411(tt, n__nil) → ISNATILIST(nil)
ISNATILIST(n__cons(n__nil, y1)) → U411(isNat(nil), activate(y1))
U411(tt, x0) → ISNATILIST(x0)
ISNATILIST(n__cons(x0, y1)) → U411(isNat(x0), activate(y1))
U411(tt, n__zeros) → ISNATILIST(cons(0, n__zeros))
ISNATILIST(n__cons(n__zeros, y0)) → U411(isNat(cons(0, n__zeros)), activate(y0))
ISNATILIST(n__cons(n__0, y0)) → U411(isNat(n__0), activate(y0))
U411(tt, n__s(x0)) → ISNATILIST(n__s(x0))
zeros → cons(0, n__zeros)
U11(tt) → tt
U21(tt) → tt
U31(tt) → tt
U41(tt, V2) → U42(isNatIList(activate(V2)))
U42(tt) → tt
U51(tt, V2) → U52(isNatList(activate(V2)))
U52(tt) → tt
U61(tt, V2) → U62(isNatIList(activate(V2)))
U62(tt) → tt
U71(tt, L, N) → U72(isNat(activate(N)), activate(L))
U72(tt, L) → s(length(activate(L)))
U81(tt) → nil
U91(tt, IL, M, N) → U92(isNat(activate(M)), activate(IL), activate(M), activate(N))
U92(tt, IL, M, N) → U93(isNat(activate(N)), activate(IL), activate(M), activate(N))
U93(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatList(activate(V1)))
isNat(n__s(V1)) → U21(isNat(activate(V1)))
isNatIList(V) → U31(isNatList(activate(V)))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → U41(isNat(activate(V1)), activate(V2))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(isNat(activate(V1)), activate(V2))
isNatList(n__take(V1, V2)) → U61(isNat(activate(V1)), activate(V2))
length(nil) → 0
length(cons(N, L)) → U71(isNatList(activate(L)), activate(L), N)
take(0, IL) → U81(isNatIList(IL))
take(s(M), cons(N, IL)) → U91(isNatIList(activate(IL)), activate(IL), M, N)
zeros → n__zeros
take(X1, X2) → n__take(X1, X2)
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
nil → n__nil
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__nil) → nil
activate(X) → X
U411(tt, n__take(x0, x1)) → ISNATILIST(take(x0, x1))
ISNATILIST(n__cons(n__take(x0, x1), y1)) → U411(isNat(take(x0, x1)), activate(y1))
U411(tt, n__length(x0)) → ISNATILIST(length(x0))
ISNATILIST(n__cons(n__length(x0), y1)) → U411(isNat(length(x0)), activate(y1))
U411(tt, n__cons(x0, x1)) → ISNATILIST(cons(x0, x1))
ISNATILIST(n__cons(n__s(x0), y1)) → U411(isNat(s(x0)), activate(y1))
U411(tt, n__nil) → ISNATILIST(nil)
ISNATILIST(n__cons(n__cons(x0, x1), y1)) → U411(isNat(cons(x0, x1)), activate(y1))
U411(tt, x0) → ISNATILIST(x0)
ISNATILIST(n__cons(n__nil, y1)) → U411(isNat(nil), activate(y1))
U411(tt, n__zeros) → ISNATILIST(cons(0, n__zeros))
ISNATILIST(n__cons(x0, y1)) → U411(isNat(x0), activate(y1))
ISNATILIST(n__cons(n__zeros, y0)) → U411(isNat(cons(0, n__zeros)), activate(y0))
ISNATILIST(n__cons(n__0, y0)) → U411(isNat(n__0), activate(y0))
zeros → cons(0, n__zeros)
U11(tt) → tt
U21(tt) → tt
U31(tt) → tt
U41(tt, V2) → U42(isNatIList(activate(V2)))
U42(tt) → tt
U51(tt, V2) → U52(isNatList(activate(V2)))
U52(tt) → tt
U61(tt, V2) → U62(isNatIList(activate(V2)))
U62(tt) → tt
U71(tt, L, N) → U72(isNat(activate(N)), activate(L))
U72(tt, L) → s(length(activate(L)))
U81(tt) → nil
U91(tt, IL, M, N) → U92(isNat(activate(M)), activate(IL), activate(M), activate(N))
U92(tt, IL, M, N) → U93(isNat(activate(N)), activate(IL), activate(M), activate(N))
U93(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatList(activate(V1)))
isNat(n__s(V1)) → U21(isNat(activate(V1)))
isNatIList(V) → U31(isNatList(activate(V)))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → U41(isNat(activate(V1)), activate(V2))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(isNat(activate(V1)), activate(V2))
isNatList(n__take(V1, V2)) → U61(isNat(activate(V1)), activate(V2))
length(nil) → 0
length(cons(N, L)) → U71(isNatList(activate(L)), activate(L), N)
take(0, IL) → U81(isNatIList(IL))
take(s(M), cons(N, IL)) → U91(isNatIList(activate(IL)), activate(IL), M, N)
zeros → n__zeros
take(X1, X2) → n__take(X1, X2)
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
nil → n__nil
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__nil) → nil
activate(X) → X
U411(tt, n__cons(x0, x1)) → ISNATILIST(n__cons(x0, x1))
U411(tt, n__take(x0, x1)) → ISNATILIST(take(x0, x1))
ISNATILIST(n__cons(n__take(x0, x1), y1)) → U411(isNat(take(x0, x1)), activate(y1))
U411(tt, n__length(x0)) → ISNATILIST(length(x0))
ISNATILIST(n__cons(n__length(x0), y1)) → U411(isNat(length(x0)), activate(y1))
ISNATILIST(n__cons(n__s(x0), y1)) → U411(isNat(s(x0)), activate(y1))
U411(tt, n__nil) → ISNATILIST(nil)
ISNATILIST(n__cons(n__cons(x0, x1), y1)) → U411(isNat(cons(x0, x1)), activate(y1))
U411(tt, x0) → ISNATILIST(x0)
ISNATILIST(n__cons(n__nil, y1)) → U411(isNat(nil), activate(y1))
U411(tt, n__zeros) → ISNATILIST(cons(0, n__zeros))
ISNATILIST(n__cons(x0, y1)) → U411(isNat(x0), activate(y1))
ISNATILIST(n__cons(n__zeros, y0)) → U411(isNat(cons(0, n__zeros)), activate(y0))
ISNATILIST(n__cons(n__0, y0)) → U411(isNat(n__0), activate(y0))
U411(tt, n__cons(x0, x1)) → ISNATILIST(n__cons(x0, x1))
zeros → cons(0, n__zeros)
U11(tt) → tt
U21(tt) → tt
U31(tt) → tt
U41(tt, V2) → U42(isNatIList(activate(V2)))
U42(tt) → tt
U51(tt, V2) → U52(isNatList(activate(V2)))
U52(tt) → tt
U61(tt, V2) → U62(isNatIList(activate(V2)))
U62(tt) → tt
U71(tt, L, N) → U72(isNat(activate(N)), activate(L))
U72(tt, L) → s(length(activate(L)))
U81(tt) → nil
U91(tt, IL, M, N) → U92(isNat(activate(M)), activate(IL), activate(M), activate(N))
U92(tt, IL, M, N) → U93(isNat(activate(N)), activate(IL), activate(M), activate(N))
U93(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatList(activate(V1)))
isNat(n__s(V1)) → U21(isNat(activate(V1)))
isNatIList(V) → U31(isNatList(activate(V)))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → U41(isNat(activate(V1)), activate(V2))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(isNat(activate(V1)), activate(V2))
isNatList(n__take(V1, V2)) → U61(isNat(activate(V1)), activate(V2))
length(nil) → 0
length(cons(N, L)) → U71(isNatList(activate(L)), activate(L), N)
take(0, IL) → U81(isNatIList(IL))
take(s(M), cons(N, IL)) → U91(isNatIList(activate(IL)), activate(IL), M, N)
zeros → n__zeros
take(X1, X2) → n__take(X1, X2)
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
nil → n__nil
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__nil) → nil
activate(X) → X
ISNATILIST(n__cons(n__s(x0), y1)) → U411(isNat(n__s(x0)), activate(y1))
U411(tt, n__take(x0, x1)) → ISNATILIST(take(x0, x1))
ISNATILIST(n__cons(n__take(x0, x1), y1)) → U411(isNat(take(x0, x1)), activate(y1))
U411(tt, n__length(x0)) → ISNATILIST(length(x0))
ISNATILIST(n__cons(n__length(x0), y1)) → U411(isNat(length(x0)), activate(y1))
U411(tt, n__nil) → ISNATILIST(nil)
ISNATILIST(n__cons(n__cons(x0, x1), y1)) → U411(isNat(cons(x0, x1)), activate(y1))
U411(tt, x0) → ISNATILIST(x0)
ISNATILIST(n__cons(n__nil, y1)) → U411(isNat(nil), activate(y1))
U411(tt, n__zeros) → ISNATILIST(cons(0, n__zeros))
ISNATILIST(n__cons(x0, y1)) → U411(isNat(x0), activate(y1))
ISNATILIST(n__cons(n__zeros, y0)) → U411(isNat(cons(0, n__zeros)), activate(y0))
ISNATILIST(n__cons(n__0, y0)) → U411(isNat(n__0), activate(y0))
U411(tt, n__cons(x0, x1)) → ISNATILIST(n__cons(x0, x1))
ISNATILIST(n__cons(n__s(x0), y1)) → U411(isNat(n__s(x0)), activate(y1))
zeros → cons(0, n__zeros)
U11(tt) → tt
U21(tt) → tt
U31(tt) → tt
U41(tt, V2) → U42(isNatIList(activate(V2)))
U42(tt) → tt
U51(tt, V2) → U52(isNatList(activate(V2)))
U52(tt) → tt
U61(tt, V2) → U62(isNatIList(activate(V2)))
U62(tt) → tt
U71(tt, L, N) → U72(isNat(activate(N)), activate(L))
U72(tt, L) → s(length(activate(L)))
U81(tt) → nil
U91(tt, IL, M, N) → U92(isNat(activate(M)), activate(IL), activate(M), activate(N))
U92(tt, IL, M, N) → U93(isNat(activate(N)), activate(IL), activate(M), activate(N))
U93(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatList(activate(V1)))
isNat(n__s(V1)) → U21(isNat(activate(V1)))
isNatIList(V) → U31(isNatList(activate(V)))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → U41(isNat(activate(V1)), activate(V2))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(isNat(activate(V1)), activate(V2))
isNatList(n__take(V1, V2)) → U61(isNat(activate(V1)), activate(V2))
length(nil) → 0
length(cons(N, L)) → U71(isNatList(activate(L)), activate(L), N)
take(0, IL) → U81(isNatIList(IL))
take(s(M), cons(N, IL)) → U91(isNatIList(activate(IL)), activate(IL), M, N)
zeros → n__zeros
take(X1, X2) → n__take(X1, X2)
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
nil → n__nil
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__nil) → nil
activate(X) → X
U411(tt, n__nil) → ISNATILIST(n__nil)
U411(tt, n__take(x0, x1)) → ISNATILIST(take(x0, x1))
ISNATILIST(n__cons(n__take(x0, x1), y1)) → U411(isNat(take(x0, x1)), activate(y1))
U411(tt, n__length(x0)) → ISNATILIST(length(x0))
ISNATILIST(n__cons(n__length(x0), y1)) → U411(isNat(length(x0)), activate(y1))
ISNATILIST(n__cons(n__cons(x0, x1), y1)) → U411(isNat(cons(x0, x1)), activate(y1))
U411(tt, x0) → ISNATILIST(x0)
ISNATILIST(n__cons(n__nil, y1)) → U411(isNat(nil), activate(y1))
U411(tt, n__zeros) → ISNATILIST(cons(0, n__zeros))
ISNATILIST(n__cons(x0, y1)) → U411(isNat(x0), activate(y1))
ISNATILIST(n__cons(n__zeros, y0)) → U411(isNat(cons(0, n__zeros)), activate(y0))
ISNATILIST(n__cons(n__0, y0)) → U411(isNat(n__0), activate(y0))
U411(tt, n__cons(x0, x1)) → ISNATILIST(n__cons(x0, x1))
ISNATILIST(n__cons(n__s(x0), y1)) → U411(isNat(n__s(x0)), activate(y1))
U411(tt, n__nil) → ISNATILIST(n__nil)
zeros → cons(0, n__zeros)
U11(tt) → tt
U21(tt) → tt
U31(tt) → tt
U41(tt, V2) → U42(isNatIList(activate(V2)))
U42(tt) → tt
U51(tt, V2) → U52(isNatList(activate(V2)))
U52(tt) → tt
U61(tt, V2) → U62(isNatIList(activate(V2)))
U62(tt) → tt
U71(tt, L, N) → U72(isNat(activate(N)), activate(L))
U72(tt, L) → s(length(activate(L)))
U81(tt) → nil
U91(tt, IL, M, N) → U92(isNat(activate(M)), activate(IL), activate(M), activate(N))
U92(tt, IL, M, N) → U93(isNat(activate(N)), activate(IL), activate(M), activate(N))
U93(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatList(activate(V1)))
isNat(n__s(V1)) → U21(isNat(activate(V1)))
isNatIList(V) → U31(isNatList(activate(V)))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → U41(isNat(activate(V1)), activate(V2))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(isNat(activate(V1)), activate(V2))
isNatList(n__take(V1, V2)) → U61(isNat(activate(V1)), activate(V2))
length(nil) → 0
length(cons(N, L)) → U71(isNatList(activate(L)), activate(L), N)
take(0, IL) → U81(isNatIList(IL))
take(s(M), cons(N, IL)) → U91(isNatIList(activate(IL)), activate(IL), M, N)
zeros → n__zeros
take(X1, X2) → n__take(X1, X2)
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
nil → n__nil
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__nil) → nil
activate(X) → X
ISNATILIST(n__cons(n__take(x0, x1), y1)) → U411(isNat(take(x0, x1)), activate(y1))
U411(tt, n__take(x0, x1)) → ISNATILIST(take(x0, x1))
ISNATILIST(n__cons(n__length(x0), y1)) → U411(isNat(length(x0)), activate(y1))
U411(tt, n__length(x0)) → ISNATILIST(length(x0))
ISNATILIST(n__cons(n__cons(x0, x1), y1)) → U411(isNat(cons(x0, x1)), activate(y1))
U411(tt, x0) → ISNATILIST(x0)
ISNATILIST(n__cons(n__nil, y1)) → U411(isNat(nil), activate(y1))
U411(tt, n__zeros) → ISNATILIST(cons(0, n__zeros))
ISNATILIST(n__cons(x0, y1)) → U411(isNat(x0), activate(y1))
U411(tt, n__cons(x0, x1)) → ISNATILIST(n__cons(x0, x1))
ISNATILIST(n__cons(n__zeros, y0)) → U411(isNat(cons(0, n__zeros)), activate(y0))
ISNATILIST(n__cons(n__0, y0)) → U411(isNat(n__0), activate(y0))
ISNATILIST(n__cons(n__s(x0), y1)) → U411(isNat(n__s(x0)), activate(y1))
zeros → cons(0, n__zeros)
U11(tt) → tt
U21(tt) → tt
U31(tt) → tt
U41(tt, V2) → U42(isNatIList(activate(V2)))
U42(tt) → tt
U51(tt, V2) → U52(isNatList(activate(V2)))
U52(tt) → tt
U61(tt, V2) → U62(isNatIList(activate(V2)))
U62(tt) → tt
U71(tt, L, N) → U72(isNat(activate(N)), activate(L))
U72(tt, L) → s(length(activate(L)))
U81(tt) → nil
U91(tt, IL, M, N) → U92(isNat(activate(M)), activate(IL), activate(M), activate(N))
U92(tt, IL, M, N) → U93(isNat(activate(N)), activate(IL), activate(M), activate(N))
U93(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatList(activate(V1)))
isNat(n__s(V1)) → U21(isNat(activate(V1)))
isNatIList(V) → U31(isNatList(activate(V)))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → U41(isNat(activate(V1)), activate(V2))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(isNat(activate(V1)), activate(V2))
isNatList(n__take(V1, V2)) → U61(isNat(activate(V1)), activate(V2))
length(nil) → 0
length(cons(N, L)) → U71(isNatList(activate(L)), activate(L), N)
take(0, IL) → U81(isNatIList(IL))
take(s(M), cons(N, IL)) → U91(isNatIList(activate(IL)), activate(IL), M, N)
zeros → n__zeros
take(X1, X2) → n__take(X1, X2)
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
nil → n__nil
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__nil) → nil
activate(X) → X
ISNATILIST(n__cons(n__cons(x0, x1), y2)) → U411(isNat(n__cons(x0, x1)), activate(y2))
ISNATILIST(n__cons(n__take(x0, x1), y1)) → U411(isNat(take(x0, x1)), activate(y1))
U411(tt, n__take(x0, x1)) → ISNATILIST(take(x0, x1))
ISNATILIST(n__cons(n__length(x0), y1)) → U411(isNat(length(x0)), activate(y1))
U411(tt, n__length(x0)) → ISNATILIST(length(x0))
U411(tt, x0) → ISNATILIST(x0)
ISNATILIST(n__cons(n__nil, y1)) → U411(isNat(nil), activate(y1))
U411(tt, n__zeros) → ISNATILIST(cons(0, n__zeros))
ISNATILIST(n__cons(x0, y1)) → U411(isNat(x0), activate(y1))
U411(tt, n__cons(x0, x1)) → ISNATILIST(n__cons(x0, x1))
ISNATILIST(n__cons(n__zeros, y0)) → U411(isNat(cons(0, n__zeros)), activate(y0))
ISNATILIST(n__cons(n__0, y0)) → U411(isNat(n__0), activate(y0))
ISNATILIST(n__cons(n__s(x0), y1)) → U411(isNat(n__s(x0)), activate(y1))
ISNATILIST(n__cons(n__cons(x0, x1), y2)) → U411(isNat(n__cons(x0, x1)), activate(y2))
zeros → cons(0, n__zeros)
U11(tt) → tt
U21(tt) → tt
U31(tt) → tt
U41(tt, V2) → U42(isNatIList(activate(V2)))
U42(tt) → tt
U51(tt, V2) → U52(isNatList(activate(V2)))
U52(tt) → tt
U61(tt, V2) → U62(isNatIList(activate(V2)))
U62(tt) → tt
U71(tt, L, N) → U72(isNat(activate(N)), activate(L))
U72(tt, L) → s(length(activate(L)))
U81(tt) → nil
U91(tt, IL, M, N) → U92(isNat(activate(M)), activate(IL), activate(M), activate(N))
U92(tt, IL, M, N) → U93(isNat(activate(N)), activate(IL), activate(M), activate(N))
U93(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatList(activate(V1)))
isNat(n__s(V1)) → U21(isNat(activate(V1)))
isNatIList(V) → U31(isNatList(activate(V)))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → U41(isNat(activate(V1)), activate(V2))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(isNat(activate(V1)), activate(V2))
isNatList(n__take(V1, V2)) → U61(isNat(activate(V1)), activate(V2))
length(nil) → 0
length(cons(N, L)) → U71(isNatList(activate(L)), activate(L), N)
take(0, IL) → U81(isNatIList(IL))
take(s(M), cons(N, IL)) → U91(isNatIList(activate(IL)), activate(IL), M, N)
zeros → n__zeros
take(X1, X2) → n__take(X1, X2)
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
nil → n__nil
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__nil) → nil
activate(X) → X
U411(tt, n__take(x0, x1)) → ISNATILIST(take(x0, x1))
ISNATILIST(n__cons(n__take(x0, x1), y1)) → U411(isNat(take(x0, x1)), activate(y1))
U411(tt, n__length(x0)) → ISNATILIST(length(x0))
ISNATILIST(n__cons(n__length(x0), y1)) → U411(isNat(length(x0)), activate(y1))
U411(tt, x0) → ISNATILIST(x0)
ISNATILIST(n__cons(n__nil, y1)) → U411(isNat(nil), activate(y1))
U411(tt, n__zeros) → ISNATILIST(cons(0, n__zeros))
ISNATILIST(n__cons(x0, y1)) → U411(isNat(x0), activate(y1))
U411(tt, n__cons(x0, x1)) → ISNATILIST(n__cons(x0, x1))
ISNATILIST(n__cons(n__zeros, y0)) → U411(isNat(cons(0, n__zeros)), activate(y0))
ISNATILIST(n__cons(n__0, y0)) → U411(isNat(n__0), activate(y0))
ISNATILIST(n__cons(n__s(x0), y1)) → U411(isNat(n__s(x0)), activate(y1))
zeros → cons(0, n__zeros)
U11(tt) → tt
U21(tt) → tt
U31(tt) → tt
U41(tt, V2) → U42(isNatIList(activate(V2)))
U42(tt) → tt
U51(tt, V2) → U52(isNatList(activate(V2)))
U52(tt) → tt
U61(tt, V2) → U62(isNatIList(activate(V2)))
U62(tt) → tt
U71(tt, L, N) → U72(isNat(activate(N)), activate(L))
U72(tt, L) → s(length(activate(L)))
U81(tt) → nil
U91(tt, IL, M, N) → U92(isNat(activate(M)), activate(IL), activate(M), activate(N))
U92(tt, IL, M, N) → U93(isNat(activate(N)), activate(IL), activate(M), activate(N))
U93(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatList(activate(V1)))
isNat(n__s(V1)) → U21(isNat(activate(V1)))
isNatIList(V) → U31(isNatList(activate(V)))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → U41(isNat(activate(V1)), activate(V2))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(isNat(activate(V1)), activate(V2))
isNatList(n__take(V1, V2)) → U61(isNat(activate(V1)), activate(V2))
length(nil) → 0
length(cons(N, L)) → U71(isNatList(activate(L)), activate(L), N)
take(0, IL) → U81(isNatIList(IL))
take(s(M), cons(N, IL)) → U91(isNatIList(activate(IL)), activate(IL), M, N)
zeros → n__zeros
take(X1, X2) → n__take(X1, X2)
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
nil → n__nil
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__nil) → nil
activate(X) → X
ISNATILIST(n__cons(n__nil, y0)) → U411(isNat(n__nil), activate(y0))
U411(tt, n__take(x0, x1)) → ISNATILIST(take(x0, x1))
ISNATILIST(n__cons(n__take(x0, x1), y1)) → U411(isNat(take(x0, x1)), activate(y1))
U411(tt, n__length(x0)) → ISNATILIST(length(x0))
ISNATILIST(n__cons(n__length(x0), y1)) → U411(isNat(length(x0)), activate(y1))
U411(tt, x0) → ISNATILIST(x0)
U411(tt, n__zeros) → ISNATILIST(cons(0, n__zeros))
ISNATILIST(n__cons(x0, y1)) → U411(isNat(x0), activate(y1))
U411(tt, n__cons(x0, x1)) → ISNATILIST(n__cons(x0, x1))
ISNATILIST(n__cons(n__zeros, y0)) → U411(isNat(cons(0, n__zeros)), activate(y0))
ISNATILIST(n__cons(n__0, y0)) → U411(isNat(n__0), activate(y0))
ISNATILIST(n__cons(n__s(x0), y1)) → U411(isNat(n__s(x0)), activate(y1))
ISNATILIST(n__cons(n__nil, y0)) → U411(isNat(n__nil), activate(y0))
zeros → cons(0, n__zeros)
U11(tt) → tt
U21(tt) → tt
U31(tt) → tt
U41(tt, V2) → U42(isNatIList(activate(V2)))
U42(tt) → tt
U51(tt, V2) → U52(isNatList(activate(V2)))
U52(tt) → tt
U61(tt, V2) → U62(isNatIList(activate(V2)))
U62(tt) → tt
U71(tt, L, N) → U72(isNat(activate(N)), activate(L))
U72(tt, L) → s(length(activate(L)))
U81(tt) → nil
U91(tt, IL, M, N) → U92(isNat(activate(M)), activate(IL), activate(M), activate(N))
U92(tt, IL, M, N) → U93(isNat(activate(N)), activate(IL), activate(M), activate(N))
U93(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatList(activate(V1)))
isNat(n__s(V1)) → U21(isNat(activate(V1)))
isNatIList(V) → U31(isNatList(activate(V)))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → U41(isNat(activate(V1)), activate(V2))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(isNat(activate(V1)), activate(V2))
isNatList(n__take(V1, V2)) → U61(isNat(activate(V1)), activate(V2))
length(nil) → 0
length(cons(N, L)) → U71(isNatList(activate(L)), activate(L), N)
take(0, IL) → U81(isNatIList(IL))
take(s(M), cons(N, IL)) → U91(isNatIList(activate(IL)), activate(IL), M, N)
zeros → n__zeros
take(X1, X2) → n__take(X1, X2)
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
nil → n__nil
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__nil) → nil
activate(X) → X
ISNATILIST(n__cons(n__take(x0, x1), y1)) → U411(isNat(take(x0, x1)), activate(y1))
U411(tt, n__take(x0, x1)) → ISNATILIST(take(x0, x1))
ISNATILIST(n__cons(n__length(x0), y1)) → U411(isNat(length(x0)), activate(y1))
U411(tt, n__length(x0)) → ISNATILIST(length(x0))
ISNATILIST(n__cons(x0, y1)) → U411(isNat(x0), activate(y1))
U411(tt, x0) → ISNATILIST(x0)
ISNATILIST(n__cons(n__zeros, y0)) → U411(isNat(cons(0, n__zeros)), activate(y0))
U411(tt, n__zeros) → ISNATILIST(cons(0, n__zeros))
ISNATILIST(n__cons(n__0, y0)) → U411(isNat(n__0), activate(y0))
U411(tt, n__cons(x0, x1)) → ISNATILIST(n__cons(x0, x1))
ISNATILIST(n__cons(n__s(x0), y1)) → U411(isNat(n__s(x0)), activate(y1))
zeros → cons(0, n__zeros)
U11(tt) → tt
U21(tt) → tt
U31(tt) → tt
U41(tt, V2) → U42(isNatIList(activate(V2)))
U42(tt) → tt
U51(tt, V2) → U52(isNatList(activate(V2)))
U52(tt) → tt
U61(tt, V2) → U62(isNatIList(activate(V2)))
U62(tt) → tt
U71(tt, L, N) → U72(isNat(activate(N)), activate(L))
U72(tt, L) → s(length(activate(L)))
U81(tt) → nil
U91(tt, IL, M, N) → U92(isNat(activate(M)), activate(IL), activate(M), activate(N))
U92(tt, IL, M, N) → U93(isNat(activate(N)), activate(IL), activate(M), activate(N))
U93(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatList(activate(V1)))
isNat(n__s(V1)) → U21(isNat(activate(V1)))
isNatIList(V) → U31(isNatList(activate(V)))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → U41(isNat(activate(V1)), activate(V2))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(isNat(activate(V1)), activate(V2))
isNatList(n__take(V1, V2)) → U61(isNat(activate(V1)), activate(V2))
length(nil) → 0
length(cons(N, L)) → U71(isNatList(activate(L)), activate(L), N)
take(0, IL) → U81(isNatIList(IL))
take(s(M), cons(N, IL)) → U91(isNatIList(activate(IL)), activate(IL), M, N)
zeros → n__zeros
take(X1, X2) → n__take(X1, X2)
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
nil → n__nil
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__nil) → nil
activate(X) → X
ISNATILIST(n__cons(n__zeros, y0)) → U411(isNat(n__cons(0, n__zeros)), activate(y0))
ISNATILIST(n__cons(n__zeros, y0)) → U411(isNat(cons(n__0, n__zeros)), activate(y0))
ISNATILIST(n__cons(n__take(x0, x1), y1)) → U411(isNat(take(x0, x1)), activate(y1))
U411(tt, n__take(x0, x1)) → ISNATILIST(take(x0, x1))
ISNATILIST(n__cons(n__length(x0), y1)) → U411(isNat(length(x0)), activate(y1))
U411(tt, n__length(x0)) → ISNATILIST(length(x0))
ISNATILIST(n__cons(x0, y1)) → U411(isNat(x0), activate(y1))
U411(tt, x0) → ISNATILIST(x0)
U411(tt, n__zeros) → ISNATILIST(cons(0, n__zeros))
ISNATILIST(n__cons(n__0, y0)) → U411(isNat(n__0), activate(y0))
U411(tt, n__cons(x0, x1)) → ISNATILIST(n__cons(x0, x1))
ISNATILIST(n__cons(n__s(x0), y1)) → U411(isNat(n__s(x0)), activate(y1))
ISNATILIST(n__cons(n__zeros, y0)) → U411(isNat(n__cons(0, n__zeros)), activate(y0))
ISNATILIST(n__cons(n__zeros, y0)) → U411(isNat(cons(n__0, n__zeros)), activate(y0))
zeros → cons(0, n__zeros)
U11(tt) → tt
U21(tt) → tt
U31(tt) → tt
U41(tt, V2) → U42(isNatIList(activate(V2)))
U42(tt) → tt
U51(tt, V2) → U52(isNatList(activate(V2)))
U52(tt) → tt
U61(tt, V2) → U62(isNatIList(activate(V2)))
U62(tt) → tt
U71(tt, L, N) → U72(isNat(activate(N)), activate(L))
U72(tt, L) → s(length(activate(L)))
U81(tt) → nil
U91(tt, IL, M, N) → U92(isNat(activate(M)), activate(IL), activate(M), activate(N))
U92(tt, IL, M, N) → U93(isNat(activate(N)), activate(IL), activate(M), activate(N))
U93(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatList(activate(V1)))
isNat(n__s(V1)) → U21(isNat(activate(V1)))
isNatIList(V) → U31(isNatList(activate(V)))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → U41(isNat(activate(V1)), activate(V2))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(isNat(activate(V1)), activate(V2))
isNatList(n__take(V1, V2)) → U61(isNat(activate(V1)), activate(V2))
length(nil) → 0
length(cons(N, L)) → U71(isNatList(activate(L)), activate(L), N)
take(0, IL) → U81(isNatIList(IL))
take(s(M), cons(N, IL)) → U91(isNatIList(activate(IL)), activate(IL), M, N)
zeros → n__zeros
take(X1, X2) → n__take(X1, X2)
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
nil → n__nil
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__nil) → nil
activate(X) → X
U411(tt, n__take(x0, x1)) → ISNATILIST(take(x0, x1))
ISNATILIST(n__cons(n__take(x0, x1), y1)) → U411(isNat(take(x0, x1)), activate(y1))
U411(tt, n__length(x0)) → ISNATILIST(length(x0))
ISNATILIST(n__cons(n__length(x0), y1)) → U411(isNat(length(x0)), activate(y1))
U411(tt, x0) → ISNATILIST(x0)
ISNATILIST(n__cons(x0, y1)) → U411(isNat(x0), activate(y1))
U411(tt, n__zeros) → ISNATILIST(cons(0, n__zeros))
ISNATILIST(n__cons(n__0, y0)) → U411(isNat(n__0), activate(y0))
U411(tt, n__cons(x0, x1)) → ISNATILIST(n__cons(x0, x1))
ISNATILIST(n__cons(n__s(x0), y1)) → U411(isNat(n__s(x0)), activate(y1))
ISNATILIST(n__cons(n__zeros, y0)) → U411(isNat(cons(n__0, n__zeros)), activate(y0))
zeros → cons(0, n__zeros)
U11(tt) → tt
U21(tt) → tt
U31(tt) → tt
U41(tt, V2) → U42(isNatIList(activate(V2)))
U42(tt) → tt
U51(tt, V2) → U52(isNatList(activate(V2)))
U52(tt) → tt
U61(tt, V2) → U62(isNatIList(activate(V2)))
U62(tt) → tt
U71(tt, L, N) → U72(isNat(activate(N)), activate(L))
U72(tt, L) → s(length(activate(L)))
U81(tt) → nil
U91(tt, IL, M, N) → U92(isNat(activate(M)), activate(IL), activate(M), activate(N))
U92(tt, IL, M, N) → U93(isNat(activate(N)), activate(IL), activate(M), activate(N))
U93(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatList(activate(V1)))
isNat(n__s(V1)) → U21(isNat(activate(V1)))
isNatIList(V) → U31(isNatList(activate(V)))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → U41(isNat(activate(V1)), activate(V2))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(isNat(activate(V1)), activate(V2))
isNatList(n__take(V1, V2)) → U61(isNat(activate(V1)), activate(V2))
length(nil) → 0
length(cons(N, L)) → U71(isNatList(activate(L)), activate(L), N)
take(0, IL) → U81(isNatIList(IL))
take(s(M), cons(N, IL)) → U91(isNatIList(activate(IL)), activate(IL), M, N)
zeros → n__zeros
take(X1, X2) → n__take(X1, X2)
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
nil → n__nil
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__nil) → nil
activate(X) → X
U411(tt, n__zeros) → ISNATILIST(n__cons(0, n__zeros))
U411(tt, n__zeros) → ISNATILIST(cons(n__0, n__zeros))
U411(tt, n__take(x0, x1)) → ISNATILIST(take(x0, x1))
ISNATILIST(n__cons(n__take(x0, x1), y1)) → U411(isNat(take(x0, x1)), activate(y1))
U411(tt, n__length(x0)) → ISNATILIST(length(x0))
ISNATILIST(n__cons(n__length(x0), y1)) → U411(isNat(length(x0)), activate(y1))
U411(tt, x0) → ISNATILIST(x0)
ISNATILIST(n__cons(x0, y1)) → U411(isNat(x0), activate(y1))
ISNATILIST(n__cons(n__0, y0)) → U411(isNat(n__0), activate(y0))
U411(tt, n__cons(x0, x1)) → ISNATILIST(n__cons(x0, x1))
ISNATILIST(n__cons(n__s(x0), y1)) → U411(isNat(n__s(x0)), activate(y1))
ISNATILIST(n__cons(n__zeros, y0)) → U411(isNat(cons(n__0, n__zeros)), activate(y0))
U411(tt, n__zeros) → ISNATILIST(n__cons(0, n__zeros))
U411(tt, n__zeros) → ISNATILIST(cons(n__0, n__zeros))
zeros → cons(0, n__zeros)
U11(tt) → tt
U21(tt) → tt
U31(tt) → tt
U41(tt, V2) → U42(isNatIList(activate(V2)))
U42(tt) → tt
U51(tt, V2) → U52(isNatList(activate(V2)))
U52(tt) → tt
U61(tt, V2) → U62(isNatIList(activate(V2)))
U62(tt) → tt
U71(tt, L, N) → U72(isNat(activate(N)), activate(L))
U72(tt, L) → s(length(activate(L)))
U81(tt) → nil
U91(tt, IL, M, N) → U92(isNat(activate(M)), activate(IL), activate(M), activate(N))
U92(tt, IL, M, N) → U93(isNat(activate(N)), activate(IL), activate(M), activate(N))
U93(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatList(activate(V1)))
isNat(n__s(V1)) → U21(isNat(activate(V1)))
isNatIList(V) → U31(isNatList(activate(V)))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → U41(isNat(activate(V1)), activate(V2))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(isNat(activate(V1)), activate(V2))
isNatList(n__take(V1, V2)) → U61(isNat(activate(V1)), activate(V2))
length(nil) → 0
length(cons(N, L)) → U71(isNatList(activate(L)), activate(L), N)
take(0, IL) → U81(isNatIList(IL))
take(s(M), cons(N, IL)) → U91(isNatIList(activate(IL)), activate(IL), M, N)
zeros → n__zeros
take(X1, X2) → n__take(X1, X2)
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
nil → n__nil
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__nil) → nil
activate(X) → X
ISNATILIST(n__cons(n__zeros, y0)) → U411(isNat(n__cons(n__0, n__zeros)), activate(y0))
U411(tt, n__take(x0, x1)) → ISNATILIST(take(x0, x1))
ISNATILIST(n__cons(n__take(x0, x1), y1)) → U411(isNat(take(x0, x1)), activate(y1))
U411(tt, n__length(x0)) → ISNATILIST(length(x0))
ISNATILIST(n__cons(n__length(x0), y1)) → U411(isNat(length(x0)), activate(y1))
U411(tt, x0) → ISNATILIST(x0)
ISNATILIST(n__cons(x0, y1)) → U411(isNat(x0), activate(y1))
ISNATILIST(n__cons(n__0, y0)) → U411(isNat(n__0), activate(y0))
U411(tt, n__cons(x0, x1)) → ISNATILIST(n__cons(x0, x1))
ISNATILIST(n__cons(n__s(x0), y1)) → U411(isNat(n__s(x0)), activate(y1))
U411(tt, n__zeros) → ISNATILIST(n__cons(0, n__zeros))
U411(tt, n__zeros) → ISNATILIST(cons(n__0, n__zeros))
ISNATILIST(n__cons(n__zeros, y0)) → U411(isNat(n__cons(n__0, n__zeros)), activate(y0))
zeros → cons(0, n__zeros)
U11(tt) → tt
U21(tt) → tt
U31(tt) → tt
U41(tt, V2) → U42(isNatIList(activate(V2)))
U42(tt) → tt
U51(tt, V2) → U52(isNatList(activate(V2)))
U52(tt) → tt
U61(tt, V2) → U62(isNatIList(activate(V2)))
U62(tt) → tt
U71(tt, L, N) → U72(isNat(activate(N)), activate(L))
U72(tt, L) → s(length(activate(L)))
U81(tt) → nil
U91(tt, IL, M, N) → U92(isNat(activate(M)), activate(IL), activate(M), activate(N))
U92(tt, IL, M, N) → U93(isNat(activate(N)), activate(IL), activate(M), activate(N))
U93(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatList(activate(V1)))
isNat(n__s(V1)) → U21(isNat(activate(V1)))
isNatIList(V) → U31(isNatList(activate(V)))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → U41(isNat(activate(V1)), activate(V2))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(isNat(activate(V1)), activate(V2))
isNatList(n__take(V1, V2)) → U61(isNat(activate(V1)), activate(V2))
length(nil) → 0
length(cons(N, L)) → U71(isNatList(activate(L)), activate(L), N)
take(0, IL) → U81(isNatIList(IL))
take(s(M), cons(N, IL)) → U91(isNatIList(activate(IL)), activate(IL), M, N)
zeros → n__zeros
take(X1, X2) → n__take(X1, X2)
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
nil → n__nil
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__nil) → nil
activate(X) → X
ISNATILIST(n__cons(n__take(x0, x1), y1)) → U411(isNat(take(x0, x1)), activate(y1))
U411(tt, n__take(x0, x1)) → ISNATILIST(take(x0, x1))
ISNATILIST(n__cons(n__length(x0), y1)) → U411(isNat(length(x0)), activate(y1))
U411(tt, n__length(x0)) → ISNATILIST(length(x0))
ISNATILIST(n__cons(x0, y1)) → U411(isNat(x0), activate(y1))
U411(tt, x0) → ISNATILIST(x0)
ISNATILIST(n__cons(n__0, y0)) → U411(isNat(n__0), activate(y0))
U411(tt, n__cons(x0, x1)) → ISNATILIST(n__cons(x0, x1))
ISNATILIST(n__cons(n__s(x0), y1)) → U411(isNat(n__s(x0)), activate(y1))
U411(tt, n__zeros) → ISNATILIST(n__cons(0, n__zeros))
U411(tt, n__zeros) → ISNATILIST(cons(n__0, n__zeros))
zeros → cons(0, n__zeros)
U11(tt) → tt
U21(tt) → tt
U31(tt) → tt
U41(tt, V2) → U42(isNatIList(activate(V2)))
U42(tt) → tt
U51(tt, V2) → U52(isNatList(activate(V2)))
U52(tt) → tt
U61(tt, V2) → U62(isNatIList(activate(V2)))
U62(tt) → tt
U71(tt, L, N) → U72(isNat(activate(N)), activate(L))
U72(tt, L) → s(length(activate(L)))
U81(tt) → nil
U91(tt, IL, M, N) → U92(isNat(activate(M)), activate(IL), activate(M), activate(N))
U92(tt, IL, M, N) → U93(isNat(activate(N)), activate(IL), activate(M), activate(N))
U93(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatList(activate(V1)))
isNat(n__s(V1)) → U21(isNat(activate(V1)))
isNatIList(V) → U31(isNatList(activate(V)))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → U41(isNat(activate(V1)), activate(V2))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(isNat(activate(V1)), activate(V2))
isNatList(n__take(V1, V2)) → U61(isNat(activate(V1)), activate(V2))
length(nil) → 0
length(cons(N, L)) → U71(isNatList(activate(L)), activate(L), N)
take(0, IL) → U81(isNatIList(IL))
take(s(M), cons(N, IL)) → U91(isNatIList(activate(IL)), activate(IL), M, N)
zeros → n__zeros
take(X1, X2) → n__take(X1, X2)
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
nil → n__nil
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__nil) → nil
activate(X) → X
U411(tt, n__zeros) → ISNATILIST(n__cons(n__0, n__zeros))
ISNATILIST(n__cons(n__take(x0, x1), y1)) → U411(isNat(take(x0, x1)), activate(y1))
U411(tt, n__take(x0, x1)) → ISNATILIST(take(x0, x1))
ISNATILIST(n__cons(n__length(x0), y1)) → U411(isNat(length(x0)), activate(y1))
U411(tt, n__length(x0)) → ISNATILIST(length(x0))
ISNATILIST(n__cons(x0, y1)) → U411(isNat(x0), activate(y1))
U411(tt, x0) → ISNATILIST(x0)
ISNATILIST(n__cons(n__0, y0)) → U411(isNat(n__0), activate(y0))
U411(tt, n__cons(x0, x1)) → ISNATILIST(n__cons(x0, x1))
ISNATILIST(n__cons(n__s(x0), y1)) → U411(isNat(n__s(x0)), activate(y1))
U411(tt, n__zeros) → ISNATILIST(n__cons(0, n__zeros))
U411(tt, n__zeros) → ISNATILIST(n__cons(n__0, n__zeros))
zeros → cons(0, n__zeros)
U11(tt) → tt
U21(tt) → tt
U31(tt) → tt
U41(tt, V2) → U42(isNatIList(activate(V2)))
U42(tt) → tt
U51(tt, V2) → U52(isNatList(activate(V2)))
U52(tt) → tt
U61(tt, V2) → U62(isNatIList(activate(V2)))
U62(tt) → tt
U71(tt, L, N) → U72(isNat(activate(N)), activate(L))
U72(tt, L) → s(length(activate(L)))
U81(tt) → nil
U91(tt, IL, M, N) → U92(isNat(activate(M)), activate(IL), activate(M), activate(N))
U92(tt, IL, M, N) → U93(isNat(activate(N)), activate(IL), activate(M), activate(N))
U93(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatList(activate(V1)))
isNat(n__s(V1)) → U21(isNat(activate(V1)))
isNatIList(V) → U31(isNatList(activate(V)))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → U41(isNat(activate(V1)), activate(V2))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(isNat(activate(V1)), activate(V2))
isNatList(n__take(V1, V2)) → U61(isNat(activate(V1)), activate(V2))
length(nil) → 0
length(cons(N, L)) → U71(isNatList(activate(L)), activate(L), N)
take(0, IL) → U81(isNatIList(IL))
take(s(M), cons(N, IL)) → U91(isNatIList(activate(IL)), activate(IL), M, N)
zeros → n__zeros
take(X1, X2) → n__take(X1, X2)
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
nil → n__nil
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__nil) → nil
activate(X) → X
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
ISNATILIST(n__cons(n__take(x0, x1), y1)) → U411(isNat(take(x0, x1)), activate(y1))
ISNATILIST(n__cons(n__length(x0), y1)) → U411(isNat(length(x0)), activate(y1))
POL( ISNATILIST(x1) ) = x1 + 2
POL( U411(x1, x2) ) = x1 + x2 + 2
POL( take(x1, x2) ) = x2 + 2
POL( 0 ) = 0
POL( U81(x1) ) = max{0, x1 - 2}
POL( isNatIList(x1) ) = 1
POL( s(x1) ) = max{0, -2}
POL( cons(x1, x2) ) = x1 + x2
POL( U91(x1, ..., x4) ) = x2 + x4 + 2
POL( activate(x1) ) = x1
POL( n__take(x1, x2) ) = x2 + 2
POL( U21(x1) ) = max{0, -2}
POL( U41(x1, x2) ) = max{0, -1}
POL( U51(x1, x2) ) = max{0, -2}
POL( U61(x1, x2) ) = max{0, -1}
POL( U72(x1, x2) ) = max{0, -2}
POL( U92(x1, ..., x4) ) = x2 + x4 + 2
POL( U93(x1, ..., x4) ) = x2 + x4 + 2
POL( isNat(x1) ) = max{0, x1 - 1}
POL( n__0 ) = 0
POL( tt ) = 0
POL( n__length(x1) ) = 2
POL( U11(x1) ) = max{0, 2x1 - 2}
POL( isNatList(x1) ) = max{0, -2}
POL( n__s(x1) ) = 0
POL( U71(x1, ..., x3) ) = max{0, -2}
POL( U31(x1) ) = max{0, -2}
POL( U42(x1) ) = max{0, -1}
POL( U52(x1) ) = max{0, -2}
POL( U62(x1) ) = max{0, -2}
POL( length(x1) ) = 2
POL( n__zeros ) = 0
POL( zeros ) = 0
POL( n__cons(x1, x2) ) = x1 + x2
POL( n__nil ) = 0
POL( nil ) = 0
take(0, IL) → U81(isNatIList(IL))
take(s(M), cons(N, IL)) → U91(isNatIList(activate(IL)), activate(IL), M, N)
take(X1, X2) → n__take(X1, X2)
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatList(activate(V1)))
isNat(n__s(V1)) → U21(isNat(activate(V1)))
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__nil) → nil
activate(X) → X
length(nil) → 0
length(cons(N, L)) → U71(isNatList(activate(L)), activate(L), N)
length(X) → n__length(X)
0 → n__0
isNatIList(n__zeros) → tt
U81(tt) → nil
isNatIList(V) → U31(isNatList(activate(V)))
isNatList(n__nil) → tt
U31(tt) → tt
isNatList(n__cons(V1, V2)) → U51(isNat(activate(V1)), activate(V2))
U11(tt) → tt
isNatList(n__take(V1, V2)) → U61(isNat(activate(V1)), activate(V2))
U21(tt) → tt
U61(tt, V2) → U62(isNatIList(activate(V2)))
U62(tt) → tt
isNatIList(n__cons(V1, V2)) → U41(isNat(activate(V1)), activate(V2))
U41(tt, V2) → U42(isNatIList(activate(V2)))
U42(tt) → tt
U51(tt, V2) → U52(isNatList(activate(V2)))
U52(tt) → tt
U71(tt, L, N) → U72(isNat(activate(N)), activate(L))
U72(tt, L) → s(length(activate(L)))
s(X) → n__s(X)
U91(tt, IL, M, N) → U92(isNat(activate(M)), activate(IL), activate(M), activate(N))
U92(tt, IL, M, N) → U93(isNat(activate(N)), activate(IL), activate(M), activate(N))
U93(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
cons(X1, X2) → n__cons(X1, X2)
zeros → cons(0, n__zeros)
zeros → n__zeros
nil → n__nil
U411(tt, n__take(x0, x1)) → ISNATILIST(take(x0, x1))
U411(tt, n__length(x0)) → ISNATILIST(length(x0))
ISNATILIST(n__cons(x0, y1)) → U411(isNat(x0), activate(y1))
U411(tt, x0) → ISNATILIST(x0)
ISNATILIST(n__cons(n__0, y0)) → U411(isNat(n__0), activate(y0))
U411(tt, n__cons(x0, x1)) → ISNATILIST(n__cons(x0, x1))
ISNATILIST(n__cons(n__s(x0), y1)) → U411(isNat(n__s(x0)), activate(y1))
U411(tt, n__zeros) → ISNATILIST(n__cons(0, n__zeros))
U411(tt, n__zeros) → ISNATILIST(n__cons(n__0, n__zeros))
zeros → cons(0, n__zeros)
U11(tt) → tt
U21(tt) → tt
U31(tt) → tt
U41(tt, V2) → U42(isNatIList(activate(V2)))
U42(tt) → tt
U51(tt, V2) → U52(isNatList(activate(V2)))
U52(tt) → tt
U61(tt, V2) → U62(isNatIList(activate(V2)))
U62(tt) → tt
U71(tt, L, N) → U72(isNat(activate(N)), activate(L))
U72(tt, L) → s(length(activate(L)))
U81(tt) → nil
U91(tt, IL, M, N) → U92(isNat(activate(M)), activate(IL), activate(M), activate(N))
U92(tt, IL, M, N) → U93(isNat(activate(N)), activate(IL), activate(M), activate(N))
U93(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatList(activate(V1)))
isNat(n__s(V1)) → U21(isNat(activate(V1)))
isNatIList(V) → U31(isNatList(activate(V)))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → U41(isNat(activate(V1)), activate(V2))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(isNat(activate(V1)), activate(V2))
isNatList(n__take(V1, V2)) → U61(isNat(activate(V1)), activate(V2))
length(nil) → 0
length(cons(N, L)) → U71(isNatList(activate(L)), activate(L), N)
take(0, IL) → U81(isNatIList(IL))
take(s(M), cons(N, IL)) → U91(isNatIList(activate(IL)), activate(IL), M, N)
zeros → n__zeros
take(X1, X2) → n__take(X1, X2)
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
nil → n__nil
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__nil) → nil
activate(X) → X
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
ISNATILIST(n__cons(n__s(x0), y1)) → U411(isNat(n__s(x0)), activate(y1))
POL( ISNATILIST(x1) ) = 2x1 + 2
POL( U411(x1, x2) ) = 2x2 + 2
POL( take(x1, x2) ) = x2
POL( 0 ) = 0
POL( U81(x1) ) = max{0, -2}
POL( isNatIList(x1) ) = max{0, -2}
POL( s(x1) ) = 2
POL( cons(x1, x2) ) = x1 + 2x2
POL( U91(x1, ..., x4) ) = 2x2 + x4
POL( activate(x1) ) = x1
POL( n__take(x1, x2) ) = x2
POL( length(x1) ) = x1 + 2
POL( nil ) = 0
POL( U71(x1, ..., x3) ) = 2
POL( isNatList(x1) ) = 2
POL( n__length(x1) ) = x1 + 2
POL( U21(x1) ) = max{0, -2}
POL( U41(x1, x2) ) = max{0, -2}
POL( U51(x1, x2) ) = 2
POL( U61(x1, x2) ) = 2
POL( U72(x1, x2) ) = 2
POL( U92(x1, ..., x4) ) = 2x2 + x4
POL( U93(x1, ..., x4) ) = 2x2 + x4
POL( isNat(x1) ) = 2x1 + 2
POL( n__0 ) = 0
POL( tt ) = 0
POL( U11(x1) ) = 1
POL( n__s(x1) ) = 2
POL( U31(x1) ) = max{0, -1}
POL( U42(x1) ) = 0
POL( U52(x1) ) = 2
POL( U62(x1) ) = max{0, -2}
POL( n__zeros ) = 0
POL( zeros ) = 0
POL( n__cons(x1, x2) ) = x1 + 2x2
POL( n__nil ) = 0
take(0, IL) → U81(isNatIList(IL))
take(s(M), cons(N, IL)) → U91(isNatIList(activate(IL)), activate(IL), M, N)
take(X1, X2) → n__take(X1, X2)
length(nil) → 0
length(cons(N, L)) → U71(isNatList(activate(L)), activate(L), N)
length(X) → n__length(X)
isNat(n__length(V1)) → U11(isNatList(activate(V1)))
isNat(n__s(V1)) → U21(isNat(activate(V1)))
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__nil) → nil
activate(X) → X
0 → n__0
U81(tt) → nil
isNatIList(V) → U31(isNatList(activate(V)))
U31(tt) → tt
isNatList(n__cons(V1, V2)) → U51(isNat(activate(V1)), activate(V2))
U11(tt) → tt
isNatList(n__take(V1, V2)) → U61(isNat(activate(V1)), activate(V2))
U21(tt) → tt
U61(tt, V2) → U62(isNatIList(activate(V2)))
U62(tt) → tt
isNatIList(n__cons(V1, V2)) → U41(isNat(activate(V1)), activate(V2))
U41(tt, V2) → U42(isNatIList(activate(V2)))
U42(tt) → tt
U51(tt, V2) → U52(isNatList(activate(V2)))
U52(tt) → tt
U71(tt, L, N) → U72(isNat(activate(N)), activate(L))
U72(tt, L) → s(length(activate(L)))
s(X) → n__s(X)
U91(tt, IL, M, N) → U92(isNat(activate(M)), activate(IL), activate(M), activate(N))
U92(tt, IL, M, N) → U93(isNat(activate(N)), activate(IL), activate(M), activate(N))
U93(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
cons(X1, X2) → n__cons(X1, X2)
zeros → cons(0, n__zeros)
zeros → n__zeros
nil → n__nil
U411(tt, n__take(x0, x1)) → ISNATILIST(take(x0, x1))
U411(tt, n__length(x0)) → ISNATILIST(length(x0))
ISNATILIST(n__cons(x0, y1)) → U411(isNat(x0), activate(y1))
U411(tt, x0) → ISNATILIST(x0)
ISNATILIST(n__cons(n__0, y0)) → U411(isNat(n__0), activate(y0))
U411(tt, n__cons(x0, x1)) → ISNATILIST(n__cons(x0, x1))
U411(tt, n__zeros) → ISNATILIST(n__cons(0, n__zeros))
U411(tt, n__zeros) → ISNATILIST(n__cons(n__0, n__zeros))
zeros → cons(0, n__zeros)
U11(tt) → tt
U21(tt) → tt
U31(tt) → tt
U41(tt, V2) → U42(isNatIList(activate(V2)))
U42(tt) → tt
U51(tt, V2) → U52(isNatList(activate(V2)))
U52(tt) → tt
U61(tt, V2) → U62(isNatIList(activate(V2)))
U62(tt) → tt
U71(tt, L, N) → U72(isNat(activate(N)), activate(L))
U72(tt, L) → s(length(activate(L)))
U81(tt) → nil
U91(tt, IL, M, N) → U92(isNat(activate(M)), activate(IL), activate(M), activate(N))
U92(tt, IL, M, N) → U93(isNat(activate(N)), activate(IL), activate(M), activate(N))
U93(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatList(activate(V1)))
isNat(n__s(V1)) → U21(isNat(activate(V1)))
isNatIList(V) → U31(isNatList(activate(V)))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → U41(isNat(activate(V1)), activate(V2))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(isNat(activate(V1)), activate(V2))
isNatList(n__take(V1, V2)) → U61(isNat(activate(V1)), activate(V2))
length(nil) → 0
length(cons(N, L)) → U71(isNatList(activate(L)), activate(L), N)
take(0, IL) → U81(isNatIList(IL))
take(s(M), cons(N, IL)) → U91(isNatIList(activate(IL)), activate(IL), M, N)
zeros → n__zeros
take(X1, X2) → n__take(X1, X2)
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
nil → n__nil
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__nil) → nil
activate(X) → X
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
U411(tt, n__length(x0)) → ISNATILIST(length(x0))
POL( ISNATILIST(x1) ) = x1
POL( U411(x1, x2) ) = max{0, x1 + 2x2 - 1}
POL( take(x1, x2) ) = max{0, -2}
POL( 0 ) = 0
POL( U81(x1) ) = max{0, x1 - 2}
POL( isNatIList(x1) ) = 2
POL( s(x1) ) = max{0, -2}
POL( cons(x1, x2) ) = 2x2
POL( U91(x1, ..., x4) ) = max{0, -1}
POL( activate(x1) ) = x1
POL( n__take(x1, x2) ) = max{0, -2}
POL( length(x1) ) = 2
POL( nil ) = 0
POL( U71(x1, ..., x3) ) = max{0, -2}
POL( isNatList(x1) ) = 1
POL( n__length(x1) ) = 2
POL( U21(x1) ) = 1
POL( U41(x1, x2) ) = x1
POL( U51(x1, x2) ) = max{0, 2x1 - 1}
POL( U61(x1, x2) ) = 1
POL( U72(x1, x2) ) = max{0, -2}
POL( U92(x1, ..., x4) ) = max{0, -1}
POL( U93(x1, ..., x4) ) = max{0, -1}
POL( isNat(x1) ) = 1
POL( n__0 ) = 0
POL( tt ) = 1
POL( U11(x1) ) = max{0, 2x1 - 1}
POL( n__s(x1) ) = max{0, -1}
POL( U31(x1) ) = 1
POL( U42(x1) ) = 1
POL( U52(x1) ) = 1
POL( U62(x1) ) = 1
POL( n__zeros ) = 0
POL( zeros ) = 0
POL( n__cons(x1, x2) ) = 2x2
POL( n__nil ) = 0
take(0, IL) → U81(isNatIList(IL))
take(s(M), cons(N, IL)) → U91(isNatIList(activate(IL)), activate(IL), M, N)
take(X1, X2) → n__take(X1, X2)
length(nil) → 0
length(cons(N, L)) → U71(isNatList(activate(L)), activate(L), N)
length(X) → n__length(X)
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatList(activate(V1)))
isNat(n__s(V1)) → U21(isNat(activate(V1)))
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__nil) → nil
activate(X) → X
0 → n__0
isNatIList(n__zeros) → tt
U81(tt) → nil
isNatIList(V) → U31(isNatList(activate(V)))
isNatList(n__nil) → tt
U31(tt) → tt
isNatList(n__cons(V1, V2)) → U51(isNat(activate(V1)), activate(V2))
U11(tt) → tt
isNatList(n__take(V1, V2)) → U61(isNat(activate(V1)), activate(V2))
U21(tt) → tt
U61(tt, V2) → U62(isNatIList(activate(V2)))
U62(tt) → tt
isNatIList(n__cons(V1, V2)) → U41(isNat(activate(V1)), activate(V2))
U41(tt, V2) → U42(isNatIList(activate(V2)))
U42(tt) → tt
U51(tt, V2) → U52(isNatList(activate(V2)))
U52(tt) → tt
U71(tt, L, N) → U72(isNat(activate(N)), activate(L))
U72(tt, L) → s(length(activate(L)))
s(X) → n__s(X)
U91(tt, IL, M, N) → U92(isNat(activate(M)), activate(IL), activate(M), activate(N))
U92(tt, IL, M, N) → U93(isNat(activate(N)), activate(IL), activate(M), activate(N))
U93(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
cons(X1, X2) → n__cons(X1, X2)
zeros → cons(0, n__zeros)
zeros → n__zeros
nil → n__nil
U411(tt, n__take(x0, x1)) → ISNATILIST(take(x0, x1))
ISNATILIST(n__cons(x0, y1)) → U411(isNat(x0), activate(y1))
U411(tt, x0) → ISNATILIST(x0)
ISNATILIST(n__cons(n__0, y0)) → U411(isNat(n__0), activate(y0))
U411(tt, n__cons(x0, x1)) → ISNATILIST(n__cons(x0, x1))
U411(tt, n__zeros) → ISNATILIST(n__cons(0, n__zeros))
U411(tt, n__zeros) → ISNATILIST(n__cons(n__0, n__zeros))
zeros → cons(0, n__zeros)
U11(tt) → tt
U21(tt) → tt
U31(tt) → tt
U41(tt, V2) → U42(isNatIList(activate(V2)))
U42(tt) → tt
U51(tt, V2) → U52(isNatList(activate(V2)))
U52(tt) → tt
U61(tt, V2) → U62(isNatIList(activate(V2)))
U62(tt) → tt
U71(tt, L, N) → U72(isNat(activate(N)), activate(L))
U72(tt, L) → s(length(activate(L)))
U81(tt) → nil
U91(tt, IL, M, N) → U92(isNat(activate(M)), activate(IL), activate(M), activate(N))
U92(tt, IL, M, N) → U93(isNat(activate(N)), activate(IL), activate(M), activate(N))
U93(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatList(activate(V1)))
isNat(n__s(V1)) → U21(isNat(activate(V1)))
isNatIList(V) → U31(isNatList(activate(V)))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → U41(isNat(activate(V1)), activate(V2))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(isNat(activate(V1)), activate(V2))
isNatList(n__take(V1, V2)) → U61(isNat(activate(V1)), activate(V2))
length(nil) → 0
length(cons(N, L)) → U71(isNatList(activate(L)), activate(L), N)
take(0, IL) → U81(isNatIList(IL))
take(s(M), cons(N, IL)) → U91(isNatIList(activate(IL)), activate(IL), M, N)
zeros → n__zeros
take(X1, X2) → n__take(X1, X2)
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
nil → n__nil
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__nil) → nil
activate(X) → X
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
U411(tt, n__take(x0, x1)) → ISNATILIST(take(x0, x1))
POL(U411(x1, x2)) = 0A + 0A · x1 + 1A · x2
POL(tt) = 2A
POL(n__take(x1, x2)) = 2A + 0A · x1 + 0A · x2
POL(ISNATILIST(x1)) = 2A + 0A · x1
POL(take(x1, x2)) = 2A + 0A · x1 + 0A · x2
POL(n__cons(x1, x2)) = 1A + 1A · x1 + 1A · x2
POL(isNat(x1)) = 2A + 1A · x1
POL(activate(x1)) = 1A + 0A · x1
POL(n__0) = 0A
POL(n__zeros) = 0A
POL(0) = 0A
POL(U81(x1)) = 2A + -I · x1
POL(isNatIList(x1)) = 1A + 1A · x1
POL(s(x1)) = 3A + 1A · x1
POL(cons(x1, x2)) = 1A + 1A · x1 + 1A · x2
POL(U91(x1, x2, x3, x4)) = 3A + -I · x1 + 1A · x2 + 1A · x3 + 1A · x4
POL(n__length(x1)) = 2A + 0A · x1
POL(U11(x1)) = 2A + -I · x1
POL(isNatList(x1)) = -I + 0A · x1
POL(n__s(x1)) = 3A + 1A · x1
POL(U21(x1)) = 4A + 1A · x1
POL(zeros) = 1A
POL(length(x1)) = 2A + 0A · x1
POL(n__nil) = 2A
POL(nil) = 2A
POL(U31(x1)) = -I + 0A · x1
POL(U71(x1, x2, x3)) = -I + 1A · x1 + 1A · x2 + 1A · x3
POL(U51(x1, x2)) = 1A + -I · x1 + 0A · x2
POL(U61(x1, x2)) = 2A + -I · x1 + 0A · x2
POL(U62(x1)) = 2A + -I · x1
POL(U41(x1, x2)) = 2A + -I · x1 + 0A · x2
POL(U42(x1)) = 2A + -I · x1
POL(U52(x1)) = -I + 0A · x1
POL(U72(x1, x2)) = 3A + 0A · x1 + 1A · x2
POL(U92(x1, x2, x3, x4)) = 3A + 0A · x1 + 1A · x2 + 1A · x3 + 1A · x4
POL(U93(x1, x2, x3, x4)) = 3A + 0A · x1 + 1A · x2 + 1A · x3 + 1A · x4
take(0, IL) → U81(isNatIList(IL))
take(s(M), cons(N, IL)) → U91(isNatIList(activate(IL)), activate(IL), M, N)
take(X1, X2) → n__take(X1, X2)
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatList(activate(V1)))
isNat(n__s(V1)) → U21(isNat(activate(V1)))
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__nil) → nil
activate(X) → X
0 → n__0
U81(tt) → nil
isNatIList(V) → U31(isNatList(activate(V)))
isNatList(n__nil) → tt
U31(tt) → tt
length(nil) → 0
length(X) → n__length(X)
length(cons(N, L)) → U71(isNatList(activate(L)), activate(L), N)
isNatList(n__cons(V1, V2)) → U51(isNat(activate(V1)), activate(V2))
U11(tt) → tt
isNatList(n__take(V1, V2)) → U61(isNat(activate(V1)), activate(V2))
U21(tt) → tt
U61(tt, V2) → U62(isNatIList(activate(V2)))
U62(tt) → tt
isNatIList(n__cons(V1, V2)) → U41(isNat(activate(V1)), activate(V2))
U41(tt, V2) → U42(isNatIList(activate(V2)))
U42(tt) → tt
U51(tt, V2) → U52(isNatList(activate(V2)))
U52(tt) → tt
U71(tt, L, N) → U72(isNat(activate(N)), activate(L))
U72(tt, L) → s(length(activate(L)))
s(X) → n__s(X)
U91(tt, IL, M, N) → U92(isNat(activate(M)), activate(IL), activate(M), activate(N))
U92(tt, IL, M, N) → U93(isNat(activate(N)), activate(IL), activate(M), activate(N))
U93(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
cons(X1, X2) → n__cons(X1, X2)
zeros → cons(0, n__zeros)
zeros → n__zeros
nil → n__nil
ISNATILIST(n__cons(x0, y1)) → U411(isNat(x0), activate(y1))
U411(tt, x0) → ISNATILIST(x0)
ISNATILIST(n__cons(n__0, y0)) → U411(isNat(n__0), activate(y0))
U411(tt, n__cons(x0, x1)) → ISNATILIST(n__cons(x0, x1))
U411(tt, n__zeros) → ISNATILIST(n__cons(0, n__zeros))
U411(tt, n__zeros) → ISNATILIST(n__cons(n__0, n__zeros))
zeros → cons(0, n__zeros)
U11(tt) → tt
U21(tt) → tt
U31(tt) → tt
U41(tt, V2) → U42(isNatIList(activate(V2)))
U42(tt) → tt
U51(tt, V2) → U52(isNatList(activate(V2)))
U52(tt) → tt
U61(tt, V2) → U62(isNatIList(activate(V2)))
U62(tt) → tt
U71(tt, L, N) → U72(isNat(activate(N)), activate(L))
U72(tt, L) → s(length(activate(L)))
U81(tt) → nil
U91(tt, IL, M, N) → U92(isNat(activate(M)), activate(IL), activate(M), activate(N))
U92(tt, IL, M, N) → U93(isNat(activate(N)), activate(IL), activate(M), activate(N))
U93(tt, IL, M, N) → cons(activate(N), n__take(activate(M), activate(IL)))
isNat(n__0) → tt
isNat(n__length(V1)) → U11(isNatList(activate(V1)))
isNat(n__s(V1)) → U21(isNat(activate(V1)))
isNatIList(V) → U31(isNatList(activate(V)))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → U41(isNat(activate(V1)), activate(V2))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → U51(isNat(activate(V1)), activate(V2))
isNatList(n__take(V1, V2)) → U61(isNat(activate(V1)), activate(V2))
length(nil) → 0
length(cons(N, L)) → U71(isNatList(activate(L)), activate(L), N)
take(0, IL) → U81(isNatIList(IL))
take(s(M), cons(N, IL)) → U91(isNatIList(activate(IL)), activate(IL), M, N)
zeros → n__zeros
take(X1, X2) → n__take(X1, X2)
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
nil → n__nil
activate(n__zeros) → zeros
activate(n__take(X1, X2)) → take(X1, X2)
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__nil) → nil
activate(X) → X