0 QTRS
↳1 QTRSToCSRProof (⇔)
↳2 CSR
↳3 PoloCSRProof (⇔)
↳4 CSR
↳5 PoloCSRProof (⇔)
↳6 CSR
↳7 PoloCSRProof (⇔)
↳8 CSR
↳9 PoloCSRProof (⇔)
↳10 CSR
↳11 PoloCSRProof (⇔)
↳12 CSR
↳13 PoloCSRProof (⇔)
↳14 CSR
↳15 PoloCSRProof (⇔)
↳16 CSR
↳17 PoloCSRProof (⇔)
↳18 CSR
↳19 CSDependencyPairsProof (⇔)
↳20 QCSDP
↳21 QCSDependencyGraphProof (⇔)
↳22 AND
↳23 QCSDP
↳24 QCSDPReductionPairProof (⇔)
↳25 QCSDP
↳26 QCSDependencyGraphProof (⇔)
↳27 AND
↳28 QCSDP
↳29 QCSDPReductionPairProof (⇔)
↳30 QCSDP
↳31 QCSDependencyGraphProof (⇔)
↳32 AND
↳33 QCSDP
↳34 QCSDPSubtermProof (⇔)
↳35 QCSDP
↳36 PIsEmptyProof (⇔)
↳37 TRUE
↳38 QCSDP
↳39 QCSDPInstantiationProcessor (⇔)
↳40 QCSDP
↳41 QCSDependencyGraphProof (⇔)
↳42 AND
↳43 QCSDP
↳44 QCSDPForwardInstantiationProcessor (⇔)
↳45 QCSDP
↳46 QCSDPForwardInstantiationProcessor (⇔)
↳47 QCSDP
↳48 QCSDP
↳49 QCSDPReductionPairProof (⇔)
↳50 QCSDP
↳51 QCSDPReductionPairProof (⇔)
↳52 QCSDP
↳53 QCSDP
↳54 QCSDPReductionPairProof (⇔)
↳55 QCSDP
↳56 QCSDP
↳57 QCSDP
↳58 QCSDP
↳59 Zantema-Transformation (⇐)
↳60 QTRS
↳61 DependencyPairsProof (⇔)
↳62 QDP
↳63 DependencyGraphProof (⇔)
↳64 AND
↳65 QDP
↳66 QDPOrderProof (⇔)
↳67 QDP
↳68 DependencyGraphProof (⇔)
↳69 AND
↳70 QDP
↳71 QDPOrderProof (⇔)
↳72 QDP
↳73 QDPOrderProof (⇔)
↳74 QDP
↳75 DependencyGraphProof (⇔)
↳76 AND
↳77 QDP
↳78 QDPOrderProof (⇔)
↳79 QDP
↳80 QDP
↳81 QDP
↳82 QDP
↳83 QDP
↳84 QDP
↳85 Incomplete Giesl Middeldorp-Transformation (⇐)
↳86 QTRS
↳87 DependencyPairsProof (⇔)
↳88 QDP
↳89 DependencyGraphProof (⇔)
↳90 QDP
↳91 QDPOrderProof (⇔)
↳92 QDP
↳93 DependencyGraphProof (⇔)
↳94 AND
↳95 QDP
↳96 QDPOrderProof (⇔)
↳97 QDP
↳98 QDPOrderProof (⇔)
↳99 QDP
↳100 DependencyGraphProof (⇔)
↳101 AND
↳102 QDP
↳103 QDPOrderProof (⇔)
↳104 QDP
↳105 QDPOrderProof (⇔)
↳106 QDP
↳107 DependencyGraphProof (⇔)
↳108 AND
↳109 QDP
↳110 Instantiation (⇔)
↳111 QDP
↳112 DependencyGraphProof (⇔)
↳113 AND
↳114 QDP
↳115 QDPOrderProof (⇔)
↳116 QDP
↳117 DependencyGraphProof (⇔)
↳118 TRUE
↳119 QDP
↳120 UsableRulesProof (⇔)
↳121 QDP
↳122 QDPSizeChangeProof (⇔)
↳123 TRUE
↳124 QDP
↳125 QDPSizeChangeProof (⇔)
↳126 TRUE
↳127 QDP
↳128 QDPOrderProof (⇔)
↳129 QDP
↳130 DependencyGraphProof (⇔)
↳131 TRUE
↳132 QDP
↳133 QDPSizeChangeProof (⇔)
↳134 TRUE
active(zeros) → mark(cons(0, zeros))
active(U11(tt, V1)) → mark(U12(isNatList(V1)))
active(U12(tt)) → mark(tt)
active(U21(tt, V1)) → mark(U22(isNat(V1)))
active(U22(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatList(V)))
active(U32(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNat(V1), V2))
active(U42(tt, V2)) → mark(U43(isNatIList(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNat(V1), V2))
active(U52(tt, V2)) → mark(U53(isNatList(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, L)) → mark(s(length(L)))
active(and(tt, X)) → mark(X)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(and(isNatKind(V1), isNatIListKind(V2)), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(and(isNatKind(V1), isNatIListKind(V2)))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(isNatIListKind(V1))
active(isNatKind(s(V1))) → mark(isNatKind(V1))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U51(and(isNatKind(V1), isNatIListKind(V2)), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U61(and(and(isNatList(L), isNatIListKind(L)), and(isNat(N), isNatKind(N))), L))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X)) → U12(active(X))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X)) → U22(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X)) → U32(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2)) → U42(active(X1), X2)
active(U43(X)) → U43(active(X))
active(U51(X1, X2, X3)) → U51(active(X1), X2, X3)
active(U52(X1, X2)) → U52(active(X1), X2)
active(U53(X)) → U53(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(and(X1, X2)) → and(active(X1), X2)
cons(mark(X1), X2) → mark(cons(X1, X2))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X)) → mark(U12(X))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X)) → mark(U22(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X)) → mark(U32(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2) → mark(U42(X1, X2))
U43(mark(X)) → mark(U43(X))
U51(mark(X1), X2, X3) → mark(U51(X1, X2, X3))
U52(mark(X1), X2) → mark(U52(X1, X2))
U53(mark(X)) → mark(U53(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
and(mark(X1), X2) → mark(and(X1, X2))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(tt) → ok(tt)
proper(U12(X)) → U12(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X)) → U22(proper(X))
proper(isNat(X)) → isNat(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X)) → U32(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2)) → U42(proper(X1), proper(X2))
proper(U43(X)) → U43(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U51(X1, X2, X3)) → U51(proper(X1), proper(X2), proper(X3))
proper(U52(X1, X2)) → U52(proper(X1), proper(X2))
proper(U53(X)) → U53(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(and(X1, X2)) → and(proper(X1), proper(X2))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(nil) → ok(nil)
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X)) → ok(U12(X))
isNatList(ok(X)) → ok(isNatList(X))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X)) → ok(U22(X))
isNat(ok(X)) → ok(isNat(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X)) → ok(U32(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2)) → ok(U42(X1, X2))
U43(ok(X)) → ok(U43(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U51(ok(X1), ok(X2), ok(X3)) → ok(U51(X1, X2, X3))
U52(ok(X1), ok(X2)) → ok(U52(X1, X2))
U53(ok(X)) → ok(U53(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
and(ok(X1), ok(X2)) → ok(and(X1, X2))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
isNatKind(ok(X)) → ok(isNatKind(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))
active(zeros) → mark(cons(0, zeros))
active(U11(tt, V1)) → mark(U12(isNatList(V1)))
active(U12(tt)) → mark(tt)
active(U21(tt, V1)) → mark(U22(isNat(V1)))
active(U22(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatList(V)))
active(U32(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNat(V1), V2))
active(U42(tt, V2)) → mark(U43(isNatIList(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNat(V1), V2))
active(U52(tt, V2)) → mark(U53(isNatList(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, L)) → mark(s(length(L)))
active(and(tt, X)) → mark(X)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(and(isNatKind(V1), isNatIListKind(V2)), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(and(isNatKind(V1), isNatIListKind(V2)))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(isNatIListKind(V1))
active(isNatKind(s(V1))) → mark(isNatKind(V1))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U51(and(isNatKind(V1), isNatIListKind(V2)), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U61(and(and(isNatList(L), isNatIListKind(L)), and(isNat(N), isNatKind(N))), L))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X)) → U12(active(X))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X)) → U22(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X)) → U32(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2)) → U42(active(X1), X2)
active(U43(X)) → U43(active(X))
active(U51(X1, X2, X3)) → U51(active(X1), X2, X3)
active(U52(X1, X2)) → U52(active(X1), X2)
active(U53(X)) → U53(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(and(X1, X2)) → and(active(X1), X2)
cons(mark(X1), X2) → mark(cons(X1, X2))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X)) → mark(U12(X))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X)) → mark(U22(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X)) → mark(U32(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2) → mark(U42(X1, X2))
U43(mark(X)) → mark(U43(X))
U51(mark(X1), X2, X3) → mark(U51(X1, X2, X3))
U52(mark(X1), X2) → mark(U52(X1, X2))
U53(mark(X)) → mark(U53(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
and(mark(X1), X2) → mark(and(X1, X2))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(tt) → ok(tt)
proper(U12(X)) → U12(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X)) → U22(proper(X))
proper(isNat(X)) → isNat(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X)) → U32(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2)) → U42(proper(X1), proper(X2))
proper(U43(X)) → U43(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U51(X1, X2, X3)) → U51(proper(X1), proper(X2), proper(X3))
proper(U52(X1, X2)) → U52(proper(X1), proper(X2))
proper(U53(X)) → U53(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(and(X1, X2)) → and(proper(X1), proper(X2))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(nil) → ok(nil)
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X)) → ok(U12(X))
isNatList(ok(X)) → ok(isNatList(X))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X)) → ok(U22(X))
isNat(ok(X)) → ok(isNat(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X)) → ok(U32(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2)) → ok(U42(X1, X2))
U43(ok(X)) → ok(U43(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U51(ok(X1), ok(X2), ok(X3)) → ok(U51(X1, X2, X3))
U52(ok(X1), ok(X2)) → ok(U52(X1, X2))
U53(ok(X)) → ok(U53(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
and(ok(X1), ok(X2)) → ok(and(X1, X2))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
isNatKind(ok(X)) → ok(isNatKind(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))
zeros: empty set
cons: {1}
0: empty set
U11: {1}
tt: empty set
U12: {1}
isNatList: empty set
U21: {1}
U22: {1}
isNat: empty set
U31: {1}
U32: {1}
U41: {1}
U42: {1}
U43: {1}
isNatIList: empty set
U51: {1}
U52: {1}
U53: {1}
U61: {1}
s: {1}
length: {1}
and: {1}
isNatIListKind: empty set
isNatKind: empty set
nil: empty set
The QTRS contained all rules created by the complete Giesl-Middeldorp transformation. Therefore, the inverse transformation is complete (and sound).
zeros → cons(0, zeros)
U11(tt, V1) → U12(isNatList(V1))
U12(tt) → tt
U21(tt, V1) → U22(isNat(V1))
U22(tt) → tt
U31(tt, V) → U32(isNatList(V))
U32(tt) → tt
U41(tt, V1, V2) → U42(isNat(V1), V2)
U42(tt, V2) → U43(isNatIList(V2))
U43(tt) → tt
U51(tt, V1, V2) → U52(isNat(V1), V2)
U52(tt, V2) → U53(isNatList(V2))
U53(tt) → tt
U61(tt, L) → s(length(L))
and(tt, X) → X
isNat(0) → tt
isNat(length(V1)) → U11(isNatIListKind(V1), V1)
isNat(s(V1)) → U21(isNatKind(V1), V1)
isNatIList(V) → U31(isNatIListKind(V), V)
isNatIList(zeros) → tt
isNatIList(cons(V1, V2)) → U41(and(isNatKind(V1), isNatIListKind(V2)), V1, V2)
isNatIListKind(nil) → tt
isNatIListKind(zeros) → tt
isNatIListKind(cons(V1, V2)) → and(isNatKind(V1), isNatIListKind(V2))
isNatKind(0) → tt
isNatKind(length(V1)) → isNatIListKind(V1)
isNatKind(s(V1)) → isNatKind(V1)
isNatList(nil) → tt
isNatList(cons(V1, V2)) → U51(and(isNatKind(V1), isNatIListKind(V2)), V1, V2)
length(nil) → 0
length(cons(N, L)) → U61(and(and(isNatList(L), isNatIListKind(L)), and(isNat(N), isNatKind(N))), L)
zeros: empty set
cons: {1}
0: empty set
U11: {1}
tt: empty set
U12: {1}
isNatList: empty set
U21: {1}
U22: {1}
isNat: empty set
U31: {1}
U32: {1}
U41: {1}
U42: {1}
U43: {1}
isNatIList: empty set
U51: {1}
U52: {1}
U53: {1}
U61: {1}
s: {1}
length: {1}
and: {1}
isNatIListKind: empty set
isNatKind: empty set
nil: empty set
Used ordering:
length(nil) → 0
POL(0) = 0
POL(U11(x1, x2)) = x1
POL(U12(x1)) = 2·x1
POL(U21(x1, x2)) = 2·x1
POL(U22(x1)) = 2·x1
POL(U31(x1, x2)) = x1
POL(U32(x1)) = 2·x1
POL(U41(x1, x2, x3)) = x1
POL(U42(x1, x2)) = 2·x1
POL(U43(x1)) = x1
POL(U51(x1, x2, x3)) = x1
POL(U52(x1, x2)) = 2·x1
POL(U53(x1)) = 2·x1
POL(U61(x1, x2)) = x1 + x2
POL(and(x1, x2)) = 2·x1 + x2
POL(cons(x1, x2)) = 2·x1 + x2
POL(isNat(x1)) = 0
POL(isNatIList(x1)) = 0
POL(isNatIListKind(x1)) = 0
POL(isNatKind(x1)) = 0
POL(isNatList(x1)) = 0
POL(length(x1)) = x1
POL(nil) = 1
POL(s(x1)) = x1
POL(tt) = 0
POL(zeros) = 0
zeros → cons(0, zeros)
U11(tt, V1) → U12(isNatList(V1))
U12(tt) → tt
U21(tt, V1) → U22(isNat(V1))
U22(tt) → tt
U31(tt, V) → U32(isNatList(V))
U32(tt) → tt
U41(tt, V1, V2) → U42(isNat(V1), V2)
U42(tt, V2) → U43(isNatIList(V2))
U43(tt) → tt
U51(tt, V1, V2) → U52(isNat(V1), V2)
U52(tt, V2) → U53(isNatList(V2))
U53(tt) → tt
U61(tt, L) → s(length(L))
and(tt, X) → X
isNat(0) → tt
isNat(length(V1)) → U11(isNatIListKind(V1), V1)
isNat(s(V1)) → U21(isNatKind(V1), V1)
isNatIList(V) → U31(isNatIListKind(V), V)
isNatIList(zeros) → tt
isNatIList(cons(V1, V2)) → U41(and(isNatKind(V1), isNatIListKind(V2)), V1, V2)
isNatIListKind(nil) → tt
isNatIListKind(zeros) → tt
isNatIListKind(cons(V1, V2)) → and(isNatKind(V1), isNatIListKind(V2))
isNatKind(0) → tt
isNatKind(length(V1)) → isNatIListKind(V1)
isNatKind(s(V1)) → isNatKind(V1)
isNatList(nil) → tt
isNatList(cons(V1, V2)) → U51(and(isNatKind(V1), isNatIListKind(V2)), V1, V2)
length(cons(N, L)) → U61(and(and(isNatList(L), isNatIListKind(L)), and(isNat(N), isNatKind(N))), L)
zeros: empty set
cons: {1}
0: empty set
U11: {1}
tt: empty set
U12: {1}
isNatList: empty set
U21: {1}
U22: {1}
isNat: empty set
U31: {1}
U32: {1}
U41: {1}
U42: {1}
U43: {1}
isNatIList: empty set
U51: {1}
U52: {1}
U53: {1}
U61: {1}
s: {1}
length: {1}
and: {1}
isNatIListKind: empty set
isNatKind: empty set
nil: empty set
Used ordering:
U31(tt, V) → U32(isNatList(V))
isNatIList(zeros) → tt
POL(0) = 0
POL(U11(x1, x2)) = 2·x1
POL(U12(x1)) = x1
POL(U21(x1, x2)) = x1
POL(U22(x1)) = 2·x1
POL(U31(x1, x2)) = 1 + x1
POL(U32(x1)) = x1
POL(U41(x1, x2, x3)) = 1 + x1
POL(U42(x1, x2)) = 1 + 2·x1
POL(U43(x1)) = x1
POL(U51(x1, x2, x3)) = x1
POL(U52(x1, x2)) = x1
POL(U53(x1)) = 2·x1
POL(U61(x1, x2)) = x1 + 2·x2
POL(and(x1, x2)) = 2·x1 + 2·x2
POL(cons(x1, x2)) = 2·x1 + 2·x2
POL(isNat(x1)) = 0
POL(isNatIList(x1)) = 1
POL(isNatIListKind(x1)) = 0
POL(isNatKind(x1)) = 0
POL(isNatList(x1)) = 0
POL(length(x1)) = x1
POL(nil) = 1
POL(s(x1)) = 2·x1
POL(tt) = 0
POL(zeros) = 0
zeros → cons(0, zeros)
U11(tt, V1) → U12(isNatList(V1))
U12(tt) → tt
U21(tt, V1) → U22(isNat(V1))
U22(tt) → tt
U32(tt) → tt
U41(tt, V1, V2) → U42(isNat(V1), V2)
U42(tt, V2) → U43(isNatIList(V2))
U43(tt) → tt
U51(tt, V1, V2) → U52(isNat(V1), V2)
U52(tt, V2) → U53(isNatList(V2))
U53(tt) → tt
U61(tt, L) → s(length(L))
and(tt, X) → X
isNat(0) → tt
isNat(length(V1)) → U11(isNatIListKind(V1), V1)
isNat(s(V1)) → U21(isNatKind(V1), V1)
isNatIList(V) → U31(isNatIListKind(V), V)
isNatIList(cons(V1, V2)) → U41(and(isNatKind(V1), isNatIListKind(V2)), V1, V2)
isNatIListKind(nil) → tt
isNatIListKind(zeros) → tt
isNatIListKind(cons(V1, V2)) → and(isNatKind(V1), isNatIListKind(V2))
isNatKind(0) → tt
isNatKind(length(V1)) → isNatIListKind(V1)
isNatKind(s(V1)) → isNatKind(V1)
isNatList(nil) → tt
isNatList(cons(V1, V2)) → U51(and(isNatKind(V1), isNatIListKind(V2)), V1, V2)
length(cons(N, L)) → U61(and(and(isNatList(L), isNatIListKind(L)), and(isNat(N), isNatKind(N))), L)
zeros: empty set
cons: {1}
0: empty set
U11: {1}
tt: empty set
U12: {1}
isNatList: empty set
U21: {1}
U22: {1}
isNat: empty set
U31: {1}
U32: {1}
U41: {1}
U42: {1}
U43: {1}
isNatIList: empty set
U51: {1}
U52: {1}
U53: {1}
U61: {1}
s: {1}
length: {1}
and: {1}
isNatIListKind: empty set
isNatKind: empty set
nil: empty set
Used ordering:
U32(tt) → tt
POL(0) = 0
POL(U11(x1, x2)) = 2·x1
POL(U12(x1)) = x1
POL(U21(x1, x2)) = 2·x1
POL(U22(x1)) = 2·x1
POL(U31(x1, x2)) = 2·x1
POL(U32(x1)) = 1 + 2·x1
POL(U41(x1, x2, x3)) = 2·x1
POL(U42(x1, x2)) = x1
POL(U43(x1)) = 2·x1
POL(U51(x1, x2, x3)) = x1
POL(U52(x1, x2)) = x1
POL(U53(x1)) = 2·x1
POL(U61(x1, x2)) = 2 + 2·x1 + x2
POL(and(x1, x2)) = 2·x1 + 2·x2
POL(cons(x1, x2)) = x1 + x2
POL(isNat(x1)) = 0
POL(isNatIList(x1)) = 0
POL(isNatIListKind(x1)) = 0
POL(isNatKind(x1)) = 0
POL(isNatList(x1)) = 0
POL(length(x1)) = 2 + x1
POL(nil) = 2
POL(s(x1)) = x1
POL(tt) = 0
POL(zeros) = 0
zeros → cons(0, zeros)
U11(tt, V1) → U12(isNatList(V1))
U12(tt) → tt
U21(tt, V1) → U22(isNat(V1))
U22(tt) → tt
U41(tt, V1, V2) → U42(isNat(V1), V2)
U42(tt, V2) → U43(isNatIList(V2))
U43(tt) → tt
U51(tt, V1, V2) → U52(isNat(V1), V2)
U52(tt, V2) → U53(isNatList(V2))
U53(tt) → tt
U61(tt, L) → s(length(L))
and(tt, X) → X
isNat(0) → tt
isNat(length(V1)) → U11(isNatIListKind(V1), V1)
isNat(s(V1)) → U21(isNatKind(V1), V1)
isNatIList(V) → U31(isNatIListKind(V), V)
isNatIList(cons(V1, V2)) → U41(and(isNatKind(V1), isNatIListKind(V2)), V1, V2)
isNatIListKind(nil) → tt
isNatIListKind(zeros) → tt
isNatIListKind(cons(V1, V2)) → and(isNatKind(V1), isNatIListKind(V2))
isNatKind(0) → tt
isNatKind(length(V1)) → isNatIListKind(V1)
isNatKind(s(V1)) → isNatKind(V1)
isNatList(nil) → tt
isNatList(cons(V1, V2)) → U51(and(isNatKind(V1), isNatIListKind(V2)), V1, V2)
length(cons(N, L)) → U61(and(and(isNatList(L), isNatIListKind(L)), and(isNat(N), isNatKind(N))), L)
zeros: empty set
cons: {1}
0: empty set
U11: {1}
tt: empty set
U12: {1}
isNatList: empty set
U21: {1}
U22: {1}
isNat: empty set
U31: {1}
U41: {1}
U42: {1}
U43: {1}
isNatIList: empty set
U51: {1}
U52: {1}
U53: {1}
U61: {1}
s: {1}
length: {1}
and: {1}
isNatIListKind: empty set
isNatKind: empty set
nil: empty set
Used ordering:
isNatIList(V) → U31(isNatIListKind(V), V)
POL(0) = 0
POL(U11(x1, x2)) = 2·x1
POL(U12(x1)) = 2·x1
POL(U21(x1, x2)) = 2·x1
POL(U22(x1)) = 2·x1
POL(U31(x1, x2)) = 1 + x1
POL(U41(x1, x2, x3)) = 2 + 2·x1
POL(U42(x1, x2)) = 2 + 2·x1
POL(U43(x1)) = x1
POL(U51(x1, x2, x3)) = x1
POL(U52(x1, x2)) = x1
POL(U53(x1)) = 2·x1
POL(U61(x1, x2)) = 2·x1 + x2
POL(and(x1, x2)) = 2·x1 + 2·x2
POL(cons(x1, x2)) = 2·x1 + x2
POL(isNat(x1)) = 0
POL(isNatIList(x1)) = 2
POL(isNatIListKind(x1)) = 0
POL(isNatKind(x1)) = 0
POL(isNatList(x1)) = 0
POL(length(x1)) = x1
POL(nil) = 1
POL(s(x1)) = x1
POL(tt) = 0
POL(zeros) = 0
zeros → cons(0, zeros)
U11(tt, V1) → U12(isNatList(V1))
U12(tt) → tt
U21(tt, V1) → U22(isNat(V1))
U22(tt) → tt
U41(tt, V1, V2) → U42(isNat(V1), V2)
U42(tt, V2) → U43(isNatIList(V2))
U43(tt) → tt
U51(tt, V1, V2) → U52(isNat(V1), V2)
U52(tt, V2) → U53(isNatList(V2))
U53(tt) → tt
U61(tt, L) → s(length(L))
and(tt, X) → X
isNat(0) → tt
isNat(length(V1)) → U11(isNatIListKind(V1), V1)
isNat(s(V1)) → U21(isNatKind(V1), V1)
isNatIList(cons(V1, V2)) → U41(and(isNatKind(V1), isNatIListKind(V2)), V1, V2)
isNatIListKind(nil) → tt
isNatIListKind(zeros) → tt
isNatIListKind(cons(V1, V2)) → and(isNatKind(V1), isNatIListKind(V2))
isNatKind(0) → tt
isNatKind(length(V1)) → isNatIListKind(V1)
isNatKind(s(V1)) → isNatKind(V1)
isNatList(nil) → tt
isNatList(cons(V1, V2)) → U51(and(isNatKind(V1), isNatIListKind(V2)), V1, V2)
length(cons(N, L)) → U61(and(and(isNatList(L), isNatIListKind(L)), and(isNat(N), isNatKind(N))), L)
zeros: empty set
cons: {1}
0: empty set
U11: {1}
tt: empty set
U12: {1}
isNatList: empty set
U21: {1}
U22: {1}
isNat: empty set
U41: {1}
U42: {1}
U43: {1}
isNatIList: empty set
U51: {1}
U52: {1}
U53: {1}
U61: {1}
s: {1}
length: {1}
and: {1}
isNatIListKind: empty set
isNatKind: empty set
nil: empty set
Used ordering:
isNatList(nil) → tt
POL(0) = 0
POL(U11(x1, x2)) = 2·x1 + x2
POL(U12(x1)) = x1
POL(U21(x1, x2)) = 2·x1 + x2
POL(U22(x1)) = x1
POL(U41(x1, x2, x3)) = 2·x1 + 2·x2 + 2·x3
POL(U42(x1, x2)) = 2·x1 + 2·x2
POL(U43(x1)) = x1
POL(U51(x1, x2, x3)) = x1 + x2 + 2·x3
POL(U52(x1, x2)) = x1 + x2
POL(U53(x1)) = x1
POL(U61(x1, x2)) = x1 + 2·x2
POL(and(x1, x2)) = x1 + 2·x2
POL(cons(x1, x2)) = 2·x1 + 2·x2
POL(isNat(x1)) = x1
POL(isNatIList(x1)) = 2·x1
POL(isNatIListKind(x1)) = 0
POL(isNatKind(x1)) = 0
POL(isNatList(x1)) = x1
POL(length(x1)) = 2·x1
POL(nil) = 2
POL(s(x1)) = x1
POL(tt) = 0
POL(zeros) = 0
zeros → cons(0, zeros)
U11(tt, V1) → U12(isNatList(V1))
U12(tt) → tt
U21(tt, V1) → U22(isNat(V1))
U22(tt) → tt
U41(tt, V1, V2) → U42(isNat(V1), V2)
U42(tt, V2) → U43(isNatIList(V2))
U43(tt) → tt
U51(tt, V1, V2) → U52(isNat(V1), V2)
U52(tt, V2) → U53(isNatList(V2))
U53(tt) → tt
U61(tt, L) → s(length(L))
and(tt, X) → X
isNat(0) → tt
isNat(length(V1)) → U11(isNatIListKind(V1), V1)
isNat(s(V1)) → U21(isNatKind(V1), V1)
isNatIList(cons(V1, V2)) → U41(and(isNatKind(V1), isNatIListKind(V2)), V1, V2)
isNatIListKind(nil) → tt
isNatIListKind(zeros) → tt
isNatIListKind(cons(V1, V2)) → and(isNatKind(V1), isNatIListKind(V2))
isNatKind(0) → tt
isNatKind(length(V1)) → isNatIListKind(V1)
isNatKind(s(V1)) → isNatKind(V1)
isNatList(cons(V1, V2)) → U51(and(isNatKind(V1), isNatIListKind(V2)), V1, V2)
length(cons(N, L)) → U61(and(and(isNatList(L), isNatIListKind(L)), and(isNat(N), isNatKind(N))), L)
zeros: empty set
cons: {1}
0: empty set
U11: {1}
tt: empty set
U12: {1}
isNatList: empty set
U21: {1}
U22: {1}
isNat: empty set
U41: {1}
U42: {1}
U43: {1}
isNatIList: empty set
U51: {1}
U52: {1}
U53: {1}
U61: {1}
s: {1}
length: {1}
and: {1}
isNatIListKind: empty set
isNatKind: empty set
nil: empty set
Used ordering:
isNat(length(V1)) → U11(isNatIListKind(V1), V1)
POL(0) = 0
POL(U11(x1, x2)) = x1 + x2
POL(U12(x1)) = x1
POL(U21(x1, x2)) = x1 + x2
POL(U22(x1)) = x1
POL(U41(x1, x2, x3)) = 2·x1 + x2 + 2·x3
POL(U42(x1, x2)) = x1 + 2·x2
POL(U43(x1)) = 2·x1
POL(U51(x1, x2, x3)) = x1 + x2 + 2·x3
POL(U52(x1, x2)) = x1 + 2·x2
POL(U53(x1)) = x1
POL(U61(x1, x2)) = 1 + 2·x1 + 2·x2
POL(and(x1, x2)) = x1 + 2·x2
POL(cons(x1, x2)) = 2·x1 + 2·x2
POL(isNat(x1)) = x1
POL(isNatIList(x1)) = x1
POL(isNatIListKind(x1)) = 0
POL(isNatKind(x1)) = 0
POL(isNatList(x1)) = x1
POL(length(x1)) = 1 + 2·x1
POL(nil) = 2
POL(s(x1)) = x1
POL(tt) = 0
POL(zeros) = 0
zeros → cons(0, zeros)
U11(tt, V1) → U12(isNatList(V1))
U12(tt) → tt
U21(tt, V1) → U22(isNat(V1))
U22(tt) → tt
U41(tt, V1, V2) → U42(isNat(V1), V2)
U42(tt, V2) → U43(isNatIList(V2))
U43(tt) → tt
U51(tt, V1, V2) → U52(isNat(V1), V2)
U52(tt, V2) → U53(isNatList(V2))
U53(tt) → tt
U61(tt, L) → s(length(L))
and(tt, X) → X
isNat(0) → tt
isNat(s(V1)) → U21(isNatKind(V1), V1)
isNatIList(cons(V1, V2)) → U41(and(isNatKind(V1), isNatIListKind(V2)), V1, V2)
isNatIListKind(nil) → tt
isNatIListKind(zeros) → tt
isNatIListKind(cons(V1, V2)) → and(isNatKind(V1), isNatIListKind(V2))
isNatKind(0) → tt
isNatKind(length(V1)) → isNatIListKind(V1)
isNatKind(s(V1)) → isNatKind(V1)
isNatList(cons(V1, V2)) → U51(and(isNatKind(V1), isNatIListKind(V2)), V1, V2)
length(cons(N, L)) → U61(and(and(isNatList(L), isNatIListKind(L)), and(isNat(N), isNatKind(N))), L)
zeros: empty set
cons: {1}
0: empty set
U11: {1}
tt: empty set
U12: {1}
isNatList: empty set
U21: {1}
U22: {1}
isNat: empty set
U41: {1}
U42: {1}
U43: {1}
isNatIList: empty set
U51: {1}
U52: {1}
U53: {1}
U61: {1}
s: {1}
length: {1}
and: {1}
isNatIListKind: empty set
isNatKind: empty set
nil: empty set
Used ordering:
U12(tt) → tt
POL(0) = 0
POL(U11(x1, x2)) = 2 + 2·x1 + 2·x2
POL(U12(x1)) = 2 + 2·x1
POL(U21(x1, x2)) = x1
POL(U22(x1)) = 2·x1
POL(U41(x1, x2, x3)) = x1
POL(U42(x1, x2)) = 2·x1
POL(U43(x1)) = x1
POL(U51(x1, x2, x3)) = 2·x1
POL(U52(x1, x2)) = 2·x1
POL(U53(x1)) = x1
POL(U61(x1, x2)) = 1 + 2·x1 + 2·x2
POL(and(x1, x2)) = 2·x1 + 2·x2
POL(cons(x1, x2)) = 2·x1 + 2·x2
POL(isNat(x1)) = 0
POL(isNatIList(x1)) = 0
POL(isNatIListKind(x1)) = 0
POL(isNatKind(x1)) = 0
POL(isNatList(x1)) = 0
POL(length(x1)) = 1 + x1
POL(nil) = 1
POL(s(x1)) = x1
POL(tt) = 0
POL(zeros) = 0
zeros → cons(0, zeros)
U11(tt, V1) → U12(isNatList(V1))
U21(tt, V1) → U22(isNat(V1))
U22(tt) → tt
U41(tt, V1, V2) → U42(isNat(V1), V2)
U42(tt, V2) → U43(isNatIList(V2))
U43(tt) → tt
U51(tt, V1, V2) → U52(isNat(V1), V2)
U52(tt, V2) → U53(isNatList(V2))
U53(tt) → tt
U61(tt, L) → s(length(L))
and(tt, X) → X
isNat(0) → tt
isNat(s(V1)) → U21(isNatKind(V1), V1)
isNatIList(cons(V1, V2)) → U41(and(isNatKind(V1), isNatIListKind(V2)), V1, V2)
isNatIListKind(nil) → tt
isNatIListKind(zeros) → tt
isNatIListKind(cons(V1, V2)) → and(isNatKind(V1), isNatIListKind(V2))
isNatKind(0) → tt
isNatKind(length(V1)) → isNatIListKind(V1)
isNatKind(s(V1)) → isNatKind(V1)
isNatList(cons(V1, V2)) → U51(and(isNatKind(V1), isNatIListKind(V2)), V1, V2)
length(cons(N, L)) → U61(and(and(isNatList(L), isNatIListKind(L)), and(isNat(N), isNatKind(N))), L)
zeros: empty set
cons: {1}
0: empty set
U11: {1}
tt: empty set
U12: {1}
isNatList: empty set
U21: {1}
U22: {1}
isNat: empty set
U41: {1}
U42: {1}
U43: {1}
isNatIList: empty set
U51: {1}
U52: {1}
U53: {1}
U61: {1}
s: {1}
length: {1}
and: {1}
isNatIListKind: empty set
isNatKind: empty set
nil: empty set
Used ordering:
U11(tt, V1) → U12(isNatList(V1))
POL(0) = 0
POL(U11(x1, x2)) = 2 + x1 + 2·x2
POL(U12(x1)) = 1 + x1
POL(U21(x1, x2)) = 2·x1
POL(U22(x1)) = x1
POL(U41(x1, x2, x3)) = 2·x1
POL(U42(x1, x2)) = x1
POL(U43(x1)) = 2·x1
POL(U51(x1, x2, x3)) = x1
POL(U52(x1, x2)) = x1
POL(U53(x1)) = 2·x1
POL(U61(x1, x2)) = x1 + x2
POL(and(x1, x2)) = 2·x1 + 2·x2
POL(cons(x1, x2)) = 2·x1 + 2·x2
POL(isNat(x1)) = 0
POL(isNatIList(x1)) = 0
POL(isNatIListKind(x1)) = 0
POL(isNatKind(x1)) = 0
POL(isNatList(x1)) = 0
POL(length(x1)) = x1
POL(nil) = 2
POL(s(x1)) = x1
POL(tt) = 0
POL(zeros) = 0
zeros → cons(0, zeros)
U21(tt, V1) → U22(isNat(V1))
U22(tt) → tt
U41(tt, V1, V2) → U42(isNat(V1), V2)
U42(tt, V2) → U43(isNatIList(V2))
U43(tt) → tt
U51(tt, V1, V2) → U52(isNat(V1), V2)
U52(tt, V2) → U53(isNatList(V2))
U53(tt) → tt
U61(tt, L) → s(length(L))
and(tt, X) → X
isNat(0) → tt
isNat(s(V1)) → U21(isNatKind(V1), V1)
isNatIList(cons(V1, V2)) → U41(and(isNatKind(V1), isNatIListKind(V2)), V1, V2)
isNatIListKind(nil) → tt
isNatIListKind(zeros) → tt
isNatIListKind(cons(V1, V2)) → and(isNatKind(V1), isNatIListKind(V2))
isNatKind(0) → tt
isNatKind(length(V1)) → isNatIListKind(V1)
isNatKind(s(V1)) → isNatKind(V1)
isNatList(cons(V1, V2)) → U51(and(isNatKind(V1), isNatIListKind(V2)), V1, V2)
length(cons(N, L)) → U61(and(and(isNatList(L), isNatIListKind(L)), and(isNat(N), isNatKind(N))), L)
zeros: empty set
cons: {1}
0: empty set
tt: empty set
isNatList: empty set
U21: {1}
U22: {1}
isNat: empty set
U41: {1}
U42: {1}
U43: {1}
isNatIList: empty set
U51: {1}
U52: {1}
U53: {1}
U61: {1}
s: {1}
length: {1}
and: {1}
isNatIListKind: empty set
isNatKind: empty set
nil: empty set
U21'(tt, V1) → U22'(isNat(V1))
U21'(tt, V1) → ISNAT(V1)
U41'(tt, V1, V2) → U42'(isNat(V1), V2)
U41'(tt, V1, V2) → ISNAT(V1)
U42'(tt, V2) → U43'(isNatIList(V2))
U42'(tt, V2) → ISNATILIST(V2)
U51'(tt, V1, V2) → U52'(isNat(V1), V2)
U51'(tt, V1, V2) → ISNAT(V1)
U52'(tt, V2) → U53'(isNatList(V2))
U52'(tt, V2) → ISNATLIST(V2)
U61'(tt, L) → LENGTH(L)
ISNAT(s(V1)) → U21'(isNatKind(V1), V1)
ISNAT(s(V1)) → ISNATKIND(V1)
ISNATILIST(cons(V1, V2)) → U41'(and(isNatKind(V1), isNatIListKind(V2)), V1, V2)
ISNATILIST(cons(V1, V2)) → AND(isNatKind(V1), isNatIListKind(V2))
ISNATILIST(cons(V1, V2)) → ISNATKIND(V1)
ISNATILISTKIND(cons(V1, V2)) → AND(isNatKind(V1), isNatIListKind(V2))
ISNATILISTKIND(cons(V1, V2)) → ISNATKIND(V1)
ISNATKIND(length(V1)) → ISNATILISTKIND(V1)
ISNATKIND(s(V1)) → ISNATKIND(V1)
ISNATLIST(cons(V1, V2)) → U51'(and(isNatKind(V1), isNatIListKind(V2)), V1, V2)
ISNATLIST(cons(V1, V2)) → AND(isNatKind(V1), isNatIListKind(V2))
ISNATLIST(cons(V1, V2)) → ISNATKIND(V1)
LENGTH(cons(N, L)) → U61'(and(and(isNatList(L), isNatIListKind(L)), and(isNat(N), isNatKind(N))), L)
LENGTH(cons(N, L)) → AND(and(isNatList(L), isNatIListKind(L)), and(isNat(N), isNatKind(N)))
LENGTH(cons(N, L)) → AND(isNatList(L), isNatIListKind(L))
LENGTH(cons(N, L)) → ISNATLIST(L)
U61'(tt, L) → L
AND(tt, X) → X
zeros
isNatIListKind(x0)
and(isNat(x0), isNatKind(x0))
isNat(x0)
isNatKind(x0)
and on positions {1}
U61'(tt, L) → U(L)
AND(tt, X) → U(X)
U(and(x_0, x_1)) → U(x_0)
U(zeros) → ZEROS
U(isNatIListKind(x0)) → ISNATILISTKIND(x0)
U(and(isNat(x0), isNatKind(x0))) → AND(isNat(x0), isNatKind(x0))
U(isNat(x0)) → ISNAT(x0)
U(isNatKind(x0)) → ISNATKIND(x0)
zeros → cons(0, zeros)
U21(tt, V1) → U22(isNat(V1))
U22(tt) → tt
U41(tt, V1, V2) → U42(isNat(V1), V2)
U42(tt, V2) → U43(isNatIList(V2))
U43(tt) → tt
U51(tt, V1, V2) → U52(isNat(V1), V2)
U52(tt, V2) → U53(isNatList(V2))
U53(tt) → tt
U61(tt, L) → s(length(L))
and(tt, X) → X
isNat(0) → tt
isNat(s(V1)) → U21(isNatKind(V1), V1)
isNatIList(cons(V1, V2)) → U41(and(isNatKind(V1), isNatIListKind(V2)), V1, V2)
isNatIListKind(nil) → tt
isNatIListKind(zeros) → tt
isNatIListKind(cons(V1, V2)) → and(isNatKind(V1), isNatIListKind(V2))
isNatKind(0) → tt
isNatKind(length(V1)) → isNatIListKind(V1)
isNatKind(s(V1)) → isNatKind(V1)
isNatList(cons(V1, V2)) → U51(and(isNatKind(V1), isNatIListKind(V2)), V1, V2)
length(cons(N, L)) → U61(and(and(isNatList(L), isNatIListKind(L)), and(isNat(N), isNatKind(N))), L)
ISNAT(s(V1)) → U21'(isNatKind(V1), V1)
U21'(tt, V1) → ISNAT(V1)
ISNAT(s(V1)) → ISNATKIND(V1)
ISNATKIND(length(V1)) → ISNATILISTKIND(V1)
ISNATILISTKIND(cons(V1, V2)) → AND(isNatKind(V1), isNatIListKind(V2))
AND(tt, X) → U(X)
U(and(x_0, x_1)) → U(x_0)
U(isNatIListKind(x0)) → ISNATILISTKIND(x0)
ISNATILISTKIND(cons(V1, V2)) → ISNATKIND(V1)
ISNATKIND(s(V1)) → ISNATKIND(V1)
U(and(isNat(x0), isNatKind(x0))) → AND(isNat(x0), isNatKind(x0))
U(isNat(x0)) → ISNAT(x0)
U(isNatKind(x0)) → ISNATKIND(x0)
zeros → cons(0, zeros)
U21(tt, V1) → U22(isNat(V1))
U22(tt) → tt
U41(tt, V1, V2) → U42(isNat(V1), V2)
U42(tt, V2) → U43(isNatIList(V2))
U43(tt) → tt
U51(tt, V1, V2) → U52(isNat(V1), V2)
U52(tt, V2) → U53(isNatList(V2))
U53(tt) → tt
U61(tt, L) → s(length(L))
and(tt, X) → X
isNat(0) → tt
isNat(s(V1)) → U21(isNatKind(V1), V1)
isNatIList(cons(V1, V2)) → U41(and(isNatKind(V1), isNatIListKind(V2)), V1, V2)
isNatIListKind(nil) → tt
isNatIListKind(zeros) → tt
isNatIListKind(cons(V1, V2)) → and(isNatKind(V1), isNatIListKind(V2))
isNatKind(0) → tt
isNatKind(length(V1)) → isNatIListKind(V1)
isNatKind(s(V1)) → isNatKind(V1)
isNatList(cons(V1, V2)) → U51(and(isNatKind(V1), isNatIListKind(V2)), V1, V2)
length(cons(N, L)) → U61(and(and(isNatList(L), isNatIListKind(L)), and(isNat(N), isNatKind(N))), L)
POL(0) = 0
POL(AND(x1, x2)) = x2
POL(ISNAT(x1)) = 0
POL(ISNATILISTKIND(x1)) = 0
POL(ISNATKIND(x1)) = 0
POL(U(x1)) = x1
POL(U21(x1, x2)) = 1
POL(U21'(x1, x2)) = 0
POL(U22(x1)) = 0
POL(U51(x1, x2, x3)) = 0
POL(U52(x1, x2)) = 0
POL(U53(x1)) = 0
POL(U61(x1, x2)) = 0
POL(and(x1, x2)) = x1 + x2
POL(cons(x1, x2)) = 0
POL(isNat(x1)) = 1 + x1
POL(isNatIListKind(x1)) = 0
POL(isNatKind(x1)) = 0
POL(isNatList(x1)) = 0
POL(length(x1)) = 0
POL(nil) = 0
POL(s(x1)) = 0
POL(tt) = 0
POL(zeros) = 0
isNatKind(0) → tt
isNatKind(length(V1)) → isNatIListKind(V1)
isNatKind(s(V1)) → isNatKind(V1)
length(cons(N, L)) → U61(and(and(isNatList(L), isNatIListKind(L)), and(isNat(N), isNatKind(N))), L)
U61(tt, L) → s(length(L))
and(tt, X) → X
isNatList(cons(V1, V2)) → U51(and(isNatKind(V1), isNatIListKind(V2)), V1, V2)
U51(tt, V1, V2) → U52(isNat(V1), V2)
U52(tt, V2) → U53(isNatList(V2))
U53(tt) → tt
isNat(0) → tt
isNat(s(V1)) → U21(isNatKind(V1), V1)
U21(tt, V1) → U22(isNat(V1))
U22(tt) → tt
isNatIListKind(nil) → tt
isNatIListKind(zeros) → tt
isNatIListKind(cons(V1, V2)) → and(isNatKind(V1), isNatIListKind(V2))
zeros → cons(0, zeros)
U(and(isNat(x0), isNatKind(x0))) → AND(isNat(x0), isNatKind(x0))
U(isNat(x0)) → ISNAT(x0)
ISNAT(s(V1)) → U21'(isNatKind(V1), V1)
U21'(tt, V1) → ISNAT(V1)
ISNAT(s(V1)) → ISNATKIND(V1)
ISNATKIND(length(V1)) → ISNATILISTKIND(V1)
ISNATILISTKIND(cons(V1, V2)) → AND(isNatKind(V1), isNatIListKind(V2))
AND(tt, X) → U(X)
U(and(x_0, x_1)) → U(x_0)
U(isNatIListKind(x0)) → ISNATILISTKIND(x0)
ISNATILISTKIND(cons(V1, V2)) → ISNATKIND(V1)
ISNATKIND(s(V1)) → ISNATKIND(V1)
U(isNatKind(x0)) → ISNATKIND(x0)
zeros → cons(0, zeros)
U21(tt, V1) → U22(isNat(V1))
U22(tt) → tt
U41(tt, V1, V2) → U42(isNat(V1), V2)
U42(tt, V2) → U43(isNatIList(V2))
U43(tt) → tt
U51(tt, V1, V2) → U52(isNat(V1), V2)
U52(tt, V2) → U53(isNatList(V2))
U53(tt) → tt
U61(tt, L) → s(length(L))
and(tt, X) → X
isNat(0) → tt
isNat(s(V1)) → U21(isNatKind(V1), V1)
isNatIList(cons(V1, V2)) → U41(and(isNatKind(V1), isNatIListKind(V2)), V1, V2)
isNatIListKind(nil) → tt
isNatIListKind(zeros) → tt
isNatIListKind(cons(V1, V2)) → and(isNatKind(V1), isNatIListKind(V2))
isNatKind(0) → tt
isNatKind(length(V1)) → isNatIListKind(V1)
isNatKind(s(V1)) → isNatKind(V1)
isNatList(cons(V1, V2)) → U51(and(isNatKind(V1), isNatIListKind(V2)), V1, V2)
length(cons(N, L)) → U61(and(and(isNatList(L), isNatIListKind(L)), and(isNat(N), isNatKind(N))), L)
ISNATILISTKIND(cons(V1, V2)) → AND(isNatKind(V1), isNatIListKind(V2))
AND(tt, X) → U(X)
U(and(x_0, x_1)) → U(x_0)
U(isNatIListKind(x0)) → ISNATILISTKIND(x0)
ISNATILISTKIND(cons(V1, V2)) → ISNATKIND(V1)
ISNATKIND(length(V1)) → ISNATILISTKIND(V1)
ISNATKIND(s(V1)) → ISNATKIND(V1)
U(isNatKind(x0)) → ISNATKIND(x0)
zeros → cons(0, zeros)
U21(tt, V1) → U22(isNat(V1))
U22(tt) → tt
U41(tt, V1, V2) → U42(isNat(V1), V2)
U42(tt, V2) → U43(isNatIList(V2))
U43(tt) → tt
U51(tt, V1, V2) → U52(isNat(V1), V2)
U52(tt, V2) → U53(isNatList(V2))
U53(tt) → tt
U61(tt, L) → s(length(L))
and(tt, X) → X
isNat(0) → tt
isNat(s(V1)) → U21(isNatKind(V1), V1)
isNatIList(cons(V1, V2)) → U41(and(isNatKind(V1), isNatIListKind(V2)), V1, V2)
isNatIListKind(nil) → tt
isNatIListKind(zeros) → tt
isNatIListKind(cons(V1, V2)) → and(isNatKind(V1), isNatIListKind(V2))
isNatKind(0) → tt
isNatKind(length(V1)) → isNatIListKind(V1)
isNatKind(s(V1)) → isNatKind(V1)
isNatList(cons(V1, V2)) → U51(and(isNatKind(V1), isNatIListKind(V2)), V1, V2)
length(cons(N, L)) → U61(and(and(isNatList(L), isNatIListKind(L)), and(isNat(N), isNatKind(N))), L)
POL( isNatKind(x1) ) = x1
POL( 0 ) = max{0, -1}
POL( tt ) = max{0, -1}
POL( length(x1) ) = 2x1 + 1
POL( isNatIListKind(x1) ) = 2x1
POL( s(x1) ) = x1
POL( cons(x1, x2) ) = x1 + 2x2
POL( U61(x1, x2) ) = 2x2 + 1
POL( and(x1, x2) ) = x1 + 2x2
POL( isNatList(x1) ) = 1
POL( isNat(x1) ) = 1
POL( U51(x1, ..., x3) ) = max{0, -1}
POL( U52(x1, x2) ) = 0
POL( U53(x1) ) = 0
POL( U21(x1, x2) ) = max{0, -1}
POL( U22(x1) ) = max{0, -1}
POL( nil ) = max{0, -1}
POL( zeros ) = max{0, -1}
POL( ISNATILISTKIND(x1) ) = x1
POL( AND(x1, x2) ) = x2
POL( U(x1) ) = x1
POL( ISNATKIND(x1) ) = x1
isNatKind(0) → tt
isNatKind(length(V1)) → isNatIListKind(V1)
isNatKind(s(V1)) → isNatKind(V1)
length(cons(N, L)) → U61(and(and(isNatList(L), isNatIListKind(L)), and(isNat(N), isNatKind(N))), L)
U61(tt, L) → s(length(L))
and(tt, X) → X
isNatList(cons(V1, V2)) → U51(and(isNatKind(V1), isNatIListKind(V2)), V1, V2)
U51(tt, V1, V2) → U52(isNat(V1), V2)
U52(tt, V2) → U53(isNatList(V2))
U53(tt) → tt
isNat(0) → tt
isNat(s(V1)) → U21(isNatKind(V1), V1)
U21(tt, V1) → U22(isNat(V1))
U22(tt) → tt
isNatIListKind(nil) → tt
isNatIListKind(zeros) → tt
isNatIListKind(cons(V1, V2)) → and(isNatKind(V1), isNatIListKind(V2))
zeros → cons(0, zeros)
ISNATKIND(length(V1)) → ISNATILISTKIND(V1)
ISNATILISTKIND(cons(V1, V2)) → AND(isNatKind(V1), isNatIListKind(V2))
AND(tt, X) → U(X)
U(and(x_0, x_1)) → U(x_0)
U(isNatIListKind(x0)) → ISNATILISTKIND(x0)
ISNATILISTKIND(cons(V1, V2)) → ISNATKIND(V1)
ISNATKIND(s(V1)) → ISNATKIND(V1)
U(isNatKind(x0)) → ISNATKIND(x0)
zeros → cons(0, zeros)
U21(tt, V1) → U22(isNat(V1))
U22(tt) → tt
U41(tt, V1, V2) → U42(isNat(V1), V2)
U42(tt, V2) → U43(isNatIList(V2))
U43(tt) → tt
U51(tt, V1, V2) → U52(isNat(V1), V2)
U52(tt, V2) → U53(isNatList(V2))
U53(tt) → tt
U61(tt, L) → s(length(L))
and(tt, X) → X
isNat(0) → tt
isNat(s(V1)) → U21(isNatKind(V1), V1)
isNatIList(cons(V1, V2)) → U41(and(isNatKind(V1), isNatIListKind(V2)), V1, V2)
isNatIListKind(nil) → tt
isNatIListKind(zeros) → tt
isNatIListKind(cons(V1, V2)) → and(isNatKind(V1), isNatIListKind(V2))
isNatKind(0) → tt
isNatKind(length(V1)) → isNatIListKind(V1)
isNatKind(s(V1)) → isNatKind(V1)
isNatList(cons(V1, V2)) → U51(and(isNatKind(V1), isNatIListKind(V2)), V1, V2)
length(cons(N, L)) → U61(and(and(isNatList(L), isNatIListKind(L)), and(isNat(N), isNatKind(N))), L)
ISNATKIND(s(V1)) → ISNATKIND(V1)
zeros → cons(0, zeros)
U21(tt, V1) → U22(isNat(V1))
U22(tt) → tt
U41(tt, V1, V2) → U42(isNat(V1), V2)
U42(tt, V2) → U43(isNatIList(V2))
U43(tt) → tt
U51(tt, V1, V2) → U52(isNat(V1), V2)
U52(tt, V2) → U53(isNatList(V2))
U53(tt) → tt
U61(tt, L) → s(length(L))
and(tt, X) → X
isNat(0) → tt
isNat(s(V1)) → U21(isNatKind(V1), V1)
isNatIList(cons(V1, V2)) → U41(and(isNatKind(V1), isNatIListKind(V2)), V1, V2)
isNatIListKind(nil) → tt
isNatIListKind(zeros) → tt
isNatIListKind(cons(V1, V2)) → and(isNatKind(V1), isNatIListKind(V2))
isNatKind(0) → tt
isNatKind(length(V1)) → isNatIListKind(V1)
isNatKind(s(V1)) → isNatKind(V1)
isNatList(cons(V1, V2)) → U51(and(isNatKind(V1), isNatIListKind(V2)), V1, V2)
length(cons(N, L)) → U61(and(and(isNatList(L), isNatIListKind(L)), and(isNat(N), isNatKind(N))), L)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
ISNATKIND(s(V1)) → ISNATKIND(V1)
zeros → cons(0, zeros)
U21(tt, V1) → U22(isNat(V1))
U22(tt) → tt
U41(tt, V1, V2) → U42(isNat(V1), V2)
U42(tt, V2) → U43(isNatIList(V2))
U43(tt) → tt
U51(tt, V1, V2) → U52(isNat(V1), V2)
U52(tt, V2) → U53(isNatList(V2))
U53(tt) → tt
U61(tt, L) → s(length(L))
and(tt, X) → X
isNat(0) → tt
isNat(s(V1)) → U21(isNatKind(V1), V1)
isNatIList(cons(V1, V2)) → U41(and(isNatKind(V1), isNatIListKind(V2)), V1, V2)
isNatIListKind(nil) → tt
isNatIListKind(zeros) → tt
isNatIListKind(cons(V1, V2)) → and(isNatKind(V1), isNatIListKind(V2))
isNatKind(0) → tt
isNatKind(length(V1)) → isNatIListKind(V1)
isNatKind(s(V1)) → isNatKind(V1)
isNatList(cons(V1, V2)) → U51(and(isNatKind(V1), isNatIListKind(V2)), V1, V2)
length(cons(N, L)) → U61(and(and(isNatList(L), isNatIListKind(L)), and(isNat(N), isNatKind(N))), L)
AND(tt, X) → U(X)
U(and(x_0, x_1)) → U(x_0)
U(isNatIListKind(x0)) → ISNATILISTKIND(x0)
ISNATILISTKIND(cons(V1, V2)) → AND(isNatKind(V1), isNatIListKind(V2))
zeros → cons(0, zeros)
U21(tt, V1) → U22(isNat(V1))
U22(tt) → tt
U41(tt, V1, V2) → U42(isNat(V1), V2)
U42(tt, V2) → U43(isNatIList(V2))
U43(tt) → tt
U51(tt, V1, V2) → U52(isNat(V1), V2)
U52(tt, V2) → U53(isNatList(V2))
U53(tt) → tt
U61(tt, L) → s(length(L))
and(tt, X) → X
isNat(0) → tt
isNat(s(V1)) → U21(isNatKind(V1), V1)
isNatIList(cons(V1, V2)) → U41(and(isNatKind(V1), isNatIListKind(V2)), V1, V2)
isNatIListKind(nil) → tt
isNatIListKind(zeros) → tt
isNatIListKind(cons(V1, V2)) → and(isNatKind(V1), isNatIListKind(V2))
isNatKind(0) → tt
isNatKind(length(V1)) → isNatIListKind(V1)
isNatKind(s(V1)) → isNatKind(V1)
isNatList(cons(V1, V2)) → U51(and(isNatKind(V1), isNatIListKind(V2)), V1, V2)
length(cons(N, L)) → U61(and(and(isNatList(L), isNatIListKind(L)), and(isNat(N), isNatKind(N))), L)
AND(tt, isNatIListKind(z1)) → U(isNatIListKind(z1))
U(and(x_0, x_1)) → U(x_0)
U(isNatIListKind(x0)) → ISNATILISTKIND(x0)
ISNATILISTKIND(cons(V1, V2)) → AND(isNatKind(V1), isNatIListKind(V2))
AND(tt, isNatIListKind(z1)) → U(isNatIListKind(z1))
zeros → cons(0, zeros)
U21(tt, V1) → U22(isNat(V1))
U22(tt) → tt
U41(tt, V1, V2) → U42(isNat(V1), V2)
U42(tt, V2) → U43(isNatIList(V2))
U43(tt) → tt
U51(tt, V1, V2) → U52(isNat(V1), V2)
U52(tt, V2) → U53(isNatList(V2))
U53(tt) → tt
U61(tt, L) → s(length(L))
and(tt, X) → X
isNat(0) → tt
isNat(s(V1)) → U21(isNatKind(V1), V1)
isNatIList(cons(V1, V2)) → U41(and(isNatKind(V1), isNatIListKind(V2)), V1, V2)
isNatIListKind(nil) → tt
isNatIListKind(zeros) → tt
isNatIListKind(cons(V1, V2)) → and(isNatKind(V1), isNatIListKind(V2))
isNatKind(0) → tt
isNatKind(length(V1)) → isNatIListKind(V1)
isNatKind(s(V1)) → isNatKind(V1)
isNatList(cons(V1, V2)) → U51(and(isNatKind(V1), isNatIListKind(V2)), V1, V2)
length(cons(N, L)) → U61(and(and(isNatList(L), isNatIListKind(L)), and(isNat(N), isNatKind(N))), L)
ISNATILISTKIND(cons(V1, V2)) → AND(isNatKind(V1), isNatIListKind(V2))
AND(tt, isNatIListKind(z1)) → U(isNatIListKind(z1))
U(isNatIListKind(x0)) → ISNATILISTKIND(x0)
zeros → cons(0, zeros)
U21(tt, V1) → U22(isNat(V1))
U22(tt) → tt
U41(tt, V1, V2) → U42(isNat(V1), V2)
U42(tt, V2) → U43(isNatIList(V2))
U43(tt) → tt
U51(tt, V1, V2) → U52(isNat(V1), V2)
U52(tt, V2) → U53(isNatList(V2))
U53(tt) → tt
U61(tt, L) → s(length(L))
and(tt, X) → X
isNat(0) → tt
isNat(s(V1)) → U21(isNatKind(V1), V1)
isNatIList(cons(V1, V2)) → U41(and(isNatKind(V1), isNatIListKind(V2)), V1, V2)
isNatIListKind(nil) → tt
isNatIListKind(zeros) → tt
isNatIListKind(cons(V1, V2)) → and(isNatKind(V1), isNatIListKind(V2))
isNatKind(0) → tt
isNatKind(length(V1)) → isNatIListKind(V1)
isNatKind(s(V1)) → isNatKind(V1)
isNatList(cons(V1, V2)) → U51(and(isNatKind(V1), isNatIListKind(V2)), V1, V2)
length(cons(N, L)) → U61(and(and(isNatList(L), isNatIListKind(L)), and(isNat(N), isNatKind(N))), L)
U(isNatIListKind(cons(z0, z1))) → ISNATILISTKIND(cons(z0, z1))
ISNATILISTKIND(cons(V1, V2)) → AND(isNatKind(V1), isNatIListKind(V2))
AND(tt, isNatIListKind(z1)) → U(isNatIListKind(z1))
U(isNatIListKind(cons(z0, z1))) → ISNATILISTKIND(cons(z0, z1))
zeros → cons(0, zeros)
U21(tt, V1) → U22(isNat(V1))
U22(tt) → tt
U41(tt, V1, V2) → U42(isNat(V1), V2)
U42(tt, V2) → U43(isNatIList(V2))
U43(tt) → tt
U51(tt, V1, V2) → U52(isNat(V1), V2)
U52(tt, V2) → U53(isNatList(V2))
U53(tt) → tt
U61(tt, L) → s(length(L))
and(tt, X) → X
isNat(0) → tt
isNat(s(V1)) → U21(isNatKind(V1), V1)
isNatIList(cons(V1, V2)) → U41(and(isNatKind(V1), isNatIListKind(V2)), V1, V2)
isNatIListKind(nil) → tt
isNatIListKind(zeros) → tt
isNatIListKind(cons(V1, V2)) → and(isNatKind(V1), isNatIListKind(V2))
isNatKind(0) → tt
isNatKind(length(V1)) → isNatIListKind(V1)
isNatKind(s(V1)) → isNatKind(V1)
isNatList(cons(V1, V2)) → U51(and(isNatKind(V1), isNatIListKind(V2)), V1, V2)
length(cons(N, L)) → U61(and(and(isNatList(L), isNatIListKind(L)), and(isNat(N), isNatKind(N))), L)
AND(tt, isNatIListKind(cons(z0, z1))) → U(isNatIListKind(cons(z0, z1)))
ISNATILISTKIND(cons(V1, V2)) → AND(isNatKind(V1), isNatIListKind(V2))
U(isNatIListKind(cons(z0, z1))) → ISNATILISTKIND(cons(z0, z1))
AND(tt, isNatIListKind(cons(z0, z1))) → U(isNatIListKind(cons(z0, z1)))
zeros → cons(0, zeros)
U21(tt, V1) → U22(isNat(V1))
U22(tt) → tt
U41(tt, V1, V2) → U42(isNat(V1), V2)
U42(tt, V2) → U43(isNatIList(V2))
U43(tt) → tt
U51(tt, V1, V2) → U52(isNat(V1), V2)
U52(tt, V2) → U53(isNatList(V2))
U53(tt) → tt
U61(tt, L) → s(length(L))
and(tt, X) → X
isNat(0) → tt
isNat(s(V1)) → U21(isNatKind(V1), V1)
isNatIList(cons(V1, V2)) → U41(and(isNatKind(V1), isNatIListKind(V2)), V1, V2)
isNatIListKind(nil) → tt
isNatIListKind(zeros) → tt
isNatIListKind(cons(V1, V2)) → and(isNatKind(V1), isNatIListKind(V2))
isNatKind(0) → tt
isNatKind(length(V1)) → isNatIListKind(V1)
isNatKind(s(V1)) → isNatKind(V1)
isNatList(cons(V1, V2)) → U51(and(isNatKind(V1), isNatIListKind(V2)), V1, V2)
length(cons(N, L)) → U61(and(and(isNatList(L), isNatIListKind(L)), and(isNat(N), isNatKind(N))), L)
U(and(x_0, x_1)) → U(x_0)
zeros → cons(0, zeros)
U21(tt, V1) → U22(isNat(V1))
U22(tt) → tt
U41(tt, V1, V2) → U42(isNat(V1), V2)
U42(tt, V2) → U43(isNatIList(V2))
U43(tt) → tt
U51(tt, V1, V2) → U52(isNat(V1), V2)
U52(tt, V2) → U53(isNatList(V2))
U53(tt) → tt
U61(tt, L) → s(length(L))
and(tt, X) → X
isNat(0) → tt
isNat(s(V1)) → U21(isNatKind(V1), V1)
isNatIList(cons(V1, V2)) → U41(and(isNatKind(V1), isNatIListKind(V2)), V1, V2)
isNatIListKind(nil) → tt
isNatIListKind(zeros) → tt
isNatIListKind(cons(V1, V2)) → and(isNatKind(V1), isNatIListKind(V2))
isNatKind(0) → tt
isNatKind(length(V1)) → isNatIListKind(V1)
isNatKind(s(V1)) → isNatKind(V1)
isNatList(cons(V1, V2)) → U51(and(isNatKind(V1), isNatIListKind(V2)), V1, V2)
length(cons(N, L)) → U61(and(and(isNatList(L), isNatIListKind(L)), and(isNat(N), isNatKind(N))), L)
POL(0) = 0
POL(AND(x1, x2)) = x2
POL(ISNATILISTKIND(x1)) = x1
POL(ISNATKIND(x1)) = x1
POL(U(x1)) = x1
POL(U21(x1, x2)) = 0
POL(U22(x1)) = 0
POL(U51(x1, x2, x3)) = 1 + x3
POL(U52(x1, x2)) = 0
POL(U53(x1)) = 0
POL(U61(x1, x2)) = 1 + x2
POL(and(x1, x2)) = x1 + x2
POL(cons(x1, x2)) = x1 + x2
POL(isNat(x1)) = x1
POL(isNatIListKind(x1)) = x1
POL(isNatKind(x1)) = x1
POL(isNatList(x1)) = 1 + x1
POL(length(x1)) = 1 + x1
POL(nil) = 1
POL(s(x1)) = x1
POL(tt) = 0
POL(zeros) = 0
isNatKind(0) → tt
isNatKind(length(V1)) → isNatIListKind(V1)
isNatKind(s(V1)) → isNatKind(V1)
length(cons(N, L)) → U61(and(and(isNatList(L), isNatIListKind(L)), and(isNat(N), isNatKind(N))), L)
U61(tt, L) → s(length(L))
and(tt, X) → X
isNatList(cons(V1, V2)) → U51(and(isNatKind(V1), isNatIListKind(V2)), V1, V2)
U51(tt, V1, V2) → U52(isNat(V1), V2)
U52(tt, V2) → U53(isNatList(V2))
U53(tt) → tt
isNat(0) → tt
isNat(s(V1)) → U21(isNatKind(V1), V1)
U21(tt, V1) → U22(isNat(V1))
U22(tt) → tt
isNatIListKind(nil) → tt
isNatIListKind(zeros) → tt
isNatIListKind(cons(V1, V2)) → and(isNatKind(V1), isNatIListKind(V2))
zeros → cons(0, zeros)
ISNATKIND(length(V1)) → ISNATILISTKIND(V1)
ISNATILISTKIND(cons(V1, V2)) → AND(isNatKind(V1), isNatIListKind(V2))
AND(tt, X) → U(X)
U(and(x_0, x_1)) → U(x_0)
U(isNatIListKind(x0)) → ISNATILISTKIND(x0)
ISNATILISTKIND(cons(V1, V2)) → ISNATKIND(V1)
ISNATKIND(s(V1)) → ISNATKIND(V1)
U(isNatKind(x0)) → ISNATKIND(x0)
zeros → cons(0, zeros)
U21(tt, V1) → U22(isNat(V1))
U22(tt) → tt
U41(tt, V1, V2) → U42(isNat(V1), V2)
U42(tt, V2) → U43(isNatIList(V2))
U43(tt) → tt
U51(tt, V1, V2) → U52(isNat(V1), V2)
U52(tt, V2) → U53(isNatList(V2))
U53(tt) → tt
U61(tt, L) → s(length(L))
and(tt, X) → X
isNat(0) → tt
isNat(s(V1)) → U21(isNatKind(V1), V1)
isNatIList(cons(V1, V2)) → U41(and(isNatKind(V1), isNatIListKind(V2)), V1, V2)
isNatIListKind(nil) → tt
isNatIListKind(zeros) → tt
isNatIListKind(cons(V1, V2)) → and(isNatKind(V1), isNatIListKind(V2))
isNatKind(0) → tt
isNatKind(length(V1)) → isNatIListKind(V1)
isNatKind(s(V1)) → isNatKind(V1)
isNatList(cons(V1, V2)) → U51(and(isNatKind(V1), isNatIListKind(V2)), V1, V2)
length(cons(N, L)) → U61(and(and(isNatList(L), isNatIListKind(L)), and(isNat(N), isNatKind(N))), L)
POL(0) = 0
POL(AND(x1, x2)) = x2
POL(ISNATILISTKIND(x1)) = x1
POL(ISNATKIND(x1)) = 2·x1
POL(U(x1)) = x1
POL(U21(x1, x2)) = 2
POL(U22(x1)) = x1
POL(U51(x1, x2, x3)) = x2 + x3
POL(U52(x1, x2)) = 0
POL(U53(x1)) = 0
POL(U61(x1, x2)) = 1 + 2·x2
POL(and(x1, x2)) = x1 + x2
POL(cons(x1, x2)) = 2·x1 + x2
POL(isNat(x1)) = 2
POL(isNatIListKind(x1)) = x1
POL(isNatKind(x1)) = 2·x1
POL(isNatList(x1)) = 2·x1
POL(length(x1)) = 1 + 2·x1
POL(nil) = 0
POL(s(x1)) = x1
POL(tt) = 0
POL(zeros) = 0
isNatKind(0) → tt
isNatKind(length(V1)) → isNatIListKind(V1)
isNatKind(s(V1)) → isNatKind(V1)
length(cons(N, L)) → U61(and(and(isNatList(L), isNatIListKind(L)), and(isNat(N), isNatKind(N))), L)
U61(tt, L) → s(length(L))
and(tt, X) → X
isNatList(cons(V1, V2)) → U51(and(isNatKind(V1), isNatIListKind(V2)), V1, V2)
U51(tt, V1, V2) → U52(isNat(V1), V2)
U52(tt, V2) → U53(isNatList(V2))
U53(tt) → tt
isNat(0) → tt
isNat(s(V1)) → U21(isNatKind(V1), V1)
U21(tt, V1) → U22(isNat(V1))
U22(tt) → tt
isNatIListKind(nil) → tt
isNatIListKind(zeros) → tt
isNatIListKind(cons(V1, V2)) → and(isNatKind(V1), isNatIListKind(V2))
zeros → cons(0, zeros)
ISNATKIND(length(V1)) → ISNATILISTKIND(V1)
ISNATILISTKIND(cons(V1, V2)) → AND(isNatKind(V1), isNatIListKind(V2))
AND(tt, X) → U(X)
U(and(x_0, x_1)) → U(x_0)
U(isNatIListKind(x0)) → ISNATILISTKIND(x0)
ISNATILISTKIND(cons(V1, V2)) → ISNATKIND(V1)
ISNATKIND(s(V1)) → ISNATKIND(V1)
U(isNatKind(x0)) → ISNATKIND(x0)
zeros → cons(0, zeros)
U21(tt, V1) → U22(isNat(V1))
U22(tt) → tt
U41(tt, V1, V2) → U42(isNat(V1), V2)
U42(tt, V2) → U43(isNatIList(V2))
U43(tt) → tt
U51(tt, V1, V2) → U52(isNat(V1), V2)
U52(tt, V2) → U53(isNatList(V2))
U53(tt) → tt
U61(tt, L) → s(length(L))
and(tt, X) → X
isNat(0) → tt
isNat(s(V1)) → U21(isNatKind(V1), V1)
isNatIList(cons(V1, V2)) → U41(and(isNatKind(V1), isNatIListKind(V2)), V1, V2)
isNatIListKind(nil) → tt
isNatIListKind(zeros) → tt
isNatIListKind(cons(V1, V2)) → and(isNatKind(V1), isNatIListKind(V2))
isNatKind(0) → tt
isNatKind(length(V1)) → isNatIListKind(V1)
isNatKind(s(V1)) → isNatKind(V1)
isNatList(cons(V1, V2)) → U51(and(isNatKind(V1), isNatIListKind(V2)), V1, V2)
length(cons(N, L)) → U61(and(and(isNatList(L), isNatIListKind(L)), and(isNat(N), isNatKind(N))), L)
U21'(tt, V1) → ISNAT(V1)
ISNAT(s(V1)) → U21'(isNatKind(V1), V1)
zeros → cons(0, zeros)
U21(tt, V1) → U22(isNat(V1))
U22(tt) → tt
U41(tt, V1, V2) → U42(isNat(V1), V2)
U42(tt, V2) → U43(isNatIList(V2))
U43(tt) → tt
U51(tt, V1, V2) → U52(isNat(V1), V2)
U52(tt, V2) → U53(isNatList(V2))
U53(tt) → tt
U61(tt, L) → s(length(L))
and(tt, X) → X
isNat(0) → tt
isNat(s(V1)) → U21(isNatKind(V1), V1)
isNatIList(cons(V1, V2)) → U41(and(isNatKind(V1), isNatIListKind(V2)), V1, V2)
isNatIListKind(nil) → tt
isNatIListKind(zeros) → tt
isNatIListKind(cons(V1, V2)) → and(isNatKind(V1), isNatIListKind(V2))
isNatKind(0) → tt
isNatKind(length(V1)) → isNatIListKind(V1)
isNatKind(s(V1)) → isNatKind(V1)
isNatList(cons(V1, V2)) → U51(and(isNatKind(V1), isNatIListKind(V2)), V1, V2)
length(cons(N, L)) → U61(and(and(isNatList(L), isNatIListKind(L)), and(isNat(N), isNatKind(N))), L)
POL(0) = 0
POL(AND(x1, x2)) = x1 + x2
POL(ISNAT(x1)) = 0
POL(ISNATILISTKIND(x1)) = 0
POL(ISNATKIND(x1)) = 0
POL(U(x1)) = x1
POL(U21(x1, x2)) = 1 + 2·x1
POL(U21'(x1, x2)) = 0
POL(U22(x1)) = 0
POL(U51(x1, x2, x3)) = 1
POL(U52(x1, x2)) = 0
POL(U53(x1)) = 0
POL(U61(x1, x2)) = 2
POL(and(x1, x2)) = 2·x1 + 2·x2
POL(cons(x1, x2)) = 0
POL(isNat(x1)) = 1 + 2·x1
POL(isNatIListKind(x1)) = 0
POL(isNatKind(x1)) = 0
POL(isNatList(x1)) = 2 + x1
POL(length(x1)) = 2 + x1
POL(nil) = 1
POL(s(x1)) = 0
POL(tt) = 0
POL(zeros) = 0
isNatKind(0) → tt
isNatKind(length(V1)) → isNatIListKind(V1)
isNatKind(s(V1)) → isNatKind(V1)
length(cons(N, L)) → U61(and(and(isNatList(L), isNatIListKind(L)), and(isNat(N), isNatKind(N))), L)
U61(tt, L) → s(length(L))
and(tt, X) → X
isNatList(cons(V1, V2)) → U51(and(isNatKind(V1), isNatIListKind(V2)), V1, V2)
U51(tt, V1, V2) → U52(isNat(V1), V2)
U52(tt, V2) → U53(isNatList(V2))
U53(tt) → tt
isNat(0) → tt
isNat(s(V1)) → U21(isNatKind(V1), V1)
U21(tt, V1) → U22(isNat(V1))
U22(tt) → tt
isNatIListKind(nil) → tt
isNatIListKind(zeros) → tt
isNatIListKind(cons(V1, V2)) → and(isNatKind(V1), isNatIListKind(V2))
zeros → cons(0, zeros)
U(and(isNat(x0), isNatKind(x0))) → AND(isNat(x0), isNatKind(x0))
U(isNat(x0)) → ISNAT(x0)
ISNAT(s(V1)) → U21'(isNatKind(V1), V1)
U21'(tt, V1) → ISNAT(V1)
ISNAT(s(V1)) → ISNATKIND(V1)
ISNATKIND(length(V1)) → ISNATILISTKIND(V1)
ISNATILISTKIND(cons(V1, V2)) → AND(isNatKind(V1), isNatIListKind(V2))
AND(tt, X) → U(X)
U(and(x_0, x_1)) → U(x_0)
U(isNatIListKind(x0)) → ISNATILISTKIND(x0)
ISNATILISTKIND(cons(V1, V2)) → ISNATKIND(V1)
ISNATKIND(s(V1)) → ISNATKIND(V1)
U(isNatKind(x0)) → ISNATKIND(x0)
zeros → cons(0, zeros)
U21(tt, V1) → U22(isNat(V1))
U22(tt) → tt
U41(tt, V1, V2) → U42(isNat(V1), V2)
U42(tt, V2) → U43(isNatIList(V2))
U43(tt) → tt
U51(tt, V1, V2) → U52(isNat(V1), V2)
U52(tt, V2) → U53(isNatList(V2))
U53(tt) → tt
U61(tt, L) → s(length(L))
and(tt, X) → X
isNat(0) → tt
isNat(s(V1)) → U21(isNatKind(V1), V1)
isNatIList(cons(V1, V2)) → U41(and(isNatKind(V1), isNatIListKind(V2)), V1, V2)
isNatIListKind(nil) → tt
isNatIListKind(zeros) → tt
isNatIListKind(cons(V1, V2)) → and(isNatKind(V1), isNatIListKind(V2))
isNatKind(0) → tt
isNatKind(length(V1)) → isNatIListKind(V1)
isNatKind(s(V1)) → isNatKind(V1)
isNatList(cons(V1, V2)) → U51(and(isNatKind(V1), isNatIListKind(V2)), V1, V2)
length(cons(N, L)) → U61(and(and(isNatList(L), isNatIListKind(L)), and(isNat(N), isNatKind(N))), L)
U51'(tt, V1, V2) → U52'(isNat(V1), V2)
U52'(tt, V2) → ISNATLIST(V2)
ISNATLIST(cons(V1, V2)) → U51'(and(isNatKind(V1), isNatIListKind(V2)), V1, V2)
zeros → cons(0, zeros)
U21(tt, V1) → U22(isNat(V1))
U22(tt) → tt
U41(tt, V1, V2) → U42(isNat(V1), V2)
U42(tt, V2) → U43(isNatIList(V2))
U43(tt) → tt
U51(tt, V1, V2) → U52(isNat(V1), V2)
U52(tt, V2) → U53(isNatList(V2))
U53(tt) → tt
U61(tt, L) → s(length(L))
and(tt, X) → X
isNat(0) → tt
isNat(s(V1)) → U21(isNatKind(V1), V1)
isNatIList(cons(V1, V2)) → U41(and(isNatKind(V1), isNatIListKind(V2)), V1, V2)
isNatIListKind(nil) → tt
isNatIListKind(zeros) → tt
isNatIListKind(cons(V1, V2)) → and(isNatKind(V1), isNatIListKind(V2))
isNatKind(0) → tt
isNatKind(length(V1)) → isNatIListKind(V1)
isNatKind(s(V1)) → isNatKind(V1)
isNatList(cons(V1, V2)) → U51(and(isNatKind(V1), isNatIListKind(V2)), V1, V2)
length(cons(N, L)) → U61(and(and(isNatList(L), isNatIListKind(L)), and(isNat(N), isNatKind(N))), L)
LENGTH(cons(N, L)) → U61'(and(and(isNatList(L), isNatIListKind(L)), and(isNat(N), isNatKind(N))), L)
U61'(tt, L) → LENGTH(L)
zeros → cons(0, zeros)
U21(tt, V1) → U22(isNat(V1))
U22(tt) → tt
U41(tt, V1, V2) → U42(isNat(V1), V2)
U42(tt, V2) → U43(isNatIList(V2))
U43(tt) → tt
U51(tt, V1, V2) → U52(isNat(V1), V2)
U52(tt, V2) → U53(isNatList(V2))
U53(tt) → tt
U61(tt, L) → s(length(L))
and(tt, X) → X
isNat(0) → tt
isNat(s(V1)) → U21(isNatKind(V1), V1)
isNatIList(cons(V1, V2)) → U41(and(isNatKind(V1), isNatIListKind(V2)), V1, V2)
isNatIListKind(nil) → tt
isNatIListKind(zeros) → tt
isNatIListKind(cons(V1, V2)) → and(isNatKind(V1), isNatIListKind(V2))
isNatKind(0) → tt
isNatKind(length(V1)) → isNatIListKind(V1)
isNatKind(s(V1)) → isNatKind(V1)
isNatList(cons(V1, V2)) → U51(and(isNatKind(V1), isNatIListKind(V2)), V1, V2)
length(cons(N, L)) → U61(and(and(isNatList(L), isNatIListKind(L)), and(isNat(N), isNatKind(N))), L)
U41'(tt, V1, V2) → U42'(isNat(V1), V2)
U42'(tt, V2) → ISNATILIST(V2)
ISNATILIST(cons(V1, V2)) → U41'(and(isNatKind(V1), isNatIListKind(V2)), V1, V2)
zeros → cons(0, zeros)
U21(tt, V1) → U22(isNat(V1))
U22(tt) → tt
U41(tt, V1, V2) → U42(isNat(V1), V2)
U42(tt, V2) → U43(isNatIList(V2))
U43(tt) → tt
U51(tt, V1, V2) → U52(isNat(V1), V2)
U52(tt, V2) → U53(isNatList(V2))
U53(tt) → tt
U61(tt, L) → s(length(L))
and(tt, X) → X
isNat(0) → tt
isNat(s(V1)) → U21(isNatKind(V1), V1)
isNatIList(cons(V1, V2)) → U41(and(isNatKind(V1), isNatIListKind(V2)), V1, V2)
isNatIListKind(nil) → tt
isNatIListKind(zeros) → tt
isNatIListKind(cons(V1, V2)) → and(isNatKind(V1), isNatIListKind(V2))
isNatKind(0) → tt
isNatKind(length(V1)) → isNatIListKind(V1)
isNatKind(s(V1)) → isNatKind(V1)
isNatList(cons(V1, V2)) → U51(and(isNatKind(V1), isNatIListKind(V2)), V1, V2)
length(cons(N, L)) → U61(and(and(isNatList(L), isNatIListKind(L)), and(isNat(N), isNatKind(N))), L)
zeros → cons(0, zerosInact)
U21(tt, V1) → U22(isNat(a(V1)))
U22(tt) → tt
U41(tt, V1, V2) → U42(isNat(a(V1)), a(V2))
U42(tt, V2) → U43(isNatIList(a(V2)))
U43(tt) → tt
U51(tt, V1, V2) → U52(isNat(a(V1)), a(V2))
U52(tt, V2) → U53(isNatList(a(V2)))
U53(tt) → tt
U61(tt, L) → s(length(a(L)))
and(tt, X) → a(X)
isNat(0Inact) → tt
isNat(sInact(V1)) → U21(isNatKind(a(V1)), a(V1))
isNatIList(consInact(V1, V2)) → U41(and(isNatKind(a(V1)), isNatIListKindInact(a(V2))), a(V1), a(V2))
isNatIListKind(nilInact) → tt
isNatIListKind(zerosInact) → tt
isNatIListKind(consInact(V1, V2)) → and(isNatKind(a(V1)), isNatIListKindInact(a(V2)))
isNatKind(0Inact) → tt
isNatKind(lengthInact(V1)) → isNatIListKind(a(V1))
isNatKind(sInact(V1)) → isNatKind(a(V1))
isNatList(consInact(V1, V2)) → U51(and(isNatKind(a(V1)), isNatIListKindInact(a(V2))), a(V1), a(V2))
length(cons(N, L)) → U61(and(and(isNatList(a(L)), isNatIListKindInact(a(L))), andInact(isNat(N), isNatKindInact(N))), a(L))
a(x) → x
zeros → zerosInact
a(zerosInact) → zeros
0 → 0Inact
a(0Inact) → 0
s(x1) → sInact(x1)
a(sInact(x1)) → s(x1)
cons(x1, x2) → consInact(x1, x2)
a(consInact(x1, x2)) → cons(x1, x2)
isNatIListKind(x1) → isNatIListKindInact(x1)
a(isNatIListKindInact(x1)) → isNatIListKind(x1)
nil → nilInact
a(nilInact) → nil
length(x1) → lengthInact(x1)
a(lengthInact(x1)) → length(x1)
and(x1, x2) → andInact(x1, x2)
a(andInact(x1, x2)) → and(x1, x2)
isNatKind(x1) → isNatKindInact(x1)
a(isNatKindInact(x1)) → isNatKind(x1)
ZEROS → CONS(0, zerosInact)
ZEROS → 01
U211(tt, V1) → U221(isNat(a(V1)))
U211(tt, V1) → ISNAT(a(V1))
U211(tt, V1) → A(V1)
U411(tt, V1, V2) → U421(isNat(a(V1)), a(V2))
U411(tt, V1, V2) → ISNAT(a(V1))
U411(tt, V1, V2) → A(V1)
U411(tt, V1, V2) → A(V2)
U421(tt, V2) → U431(isNatIList(a(V2)))
U421(tt, V2) → ISNATILIST(a(V2))
U421(tt, V2) → A(V2)
U511(tt, V1, V2) → U521(isNat(a(V1)), a(V2))
U511(tt, V1, V2) → ISNAT(a(V1))
U511(tt, V1, V2) → A(V1)
U511(tt, V1, V2) → A(V2)
U521(tt, V2) → U531(isNatList(a(V2)))
U521(tt, V2) → ISNATLIST(a(V2))
U521(tt, V2) → A(V2)
U611(tt, L) → S(length(a(L)))
U611(tt, L) → LENGTH(a(L))
U611(tt, L) → A(L)
AND(tt, X) → A(X)
ISNAT(sInact(V1)) → U211(isNatKind(a(V1)), a(V1))
ISNAT(sInact(V1)) → ISNATKIND(a(V1))
ISNAT(sInact(V1)) → A(V1)
ISNATILIST(consInact(V1, V2)) → U411(and(isNatKind(a(V1)), isNatIListKindInact(a(V2))), a(V1), a(V2))
ISNATILIST(consInact(V1, V2)) → AND(isNatKind(a(V1)), isNatIListKindInact(a(V2)))
ISNATILIST(consInact(V1, V2)) → ISNATKIND(a(V1))
ISNATILIST(consInact(V1, V2)) → A(V1)
ISNATILIST(consInact(V1, V2)) → A(V2)
ISNATILISTKIND(consInact(V1, V2)) → AND(isNatKind(a(V1)), isNatIListKindInact(a(V2)))
ISNATILISTKIND(consInact(V1, V2)) → ISNATKIND(a(V1))
ISNATILISTKIND(consInact(V1, V2)) → A(V1)
ISNATILISTKIND(consInact(V1, V2)) → A(V2)
ISNATKIND(lengthInact(V1)) → ISNATILISTKIND(a(V1))
ISNATKIND(lengthInact(V1)) → A(V1)
ISNATKIND(sInact(V1)) → ISNATKIND(a(V1))
ISNATKIND(sInact(V1)) → A(V1)
ISNATLIST(consInact(V1, V2)) → U511(and(isNatKind(a(V1)), isNatIListKindInact(a(V2))), a(V1), a(V2))
ISNATLIST(consInact(V1, V2)) → AND(isNatKind(a(V1)), isNatIListKindInact(a(V2)))
ISNATLIST(consInact(V1, V2)) → ISNATKIND(a(V1))
ISNATLIST(consInact(V1, V2)) → A(V1)
ISNATLIST(consInact(V1, V2)) → A(V2)
LENGTH(cons(N, L)) → U611(and(and(isNatList(a(L)), isNatIListKindInact(a(L))), andInact(isNat(N), isNatKindInact(N))), a(L))
LENGTH(cons(N, L)) → AND(and(isNatList(a(L)), isNatIListKindInact(a(L))), andInact(isNat(N), isNatKindInact(N)))
LENGTH(cons(N, L)) → AND(isNatList(a(L)), isNatIListKindInact(a(L)))
LENGTH(cons(N, L)) → ISNATLIST(a(L))
LENGTH(cons(N, L)) → A(L)
LENGTH(cons(N, L)) → ISNAT(N)
A(zerosInact) → ZEROS
A(0Inact) → 01
A(sInact(x1)) → S(x1)
A(consInact(x1, x2)) → CONS(x1, x2)
A(isNatIListKindInact(x1)) → ISNATILISTKIND(x1)
A(nilInact) → NIL
A(lengthInact(x1)) → LENGTH(x1)
A(andInact(x1, x2)) → AND(x1, x2)
A(isNatKindInact(x1)) → ISNATKIND(x1)
zeros → cons(0, zerosInact)
U21(tt, V1) → U22(isNat(a(V1)))
U22(tt) → tt
U41(tt, V1, V2) → U42(isNat(a(V1)), a(V2))
U42(tt, V2) → U43(isNatIList(a(V2)))
U43(tt) → tt
U51(tt, V1, V2) → U52(isNat(a(V1)), a(V2))
U52(tt, V2) → U53(isNatList(a(V2)))
U53(tt) → tt
U61(tt, L) → s(length(a(L)))
and(tt, X) → a(X)
isNat(0Inact) → tt
isNat(sInact(V1)) → U21(isNatKind(a(V1)), a(V1))
isNatIList(consInact(V1, V2)) → U41(and(isNatKind(a(V1)), isNatIListKindInact(a(V2))), a(V1), a(V2))
isNatIListKind(nilInact) → tt
isNatIListKind(zerosInact) → tt
isNatIListKind(consInact(V1, V2)) → and(isNatKind(a(V1)), isNatIListKindInact(a(V2)))
isNatKind(0Inact) → tt
isNatKind(lengthInact(V1)) → isNatIListKind(a(V1))
isNatKind(sInact(V1)) → isNatKind(a(V1))
isNatList(consInact(V1, V2)) → U51(and(isNatKind(a(V1)), isNatIListKindInact(a(V2))), a(V1), a(V2))
length(cons(N, L)) → U61(and(and(isNatList(a(L)), isNatIListKindInact(a(L))), andInact(isNat(N), isNatKindInact(N))), a(L))
a(x) → x
zeros → zerosInact
a(zerosInact) → zeros
0 → 0Inact
a(0Inact) → 0
s(x1) → sInact(x1)
a(sInact(x1)) → s(x1)
cons(x1, x2) → consInact(x1, x2)
a(consInact(x1, x2)) → cons(x1, x2)
isNatIListKind(x1) → isNatIListKindInact(x1)
a(isNatIListKindInact(x1)) → isNatIListKind(x1)
nil → nilInact
a(nilInact) → nil
length(x1) → lengthInact(x1)
a(lengthInact(x1)) → length(x1)
and(x1, x2) → andInact(x1, x2)
a(andInact(x1, x2)) → and(x1, x2)
isNatKind(x1) → isNatKindInact(x1)
a(isNatKindInact(x1)) → isNatKind(x1)
A(isNatIListKindInact(x1)) → ISNATILISTKIND(x1)
ISNATILISTKIND(consInact(V1, V2)) → AND(isNatKind(a(V1)), isNatIListKindInact(a(V2)))
AND(tt, X) → A(X)
A(lengthInact(x1)) → LENGTH(x1)
LENGTH(cons(N, L)) → U611(and(and(isNatList(a(L)), isNatIListKindInact(a(L))), andInact(isNat(N), isNatKindInact(N))), a(L))
U611(tt, L) → LENGTH(a(L))
LENGTH(cons(N, L)) → AND(and(isNatList(a(L)), isNatIListKindInact(a(L))), andInact(isNat(N), isNatKindInact(N)))
LENGTH(cons(N, L)) → AND(isNatList(a(L)), isNatIListKindInact(a(L)))
LENGTH(cons(N, L)) → ISNATLIST(a(L))
ISNATLIST(consInact(V1, V2)) → U511(and(isNatKind(a(V1)), isNatIListKindInact(a(V2))), a(V1), a(V2))
U511(tt, V1, V2) → U521(isNat(a(V1)), a(V2))
U521(tt, V2) → ISNATLIST(a(V2))
ISNATLIST(consInact(V1, V2)) → AND(isNatKind(a(V1)), isNatIListKindInact(a(V2)))
ISNATLIST(consInact(V1, V2)) → ISNATKIND(a(V1))
ISNATKIND(lengthInact(V1)) → ISNATILISTKIND(a(V1))
ISNATILISTKIND(consInact(V1, V2)) → ISNATKIND(a(V1))
ISNATKIND(lengthInact(V1)) → A(V1)
A(andInact(x1, x2)) → AND(x1, x2)
A(isNatKindInact(x1)) → ISNATKIND(x1)
ISNATKIND(sInact(V1)) → ISNATKIND(a(V1))
ISNATKIND(sInact(V1)) → A(V1)
ISNATILISTKIND(consInact(V1, V2)) → A(V1)
ISNATILISTKIND(consInact(V1, V2)) → A(V2)
ISNATLIST(consInact(V1, V2)) → A(V1)
ISNATLIST(consInact(V1, V2)) → A(V2)
U521(tt, V2) → A(V2)
U511(tt, V1, V2) → ISNAT(a(V1))
ISNAT(sInact(V1)) → U211(isNatKind(a(V1)), a(V1))
U211(tt, V1) → ISNAT(a(V1))
ISNAT(sInact(V1)) → ISNATKIND(a(V1))
ISNAT(sInact(V1)) → A(V1)
U211(tt, V1) → A(V1)
U511(tt, V1, V2) → A(V1)
U511(tt, V1, V2) → A(V2)
LENGTH(cons(N, L)) → A(L)
LENGTH(cons(N, L)) → ISNAT(N)
U611(tt, L) → A(L)
zeros → cons(0, zerosInact)
U21(tt, V1) → U22(isNat(a(V1)))
U22(tt) → tt
U41(tt, V1, V2) → U42(isNat(a(V1)), a(V2))
U42(tt, V2) → U43(isNatIList(a(V2)))
U43(tt) → tt
U51(tt, V1, V2) → U52(isNat(a(V1)), a(V2))
U52(tt, V2) → U53(isNatList(a(V2)))
U53(tt) → tt
U61(tt, L) → s(length(a(L)))
and(tt, X) → a(X)
isNat(0Inact) → tt
isNat(sInact(V1)) → U21(isNatKind(a(V1)), a(V1))
isNatIList(consInact(V1, V2)) → U41(and(isNatKind(a(V1)), isNatIListKindInact(a(V2))), a(V1), a(V2))
isNatIListKind(nilInact) → tt
isNatIListKind(zerosInact) → tt
isNatIListKind(consInact(V1, V2)) → and(isNatKind(a(V1)), isNatIListKindInact(a(V2)))
isNatKind(0Inact) → tt
isNatKind(lengthInact(V1)) → isNatIListKind(a(V1))
isNatKind(sInact(V1)) → isNatKind(a(V1))
isNatList(consInact(V1, V2)) → U51(and(isNatKind(a(V1)), isNatIListKindInact(a(V2))), a(V1), a(V2))
length(cons(N, L)) → U61(and(and(isNatList(a(L)), isNatIListKindInact(a(L))), andInact(isNat(N), isNatKindInact(N))), a(L))
a(x) → x
zeros → zerosInact
a(zerosInact) → zeros
0 → 0Inact
a(0Inact) → 0
s(x1) → sInact(x1)
a(sInact(x1)) → s(x1)
cons(x1, x2) → consInact(x1, x2)
a(consInact(x1, x2)) → cons(x1, x2)
isNatIListKind(x1) → isNatIListKindInact(x1)
a(isNatIListKindInact(x1)) → isNatIListKind(x1)
nil → nilInact
a(nilInact) → nil
length(x1) → lengthInact(x1)
a(lengthInact(x1)) → length(x1)
and(x1, x2) → andInact(x1, x2)
a(andInact(x1, x2)) → and(x1, x2)
isNatKind(x1) → isNatKindInact(x1)
a(isNatKindInact(x1)) → isNatKind(x1)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
A(lengthInact(x1)) → LENGTH(x1)
ISNATKIND(lengthInact(V1)) → ISNATILISTKIND(a(V1))
ISNATKIND(lengthInact(V1)) → A(V1)
POL(0) = 0
POL(0Inact) = 0
POL(A(x1)) = x1
POL(AND(x1, x2)) = x2
POL(ISNAT(x1)) = x1
POL(ISNATILISTKIND(x1)) = x1
POL(ISNATKIND(x1)) = x1
POL(ISNATLIST(x1)) = x1
POL(LENGTH(x1)) = x1
POL(U21(x1, x2)) = 0
POL(U211(x1, x2)) = x2
POL(U22(x1)) = 0
POL(U51(x1, x2, x3)) = 0
POL(U511(x1, x2, x3)) = x2 + x3
POL(U52(x1, x2)) = 0
POL(U521(x1, x2)) = x2
POL(U53(x1)) = 0
POL(U61(x1, x2)) = 1 + x2
POL(U611(x1, x2)) = x2
POL(a(x1)) = x1
POL(and(x1, x2)) = x2
POL(andInact(x1, x2)) = x2
POL(cons(x1, x2)) = x1 + x2
POL(consInact(x1, x2)) = x1 + x2
POL(isNat(x1)) = 0
POL(isNatIListKind(x1)) = x1
POL(isNatIListKindInact(x1)) = x1
POL(isNatKind(x1)) = x1
POL(isNatKindInact(x1)) = x1
POL(isNatList(x1)) = 1 + x1
POL(length(x1)) = 1 + x1
POL(lengthInact(x1)) = 1 + x1
POL(nil) = 0
POL(nilInact) = 0
POL(s(x1)) = x1
POL(sInact(x1)) = x1
POL(tt) = 0
POL(zeros) = 0
POL(zerosInact) = 0
and(x1, x2) → andInact(x1, x2)
isNatKind(x1) → isNatKindInact(x1)
a(nilInact) → nil
nil → nilInact
a(lengthInact(x1)) → length(x1)
length(x1) → lengthInact(x1)
zeros → cons(0, zerosInact)
U22(tt) → tt
U21(tt, V1) → U22(isNat(a(V1)))
U53(tt) → tt
U52(tt, V2) → U53(isNatList(a(V2)))
U51(tt, V1, V2) → U52(isNat(a(V1)), a(V2))
isNat(sInact(V1)) → U21(isNatKind(a(V1)), a(V1))
U61(tt, L) → s(length(a(L)))
isNatIListKind(zerosInact) → tt
isNatIListKind(nilInact) → tt
isNatList(consInact(V1, V2)) → U51(and(isNatKind(a(V1)), isNatIListKindInact(a(V2))), a(V1), a(V2))
isNatKind(0Inact) → tt
zeros → zerosInact
a(zerosInact) → zeros
length(cons(N, L)) → U61(and(and(isNatList(a(L)), isNatIListKindInact(a(L))), andInact(isNat(N), isNatKindInact(N))), a(L))
a(x) → x
s(x1) → sInact(x1)
a(sInact(x1)) → s(x1)
0 → 0Inact
a(0Inact) → 0
isNatIListKind(x1) → isNatIListKindInact(x1)
a(isNatIListKindInact(x1)) → isNatIListKind(x1)
a(isNatKindInact(x1)) → isNatKind(x1)
isNatKind(lengthInact(V1)) → isNatIListKind(a(V1))
isNatIListKind(consInact(V1, V2)) → and(isNatKind(a(V1)), isNatIListKindInact(a(V2)))
a(andInact(x1, x2)) → and(x1, x2)
and(tt, X) → a(X)
isNatKind(sInact(V1)) → isNatKind(a(V1))
cons(x1, x2) → consInact(x1, x2)
a(consInact(x1, x2)) → cons(x1, x2)
A(isNatIListKindInact(x1)) → ISNATILISTKIND(x1)
ISNATILISTKIND(consInact(V1, V2)) → AND(isNatKind(a(V1)), isNatIListKindInact(a(V2)))
AND(tt, X) → A(X)
LENGTH(cons(N, L)) → U611(and(and(isNatList(a(L)), isNatIListKindInact(a(L))), andInact(isNat(N), isNatKindInact(N))), a(L))
U611(tt, L) → LENGTH(a(L))
LENGTH(cons(N, L)) → AND(and(isNatList(a(L)), isNatIListKindInact(a(L))), andInact(isNat(N), isNatKindInact(N)))
LENGTH(cons(N, L)) → AND(isNatList(a(L)), isNatIListKindInact(a(L)))
LENGTH(cons(N, L)) → ISNATLIST(a(L))
ISNATLIST(consInact(V1, V2)) → U511(and(isNatKind(a(V1)), isNatIListKindInact(a(V2))), a(V1), a(V2))
U511(tt, V1, V2) → U521(isNat(a(V1)), a(V2))
U521(tt, V2) → ISNATLIST(a(V2))
ISNATLIST(consInact(V1, V2)) → AND(isNatKind(a(V1)), isNatIListKindInact(a(V2)))
ISNATLIST(consInact(V1, V2)) → ISNATKIND(a(V1))
ISNATILISTKIND(consInact(V1, V2)) → ISNATKIND(a(V1))
A(andInact(x1, x2)) → AND(x1, x2)
A(isNatKindInact(x1)) → ISNATKIND(x1)
ISNATKIND(sInact(V1)) → ISNATKIND(a(V1))
ISNATKIND(sInact(V1)) → A(V1)
ISNATILISTKIND(consInact(V1, V2)) → A(V1)
ISNATILISTKIND(consInact(V1, V2)) → A(V2)
ISNATLIST(consInact(V1, V2)) → A(V1)
ISNATLIST(consInact(V1, V2)) → A(V2)
U521(tt, V2) → A(V2)
U511(tt, V1, V2) → ISNAT(a(V1))
ISNAT(sInact(V1)) → U211(isNatKind(a(V1)), a(V1))
U211(tt, V1) → ISNAT(a(V1))
ISNAT(sInact(V1)) → ISNATKIND(a(V1))
ISNAT(sInact(V1)) → A(V1)
U211(tt, V1) → A(V1)
U511(tt, V1, V2) → A(V1)
U511(tt, V1, V2) → A(V2)
LENGTH(cons(N, L)) → A(L)
LENGTH(cons(N, L)) → ISNAT(N)
U611(tt, L) → A(L)
zeros → cons(0, zerosInact)
U21(tt, V1) → U22(isNat(a(V1)))
U22(tt) → tt
U41(tt, V1, V2) → U42(isNat(a(V1)), a(V2))
U42(tt, V2) → U43(isNatIList(a(V2)))
U43(tt) → tt
U51(tt, V1, V2) → U52(isNat(a(V1)), a(V2))
U52(tt, V2) → U53(isNatList(a(V2)))
U53(tt) → tt
U61(tt, L) → s(length(a(L)))
and(tt, X) → a(X)
isNat(0Inact) → tt
isNat(sInact(V1)) → U21(isNatKind(a(V1)), a(V1))
isNatIList(consInact(V1, V2)) → U41(and(isNatKind(a(V1)), isNatIListKindInact(a(V2))), a(V1), a(V2))
isNatIListKind(nilInact) → tt
isNatIListKind(zerosInact) → tt
isNatIListKind(consInact(V1, V2)) → and(isNatKind(a(V1)), isNatIListKindInact(a(V2)))
isNatKind(0Inact) → tt
isNatKind(lengthInact(V1)) → isNatIListKind(a(V1))
isNatKind(sInact(V1)) → isNatKind(a(V1))
isNatList(consInact(V1, V2)) → U51(and(isNatKind(a(V1)), isNatIListKindInact(a(V2))), a(V1), a(V2))
length(cons(N, L)) → U61(and(and(isNatList(a(L)), isNatIListKindInact(a(L))), andInact(isNat(N), isNatKindInact(N))), a(L))
a(x) → x
zeros → zerosInact
a(zerosInact) → zeros
0 → 0Inact
a(0Inact) → 0
s(x1) → sInact(x1)
a(sInact(x1)) → s(x1)
cons(x1, x2) → consInact(x1, x2)
a(consInact(x1, x2)) → cons(x1, x2)
isNatIListKind(x1) → isNatIListKindInact(x1)
a(isNatIListKindInact(x1)) → isNatIListKind(x1)
nil → nilInact
a(nilInact) → nil
length(x1) → lengthInact(x1)
a(lengthInact(x1)) → length(x1)
and(x1, x2) → andInact(x1, x2)
a(andInact(x1, x2)) → and(x1, x2)
isNatKind(x1) → isNatKindInact(x1)
a(isNatKindInact(x1)) → isNatKind(x1)
ISNATILISTKIND(consInact(V1, V2)) → AND(isNatKind(a(V1)), isNatIListKindInact(a(V2)))
AND(tt, X) → A(X)
A(isNatIListKindInact(x1)) → ISNATILISTKIND(x1)
ISNATILISTKIND(consInact(V1, V2)) → ISNATKIND(a(V1))
ISNATKIND(sInact(V1)) → ISNATKIND(a(V1))
ISNATKIND(sInact(V1)) → A(V1)
A(andInact(x1, x2)) → AND(x1, x2)
A(isNatKindInact(x1)) → ISNATKIND(x1)
ISNATILISTKIND(consInact(V1, V2)) → A(V1)
ISNATILISTKIND(consInact(V1, V2)) → A(V2)
zeros → cons(0, zerosInact)
U21(tt, V1) → U22(isNat(a(V1)))
U22(tt) → tt
U41(tt, V1, V2) → U42(isNat(a(V1)), a(V2))
U42(tt, V2) → U43(isNatIList(a(V2)))
U43(tt) → tt
U51(tt, V1, V2) → U52(isNat(a(V1)), a(V2))
U52(tt, V2) → U53(isNatList(a(V2)))
U53(tt) → tt
U61(tt, L) → s(length(a(L)))
and(tt, X) → a(X)
isNat(0Inact) → tt
isNat(sInact(V1)) → U21(isNatKind(a(V1)), a(V1))
isNatIList(consInact(V1, V2)) → U41(and(isNatKind(a(V1)), isNatIListKindInact(a(V2))), a(V1), a(V2))
isNatIListKind(nilInact) → tt
isNatIListKind(zerosInact) → tt
isNatIListKind(consInact(V1, V2)) → and(isNatKind(a(V1)), isNatIListKindInact(a(V2)))
isNatKind(0Inact) → tt
isNatKind(lengthInact(V1)) → isNatIListKind(a(V1))
isNatKind(sInact(V1)) → isNatKind(a(V1))
isNatList(consInact(V1, V2)) → U51(and(isNatKind(a(V1)), isNatIListKindInact(a(V2))), a(V1), a(V2))
length(cons(N, L)) → U61(and(and(isNatList(a(L)), isNatIListKindInact(a(L))), andInact(isNat(N), isNatKindInact(N))), a(L))
a(x) → x
zeros → zerosInact
a(zerosInact) → zeros
0 → 0Inact
a(0Inact) → 0
s(x1) → sInact(x1)
a(sInact(x1)) → s(x1)
cons(x1, x2) → consInact(x1, x2)
a(consInact(x1, x2)) → cons(x1, x2)
isNatIListKind(x1) → isNatIListKindInact(x1)
a(isNatIListKindInact(x1)) → isNatIListKind(x1)
nil → nilInact
a(nilInact) → nil
length(x1) → lengthInact(x1)
a(lengthInact(x1)) → length(x1)
and(x1, x2) → andInact(x1, x2)
a(andInact(x1, x2)) → and(x1, x2)
isNatKind(x1) → isNatKindInact(x1)
a(isNatKindInact(x1)) → isNatKind(x1)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
A(isNatKindInact(x1)) → ISNATKIND(x1)
POL(0) = 0
POL(0Inact) = 0
POL(A(x1)) = x1
POL(AND(x1, x2)) = x2
POL(ISNATILISTKIND(x1)) = x1
POL(ISNATKIND(x1)) = x1
POL(U21(x1, x2)) = x2
POL(U22(x1)) = 0
POL(U51(x1, x2, x3)) = 1
POL(U52(x1, x2)) = 0
POL(U53(x1)) = 0
POL(U61(x1, x2)) = x2
POL(a(x1)) = x1
POL(and(x1, x2)) = x2
POL(andInact(x1, x2)) = x2
POL(cons(x1, x2)) = x1 + x2
POL(consInact(x1, x2)) = x1 + x2
POL(isNat(x1)) = 1 + x1
POL(isNatIListKind(x1)) = x1
POL(isNatIListKindInact(x1)) = x1
POL(isNatKind(x1)) = 1 + x1
POL(isNatKindInact(x1)) = 1 + x1
POL(isNatList(x1)) = 1 + x1
POL(length(x1)) = x1
POL(lengthInact(x1)) = x1
POL(nil) = 1
POL(nilInact) = 1
POL(s(x1)) = x1
POL(sInact(x1)) = x1
POL(tt) = 0
POL(zeros) = 1
POL(zerosInact) = 1
and(x1, x2) → andInact(x1, x2)
isNatKind(x1) → isNatKindInact(x1)
a(nilInact) → nil
nil → nilInact
a(lengthInact(x1)) → length(x1)
length(x1) → lengthInact(x1)
zeros → cons(0, zerosInact)
U22(tt) → tt
U21(tt, V1) → U22(isNat(a(V1)))
U53(tt) → tt
U52(tt, V2) → U53(isNatList(a(V2)))
U51(tt, V1, V2) → U52(isNat(a(V1)), a(V2))
isNat(sInact(V1)) → U21(isNatKind(a(V1)), a(V1))
U61(tt, L) → s(length(a(L)))
isNatIListKind(zerosInact) → tt
isNatIListKind(nilInact) → tt
isNatList(consInact(V1, V2)) → U51(and(isNatKind(a(V1)), isNatIListKindInact(a(V2))), a(V1), a(V2))
isNatKind(0Inact) → tt
zeros → zerosInact
a(zerosInact) → zeros
length(cons(N, L)) → U61(and(and(isNatList(a(L)), isNatIListKindInact(a(L))), andInact(isNat(N), isNatKindInact(N))), a(L))
a(x) → x
s(x1) → sInact(x1)
a(sInact(x1)) → s(x1)
0 → 0Inact
a(0Inact) → 0
isNatIListKind(x1) → isNatIListKindInact(x1)
a(isNatIListKindInact(x1)) → isNatIListKind(x1)
a(isNatKindInact(x1)) → isNatKind(x1)
isNatKind(lengthInact(V1)) → isNatIListKind(a(V1))
isNatIListKind(consInact(V1, V2)) → and(isNatKind(a(V1)), isNatIListKindInact(a(V2)))
a(andInact(x1, x2)) → and(x1, x2)
and(tt, X) → a(X)
isNatKind(sInact(V1)) → isNatKind(a(V1))
cons(x1, x2) → consInact(x1, x2)
a(consInact(x1, x2)) → cons(x1, x2)
ISNATILISTKIND(consInact(V1, V2)) → AND(isNatKind(a(V1)), isNatIListKindInact(a(V2)))
AND(tt, X) → A(X)
A(isNatIListKindInact(x1)) → ISNATILISTKIND(x1)
ISNATILISTKIND(consInact(V1, V2)) → ISNATKIND(a(V1))
ISNATKIND(sInact(V1)) → ISNATKIND(a(V1))
ISNATKIND(sInact(V1)) → A(V1)
A(andInact(x1, x2)) → AND(x1, x2)
ISNATILISTKIND(consInact(V1, V2)) → A(V1)
ISNATILISTKIND(consInact(V1, V2)) → A(V2)
zeros → cons(0, zerosInact)
U21(tt, V1) → U22(isNat(a(V1)))
U22(tt) → tt
U41(tt, V1, V2) → U42(isNat(a(V1)), a(V2))
U42(tt, V2) → U43(isNatIList(a(V2)))
U43(tt) → tt
U51(tt, V1, V2) → U52(isNat(a(V1)), a(V2))
U52(tt, V2) → U53(isNatList(a(V2)))
U53(tt) → tt
U61(tt, L) → s(length(a(L)))
and(tt, X) → a(X)
isNat(0Inact) → tt
isNat(sInact(V1)) → U21(isNatKind(a(V1)), a(V1))
isNatIList(consInact(V1, V2)) → U41(and(isNatKind(a(V1)), isNatIListKindInact(a(V2))), a(V1), a(V2))
isNatIListKind(nilInact) → tt
isNatIListKind(zerosInact) → tt
isNatIListKind(consInact(V1, V2)) → and(isNatKind(a(V1)), isNatIListKindInact(a(V2)))
isNatKind(0Inact) → tt
isNatKind(lengthInact(V1)) → isNatIListKind(a(V1))
isNatKind(sInact(V1)) → isNatKind(a(V1))
isNatList(consInact(V1, V2)) → U51(and(isNatKind(a(V1)), isNatIListKindInact(a(V2))), a(V1), a(V2))
length(cons(N, L)) → U61(and(and(isNatList(a(L)), isNatIListKindInact(a(L))), andInact(isNat(N), isNatKindInact(N))), a(L))
a(x) → x
zeros → zerosInact
a(zerosInact) → zeros
0 → 0Inact
a(0Inact) → 0
s(x1) → sInact(x1)
a(sInact(x1)) → s(x1)
cons(x1, x2) → consInact(x1, x2)
a(consInact(x1, x2)) → cons(x1, x2)
isNatIListKind(x1) → isNatIListKindInact(x1)
a(isNatIListKindInact(x1)) → isNatIListKind(x1)
nil → nilInact
a(nilInact) → nil
length(x1) → lengthInact(x1)
a(lengthInact(x1)) → length(x1)
and(x1, x2) → andInact(x1, x2)
a(andInact(x1, x2)) → and(x1, x2)
isNatKind(x1) → isNatKindInact(x1)
a(isNatKindInact(x1)) → isNatKind(x1)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
ISNATILISTKIND(consInact(V1, V2)) → ISNATKIND(a(V1))
ISNATILISTKIND(consInact(V1, V2)) → A(V1)
ISNATILISTKIND(consInact(V1, V2)) → A(V2)
POL(0) = 0
POL(0Inact) = 0
POL(A(x1)) = x1
POL(AND(x1, x2)) = x2
POL(ISNATILISTKIND(x1)) = 1 + x1
POL(ISNATKIND(x1)) = x1
POL(U21(x1, x2)) = 1
POL(U22(x1)) = 0
POL(U51(x1, x2, x3)) = 1
POL(U52(x1, x2)) = 1
POL(U53(x1)) = 1
POL(U61(x1, x2)) = x2
POL(a(x1)) = x1
POL(and(x1, x2)) = x2
POL(andInact(x1, x2)) = x2
POL(cons(x1, x2)) = x1 + x2
POL(consInact(x1, x2)) = x1 + x2
POL(isNat(x1)) = 1
POL(isNatIListKind(x1)) = 1 + x1
POL(isNatIListKindInact(x1)) = 1 + x1
POL(isNatKind(x1)) = 1 + x1
POL(isNatKindInact(x1)) = 1 + x1
POL(isNatList(x1)) = 1
POL(length(x1)) = x1
POL(lengthInact(x1)) = x1
POL(nil) = 1
POL(nilInact) = 1
POL(s(x1)) = x1
POL(sInact(x1)) = x1
POL(tt) = 0
POL(zeros) = 0
POL(zerosInact) = 0
and(x1, x2) → andInact(x1, x2)
isNatKind(x1) → isNatKindInact(x1)
a(nilInact) → nil
nil → nilInact
a(lengthInact(x1)) → length(x1)
length(x1) → lengthInact(x1)
zeros → cons(0, zerosInact)
U22(tt) → tt
U21(tt, V1) → U22(isNat(a(V1)))
U53(tt) → tt
U52(tt, V2) → U53(isNatList(a(V2)))
U51(tt, V1, V2) → U52(isNat(a(V1)), a(V2))
isNat(sInact(V1)) → U21(isNatKind(a(V1)), a(V1))
U61(tt, L) → s(length(a(L)))
isNatIListKind(zerosInact) → tt
isNatIListKind(nilInact) → tt
isNatList(consInact(V1, V2)) → U51(and(isNatKind(a(V1)), isNatIListKindInact(a(V2))), a(V1), a(V2))
isNatKind(0Inact) → tt
zeros → zerosInact
a(zerosInact) → zeros
length(cons(N, L)) → U61(and(and(isNatList(a(L)), isNatIListKindInact(a(L))), andInact(isNat(N), isNatKindInact(N))), a(L))
a(x) → x
s(x1) → sInact(x1)
a(sInact(x1)) → s(x1)
0 → 0Inact
a(0Inact) → 0
isNatIListKind(x1) → isNatIListKindInact(x1)
a(isNatIListKindInact(x1)) → isNatIListKind(x1)
a(isNatKindInact(x1)) → isNatKind(x1)
isNatKind(lengthInact(V1)) → isNatIListKind(a(V1))
isNatIListKind(consInact(V1, V2)) → and(isNatKind(a(V1)), isNatIListKindInact(a(V2)))
a(andInact(x1, x2)) → and(x1, x2)
and(tt, X) → a(X)
isNatKind(sInact(V1)) → isNatKind(a(V1))
cons(x1, x2) → consInact(x1, x2)
a(consInact(x1, x2)) → cons(x1, x2)
ISNATILISTKIND(consInact(V1, V2)) → AND(isNatKind(a(V1)), isNatIListKindInact(a(V2)))
AND(tt, X) → A(X)
A(isNatIListKindInact(x1)) → ISNATILISTKIND(x1)
ISNATKIND(sInact(V1)) → ISNATKIND(a(V1))
ISNATKIND(sInact(V1)) → A(V1)
A(andInact(x1, x2)) → AND(x1, x2)
zeros → cons(0, zerosInact)
U21(tt, V1) → U22(isNat(a(V1)))
U22(tt) → tt
U41(tt, V1, V2) → U42(isNat(a(V1)), a(V2))
U42(tt, V2) → U43(isNatIList(a(V2)))
U43(tt) → tt
U51(tt, V1, V2) → U52(isNat(a(V1)), a(V2))
U52(tt, V2) → U53(isNatList(a(V2)))
U53(tt) → tt
U61(tt, L) → s(length(a(L)))
and(tt, X) → a(X)
isNat(0Inact) → tt
isNat(sInact(V1)) → U21(isNatKind(a(V1)), a(V1))
isNatIList(consInact(V1, V2)) → U41(and(isNatKind(a(V1)), isNatIListKindInact(a(V2))), a(V1), a(V2))
isNatIListKind(nilInact) → tt
isNatIListKind(zerosInact) → tt
isNatIListKind(consInact(V1, V2)) → and(isNatKind(a(V1)), isNatIListKindInact(a(V2)))
isNatKind(0Inact) → tt
isNatKind(lengthInact(V1)) → isNatIListKind(a(V1))
isNatKind(sInact(V1)) → isNatKind(a(V1))
isNatList(consInact(V1, V2)) → U51(and(isNatKind(a(V1)), isNatIListKindInact(a(V2))), a(V1), a(V2))
length(cons(N, L)) → U61(and(and(isNatList(a(L)), isNatIListKindInact(a(L))), andInact(isNat(N), isNatKindInact(N))), a(L))
a(x) → x
zeros → zerosInact
a(zerosInact) → zeros
0 → 0Inact
a(0Inact) → 0
s(x1) → sInact(x1)
a(sInact(x1)) → s(x1)
cons(x1, x2) → consInact(x1, x2)
a(consInact(x1, x2)) → cons(x1, x2)
isNatIListKind(x1) → isNatIListKindInact(x1)
a(isNatIListKindInact(x1)) → isNatIListKind(x1)
nil → nilInact
a(nilInact) → nil
length(x1) → lengthInact(x1)
a(lengthInact(x1)) → length(x1)
and(x1, x2) → andInact(x1, x2)
a(andInact(x1, x2)) → and(x1, x2)
isNatKind(x1) → isNatKindInact(x1)
a(isNatKindInact(x1)) → isNatKind(x1)
AND(tt, X) → A(X)
A(isNatIListKindInact(x1)) → ISNATILISTKIND(x1)
ISNATILISTKIND(consInact(V1, V2)) → AND(isNatKind(a(V1)), isNatIListKindInact(a(V2)))
A(andInact(x1, x2)) → AND(x1, x2)
zeros → cons(0, zerosInact)
U21(tt, V1) → U22(isNat(a(V1)))
U22(tt) → tt
U41(tt, V1, V2) → U42(isNat(a(V1)), a(V2))
U42(tt, V2) → U43(isNatIList(a(V2)))
U43(tt) → tt
U51(tt, V1, V2) → U52(isNat(a(V1)), a(V2))
U52(tt, V2) → U53(isNatList(a(V2)))
U53(tt) → tt
U61(tt, L) → s(length(a(L)))
and(tt, X) → a(X)
isNat(0Inact) → tt
isNat(sInact(V1)) → U21(isNatKind(a(V1)), a(V1))
isNatIList(consInact(V1, V2)) → U41(and(isNatKind(a(V1)), isNatIListKindInact(a(V2))), a(V1), a(V2))
isNatIListKind(nilInact) → tt
isNatIListKind(zerosInact) → tt
isNatIListKind(consInact(V1, V2)) → and(isNatKind(a(V1)), isNatIListKindInact(a(V2)))
isNatKind(0Inact) → tt
isNatKind(lengthInact(V1)) → isNatIListKind(a(V1))
isNatKind(sInact(V1)) → isNatKind(a(V1))
isNatList(consInact(V1, V2)) → U51(and(isNatKind(a(V1)), isNatIListKindInact(a(V2))), a(V1), a(V2))
length(cons(N, L)) → U61(and(and(isNatList(a(L)), isNatIListKindInact(a(L))), andInact(isNat(N), isNatKindInact(N))), a(L))
a(x) → x
zeros → zerosInact
a(zerosInact) → zeros
0 → 0Inact
a(0Inact) → 0
s(x1) → sInact(x1)
a(sInact(x1)) → s(x1)
cons(x1, x2) → consInact(x1, x2)
a(consInact(x1, x2)) → cons(x1, x2)
isNatIListKind(x1) → isNatIListKindInact(x1)
a(isNatIListKindInact(x1)) → isNatIListKind(x1)
nil → nilInact
a(nilInact) → nil
length(x1) → lengthInact(x1)
a(lengthInact(x1)) → length(x1)
and(x1, x2) → andInact(x1, x2)
a(andInact(x1, x2)) → and(x1, x2)
isNatKind(x1) → isNatKindInact(x1)
a(isNatKindInact(x1)) → isNatKind(x1)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
A(andInact(x1, x2)) → AND(x1, x2)
POL(0) = 0
POL(0Inact) = 0
POL(A(x1)) = x1
POL(AND(x1, x2)) = x2
POL(ISNATILISTKIND(x1)) = 0
POL(U21(x1, x2)) = 0
POL(U22(x1)) = 0
POL(U51(x1, x2, x3)) = 0
POL(U52(x1, x2)) = 0
POL(U53(x1)) = 0
POL(U61(x1, x2)) = 0
POL(a(x1)) = 0
POL(and(x1, x2)) = 0
POL(andInact(x1, x2)) = 1 + x2
POL(cons(x1, x2)) = 0
POL(consInact(x1, x2)) = 0
POL(isNat(x1)) = 0
POL(isNatIListKind(x1)) = 0
POL(isNatIListKindInact(x1)) = 0
POL(isNatKind(x1)) = 0
POL(isNatKindInact(x1)) = 0
POL(isNatList(x1)) = 0
POL(length(x1)) = 0
POL(lengthInact(x1)) = 0
POL(nil) = 0
POL(nilInact) = 0
POL(s(x1)) = 0
POL(sInact(x1)) = 0
POL(tt) = 0
POL(zeros) = 0
POL(zerosInact) = 0
AND(tt, X) → A(X)
A(isNatIListKindInact(x1)) → ISNATILISTKIND(x1)
ISNATILISTKIND(consInact(V1, V2)) → AND(isNatKind(a(V1)), isNatIListKindInact(a(V2)))
zeros → cons(0, zerosInact)
U21(tt, V1) → U22(isNat(a(V1)))
U22(tt) → tt
U41(tt, V1, V2) → U42(isNat(a(V1)), a(V2))
U42(tt, V2) → U43(isNatIList(a(V2)))
U43(tt) → tt
U51(tt, V1, V2) → U52(isNat(a(V1)), a(V2))
U52(tt, V2) → U53(isNatList(a(V2)))
U53(tt) → tt
U61(tt, L) → s(length(a(L)))
and(tt, X) → a(X)
isNat(0Inact) → tt
isNat(sInact(V1)) → U21(isNatKind(a(V1)), a(V1))
isNatIList(consInact(V1, V2)) → U41(and(isNatKind(a(V1)), isNatIListKindInact(a(V2))), a(V1), a(V2))
isNatIListKind(nilInact) → tt
isNatIListKind(zerosInact) → tt
isNatIListKind(consInact(V1, V2)) → and(isNatKind(a(V1)), isNatIListKindInact(a(V2)))
isNatKind(0Inact) → tt
isNatKind(lengthInact(V1)) → isNatIListKind(a(V1))
isNatKind(sInact(V1)) → isNatKind(a(V1))
isNatList(consInact(V1, V2)) → U51(and(isNatKind(a(V1)), isNatIListKindInact(a(V2))), a(V1), a(V2))
length(cons(N, L)) → U61(and(and(isNatList(a(L)), isNatIListKindInact(a(L))), andInact(isNat(N), isNatKindInact(N))), a(L))
a(x) → x
zeros → zerosInact
a(zerosInact) → zeros
0 → 0Inact
a(0Inact) → 0
s(x1) → sInact(x1)
a(sInact(x1)) → s(x1)
cons(x1, x2) → consInact(x1, x2)
a(consInact(x1, x2)) → cons(x1, x2)
isNatIListKind(x1) → isNatIListKindInact(x1)
a(isNatIListKindInact(x1)) → isNatIListKind(x1)
nil → nilInact
a(nilInact) → nil
length(x1) → lengthInact(x1)
a(lengthInact(x1)) → length(x1)
and(x1, x2) → andInact(x1, x2)
a(andInact(x1, x2)) → and(x1, x2)
isNatKind(x1) → isNatKindInact(x1)
a(isNatKindInact(x1)) → isNatKind(x1)
ISNATKIND(sInact(V1)) → ISNATKIND(a(V1))
zeros → cons(0, zerosInact)
U21(tt, V1) → U22(isNat(a(V1)))
U22(tt) → tt
U41(tt, V1, V2) → U42(isNat(a(V1)), a(V2))
U42(tt, V2) → U43(isNatIList(a(V2)))
U43(tt) → tt
U51(tt, V1, V2) → U52(isNat(a(V1)), a(V2))
U52(tt, V2) → U53(isNatList(a(V2)))
U53(tt) → tt
U61(tt, L) → s(length(a(L)))
and(tt, X) → a(X)
isNat(0Inact) → tt
isNat(sInact(V1)) → U21(isNatKind(a(V1)), a(V1))
isNatIList(consInact(V1, V2)) → U41(and(isNatKind(a(V1)), isNatIListKindInact(a(V2))), a(V1), a(V2))
isNatIListKind(nilInact) → tt
isNatIListKind(zerosInact) → tt
isNatIListKind(consInact(V1, V2)) → and(isNatKind(a(V1)), isNatIListKindInact(a(V2)))
isNatKind(0Inact) → tt
isNatKind(lengthInact(V1)) → isNatIListKind(a(V1))
isNatKind(sInact(V1)) → isNatKind(a(V1))
isNatList(consInact(V1, V2)) → U51(and(isNatKind(a(V1)), isNatIListKindInact(a(V2))), a(V1), a(V2))
length(cons(N, L)) → U61(and(and(isNatList(a(L)), isNatIListKindInact(a(L))), andInact(isNat(N), isNatKindInact(N))), a(L))
a(x) → x
zeros → zerosInact
a(zerosInact) → zeros
0 → 0Inact
a(0Inact) → 0
s(x1) → sInact(x1)
a(sInact(x1)) → s(x1)
cons(x1, x2) → consInact(x1, x2)
a(consInact(x1, x2)) → cons(x1, x2)
isNatIListKind(x1) → isNatIListKindInact(x1)
a(isNatIListKindInact(x1)) → isNatIListKind(x1)
nil → nilInact
a(nilInact) → nil
length(x1) → lengthInact(x1)
a(lengthInact(x1)) → length(x1)
and(x1, x2) → andInact(x1, x2)
a(andInact(x1, x2)) → and(x1, x2)
isNatKind(x1) → isNatKindInact(x1)
a(isNatKindInact(x1)) → isNatKind(x1)
ISNAT(sInact(V1)) → U211(isNatKind(a(V1)), a(V1))
U211(tt, V1) → ISNAT(a(V1))
zeros → cons(0, zerosInact)
U21(tt, V1) → U22(isNat(a(V1)))
U22(tt) → tt
U41(tt, V1, V2) → U42(isNat(a(V1)), a(V2))
U42(tt, V2) → U43(isNatIList(a(V2)))
U43(tt) → tt
U51(tt, V1, V2) → U52(isNat(a(V1)), a(V2))
U52(tt, V2) → U53(isNatList(a(V2)))
U53(tt) → tt
U61(tt, L) → s(length(a(L)))
and(tt, X) → a(X)
isNat(0Inact) → tt
isNat(sInact(V1)) → U21(isNatKind(a(V1)), a(V1))
isNatIList(consInact(V1, V2)) → U41(and(isNatKind(a(V1)), isNatIListKindInact(a(V2))), a(V1), a(V2))
isNatIListKind(nilInact) → tt
isNatIListKind(zerosInact) → tt
isNatIListKind(consInact(V1, V2)) → and(isNatKind(a(V1)), isNatIListKindInact(a(V2)))
isNatKind(0Inact) → tt
isNatKind(lengthInact(V1)) → isNatIListKind(a(V1))
isNatKind(sInact(V1)) → isNatKind(a(V1))
isNatList(consInact(V1, V2)) → U51(and(isNatKind(a(V1)), isNatIListKindInact(a(V2))), a(V1), a(V2))
length(cons(N, L)) → U61(and(and(isNatList(a(L)), isNatIListKindInact(a(L))), andInact(isNat(N), isNatKindInact(N))), a(L))
a(x) → x
zeros → zerosInact
a(zerosInact) → zeros
0 → 0Inact
a(0Inact) → 0
s(x1) → sInact(x1)
a(sInact(x1)) → s(x1)
cons(x1, x2) → consInact(x1, x2)
a(consInact(x1, x2)) → cons(x1, x2)
isNatIListKind(x1) → isNatIListKindInact(x1)
a(isNatIListKindInact(x1)) → isNatIListKind(x1)
nil → nilInact
a(nilInact) → nil
length(x1) → lengthInact(x1)
a(lengthInact(x1)) → length(x1)
and(x1, x2) → andInact(x1, x2)
a(andInact(x1, x2)) → and(x1, x2)
isNatKind(x1) → isNatKindInact(x1)
a(isNatKindInact(x1)) → isNatKind(x1)
ISNATLIST(consInact(V1, V2)) → U511(and(isNatKind(a(V1)), isNatIListKindInact(a(V2))), a(V1), a(V2))
U511(tt, V1, V2) → U521(isNat(a(V1)), a(V2))
U521(tt, V2) → ISNATLIST(a(V2))
zeros → cons(0, zerosInact)
U21(tt, V1) → U22(isNat(a(V1)))
U22(tt) → tt
U41(tt, V1, V2) → U42(isNat(a(V1)), a(V2))
U42(tt, V2) → U43(isNatIList(a(V2)))
U43(tt) → tt
U51(tt, V1, V2) → U52(isNat(a(V1)), a(V2))
U52(tt, V2) → U53(isNatList(a(V2)))
U53(tt) → tt
U61(tt, L) → s(length(a(L)))
and(tt, X) → a(X)
isNat(0Inact) → tt
isNat(sInact(V1)) → U21(isNatKind(a(V1)), a(V1))
isNatIList(consInact(V1, V2)) → U41(and(isNatKind(a(V1)), isNatIListKindInact(a(V2))), a(V1), a(V2))
isNatIListKind(nilInact) → tt
isNatIListKind(zerosInact) → tt
isNatIListKind(consInact(V1, V2)) → and(isNatKind(a(V1)), isNatIListKindInact(a(V2)))
isNatKind(0Inact) → tt
isNatKind(lengthInact(V1)) → isNatIListKind(a(V1))
isNatKind(sInact(V1)) → isNatKind(a(V1))
isNatList(consInact(V1, V2)) → U51(and(isNatKind(a(V1)), isNatIListKindInact(a(V2))), a(V1), a(V2))
length(cons(N, L)) → U61(and(and(isNatList(a(L)), isNatIListKindInact(a(L))), andInact(isNat(N), isNatKindInact(N))), a(L))
a(x) → x
zeros → zerosInact
a(zerosInact) → zeros
0 → 0Inact
a(0Inact) → 0
s(x1) → sInact(x1)
a(sInact(x1)) → s(x1)
cons(x1, x2) → consInact(x1, x2)
a(consInact(x1, x2)) → cons(x1, x2)
isNatIListKind(x1) → isNatIListKindInact(x1)
a(isNatIListKindInact(x1)) → isNatIListKind(x1)
nil → nilInact
a(nilInact) → nil
length(x1) → lengthInact(x1)
a(lengthInact(x1)) → length(x1)
and(x1, x2) → andInact(x1, x2)
a(andInact(x1, x2)) → and(x1, x2)
isNatKind(x1) → isNatKindInact(x1)
a(isNatKindInact(x1)) → isNatKind(x1)
LENGTH(cons(N, L)) → U611(and(and(isNatList(a(L)), isNatIListKindInact(a(L))), andInact(isNat(N), isNatKindInact(N))), a(L))
U611(tt, L) → LENGTH(a(L))
zeros → cons(0, zerosInact)
U21(tt, V1) → U22(isNat(a(V1)))
U22(tt) → tt
U41(tt, V1, V2) → U42(isNat(a(V1)), a(V2))
U42(tt, V2) → U43(isNatIList(a(V2)))
U43(tt) → tt
U51(tt, V1, V2) → U52(isNat(a(V1)), a(V2))
U52(tt, V2) → U53(isNatList(a(V2)))
U53(tt) → tt
U61(tt, L) → s(length(a(L)))
and(tt, X) → a(X)
isNat(0Inact) → tt
isNat(sInact(V1)) → U21(isNatKind(a(V1)), a(V1))
isNatIList(consInact(V1, V2)) → U41(and(isNatKind(a(V1)), isNatIListKindInact(a(V2))), a(V1), a(V2))
isNatIListKind(nilInact) → tt
isNatIListKind(zerosInact) → tt
isNatIListKind(consInact(V1, V2)) → and(isNatKind(a(V1)), isNatIListKindInact(a(V2)))
isNatKind(0Inact) → tt
isNatKind(lengthInact(V1)) → isNatIListKind(a(V1))
isNatKind(sInact(V1)) → isNatKind(a(V1))
isNatList(consInact(V1, V2)) → U51(and(isNatKind(a(V1)), isNatIListKindInact(a(V2))), a(V1), a(V2))
length(cons(N, L)) → U61(and(and(isNatList(a(L)), isNatIListKindInact(a(L))), andInact(isNat(N), isNatKindInact(N))), a(L))
a(x) → x
zeros → zerosInact
a(zerosInact) → zeros
0 → 0Inact
a(0Inact) → 0
s(x1) → sInact(x1)
a(sInact(x1)) → s(x1)
cons(x1, x2) → consInact(x1, x2)
a(consInact(x1, x2)) → cons(x1, x2)
isNatIListKind(x1) → isNatIListKindInact(x1)
a(isNatIListKindInact(x1)) → isNatIListKind(x1)
nil → nilInact
a(nilInact) → nil
length(x1) → lengthInact(x1)
a(lengthInact(x1)) → length(x1)
and(x1, x2) → andInact(x1, x2)
a(andInact(x1, x2)) → and(x1, x2)
isNatKind(x1) → isNatKindInact(x1)
a(isNatKindInact(x1)) → isNatKind(x1)
U411(tt, V1, V2) → U421(isNat(a(V1)), a(V2))
U421(tt, V2) → ISNATILIST(a(V2))
ISNATILIST(consInact(V1, V2)) → U411(and(isNatKind(a(V1)), isNatIListKindInact(a(V2))), a(V1), a(V2))
zeros → cons(0, zerosInact)
U21(tt, V1) → U22(isNat(a(V1)))
U22(tt) → tt
U41(tt, V1, V2) → U42(isNat(a(V1)), a(V2))
U42(tt, V2) → U43(isNatIList(a(V2)))
U43(tt) → tt
U51(tt, V1, V2) → U52(isNat(a(V1)), a(V2))
U52(tt, V2) → U53(isNatList(a(V2)))
U53(tt) → tt
U61(tt, L) → s(length(a(L)))
and(tt, X) → a(X)
isNat(0Inact) → tt
isNat(sInact(V1)) → U21(isNatKind(a(V1)), a(V1))
isNatIList(consInact(V1, V2)) → U41(and(isNatKind(a(V1)), isNatIListKindInact(a(V2))), a(V1), a(V2))
isNatIListKind(nilInact) → tt
isNatIListKind(zerosInact) → tt
isNatIListKind(consInact(V1, V2)) → and(isNatKind(a(V1)), isNatIListKindInact(a(V2)))
isNatKind(0Inact) → tt
isNatKind(lengthInact(V1)) → isNatIListKind(a(V1))
isNatKind(sInact(V1)) → isNatKind(a(V1))
isNatList(consInact(V1, V2)) → U51(and(isNatKind(a(V1)), isNatIListKindInact(a(V2))), a(V1), a(V2))
length(cons(N, L)) → U61(and(and(isNatList(a(L)), isNatIListKindInact(a(L))), andInact(isNat(N), isNatKindInact(N))), a(L))
a(x) → x
zeros → zerosInact
a(zerosInact) → zeros
0 → 0Inact
a(0Inact) → 0
s(x1) → sInact(x1)
a(sInact(x1)) → s(x1)
cons(x1, x2) → consInact(x1, x2)
a(consInact(x1, x2)) → cons(x1, x2)
isNatIListKind(x1) → isNatIListKindInact(x1)
a(isNatIListKindInact(x1)) → isNatIListKind(x1)
nil → nilInact
a(nilInact) → nil
length(x1) → lengthInact(x1)
a(lengthInact(x1)) → length(x1)
and(x1, x2) → andInact(x1, x2)
a(andInact(x1, x2)) → and(x1, x2)
isNatKind(x1) → isNatKindInact(x1)
a(isNatKindInact(x1)) → isNatKind(x1)
mark(zeros) → zerosActive
zerosActive → zeros
mark(U21(x1, x2)) → U21Active(mark(x1), x2)
U21Active(x1, x2) → U21(x1, x2)
mark(U22(x1)) → U22Active(mark(x1))
U22Active(x1) → U22(x1)
mark(U41(x1, x2, x3)) → U41Active(mark(x1), x2, x3)
U41Active(x1, x2, x3) → U41(x1, x2, x3)
mark(U42(x1, x2)) → U42Active(mark(x1), x2)
U42Active(x1, x2) → U42(x1, x2)
mark(U43(x1)) → U43Active(mark(x1))
U43Active(x1) → U43(x1)
mark(U51(x1, x2, x3)) → U51Active(mark(x1), x2, x3)
U51Active(x1, x2, x3) → U51(x1, x2, x3)
mark(U52(x1, x2)) → U52Active(mark(x1), x2)
U52Active(x1, x2) → U52(x1, x2)
mark(U53(x1)) → U53Active(mark(x1))
U53Active(x1) → U53(x1)
mark(U61(x1, x2)) → U61Active(mark(x1), x2)
U61Active(x1, x2) → U61(x1, x2)
mark(and(x1, x2)) → andActive(mark(x1), x2)
andActive(x1, x2) → and(x1, x2)
mark(isNat(x1)) → isNatActive(x1)
isNatActive(x1) → isNat(x1)
mark(isNatIList(x1)) → isNatIListActive(x1)
isNatIListActive(x1) → isNatIList(x1)
mark(isNatIListKind(x1)) → isNatIListKindActive(x1)
isNatIListKindActive(x1) → isNatIListKind(x1)
mark(isNatKind(x1)) → isNatKindActive(x1)
isNatKindActive(x1) → isNatKind(x1)
mark(isNatList(x1)) → isNatListActive(x1)
isNatListActive(x1) → isNatList(x1)
mark(length(x1)) → lengthActive(mark(x1))
lengthActive(x1) → length(x1)
mark(cons(x1, x2)) → cons(mark(x1), x2)
mark(0) → 0
mark(tt) → tt
mark(s(x1)) → s(mark(x1))
mark(nil) → nil
zerosActive → cons(0, zeros)
U21Active(tt, V1) → U22Active(isNatActive(V1))
U22Active(tt) → tt
U41Active(tt, V1, V2) → U42Active(isNatActive(V1), V2)
U42Active(tt, V2) → U43Active(isNatIListActive(V2))
U43Active(tt) → tt
U51Active(tt, V1, V2) → U52Active(isNatActive(V1), V2)
U52Active(tt, V2) → U53Active(isNatListActive(V2))
U53Active(tt) → tt
U61Active(tt, L) → s(lengthActive(mark(L)))
andActive(tt, X) → mark(X)
isNatActive(0) → tt
isNatActive(s(V1)) → U21Active(isNatKindActive(V1), V1)
isNatIListActive(cons(V1, V2)) → U41Active(andActive(isNatKindActive(V1), isNatIListKind(V2)), V1, V2)
isNatIListKindActive(nil) → tt
isNatIListKindActive(zeros) → tt
isNatIListKindActive(cons(V1, V2)) → andActive(isNatKindActive(V1), isNatIListKind(V2))
isNatKindActive(0) → tt
isNatKindActive(length(V1)) → isNatIListKindActive(V1)
isNatKindActive(s(V1)) → isNatKindActive(V1)
isNatListActive(cons(V1, V2)) → U51Active(andActive(isNatKindActive(V1), isNatIListKind(V2)), V1, V2)
lengthActive(cons(N, L)) → U61Active(andActive(andActive(isNatListActive(L), isNatIListKind(L)), and(isNat(N), isNatKind(N))), L)
MARK(zeros) → ZEROSACTIVE
MARK(U21(x1, x2)) → U21ACTIVE(mark(x1), x2)
MARK(U21(x1, x2)) → MARK(x1)
MARK(U22(x1)) → U22ACTIVE(mark(x1))
MARK(U22(x1)) → MARK(x1)
MARK(U41(x1, x2, x3)) → U41ACTIVE(mark(x1), x2, x3)
MARK(U41(x1, x2, x3)) → MARK(x1)
MARK(U42(x1, x2)) → U42ACTIVE(mark(x1), x2)
MARK(U42(x1, x2)) → MARK(x1)
MARK(U43(x1)) → U43ACTIVE(mark(x1))
MARK(U43(x1)) → MARK(x1)
MARK(U51(x1, x2, x3)) → U51ACTIVE(mark(x1), x2, x3)
MARK(U51(x1, x2, x3)) → MARK(x1)
MARK(U52(x1, x2)) → U52ACTIVE(mark(x1), x2)
MARK(U52(x1, x2)) → MARK(x1)
MARK(U53(x1)) → U53ACTIVE(mark(x1))
MARK(U53(x1)) → MARK(x1)
MARK(U61(x1, x2)) → U61ACTIVE(mark(x1), x2)
MARK(U61(x1, x2)) → MARK(x1)
MARK(and(x1, x2)) → ANDACTIVE(mark(x1), x2)
MARK(and(x1, x2)) → MARK(x1)
MARK(isNat(x1)) → ISNATACTIVE(x1)
MARK(isNatIList(x1)) → ISNATILISTACTIVE(x1)
MARK(isNatIListKind(x1)) → ISNATILISTKINDACTIVE(x1)
MARK(isNatKind(x1)) → ISNATKINDACTIVE(x1)
MARK(isNatList(x1)) → ISNATLISTACTIVE(x1)
MARK(length(x1)) → LENGTHACTIVE(mark(x1))
MARK(length(x1)) → MARK(x1)
MARK(cons(x1, x2)) → MARK(x1)
MARK(s(x1)) → MARK(x1)
U21ACTIVE(tt, V1) → U22ACTIVE(isNatActive(V1))
U21ACTIVE(tt, V1) → ISNATACTIVE(V1)
U41ACTIVE(tt, V1, V2) → U42ACTIVE(isNatActive(V1), V2)
U41ACTIVE(tt, V1, V2) → ISNATACTIVE(V1)
U42ACTIVE(tt, V2) → U43ACTIVE(isNatIListActive(V2))
U42ACTIVE(tt, V2) → ISNATILISTACTIVE(V2)
U51ACTIVE(tt, V1, V2) → U52ACTIVE(isNatActive(V1), V2)
U51ACTIVE(tt, V1, V2) → ISNATACTIVE(V1)
U52ACTIVE(tt, V2) → U53ACTIVE(isNatListActive(V2))
U52ACTIVE(tt, V2) → ISNATLISTACTIVE(V2)
U61ACTIVE(tt, L) → LENGTHACTIVE(mark(L))
U61ACTIVE(tt, L) → MARK(L)
ANDACTIVE(tt, X) → MARK(X)
ISNATACTIVE(s(V1)) → U21ACTIVE(isNatKindActive(V1), V1)
ISNATACTIVE(s(V1)) → ISNATKINDACTIVE(V1)
ISNATILISTACTIVE(cons(V1, V2)) → U41ACTIVE(andActive(isNatKindActive(V1), isNatIListKind(V2)), V1, V2)
ISNATILISTACTIVE(cons(V1, V2)) → ANDACTIVE(isNatKindActive(V1), isNatIListKind(V2))
ISNATILISTACTIVE(cons(V1, V2)) → ISNATKINDACTIVE(V1)
ISNATILISTKINDACTIVE(cons(V1, V2)) → ANDACTIVE(isNatKindActive(V1), isNatIListKind(V2))
ISNATILISTKINDACTIVE(cons(V1, V2)) → ISNATKINDACTIVE(V1)
ISNATKINDACTIVE(length(V1)) → ISNATILISTKINDACTIVE(V1)
ISNATKINDACTIVE(s(V1)) → ISNATKINDACTIVE(V1)
ISNATLISTACTIVE(cons(V1, V2)) → U51ACTIVE(andActive(isNatKindActive(V1), isNatIListKind(V2)), V1, V2)
ISNATLISTACTIVE(cons(V1, V2)) → ANDACTIVE(isNatKindActive(V1), isNatIListKind(V2))
ISNATLISTACTIVE(cons(V1, V2)) → ISNATKINDACTIVE(V1)
LENGTHACTIVE(cons(N, L)) → U61ACTIVE(andActive(andActive(isNatListActive(L), isNatIListKind(L)), and(isNat(N), isNatKind(N))), L)
LENGTHACTIVE(cons(N, L)) → ANDACTIVE(andActive(isNatListActive(L), isNatIListKind(L)), and(isNat(N), isNatKind(N)))
LENGTHACTIVE(cons(N, L)) → ANDACTIVE(isNatListActive(L), isNatIListKind(L))
LENGTHACTIVE(cons(N, L)) → ISNATLISTACTIVE(L)
mark(zeros) → zerosActive
zerosActive → zeros
mark(U21(x1, x2)) → U21Active(mark(x1), x2)
U21Active(x1, x2) → U21(x1, x2)
mark(U22(x1)) → U22Active(mark(x1))
U22Active(x1) → U22(x1)
mark(U41(x1, x2, x3)) → U41Active(mark(x1), x2, x3)
U41Active(x1, x2, x3) → U41(x1, x2, x3)
mark(U42(x1, x2)) → U42Active(mark(x1), x2)
U42Active(x1, x2) → U42(x1, x2)
mark(U43(x1)) → U43Active(mark(x1))
U43Active(x1) → U43(x1)
mark(U51(x1, x2, x3)) → U51Active(mark(x1), x2, x3)
U51Active(x1, x2, x3) → U51(x1, x2, x3)
mark(U52(x1, x2)) → U52Active(mark(x1), x2)
U52Active(x1, x2) → U52(x1, x2)
mark(U53(x1)) → U53Active(mark(x1))
U53Active(x1) → U53(x1)
mark(U61(x1, x2)) → U61Active(mark(x1), x2)
U61Active(x1, x2) → U61(x1, x2)
mark(and(x1, x2)) → andActive(mark(x1), x2)
andActive(x1, x2) → and(x1, x2)
mark(isNat(x1)) → isNatActive(x1)
isNatActive(x1) → isNat(x1)
mark(isNatIList(x1)) → isNatIListActive(x1)
isNatIListActive(x1) → isNatIList(x1)
mark(isNatIListKind(x1)) → isNatIListKindActive(x1)
isNatIListKindActive(x1) → isNatIListKind(x1)
mark(isNatKind(x1)) → isNatKindActive(x1)
isNatKindActive(x1) → isNatKind(x1)
mark(isNatList(x1)) → isNatListActive(x1)
isNatListActive(x1) → isNatList(x1)
mark(length(x1)) → lengthActive(mark(x1))
lengthActive(x1) → length(x1)
mark(cons(x1, x2)) → cons(mark(x1), x2)
mark(0) → 0
mark(tt) → tt
mark(s(x1)) → s(mark(x1))
mark(nil) → nil
zerosActive → cons(0, zeros)
U21Active(tt, V1) → U22Active(isNatActive(V1))
U22Active(tt) → tt
U41Active(tt, V1, V2) → U42Active(isNatActive(V1), V2)
U42Active(tt, V2) → U43Active(isNatIListActive(V2))
U43Active(tt) → tt
U51Active(tt, V1, V2) → U52Active(isNatActive(V1), V2)
U52Active(tt, V2) → U53Active(isNatListActive(V2))
U53Active(tt) → tt
U61Active(tt, L) → s(lengthActive(mark(L)))
andActive(tt, X) → mark(X)
isNatActive(0) → tt
isNatActive(s(V1)) → U21Active(isNatKindActive(V1), V1)
isNatIListActive(cons(V1, V2)) → U41Active(andActive(isNatKindActive(V1), isNatIListKind(V2)), V1, V2)
isNatIListKindActive(nil) → tt
isNatIListKindActive(zeros) → tt
isNatIListKindActive(cons(V1, V2)) → andActive(isNatKindActive(V1), isNatIListKind(V2))
isNatKindActive(0) → tt
isNatKindActive(length(V1)) → isNatIListKindActive(V1)
isNatKindActive(s(V1)) → isNatKindActive(V1)
isNatListActive(cons(V1, V2)) → U51Active(andActive(isNatKindActive(V1), isNatIListKind(V2)), V1, V2)
lengthActive(cons(N, L)) → U61Active(andActive(andActive(isNatListActive(L), isNatIListKind(L)), and(isNat(N), isNatKind(N))), L)
MARK(U21(x1, x2)) → U21ACTIVE(mark(x1), x2)
U21ACTIVE(tt, V1) → ISNATACTIVE(V1)
ISNATACTIVE(s(V1)) → U21ACTIVE(isNatKindActive(V1), V1)
ISNATACTIVE(s(V1)) → ISNATKINDACTIVE(V1)
ISNATKINDACTIVE(length(V1)) → ISNATILISTKINDACTIVE(V1)
ISNATILISTKINDACTIVE(cons(V1, V2)) → ANDACTIVE(isNatKindActive(V1), isNatIListKind(V2))
ANDACTIVE(tt, X) → MARK(X)
MARK(U21(x1, x2)) → MARK(x1)
MARK(U22(x1)) → MARK(x1)
MARK(U41(x1, x2, x3)) → U41ACTIVE(mark(x1), x2, x3)
U41ACTIVE(tt, V1, V2) → U42ACTIVE(isNatActive(V1), V2)
U42ACTIVE(tt, V2) → ISNATILISTACTIVE(V2)
ISNATILISTACTIVE(cons(V1, V2)) → U41ACTIVE(andActive(isNatKindActive(V1), isNatIListKind(V2)), V1, V2)
U41ACTIVE(tt, V1, V2) → ISNATACTIVE(V1)
ISNATILISTACTIVE(cons(V1, V2)) → ANDACTIVE(isNatKindActive(V1), isNatIListKind(V2))
ISNATILISTACTIVE(cons(V1, V2)) → ISNATKINDACTIVE(V1)
ISNATKINDACTIVE(s(V1)) → ISNATKINDACTIVE(V1)
MARK(U41(x1, x2, x3)) → MARK(x1)
MARK(U42(x1, x2)) → U42ACTIVE(mark(x1), x2)
MARK(U42(x1, x2)) → MARK(x1)
MARK(U43(x1)) → MARK(x1)
MARK(U51(x1, x2, x3)) → U51ACTIVE(mark(x1), x2, x3)
U51ACTIVE(tt, V1, V2) → U52ACTIVE(isNatActive(V1), V2)
U52ACTIVE(tt, V2) → ISNATLISTACTIVE(V2)
ISNATLISTACTIVE(cons(V1, V2)) → U51ACTIVE(andActive(isNatKindActive(V1), isNatIListKind(V2)), V1, V2)
U51ACTIVE(tt, V1, V2) → ISNATACTIVE(V1)
ISNATLISTACTIVE(cons(V1, V2)) → ANDACTIVE(isNatKindActive(V1), isNatIListKind(V2))
ISNATLISTACTIVE(cons(V1, V2)) → ISNATKINDACTIVE(V1)
MARK(U51(x1, x2, x3)) → MARK(x1)
MARK(U52(x1, x2)) → U52ACTIVE(mark(x1), x2)
MARK(U52(x1, x2)) → MARK(x1)
MARK(U53(x1)) → MARK(x1)
MARK(U61(x1, x2)) → U61ACTIVE(mark(x1), x2)
U61ACTIVE(tt, L) → LENGTHACTIVE(mark(L))
LENGTHACTIVE(cons(N, L)) → U61ACTIVE(andActive(andActive(isNatListActive(L), isNatIListKind(L)), and(isNat(N), isNatKind(N))), L)
U61ACTIVE(tt, L) → MARK(L)
MARK(U61(x1, x2)) → MARK(x1)
MARK(and(x1, x2)) → ANDACTIVE(mark(x1), x2)
MARK(and(x1, x2)) → MARK(x1)
MARK(isNat(x1)) → ISNATACTIVE(x1)
MARK(isNatIList(x1)) → ISNATILISTACTIVE(x1)
MARK(isNatIListKind(x1)) → ISNATILISTKINDACTIVE(x1)
ISNATILISTKINDACTIVE(cons(V1, V2)) → ISNATKINDACTIVE(V1)
MARK(isNatKind(x1)) → ISNATKINDACTIVE(x1)
MARK(isNatList(x1)) → ISNATLISTACTIVE(x1)
MARK(length(x1)) → LENGTHACTIVE(mark(x1))
LENGTHACTIVE(cons(N, L)) → ANDACTIVE(andActive(isNatListActive(L), isNatIListKind(L)), and(isNat(N), isNatKind(N)))
LENGTHACTIVE(cons(N, L)) → ANDACTIVE(isNatListActive(L), isNatIListKind(L))
LENGTHACTIVE(cons(N, L)) → ISNATLISTACTIVE(L)
MARK(length(x1)) → MARK(x1)
MARK(cons(x1, x2)) → MARK(x1)
MARK(s(x1)) → MARK(x1)
mark(zeros) → zerosActive
zerosActive → zeros
mark(U21(x1, x2)) → U21Active(mark(x1), x2)
U21Active(x1, x2) → U21(x1, x2)
mark(U22(x1)) → U22Active(mark(x1))
U22Active(x1) → U22(x1)
mark(U41(x1, x2, x3)) → U41Active(mark(x1), x2, x3)
U41Active(x1, x2, x3) → U41(x1, x2, x3)
mark(U42(x1, x2)) → U42Active(mark(x1), x2)
U42Active(x1, x2) → U42(x1, x2)
mark(U43(x1)) → U43Active(mark(x1))
U43Active(x1) → U43(x1)
mark(U51(x1, x2, x3)) → U51Active(mark(x1), x2, x3)
U51Active(x1, x2, x3) → U51(x1, x2, x3)
mark(U52(x1, x2)) → U52Active(mark(x1), x2)
U52Active(x1, x2) → U52(x1, x2)
mark(U53(x1)) → U53Active(mark(x1))
U53Active(x1) → U53(x1)
mark(U61(x1, x2)) → U61Active(mark(x1), x2)
U61Active(x1, x2) → U61(x1, x2)
mark(and(x1, x2)) → andActive(mark(x1), x2)
andActive(x1, x2) → and(x1, x2)
mark(isNat(x1)) → isNatActive(x1)
isNatActive(x1) → isNat(x1)
mark(isNatIList(x1)) → isNatIListActive(x1)
isNatIListActive(x1) → isNatIList(x1)
mark(isNatIListKind(x1)) → isNatIListKindActive(x1)
isNatIListKindActive(x1) → isNatIListKind(x1)
mark(isNatKind(x1)) → isNatKindActive(x1)
isNatKindActive(x1) → isNatKind(x1)
mark(isNatList(x1)) → isNatListActive(x1)
isNatListActive(x1) → isNatList(x1)
mark(length(x1)) → lengthActive(mark(x1))
lengthActive(x1) → length(x1)
mark(cons(x1, x2)) → cons(mark(x1), x2)
mark(0) → 0
mark(tt) → tt
mark(s(x1)) → s(mark(x1))
mark(nil) → nil
zerosActive → cons(0, zeros)
U21Active(tt, V1) → U22Active(isNatActive(V1))
U22Active(tt) → tt
U41Active(tt, V1, V2) → U42Active(isNatActive(V1), V2)
U42Active(tt, V2) → U43Active(isNatIListActive(V2))
U43Active(tt) → tt
U51Active(tt, V1, V2) → U52Active(isNatActive(V1), V2)
U52Active(tt, V2) → U53Active(isNatListActive(V2))
U53Active(tt) → tt
U61Active(tt, L) → s(lengthActive(mark(L)))
andActive(tt, X) → mark(X)
isNatActive(0) → tt
isNatActive(s(V1)) → U21Active(isNatKindActive(V1), V1)
isNatIListActive(cons(V1, V2)) → U41Active(andActive(isNatKindActive(V1), isNatIListKind(V2)), V1, V2)
isNatIListKindActive(nil) → tt
isNatIListKindActive(zeros) → tt
isNatIListKindActive(cons(V1, V2)) → andActive(isNatKindActive(V1), isNatIListKind(V2))
isNatKindActive(0) → tt
isNatKindActive(length(V1)) → isNatIListKindActive(V1)
isNatKindActive(s(V1)) → isNatKindActive(V1)
isNatListActive(cons(V1, V2)) → U51Active(andActive(isNatKindActive(V1), isNatIListKind(V2)), V1, V2)
lengthActive(cons(N, L)) → U61Active(andActive(andActive(isNatListActive(L), isNatIListKind(L)), and(isNat(N), isNatKind(N))), L)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
MARK(U41(x1, x2, x3)) → U41ACTIVE(mark(x1), x2, x3)
MARK(U41(x1, x2, x3)) → MARK(x1)
MARK(U42(x1, x2)) → U42ACTIVE(mark(x1), x2)
MARK(U42(x1, x2)) → MARK(x1)
MARK(isNatIList(x1)) → ISNATILISTACTIVE(x1)
POL(0) = 0
POL(ANDACTIVE(x1, x2)) = x2
POL(ISNATACTIVE(x1)) = 0
POL(ISNATILISTACTIVE(x1)) = 0
POL(ISNATILISTKINDACTIVE(x1)) = 0
POL(ISNATKINDACTIVE(x1)) = 0
POL(ISNATLISTACTIVE(x1)) = 0
POL(LENGTHACTIVE(x1)) = x1
POL(MARK(x1)) = x1
POL(U21(x1, x2)) = x1
POL(U21ACTIVE(x1, x2)) = 0
POL(U21Active(x1, x2)) = x1
POL(U22(x1)) = x1
POL(U22Active(x1)) = x1
POL(U41(x1, x2, x3)) = 1 + x1 + x3
POL(U41ACTIVE(x1, x2, x3)) = 0
POL(U41Active(x1, x2, x3)) = 1 + x1 + x3
POL(U42(x1, x2)) = 1 + x1 + x2
POL(U42ACTIVE(x1, x2)) = 0
POL(U42Active(x1, x2)) = 1 + x1 + x2
POL(U43(x1)) = x1
POL(U43Active(x1)) = x1
POL(U51(x1, x2, x3)) = x1
POL(U51ACTIVE(x1, x2, x3)) = 0
POL(U51Active(x1, x2, x3)) = x1
POL(U52(x1, x2)) = x1
POL(U52ACTIVE(x1, x2)) = 0
POL(U52Active(x1, x2)) = x1
POL(U53(x1)) = x1
POL(U53Active(x1)) = x1
POL(U61(x1, x2)) = x1 + x2
POL(U61ACTIVE(x1, x2)) = x2
POL(U61Active(x1, x2)) = x1 + x2
POL(and(x1, x2)) = x1 + x2
POL(andActive(x1, x2)) = x1 + x2
POL(cons(x1, x2)) = x1 + x2
POL(isNat(x1)) = 0
POL(isNatActive(x1)) = 0
POL(isNatIList(x1)) = 1 + x1
POL(isNatIListActive(x1)) = 1 + x1
POL(isNatIListKind(x1)) = 0
POL(isNatIListKindActive(x1)) = 0
POL(isNatKind(x1)) = 0
POL(isNatKindActive(x1)) = 0
POL(isNatList(x1)) = 0
POL(isNatListActive(x1)) = 0
POL(length(x1)) = x1
POL(lengthActive(x1)) = x1
POL(mark(x1)) = x1
POL(nil) = 0
POL(s(x1)) = x1
POL(tt) = 0
POL(zeros) = 0
POL(zerosActive) = 0
U52Active(x1, x2) → U52(x1, x2)
mark(U52(x1, x2)) → U52Active(mark(x1), x2)
U51Active(x1, x2, x3) → U51(x1, x2, x3)
mark(U51(x1, x2, x3)) → U51Active(mark(x1), x2, x3)
U61Active(x1, x2) → U61(x1, x2)
mark(U61(x1, x2)) → U61Active(mark(x1), x2)
U53Active(x1) → U53(x1)
mark(U53(x1)) → U53Active(mark(x1))
U41Active(x1, x2, x3) → U41(x1, x2, x3)
mark(U41(x1, x2, x3)) → U41Active(mark(x1), x2, x3)
U22Active(x1) → U22(x1)
mark(U22(x1)) → U22Active(mark(x1))
U43Active(x1) → U43(x1)
mark(U43(x1)) → U43Active(mark(x1))
U42Active(x1, x2) → U42(x1, x2)
mark(U42(x1, x2)) → U42Active(mark(x1), x2)
mark(U21(x1, x2)) → U21Active(mark(x1), x2)
U21Active(x1, x2) → U21(x1, x2)
mark(zeros) → zerosActive
zerosActive → zeros
lengthActive(cons(N, L)) → U61Active(andActive(andActive(isNatListActive(L), isNatIListKind(L)), and(isNat(N), isNatKind(N))), L)
isNatListActive(cons(V1, V2)) → U51Active(andActive(isNatKindActive(V1), isNatIListKind(V2)), V1, V2)
isNatKindActive(0) → tt
isNatIListKindActive(zeros) → tt
isNatIListActive(cons(V1, V2)) → U41Active(andActive(isNatKindActive(V1), isNatIListKind(V2)), V1, V2)
isNatIListKindActive(nil) → tt
U61Active(tt, L) → s(lengthActive(mark(L)))
isNatActive(s(V1)) → U21Active(isNatKindActive(V1), V1)
isNatActive(0) → tt
U51Active(tt, V1, V2) → U52Active(isNatActive(V1), V2)
U43Active(tt) → tt
U53Active(tt) → tt
U52Active(tt, V2) → U53Active(isNatListActive(V2))
U22Active(tt) → tt
U21Active(tt, V1) → U22Active(isNatActive(V1))
U42Active(tt, V2) → U43Active(isNatIListActive(V2))
U41Active(tt, V1, V2) → U42Active(isNatActive(V1), V2)
mark(s(x1)) → s(mark(x1))
mark(tt) → tt
zerosActive → cons(0, zeros)
mark(nil) → nil
mark(length(x1)) → lengthActive(mark(x1))
lengthActive(x1) → length(x1)
mark(cons(x1, x2)) → cons(mark(x1), x2)
mark(0) → 0
isNatKindActive(x1) → isNatKind(x1)
mark(isNatList(x1)) → isNatListActive(x1)
isNatListActive(x1) → isNatList(x1)
mark(isNatIList(x1)) → isNatIListActive(x1)
isNatIListActive(x1) → isNatIList(x1)
isNatIListKindActive(x1) → isNatIListKind(x1)
isNatKindActive(length(V1)) → isNatIListKindActive(V1)
isNatIListKindActive(cons(V1, V2)) → andActive(isNatKindActive(V1), isNatIListKind(V2))
mark(isNatKind(x1)) → isNatKindActive(x1)
mark(and(x1, x2)) → andActive(mark(x1), x2)
andActive(tt, X) → mark(X)
mark(isNatIListKind(x1)) → isNatIListKindActive(x1)
isNatKindActive(s(V1)) → isNatKindActive(V1)
andActive(x1, x2) → and(x1, x2)
mark(isNat(x1)) → isNatActive(x1)
isNatActive(x1) → isNat(x1)
MARK(U21(x1, x2)) → U21ACTIVE(mark(x1), x2)
U21ACTIVE(tt, V1) → ISNATACTIVE(V1)
ISNATACTIVE(s(V1)) → U21ACTIVE(isNatKindActive(V1), V1)
ISNATACTIVE(s(V1)) → ISNATKINDACTIVE(V1)
ISNATKINDACTIVE(length(V1)) → ISNATILISTKINDACTIVE(V1)
ISNATILISTKINDACTIVE(cons(V1, V2)) → ANDACTIVE(isNatKindActive(V1), isNatIListKind(V2))
ANDACTIVE(tt, X) → MARK(X)
MARK(U21(x1, x2)) → MARK(x1)
MARK(U22(x1)) → MARK(x1)
U41ACTIVE(tt, V1, V2) → U42ACTIVE(isNatActive(V1), V2)
U42ACTIVE(tt, V2) → ISNATILISTACTIVE(V2)
ISNATILISTACTIVE(cons(V1, V2)) → U41ACTIVE(andActive(isNatKindActive(V1), isNatIListKind(V2)), V1, V2)
U41ACTIVE(tt, V1, V2) → ISNATACTIVE(V1)
ISNATILISTACTIVE(cons(V1, V2)) → ANDACTIVE(isNatKindActive(V1), isNatIListKind(V2))
ISNATILISTACTIVE(cons(V1, V2)) → ISNATKINDACTIVE(V1)
ISNATKINDACTIVE(s(V1)) → ISNATKINDACTIVE(V1)
MARK(U43(x1)) → MARK(x1)
MARK(U51(x1, x2, x3)) → U51ACTIVE(mark(x1), x2, x3)
U51ACTIVE(tt, V1, V2) → U52ACTIVE(isNatActive(V1), V2)
U52ACTIVE(tt, V2) → ISNATLISTACTIVE(V2)
ISNATLISTACTIVE(cons(V1, V2)) → U51ACTIVE(andActive(isNatKindActive(V1), isNatIListKind(V2)), V1, V2)
U51ACTIVE(tt, V1, V2) → ISNATACTIVE(V1)
ISNATLISTACTIVE(cons(V1, V2)) → ANDACTIVE(isNatKindActive(V1), isNatIListKind(V2))
ISNATLISTACTIVE(cons(V1, V2)) → ISNATKINDACTIVE(V1)
MARK(U51(x1, x2, x3)) → MARK(x1)
MARK(U52(x1, x2)) → U52ACTIVE(mark(x1), x2)
MARK(U52(x1, x2)) → MARK(x1)
MARK(U53(x1)) → MARK(x1)
MARK(U61(x1, x2)) → U61ACTIVE(mark(x1), x2)
U61ACTIVE(tt, L) → LENGTHACTIVE(mark(L))
LENGTHACTIVE(cons(N, L)) → U61ACTIVE(andActive(andActive(isNatListActive(L), isNatIListKind(L)), and(isNat(N), isNatKind(N))), L)
U61ACTIVE(tt, L) → MARK(L)
MARK(U61(x1, x2)) → MARK(x1)
MARK(and(x1, x2)) → ANDACTIVE(mark(x1), x2)
MARK(and(x1, x2)) → MARK(x1)
MARK(isNat(x1)) → ISNATACTIVE(x1)
MARK(isNatIListKind(x1)) → ISNATILISTKINDACTIVE(x1)
ISNATILISTKINDACTIVE(cons(V1, V2)) → ISNATKINDACTIVE(V1)
MARK(isNatKind(x1)) → ISNATKINDACTIVE(x1)
MARK(isNatList(x1)) → ISNATLISTACTIVE(x1)
MARK(length(x1)) → LENGTHACTIVE(mark(x1))
LENGTHACTIVE(cons(N, L)) → ANDACTIVE(andActive(isNatListActive(L), isNatIListKind(L)), and(isNat(N), isNatKind(N)))
LENGTHACTIVE(cons(N, L)) → ANDACTIVE(isNatListActive(L), isNatIListKind(L))
LENGTHACTIVE(cons(N, L)) → ISNATLISTACTIVE(L)
MARK(length(x1)) → MARK(x1)
MARK(cons(x1, x2)) → MARK(x1)
MARK(s(x1)) → MARK(x1)
mark(zeros) → zerosActive
zerosActive → zeros
mark(U21(x1, x2)) → U21Active(mark(x1), x2)
U21Active(x1, x2) → U21(x1, x2)
mark(U22(x1)) → U22Active(mark(x1))
U22Active(x1) → U22(x1)
mark(U41(x1, x2, x3)) → U41Active(mark(x1), x2, x3)
U41Active(x1, x2, x3) → U41(x1, x2, x3)
mark(U42(x1, x2)) → U42Active(mark(x1), x2)
U42Active(x1, x2) → U42(x1, x2)
mark(U43(x1)) → U43Active(mark(x1))
U43Active(x1) → U43(x1)
mark(U51(x1, x2, x3)) → U51Active(mark(x1), x2, x3)
U51Active(x1, x2, x3) → U51(x1, x2, x3)
mark(U52(x1, x2)) → U52Active(mark(x1), x2)
U52Active(x1, x2) → U52(x1, x2)
mark(U53(x1)) → U53Active(mark(x1))
U53Active(x1) → U53(x1)
mark(U61(x1, x2)) → U61Active(mark(x1), x2)
U61Active(x1, x2) → U61(x1, x2)
mark(and(x1, x2)) → andActive(mark(x1), x2)
andActive(x1, x2) → and(x1, x2)
mark(isNat(x1)) → isNatActive(x1)
isNatActive(x1) → isNat(x1)
mark(isNatIList(x1)) → isNatIListActive(x1)
isNatIListActive(x1) → isNatIList(x1)
mark(isNatIListKind(x1)) → isNatIListKindActive(x1)
isNatIListKindActive(x1) → isNatIListKind(x1)
mark(isNatKind(x1)) → isNatKindActive(x1)
isNatKindActive(x1) → isNatKind(x1)
mark(isNatList(x1)) → isNatListActive(x1)
isNatListActive(x1) → isNatList(x1)
mark(length(x1)) → lengthActive(mark(x1))
lengthActive(x1) → length(x1)
mark(cons(x1, x2)) → cons(mark(x1), x2)
mark(0) → 0
mark(tt) → tt
mark(s(x1)) → s(mark(x1))
mark(nil) → nil
zerosActive → cons(0, zeros)
U21Active(tt, V1) → U22Active(isNatActive(V1))
U22Active(tt) → tt
U41Active(tt, V1, V2) → U42Active(isNatActive(V1), V2)
U42Active(tt, V2) → U43Active(isNatIListActive(V2))
U43Active(tt) → tt
U51Active(tt, V1, V2) → U52Active(isNatActive(V1), V2)
U52Active(tt, V2) → U53Active(isNatListActive(V2))
U53Active(tt) → tt
U61Active(tt, L) → s(lengthActive(mark(L)))
andActive(tt, X) → mark(X)
isNatActive(0) → tt
isNatActive(s(V1)) → U21Active(isNatKindActive(V1), V1)
isNatIListActive(cons(V1, V2)) → U41Active(andActive(isNatKindActive(V1), isNatIListKind(V2)), V1, V2)
isNatIListKindActive(nil) → tt
isNatIListKindActive(zeros) → tt
isNatIListKindActive(cons(V1, V2)) → andActive(isNatKindActive(V1), isNatIListKind(V2))
isNatKindActive(0) → tt
isNatKindActive(length(V1)) → isNatIListKindActive(V1)
isNatKindActive(s(V1)) → isNatKindActive(V1)
isNatListActive(cons(V1, V2)) → U51Active(andActive(isNatKindActive(V1), isNatIListKind(V2)), V1, V2)
lengthActive(cons(N, L)) → U61Active(andActive(andActive(isNatListActive(L), isNatIListKind(L)), and(isNat(N), isNatKind(N))), L)
U21ACTIVE(tt, V1) → ISNATACTIVE(V1)
ISNATACTIVE(s(V1)) → U21ACTIVE(isNatKindActive(V1), V1)
ISNATACTIVE(s(V1)) → ISNATKINDACTIVE(V1)
ISNATKINDACTIVE(length(V1)) → ISNATILISTKINDACTIVE(V1)
ISNATILISTKINDACTIVE(cons(V1, V2)) → ANDACTIVE(isNatKindActive(V1), isNatIListKind(V2))
ANDACTIVE(tt, X) → MARK(X)
MARK(U21(x1, x2)) → U21ACTIVE(mark(x1), x2)
MARK(U21(x1, x2)) → MARK(x1)
MARK(U22(x1)) → MARK(x1)
MARK(U43(x1)) → MARK(x1)
MARK(U51(x1, x2, x3)) → U51ACTIVE(mark(x1), x2, x3)
U51ACTIVE(tt, V1, V2) → U52ACTIVE(isNatActive(V1), V2)
U52ACTIVE(tt, V2) → ISNATLISTACTIVE(V2)
ISNATLISTACTIVE(cons(V1, V2)) → U51ACTIVE(andActive(isNatKindActive(V1), isNatIListKind(V2)), V1, V2)
U51ACTIVE(tt, V1, V2) → ISNATACTIVE(V1)
ISNATLISTACTIVE(cons(V1, V2)) → ANDACTIVE(isNatKindActive(V1), isNatIListKind(V2))
ISNATLISTACTIVE(cons(V1, V2)) → ISNATKINDACTIVE(V1)
ISNATKINDACTIVE(s(V1)) → ISNATKINDACTIVE(V1)
MARK(U51(x1, x2, x3)) → MARK(x1)
MARK(U52(x1, x2)) → U52ACTIVE(mark(x1), x2)
MARK(U52(x1, x2)) → MARK(x1)
MARK(U53(x1)) → MARK(x1)
MARK(U61(x1, x2)) → U61ACTIVE(mark(x1), x2)
U61ACTIVE(tt, L) → LENGTHACTIVE(mark(L))
LENGTHACTIVE(cons(N, L)) → U61ACTIVE(andActive(andActive(isNatListActive(L), isNatIListKind(L)), and(isNat(N), isNatKind(N))), L)
U61ACTIVE(tt, L) → MARK(L)
MARK(U61(x1, x2)) → MARK(x1)
MARK(and(x1, x2)) → ANDACTIVE(mark(x1), x2)
MARK(and(x1, x2)) → MARK(x1)
MARK(isNat(x1)) → ISNATACTIVE(x1)
MARK(isNatIListKind(x1)) → ISNATILISTKINDACTIVE(x1)
ISNATILISTKINDACTIVE(cons(V1, V2)) → ISNATKINDACTIVE(V1)
MARK(isNatKind(x1)) → ISNATKINDACTIVE(x1)
MARK(isNatList(x1)) → ISNATLISTACTIVE(x1)
MARK(length(x1)) → LENGTHACTIVE(mark(x1))
LENGTHACTIVE(cons(N, L)) → ANDACTIVE(andActive(isNatListActive(L), isNatIListKind(L)), and(isNat(N), isNatKind(N)))
LENGTHACTIVE(cons(N, L)) → ANDACTIVE(isNatListActive(L), isNatIListKind(L))
LENGTHACTIVE(cons(N, L)) → ISNATLISTACTIVE(L)
MARK(length(x1)) → MARK(x1)
MARK(cons(x1, x2)) → MARK(x1)
MARK(s(x1)) → MARK(x1)
mark(zeros) → zerosActive
zerosActive → zeros
mark(U21(x1, x2)) → U21Active(mark(x1), x2)
U21Active(x1, x2) → U21(x1, x2)
mark(U22(x1)) → U22Active(mark(x1))
U22Active(x1) → U22(x1)
mark(U41(x1, x2, x3)) → U41Active(mark(x1), x2, x3)
U41Active(x1, x2, x3) → U41(x1, x2, x3)
mark(U42(x1, x2)) → U42Active(mark(x1), x2)
U42Active(x1, x2) → U42(x1, x2)
mark(U43(x1)) → U43Active(mark(x1))
U43Active(x1) → U43(x1)
mark(U51(x1, x2, x3)) → U51Active(mark(x1), x2, x3)
U51Active(x1, x2, x3) → U51(x1, x2, x3)
mark(U52(x1, x2)) → U52Active(mark(x1), x2)
U52Active(x1, x2) → U52(x1, x2)
mark(U53(x1)) → U53Active(mark(x1))
U53Active(x1) → U53(x1)
mark(U61(x1, x2)) → U61Active(mark(x1), x2)
U61Active(x1, x2) → U61(x1, x2)
mark(and(x1, x2)) → andActive(mark(x1), x2)
andActive(x1, x2) → and(x1, x2)
mark(isNat(x1)) → isNatActive(x1)
isNatActive(x1) → isNat(x1)
mark(isNatIList(x1)) → isNatIListActive(x1)
isNatIListActive(x1) → isNatIList(x1)
mark(isNatIListKind(x1)) → isNatIListKindActive(x1)
isNatIListKindActive(x1) → isNatIListKind(x1)
mark(isNatKind(x1)) → isNatKindActive(x1)
isNatKindActive(x1) → isNatKind(x1)
mark(isNatList(x1)) → isNatListActive(x1)
isNatListActive(x1) → isNatList(x1)
mark(length(x1)) → lengthActive(mark(x1))
lengthActive(x1) → length(x1)
mark(cons(x1, x2)) → cons(mark(x1), x2)
mark(0) → 0
mark(tt) → tt
mark(s(x1)) → s(mark(x1))
mark(nil) → nil
zerosActive → cons(0, zeros)
U21Active(tt, V1) → U22Active(isNatActive(V1))
U22Active(tt) → tt
U41Active(tt, V1, V2) → U42Active(isNatActive(V1), V2)
U42Active(tt, V2) → U43Active(isNatIListActive(V2))
U43Active(tt) → tt
U51Active(tt, V1, V2) → U52Active(isNatActive(V1), V2)
U52Active(tt, V2) → U53Active(isNatListActive(V2))
U53Active(tt) → tt
U61Active(tt, L) → s(lengthActive(mark(L)))
andActive(tt, X) → mark(X)
isNatActive(0) → tt
isNatActive(s(V1)) → U21Active(isNatKindActive(V1), V1)
isNatIListActive(cons(V1, V2)) → U41Active(andActive(isNatKindActive(V1), isNatIListKind(V2)), V1, V2)
isNatIListKindActive(nil) → tt
isNatIListKindActive(zeros) → tt
isNatIListKindActive(cons(V1, V2)) → andActive(isNatKindActive(V1), isNatIListKind(V2))
isNatKindActive(0) → tt
isNatKindActive(length(V1)) → isNatIListKindActive(V1)
isNatKindActive(s(V1)) → isNatKindActive(V1)
isNatListActive(cons(V1, V2)) → U51Active(andActive(isNatKindActive(V1), isNatIListKind(V2)), V1, V2)
lengthActive(cons(N, L)) → U61Active(andActive(andActive(isNatListActive(L), isNatIListKind(L)), and(isNat(N), isNatKind(N))), L)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
LENGTHACTIVE(cons(N, L)) → ANDACTIVE(andActive(isNatListActive(L), isNatIListKind(L)), and(isNat(N), isNatKind(N)))
LENGTHACTIVE(cons(N, L)) → ANDACTIVE(isNatListActive(L), isNatIListKind(L))
POL(0) = 0
POL(ANDACTIVE(x1, x2)) = x1
POL(ISNATACTIVE(x1)) = 1
POL(ISNATILISTKINDACTIVE(x1)) = 1
POL(ISNATKINDACTIVE(x1)) = 1
POL(ISNATLISTACTIVE(x1)) = 1
POL(LENGTHACTIVE(x1)) = 1
POL(MARK(x1)) = 1
POL(U21(x1, x2)) = 0
POL(U21ACTIVE(x1, x2)) = 1
POL(U21Active(x1, x2)) = x1
POL(U22(x1)) = 0
POL(U22Active(x1)) = 1
POL(U41(x1, x2, x3)) = 0
POL(U41Active(x1, x2, x3)) = 0
POL(U42(x1, x2)) = 0
POL(U42Active(x1, x2)) = 0
POL(U43(x1)) = x1
POL(U43Active(x1)) = x1
POL(U51(x1, x2, x3)) = 0
POL(U51ACTIVE(x1, x2, x3)) = 1
POL(U51Active(x1, x2, x3)) = 0
POL(U52(x1, x2)) = 0
POL(U52ACTIVE(x1, x2)) = 1
POL(U52Active(x1, x2)) = 0
POL(U53(x1)) = 0
POL(U53Active(x1)) = x1
POL(U61(x1, x2)) = 0
POL(U61ACTIVE(x1, x2)) = 1
POL(U61Active(x1, x2)) = 0
POL(and(x1, x2)) = 0
POL(andActive(x1, x2)) = x1
POL(cons(x1, x2)) = 0
POL(isNat(x1)) = 0
POL(isNatActive(x1)) = 1
POL(isNatIList(x1)) = 0
POL(isNatIListActive(x1)) = 0
POL(isNatIListKind(x1)) = 0
POL(isNatIListKindActive(x1)) = 1
POL(isNatKind(x1)) = 0
POL(isNatKindActive(x1)) = 1
POL(isNatList(x1)) = 0
POL(isNatListActive(x1)) = 0
POL(length(x1)) = 0
POL(lengthActive(x1)) = 0
POL(mark(x1)) = 1
POL(nil) = 0
POL(s(x1)) = 0
POL(tt) = 1
POL(zeros) = 0
POL(zerosActive) = 1
U52Active(x1, x2) → U52(x1, x2)
mark(U52(x1, x2)) → U52Active(mark(x1), x2)
U51Active(x1, x2, x3) → U51(x1, x2, x3)
mark(U51(x1, x2, x3)) → U51Active(mark(x1), x2, x3)
U61Active(x1, x2) → U61(x1, x2)
mark(U61(x1, x2)) → U61Active(mark(x1), x2)
U53Active(x1) → U53(x1)
mark(U53(x1)) → U53Active(mark(x1))
U41Active(x1, x2, x3) → U41(x1, x2, x3)
mark(U41(x1, x2, x3)) → U41Active(mark(x1), x2, x3)
U22Active(x1) → U22(x1)
mark(U22(x1)) → U22Active(mark(x1))
U43Active(x1) → U43(x1)
mark(U43(x1)) → U43Active(mark(x1))
U42Active(x1, x2) → U42(x1, x2)
mark(U42(x1, x2)) → U42Active(mark(x1), x2)
mark(U21(x1, x2)) → U21Active(mark(x1), x2)
U21Active(x1, x2) → U21(x1, x2)
mark(zeros) → zerosActive
zerosActive → zeros
lengthActive(cons(N, L)) → U61Active(andActive(andActive(isNatListActive(L), isNatIListKind(L)), and(isNat(N), isNatKind(N))), L)
isNatListActive(cons(V1, V2)) → U51Active(andActive(isNatKindActive(V1), isNatIListKind(V2)), V1, V2)
isNatKindActive(0) → tt
isNatIListKindActive(zeros) → tt
isNatIListActive(cons(V1, V2)) → U41Active(andActive(isNatKindActive(V1), isNatIListKind(V2)), V1, V2)
isNatIListKindActive(nil) → tt
U61Active(tt, L) → s(lengthActive(mark(L)))
isNatActive(s(V1)) → U21Active(isNatKindActive(V1), V1)
isNatActive(0) → tt
U51Active(tt, V1, V2) → U52Active(isNatActive(V1), V2)
U43Active(tt) → tt
U53Active(tt) → tt
U52Active(tt, V2) → U53Active(isNatListActive(V2))
U22Active(tt) → tt
U21Active(tt, V1) → U22Active(isNatActive(V1))
U42Active(tt, V2) → U43Active(isNatIListActive(V2))
U41Active(tt, V1, V2) → U42Active(isNatActive(V1), V2)
mark(s(x1)) → s(mark(x1))
mark(tt) → tt
zerosActive → cons(0, zeros)
mark(nil) → nil
mark(length(x1)) → lengthActive(mark(x1))
lengthActive(x1) → length(x1)
mark(cons(x1, x2)) → cons(mark(x1), x2)
mark(0) → 0
isNatKindActive(x1) → isNatKind(x1)
mark(isNatList(x1)) → isNatListActive(x1)
isNatListActive(x1) → isNatList(x1)
mark(isNatIList(x1)) → isNatIListActive(x1)
isNatIListActive(x1) → isNatIList(x1)
isNatIListKindActive(x1) → isNatIListKind(x1)
isNatKindActive(length(V1)) → isNatIListKindActive(V1)
isNatIListKindActive(cons(V1, V2)) → andActive(isNatKindActive(V1), isNatIListKind(V2))
mark(isNatKind(x1)) → isNatKindActive(x1)
mark(and(x1, x2)) → andActive(mark(x1), x2)
andActive(tt, X) → mark(X)
mark(isNatIListKind(x1)) → isNatIListKindActive(x1)
isNatKindActive(s(V1)) → isNatKindActive(V1)
andActive(x1, x2) → and(x1, x2)
mark(isNat(x1)) → isNatActive(x1)
isNatActive(x1) → isNat(x1)
U21ACTIVE(tt, V1) → ISNATACTIVE(V1)
ISNATACTIVE(s(V1)) → U21ACTIVE(isNatKindActive(V1), V1)
ISNATACTIVE(s(V1)) → ISNATKINDACTIVE(V1)
ISNATKINDACTIVE(length(V1)) → ISNATILISTKINDACTIVE(V1)
ISNATILISTKINDACTIVE(cons(V1, V2)) → ANDACTIVE(isNatKindActive(V1), isNatIListKind(V2))
ANDACTIVE(tt, X) → MARK(X)
MARK(U21(x1, x2)) → U21ACTIVE(mark(x1), x2)
MARK(U21(x1, x2)) → MARK(x1)
MARK(U22(x1)) → MARK(x1)
MARK(U43(x1)) → MARK(x1)
MARK(U51(x1, x2, x3)) → U51ACTIVE(mark(x1), x2, x3)
U51ACTIVE(tt, V1, V2) → U52ACTIVE(isNatActive(V1), V2)
U52ACTIVE(tt, V2) → ISNATLISTACTIVE(V2)
ISNATLISTACTIVE(cons(V1, V2)) → U51ACTIVE(andActive(isNatKindActive(V1), isNatIListKind(V2)), V1, V2)
U51ACTIVE(tt, V1, V2) → ISNATACTIVE(V1)
ISNATLISTACTIVE(cons(V1, V2)) → ANDACTIVE(isNatKindActive(V1), isNatIListKind(V2))
ISNATLISTACTIVE(cons(V1, V2)) → ISNATKINDACTIVE(V1)
ISNATKINDACTIVE(s(V1)) → ISNATKINDACTIVE(V1)
MARK(U51(x1, x2, x3)) → MARK(x1)
MARK(U52(x1, x2)) → U52ACTIVE(mark(x1), x2)
MARK(U52(x1, x2)) → MARK(x1)
MARK(U53(x1)) → MARK(x1)
MARK(U61(x1, x2)) → U61ACTIVE(mark(x1), x2)
U61ACTIVE(tt, L) → LENGTHACTIVE(mark(L))
LENGTHACTIVE(cons(N, L)) → U61ACTIVE(andActive(andActive(isNatListActive(L), isNatIListKind(L)), and(isNat(N), isNatKind(N))), L)
U61ACTIVE(tt, L) → MARK(L)
MARK(U61(x1, x2)) → MARK(x1)
MARK(and(x1, x2)) → ANDACTIVE(mark(x1), x2)
MARK(and(x1, x2)) → MARK(x1)
MARK(isNat(x1)) → ISNATACTIVE(x1)
MARK(isNatIListKind(x1)) → ISNATILISTKINDACTIVE(x1)
ISNATILISTKINDACTIVE(cons(V1, V2)) → ISNATKINDACTIVE(V1)
MARK(isNatKind(x1)) → ISNATKINDACTIVE(x1)
MARK(isNatList(x1)) → ISNATLISTACTIVE(x1)
MARK(length(x1)) → LENGTHACTIVE(mark(x1))
LENGTHACTIVE(cons(N, L)) → ISNATLISTACTIVE(L)
MARK(length(x1)) → MARK(x1)
MARK(cons(x1, x2)) → MARK(x1)
MARK(s(x1)) → MARK(x1)
mark(zeros) → zerosActive
zerosActive → zeros
mark(U21(x1, x2)) → U21Active(mark(x1), x2)
U21Active(x1, x2) → U21(x1, x2)
mark(U22(x1)) → U22Active(mark(x1))
U22Active(x1) → U22(x1)
mark(U41(x1, x2, x3)) → U41Active(mark(x1), x2, x3)
U41Active(x1, x2, x3) → U41(x1, x2, x3)
mark(U42(x1, x2)) → U42Active(mark(x1), x2)
U42Active(x1, x2) → U42(x1, x2)
mark(U43(x1)) → U43Active(mark(x1))
U43Active(x1) → U43(x1)
mark(U51(x1, x2, x3)) → U51Active(mark(x1), x2, x3)
U51Active(x1, x2, x3) → U51(x1, x2, x3)
mark(U52(x1, x2)) → U52Active(mark(x1), x2)
U52Active(x1, x2) → U52(x1, x2)
mark(U53(x1)) → U53Active(mark(x1))
U53Active(x1) → U53(x1)
mark(U61(x1, x2)) → U61Active(mark(x1), x2)
U61Active(x1, x2) → U61(x1, x2)
mark(and(x1, x2)) → andActive(mark(x1), x2)
andActive(x1, x2) → and(x1, x2)
mark(isNat(x1)) → isNatActive(x1)
isNatActive(x1) → isNat(x1)
mark(isNatIList(x1)) → isNatIListActive(x1)
isNatIListActive(x1) → isNatIList(x1)
mark(isNatIListKind(x1)) → isNatIListKindActive(x1)
isNatIListKindActive(x1) → isNatIListKind(x1)
mark(isNatKind(x1)) → isNatKindActive(x1)
isNatKindActive(x1) → isNatKind(x1)
mark(isNatList(x1)) → isNatListActive(x1)
isNatListActive(x1) → isNatList(x1)
mark(length(x1)) → lengthActive(mark(x1))
lengthActive(x1) → length(x1)
mark(cons(x1, x2)) → cons(mark(x1), x2)
mark(0) → 0
mark(tt) → tt
mark(s(x1)) → s(mark(x1))
mark(nil) → nil
zerosActive → cons(0, zeros)
U21Active(tt, V1) → U22Active(isNatActive(V1))
U22Active(tt) → tt
U41Active(tt, V1, V2) → U42Active(isNatActive(V1), V2)
U42Active(tt, V2) → U43Active(isNatIListActive(V2))
U43Active(tt) → tt
U51Active(tt, V1, V2) → U52Active(isNatActive(V1), V2)
U52Active(tt, V2) → U53Active(isNatListActive(V2))
U53Active(tt) → tt
U61Active(tt, L) → s(lengthActive(mark(L)))
andActive(tt, X) → mark(X)
isNatActive(0) → tt
isNatActive(s(V1)) → U21Active(isNatKindActive(V1), V1)
isNatIListActive(cons(V1, V2)) → U41Active(andActive(isNatKindActive(V1), isNatIListKind(V2)), V1, V2)
isNatIListKindActive(nil) → tt
isNatIListKindActive(zeros) → tt
isNatIListKindActive(cons(V1, V2)) → andActive(isNatKindActive(V1), isNatIListKind(V2))
isNatKindActive(0) → tt
isNatKindActive(length(V1)) → isNatIListKindActive(V1)
isNatKindActive(s(V1)) → isNatKindActive(V1)
isNatListActive(cons(V1, V2)) → U51Active(andActive(isNatKindActive(V1), isNatIListKind(V2)), V1, V2)
lengthActive(cons(N, L)) → U61Active(andActive(andActive(isNatListActive(L), isNatIListKind(L)), and(isNat(N), isNatKind(N))), L)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
MARK(U61(x1, x2)) → U61ACTIVE(mark(x1), x2)
MARK(U61(x1, x2)) → MARK(x1)
MARK(length(x1)) → LENGTHACTIVE(mark(x1))
MARK(length(x1)) → MARK(x1)
POL(0) = 0
POL(ANDACTIVE(x1, x2)) = x2
POL(ISNATACTIVE(x1)) = 0
POL(ISNATILISTKINDACTIVE(x1)) = 0
POL(ISNATKINDACTIVE(x1)) = 0
POL(ISNATLISTACTIVE(x1)) = 0
POL(LENGTHACTIVE(x1)) = x1
POL(MARK(x1)) = x1
POL(U21(x1, x2)) = x1
POL(U21ACTIVE(x1, x2)) = 0
POL(U21Active(x1, x2)) = x1
POL(U22(x1)) = x1
POL(U22Active(x1)) = x1
POL(U41(x1, x2, x3)) = x3
POL(U41Active(x1, x2, x3)) = x3
POL(U42(x1, x2)) = x1 + x2
POL(U42Active(x1, x2)) = x1 + x2
POL(U43(x1)) = x1
POL(U43Active(x1)) = x1
POL(U51(x1, x2, x3)) = x1
POL(U51ACTIVE(x1, x2, x3)) = 0
POL(U51Active(x1, x2, x3)) = x1
POL(U52(x1, x2)) = x1
POL(U52ACTIVE(x1, x2)) = 0
POL(U52Active(x1, x2)) = x1
POL(U53(x1)) = x1
POL(U53Active(x1)) = x1
POL(U61(x1, x2)) = 1 + x1 + x2
POL(U61ACTIVE(x1, x2)) = x2
POL(U61Active(x1, x2)) = 1 + x1 + x2
POL(and(x1, x2)) = x1 + x2
POL(andActive(x1, x2)) = x1 + x2
POL(cons(x1, x2)) = x1 + x2
POL(isNat(x1)) = 0
POL(isNatActive(x1)) = 0
POL(isNatIList(x1)) = x1
POL(isNatIListActive(x1)) = x1
POL(isNatIListKind(x1)) = 0
POL(isNatIListKindActive(x1)) = 0
POL(isNatKind(x1)) = 0
POL(isNatKindActive(x1)) = 0
POL(isNatList(x1)) = 0
POL(isNatListActive(x1)) = 0
POL(length(x1)) = 1 + x1
POL(lengthActive(x1)) = 1 + x1
POL(mark(x1)) = x1
POL(nil) = 0
POL(s(x1)) = x1
POL(tt) = 0
POL(zeros) = 1
POL(zerosActive) = 1
U52Active(x1, x2) → U52(x1, x2)
mark(U52(x1, x2)) → U52Active(mark(x1), x2)
U51Active(x1, x2, x3) → U51(x1, x2, x3)
mark(U51(x1, x2, x3)) → U51Active(mark(x1), x2, x3)
U61Active(x1, x2) → U61(x1, x2)
mark(U61(x1, x2)) → U61Active(mark(x1), x2)
U53Active(x1) → U53(x1)
mark(U53(x1)) → U53Active(mark(x1))
U41Active(x1, x2, x3) → U41(x1, x2, x3)
mark(U41(x1, x2, x3)) → U41Active(mark(x1), x2, x3)
U22Active(x1) → U22(x1)
mark(U22(x1)) → U22Active(mark(x1))
U43Active(x1) → U43(x1)
mark(U43(x1)) → U43Active(mark(x1))
U42Active(x1, x2) → U42(x1, x2)
mark(U42(x1, x2)) → U42Active(mark(x1), x2)
mark(U21(x1, x2)) → U21Active(mark(x1), x2)
U21Active(x1, x2) → U21(x1, x2)
mark(zeros) → zerosActive
zerosActive → zeros
lengthActive(cons(N, L)) → U61Active(andActive(andActive(isNatListActive(L), isNatIListKind(L)), and(isNat(N), isNatKind(N))), L)
isNatListActive(cons(V1, V2)) → U51Active(andActive(isNatKindActive(V1), isNatIListKind(V2)), V1, V2)
isNatKindActive(0) → tt
isNatIListKindActive(zeros) → tt
isNatIListActive(cons(V1, V2)) → U41Active(andActive(isNatKindActive(V1), isNatIListKind(V2)), V1, V2)
isNatIListKindActive(nil) → tt
U61Active(tt, L) → s(lengthActive(mark(L)))
isNatActive(s(V1)) → U21Active(isNatKindActive(V1), V1)
isNatActive(0) → tt
U51Active(tt, V1, V2) → U52Active(isNatActive(V1), V2)
U43Active(tt) → tt
U53Active(tt) → tt
U52Active(tt, V2) → U53Active(isNatListActive(V2))
U22Active(tt) → tt
U21Active(tt, V1) → U22Active(isNatActive(V1))
U42Active(tt, V2) → U43Active(isNatIListActive(V2))
U41Active(tt, V1, V2) → U42Active(isNatActive(V1), V2)
mark(s(x1)) → s(mark(x1))
mark(tt) → tt
zerosActive → cons(0, zeros)
mark(nil) → nil
mark(length(x1)) → lengthActive(mark(x1))
lengthActive(x1) → length(x1)
mark(cons(x1, x2)) → cons(mark(x1), x2)
mark(0) → 0
isNatKindActive(x1) → isNatKind(x1)
mark(isNatList(x1)) → isNatListActive(x1)
isNatListActive(x1) → isNatList(x1)
mark(isNatIList(x1)) → isNatIListActive(x1)
isNatIListActive(x1) → isNatIList(x1)
isNatIListKindActive(x1) → isNatIListKind(x1)
isNatKindActive(length(V1)) → isNatIListKindActive(V1)
isNatIListKindActive(cons(V1, V2)) → andActive(isNatKindActive(V1), isNatIListKind(V2))
mark(isNatKind(x1)) → isNatKindActive(x1)
mark(and(x1, x2)) → andActive(mark(x1), x2)
andActive(tt, X) → mark(X)
mark(isNatIListKind(x1)) → isNatIListKindActive(x1)
isNatKindActive(s(V1)) → isNatKindActive(V1)
andActive(x1, x2) → and(x1, x2)
mark(isNat(x1)) → isNatActive(x1)
isNatActive(x1) → isNat(x1)
U21ACTIVE(tt, V1) → ISNATACTIVE(V1)
ISNATACTIVE(s(V1)) → U21ACTIVE(isNatKindActive(V1), V1)
ISNATACTIVE(s(V1)) → ISNATKINDACTIVE(V1)
ISNATKINDACTIVE(length(V1)) → ISNATILISTKINDACTIVE(V1)
ISNATILISTKINDACTIVE(cons(V1, V2)) → ANDACTIVE(isNatKindActive(V1), isNatIListKind(V2))
ANDACTIVE(tt, X) → MARK(X)
MARK(U21(x1, x2)) → U21ACTIVE(mark(x1), x2)
MARK(U21(x1, x2)) → MARK(x1)
MARK(U22(x1)) → MARK(x1)
MARK(U43(x1)) → MARK(x1)
MARK(U51(x1, x2, x3)) → U51ACTIVE(mark(x1), x2, x3)
U51ACTIVE(tt, V1, V2) → U52ACTIVE(isNatActive(V1), V2)
U52ACTIVE(tt, V2) → ISNATLISTACTIVE(V2)
ISNATLISTACTIVE(cons(V1, V2)) → U51ACTIVE(andActive(isNatKindActive(V1), isNatIListKind(V2)), V1, V2)
U51ACTIVE(tt, V1, V2) → ISNATACTIVE(V1)
ISNATLISTACTIVE(cons(V1, V2)) → ANDACTIVE(isNatKindActive(V1), isNatIListKind(V2))
ISNATLISTACTIVE(cons(V1, V2)) → ISNATKINDACTIVE(V1)
ISNATKINDACTIVE(s(V1)) → ISNATKINDACTIVE(V1)
MARK(U51(x1, x2, x3)) → MARK(x1)
MARK(U52(x1, x2)) → U52ACTIVE(mark(x1), x2)
MARK(U52(x1, x2)) → MARK(x1)
MARK(U53(x1)) → MARK(x1)
U61ACTIVE(tt, L) → LENGTHACTIVE(mark(L))
LENGTHACTIVE(cons(N, L)) → U61ACTIVE(andActive(andActive(isNatListActive(L), isNatIListKind(L)), and(isNat(N), isNatKind(N))), L)
U61ACTIVE(tt, L) → MARK(L)
MARK(and(x1, x2)) → ANDACTIVE(mark(x1), x2)
MARK(and(x1, x2)) → MARK(x1)
MARK(isNat(x1)) → ISNATACTIVE(x1)
MARK(isNatIListKind(x1)) → ISNATILISTKINDACTIVE(x1)
ISNATILISTKINDACTIVE(cons(V1, V2)) → ISNATKINDACTIVE(V1)
MARK(isNatKind(x1)) → ISNATKINDACTIVE(x1)
MARK(isNatList(x1)) → ISNATLISTACTIVE(x1)
LENGTHACTIVE(cons(N, L)) → ISNATLISTACTIVE(L)
MARK(cons(x1, x2)) → MARK(x1)
MARK(s(x1)) → MARK(x1)
mark(zeros) → zerosActive
zerosActive → zeros
mark(U21(x1, x2)) → U21Active(mark(x1), x2)
U21Active(x1, x2) → U21(x1, x2)
mark(U22(x1)) → U22Active(mark(x1))
U22Active(x1) → U22(x1)
mark(U41(x1, x2, x3)) → U41Active(mark(x1), x2, x3)
U41Active(x1, x2, x3) → U41(x1, x2, x3)
mark(U42(x1, x2)) → U42Active(mark(x1), x2)
U42Active(x1, x2) → U42(x1, x2)
mark(U43(x1)) → U43Active(mark(x1))
U43Active(x1) → U43(x1)
mark(U51(x1, x2, x3)) → U51Active(mark(x1), x2, x3)
U51Active(x1, x2, x3) → U51(x1, x2, x3)
mark(U52(x1, x2)) → U52Active(mark(x1), x2)
U52Active(x1, x2) → U52(x1, x2)
mark(U53(x1)) → U53Active(mark(x1))
U53Active(x1) → U53(x1)
mark(U61(x1, x2)) → U61Active(mark(x1), x2)
U61Active(x1, x2) → U61(x1, x2)
mark(and(x1, x2)) → andActive(mark(x1), x2)
andActive(x1, x2) → and(x1, x2)
mark(isNat(x1)) → isNatActive(x1)
isNatActive(x1) → isNat(x1)
mark(isNatIList(x1)) → isNatIListActive(x1)
isNatIListActive(x1) → isNatIList(x1)
mark(isNatIListKind(x1)) → isNatIListKindActive(x1)
isNatIListKindActive(x1) → isNatIListKind(x1)
mark(isNatKind(x1)) → isNatKindActive(x1)
isNatKindActive(x1) → isNatKind(x1)
mark(isNatList(x1)) → isNatListActive(x1)
isNatListActive(x1) → isNatList(x1)
mark(length(x1)) → lengthActive(mark(x1))
lengthActive(x1) → length(x1)
mark(cons(x1, x2)) → cons(mark(x1), x2)
mark(0) → 0
mark(tt) → tt
mark(s(x1)) → s(mark(x1))
mark(nil) → nil
zerosActive → cons(0, zeros)
U21Active(tt, V1) → U22Active(isNatActive(V1))
U22Active(tt) → tt
U41Active(tt, V1, V2) → U42Active(isNatActive(V1), V2)
U42Active(tt, V2) → U43Active(isNatIListActive(V2))
U43Active(tt) → tt
U51Active(tt, V1, V2) → U52Active(isNatActive(V1), V2)
U52Active(tt, V2) → U53Active(isNatListActive(V2))
U53Active(tt) → tt
U61Active(tt, L) → s(lengthActive(mark(L)))
andActive(tt, X) → mark(X)
isNatActive(0) → tt
isNatActive(s(V1)) → U21Active(isNatKindActive(V1), V1)
isNatIListActive(cons(V1, V2)) → U41Active(andActive(isNatKindActive(V1), isNatIListKind(V2)), V1, V2)
isNatIListKindActive(nil) → tt
isNatIListKindActive(zeros) → tt
isNatIListKindActive(cons(V1, V2)) → andActive(isNatKindActive(V1), isNatIListKind(V2))
isNatKindActive(0) → tt
isNatKindActive(length(V1)) → isNatIListKindActive(V1)
isNatKindActive(s(V1)) → isNatKindActive(V1)
isNatListActive(cons(V1, V2)) → U51Active(andActive(isNatKindActive(V1), isNatIListKind(V2)), V1, V2)
lengthActive(cons(N, L)) → U61Active(andActive(andActive(isNatListActive(L), isNatIListKind(L)), and(isNat(N), isNatKind(N))), L)
ISNATACTIVE(s(V1)) → U21ACTIVE(isNatKindActive(V1), V1)
U21ACTIVE(tt, V1) → ISNATACTIVE(V1)
ISNATACTIVE(s(V1)) → ISNATKINDACTIVE(V1)
ISNATKINDACTIVE(length(V1)) → ISNATILISTKINDACTIVE(V1)
ISNATILISTKINDACTIVE(cons(V1, V2)) → ANDACTIVE(isNatKindActive(V1), isNatIListKind(V2))
ANDACTIVE(tt, X) → MARK(X)
MARK(U21(x1, x2)) → U21ACTIVE(mark(x1), x2)
MARK(U21(x1, x2)) → MARK(x1)
MARK(U22(x1)) → MARK(x1)
MARK(U43(x1)) → MARK(x1)
MARK(U51(x1, x2, x3)) → U51ACTIVE(mark(x1), x2, x3)
U51ACTIVE(tt, V1, V2) → U52ACTIVE(isNatActive(V1), V2)
U52ACTIVE(tt, V2) → ISNATLISTACTIVE(V2)
ISNATLISTACTIVE(cons(V1, V2)) → U51ACTIVE(andActive(isNatKindActive(V1), isNatIListKind(V2)), V1, V2)
U51ACTIVE(tt, V1, V2) → ISNATACTIVE(V1)
ISNATLISTACTIVE(cons(V1, V2)) → ANDACTIVE(isNatKindActive(V1), isNatIListKind(V2))
ISNATLISTACTIVE(cons(V1, V2)) → ISNATKINDACTIVE(V1)
ISNATKINDACTIVE(s(V1)) → ISNATKINDACTIVE(V1)
MARK(U51(x1, x2, x3)) → MARK(x1)
MARK(U52(x1, x2)) → U52ACTIVE(mark(x1), x2)
MARK(U52(x1, x2)) → MARK(x1)
MARK(U53(x1)) → MARK(x1)
MARK(and(x1, x2)) → ANDACTIVE(mark(x1), x2)
MARK(and(x1, x2)) → MARK(x1)
MARK(isNat(x1)) → ISNATACTIVE(x1)
MARK(isNatIListKind(x1)) → ISNATILISTKINDACTIVE(x1)
ISNATILISTKINDACTIVE(cons(V1, V2)) → ISNATKINDACTIVE(V1)
MARK(isNatKind(x1)) → ISNATKINDACTIVE(x1)
MARK(isNatList(x1)) → ISNATLISTACTIVE(x1)
MARK(cons(x1, x2)) → MARK(x1)
MARK(s(x1)) → MARK(x1)
mark(zeros) → zerosActive
zerosActive → zeros
mark(U21(x1, x2)) → U21Active(mark(x1), x2)
U21Active(x1, x2) → U21(x1, x2)
mark(U22(x1)) → U22Active(mark(x1))
U22Active(x1) → U22(x1)
mark(U41(x1, x2, x3)) → U41Active(mark(x1), x2, x3)
U41Active(x1, x2, x3) → U41(x1, x2, x3)
mark(U42(x1, x2)) → U42Active(mark(x1), x2)
U42Active(x1, x2) → U42(x1, x2)
mark(U43(x1)) → U43Active(mark(x1))
U43Active(x1) → U43(x1)
mark(U51(x1, x2, x3)) → U51Active(mark(x1), x2, x3)
U51Active(x1, x2, x3) → U51(x1, x2, x3)
mark(U52(x1, x2)) → U52Active(mark(x1), x2)
U52Active(x1, x2) → U52(x1, x2)
mark(U53(x1)) → U53Active(mark(x1))
U53Active(x1) → U53(x1)
mark(U61(x1, x2)) → U61Active(mark(x1), x2)
U61Active(x1, x2) → U61(x1, x2)
mark(and(x1, x2)) → andActive(mark(x1), x2)
andActive(x1, x2) → and(x1, x2)
mark(isNat(x1)) → isNatActive(x1)
isNatActive(x1) → isNat(x1)
mark(isNatIList(x1)) → isNatIListActive(x1)
isNatIListActive(x1) → isNatIList(x1)
mark(isNatIListKind(x1)) → isNatIListKindActive(x1)
isNatIListKindActive(x1) → isNatIListKind(x1)
mark(isNatKind(x1)) → isNatKindActive(x1)
isNatKindActive(x1) → isNatKind(x1)
mark(isNatList(x1)) → isNatListActive(x1)
isNatListActive(x1) → isNatList(x1)
mark(length(x1)) → lengthActive(mark(x1))
lengthActive(x1) → length(x1)
mark(cons(x1, x2)) → cons(mark(x1), x2)
mark(0) → 0
mark(tt) → tt
mark(s(x1)) → s(mark(x1))
mark(nil) → nil
zerosActive → cons(0, zeros)
U21Active(tt, V1) → U22Active(isNatActive(V1))
U22Active(tt) → tt
U41Active(tt, V1, V2) → U42Active(isNatActive(V1), V2)
U42Active(tt, V2) → U43Active(isNatIListActive(V2))
U43Active(tt) → tt
U51Active(tt, V1, V2) → U52Active(isNatActive(V1), V2)
U52Active(tt, V2) → U53Active(isNatListActive(V2))
U53Active(tt) → tt
U61Active(tt, L) → s(lengthActive(mark(L)))
andActive(tt, X) → mark(X)
isNatActive(0) → tt
isNatActive(s(V1)) → U21Active(isNatKindActive(V1), V1)
isNatIListActive(cons(V1, V2)) → U41Active(andActive(isNatKindActive(V1), isNatIListKind(V2)), V1, V2)
isNatIListKindActive(nil) → tt
isNatIListKindActive(zeros) → tt
isNatIListKindActive(cons(V1, V2)) → andActive(isNatKindActive(V1), isNatIListKind(V2))
isNatKindActive(0) → tt
isNatKindActive(length(V1)) → isNatIListKindActive(V1)
isNatKindActive(s(V1)) → isNatKindActive(V1)
isNatListActive(cons(V1, V2)) → U51Active(andActive(isNatKindActive(V1), isNatIListKind(V2)), V1, V2)
lengthActive(cons(N, L)) → U61Active(andActive(andActive(isNatListActive(L), isNatIListKind(L)), and(isNat(N), isNatKind(N))), L)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
MARK(isNat(x1)) → ISNATACTIVE(x1)
MARK(cons(x1, x2)) → MARK(x1)
POL(0) = 0
POL(ANDACTIVE(x1, x2)) = x2
POL(ISNATACTIVE(x1)) = 0
POL(ISNATILISTKINDACTIVE(x1)) = 0
POL(ISNATKINDACTIVE(x1)) = 0
POL(ISNATLISTACTIVE(x1)) = 0
POL(MARK(x1)) = x1
POL(U21(x1, x2)) = x1
POL(U21ACTIVE(x1, x2)) = 0
POL(U21Active(x1, x2)) = x1
POL(U22(x1)) = x1
POL(U22Active(x1)) = x1
POL(U41(x1, x2, x3)) = x1 + x3
POL(U41Active(x1, x2, x3)) = x1 + x3
POL(U42(x1, x2)) = x1 + x2
POL(U42Active(x1, x2)) = x1 + x2
POL(U43(x1)) = x1
POL(U43Active(x1)) = x1
POL(U51(x1, x2, x3)) = x1 + x3
POL(U51ACTIVE(x1, x2, x3)) = 0
POL(U51Active(x1, x2, x3)) = x1 + x3
POL(U52(x1, x2)) = x1 + x2
POL(U52ACTIVE(x1, x2)) = 0
POL(U52Active(x1, x2)) = x1 + x2
POL(U53(x1)) = x1
POL(U53Active(x1)) = x1
POL(U61(x1, x2)) = 0
POL(U61Active(x1, x2)) = 0
POL(and(x1, x2)) = x1 + x2
POL(andActive(x1, x2)) = x1 + x2
POL(cons(x1, x2)) = 1 + x1 + x2
POL(isNat(x1)) = 1
POL(isNatActive(x1)) = 1
POL(isNatIList(x1)) = x1
POL(isNatIListActive(x1)) = x1
POL(isNatIListKind(x1)) = 0
POL(isNatIListKindActive(x1)) = 1
POL(isNatKind(x1)) = 0
POL(isNatKindActive(x1)) = 1
POL(isNatList(x1)) = x1
POL(isNatListActive(x1)) = x1
POL(length(x1)) = 0
POL(lengthActive(x1)) = 0
POL(mark(x1)) = 1 + x1
POL(nil) = 1
POL(s(x1)) = x1
POL(tt) = 1
POL(zeros) = 0
POL(zerosActive) = 1
ISNATACTIVE(s(V1)) → U21ACTIVE(isNatKindActive(V1), V1)
U21ACTIVE(tt, V1) → ISNATACTIVE(V1)
ISNATACTIVE(s(V1)) → ISNATKINDACTIVE(V1)
ISNATKINDACTIVE(length(V1)) → ISNATILISTKINDACTIVE(V1)
ISNATILISTKINDACTIVE(cons(V1, V2)) → ANDACTIVE(isNatKindActive(V1), isNatIListKind(V2))
ANDACTIVE(tt, X) → MARK(X)
MARK(U21(x1, x2)) → U21ACTIVE(mark(x1), x2)
MARK(U21(x1, x2)) → MARK(x1)
MARK(U22(x1)) → MARK(x1)
MARK(U43(x1)) → MARK(x1)
MARK(U51(x1, x2, x3)) → U51ACTIVE(mark(x1), x2, x3)
U51ACTIVE(tt, V1, V2) → U52ACTIVE(isNatActive(V1), V2)
U52ACTIVE(tt, V2) → ISNATLISTACTIVE(V2)
ISNATLISTACTIVE(cons(V1, V2)) → U51ACTIVE(andActive(isNatKindActive(V1), isNatIListKind(V2)), V1, V2)
U51ACTIVE(tt, V1, V2) → ISNATACTIVE(V1)
ISNATLISTACTIVE(cons(V1, V2)) → ANDACTIVE(isNatKindActive(V1), isNatIListKind(V2))
ISNATLISTACTIVE(cons(V1, V2)) → ISNATKINDACTIVE(V1)
ISNATKINDACTIVE(s(V1)) → ISNATKINDACTIVE(V1)
MARK(U51(x1, x2, x3)) → MARK(x1)
MARK(U52(x1, x2)) → U52ACTIVE(mark(x1), x2)
MARK(U52(x1, x2)) → MARK(x1)
MARK(U53(x1)) → MARK(x1)
MARK(and(x1, x2)) → ANDACTIVE(mark(x1), x2)
MARK(and(x1, x2)) → MARK(x1)
MARK(isNatIListKind(x1)) → ISNATILISTKINDACTIVE(x1)
ISNATILISTKINDACTIVE(cons(V1, V2)) → ISNATKINDACTIVE(V1)
MARK(isNatKind(x1)) → ISNATKINDACTIVE(x1)
MARK(isNatList(x1)) → ISNATLISTACTIVE(x1)
MARK(s(x1)) → MARK(x1)
mark(zeros) → zerosActive
zerosActive → zeros
mark(U21(x1, x2)) → U21Active(mark(x1), x2)
U21Active(x1, x2) → U21(x1, x2)
mark(U22(x1)) → U22Active(mark(x1))
U22Active(x1) → U22(x1)
mark(U41(x1, x2, x3)) → U41Active(mark(x1), x2, x3)
U41Active(x1, x2, x3) → U41(x1, x2, x3)
mark(U42(x1, x2)) → U42Active(mark(x1), x2)
U42Active(x1, x2) → U42(x1, x2)
mark(U43(x1)) → U43Active(mark(x1))
U43Active(x1) → U43(x1)
mark(U51(x1, x2, x3)) → U51Active(mark(x1), x2, x3)
U51Active(x1, x2, x3) → U51(x1, x2, x3)
mark(U52(x1, x2)) → U52Active(mark(x1), x2)
U52Active(x1, x2) → U52(x1, x2)
mark(U53(x1)) → U53Active(mark(x1))
U53Active(x1) → U53(x1)
mark(U61(x1, x2)) → U61Active(mark(x1), x2)
U61Active(x1, x2) → U61(x1, x2)
mark(and(x1, x2)) → andActive(mark(x1), x2)
andActive(x1, x2) → and(x1, x2)
mark(isNat(x1)) → isNatActive(x1)
isNatActive(x1) → isNat(x1)
mark(isNatIList(x1)) → isNatIListActive(x1)
isNatIListActive(x1) → isNatIList(x1)
mark(isNatIListKind(x1)) → isNatIListKindActive(x1)
isNatIListKindActive(x1) → isNatIListKind(x1)
mark(isNatKind(x1)) → isNatKindActive(x1)
isNatKindActive(x1) → isNatKind(x1)
mark(isNatList(x1)) → isNatListActive(x1)
isNatListActive(x1) → isNatList(x1)
mark(length(x1)) → lengthActive(mark(x1))
lengthActive(x1) → length(x1)
mark(cons(x1, x2)) → cons(mark(x1), x2)
mark(0) → 0
mark(tt) → tt
mark(s(x1)) → s(mark(x1))
mark(nil) → nil
zerosActive → cons(0, zeros)
U21Active(tt, V1) → U22Active(isNatActive(V1))
U22Active(tt) → tt
U41Active(tt, V1, V2) → U42Active(isNatActive(V1), V2)
U42Active(tt, V2) → U43Active(isNatIListActive(V2))
U43Active(tt) → tt
U51Active(tt, V1, V2) → U52Active(isNatActive(V1), V2)
U52Active(tt, V2) → U53Active(isNatListActive(V2))
U53Active(tt) → tt
U61Active(tt, L) → s(lengthActive(mark(L)))
andActive(tt, X) → mark(X)
isNatActive(0) → tt
isNatActive(s(V1)) → U21Active(isNatKindActive(V1), V1)
isNatIListActive(cons(V1, V2)) → U41Active(andActive(isNatKindActive(V1), isNatIListKind(V2)), V1, V2)
isNatIListKindActive(nil) → tt
isNatIListKindActive(zeros) → tt
isNatIListKindActive(cons(V1, V2)) → andActive(isNatKindActive(V1), isNatIListKind(V2))
isNatKindActive(0) → tt
isNatKindActive(length(V1)) → isNatIListKindActive(V1)
isNatKindActive(s(V1)) → isNatKindActive(V1)
isNatListActive(cons(V1, V2)) → U51Active(andActive(isNatKindActive(V1), isNatIListKind(V2)), V1, V2)
lengthActive(cons(N, L)) → U61Active(andActive(andActive(isNatListActive(L), isNatIListKind(L)), and(isNat(N), isNatKind(N))), L)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
MARK(U21(x1, x2)) → U21ACTIVE(mark(x1), x2)
MARK(U21(x1, x2)) → MARK(x1)
U52ACTIVE(tt, V2) → ISNATLISTACTIVE(V2)
U51ACTIVE(tt, V1, V2) → ISNATACTIVE(V1)
ISNATLISTACTIVE(cons(V1, V2)) → ANDACTIVE(isNatKindActive(V1), isNatIListKind(V2))
ISNATLISTACTIVE(cons(V1, V2)) → ISNATKINDACTIVE(V1)
MARK(U51(x1, x2, x3)) → MARK(x1)
MARK(U52(x1, x2)) → MARK(x1)
MARK(U53(x1)) → MARK(x1)
MARK(and(x1, x2)) → ANDACTIVE(mark(x1), x2)
MARK(and(x1, x2)) → MARK(x1)
POL(0) = 0
POL(ANDACTIVE(x1, x2)) = x2
POL(ISNATACTIVE(x1)) = 0
POL(ISNATILISTKINDACTIVE(x1)) = 0
POL(ISNATKINDACTIVE(x1)) = 0
POL(ISNATLISTACTIVE(x1)) = x1
POL(MARK(x1)) = x1
POL(U21(x1, x2)) = 1 + x1
POL(U21ACTIVE(x1, x2)) = 0
POL(U21Active(x1, x2)) = 0
POL(U22(x1)) = x1
POL(U22Active(x1)) = 0
POL(U41(x1, x2, x3)) = 0
POL(U41Active(x1, x2, x3)) = 0
POL(U42(x1, x2)) = 0
POL(U42Active(x1, x2)) = 0
POL(U43(x1)) = x1
POL(U43Active(x1)) = 0
POL(U51(x1, x2, x3)) = 1 + x1 + x2 + x3
POL(U51ACTIVE(x1, x2, x3)) = 1 + x3
POL(U51Active(x1, x2, x3)) = 0
POL(U52(x1, x2)) = 1 + x1 + x2
POL(U52ACTIVE(x1, x2)) = 1 + x2
POL(U52Active(x1, x2)) = 0
POL(U53(x1)) = 1 + x1
POL(U53Active(x1)) = 0
POL(U61(x1, x2)) = 0
POL(U61Active(x1, x2)) = 0
POL(and(x1, x2)) = 1 + x1 + x2
POL(andActive(x1, x2)) = 0
POL(cons(x1, x2)) = 1 + x1 + x2
POL(isNat(x1)) = 0
POL(isNatActive(x1)) = 0
POL(isNatIList(x1)) = 0
POL(isNatIListActive(x1)) = 0
POL(isNatIListKind(x1)) = 0
POL(isNatIListKindActive(x1)) = 0
POL(isNatKind(x1)) = 0
POL(isNatKindActive(x1)) = 0
POL(isNatList(x1)) = x1
POL(isNatListActive(x1)) = 0
POL(length(x1)) = 0
POL(lengthActive(x1)) = 0
POL(mark(x1)) = 0
POL(nil) = 0
POL(s(x1)) = x1
POL(tt) = 0
POL(zeros) = 0
POL(zerosActive) = 0
ISNATACTIVE(s(V1)) → U21ACTIVE(isNatKindActive(V1), V1)
U21ACTIVE(tt, V1) → ISNATACTIVE(V1)
ISNATACTIVE(s(V1)) → ISNATKINDACTIVE(V1)
ISNATKINDACTIVE(length(V1)) → ISNATILISTKINDACTIVE(V1)
ISNATILISTKINDACTIVE(cons(V1, V2)) → ANDACTIVE(isNatKindActive(V1), isNatIListKind(V2))
ANDACTIVE(tt, X) → MARK(X)
MARK(U22(x1)) → MARK(x1)
MARK(U43(x1)) → MARK(x1)
MARK(U51(x1, x2, x3)) → U51ACTIVE(mark(x1), x2, x3)
U51ACTIVE(tt, V1, V2) → U52ACTIVE(isNatActive(V1), V2)
ISNATLISTACTIVE(cons(V1, V2)) → U51ACTIVE(andActive(isNatKindActive(V1), isNatIListKind(V2)), V1, V2)
ISNATKINDACTIVE(s(V1)) → ISNATKINDACTIVE(V1)
MARK(U52(x1, x2)) → U52ACTIVE(mark(x1), x2)
MARK(isNatIListKind(x1)) → ISNATILISTKINDACTIVE(x1)
ISNATILISTKINDACTIVE(cons(V1, V2)) → ISNATKINDACTIVE(V1)
MARK(isNatKind(x1)) → ISNATKINDACTIVE(x1)
MARK(isNatList(x1)) → ISNATLISTACTIVE(x1)
MARK(s(x1)) → MARK(x1)
mark(zeros) → zerosActive
zerosActive → zeros
mark(U21(x1, x2)) → U21Active(mark(x1), x2)
U21Active(x1, x2) → U21(x1, x2)
mark(U22(x1)) → U22Active(mark(x1))
U22Active(x1) → U22(x1)
mark(U41(x1, x2, x3)) → U41Active(mark(x1), x2, x3)
U41Active(x1, x2, x3) → U41(x1, x2, x3)
mark(U42(x1, x2)) → U42Active(mark(x1), x2)
U42Active(x1, x2) → U42(x1, x2)
mark(U43(x1)) → U43Active(mark(x1))
U43Active(x1) → U43(x1)
mark(U51(x1, x2, x3)) → U51Active(mark(x1), x2, x3)
U51Active(x1, x2, x3) → U51(x1, x2, x3)
mark(U52(x1, x2)) → U52Active(mark(x1), x2)
U52Active(x1, x2) → U52(x1, x2)
mark(U53(x1)) → U53Active(mark(x1))
U53Active(x1) → U53(x1)
mark(U61(x1, x2)) → U61Active(mark(x1), x2)
U61Active(x1, x2) → U61(x1, x2)
mark(and(x1, x2)) → andActive(mark(x1), x2)
andActive(x1, x2) → and(x1, x2)
mark(isNat(x1)) → isNatActive(x1)
isNatActive(x1) → isNat(x1)
mark(isNatIList(x1)) → isNatIListActive(x1)
isNatIListActive(x1) → isNatIList(x1)
mark(isNatIListKind(x1)) → isNatIListKindActive(x1)
isNatIListKindActive(x1) → isNatIListKind(x1)
mark(isNatKind(x1)) → isNatKindActive(x1)
isNatKindActive(x1) → isNatKind(x1)
mark(isNatList(x1)) → isNatListActive(x1)
isNatListActive(x1) → isNatList(x1)
mark(length(x1)) → lengthActive(mark(x1))
lengthActive(x1) → length(x1)
mark(cons(x1, x2)) → cons(mark(x1), x2)
mark(0) → 0
mark(tt) → tt
mark(s(x1)) → s(mark(x1))
mark(nil) → nil
zerosActive → cons(0, zeros)
U21Active(tt, V1) → U22Active(isNatActive(V1))
U22Active(tt) → tt
U41Active(tt, V1, V2) → U42Active(isNatActive(V1), V2)
U42Active(tt, V2) → U43Active(isNatIListActive(V2))
U43Active(tt) → tt
U51Active(tt, V1, V2) → U52Active(isNatActive(V1), V2)
U52Active(tt, V2) → U53Active(isNatListActive(V2))
U53Active(tt) → tt
U61Active(tt, L) → s(lengthActive(mark(L)))
andActive(tt, X) → mark(X)
isNatActive(0) → tt
isNatActive(s(V1)) → U21Active(isNatKindActive(V1), V1)
isNatIListActive(cons(V1, V2)) → U41Active(andActive(isNatKindActive(V1), isNatIListKind(V2)), V1, V2)
isNatIListKindActive(nil) → tt
isNatIListKindActive(zeros) → tt
isNatIListKindActive(cons(V1, V2)) → andActive(isNatKindActive(V1), isNatIListKind(V2))
isNatKindActive(0) → tt
isNatKindActive(length(V1)) → isNatIListKindActive(V1)
isNatKindActive(s(V1)) → isNatKindActive(V1)
isNatListActive(cons(V1, V2)) → U51Active(andActive(isNatKindActive(V1), isNatIListKind(V2)), V1, V2)
lengthActive(cons(N, L)) → U61Active(andActive(andActive(isNatListActive(L), isNatIListKind(L)), and(isNat(N), isNatKind(N))), L)
ISNATILISTKINDACTIVE(cons(V1, V2)) → ANDACTIVE(isNatKindActive(V1), isNatIListKind(V2))
ANDACTIVE(tt, X) → MARK(X)
MARK(U22(x1)) → MARK(x1)
MARK(U43(x1)) → MARK(x1)
MARK(isNatIListKind(x1)) → ISNATILISTKINDACTIVE(x1)
ISNATILISTKINDACTIVE(cons(V1, V2)) → ISNATKINDACTIVE(V1)
ISNATKINDACTIVE(length(V1)) → ISNATILISTKINDACTIVE(V1)
ISNATKINDACTIVE(s(V1)) → ISNATKINDACTIVE(V1)
MARK(isNatKind(x1)) → ISNATKINDACTIVE(x1)
MARK(s(x1)) → MARK(x1)
mark(zeros) → zerosActive
zerosActive → zeros
mark(U21(x1, x2)) → U21Active(mark(x1), x2)
U21Active(x1, x2) → U21(x1, x2)
mark(U22(x1)) → U22Active(mark(x1))
U22Active(x1) → U22(x1)
mark(U41(x1, x2, x3)) → U41Active(mark(x1), x2, x3)
U41Active(x1, x2, x3) → U41(x1, x2, x3)
mark(U42(x1, x2)) → U42Active(mark(x1), x2)
U42Active(x1, x2) → U42(x1, x2)
mark(U43(x1)) → U43Active(mark(x1))
U43Active(x1) → U43(x1)
mark(U51(x1, x2, x3)) → U51Active(mark(x1), x2, x3)
U51Active(x1, x2, x3) → U51(x1, x2, x3)
mark(U52(x1, x2)) → U52Active(mark(x1), x2)
U52Active(x1, x2) → U52(x1, x2)
mark(U53(x1)) → U53Active(mark(x1))
U53Active(x1) → U53(x1)
mark(U61(x1, x2)) → U61Active(mark(x1), x2)
U61Active(x1, x2) → U61(x1, x2)
mark(and(x1, x2)) → andActive(mark(x1), x2)
andActive(x1, x2) → and(x1, x2)
mark(isNat(x1)) → isNatActive(x1)
isNatActive(x1) → isNat(x1)
mark(isNatIList(x1)) → isNatIListActive(x1)
isNatIListActive(x1) → isNatIList(x1)
mark(isNatIListKind(x1)) → isNatIListKindActive(x1)
isNatIListKindActive(x1) → isNatIListKind(x1)
mark(isNatKind(x1)) → isNatKindActive(x1)
isNatKindActive(x1) → isNatKind(x1)
mark(isNatList(x1)) → isNatListActive(x1)
isNatListActive(x1) → isNatList(x1)
mark(length(x1)) → lengthActive(mark(x1))
lengthActive(x1) → length(x1)
mark(cons(x1, x2)) → cons(mark(x1), x2)
mark(0) → 0
mark(tt) → tt
mark(s(x1)) → s(mark(x1))
mark(nil) → nil
zerosActive → cons(0, zeros)
U21Active(tt, V1) → U22Active(isNatActive(V1))
U22Active(tt) → tt
U41Active(tt, V1, V2) → U42Active(isNatActive(V1), V2)
U42Active(tt, V2) → U43Active(isNatIListActive(V2))
U43Active(tt) → tt
U51Active(tt, V1, V2) → U52Active(isNatActive(V1), V2)
U52Active(tt, V2) → U53Active(isNatListActive(V2))
U53Active(tt) → tt
U61Active(tt, L) → s(lengthActive(mark(L)))
andActive(tt, X) → mark(X)
isNatActive(0) → tt
isNatActive(s(V1)) → U21Active(isNatKindActive(V1), V1)
isNatIListActive(cons(V1, V2)) → U41Active(andActive(isNatKindActive(V1), isNatIListKind(V2)), V1, V2)
isNatIListKindActive(nil) → tt
isNatIListKindActive(zeros) → tt
isNatIListKindActive(cons(V1, V2)) → andActive(isNatKindActive(V1), isNatIListKind(V2))
isNatKindActive(0) → tt
isNatKindActive(length(V1)) → isNatIListKindActive(V1)
isNatKindActive(s(V1)) → isNatKindActive(V1)
isNatListActive(cons(V1, V2)) → U51Active(andActive(isNatKindActive(V1), isNatIListKind(V2)), V1, V2)
lengthActive(cons(N, L)) → U61Active(andActive(andActive(isNatListActive(L), isNatIListKind(L)), and(isNat(N), isNatKind(N))), L)
ANDACTIVE(tt, isNatIListKind(y_2)) → MARK(isNatIListKind(y_2))
ISNATILISTKINDACTIVE(cons(V1, V2)) → ANDACTIVE(isNatKindActive(V1), isNatIListKind(V2))
MARK(U22(x1)) → MARK(x1)
MARK(U43(x1)) → MARK(x1)
MARK(isNatIListKind(x1)) → ISNATILISTKINDACTIVE(x1)
ISNATILISTKINDACTIVE(cons(V1, V2)) → ISNATKINDACTIVE(V1)
ISNATKINDACTIVE(length(V1)) → ISNATILISTKINDACTIVE(V1)
ISNATKINDACTIVE(s(V1)) → ISNATKINDACTIVE(V1)
MARK(isNatKind(x1)) → ISNATKINDACTIVE(x1)
MARK(s(x1)) → MARK(x1)
ANDACTIVE(tt, isNatIListKind(y_2)) → MARK(isNatIListKind(y_2))
mark(zeros) → zerosActive
zerosActive → zeros
mark(U21(x1, x2)) → U21Active(mark(x1), x2)
U21Active(x1, x2) → U21(x1, x2)
mark(U22(x1)) → U22Active(mark(x1))
U22Active(x1) → U22(x1)
mark(U41(x1, x2, x3)) → U41Active(mark(x1), x2, x3)
U41Active(x1, x2, x3) → U41(x1, x2, x3)
mark(U42(x1, x2)) → U42Active(mark(x1), x2)
U42Active(x1, x2) → U42(x1, x2)
mark(U43(x1)) → U43Active(mark(x1))
U43Active(x1) → U43(x1)
mark(U51(x1, x2, x3)) → U51Active(mark(x1), x2, x3)
U51Active(x1, x2, x3) → U51(x1, x2, x3)
mark(U52(x1, x2)) → U52Active(mark(x1), x2)
U52Active(x1, x2) → U52(x1, x2)
mark(U53(x1)) → U53Active(mark(x1))
U53Active(x1) → U53(x1)
mark(U61(x1, x2)) → U61Active(mark(x1), x2)
U61Active(x1, x2) → U61(x1, x2)
mark(and(x1, x2)) → andActive(mark(x1), x2)
andActive(x1, x2) → and(x1, x2)
mark(isNat(x1)) → isNatActive(x1)
isNatActive(x1) → isNat(x1)
mark(isNatIList(x1)) → isNatIListActive(x1)
isNatIListActive(x1) → isNatIList(x1)
mark(isNatIListKind(x1)) → isNatIListKindActive(x1)
isNatIListKindActive(x1) → isNatIListKind(x1)
mark(isNatKind(x1)) → isNatKindActive(x1)
isNatKindActive(x1) → isNatKind(x1)
mark(isNatList(x1)) → isNatListActive(x1)
isNatListActive(x1) → isNatList(x1)
mark(length(x1)) → lengthActive(mark(x1))
lengthActive(x1) → length(x1)
mark(cons(x1, x2)) → cons(mark(x1), x2)
mark(0) → 0
mark(tt) → tt
mark(s(x1)) → s(mark(x1))
mark(nil) → nil
zerosActive → cons(0, zeros)
U21Active(tt, V1) → U22Active(isNatActive(V1))
U22Active(tt) → tt
U41Active(tt, V1, V2) → U42Active(isNatActive(V1), V2)
U42Active(tt, V2) → U43Active(isNatIListActive(V2))
U43Active(tt) → tt
U51Active(tt, V1, V2) → U52Active(isNatActive(V1), V2)
U52Active(tt, V2) → U53Active(isNatListActive(V2))
U53Active(tt) → tt
U61Active(tt, L) → s(lengthActive(mark(L)))
andActive(tt, X) → mark(X)
isNatActive(0) → tt
isNatActive(s(V1)) → U21Active(isNatKindActive(V1), V1)
isNatIListActive(cons(V1, V2)) → U41Active(andActive(isNatKindActive(V1), isNatIListKind(V2)), V1, V2)
isNatIListKindActive(nil) → tt
isNatIListKindActive(zeros) → tt
isNatIListKindActive(cons(V1, V2)) → andActive(isNatKindActive(V1), isNatIListKind(V2))
isNatKindActive(0) → tt
isNatKindActive(length(V1)) → isNatIListKindActive(V1)
isNatKindActive(s(V1)) → isNatKindActive(V1)
isNatListActive(cons(V1, V2)) → U51Active(andActive(isNatKindActive(V1), isNatIListKind(V2)), V1, V2)
lengthActive(cons(N, L)) → U61Active(andActive(andActive(isNatListActive(L), isNatIListKind(L)), and(isNat(N), isNatKind(N))), L)
ANDACTIVE(tt, isNatIListKind(y_2)) → MARK(isNatIListKind(y_2))
MARK(isNatIListKind(x1)) → ISNATILISTKINDACTIVE(x1)
ISNATILISTKINDACTIVE(cons(V1, V2)) → ANDACTIVE(isNatKindActive(V1), isNatIListKind(V2))
ISNATILISTKINDACTIVE(cons(V1, V2)) → ISNATKINDACTIVE(V1)
ISNATKINDACTIVE(length(V1)) → ISNATILISTKINDACTIVE(V1)
ISNATKINDACTIVE(s(V1)) → ISNATKINDACTIVE(V1)
mark(zeros) → zerosActive
zerosActive → zeros
mark(U21(x1, x2)) → U21Active(mark(x1), x2)
U21Active(x1, x2) → U21(x1, x2)
mark(U22(x1)) → U22Active(mark(x1))
U22Active(x1) → U22(x1)
mark(U41(x1, x2, x3)) → U41Active(mark(x1), x2, x3)
U41Active(x1, x2, x3) → U41(x1, x2, x3)
mark(U42(x1, x2)) → U42Active(mark(x1), x2)
U42Active(x1, x2) → U42(x1, x2)
mark(U43(x1)) → U43Active(mark(x1))
U43Active(x1) → U43(x1)
mark(U51(x1, x2, x3)) → U51Active(mark(x1), x2, x3)
U51Active(x1, x2, x3) → U51(x1, x2, x3)
mark(U52(x1, x2)) → U52Active(mark(x1), x2)
U52Active(x1, x2) → U52(x1, x2)
mark(U53(x1)) → U53Active(mark(x1))
U53Active(x1) → U53(x1)
mark(U61(x1, x2)) → U61Active(mark(x1), x2)
U61Active(x1, x2) → U61(x1, x2)
mark(and(x1, x2)) → andActive(mark(x1), x2)
andActive(x1, x2) → and(x1, x2)
mark(isNat(x1)) → isNatActive(x1)
isNatActive(x1) → isNat(x1)
mark(isNatIList(x1)) → isNatIListActive(x1)
isNatIListActive(x1) → isNatIList(x1)
mark(isNatIListKind(x1)) → isNatIListKindActive(x1)
isNatIListKindActive(x1) → isNatIListKind(x1)
mark(isNatKind(x1)) → isNatKindActive(x1)
isNatKindActive(x1) → isNatKind(x1)
mark(isNatList(x1)) → isNatListActive(x1)
isNatListActive(x1) → isNatList(x1)
mark(length(x1)) → lengthActive(mark(x1))
lengthActive(x1) → length(x1)
mark(cons(x1, x2)) → cons(mark(x1), x2)
mark(0) → 0
mark(tt) → tt
mark(s(x1)) → s(mark(x1))
mark(nil) → nil
zerosActive → cons(0, zeros)
U21Active(tt, V1) → U22Active(isNatActive(V1))
U22Active(tt) → tt
U41Active(tt, V1, V2) → U42Active(isNatActive(V1), V2)
U42Active(tt, V2) → U43Active(isNatIListActive(V2))
U43Active(tt) → tt
U51Active(tt, V1, V2) → U52Active(isNatActive(V1), V2)
U52Active(tt, V2) → U53Active(isNatListActive(V2))
U53Active(tt) → tt
U61Active(tt, L) → s(lengthActive(mark(L)))
andActive(tt, X) → mark(X)
isNatActive(0) → tt
isNatActive(s(V1)) → U21Active(isNatKindActive(V1), V1)
isNatIListActive(cons(V1, V2)) → U41Active(andActive(isNatKindActive(V1), isNatIListKind(V2)), V1, V2)
isNatIListKindActive(nil) → tt
isNatIListKindActive(zeros) → tt
isNatIListKindActive(cons(V1, V2)) → andActive(isNatKindActive(V1), isNatIListKind(V2))
isNatKindActive(0) → tt
isNatKindActive(length(V1)) → isNatIListKindActive(V1)
isNatKindActive(s(V1)) → isNatKindActive(V1)
isNatListActive(cons(V1, V2)) → U51Active(andActive(isNatKindActive(V1), isNatIListKind(V2)), V1, V2)
lengthActive(cons(N, L)) → U61Active(andActive(andActive(isNatListActive(L), isNatIListKind(L)), and(isNat(N), isNatKind(N))), L)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
ISNATILISTKINDACTIVE(cons(V1, V2)) → ANDACTIVE(isNatKindActive(V1), isNatIListKind(V2))
ISNATILISTKINDACTIVE(cons(V1, V2)) → ISNATKINDACTIVE(V1)
ISNATKINDACTIVE(length(V1)) → ISNATILISTKINDACTIVE(V1)
ISNATKINDACTIVE(s(V1)) → ISNATKINDACTIVE(V1)
POL(0) = 0
POL(ANDACTIVE(x1, x2)) = x2
POL(ISNATILISTKINDACTIVE(x1)) = x1
POL(ISNATKINDACTIVE(x1)) = x1
POL(MARK(x1)) = x1
POL(U21(x1, x2)) = 0
POL(U21Active(x1, x2)) = 0
POL(U22(x1)) = 0
POL(U22Active(x1)) = 0
POL(U41(x1, x2, x3)) = 0
POL(U41Active(x1, x2, x3)) = 0
POL(U42(x1, x2)) = 0
POL(U42Active(x1, x2)) = 0
POL(U43(x1)) = 0
POL(U43Active(x1)) = 0
POL(U51(x1, x2, x3)) = 0
POL(U51Active(x1, x2, x3)) = 0
POL(U52(x1, x2)) = 0
POL(U52Active(x1, x2)) = 0
POL(U53(x1)) = 0
POL(U53Active(x1)) = 0
POL(U61(x1, x2)) = 0
POL(U61Active(x1, x2)) = 0
POL(and(x1, x2)) = 0
POL(andActive(x1, x2)) = 0
POL(cons(x1, x2)) = 1 + x1 + x2
POL(isNat(x1)) = 0
POL(isNatActive(x1)) = 0
POL(isNatIList(x1)) = 0
POL(isNatIListActive(x1)) = 0
POL(isNatIListKind(x1)) = x1
POL(isNatIListKindActive(x1)) = 0
POL(isNatKind(x1)) = 0
POL(isNatKindActive(x1)) = 0
POL(isNatList(x1)) = 0
POL(isNatListActive(x1)) = 0
POL(length(x1)) = 1 + x1
POL(lengthActive(x1)) = 0
POL(mark(x1)) = 0
POL(nil) = 0
POL(s(x1)) = 1 + x1
POL(tt) = 0
POL(zeros) = 0
POL(zerosActive) = 0
ANDACTIVE(tt, isNatIListKind(y_2)) → MARK(isNatIListKind(y_2))
MARK(isNatIListKind(x1)) → ISNATILISTKINDACTIVE(x1)
mark(zeros) → zerosActive
zerosActive → zeros
mark(U21(x1, x2)) → U21Active(mark(x1), x2)
U21Active(x1, x2) → U21(x1, x2)
mark(U22(x1)) → U22Active(mark(x1))
U22Active(x1) → U22(x1)
mark(U41(x1, x2, x3)) → U41Active(mark(x1), x2, x3)
U41Active(x1, x2, x3) → U41(x1, x2, x3)
mark(U42(x1, x2)) → U42Active(mark(x1), x2)
U42Active(x1, x2) → U42(x1, x2)
mark(U43(x1)) → U43Active(mark(x1))
U43Active(x1) → U43(x1)
mark(U51(x1, x2, x3)) → U51Active(mark(x1), x2, x3)
U51Active(x1, x2, x3) → U51(x1, x2, x3)
mark(U52(x1, x2)) → U52Active(mark(x1), x2)
U52Active(x1, x2) → U52(x1, x2)
mark(U53(x1)) → U53Active(mark(x1))
U53Active(x1) → U53(x1)
mark(U61(x1, x2)) → U61Active(mark(x1), x2)
U61Active(x1, x2) → U61(x1, x2)
mark(and(x1, x2)) → andActive(mark(x1), x2)
andActive(x1, x2) → and(x1, x2)
mark(isNat(x1)) → isNatActive(x1)
isNatActive(x1) → isNat(x1)
mark(isNatIList(x1)) → isNatIListActive(x1)
isNatIListActive(x1) → isNatIList(x1)
mark(isNatIListKind(x1)) → isNatIListKindActive(x1)
isNatIListKindActive(x1) → isNatIListKind(x1)
mark(isNatKind(x1)) → isNatKindActive(x1)
isNatKindActive(x1) → isNatKind(x1)
mark(isNatList(x1)) → isNatListActive(x1)
isNatListActive(x1) → isNatList(x1)
mark(length(x1)) → lengthActive(mark(x1))
lengthActive(x1) → length(x1)
mark(cons(x1, x2)) → cons(mark(x1), x2)
mark(0) → 0
mark(tt) → tt
mark(s(x1)) → s(mark(x1))
mark(nil) → nil
zerosActive → cons(0, zeros)
U21Active(tt, V1) → U22Active(isNatActive(V1))
U22Active(tt) → tt
U41Active(tt, V1, V2) → U42Active(isNatActive(V1), V2)
U42Active(tt, V2) → U43Active(isNatIListActive(V2))
U43Active(tt) → tt
U51Active(tt, V1, V2) → U52Active(isNatActive(V1), V2)
U52Active(tt, V2) → U53Active(isNatListActive(V2))
U53Active(tt) → tt
U61Active(tt, L) → s(lengthActive(mark(L)))
andActive(tt, X) → mark(X)
isNatActive(0) → tt
isNatActive(s(V1)) → U21Active(isNatKindActive(V1), V1)
isNatIListActive(cons(V1, V2)) → U41Active(andActive(isNatKindActive(V1), isNatIListKind(V2)), V1, V2)
isNatIListKindActive(nil) → tt
isNatIListKindActive(zeros) → tt
isNatIListKindActive(cons(V1, V2)) → andActive(isNatKindActive(V1), isNatIListKind(V2))
isNatKindActive(0) → tt
isNatKindActive(length(V1)) → isNatIListKindActive(V1)
isNatKindActive(s(V1)) → isNatKindActive(V1)
isNatListActive(cons(V1, V2)) → U51Active(andActive(isNatKindActive(V1), isNatIListKind(V2)), V1, V2)
lengthActive(cons(N, L)) → U61Active(andActive(andActive(isNatListActive(L), isNatIListKind(L)), and(isNat(N), isNatKind(N))), L)
MARK(U43(x1)) → MARK(x1)
MARK(U22(x1)) → MARK(x1)
MARK(s(x1)) → MARK(x1)
mark(zeros) → zerosActive
zerosActive → zeros
mark(U21(x1, x2)) → U21Active(mark(x1), x2)
U21Active(x1, x2) → U21(x1, x2)
mark(U22(x1)) → U22Active(mark(x1))
U22Active(x1) → U22(x1)
mark(U41(x1, x2, x3)) → U41Active(mark(x1), x2, x3)
U41Active(x1, x2, x3) → U41(x1, x2, x3)
mark(U42(x1, x2)) → U42Active(mark(x1), x2)
U42Active(x1, x2) → U42(x1, x2)
mark(U43(x1)) → U43Active(mark(x1))
U43Active(x1) → U43(x1)
mark(U51(x1, x2, x3)) → U51Active(mark(x1), x2, x3)
U51Active(x1, x2, x3) → U51(x1, x2, x3)
mark(U52(x1, x2)) → U52Active(mark(x1), x2)
U52Active(x1, x2) → U52(x1, x2)
mark(U53(x1)) → U53Active(mark(x1))
U53Active(x1) → U53(x1)
mark(U61(x1, x2)) → U61Active(mark(x1), x2)
U61Active(x1, x2) → U61(x1, x2)
mark(and(x1, x2)) → andActive(mark(x1), x2)
andActive(x1, x2) → and(x1, x2)
mark(isNat(x1)) → isNatActive(x1)
isNatActive(x1) → isNat(x1)
mark(isNatIList(x1)) → isNatIListActive(x1)
isNatIListActive(x1) → isNatIList(x1)
mark(isNatIListKind(x1)) → isNatIListKindActive(x1)
isNatIListKindActive(x1) → isNatIListKind(x1)
mark(isNatKind(x1)) → isNatKindActive(x1)
isNatKindActive(x1) → isNatKind(x1)
mark(isNatList(x1)) → isNatListActive(x1)
isNatListActive(x1) → isNatList(x1)
mark(length(x1)) → lengthActive(mark(x1))
lengthActive(x1) → length(x1)
mark(cons(x1, x2)) → cons(mark(x1), x2)
mark(0) → 0
mark(tt) → tt
mark(s(x1)) → s(mark(x1))
mark(nil) → nil
zerosActive → cons(0, zeros)
U21Active(tt, V1) → U22Active(isNatActive(V1))
U22Active(tt) → tt
U41Active(tt, V1, V2) → U42Active(isNatActive(V1), V2)
U42Active(tt, V2) → U43Active(isNatIListActive(V2))
U43Active(tt) → tt
U51Active(tt, V1, V2) → U52Active(isNatActive(V1), V2)
U52Active(tt, V2) → U53Active(isNatListActive(V2))
U53Active(tt) → tt
U61Active(tt, L) → s(lengthActive(mark(L)))
andActive(tt, X) → mark(X)
isNatActive(0) → tt
isNatActive(s(V1)) → U21Active(isNatKindActive(V1), V1)
isNatIListActive(cons(V1, V2)) → U41Active(andActive(isNatKindActive(V1), isNatIListKind(V2)), V1, V2)
isNatIListKindActive(nil) → tt
isNatIListKindActive(zeros) → tt
isNatIListKindActive(cons(V1, V2)) → andActive(isNatKindActive(V1), isNatIListKind(V2))
isNatKindActive(0) → tt
isNatKindActive(length(V1)) → isNatIListKindActive(V1)
isNatKindActive(s(V1)) → isNatKindActive(V1)
isNatListActive(cons(V1, V2)) → U51Active(andActive(isNatKindActive(V1), isNatIListKind(V2)), V1, V2)
lengthActive(cons(N, L)) → U61Active(andActive(andActive(isNatListActive(L), isNatIListKind(L)), and(isNat(N), isNatKind(N))), L)
MARK(U43(x1)) → MARK(x1)
MARK(U22(x1)) → MARK(x1)
MARK(s(x1)) → MARK(x1)
From the DPs we obtained the following set of size-change graphs:
U21ACTIVE(tt, V1) → ISNATACTIVE(V1)
ISNATACTIVE(s(V1)) → U21ACTIVE(isNatKindActive(V1), V1)
mark(zeros) → zerosActive
zerosActive → zeros
mark(U21(x1, x2)) → U21Active(mark(x1), x2)
U21Active(x1, x2) → U21(x1, x2)
mark(U22(x1)) → U22Active(mark(x1))
U22Active(x1) → U22(x1)
mark(U41(x1, x2, x3)) → U41Active(mark(x1), x2, x3)
U41Active(x1, x2, x3) → U41(x1, x2, x3)
mark(U42(x1, x2)) → U42Active(mark(x1), x2)
U42Active(x1, x2) → U42(x1, x2)
mark(U43(x1)) → U43Active(mark(x1))
U43Active(x1) → U43(x1)
mark(U51(x1, x2, x3)) → U51Active(mark(x1), x2, x3)
U51Active(x1, x2, x3) → U51(x1, x2, x3)
mark(U52(x1, x2)) → U52Active(mark(x1), x2)
U52Active(x1, x2) → U52(x1, x2)
mark(U53(x1)) → U53Active(mark(x1))
U53Active(x1) → U53(x1)
mark(U61(x1, x2)) → U61Active(mark(x1), x2)
U61Active(x1, x2) → U61(x1, x2)
mark(and(x1, x2)) → andActive(mark(x1), x2)
andActive(x1, x2) → and(x1, x2)
mark(isNat(x1)) → isNatActive(x1)
isNatActive(x1) → isNat(x1)
mark(isNatIList(x1)) → isNatIListActive(x1)
isNatIListActive(x1) → isNatIList(x1)
mark(isNatIListKind(x1)) → isNatIListKindActive(x1)
isNatIListKindActive(x1) → isNatIListKind(x1)
mark(isNatKind(x1)) → isNatKindActive(x1)
isNatKindActive(x1) → isNatKind(x1)
mark(isNatList(x1)) → isNatListActive(x1)
isNatListActive(x1) → isNatList(x1)
mark(length(x1)) → lengthActive(mark(x1))
lengthActive(x1) → length(x1)
mark(cons(x1, x2)) → cons(mark(x1), x2)
mark(0) → 0
mark(tt) → tt
mark(s(x1)) → s(mark(x1))
mark(nil) → nil
zerosActive → cons(0, zeros)
U21Active(tt, V1) → U22Active(isNatActive(V1))
U22Active(tt) → tt
U41Active(tt, V1, V2) → U42Active(isNatActive(V1), V2)
U42Active(tt, V2) → U43Active(isNatIListActive(V2))
U43Active(tt) → tt
U51Active(tt, V1, V2) → U52Active(isNatActive(V1), V2)
U52Active(tt, V2) → U53Active(isNatListActive(V2))
U53Active(tt) → tt
U61Active(tt, L) → s(lengthActive(mark(L)))
andActive(tt, X) → mark(X)
isNatActive(0) → tt
isNatActive(s(V1)) → U21Active(isNatKindActive(V1), V1)
isNatIListActive(cons(V1, V2)) → U41Active(andActive(isNatKindActive(V1), isNatIListKind(V2)), V1, V2)
isNatIListKindActive(nil) → tt
isNatIListKindActive(zeros) → tt
isNatIListKindActive(cons(V1, V2)) → andActive(isNatKindActive(V1), isNatIListKind(V2))
isNatKindActive(0) → tt
isNatKindActive(length(V1)) → isNatIListKindActive(V1)
isNatKindActive(s(V1)) → isNatKindActive(V1)
isNatListActive(cons(V1, V2)) → U51Active(andActive(isNatKindActive(V1), isNatIListKind(V2)), V1, V2)
lengthActive(cons(N, L)) → U61Active(andActive(andActive(isNatListActive(L), isNatIListKind(L)), and(isNat(N), isNatKind(N))), L)
From the DPs we obtained the following set of size-change graphs:
U61ACTIVE(tt, L) → LENGTHACTIVE(mark(L))
LENGTHACTIVE(cons(N, L)) → U61ACTIVE(andActive(andActive(isNatListActive(L), isNatIListKind(L)), and(isNat(N), isNatKind(N))), L)
mark(zeros) → zerosActive
zerosActive → zeros
mark(U21(x1, x2)) → U21Active(mark(x1), x2)
U21Active(x1, x2) → U21(x1, x2)
mark(U22(x1)) → U22Active(mark(x1))
U22Active(x1) → U22(x1)
mark(U41(x1, x2, x3)) → U41Active(mark(x1), x2, x3)
U41Active(x1, x2, x3) → U41(x1, x2, x3)
mark(U42(x1, x2)) → U42Active(mark(x1), x2)
U42Active(x1, x2) → U42(x1, x2)
mark(U43(x1)) → U43Active(mark(x1))
U43Active(x1) → U43(x1)
mark(U51(x1, x2, x3)) → U51Active(mark(x1), x2, x3)
U51Active(x1, x2, x3) → U51(x1, x2, x3)
mark(U52(x1, x2)) → U52Active(mark(x1), x2)
U52Active(x1, x2) → U52(x1, x2)
mark(U53(x1)) → U53Active(mark(x1))
U53Active(x1) → U53(x1)
mark(U61(x1, x2)) → U61Active(mark(x1), x2)
U61Active(x1, x2) → U61(x1, x2)
mark(and(x1, x2)) → andActive(mark(x1), x2)
andActive(x1, x2) → and(x1, x2)
mark(isNat(x1)) → isNatActive(x1)
isNatActive(x1) → isNat(x1)
mark(isNatIList(x1)) → isNatIListActive(x1)
isNatIListActive(x1) → isNatIList(x1)
mark(isNatIListKind(x1)) → isNatIListKindActive(x1)
isNatIListKindActive(x1) → isNatIListKind(x1)
mark(isNatKind(x1)) → isNatKindActive(x1)
isNatKindActive(x1) → isNatKind(x1)
mark(isNatList(x1)) → isNatListActive(x1)
isNatListActive(x1) → isNatList(x1)
mark(length(x1)) → lengthActive(mark(x1))
lengthActive(x1) → length(x1)
mark(cons(x1, x2)) → cons(mark(x1), x2)
mark(0) → 0
mark(tt) → tt
mark(s(x1)) → s(mark(x1))
mark(nil) → nil
zerosActive → cons(0, zeros)
U21Active(tt, V1) → U22Active(isNatActive(V1))
U22Active(tt) → tt
U41Active(tt, V1, V2) → U42Active(isNatActive(V1), V2)
U42Active(tt, V2) → U43Active(isNatIListActive(V2))
U43Active(tt) → tt
U51Active(tt, V1, V2) → U52Active(isNatActive(V1), V2)
U52Active(tt, V2) → U53Active(isNatListActive(V2))
U53Active(tt) → tt
U61Active(tt, L) → s(lengthActive(mark(L)))
andActive(tt, X) → mark(X)
isNatActive(0) → tt
isNatActive(s(V1)) → U21Active(isNatKindActive(V1), V1)
isNatIListActive(cons(V1, V2)) → U41Active(andActive(isNatKindActive(V1), isNatIListKind(V2)), V1, V2)
isNatIListKindActive(nil) → tt
isNatIListKindActive(zeros) → tt
isNatIListKindActive(cons(V1, V2)) → andActive(isNatKindActive(V1), isNatIListKind(V2))
isNatKindActive(0) → tt
isNatKindActive(length(V1)) → isNatIListKindActive(V1)
isNatKindActive(s(V1)) → isNatKindActive(V1)
isNatListActive(cons(V1, V2)) → U51Active(andActive(isNatKindActive(V1), isNatIListKind(V2)), V1, V2)
lengthActive(cons(N, L)) → U61Active(andActive(andActive(isNatListActive(L), isNatIListKind(L)), and(isNat(N), isNatKind(N))), L)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
U61ACTIVE(tt, L) → LENGTHACTIVE(mark(L))
POL(0) = 0
POL(LENGTHACTIVE(x1)) = 0
POL(U21(x1, x2)) = 1
POL(U21Active(x1, x2)) = 1
POL(U22(x1)) = 0
POL(U22Active(x1)) = x1
POL(U41(x1, x2, x3)) = 0
POL(U41Active(x1, x2, x3)) = 0
POL(U42(x1, x2)) = 0
POL(U42Active(x1, x2)) = 0
POL(U43(x1)) = 0
POL(U43Active(x1)) = x1
POL(U51(x1, x2, x3)) = 0
POL(U51Active(x1, x2, x3)) = 0
POL(U52(x1, x2)) = 0
POL(U52Active(x1, x2)) = 0
POL(U53(x1)) = 0
POL(U53Active(x1)) = x1
POL(U61(x1, x2)) = 0
POL(U61ACTIVE(x1, x2)) = x1
POL(U61Active(x1, x2)) = 0
POL(and(x1, x2)) = 0
POL(andActive(x1, x2)) = x1
POL(cons(x1, x2)) = 0
POL(isNat(x1)) = 0
POL(isNatActive(x1)) = 1
POL(isNatIList(x1)) = 0
POL(isNatIListActive(x1)) = 0
POL(isNatIListKind(x1)) = 0
POL(isNatIListKindActive(x1)) = 1
POL(isNatKind(x1)) = 0
POL(isNatKindActive(x1)) = 1
POL(isNatList(x1)) = 0
POL(isNatListActive(x1)) = 0
POL(length(x1)) = 0
POL(lengthActive(x1)) = 0
POL(mark(x1)) = 1
POL(nil) = 0
POL(s(x1)) = 0
POL(tt) = 1
POL(zeros) = 1
POL(zerosActive) = 1
U52Active(x1, x2) → U52(x1, x2)
mark(U52(x1, x2)) → U52Active(mark(x1), x2)
U51Active(x1, x2, x3) → U51(x1, x2, x3)
mark(U51(x1, x2, x3)) → U51Active(mark(x1), x2, x3)
U61Active(x1, x2) → U61(x1, x2)
mark(U61(x1, x2)) → U61Active(mark(x1), x2)
U53Active(x1) → U53(x1)
mark(U53(x1)) → U53Active(mark(x1))
U41Active(x1, x2, x3) → U41(x1, x2, x3)
mark(U41(x1, x2, x3)) → U41Active(mark(x1), x2, x3)
U22Active(x1) → U22(x1)
mark(U22(x1)) → U22Active(mark(x1))
U43Active(x1) → U43(x1)
mark(U43(x1)) → U43Active(mark(x1))
U42Active(x1, x2) → U42(x1, x2)
mark(U42(x1, x2)) → U42Active(mark(x1), x2)
mark(U21(x1, x2)) → U21Active(mark(x1), x2)
U21Active(x1, x2) → U21(x1, x2)
mark(zeros) → zerosActive
zerosActive → zeros
lengthActive(cons(N, L)) → U61Active(andActive(andActive(isNatListActive(L), isNatIListKind(L)), and(isNat(N), isNatKind(N))), L)
isNatListActive(cons(V1, V2)) → U51Active(andActive(isNatKindActive(V1), isNatIListKind(V2)), V1, V2)
isNatKindActive(0) → tt
isNatIListKindActive(zeros) → tt
isNatIListActive(cons(V1, V2)) → U41Active(andActive(isNatKindActive(V1), isNatIListKind(V2)), V1, V2)
isNatIListKindActive(nil) → tt
U61Active(tt, L) → s(lengthActive(mark(L)))
isNatActive(s(V1)) → U21Active(isNatKindActive(V1), V1)
isNatActive(0) → tt
U51Active(tt, V1, V2) → U52Active(isNatActive(V1), V2)
U43Active(tt) → tt
U53Active(tt) → tt
U52Active(tt, V2) → U53Active(isNatListActive(V2))
U22Active(tt) → tt
U21Active(tt, V1) → U22Active(isNatActive(V1))
U42Active(tt, V2) → U43Active(isNatIListActive(V2))
U41Active(tt, V1, V2) → U42Active(isNatActive(V1), V2)
mark(s(x1)) → s(mark(x1))
mark(tt) → tt
zerosActive → cons(0, zeros)
mark(nil) → nil
mark(length(x1)) → lengthActive(mark(x1))
lengthActive(x1) → length(x1)
mark(cons(x1, x2)) → cons(mark(x1), x2)
mark(0) → 0
isNatKindActive(x1) → isNatKind(x1)
mark(isNatList(x1)) → isNatListActive(x1)
isNatListActive(x1) → isNatList(x1)
mark(isNatIList(x1)) → isNatIListActive(x1)
isNatIListActive(x1) → isNatIList(x1)
isNatIListKindActive(x1) → isNatIListKind(x1)
isNatKindActive(length(V1)) → isNatIListKindActive(V1)
isNatIListKindActive(cons(V1, V2)) → andActive(isNatKindActive(V1), isNatIListKind(V2))
mark(isNatKind(x1)) → isNatKindActive(x1)
mark(and(x1, x2)) → andActive(mark(x1), x2)
andActive(tt, X) → mark(X)
mark(isNatIListKind(x1)) → isNatIListKindActive(x1)
isNatKindActive(s(V1)) → isNatKindActive(V1)
andActive(x1, x2) → and(x1, x2)
mark(isNat(x1)) → isNatActive(x1)
isNatActive(x1) → isNat(x1)
LENGTHACTIVE(cons(N, L)) → U61ACTIVE(andActive(andActive(isNatListActive(L), isNatIListKind(L)), and(isNat(N), isNatKind(N))), L)
mark(zeros) → zerosActive
zerosActive → zeros
mark(U21(x1, x2)) → U21Active(mark(x1), x2)
U21Active(x1, x2) → U21(x1, x2)
mark(U22(x1)) → U22Active(mark(x1))
U22Active(x1) → U22(x1)
mark(U41(x1, x2, x3)) → U41Active(mark(x1), x2, x3)
U41Active(x1, x2, x3) → U41(x1, x2, x3)
mark(U42(x1, x2)) → U42Active(mark(x1), x2)
U42Active(x1, x2) → U42(x1, x2)
mark(U43(x1)) → U43Active(mark(x1))
U43Active(x1) → U43(x1)
mark(U51(x1, x2, x3)) → U51Active(mark(x1), x2, x3)
U51Active(x1, x2, x3) → U51(x1, x2, x3)
mark(U52(x1, x2)) → U52Active(mark(x1), x2)
U52Active(x1, x2) → U52(x1, x2)
mark(U53(x1)) → U53Active(mark(x1))
U53Active(x1) → U53(x1)
mark(U61(x1, x2)) → U61Active(mark(x1), x2)
U61Active(x1, x2) → U61(x1, x2)
mark(and(x1, x2)) → andActive(mark(x1), x2)
andActive(x1, x2) → and(x1, x2)
mark(isNat(x1)) → isNatActive(x1)
isNatActive(x1) → isNat(x1)
mark(isNatIList(x1)) → isNatIListActive(x1)
isNatIListActive(x1) → isNatIList(x1)
mark(isNatIListKind(x1)) → isNatIListKindActive(x1)
isNatIListKindActive(x1) → isNatIListKind(x1)
mark(isNatKind(x1)) → isNatKindActive(x1)
isNatKindActive(x1) → isNatKind(x1)
mark(isNatList(x1)) → isNatListActive(x1)
isNatListActive(x1) → isNatList(x1)
mark(length(x1)) → lengthActive(mark(x1))
lengthActive(x1) → length(x1)
mark(cons(x1, x2)) → cons(mark(x1), x2)
mark(0) → 0
mark(tt) → tt
mark(s(x1)) → s(mark(x1))
mark(nil) → nil
zerosActive → cons(0, zeros)
U21Active(tt, V1) → U22Active(isNatActive(V1))
U22Active(tt) → tt
U41Active(tt, V1, V2) → U42Active(isNatActive(V1), V2)
U42Active(tt, V2) → U43Active(isNatIListActive(V2))
U43Active(tt) → tt
U51Active(tt, V1, V2) → U52Active(isNatActive(V1), V2)
U52Active(tt, V2) → U53Active(isNatListActive(V2))
U53Active(tt) → tt
U61Active(tt, L) → s(lengthActive(mark(L)))
andActive(tt, X) → mark(X)
isNatActive(0) → tt
isNatActive(s(V1)) → U21Active(isNatKindActive(V1), V1)
isNatIListActive(cons(V1, V2)) → U41Active(andActive(isNatKindActive(V1), isNatIListKind(V2)), V1, V2)
isNatIListKindActive(nil) → tt
isNatIListKindActive(zeros) → tt
isNatIListKindActive(cons(V1, V2)) → andActive(isNatKindActive(V1), isNatIListKind(V2))
isNatKindActive(0) → tt
isNatKindActive(length(V1)) → isNatIListKindActive(V1)
isNatKindActive(s(V1)) → isNatKindActive(V1)
isNatListActive(cons(V1, V2)) → U51Active(andActive(isNatKindActive(V1), isNatIListKind(V2)), V1, V2)
lengthActive(cons(N, L)) → U61Active(andActive(andActive(isNatListActive(L), isNatIListKind(L)), and(isNat(N), isNatKind(N))), L)
U41ACTIVE(tt, V1, V2) → U42ACTIVE(isNatActive(V1), V2)
U42ACTIVE(tt, V2) → ISNATILISTACTIVE(V2)
ISNATILISTACTIVE(cons(V1, V2)) → U41ACTIVE(andActive(isNatKindActive(V1), isNatIListKind(V2)), V1, V2)
mark(zeros) → zerosActive
zerosActive → zeros
mark(U21(x1, x2)) → U21Active(mark(x1), x2)
U21Active(x1, x2) → U21(x1, x2)
mark(U22(x1)) → U22Active(mark(x1))
U22Active(x1) → U22(x1)
mark(U41(x1, x2, x3)) → U41Active(mark(x1), x2, x3)
U41Active(x1, x2, x3) → U41(x1, x2, x3)
mark(U42(x1, x2)) → U42Active(mark(x1), x2)
U42Active(x1, x2) → U42(x1, x2)
mark(U43(x1)) → U43Active(mark(x1))
U43Active(x1) → U43(x1)
mark(U51(x1, x2, x3)) → U51Active(mark(x1), x2, x3)
U51Active(x1, x2, x3) → U51(x1, x2, x3)
mark(U52(x1, x2)) → U52Active(mark(x1), x2)
U52Active(x1, x2) → U52(x1, x2)
mark(U53(x1)) → U53Active(mark(x1))
U53Active(x1) → U53(x1)
mark(U61(x1, x2)) → U61Active(mark(x1), x2)
U61Active(x1, x2) → U61(x1, x2)
mark(and(x1, x2)) → andActive(mark(x1), x2)
andActive(x1, x2) → and(x1, x2)
mark(isNat(x1)) → isNatActive(x1)
isNatActive(x1) → isNat(x1)
mark(isNatIList(x1)) → isNatIListActive(x1)
isNatIListActive(x1) → isNatIList(x1)
mark(isNatIListKind(x1)) → isNatIListKindActive(x1)
isNatIListKindActive(x1) → isNatIListKind(x1)
mark(isNatKind(x1)) → isNatKindActive(x1)
isNatKindActive(x1) → isNatKind(x1)
mark(isNatList(x1)) → isNatListActive(x1)
isNatListActive(x1) → isNatList(x1)
mark(length(x1)) → lengthActive(mark(x1))
lengthActive(x1) → length(x1)
mark(cons(x1, x2)) → cons(mark(x1), x2)
mark(0) → 0
mark(tt) → tt
mark(s(x1)) → s(mark(x1))
mark(nil) → nil
zerosActive → cons(0, zeros)
U21Active(tt, V1) → U22Active(isNatActive(V1))
U22Active(tt) → tt
U41Active(tt, V1, V2) → U42Active(isNatActive(V1), V2)
U42Active(tt, V2) → U43Active(isNatIListActive(V2))
U43Active(tt) → tt
U51Active(tt, V1, V2) → U52Active(isNatActive(V1), V2)
U52Active(tt, V2) → U53Active(isNatListActive(V2))
U53Active(tt) → tt
U61Active(tt, L) → s(lengthActive(mark(L)))
andActive(tt, X) → mark(X)
isNatActive(0) → tt
isNatActive(s(V1)) → U21Active(isNatKindActive(V1), V1)
isNatIListActive(cons(V1, V2)) → U41Active(andActive(isNatKindActive(V1), isNatIListKind(V2)), V1, V2)
isNatIListKindActive(nil) → tt
isNatIListKindActive(zeros) → tt
isNatIListKindActive(cons(V1, V2)) → andActive(isNatKindActive(V1), isNatIListKind(V2))
isNatKindActive(0) → tt
isNatKindActive(length(V1)) → isNatIListKindActive(V1)
isNatKindActive(s(V1)) → isNatKindActive(V1)
isNatListActive(cons(V1, V2)) → U51Active(andActive(isNatKindActive(V1), isNatIListKind(V2)), V1, V2)
lengthActive(cons(N, L)) → U61Active(andActive(andActive(isNatListActive(L), isNatIListKind(L)), and(isNat(N), isNatKind(N))), L)
From the DPs we obtained the following set of size-change graphs: