YES
0 QTRS
↳1 QTRSRRRProof (⇔, 190 ms)
↳2 QTRS
↳3 QTRSRRRProof (⇔, 0 ms)
↳4 QTRS
↳5 QTRSRRRProof (⇔, 0 ms)
↳6 QTRS
↳7 RisEmptyProof (⇔, 0 ms)
↳8 YES
__(__(X, Y), Z) → __(X, __(Y, Z))
__(X, nil) → X
__(nil, X) → X
U11(tt, V) → U12(isNeList(activate(V)))
U12(tt) → tt
U21(tt, V1, V2) → U22(isList(activate(V1)), activate(V2))
U22(tt, V2) → U23(isList(activate(V2)))
U23(tt) → tt
U31(tt, V) → U32(isQid(activate(V)))
U32(tt) → tt
U41(tt, V1, V2) → U42(isList(activate(V1)), activate(V2))
U42(tt, V2) → U43(isNeList(activate(V2)))
U43(tt) → tt
U51(tt, V1, V2) → U52(isNeList(activate(V1)), activate(V2))
U52(tt, V2) → U53(isList(activate(V2)))
U53(tt) → tt
U61(tt, V) → U62(isQid(activate(V)))
U62(tt) → tt
U71(tt, V) → U72(isNePal(activate(V)))
U72(tt) → tt
and(tt, X) → activate(X)
isList(V) → U11(isPalListKind(activate(V)), activate(V))
isList(n__nil) → tt
isList(n____(V1, V2)) → U21(and(isPalListKind(activate(V1)), n__isPalListKind(activate(V2))), activate(V1), activate(V2))
isNeList(V) → U31(isPalListKind(activate(V)), activate(V))
isNeList(n____(V1, V2)) → U41(and(isPalListKind(activate(V1)), n__isPalListKind(activate(V2))), activate(V1), activate(V2))
isNeList(n____(V1, V2)) → U51(and(isPalListKind(activate(V1)), n__isPalListKind(activate(V2))), activate(V1), activate(V2))
isNePal(V) → U61(isPalListKind(activate(V)), activate(V))
isNePal(n____(I, n____(P, I))) → and(and(isQid(activate(I)), n__isPalListKind(activate(I))), n__and(n__isPal(activate(P)), n__isPalListKind(activate(P))))
isPal(V) → U71(isPalListKind(activate(V)), activate(V))
isPal(n__nil) → tt
isPalListKind(n__a) → tt
isPalListKind(n__e) → tt
isPalListKind(n__i) → tt
isPalListKind(n__nil) → tt
isPalListKind(n__o) → tt
isPalListKind(n__u) → tt
isPalListKind(n____(V1, V2)) → and(isPalListKind(activate(V1)), n__isPalListKind(activate(V2)))
isQid(n__a) → tt
isQid(n__e) → tt
isQid(n__i) → tt
isQid(n__o) → tt
isQid(n__u) → tt
nil → n__nil
__(X1, X2) → n____(X1, X2)
isPalListKind(X) → n__isPalListKind(X)
and(X1, X2) → n__and(X1, X2)
isPal(X) → n__isPal(X)
a → n__a
e → n__e
i → n__i
o → n__o
u → n__u
activate(n__nil) → nil
activate(n____(X1, X2)) → __(activate(X1), activate(X2))
activate(n__isPalListKind(X)) → isPalListKind(X)
activate(n__and(X1, X2)) → and(activate(X1), X2)
activate(n__isPal(X)) → isPal(X)
activate(n__a) → a
activate(n__e) → e
activate(n__i) → i
activate(n__o) → o
activate(n__u) → u
activate(X) → X
[2, n2, nisPal1, isPal1] > [tt, nu, u] > U222 > isList1 > [U112, isNeList1] > [isPalListKind1, nisPalListKind1] > [U312, isQid1]
[2, n2, nisPal1, isPal1] > [tt, nu, u] > U522 > isList1 > [U112, isNeList1] > [isPalListKind1, nisPalListKind1] > [U312, isQid1]
[2, n2, nisPal1, isPal1] > U213 > U222 > isList1 > [U112, isNeList1] > [isPalListKind1, nisPalListKind1] > [U312, isQid1]
[2, n2, nisPal1, isPal1] > U413 > isList1 > [U112, isNeList1] > [isPalListKind1, nisPalListKind1] > [U312, isQid1]
[2, n2, nisPal1, isPal1] > U413 > U422 > [U112, isNeList1] > [isPalListKind1, nisPalListKind1] > [U312, isQid1]
[2, n2, nisPal1, isPal1] > U513 > U522 > isList1 > [U112, isNeList1] > [isPalListKind1, nisPalListKind1] > [U312, isQid1]
[2, n2, nisPal1, isPal1] > [U712, isNePal1, and2, nand2] > U612 > [U312, isQid1]
[2, n2, nisPal1, isPal1] > [U712, isNePal1, and2, nand2] > [isPalListKind1, nisPalListKind1] > [U312, isQid1]
[nil, nnil] > [tt, nu, u] > U222 > isList1 > [U112, isNeList1] > [isPalListKind1, nisPalListKind1] > [U312, isQid1]
[nil, nnil] > [tt, nu, u] > U522 > isList1 > [U112, isNeList1] > [isPalListKind1, nisPalListKind1] > [U312, isQid1]
[na, a] > [tt, nu, u] > U222 > isList1 > [U112, isNeList1] > [isPalListKind1, nisPalListKind1] > [U312, isQid1]
[na, a] > [tt, nu, u] > U522 > isList1 > [U112, isNeList1] > [isPalListKind1, nisPalListKind1] > [U312, isQid1]
[ne, e] > [tt, nu, u] > U222 > isList1 > [U112, isNeList1] > [isPalListKind1, nisPalListKind1] > [U312, isQid1]
[ne, e] > [tt, nu, u] > U522 > isList1 > [U112, isNeList1] > [isPalListKind1, nisPalListKind1] > [U312, isQid1]
[ni, i] > [tt, nu, u] > U222 > isList1 > [U112, isNeList1] > [isPalListKind1, nisPalListKind1] > [U312, isQid1]
[ni, i] > [tt, nu, u] > U522 > isList1 > [U112, isNeList1] > [isPalListKind1, nisPalListKind1] > [U312, isQid1]
[no, o] > [tt, nu, u] > U222 > isList1 > [U112, isNeList1] > [isPalListKind1, nisPalListKind1] > [U312, isQid1]
[no, o] > [tt, nu, u] > U522 > isList1 > [U112, isNeList1] > [isPalListKind1, nisPalListKind1] > [U312, isQid1]
_2: [1,2]
nil: multiset
U112: [2,1]
tt: multiset
isNeList1: [1]
U213: [3,1,2]
U222: multiset
isList1: multiset
U312: [2,1]
isQid1: [1]
U413: [3,2,1]
U422: [2,1]
U513: [2,3,1]
U522: [2,1]
U612: multiset
U712: multiset
isNePal1: multiset
and2: [1,2]
isPalListKind1: [1]
nnil: multiset
n2: [1,2]
nisPalListKind1: [1]
nand2: [1,2]
nisPal1: [1]
isPal1: [1]
na: multiset
ne: multiset
ni: multiset
no: multiset
nu: multiset
a: multiset
e: multiset
i: multiset
o: multiset
u: multiset
__(__(X, Y), Z) → __(X, __(Y, Z))
__(X, nil) → X
__(nil, X) → X
U11(tt, V) → U12(isNeList(activate(V)))
U21(tt, V1, V2) → U22(isList(activate(V1)), activate(V2))
U22(tt, V2) → U23(isList(activate(V2)))
U31(tt, V) → U32(isQid(activate(V)))
U41(tt, V1, V2) → U42(isList(activate(V1)), activate(V2))
U42(tt, V2) → U43(isNeList(activate(V2)))
U51(tt, V1, V2) → U52(isNeList(activate(V1)), activate(V2))
U52(tt, V2) → U53(isList(activate(V2)))
U61(tt, V) → U62(isQid(activate(V)))
U71(tt, V) → U72(isNePal(activate(V)))
and(tt, X) → activate(X)
isList(V) → U11(isPalListKind(activate(V)), activate(V))
isList(n__nil) → tt
isList(n____(V1, V2)) → U21(and(isPalListKind(activate(V1)), n__isPalListKind(activate(V2))), activate(V1), activate(V2))
isNeList(V) → U31(isPalListKind(activate(V)), activate(V))
isNeList(n____(V1, V2)) → U41(and(isPalListKind(activate(V1)), n__isPalListKind(activate(V2))), activate(V1), activate(V2))
isNeList(n____(V1, V2)) → U51(and(isPalListKind(activate(V1)), n__isPalListKind(activate(V2))), activate(V1), activate(V2))
isNePal(V) → U61(isPalListKind(activate(V)), activate(V))
isNePal(n____(I, n____(P, I))) → and(and(isQid(activate(I)), n__isPalListKind(activate(I))), n__and(n__isPal(activate(P)), n__isPalListKind(activate(P))))
isPal(V) → U71(isPalListKind(activate(V)), activate(V))
isPal(n__nil) → tt
isPalListKind(n__a) → tt
isPalListKind(n__e) → tt
isPalListKind(n__i) → tt
isPalListKind(n__nil) → tt
isPalListKind(n__o) → tt
isPalListKind(n__u) → tt
isPalListKind(n____(V1, V2)) → and(isPalListKind(activate(V1)), n__isPalListKind(activate(V2)))
isQid(n__a) → tt
isQid(n__e) → tt
isQid(n__i) → tt
isQid(n__o) → tt
isQid(n__u) → tt
U12(tt) → tt
U23(tt) → tt
U32(tt) → tt
U43(tt) → tt
U53(tt) → tt
U62(tt) → tt
U72(tt) → tt
nil → n__nil
__(X1, X2) → n____(X1, X2)
isPalListKind(X) → n__isPalListKind(X)
and(X1, X2) → n__and(X1, X2)
isPal(X) → n__isPal(X)
a → n__a
e → n__e
i → n__i
o → n__o
u → n__u
activate(n__nil) → nil
activate(n____(X1, X2)) → __(activate(X1), activate(X2))
activate(n__isPalListKind(X)) → isPalListKind(X)
activate(n__and(X1, X2)) → and(activate(X1), X2)
activate(n__isPal(X)) → isPal(X)
activate(n__a) → a
activate(n__e) → e
activate(n__i) → i
activate(n__o) → o
activate(n__u) → u
activate(X) → X
With this ordering the following rules can be removed by the rule removal processor [LPAR04] because they are oriented strictly:
POL(U12(x1)) = 1 + x1
POL(U23(x1)) = 2·x1
POL(U32(x1)) = 2 + 2·x1
POL(U43(x1)) = 2 + 2·x1
POL(U53(x1)) = 2 + 2·x1
POL(U62(x1)) = 2 + 2·x1
POL(U72(x1)) = 2·x1
POL(__(x1, x2)) = 2 + 2·x1 + x2
POL(a) = 1
POL(activate(x1)) = 1 + 2·x1
POL(and(x1, x2)) = 2 + 2·x1 + 2·x2
POL(e) = 2
POL(i) = 2
POL(isPal(x1)) = 2 + 2·x1
POL(isPalListKind(x1)) = 2 + 2·x1
POL(n____(x1, x2)) = 2 + 2·x1 + x2
POL(n__a) = 0
POL(n__and(x1, x2)) = 2 + 2·x1 + x2
POL(n__e) = 1
POL(n__i) = 2
POL(n__isPal(x1)) = 2 + x1
POL(n__isPalListKind(x1)) = 2 + x1
POL(n__nil) = 2
POL(n__o) = 1
POL(n__u) = 2
POL(nil) = 2
POL(o) = 2
POL(tt) = 1
POL(u) = 2
U12(tt) → tt
U23(tt) → tt
U32(tt) → tt
U43(tt) → tt
U53(tt) → tt
U62(tt) → tt
U72(tt) → tt
a → n__a
e → n__e
o → n__o
activate(n__nil) → nil
activate(n__isPalListKind(X)) → isPalListKind(X)
activate(n__and(X1, X2)) → and(activate(X1), X2)
activate(n__isPal(X)) → isPal(X)
activate(n__e) → e
activate(n__i) → i
activate(n__o) → o
activate(n__u) → u
activate(X) → X
nil → n__nil
__(X1, X2) → n____(X1, X2)
isPalListKind(X) → n__isPalListKind(X)
and(X1, X2) → n__and(X1, X2)
isPal(X) → n__isPal(X)
i → n__i
u → n__u
activate(n____(X1, X2)) → __(activate(X1), activate(X2))
activate(n__a) → a
activate1 > a > nil > nu > u > ni > nisPal1 > isPal1 > nisPalListKind1 > na > and2 > i > nand2 > isPalListKind1 > _2 > nnil > n2
nil=2
n__nil=1
i=2
n__i=1
u=2
n__u=1
n__a=1
a=1
isPalListKind_1=2
n__isPalListKind_1=1
isPal_1=2
n__isPal_1=1
activate_1=0
___2=0
n_____2=0
and_2=1
n__and_2=0
nil → n__nil
__(X1, X2) → n____(X1, X2)
isPalListKind(X) → n__isPalListKind(X)
and(X1, X2) → n__and(X1, X2)
isPal(X) → n__isPal(X)
i → n__i
u → n__u
activate(n____(X1, X2)) → __(activate(X1), activate(X2))
activate(n__a) → a