(0) Obligation:
Runtime Complexity TRS:
The TRS R consists of the following rules:
active(__(__(X, Y), Z)) → mark(__(X, __(Y, Z)))
active(__(X, nil)) → mark(X)
active(__(nil, X)) → mark(X)
active(U11(tt)) → mark(U12(tt))
active(U12(tt)) → mark(tt)
active(isNePal(__(I, __(P, I)))) → mark(U11(tt))
active(__(X1, X2)) → __(active(X1), X2)
active(__(X1, X2)) → __(X1, active(X2))
active(U11(X)) → U11(active(X))
active(U12(X)) → U12(active(X))
active(isNePal(X)) → isNePal(active(X))
__(mark(X1), X2) → mark(__(X1, X2))
__(X1, mark(X2)) → mark(__(X1, X2))
U11(mark(X)) → mark(U11(X))
U12(mark(X)) → mark(U12(X))
isNePal(mark(X)) → mark(isNePal(X))
proper(__(X1, X2)) → __(proper(X1), proper(X2))
proper(nil) → ok(nil)
proper(U11(X)) → U11(proper(X))
proper(tt) → ok(tt)
proper(U12(X)) → U12(proper(X))
proper(isNePal(X)) → isNePal(proper(X))
__(ok(X1), ok(X2)) → ok(__(X1, X2))
U11(ok(X)) → ok(U11(X))
U12(ok(X)) → ok(U12(X))
isNePal(ok(X)) → ok(isNePal(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))
Rewrite Strategy: INNERMOST
(1) CpxTrsToCdtProof (BOTH BOUNDS(ID, ID) transformation)
Converted Cpx (relative) TRS to CDT
(2) Obligation:
Complexity Dependency Tuples Problem
Rules:
active(__(__(z0, z1), z2)) → mark(__(z0, __(z1, z2)))
active(__(z0, nil)) → mark(z0)
active(__(nil, z0)) → mark(z0)
active(U11(tt)) → mark(U12(tt))
active(U12(tt)) → mark(tt)
active(isNePal(__(z0, __(z1, z0)))) → mark(U11(tt))
active(__(z0, z1)) → __(active(z0), z1)
active(__(z0, z1)) → __(z0, active(z1))
active(U11(z0)) → U11(active(z0))
active(U12(z0)) → U12(active(z0))
active(isNePal(z0)) → isNePal(active(z0))
__(mark(z0), z1) → mark(__(z0, z1))
__(z0, mark(z1)) → mark(__(z0, z1))
__(ok(z0), ok(z1)) → ok(__(z0, z1))
U11(mark(z0)) → mark(U11(z0))
U11(ok(z0)) → ok(U11(z0))
U12(mark(z0)) → mark(U12(z0))
U12(ok(z0)) → ok(U12(z0))
isNePal(mark(z0)) → mark(isNePal(z0))
isNePal(ok(z0)) → ok(isNePal(z0))
proper(__(z0, z1)) → __(proper(z0), proper(z1))
proper(nil) → ok(nil)
proper(U11(z0)) → U11(proper(z0))
proper(tt) → ok(tt)
proper(U12(z0)) → U12(proper(z0))
proper(isNePal(z0)) → isNePal(proper(z0))
top(mark(z0)) → top(proper(z0))
top(ok(z0)) → top(active(z0))
Tuples:
ACTIVE(__(__(z0, z1), z2)) → c(__'(z0, __(z1, z2)), __'(z1, z2))
ACTIVE(__(z0, nil)) → c1
ACTIVE(__(nil, z0)) → c2
ACTIVE(U11(tt)) → c3(U12'(tt))
ACTIVE(U12(tt)) → c4
ACTIVE(isNePal(__(z0, __(z1, z0)))) → c5(U11'(tt))
ACTIVE(__(z0, z1)) → c6(__'(active(z0), z1), ACTIVE(z0))
ACTIVE(__(z0, z1)) → c7(__'(z0, active(z1)), ACTIVE(z1))
ACTIVE(U11(z0)) → c8(U11'(active(z0)), ACTIVE(z0))
ACTIVE(U12(z0)) → c9(U12'(active(z0)), ACTIVE(z0))
ACTIVE(isNePal(z0)) → c10(ISNEPAL(active(z0)), ACTIVE(z0))
__'(mark(z0), z1) → c11(__'(z0, z1))
__'(z0, mark(z1)) → c12(__'(z0, z1))
__'(ok(z0), ok(z1)) → c13(__'(z0, z1))
U11'(mark(z0)) → c14(U11'(z0))
U11'(ok(z0)) → c15(U11'(z0))
U12'(mark(z0)) → c16(U12'(z0))
U12'(ok(z0)) → c17(U12'(z0))
ISNEPAL(mark(z0)) → c18(ISNEPAL(z0))
ISNEPAL(ok(z0)) → c19(ISNEPAL(z0))
PROPER(__(z0, z1)) → c20(__'(proper(z0), proper(z1)), PROPER(z0), PROPER(z1))
PROPER(nil) → c21
PROPER(U11(z0)) → c22(U11'(proper(z0)), PROPER(z0))
PROPER(tt) → c23
PROPER(U12(z0)) → c24(U12'(proper(z0)), PROPER(z0))
PROPER(isNePal(z0)) → c25(ISNEPAL(proper(z0)), PROPER(z0))
TOP(mark(z0)) → c26(TOP(proper(z0)), PROPER(z0))
TOP(ok(z0)) → c27(TOP(active(z0)), ACTIVE(z0))
S tuples:
ACTIVE(__(__(z0, z1), z2)) → c(__'(z0, __(z1, z2)), __'(z1, z2))
ACTIVE(__(z0, nil)) → c1
ACTIVE(__(nil, z0)) → c2
ACTIVE(U11(tt)) → c3(U12'(tt))
ACTIVE(U12(tt)) → c4
ACTIVE(isNePal(__(z0, __(z1, z0)))) → c5(U11'(tt))
ACTIVE(__(z0, z1)) → c6(__'(active(z0), z1), ACTIVE(z0))
ACTIVE(__(z0, z1)) → c7(__'(z0, active(z1)), ACTIVE(z1))
ACTIVE(U11(z0)) → c8(U11'(active(z0)), ACTIVE(z0))
ACTIVE(U12(z0)) → c9(U12'(active(z0)), ACTIVE(z0))
ACTIVE(isNePal(z0)) → c10(ISNEPAL(active(z0)), ACTIVE(z0))
__'(mark(z0), z1) → c11(__'(z0, z1))
__'(z0, mark(z1)) → c12(__'(z0, z1))
__'(ok(z0), ok(z1)) → c13(__'(z0, z1))
U11'(mark(z0)) → c14(U11'(z0))
U11'(ok(z0)) → c15(U11'(z0))
U12'(mark(z0)) → c16(U12'(z0))
U12'(ok(z0)) → c17(U12'(z0))
ISNEPAL(mark(z0)) → c18(ISNEPAL(z0))
ISNEPAL(ok(z0)) → c19(ISNEPAL(z0))
PROPER(__(z0, z1)) → c20(__'(proper(z0), proper(z1)), PROPER(z0), PROPER(z1))
PROPER(nil) → c21
PROPER(U11(z0)) → c22(U11'(proper(z0)), PROPER(z0))
PROPER(tt) → c23
PROPER(U12(z0)) → c24(U12'(proper(z0)), PROPER(z0))
PROPER(isNePal(z0)) → c25(ISNEPAL(proper(z0)), PROPER(z0))
TOP(mark(z0)) → c26(TOP(proper(z0)), PROPER(z0))
TOP(ok(z0)) → c27(TOP(active(z0)), ACTIVE(z0))
K tuples:none
Defined Rule Symbols:
active, __, U11, U12, isNePal, proper, top
Defined Pair Symbols:
ACTIVE, __', U11', U12', ISNEPAL, PROPER, TOP
Compound Symbols:
c, c1, c2, c3, c4, c5, c6, c7, c8, c9, c10, c11, c12, c13, c14, c15, c16, c17, c18, c19, c20, c21, c22, c23, c24, c25, c26, c27
(3) CdtLeafRemovalProof (BOTH BOUNDS(ID, ID) transformation)
Removed 7 trailing nodes:
ACTIVE(__(z0, nil)) → c1
ACTIVE(isNePal(__(z0, __(z1, z0)))) → c5(U11'(tt))
PROPER(nil) → c21
PROPER(tt) → c23
ACTIVE(__(nil, z0)) → c2
ACTIVE(U11(tt)) → c3(U12'(tt))
ACTIVE(U12(tt)) → c4
(4) Obligation:
Complexity Dependency Tuples Problem
Rules:
active(__(__(z0, z1), z2)) → mark(__(z0, __(z1, z2)))
active(__(z0, nil)) → mark(z0)
active(__(nil, z0)) → mark(z0)
active(U11(tt)) → mark(U12(tt))
active(U12(tt)) → mark(tt)
active(isNePal(__(z0, __(z1, z0)))) → mark(U11(tt))
active(__(z0, z1)) → __(active(z0), z1)
active(__(z0, z1)) → __(z0, active(z1))
active(U11(z0)) → U11(active(z0))
active(U12(z0)) → U12(active(z0))
active(isNePal(z0)) → isNePal(active(z0))
__(mark(z0), z1) → mark(__(z0, z1))
__(z0, mark(z1)) → mark(__(z0, z1))
__(ok(z0), ok(z1)) → ok(__(z0, z1))
U11(mark(z0)) → mark(U11(z0))
U11(ok(z0)) → ok(U11(z0))
U12(mark(z0)) → mark(U12(z0))
U12(ok(z0)) → ok(U12(z0))
isNePal(mark(z0)) → mark(isNePal(z0))
isNePal(ok(z0)) → ok(isNePal(z0))
proper(__(z0, z1)) → __(proper(z0), proper(z1))
proper(nil) → ok(nil)
proper(U11(z0)) → U11(proper(z0))
proper(tt) → ok(tt)
proper(U12(z0)) → U12(proper(z0))
proper(isNePal(z0)) → isNePal(proper(z0))
top(mark(z0)) → top(proper(z0))
top(ok(z0)) → top(active(z0))
Tuples:
ACTIVE(__(__(z0, z1), z2)) → c(__'(z0, __(z1, z2)), __'(z1, z2))
ACTIVE(__(z0, z1)) → c6(__'(active(z0), z1), ACTIVE(z0))
ACTIVE(__(z0, z1)) → c7(__'(z0, active(z1)), ACTIVE(z1))
ACTIVE(U11(z0)) → c8(U11'(active(z0)), ACTIVE(z0))
ACTIVE(U12(z0)) → c9(U12'(active(z0)), ACTIVE(z0))
ACTIVE(isNePal(z0)) → c10(ISNEPAL(active(z0)), ACTIVE(z0))
__'(mark(z0), z1) → c11(__'(z0, z1))
__'(z0, mark(z1)) → c12(__'(z0, z1))
__'(ok(z0), ok(z1)) → c13(__'(z0, z1))
U11'(mark(z0)) → c14(U11'(z0))
U11'(ok(z0)) → c15(U11'(z0))
U12'(mark(z0)) → c16(U12'(z0))
U12'(ok(z0)) → c17(U12'(z0))
ISNEPAL(mark(z0)) → c18(ISNEPAL(z0))
ISNEPAL(ok(z0)) → c19(ISNEPAL(z0))
PROPER(__(z0, z1)) → c20(__'(proper(z0), proper(z1)), PROPER(z0), PROPER(z1))
PROPER(U11(z0)) → c22(U11'(proper(z0)), PROPER(z0))
PROPER(U12(z0)) → c24(U12'(proper(z0)), PROPER(z0))
PROPER(isNePal(z0)) → c25(ISNEPAL(proper(z0)), PROPER(z0))
TOP(mark(z0)) → c26(TOP(proper(z0)), PROPER(z0))
TOP(ok(z0)) → c27(TOP(active(z0)), ACTIVE(z0))
S tuples:
ACTIVE(__(__(z0, z1), z2)) → c(__'(z0, __(z1, z2)), __'(z1, z2))
ACTIVE(__(z0, z1)) → c6(__'(active(z0), z1), ACTIVE(z0))
ACTIVE(__(z0, z1)) → c7(__'(z0, active(z1)), ACTIVE(z1))
ACTIVE(U11(z0)) → c8(U11'(active(z0)), ACTIVE(z0))
ACTIVE(U12(z0)) → c9(U12'(active(z0)), ACTIVE(z0))
ACTIVE(isNePal(z0)) → c10(ISNEPAL(active(z0)), ACTIVE(z0))
__'(mark(z0), z1) → c11(__'(z0, z1))
__'(z0, mark(z1)) → c12(__'(z0, z1))
__'(ok(z0), ok(z1)) → c13(__'(z0, z1))
U11'(mark(z0)) → c14(U11'(z0))
U11'(ok(z0)) → c15(U11'(z0))
U12'(mark(z0)) → c16(U12'(z0))
U12'(ok(z0)) → c17(U12'(z0))
ISNEPAL(mark(z0)) → c18(ISNEPAL(z0))
ISNEPAL(ok(z0)) → c19(ISNEPAL(z0))
PROPER(__(z0, z1)) → c20(__'(proper(z0), proper(z1)), PROPER(z0), PROPER(z1))
PROPER(U11(z0)) → c22(U11'(proper(z0)), PROPER(z0))
PROPER(U12(z0)) → c24(U12'(proper(z0)), PROPER(z0))
PROPER(isNePal(z0)) → c25(ISNEPAL(proper(z0)), PROPER(z0))
TOP(mark(z0)) → c26(TOP(proper(z0)), PROPER(z0))
TOP(ok(z0)) → c27(TOP(active(z0)), ACTIVE(z0))
K tuples:none
Defined Rule Symbols:
active, __, U11, U12, isNePal, proper, top
Defined Pair Symbols:
ACTIVE, __', U11', U12', ISNEPAL, PROPER, TOP
Compound Symbols:
c, c6, c7, c8, c9, c10, c11, c12, c13, c14, c15, c16, c17, c18, c19, c20, c22, c24, c25, c26, c27
(5) CdtGraphSplitRhsProof (BOTH BOUNDS(ID, ID) transformation)
Split RHS of tuples not part of any SCC
(6) Obligation:
Complexity Dependency Tuples Problem
Rules:
active(__(__(z0, z1), z2)) → mark(__(z0, __(z1, z2)))
active(__(z0, nil)) → mark(z0)
active(__(nil, z0)) → mark(z0)
active(U11(tt)) → mark(U12(tt))
active(U12(tt)) → mark(tt)
active(isNePal(__(z0, __(z1, z0)))) → mark(U11(tt))
active(__(z0, z1)) → __(active(z0), z1)
active(__(z0, z1)) → __(z0, active(z1))
active(U11(z0)) → U11(active(z0))
active(U12(z0)) → U12(active(z0))
active(isNePal(z0)) → isNePal(active(z0))
__(mark(z0), z1) → mark(__(z0, z1))
__(z0, mark(z1)) → mark(__(z0, z1))
__(ok(z0), ok(z1)) → ok(__(z0, z1))
U11(mark(z0)) → mark(U11(z0))
U11(ok(z0)) → ok(U11(z0))
U12(mark(z0)) → mark(U12(z0))
U12(ok(z0)) → ok(U12(z0))
isNePal(mark(z0)) → mark(isNePal(z0))
isNePal(ok(z0)) → ok(isNePal(z0))
proper(__(z0, z1)) → __(proper(z0), proper(z1))
proper(nil) → ok(nil)
proper(U11(z0)) → U11(proper(z0))
proper(tt) → ok(tt)
proper(U12(z0)) → U12(proper(z0))
proper(isNePal(z0)) → isNePal(proper(z0))
top(mark(z0)) → top(proper(z0))
top(ok(z0)) → top(active(z0))
Tuples:
ACTIVE(__(z0, z1)) → c6(__'(active(z0), z1), ACTIVE(z0))
ACTIVE(__(z0, z1)) → c7(__'(z0, active(z1)), ACTIVE(z1))
ACTIVE(U11(z0)) → c8(U11'(active(z0)), ACTIVE(z0))
ACTIVE(U12(z0)) → c9(U12'(active(z0)), ACTIVE(z0))
ACTIVE(isNePal(z0)) → c10(ISNEPAL(active(z0)), ACTIVE(z0))
__'(mark(z0), z1) → c11(__'(z0, z1))
__'(z0, mark(z1)) → c12(__'(z0, z1))
__'(ok(z0), ok(z1)) → c13(__'(z0, z1))
U11'(mark(z0)) → c14(U11'(z0))
U11'(ok(z0)) → c15(U11'(z0))
U12'(mark(z0)) → c16(U12'(z0))
U12'(ok(z0)) → c17(U12'(z0))
ISNEPAL(mark(z0)) → c18(ISNEPAL(z0))
ISNEPAL(ok(z0)) → c19(ISNEPAL(z0))
PROPER(__(z0, z1)) → c20(__'(proper(z0), proper(z1)), PROPER(z0), PROPER(z1))
PROPER(U11(z0)) → c22(U11'(proper(z0)), PROPER(z0))
PROPER(U12(z0)) → c24(U12'(proper(z0)), PROPER(z0))
PROPER(isNePal(z0)) → c25(ISNEPAL(proper(z0)), PROPER(z0))
TOP(mark(z0)) → c26(TOP(proper(z0)), PROPER(z0))
TOP(ok(z0)) → c27(TOP(active(z0)), ACTIVE(z0))
ACTIVE(__(__(z0, z1), z2)) → c1(__'(z0, __(z1, z2)))
ACTIVE(__(__(z0, z1), z2)) → c1(__'(z1, z2))
S tuples:
ACTIVE(__(z0, z1)) → c6(__'(active(z0), z1), ACTIVE(z0))
ACTIVE(__(z0, z1)) → c7(__'(z0, active(z1)), ACTIVE(z1))
ACTIVE(U11(z0)) → c8(U11'(active(z0)), ACTIVE(z0))
ACTIVE(U12(z0)) → c9(U12'(active(z0)), ACTIVE(z0))
ACTIVE(isNePal(z0)) → c10(ISNEPAL(active(z0)), ACTIVE(z0))
__'(mark(z0), z1) → c11(__'(z0, z1))
__'(z0, mark(z1)) → c12(__'(z0, z1))
__'(ok(z0), ok(z1)) → c13(__'(z0, z1))
U11'(mark(z0)) → c14(U11'(z0))
U11'(ok(z0)) → c15(U11'(z0))
U12'(mark(z0)) → c16(U12'(z0))
U12'(ok(z0)) → c17(U12'(z0))
ISNEPAL(mark(z0)) → c18(ISNEPAL(z0))
ISNEPAL(ok(z0)) → c19(ISNEPAL(z0))
PROPER(__(z0, z1)) → c20(__'(proper(z0), proper(z1)), PROPER(z0), PROPER(z1))
PROPER(U11(z0)) → c22(U11'(proper(z0)), PROPER(z0))
PROPER(U12(z0)) → c24(U12'(proper(z0)), PROPER(z0))
PROPER(isNePal(z0)) → c25(ISNEPAL(proper(z0)), PROPER(z0))
TOP(mark(z0)) → c26(TOP(proper(z0)), PROPER(z0))
TOP(ok(z0)) → c27(TOP(active(z0)), ACTIVE(z0))
ACTIVE(__(__(z0, z1), z2)) → c1(__'(z0, __(z1, z2)))
ACTIVE(__(__(z0, z1), z2)) → c1(__'(z1, z2))
K tuples:none
Defined Rule Symbols:
active, __, U11, U12, isNePal, proper, top
Defined Pair Symbols:
ACTIVE, __', U11', U12', ISNEPAL, PROPER, TOP
Compound Symbols:
c6, c7, c8, c9, c10, c11, c12, c13, c14, c15, c16, c17, c18, c19, c20, c22, c24, c25, c26, c27, c1
(7) CdtUsableRulesProof (EQUIVALENT transformation)
The following rules are not usable and were removed:
top(mark(z0)) → top(proper(z0))
top(ok(z0)) → top(active(z0))
(8) Obligation:
Complexity Dependency Tuples Problem
Rules:
active(__(__(z0, z1), z2)) → mark(__(z0, __(z1, z2)))
active(__(z0, nil)) → mark(z0)
active(__(nil, z0)) → mark(z0)
active(U11(tt)) → mark(U12(tt))
active(U12(tt)) → mark(tt)
active(isNePal(__(z0, __(z1, z0)))) → mark(U11(tt))
active(__(z0, z1)) → __(active(z0), z1)
active(__(z0, z1)) → __(z0, active(z1))
active(U11(z0)) → U11(active(z0))
active(U12(z0)) → U12(active(z0))
active(isNePal(z0)) → isNePal(active(z0))
__(z0, mark(z1)) → mark(__(z0, z1))
__(ok(z0), ok(z1)) → ok(__(z0, z1))
__(mark(z0), z1) → mark(__(z0, z1))
U11(mark(z0)) → mark(U11(z0))
U11(ok(z0)) → ok(U11(z0))
U12(mark(z0)) → mark(U12(z0))
U12(ok(z0)) → ok(U12(z0))
isNePal(mark(z0)) → mark(isNePal(z0))
isNePal(ok(z0)) → ok(isNePal(z0))
proper(__(z0, z1)) → __(proper(z0), proper(z1))
proper(nil) → ok(nil)
proper(U11(z0)) → U11(proper(z0))
proper(tt) → ok(tt)
proper(U12(z0)) → U12(proper(z0))
proper(isNePal(z0)) → isNePal(proper(z0))
Tuples:
ACTIVE(__(z0, z1)) → c6(__'(active(z0), z1), ACTIVE(z0))
ACTIVE(__(z0, z1)) → c7(__'(z0, active(z1)), ACTIVE(z1))
ACTIVE(U11(z0)) → c8(U11'(active(z0)), ACTIVE(z0))
ACTIVE(U12(z0)) → c9(U12'(active(z0)), ACTIVE(z0))
ACTIVE(isNePal(z0)) → c10(ISNEPAL(active(z0)), ACTIVE(z0))
__'(mark(z0), z1) → c11(__'(z0, z1))
__'(z0, mark(z1)) → c12(__'(z0, z1))
__'(ok(z0), ok(z1)) → c13(__'(z0, z1))
U11'(mark(z0)) → c14(U11'(z0))
U11'(ok(z0)) → c15(U11'(z0))
U12'(mark(z0)) → c16(U12'(z0))
U12'(ok(z0)) → c17(U12'(z0))
ISNEPAL(mark(z0)) → c18(ISNEPAL(z0))
ISNEPAL(ok(z0)) → c19(ISNEPAL(z0))
PROPER(__(z0, z1)) → c20(__'(proper(z0), proper(z1)), PROPER(z0), PROPER(z1))
PROPER(U11(z0)) → c22(U11'(proper(z0)), PROPER(z0))
PROPER(U12(z0)) → c24(U12'(proper(z0)), PROPER(z0))
PROPER(isNePal(z0)) → c25(ISNEPAL(proper(z0)), PROPER(z0))
TOP(mark(z0)) → c26(TOP(proper(z0)), PROPER(z0))
TOP(ok(z0)) → c27(TOP(active(z0)), ACTIVE(z0))
ACTIVE(__(__(z0, z1), z2)) → c1(__'(z0, __(z1, z2)))
ACTIVE(__(__(z0, z1), z2)) → c1(__'(z1, z2))
S tuples:
ACTIVE(__(z0, z1)) → c6(__'(active(z0), z1), ACTIVE(z0))
ACTIVE(__(z0, z1)) → c7(__'(z0, active(z1)), ACTIVE(z1))
ACTIVE(U11(z0)) → c8(U11'(active(z0)), ACTIVE(z0))
ACTIVE(U12(z0)) → c9(U12'(active(z0)), ACTIVE(z0))
ACTIVE(isNePal(z0)) → c10(ISNEPAL(active(z0)), ACTIVE(z0))
__'(mark(z0), z1) → c11(__'(z0, z1))
__'(z0, mark(z1)) → c12(__'(z0, z1))
__'(ok(z0), ok(z1)) → c13(__'(z0, z1))
U11'(mark(z0)) → c14(U11'(z0))
U11'(ok(z0)) → c15(U11'(z0))
U12'(mark(z0)) → c16(U12'(z0))
U12'(ok(z0)) → c17(U12'(z0))
ISNEPAL(mark(z0)) → c18(ISNEPAL(z0))
ISNEPAL(ok(z0)) → c19(ISNEPAL(z0))
PROPER(__(z0, z1)) → c20(__'(proper(z0), proper(z1)), PROPER(z0), PROPER(z1))
PROPER(U11(z0)) → c22(U11'(proper(z0)), PROPER(z0))
PROPER(U12(z0)) → c24(U12'(proper(z0)), PROPER(z0))
PROPER(isNePal(z0)) → c25(ISNEPAL(proper(z0)), PROPER(z0))
TOP(mark(z0)) → c26(TOP(proper(z0)), PROPER(z0))
TOP(ok(z0)) → c27(TOP(active(z0)), ACTIVE(z0))
ACTIVE(__(__(z0, z1), z2)) → c1(__'(z0, __(z1, z2)))
ACTIVE(__(__(z0, z1), z2)) → c1(__'(z1, z2))
K tuples:none
Defined Rule Symbols:
active, __, U11, U12, isNePal, proper
Defined Pair Symbols:
ACTIVE, __', U11', U12', ISNEPAL, PROPER, TOP
Compound Symbols:
c6, c7, c8, c9, c10, c11, c12, c13, c14, c15, c16, c17, c18, c19, c20, c22, c24, c25, c26, c27, c1
(9) CdtRuleRemovalProof (UPPER BOUND (ADD(O(n^1))) transformation)
Found a reduction pair which oriented the following tuples strictly. Hence they can be removed from S.
TOP(mark(z0)) → c26(TOP(proper(z0)), PROPER(z0))
We considered the (Usable) Rules:
active(U11(tt)) → mark(U12(tt))
U11(mark(z0)) → mark(U11(z0))
U12(mark(z0)) → mark(U12(z0))
active(__(nil, z0)) → mark(z0)
active(__(z0, nil)) → mark(z0)
__(z0, mark(z1)) → mark(__(z0, z1))
proper(__(z0, z1)) → __(proper(z0), proper(z1))
U11(ok(z0)) → ok(U11(z0))
proper(U12(z0)) → U12(proper(z0))
__(ok(z0), ok(z1)) → ok(__(z0, z1))
proper(nil) → ok(nil)
proper(U11(z0)) → U11(proper(z0))
active(__(z0, z1)) → __(active(z0), z1)
active(U12(z0)) → U12(active(z0))
active(isNePal(__(z0, __(z1, z0)))) → mark(U11(tt))
active(__(z0, z1)) → __(z0, active(z1))
active(U11(z0)) → U11(active(z0))
proper(isNePal(z0)) → isNePal(proper(z0))
U12(ok(z0)) → ok(U12(z0))
__(mark(z0), z1) → mark(__(z0, z1))
active(__(__(z0, z1), z2)) → mark(__(z0, __(z1, z2)))
active(isNePal(z0)) → isNePal(active(z0))
isNePal(ok(z0)) → ok(isNePal(z0))
proper(tt) → ok(tt)
active(U12(tt)) → mark(tt)
isNePal(mark(z0)) → mark(isNePal(z0))
And the Tuples:
ACTIVE(__(z0, z1)) → c6(__'(active(z0), z1), ACTIVE(z0))
ACTIVE(__(z0, z1)) → c7(__'(z0, active(z1)), ACTIVE(z1))
ACTIVE(U11(z0)) → c8(U11'(active(z0)), ACTIVE(z0))
ACTIVE(U12(z0)) → c9(U12'(active(z0)), ACTIVE(z0))
ACTIVE(isNePal(z0)) → c10(ISNEPAL(active(z0)), ACTIVE(z0))
__'(mark(z0), z1) → c11(__'(z0, z1))
__'(z0, mark(z1)) → c12(__'(z0, z1))
__'(ok(z0), ok(z1)) → c13(__'(z0, z1))
U11'(mark(z0)) → c14(U11'(z0))
U11'(ok(z0)) → c15(U11'(z0))
U12'(mark(z0)) → c16(U12'(z0))
U12'(ok(z0)) → c17(U12'(z0))
ISNEPAL(mark(z0)) → c18(ISNEPAL(z0))
ISNEPAL(ok(z0)) → c19(ISNEPAL(z0))
PROPER(__(z0, z1)) → c20(__'(proper(z0), proper(z1)), PROPER(z0), PROPER(z1))
PROPER(U11(z0)) → c22(U11'(proper(z0)), PROPER(z0))
PROPER(U12(z0)) → c24(U12'(proper(z0)), PROPER(z0))
PROPER(isNePal(z0)) → c25(ISNEPAL(proper(z0)), PROPER(z0))
TOP(mark(z0)) → c26(TOP(proper(z0)), PROPER(z0))
TOP(ok(z0)) → c27(TOP(active(z0)), ACTIVE(z0))
ACTIVE(__(__(z0, z1), z2)) → c1(__'(z0, __(z1, z2)))
ACTIVE(__(__(z0, z1), z2)) → c1(__'(z1, z2))
The order we found is given by the following interpretation:
Polynomial interpretation :
POL(ACTIVE(x1)) = 0
POL(ISNEPAL(x1)) = 0
POL(PROPER(x1)) = 0
POL(TOP(x1)) = x1
POL(U11(x1)) = [4]x1
POL(U11'(x1)) = 0
POL(U12(x1)) = [2]x1
POL(U12'(x1)) = 0
POL(__(x1, x2)) = [1] + [4]x1 + x2
POL(__'(x1, x2)) = 0
POL(active(x1)) = x1
POL(c1(x1)) = x1
POL(c10(x1, x2)) = x1 + x2
POL(c11(x1)) = x1
POL(c12(x1)) = x1
POL(c13(x1)) = x1
POL(c14(x1)) = x1
POL(c15(x1)) = x1
POL(c16(x1)) = x1
POL(c17(x1)) = x1
POL(c18(x1)) = x1
POL(c19(x1)) = x1
POL(c20(x1, x2, x3)) = x1 + x2 + x3
POL(c22(x1, x2)) = x1 + x2
POL(c24(x1, x2)) = x1 + x2
POL(c25(x1, x2)) = x1 + x2
POL(c26(x1, x2)) = x1 + x2
POL(c27(x1, x2)) = x1 + x2
POL(c6(x1, x2)) = x1 + x2
POL(c7(x1, x2)) = x1 + x2
POL(c8(x1, x2)) = x1 + x2
POL(c9(x1, x2)) = x1 + x2
POL(isNePal(x1)) = [5]x1
POL(mark(x1)) = [1] + x1
POL(nil) = 0
POL(ok(x1)) = x1
POL(proper(x1)) = x1
POL(tt) = [2]
(10) Obligation:
Complexity Dependency Tuples Problem
Rules:
active(__(__(z0, z1), z2)) → mark(__(z0, __(z1, z2)))
active(__(z0, nil)) → mark(z0)
active(__(nil, z0)) → mark(z0)
active(U11(tt)) → mark(U12(tt))
active(U12(tt)) → mark(tt)
active(isNePal(__(z0, __(z1, z0)))) → mark(U11(tt))
active(__(z0, z1)) → __(active(z0), z1)
active(__(z0, z1)) → __(z0, active(z1))
active(U11(z0)) → U11(active(z0))
active(U12(z0)) → U12(active(z0))
active(isNePal(z0)) → isNePal(active(z0))
__(z0, mark(z1)) → mark(__(z0, z1))
__(ok(z0), ok(z1)) → ok(__(z0, z1))
__(mark(z0), z1) → mark(__(z0, z1))
U11(mark(z0)) → mark(U11(z0))
U11(ok(z0)) → ok(U11(z0))
U12(mark(z0)) → mark(U12(z0))
U12(ok(z0)) → ok(U12(z0))
isNePal(mark(z0)) → mark(isNePal(z0))
isNePal(ok(z0)) → ok(isNePal(z0))
proper(__(z0, z1)) → __(proper(z0), proper(z1))
proper(nil) → ok(nil)
proper(U11(z0)) → U11(proper(z0))
proper(tt) → ok(tt)
proper(U12(z0)) → U12(proper(z0))
proper(isNePal(z0)) → isNePal(proper(z0))
Tuples:
ACTIVE(__(z0, z1)) → c6(__'(active(z0), z1), ACTIVE(z0))
ACTIVE(__(z0, z1)) → c7(__'(z0, active(z1)), ACTIVE(z1))
ACTIVE(U11(z0)) → c8(U11'(active(z0)), ACTIVE(z0))
ACTIVE(U12(z0)) → c9(U12'(active(z0)), ACTIVE(z0))
ACTIVE(isNePal(z0)) → c10(ISNEPAL(active(z0)), ACTIVE(z0))
__'(mark(z0), z1) → c11(__'(z0, z1))
__'(z0, mark(z1)) → c12(__'(z0, z1))
__'(ok(z0), ok(z1)) → c13(__'(z0, z1))
U11'(mark(z0)) → c14(U11'(z0))
U11'(ok(z0)) → c15(U11'(z0))
U12'(mark(z0)) → c16(U12'(z0))
U12'(ok(z0)) → c17(U12'(z0))
ISNEPAL(mark(z0)) → c18(ISNEPAL(z0))
ISNEPAL(ok(z0)) → c19(ISNEPAL(z0))
PROPER(__(z0, z1)) → c20(__'(proper(z0), proper(z1)), PROPER(z0), PROPER(z1))
PROPER(U11(z0)) → c22(U11'(proper(z0)), PROPER(z0))
PROPER(U12(z0)) → c24(U12'(proper(z0)), PROPER(z0))
PROPER(isNePal(z0)) → c25(ISNEPAL(proper(z0)), PROPER(z0))
TOP(mark(z0)) → c26(TOP(proper(z0)), PROPER(z0))
TOP(ok(z0)) → c27(TOP(active(z0)), ACTIVE(z0))
ACTIVE(__(__(z0, z1), z2)) → c1(__'(z0, __(z1, z2)))
ACTIVE(__(__(z0, z1), z2)) → c1(__'(z1, z2))
S tuples:
ACTIVE(__(z0, z1)) → c6(__'(active(z0), z1), ACTIVE(z0))
ACTIVE(__(z0, z1)) → c7(__'(z0, active(z1)), ACTIVE(z1))
ACTIVE(U11(z0)) → c8(U11'(active(z0)), ACTIVE(z0))
ACTIVE(U12(z0)) → c9(U12'(active(z0)), ACTIVE(z0))
ACTIVE(isNePal(z0)) → c10(ISNEPAL(active(z0)), ACTIVE(z0))
__'(mark(z0), z1) → c11(__'(z0, z1))
__'(z0, mark(z1)) → c12(__'(z0, z1))
__'(ok(z0), ok(z1)) → c13(__'(z0, z1))
U11'(mark(z0)) → c14(U11'(z0))
U11'(ok(z0)) → c15(U11'(z0))
U12'(mark(z0)) → c16(U12'(z0))
U12'(ok(z0)) → c17(U12'(z0))
ISNEPAL(mark(z0)) → c18(ISNEPAL(z0))
ISNEPAL(ok(z0)) → c19(ISNEPAL(z0))
PROPER(__(z0, z1)) → c20(__'(proper(z0), proper(z1)), PROPER(z0), PROPER(z1))
PROPER(U11(z0)) → c22(U11'(proper(z0)), PROPER(z0))
PROPER(U12(z0)) → c24(U12'(proper(z0)), PROPER(z0))
PROPER(isNePal(z0)) → c25(ISNEPAL(proper(z0)), PROPER(z0))
TOP(ok(z0)) → c27(TOP(active(z0)), ACTIVE(z0))
ACTIVE(__(__(z0, z1), z2)) → c1(__'(z0, __(z1, z2)))
ACTIVE(__(__(z0, z1), z2)) → c1(__'(z1, z2))
K tuples:
TOP(mark(z0)) → c26(TOP(proper(z0)), PROPER(z0))
Defined Rule Symbols:
active, __, U11, U12, isNePal, proper
Defined Pair Symbols:
ACTIVE, __', U11', U12', ISNEPAL, PROPER, TOP
Compound Symbols:
c6, c7, c8, c9, c10, c11, c12, c13, c14, c15, c16, c17, c18, c19, c20, c22, c24, c25, c26, c27, c1
(11) CdtNarrowingProof (BOTH BOUNDS(ID, ID) transformation)
Use narrowing to replace
ACTIVE(
U11(
z0)) →
c8(
U11'(
active(
z0)),
ACTIVE(
z0)) by
ACTIVE(U11(__(__(z0, z1), z2))) → c8(U11'(mark(__(z0, __(z1, z2)))), ACTIVE(__(__(z0, z1), z2)))
ACTIVE(U11(__(z0, nil))) → c8(U11'(mark(z0)), ACTIVE(__(z0, nil)))
ACTIVE(U11(__(nil, z0))) → c8(U11'(mark(z0)), ACTIVE(__(nil, z0)))
ACTIVE(U11(U11(tt))) → c8(U11'(mark(U12(tt))), ACTIVE(U11(tt)))
ACTIVE(U11(U12(tt))) → c8(U11'(mark(tt)), ACTIVE(U12(tt)))
ACTIVE(U11(isNePal(__(z0, __(z1, z0))))) → c8(U11'(mark(U11(tt))), ACTIVE(isNePal(__(z0, __(z1, z0)))))
ACTIVE(U11(__(z0, z1))) → c8(U11'(__(active(z0), z1)), ACTIVE(__(z0, z1)))
ACTIVE(U11(__(z0, z1))) → c8(U11'(__(z0, active(z1))), ACTIVE(__(z0, z1)))
ACTIVE(U11(U11(z0))) → c8(U11'(U11(active(z0))), ACTIVE(U11(z0)))
ACTIVE(U11(U12(z0))) → c8(U11'(U12(active(z0))), ACTIVE(U12(z0)))
ACTIVE(U11(isNePal(z0))) → c8(U11'(isNePal(active(z0))), ACTIVE(isNePal(z0)))
(12) Obligation:
Complexity Dependency Tuples Problem
Rules:
active(__(__(z0, z1), z2)) → mark(__(z0, __(z1, z2)))
active(__(z0, nil)) → mark(z0)
active(__(nil, z0)) → mark(z0)
active(U11(tt)) → mark(U12(tt))
active(U12(tt)) → mark(tt)
active(isNePal(__(z0, __(z1, z0)))) → mark(U11(tt))
active(__(z0, z1)) → __(active(z0), z1)
active(__(z0, z1)) → __(z0, active(z1))
active(U11(z0)) → U11(active(z0))
active(U12(z0)) → U12(active(z0))
active(isNePal(z0)) → isNePal(active(z0))
__(z0, mark(z1)) → mark(__(z0, z1))
__(ok(z0), ok(z1)) → ok(__(z0, z1))
__(mark(z0), z1) → mark(__(z0, z1))
U11(mark(z0)) → mark(U11(z0))
U11(ok(z0)) → ok(U11(z0))
U12(mark(z0)) → mark(U12(z0))
U12(ok(z0)) → ok(U12(z0))
isNePal(mark(z0)) → mark(isNePal(z0))
isNePal(ok(z0)) → ok(isNePal(z0))
proper(__(z0, z1)) → __(proper(z0), proper(z1))
proper(nil) → ok(nil)
proper(U11(z0)) → U11(proper(z0))
proper(tt) → ok(tt)
proper(U12(z0)) → U12(proper(z0))
proper(isNePal(z0)) → isNePal(proper(z0))
Tuples:
ACTIVE(__(z0, z1)) → c6(__'(active(z0), z1), ACTIVE(z0))
ACTIVE(__(z0, z1)) → c7(__'(z0, active(z1)), ACTIVE(z1))
ACTIVE(U12(z0)) → c9(U12'(active(z0)), ACTIVE(z0))
ACTIVE(isNePal(z0)) → c10(ISNEPAL(active(z0)), ACTIVE(z0))
__'(mark(z0), z1) → c11(__'(z0, z1))
__'(z0, mark(z1)) → c12(__'(z0, z1))
__'(ok(z0), ok(z1)) → c13(__'(z0, z1))
U11'(mark(z0)) → c14(U11'(z0))
U11'(ok(z0)) → c15(U11'(z0))
U12'(mark(z0)) → c16(U12'(z0))
U12'(ok(z0)) → c17(U12'(z0))
ISNEPAL(mark(z0)) → c18(ISNEPAL(z0))
ISNEPAL(ok(z0)) → c19(ISNEPAL(z0))
PROPER(__(z0, z1)) → c20(__'(proper(z0), proper(z1)), PROPER(z0), PROPER(z1))
PROPER(U11(z0)) → c22(U11'(proper(z0)), PROPER(z0))
PROPER(U12(z0)) → c24(U12'(proper(z0)), PROPER(z0))
PROPER(isNePal(z0)) → c25(ISNEPAL(proper(z0)), PROPER(z0))
TOP(mark(z0)) → c26(TOP(proper(z0)), PROPER(z0))
TOP(ok(z0)) → c27(TOP(active(z0)), ACTIVE(z0))
ACTIVE(__(__(z0, z1), z2)) → c1(__'(z0, __(z1, z2)))
ACTIVE(__(__(z0, z1), z2)) → c1(__'(z1, z2))
ACTIVE(U11(__(__(z0, z1), z2))) → c8(U11'(mark(__(z0, __(z1, z2)))), ACTIVE(__(__(z0, z1), z2)))
ACTIVE(U11(__(z0, nil))) → c8(U11'(mark(z0)), ACTIVE(__(z0, nil)))
ACTIVE(U11(__(nil, z0))) → c8(U11'(mark(z0)), ACTIVE(__(nil, z0)))
ACTIVE(U11(U11(tt))) → c8(U11'(mark(U12(tt))), ACTIVE(U11(tt)))
ACTIVE(U11(U12(tt))) → c8(U11'(mark(tt)), ACTIVE(U12(tt)))
ACTIVE(U11(isNePal(__(z0, __(z1, z0))))) → c8(U11'(mark(U11(tt))), ACTIVE(isNePal(__(z0, __(z1, z0)))))
ACTIVE(U11(__(z0, z1))) → c8(U11'(__(active(z0), z1)), ACTIVE(__(z0, z1)))
ACTIVE(U11(__(z0, z1))) → c8(U11'(__(z0, active(z1))), ACTIVE(__(z0, z1)))
ACTIVE(U11(U11(z0))) → c8(U11'(U11(active(z0))), ACTIVE(U11(z0)))
ACTIVE(U11(U12(z0))) → c8(U11'(U12(active(z0))), ACTIVE(U12(z0)))
ACTIVE(U11(isNePal(z0))) → c8(U11'(isNePal(active(z0))), ACTIVE(isNePal(z0)))
S tuples:
ACTIVE(__(z0, z1)) → c6(__'(active(z0), z1), ACTIVE(z0))
ACTIVE(__(z0, z1)) → c7(__'(z0, active(z1)), ACTIVE(z1))
ACTIVE(U12(z0)) → c9(U12'(active(z0)), ACTIVE(z0))
ACTIVE(isNePal(z0)) → c10(ISNEPAL(active(z0)), ACTIVE(z0))
__'(mark(z0), z1) → c11(__'(z0, z1))
__'(z0, mark(z1)) → c12(__'(z0, z1))
__'(ok(z0), ok(z1)) → c13(__'(z0, z1))
U11'(mark(z0)) → c14(U11'(z0))
U11'(ok(z0)) → c15(U11'(z0))
U12'(mark(z0)) → c16(U12'(z0))
U12'(ok(z0)) → c17(U12'(z0))
ISNEPAL(mark(z0)) → c18(ISNEPAL(z0))
ISNEPAL(ok(z0)) → c19(ISNEPAL(z0))
PROPER(__(z0, z1)) → c20(__'(proper(z0), proper(z1)), PROPER(z0), PROPER(z1))
PROPER(U11(z0)) → c22(U11'(proper(z0)), PROPER(z0))
PROPER(U12(z0)) → c24(U12'(proper(z0)), PROPER(z0))
PROPER(isNePal(z0)) → c25(ISNEPAL(proper(z0)), PROPER(z0))
TOP(ok(z0)) → c27(TOP(active(z0)), ACTIVE(z0))
ACTIVE(__(__(z0, z1), z2)) → c1(__'(z0, __(z1, z2)))
ACTIVE(__(__(z0, z1), z2)) → c1(__'(z1, z2))
ACTIVE(U11(__(__(z0, z1), z2))) → c8(U11'(mark(__(z0, __(z1, z2)))), ACTIVE(__(__(z0, z1), z2)))
ACTIVE(U11(__(z0, nil))) → c8(U11'(mark(z0)), ACTIVE(__(z0, nil)))
ACTIVE(U11(__(nil, z0))) → c8(U11'(mark(z0)), ACTIVE(__(nil, z0)))
ACTIVE(U11(U11(tt))) → c8(U11'(mark(U12(tt))), ACTIVE(U11(tt)))
ACTIVE(U11(U12(tt))) → c8(U11'(mark(tt)), ACTIVE(U12(tt)))
ACTIVE(U11(isNePal(__(z0, __(z1, z0))))) → c8(U11'(mark(U11(tt))), ACTIVE(isNePal(__(z0, __(z1, z0)))))
ACTIVE(U11(__(z0, z1))) → c8(U11'(__(active(z0), z1)), ACTIVE(__(z0, z1)))
ACTIVE(U11(__(z0, z1))) → c8(U11'(__(z0, active(z1))), ACTIVE(__(z0, z1)))
ACTIVE(U11(U11(z0))) → c8(U11'(U11(active(z0))), ACTIVE(U11(z0)))
ACTIVE(U11(U12(z0))) → c8(U11'(U12(active(z0))), ACTIVE(U12(z0)))
ACTIVE(U11(isNePal(z0))) → c8(U11'(isNePal(active(z0))), ACTIVE(isNePal(z0)))
K tuples:
TOP(mark(z0)) → c26(TOP(proper(z0)), PROPER(z0))
Defined Rule Symbols:
active, __, U11, U12, isNePal, proper
Defined Pair Symbols:
ACTIVE, __', U11', U12', ISNEPAL, PROPER, TOP
Compound Symbols:
c6, c7, c9, c10, c11, c12, c13, c14, c15, c16, c17, c18, c19, c20, c22, c24, c25, c26, c27, c1, c8
(13) CdtRhsSimplificationProcessorProof (BOTH BOUNDS(ID, ID) transformation)
Removed 1 trailing tuple parts
(14) Obligation:
Complexity Dependency Tuples Problem
Rules:
active(__(__(z0, z1), z2)) → mark(__(z0, __(z1, z2)))
active(__(z0, nil)) → mark(z0)
active(__(nil, z0)) → mark(z0)
active(U11(tt)) → mark(U12(tt))
active(U12(tt)) → mark(tt)
active(isNePal(__(z0, __(z1, z0)))) → mark(U11(tt))
active(__(z0, z1)) → __(active(z0), z1)
active(__(z0, z1)) → __(z0, active(z1))
active(U11(z0)) → U11(active(z0))
active(U12(z0)) → U12(active(z0))
active(isNePal(z0)) → isNePal(active(z0))
__(z0, mark(z1)) → mark(__(z0, z1))
__(ok(z0), ok(z1)) → ok(__(z0, z1))
__(mark(z0), z1) → mark(__(z0, z1))
U11(mark(z0)) → mark(U11(z0))
U11(ok(z0)) → ok(U11(z0))
U12(mark(z0)) → mark(U12(z0))
U12(ok(z0)) → ok(U12(z0))
isNePal(mark(z0)) → mark(isNePal(z0))
isNePal(ok(z0)) → ok(isNePal(z0))
proper(__(z0, z1)) → __(proper(z0), proper(z1))
proper(nil) → ok(nil)
proper(U11(z0)) → U11(proper(z0))
proper(tt) → ok(tt)
proper(U12(z0)) → U12(proper(z0))
proper(isNePal(z0)) → isNePal(proper(z0))
Tuples:
ACTIVE(__(z0, z1)) → c6(__'(active(z0), z1), ACTIVE(z0))
ACTIVE(__(z0, z1)) → c7(__'(z0, active(z1)), ACTIVE(z1))
ACTIVE(U12(z0)) → c9(U12'(active(z0)), ACTIVE(z0))
ACTIVE(isNePal(z0)) → c10(ISNEPAL(active(z0)), ACTIVE(z0))
__'(mark(z0), z1) → c11(__'(z0, z1))
__'(z0, mark(z1)) → c12(__'(z0, z1))
__'(ok(z0), ok(z1)) → c13(__'(z0, z1))
U11'(mark(z0)) → c14(U11'(z0))
U11'(ok(z0)) → c15(U11'(z0))
U12'(mark(z0)) → c16(U12'(z0))
U12'(ok(z0)) → c17(U12'(z0))
ISNEPAL(mark(z0)) → c18(ISNEPAL(z0))
ISNEPAL(ok(z0)) → c19(ISNEPAL(z0))
PROPER(__(z0, z1)) → c20(__'(proper(z0), proper(z1)), PROPER(z0), PROPER(z1))
PROPER(U11(z0)) → c22(U11'(proper(z0)), PROPER(z0))
PROPER(U12(z0)) → c24(U12'(proper(z0)), PROPER(z0))
PROPER(isNePal(z0)) → c25(ISNEPAL(proper(z0)), PROPER(z0))
TOP(mark(z0)) → c26(TOP(proper(z0)), PROPER(z0))
TOP(ok(z0)) → c27(TOP(active(z0)), ACTIVE(z0))
ACTIVE(__(__(z0, z1), z2)) → c1(__'(z0, __(z1, z2)))
ACTIVE(__(__(z0, z1), z2)) → c1(__'(z1, z2))
ACTIVE(U11(__(__(z0, z1), z2))) → c8(U11'(mark(__(z0, __(z1, z2)))), ACTIVE(__(__(z0, z1), z2)))
ACTIVE(U11(__(z0, nil))) → c8(U11'(mark(z0)), ACTIVE(__(z0, nil)))
ACTIVE(U11(__(nil, z0))) → c8(U11'(mark(z0)), ACTIVE(__(nil, z0)))
ACTIVE(U11(U12(tt))) → c8(U11'(mark(tt)), ACTIVE(U12(tt)))
ACTIVE(U11(isNePal(__(z0, __(z1, z0))))) → c8(U11'(mark(U11(tt))), ACTIVE(isNePal(__(z0, __(z1, z0)))))
ACTIVE(U11(__(z0, z1))) → c8(U11'(__(active(z0), z1)), ACTIVE(__(z0, z1)))
ACTIVE(U11(__(z0, z1))) → c8(U11'(__(z0, active(z1))), ACTIVE(__(z0, z1)))
ACTIVE(U11(U11(z0))) → c8(U11'(U11(active(z0))), ACTIVE(U11(z0)))
ACTIVE(U11(U12(z0))) → c8(U11'(U12(active(z0))), ACTIVE(U12(z0)))
ACTIVE(U11(isNePal(z0))) → c8(U11'(isNePal(active(z0))), ACTIVE(isNePal(z0)))
ACTIVE(U11(U11(tt))) → c8(U11'(mark(U12(tt))))
S tuples:
ACTIVE(__(z0, z1)) → c6(__'(active(z0), z1), ACTIVE(z0))
ACTIVE(__(z0, z1)) → c7(__'(z0, active(z1)), ACTIVE(z1))
ACTIVE(U12(z0)) → c9(U12'(active(z0)), ACTIVE(z0))
ACTIVE(isNePal(z0)) → c10(ISNEPAL(active(z0)), ACTIVE(z0))
__'(mark(z0), z1) → c11(__'(z0, z1))
__'(z0, mark(z1)) → c12(__'(z0, z1))
__'(ok(z0), ok(z1)) → c13(__'(z0, z1))
U11'(mark(z0)) → c14(U11'(z0))
U11'(ok(z0)) → c15(U11'(z0))
U12'(mark(z0)) → c16(U12'(z0))
U12'(ok(z0)) → c17(U12'(z0))
ISNEPAL(mark(z0)) → c18(ISNEPAL(z0))
ISNEPAL(ok(z0)) → c19(ISNEPAL(z0))
PROPER(__(z0, z1)) → c20(__'(proper(z0), proper(z1)), PROPER(z0), PROPER(z1))
PROPER(U11(z0)) → c22(U11'(proper(z0)), PROPER(z0))
PROPER(U12(z0)) → c24(U12'(proper(z0)), PROPER(z0))
PROPER(isNePal(z0)) → c25(ISNEPAL(proper(z0)), PROPER(z0))
TOP(ok(z0)) → c27(TOP(active(z0)), ACTIVE(z0))
ACTIVE(__(__(z0, z1), z2)) → c1(__'(z0, __(z1, z2)))
ACTIVE(__(__(z0, z1), z2)) → c1(__'(z1, z2))
ACTIVE(U11(__(__(z0, z1), z2))) → c8(U11'(mark(__(z0, __(z1, z2)))), ACTIVE(__(__(z0, z1), z2)))
ACTIVE(U11(__(z0, nil))) → c8(U11'(mark(z0)), ACTIVE(__(z0, nil)))
ACTIVE(U11(__(nil, z0))) → c8(U11'(mark(z0)), ACTIVE(__(nil, z0)))
ACTIVE(U11(U12(tt))) → c8(U11'(mark(tt)), ACTIVE(U12(tt)))
ACTIVE(U11(isNePal(__(z0, __(z1, z0))))) → c8(U11'(mark(U11(tt))), ACTIVE(isNePal(__(z0, __(z1, z0)))))
ACTIVE(U11(__(z0, z1))) → c8(U11'(__(active(z0), z1)), ACTIVE(__(z0, z1)))
ACTIVE(U11(__(z0, z1))) → c8(U11'(__(z0, active(z1))), ACTIVE(__(z0, z1)))
ACTIVE(U11(U11(z0))) → c8(U11'(U11(active(z0))), ACTIVE(U11(z0)))
ACTIVE(U11(U12(z0))) → c8(U11'(U12(active(z0))), ACTIVE(U12(z0)))
ACTIVE(U11(isNePal(z0))) → c8(U11'(isNePal(active(z0))), ACTIVE(isNePal(z0)))
ACTIVE(U11(U11(tt))) → c8(U11'(mark(U12(tt))))
K tuples:
TOP(mark(z0)) → c26(TOP(proper(z0)), PROPER(z0))
Defined Rule Symbols:
active, __, U11, U12, isNePal, proper
Defined Pair Symbols:
ACTIVE, __', U11', U12', ISNEPAL, PROPER, TOP
Compound Symbols:
c6, c7, c9, c10, c11, c12, c13, c14, c15, c16, c17, c18, c19, c20, c22, c24, c25, c26, c27, c1, c8, c8
(15) CdtNarrowingProof (BOTH BOUNDS(ID, ID) transformation)
Use narrowing to replace
ACTIVE(
U12(
z0)) →
c9(
U12'(
active(
z0)),
ACTIVE(
z0)) by
ACTIVE(U12(__(__(z0, z1), z2))) → c9(U12'(mark(__(z0, __(z1, z2)))), ACTIVE(__(__(z0, z1), z2)))
ACTIVE(U12(__(z0, nil))) → c9(U12'(mark(z0)), ACTIVE(__(z0, nil)))
ACTIVE(U12(__(nil, z0))) → c9(U12'(mark(z0)), ACTIVE(__(nil, z0)))
ACTIVE(U12(U11(tt))) → c9(U12'(mark(U12(tt))), ACTIVE(U11(tt)))
ACTIVE(U12(U12(tt))) → c9(U12'(mark(tt)), ACTIVE(U12(tt)))
ACTIVE(U12(isNePal(__(z0, __(z1, z0))))) → c9(U12'(mark(U11(tt))), ACTIVE(isNePal(__(z0, __(z1, z0)))))
ACTIVE(U12(__(z0, z1))) → c9(U12'(__(active(z0), z1)), ACTIVE(__(z0, z1)))
ACTIVE(U12(__(z0, z1))) → c9(U12'(__(z0, active(z1))), ACTIVE(__(z0, z1)))
ACTIVE(U12(U11(z0))) → c9(U12'(U11(active(z0))), ACTIVE(U11(z0)))
ACTIVE(U12(U12(z0))) → c9(U12'(U12(active(z0))), ACTIVE(U12(z0)))
ACTIVE(U12(isNePal(z0))) → c9(U12'(isNePal(active(z0))), ACTIVE(isNePal(z0)))
(16) Obligation:
Complexity Dependency Tuples Problem
Rules:
active(__(__(z0, z1), z2)) → mark(__(z0, __(z1, z2)))
active(__(z0, nil)) → mark(z0)
active(__(nil, z0)) → mark(z0)
active(U11(tt)) → mark(U12(tt))
active(U12(tt)) → mark(tt)
active(isNePal(__(z0, __(z1, z0)))) → mark(U11(tt))
active(__(z0, z1)) → __(active(z0), z1)
active(__(z0, z1)) → __(z0, active(z1))
active(U11(z0)) → U11(active(z0))
active(U12(z0)) → U12(active(z0))
active(isNePal(z0)) → isNePal(active(z0))
__(z0, mark(z1)) → mark(__(z0, z1))
__(ok(z0), ok(z1)) → ok(__(z0, z1))
__(mark(z0), z1) → mark(__(z0, z1))
U11(mark(z0)) → mark(U11(z0))
U11(ok(z0)) → ok(U11(z0))
U12(mark(z0)) → mark(U12(z0))
U12(ok(z0)) → ok(U12(z0))
isNePal(mark(z0)) → mark(isNePal(z0))
isNePal(ok(z0)) → ok(isNePal(z0))
proper(__(z0, z1)) → __(proper(z0), proper(z1))
proper(nil) → ok(nil)
proper(U11(z0)) → U11(proper(z0))
proper(tt) → ok(tt)
proper(U12(z0)) → U12(proper(z0))
proper(isNePal(z0)) → isNePal(proper(z0))
Tuples:
ACTIVE(__(z0, z1)) → c6(__'(active(z0), z1), ACTIVE(z0))
ACTIVE(__(z0, z1)) → c7(__'(z0, active(z1)), ACTIVE(z1))
ACTIVE(isNePal(z0)) → c10(ISNEPAL(active(z0)), ACTIVE(z0))
__'(mark(z0), z1) → c11(__'(z0, z1))
__'(z0, mark(z1)) → c12(__'(z0, z1))
__'(ok(z0), ok(z1)) → c13(__'(z0, z1))
U11'(mark(z0)) → c14(U11'(z0))
U11'(ok(z0)) → c15(U11'(z0))
U12'(mark(z0)) → c16(U12'(z0))
U12'(ok(z0)) → c17(U12'(z0))
ISNEPAL(mark(z0)) → c18(ISNEPAL(z0))
ISNEPAL(ok(z0)) → c19(ISNEPAL(z0))
PROPER(__(z0, z1)) → c20(__'(proper(z0), proper(z1)), PROPER(z0), PROPER(z1))
PROPER(U11(z0)) → c22(U11'(proper(z0)), PROPER(z0))
PROPER(U12(z0)) → c24(U12'(proper(z0)), PROPER(z0))
PROPER(isNePal(z0)) → c25(ISNEPAL(proper(z0)), PROPER(z0))
TOP(mark(z0)) → c26(TOP(proper(z0)), PROPER(z0))
TOP(ok(z0)) → c27(TOP(active(z0)), ACTIVE(z0))
ACTIVE(__(__(z0, z1), z2)) → c1(__'(z0, __(z1, z2)))
ACTIVE(__(__(z0, z1), z2)) → c1(__'(z1, z2))
ACTIVE(U11(__(__(z0, z1), z2))) → c8(U11'(mark(__(z0, __(z1, z2)))), ACTIVE(__(__(z0, z1), z2)))
ACTIVE(U11(__(z0, nil))) → c8(U11'(mark(z0)), ACTIVE(__(z0, nil)))
ACTIVE(U11(__(nil, z0))) → c8(U11'(mark(z0)), ACTIVE(__(nil, z0)))
ACTIVE(U11(U12(tt))) → c8(U11'(mark(tt)), ACTIVE(U12(tt)))
ACTIVE(U11(isNePal(__(z0, __(z1, z0))))) → c8(U11'(mark(U11(tt))), ACTIVE(isNePal(__(z0, __(z1, z0)))))
ACTIVE(U11(__(z0, z1))) → c8(U11'(__(active(z0), z1)), ACTIVE(__(z0, z1)))
ACTIVE(U11(__(z0, z1))) → c8(U11'(__(z0, active(z1))), ACTIVE(__(z0, z1)))
ACTIVE(U11(U11(z0))) → c8(U11'(U11(active(z0))), ACTIVE(U11(z0)))
ACTIVE(U11(U12(z0))) → c8(U11'(U12(active(z0))), ACTIVE(U12(z0)))
ACTIVE(U11(isNePal(z0))) → c8(U11'(isNePal(active(z0))), ACTIVE(isNePal(z0)))
ACTIVE(U11(U11(tt))) → c8(U11'(mark(U12(tt))))
ACTIVE(U12(__(__(z0, z1), z2))) → c9(U12'(mark(__(z0, __(z1, z2)))), ACTIVE(__(__(z0, z1), z2)))
ACTIVE(U12(__(z0, nil))) → c9(U12'(mark(z0)), ACTIVE(__(z0, nil)))
ACTIVE(U12(__(nil, z0))) → c9(U12'(mark(z0)), ACTIVE(__(nil, z0)))
ACTIVE(U12(U11(tt))) → c9(U12'(mark(U12(tt))), ACTIVE(U11(tt)))
ACTIVE(U12(U12(tt))) → c9(U12'(mark(tt)), ACTIVE(U12(tt)))
ACTIVE(U12(isNePal(__(z0, __(z1, z0))))) → c9(U12'(mark(U11(tt))), ACTIVE(isNePal(__(z0, __(z1, z0)))))
ACTIVE(U12(__(z0, z1))) → c9(U12'(__(active(z0), z1)), ACTIVE(__(z0, z1)))
ACTIVE(U12(__(z0, z1))) → c9(U12'(__(z0, active(z1))), ACTIVE(__(z0, z1)))
ACTIVE(U12(U11(z0))) → c9(U12'(U11(active(z0))), ACTIVE(U11(z0)))
ACTIVE(U12(U12(z0))) → c9(U12'(U12(active(z0))), ACTIVE(U12(z0)))
ACTIVE(U12(isNePal(z0))) → c9(U12'(isNePal(active(z0))), ACTIVE(isNePal(z0)))
S tuples:
ACTIVE(__(z0, z1)) → c6(__'(active(z0), z1), ACTIVE(z0))
ACTIVE(__(z0, z1)) → c7(__'(z0, active(z1)), ACTIVE(z1))
ACTIVE(isNePal(z0)) → c10(ISNEPAL(active(z0)), ACTIVE(z0))
__'(mark(z0), z1) → c11(__'(z0, z1))
__'(z0, mark(z1)) → c12(__'(z0, z1))
__'(ok(z0), ok(z1)) → c13(__'(z0, z1))
U11'(mark(z0)) → c14(U11'(z0))
U11'(ok(z0)) → c15(U11'(z0))
U12'(mark(z0)) → c16(U12'(z0))
U12'(ok(z0)) → c17(U12'(z0))
ISNEPAL(mark(z0)) → c18(ISNEPAL(z0))
ISNEPAL(ok(z0)) → c19(ISNEPAL(z0))
PROPER(__(z0, z1)) → c20(__'(proper(z0), proper(z1)), PROPER(z0), PROPER(z1))
PROPER(U11(z0)) → c22(U11'(proper(z0)), PROPER(z0))
PROPER(U12(z0)) → c24(U12'(proper(z0)), PROPER(z0))
PROPER(isNePal(z0)) → c25(ISNEPAL(proper(z0)), PROPER(z0))
TOP(ok(z0)) → c27(TOP(active(z0)), ACTIVE(z0))
ACTIVE(__(__(z0, z1), z2)) → c1(__'(z0, __(z1, z2)))
ACTIVE(__(__(z0, z1), z2)) → c1(__'(z1, z2))
ACTIVE(U11(__(__(z0, z1), z2))) → c8(U11'(mark(__(z0, __(z1, z2)))), ACTIVE(__(__(z0, z1), z2)))
ACTIVE(U11(__(z0, nil))) → c8(U11'(mark(z0)), ACTIVE(__(z0, nil)))
ACTIVE(U11(__(nil, z0))) → c8(U11'(mark(z0)), ACTIVE(__(nil, z0)))
ACTIVE(U11(U12(tt))) → c8(U11'(mark(tt)), ACTIVE(U12(tt)))
ACTIVE(U11(isNePal(__(z0, __(z1, z0))))) → c8(U11'(mark(U11(tt))), ACTIVE(isNePal(__(z0, __(z1, z0)))))
ACTIVE(U11(__(z0, z1))) → c8(U11'(__(active(z0), z1)), ACTIVE(__(z0, z1)))
ACTIVE(U11(__(z0, z1))) → c8(U11'(__(z0, active(z1))), ACTIVE(__(z0, z1)))
ACTIVE(U11(U11(z0))) → c8(U11'(U11(active(z0))), ACTIVE(U11(z0)))
ACTIVE(U11(U12(z0))) → c8(U11'(U12(active(z0))), ACTIVE(U12(z0)))
ACTIVE(U11(isNePal(z0))) → c8(U11'(isNePal(active(z0))), ACTIVE(isNePal(z0)))
ACTIVE(U11(U11(tt))) → c8(U11'(mark(U12(tt))))
ACTIVE(U12(__(__(z0, z1), z2))) → c9(U12'(mark(__(z0, __(z1, z2)))), ACTIVE(__(__(z0, z1), z2)))
ACTIVE(U12(__(z0, nil))) → c9(U12'(mark(z0)), ACTIVE(__(z0, nil)))
ACTIVE(U12(__(nil, z0))) → c9(U12'(mark(z0)), ACTIVE(__(nil, z0)))
ACTIVE(U12(U11(tt))) → c9(U12'(mark(U12(tt))), ACTIVE(U11(tt)))
ACTIVE(U12(U12(tt))) → c9(U12'(mark(tt)), ACTIVE(U12(tt)))
ACTIVE(U12(isNePal(__(z0, __(z1, z0))))) → c9(U12'(mark(U11(tt))), ACTIVE(isNePal(__(z0, __(z1, z0)))))
ACTIVE(U12(__(z0, z1))) → c9(U12'(__(active(z0), z1)), ACTIVE(__(z0, z1)))
ACTIVE(U12(__(z0, z1))) → c9(U12'(__(z0, active(z1))), ACTIVE(__(z0, z1)))
ACTIVE(U12(U11(z0))) → c9(U12'(U11(active(z0))), ACTIVE(U11(z0)))
ACTIVE(U12(U12(z0))) → c9(U12'(U12(active(z0))), ACTIVE(U12(z0)))
ACTIVE(U12(isNePal(z0))) → c9(U12'(isNePal(active(z0))), ACTIVE(isNePal(z0)))
K tuples:
TOP(mark(z0)) → c26(TOP(proper(z0)), PROPER(z0))
Defined Rule Symbols:
active, __, U11, U12, isNePal, proper
Defined Pair Symbols:
ACTIVE, __', U11', U12', ISNEPAL, PROPER, TOP
Compound Symbols:
c6, c7, c10, c11, c12, c13, c14, c15, c16, c17, c18, c19, c20, c22, c24, c25, c26, c27, c1, c8, c8, c9
(17) CdtRhsSimplificationProcessorProof (BOTH BOUNDS(ID, ID) transformation)
Removed 3 trailing tuple parts
(18) Obligation:
Complexity Dependency Tuples Problem
Rules:
active(__(__(z0, z1), z2)) → mark(__(z0, __(z1, z2)))
active(__(z0, nil)) → mark(z0)
active(__(nil, z0)) → mark(z0)
active(U11(tt)) → mark(U12(tt))
active(U12(tt)) → mark(tt)
active(isNePal(__(z0, __(z1, z0)))) → mark(U11(tt))
active(__(z0, z1)) → __(active(z0), z1)
active(__(z0, z1)) → __(z0, active(z1))
active(U11(z0)) → U11(active(z0))
active(U12(z0)) → U12(active(z0))
active(isNePal(z0)) → isNePal(active(z0))
__(z0, mark(z1)) → mark(__(z0, z1))
__(ok(z0), ok(z1)) → ok(__(z0, z1))
__(mark(z0), z1) → mark(__(z0, z1))
U11(mark(z0)) → mark(U11(z0))
U11(ok(z0)) → ok(U11(z0))
U12(mark(z0)) → mark(U12(z0))
U12(ok(z0)) → ok(U12(z0))
isNePal(mark(z0)) → mark(isNePal(z0))
isNePal(ok(z0)) → ok(isNePal(z0))
proper(__(z0, z1)) → __(proper(z0), proper(z1))
proper(nil) → ok(nil)
proper(U11(z0)) → U11(proper(z0))
proper(tt) → ok(tt)
proper(U12(z0)) → U12(proper(z0))
proper(isNePal(z0)) → isNePal(proper(z0))
Tuples:
ACTIVE(__(z0, z1)) → c6(__'(active(z0), z1), ACTIVE(z0))
ACTIVE(__(z0, z1)) → c7(__'(z0, active(z1)), ACTIVE(z1))
ACTIVE(isNePal(z0)) → c10(ISNEPAL(active(z0)), ACTIVE(z0))
__'(mark(z0), z1) → c11(__'(z0, z1))
__'(z0, mark(z1)) → c12(__'(z0, z1))
__'(ok(z0), ok(z1)) → c13(__'(z0, z1))
U11'(mark(z0)) → c14(U11'(z0))
U11'(ok(z0)) → c15(U11'(z0))
U12'(mark(z0)) → c16(U12'(z0))
U12'(ok(z0)) → c17(U12'(z0))
ISNEPAL(mark(z0)) → c18(ISNEPAL(z0))
ISNEPAL(ok(z0)) → c19(ISNEPAL(z0))
PROPER(__(z0, z1)) → c20(__'(proper(z0), proper(z1)), PROPER(z0), PROPER(z1))
PROPER(U11(z0)) → c22(U11'(proper(z0)), PROPER(z0))
PROPER(U12(z0)) → c24(U12'(proper(z0)), PROPER(z0))
PROPER(isNePal(z0)) → c25(ISNEPAL(proper(z0)), PROPER(z0))
TOP(mark(z0)) → c26(TOP(proper(z0)), PROPER(z0))
TOP(ok(z0)) → c27(TOP(active(z0)), ACTIVE(z0))
ACTIVE(__(__(z0, z1), z2)) → c1(__'(z0, __(z1, z2)))
ACTIVE(__(__(z0, z1), z2)) → c1(__'(z1, z2))
ACTIVE(U11(__(__(z0, z1), z2))) → c8(U11'(mark(__(z0, __(z1, z2)))), ACTIVE(__(__(z0, z1), z2)))
ACTIVE(U11(__(z0, nil))) → c8(U11'(mark(z0)), ACTIVE(__(z0, nil)))
ACTIVE(U11(__(nil, z0))) → c8(U11'(mark(z0)), ACTIVE(__(nil, z0)))
ACTIVE(U11(isNePal(__(z0, __(z1, z0))))) → c8(U11'(mark(U11(tt))), ACTIVE(isNePal(__(z0, __(z1, z0)))))
ACTIVE(U11(__(z0, z1))) → c8(U11'(__(active(z0), z1)), ACTIVE(__(z0, z1)))
ACTIVE(U11(__(z0, z1))) → c8(U11'(__(z0, active(z1))), ACTIVE(__(z0, z1)))
ACTIVE(U11(U11(z0))) → c8(U11'(U11(active(z0))), ACTIVE(U11(z0)))
ACTIVE(U11(U12(z0))) → c8(U11'(U12(active(z0))), ACTIVE(U12(z0)))
ACTIVE(U11(isNePal(z0))) → c8(U11'(isNePal(active(z0))), ACTIVE(isNePal(z0)))
ACTIVE(U11(U11(tt))) → c8(U11'(mark(U12(tt))))
ACTIVE(U12(__(__(z0, z1), z2))) → c9(U12'(mark(__(z0, __(z1, z2)))), ACTIVE(__(__(z0, z1), z2)))
ACTIVE(U12(__(z0, nil))) → c9(U12'(mark(z0)), ACTIVE(__(z0, nil)))
ACTIVE(U12(__(nil, z0))) → c9(U12'(mark(z0)), ACTIVE(__(nil, z0)))
ACTIVE(U12(isNePal(__(z0, __(z1, z0))))) → c9(U12'(mark(U11(tt))), ACTIVE(isNePal(__(z0, __(z1, z0)))))
ACTIVE(U12(__(z0, z1))) → c9(U12'(__(active(z0), z1)), ACTIVE(__(z0, z1)))
ACTIVE(U12(__(z0, z1))) → c9(U12'(__(z0, active(z1))), ACTIVE(__(z0, z1)))
ACTIVE(U12(U11(z0))) → c9(U12'(U11(active(z0))), ACTIVE(U11(z0)))
ACTIVE(U12(U12(z0))) → c9(U12'(U12(active(z0))), ACTIVE(U12(z0)))
ACTIVE(U12(isNePal(z0))) → c9(U12'(isNePal(active(z0))), ACTIVE(isNePal(z0)))
ACTIVE(U11(U12(tt))) → c8(U11'(mark(tt)))
ACTIVE(U12(U11(tt))) → c9(U12'(mark(U12(tt))))
ACTIVE(U12(U12(tt))) → c9(U12'(mark(tt)))
S tuples:
ACTIVE(__(z0, z1)) → c6(__'(active(z0), z1), ACTIVE(z0))
ACTIVE(__(z0, z1)) → c7(__'(z0, active(z1)), ACTIVE(z1))
ACTIVE(isNePal(z0)) → c10(ISNEPAL(active(z0)), ACTIVE(z0))
__'(mark(z0), z1) → c11(__'(z0, z1))
__'(z0, mark(z1)) → c12(__'(z0, z1))
__'(ok(z0), ok(z1)) → c13(__'(z0, z1))
U11'(mark(z0)) → c14(U11'(z0))
U11'(ok(z0)) → c15(U11'(z0))
U12'(mark(z0)) → c16(U12'(z0))
U12'(ok(z0)) → c17(U12'(z0))
ISNEPAL(mark(z0)) → c18(ISNEPAL(z0))
ISNEPAL(ok(z0)) → c19(ISNEPAL(z0))
PROPER(__(z0, z1)) → c20(__'(proper(z0), proper(z1)), PROPER(z0), PROPER(z1))
PROPER(U11(z0)) → c22(U11'(proper(z0)), PROPER(z0))
PROPER(U12(z0)) → c24(U12'(proper(z0)), PROPER(z0))
PROPER(isNePal(z0)) → c25(ISNEPAL(proper(z0)), PROPER(z0))
TOP(ok(z0)) → c27(TOP(active(z0)), ACTIVE(z0))
ACTIVE(__(__(z0, z1), z2)) → c1(__'(z0, __(z1, z2)))
ACTIVE(__(__(z0, z1), z2)) → c1(__'(z1, z2))
ACTIVE(U11(__(__(z0, z1), z2))) → c8(U11'(mark(__(z0, __(z1, z2)))), ACTIVE(__(__(z0, z1), z2)))
ACTIVE(U11(__(z0, nil))) → c8(U11'(mark(z0)), ACTIVE(__(z0, nil)))
ACTIVE(U11(__(nil, z0))) → c8(U11'(mark(z0)), ACTIVE(__(nil, z0)))
ACTIVE(U11(isNePal(__(z0, __(z1, z0))))) → c8(U11'(mark(U11(tt))), ACTIVE(isNePal(__(z0, __(z1, z0)))))
ACTIVE(U11(__(z0, z1))) → c8(U11'(__(active(z0), z1)), ACTIVE(__(z0, z1)))
ACTIVE(U11(__(z0, z1))) → c8(U11'(__(z0, active(z1))), ACTIVE(__(z0, z1)))
ACTIVE(U11(U11(z0))) → c8(U11'(U11(active(z0))), ACTIVE(U11(z0)))
ACTIVE(U11(U12(z0))) → c8(U11'(U12(active(z0))), ACTIVE(U12(z0)))
ACTIVE(U11(isNePal(z0))) → c8(U11'(isNePal(active(z0))), ACTIVE(isNePal(z0)))
ACTIVE(U11(U11(tt))) → c8(U11'(mark(U12(tt))))
ACTIVE(U12(__(__(z0, z1), z2))) → c9(U12'(mark(__(z0, __(z1, z2)))), ACTIVE(__(__(z0, z1), z2)))
ACTIVE(U12(__(z0, nil))) → c9(U12'(mark(z0)), ACTIVE(__(z0, nil)))
ACTIVE(U12(__(nil, z0))) → c9(U12'(mark(z0)), ACTIVE(__(nil, z0)))
ACTIVE(U12(isNePal(__(z0, __(z1, z0))))) → c9(U12'(mark(U11(tt))), ACTIVE(isNePal(__(z0, __(z1, z0)))))
ACTIVE(U12(__(z0, z1))) → c9(U12'(__(active(z0), z1)), ACTIVE(__(z0, z1)))
ACTIVE(U12(__(z0, z1))) → c9(U12'(__(z0, active(z1))), ACTIVE(__(z0, z1)))
ACTIVE(U12(U11(z0))) → c9(U12'(U11(active(z0))), ACTIVE(U11(z0)))
ACTIVE(U12(U12(z0))) → c9(U12'(U12(active(z0))), ACTIVE(U12(z0)))
ACTIVE(U12(isNePal(z0))) → c9(U12'(isNePal(active(z0))), ACTIVE(isNePal(z0)))
ACTIVE(U11(U12(tt))) → c8(U11'(mark(tt)))
ACTIVE(U12(U11(tt))) → c9(U12'(mark(U12(tt))))
ACTIVE(U12(U12(tt))) → c9(U12'(mark(tt)))
K tuples:
TOP(mark(z0)) → c26(TOP(proper(z0)), PROPER(z0))
Defined Rule Symbols:
active, __, U11, U12, isNePal, proper
Defined Pair Symbols:
ACTIVE, __', U11', U12', ISNEPAL, PROPER, TOP
Compound Symbols:
c6, c7, c10, c11, c12, c13, c14, c15, c16, c17, c18, c19, c20, c22, c24, c25, c26, c27, c1, c8, c8, c9, c9
(19) CdtNarrowingProof (BOTH BOUNDS(ID, ID) transformation)
Use narrowing to replace
ACTIVE(
isNePal(
z0)) →
c10(
ISNEPAL(
active(
z0)),
ACTIVE(
z0)) by
ACTIVE(isNePal(__(__(z0, z1), z2))) → c10(ISNEPAL(mark(__(z0, __(z1, z2)))), ACTIVE(__(__(z0, z1), z2)))
ACTIVE(isNePal(__(z0, nil))) → c10(ISNEPAL(mark(z0)), ACTIVE(__(z0, nil)))
ACTIVE(isNePal(__(nil, z0))) → c10(ISNEPAL(mark(z0)), ACTIVE(__(nil, z0)))
ACTIVE(isNePal(U11(tt))) → c10(ISNEPAL(mark(U12(tt))), ACTIVE(U11(tt)))
ACTIVE(isNePal(U12(tt))) → c10(ISNEPAL(mark(tt)), ACTIVE(U12(tt)))
ACTIVE(isNePal(isNePal(__(z0, __(z1, z0))))) → c10(ISNEPAL(mark(U11(tt))), ACTIVE(isNePal(__(z0, __(z1, z0)))))
ACTIVE(isNePal(__(z0, z1))) → c10(ISNEPAL(__(active(z0), z1)), ACTIVE(__(z0, z1)))
ACTIVE(isNePal(__(z0, z1))) → c10(ISNEPAL(__(z0, active(z1))), ACTIVE(__(z0, z1)))
ACTIVE(isNePal(U11(z0))) → c10(ISNEPAL(U11(active(z0))), ACTIVE(U11(z0)))
ACTIVE(isNePal(U12(z0))) → c10(ISNEPAL(U12(active(z0))), ACTIVE(U12(z0)))
ACTIVE(isNePal(isNePal(z0))) → c10(ISNEPAL(isNePal(active(z0))), ACTIVE(isNePal(z0)))
(20) Obligation:
Complexity Dependency Tuples Problem
Rules:
active(__(__(z0, z1), z2)) → mark(__(z0, __(z1, z2)))
active(__(z0, nil)) → mark(z0)
active(__(nil, z0)) → mark(z0)
active(U11(tt)) → mark(U12(tt))
active(U12(tt)) → mark(tt)
active(isNePal(__(z0, __(z1, z0)))) → mark(U11(tt))
active(__(z0, z1)) → __(active(z0), z1)
active(__(z0, z1)) → __(z0, active(z1))
active(U11(z0)) → U11(active(z0))
active(U12(z0)) → U12(active(z0))
active(isNePal(z0)) → isNePal(active(z0))
__(z0, mark(z1)) → mark(__(z0, z1))
__(ok(z0), ok(z1)) → ok(__(z0, z1))
__(mark(z0), z1) → mark(__(z0, z1))
U11(mark(z0)) → mark(U11(z0))
U11(ok(z0)) → ok(U11(z0))
U12(mark(z0)) → mark(U12(z0))
U12(ok(z0)) → ok(U12(z0))
isNePal(mark(z0)) → mark(isNePal(z0))
isNePal(ok(z0)) → ok(isNePal(z0))
proper(__(z0, z1)) → __(proper(z0), proper(z1))
proper(nil) → ok(nil)
proper(U11(z0)) → U11(proper(z0))
proper(tt) → ok(tt)
proper(U12(z0)) → U12(proper(z0))
proper(isNePal(z0)) → isNePal(proper(z0))
Tuples:
ACTIVE(__(z0, z1)) → c6(__'(active(z0), z1), ACTIVE(z0))
ACTIVE(__(z0, z1)) → c7(__'(z0, active(z1)), ACTIVE(z1))
__'(mark(z0), z1) → c11(__'(z0, z1))
__'(z0, mark(z1)) → c12(__'(z0, z1))
__'(ok(z0), ok(z1)) → c13(__'(z0, z1))
U11'(mark(z0)) → c14(U11'(z0))
U11'(ok(z0)) → c15(U11'(z0))
U12'(mark(z0)) → c16(U12'(z0))
U12'(ok(z0)) → c17(U12'(z0))
ISNEPAL(mark(z0)) → c18(ISNEPAL(z0))
ISNEPAL(ok(z0)) → c19(ISNEPAL(z0))
PROPER(__(z0, z1)) → c20(__'(proper(z0), proper(z1)), PROPER(z0), PROPER(z1))
PROPER(U11(z0)) → c22(U11'(proper(z0)), PROPER(z0))
PROPER(U12(z0)) → c24(U12'(proper(z0)), PROPER(z0))
PROPER(isNePal(z0)) → c25(ISNEPAL(proper(z0)), PROPER(z0))
TOP(mark(z0)) → c26(TOP(proper(z0)), PROPER(z0))
TOP(ok(z0)) → c27(TOP(active(z0)), ACTIVE(z0))
ACTIVE(__(__(z0, z1), z2)) → c1(__'(z0, __(z1, z2)))
ACTIVE(__(__(z0, z1), z2)) → c1(__'(z1, z2))
ACTIVE(U11(__(__(z0, z1), z2))) → c8(U11'(mark(__(z0, __(z1, z2)))), ACTIVE(__(__(z0, z1), z2)))
ACTIVE(U11(__(z0, nil))) → c8(U11'(mark(z0)), ACTIVE(__(z0, nil)))
ACTIVE(U11(__(nil, z0))) → c8(U11'(mark(z0)), ACTIVE(__(nil, z0)))
ACTIVE(U11(isNePal(__(z0, __(z1, z0))))) → c8(U11'(mark(U11(tt))), ACTIVE(isNePal(__(z0, __(z1, z0)))))
ACTIVE(U11(__(z0, z1))) → c8(U11'(__(active(z0), z1)), ACTIVE(__(z0, z1)))
ACTIVE(U11(__(z0, z1))) → c8(U11'(__(z0, active(z1))), ACTIVE(__(z0, z1)))
ACTIVE(U11(U11(z0))) → c8(U11'(U11(active(z0))), ACTIVE(U11(z0)))
ACTIVE(U11(U12(z0))) → c8(U11'(U12(active(z0))), ACTIVE(U12(z0)))
ACTIVE(U11(isNePal(z0))) → c8(U11'(isNePal(active(z0))), ACTIVE(isNePal(z0)))
ACTIVE(U11(U11(tt))) → c8(U11'(mark(U12(tt))))
ACTIVE(U12(__(__(z0, z1), z2))) → c9(U12'(mark(__(z0, __(z1, z2)))), ACTIVE(__(__(z0, z1), z2)))
ACTIVE(U12(__(z0, nil))) → c9(U12'(mark(z0)), ACTIVE(__(z0, nil)))
ACTIVE(U12(__(nil, z0))) → c9(U12'(mark(z0)), ACTIVE(__(nil, z0)))
ACTIVE(U12(isNePal(__(z0, __(z1, z0))))) → c9(U12'(mark(U11(tt))), ACTIVE(isNePal(__(z0, __(z1, z0)))))
ACTIVE(U12(__(z0, z1))) → c9(U12'(__(active(z0), z1)), ACTIVE(__(z0, z1)))
ACTIVE(U12(__(z0, z1))) → c9(U12'(__(z0, active(z1))), ACTIVE(__(z0, z1)))
ACTIVE(U12(U11(z0))) → c9(U12'(U11(active(z0))), ACTIVE(U11(z0)))
ACTIVE(U12(U12(z0))) → c9(U12'(U12(active(z0))), ACTIVE(U12(z0)))
ACTIVE(U12(isNePal(z0))) → c9(U12'(isNePal(active(z0))), ACTIVE(isNePal(z0)))
ACTIVE(U11(U12(tt))) → c8(U11'(mark(tt)))
ACTIVE(U12(U11(tt))) → c9(U12'(mark(U12(tt))))
ACTIVE(U12(U12(tt))) → c9(U12'(mark(tt)))
ACTIVE(isNePal(__(__(z0, z1), z2))) → c10(ISNEPAL(mark(__(z0, __(z1, z2)))), ACTIVE(__(__(z0, z1), z2)))
ACTIVE(isNePal(__(z0, nil))) → c10(ISNEPAL(mark(z0)), ACTIVE(__(z0, nil)))
ACTIVE(isNePal(__(nil, z0))) → c10(ISNEPAL(mark(z0)), ACTIVE(__(nil, z0)))
ACTIVE(isNePal(U11(tt))) → c10(ISNEPAL(mark(U12(tt))), ACTIVE(U11(tt)))
ACTIVE(isNePal(U12(tt))) → c10(ISNEPAL(mark(tt)), ACTIVE(U12(tt)))
ACTIVE(isNePal(isNePal(__(z0, __(z1, z0))))) → c10(ISNEPAL(mark(U11(tt))), ACTIVE(isNePal(__(z0, __(z1, z0)))))
ACTIVE(isNePal(__(z0, z1))) → c10(ISNEPAL(__(active(z0), z1)), ACTIVE(__(z0, z1)))
ACTIVE(isNePal(__(z0, z1))) → c10(ISNEPAL(__(z0, active(z1))), ACTIVE(__(z0, z1)))
ACTIVE(isNePal(U11(z0))) → c10(ISNEPAL(U11(active(z0))), ACTIVE(U11(z0)))
ACTIVE(isNePal(U12(z0))) → c10(ISNEPAL(U12(active(z0))), ACTIVE(U12(z0)))
ACTIVE(isNePal(isNePal(z0))) → c10(ISNEPAL(isNePal(active(z0))), ACTIVE(isNePal(z0)))
S tuples:
ACTIVE(__(z0, z1)) → c6(__'(active(z0), z1), ACTIVE(z0))
ACTIVE(__(z0, z1)) → c7(__'(z0, active(z1)), ACTIVE(z1))
__'(mark(z0), z1) → c11(__'(z0, z1))
__'(z0, mark(z1)) → c12(__'(z0, z1))
__'(ok(z0), ok(z1)) → c13(__'(z0, z1))
U11'(mark(z0)) → c14(U11'(z0))
U11'(ok(z0)) → c15(U11'(z0))
U12'(mark(z0)) → c16(U12'(z0))
U12'(ok(z0)) → c17(U12'(z0))
ISNEPAL(mark(z0)) → c18(ISNEPAL(z0))
ISNEPAL(ok(z0)) → c19(ISNEPAL(z0))
PROPER(__(z0, z1)) → c20(__'(proper(z0), proper(z1)), PROPER(z0), PROPER(z1))
PROPER(U11(z0)) → c22(U11'(proper(z0)), PROPER(z0))
PROPER(U12(z0)) → c24(U12'(proper(z0)), PROPER(z0))
PROPER(isNePal(z0)) → c25(ISNEPAL(proper(z0)), PROPER(z0))
TOP(ok(z0)) → c27(TOP(active(z0)), ACTIVE(z0))
ACTIVE(__(__(z0, z1), z2)) → c1(__'(z0, __(z1, z2)))
ACTIVE(__(__(z0, z1), z2)) → c1(__'(z1, z2))
ACTIVE(U11(__(__(z0, z1), z2))) → c8(U11'(mark(__(z0, __(z1, z2)))), ACTIVE(__(__(z0, z1), z2)))
ACTIVE(U11(__(z0, nil))) → c8(U11'(mark(z0)), ACTIVE(__(z0, nil)))
ACTIVE(U11(__(nil, z0))) → c8(U11'(mark(z0)), ACTIVE(__(nil, z0)))
ACTIVE(U11(isNePal(__(z0, __(z1, z0))))) → c8(U11'(mark(U11(tt))), ACTIVE(isNePal(__(z0, __(z1, z0)))))
ACTIVE(U11(__(z0, z1))) → c8(U11'(__(active(z0), z1)), ACTIVE(__(z0, z1)))
ACTIVE(U11(__(z0, z1))) → c8(U11'(__(z0, active(z1))), ACTIVE(__(z0, z1)))
ACTIVE(U11(U11(z0))) → c8(U11'(U11(active(z0))), ACTIVE(U11(z0)))
ACTIVE(U11(U12(z0))) → c8(U11'(U12(active(z0))), ACTIVE(U12(z0)))
ACTIVE(U11(isNePal(z0))) → c8(U11'(isNePal(active(z0))), ACTIVE(isNePal(z0)))
ACTIVE(U11(U11(tt))) → c8(U11'(mark(U12(tt))))
ACTIVE(U12(__(__(z0, z1), z2))) → c9(U12'(mark(__(z0, __(z1, z2)))), ACTIVE(__(__(z0, z1), z2)))
ACTIVE(U12(__(z0, nil))) → c9(U12'(mark(z0)), ACTIVE(__(z0, nil)))
ACTIVE(U12(__(nil, z0))) → c9(U12'(mark(z0)), ACTIVE(__(nil, z0)))
ACTIVE(U12(isNePal(__(z0, __(z1, z0))))) → c9(U12'(mark(U11(tt))), ACTIVE(isNePal(__(z0, __(z1, z0)))))
ACTIVE(U12(__(z0, z1))) → c9(U12'(__(active(z0), z1)), ACTIVE(__(z0, z1)))
ACTIVE(U12(__(z0, z1))) → c9(U12'(__(z0, active(z1))), ACTIVE(__(z0, z1)))
ACTIVE(U12(U11(z0))) → c9(U12'(U11(active(z0))), ACTIVE(U11(z0)))
ACTIVE(U12(U12(z0))) → c9(U12'(U12(active(z0))), ACTIVE(U12(z0)))
ACTIVE(U12(isNePal(z0))) → c9(U12'(isNePal(active(z0))), ACTIVE(isNePal(z0)))
ACTIVE(U11(U12(tt))) → c8(U11'(mark(tt)))
ACTIVE(U12(U11(tt))) → c9(U12'(mark(U12(tt))))
ACTIVE(U12(U12(tt))) → c9(U12'(mark(tt)))
ACTIVE(isNePal(__(__(z0, z1), z2))) → c10(ISNEPAL(mark(__(z0, __(z1, z2)))), ACTIVE(__(__(z0, z1), z2)))
ACTIVE(isNePal(__(z0, nil))) → c10(ISNEPAL(mark(z0)), ACTIVE(__(z0, nil)))
ACTIVE(isNePal(__(nil, z0))) → c10(ISNEPAL(mark(z0)), ACTIVE(__(nil, z0)))
ACTIVE(isNePal(U11(tt))) → c10(ISNEPAL(mark(U12(tt))), ACTIVE(U11(tt)))
ACTIVE(isNePal(U12(tt))) → c10(ISNEPAL(mark(tt)), ACTIVE(U12(tt)))
ACTIVE(isNePal(isNePal(__(z0, __(z1, z0))))) → c10(ISNEPAL(mark(U11(tt))), ACTIVE(isNePal(__(z0, __(z1, z0)))))
ACTIVE(isNePal(__(z0, z1))) → c10(ISNEPAL(__(active(z0), z1)), ACTIVE(__(z0, z1)))
ACTIVE(isNePal(__(z0, z1))) → c10(ISNEPAL(__(z0, active(z1))), ACTIVE(__(z0, z1)))
ACTIVE(isNePal(U11(z0))) → c10(ISNEPAL(U11(active(z0))), ACTIVE(U11(z0)))
ACTIVE(isNePal(U12(z0))) → c10(ISNEPAL(U12(active(z0))), ACTIVE(U12(z0)))
ACTIVE(isNePal(isNePal(z0))) → c10(ISNEPAL(isNePal(active(z0))), ACTIVE(isNePal(z0)))
K tuples:
TOP(mark(z0)) → c26(TOP(proper(z0)), PROPER(z0))
Defined Rule Symbols:
active, __, U11, U12, isNePal, proper
Defined Pair Symbols:
ACTIVE, __', U11', U12', ISNEPAL, PROPER, TOP
Compound Symbols:
c6, c7, c11, c12, c13, c14, c15, c16, c17, c18, c19, c20, c22, c24, c25, c26, c27, c1, c8, c8, c9, c9, c10
(21) CdtRhsSimplificationProcessorProof (BOTH BOUNDS(ID, ID) transformation)
Removed 2 trailing tuple parts
(22) Obligation:
Complexity Dependency Tuples Problem
Rules:
active(__(__(z0, z1), z2)) → mark(__(z0, __(z1, z2)))
active(__(z0, nil)) → mark(z0)
active(__(nil, z0)) → mark(z0)
active(U11(tt)) → mark(U12(tt))
active(U12(tt)) → mark(tt)
active(isNePal(__(z0, __(z1, z0)))) → mark(U11(tt))
active(__(z0, z1)) → __(active(z0), z1)
active(__(z0, z1)) → __(z0, active(z1))
active(U11(z0)) → U11(active(z0))
active(U12(z0)) → U12(active(z0))
active(isNePal(z0)) → isNePal(active(z0))
__(z0, mark(z1)) → mark(__(z0, z1))
__(ok(z0), ok(z1)) → ok(__(z0, z1))
__(mark(z0), z1) → mark(__(z0, z1))
U11(mark(z0)) → mark(U11(z0))
U11(ok(z0)) → ok(U11(z0))
U12(mark(z0)) → mark(U12(z0))
U12(ok(z0)) → ok(U12(z0))
isNePal(mark(z0)) → mark(isNePal(z0))
isNePal(ok(z0)) → ok(isNePal(z0))
proper(__(z0, z1)) → __(proper(z0), proper(z1))
proper(nil) → ok(nil)
proper(U11(z0)) → U11(proper(z0))
proper(tt) → ok(tt)
proper(U12(z0)) → U12(proper(z0))
proper(isNePal(z0)) → isNePal(proper(z0))
Tuples:
ACTIVE(__(z0, z1)) → c6(__'(active(z0), z1), ACTIVE(z0))
ACTIVE(__(z0, z1)) → c7(__'(z0, active(z1)), ACTIVE(z1))
__'(mark(z0), z1) → c11(__'(z0, z1))
__'(z0, mark(z1)) → c12(__'(z0, z1))
__'(ok(z0), ok(z1)) → c13(__'(z0, z1))
U11'(mark(z0)) → c14(U11'(z0))
U11'(ok(z0)) → c15(U11'(z0))
U12'(mark(z0)) → c16(U12'(z0))
U12'(ok(z0)) → c17(U12'(z0))
ISNEPAL(mark(z0)) → c18(ISNEPAL(z0))
ISNEPAL(ok(z0)) → c19(ISNEPAL(z0))
PROPER(__(z0, z1)) → c20(__'(proper(z0), proper(z1)), PROPER(z0), PROPER(z1))
PROPER(U11(z0)) → c22(U11'(proper(z0)), PROPER(z0))
PROPER(U12(z0)) → c24(U12'(proper(z0)), PROPER(z0))
PROPER(isNePal(z0)) → c25(ISNEPAL(proper(z0)), PROPER(z0))
TOP(mark(z0)) → c26(TOP(proper(z0)), PROPER(z0))
TOP(ok(z0)) → c27(TOP(active(z0)), ACTIVE(z0))
ACTIVE(__(__(z0, z1), z2)) → c1(__'(z0, __(z1, z2)))
ACTIVE(__(__(z0, z1), z2)) → c1(__'(z1, z2))
ACTIVE(U11(__(__(z0, z1), z2))) → c8(U11'(mark(__(z0, __(z1, z2)))), ACTIVE(__(__(z0, z1), z2)))
ACTIVE(U11(__(z0, nil))) → c8(U11'(mark(z0)), ACTIVE(__(z0, nil)))
ACTIVE(U11(__(nil, z0))) → c8(U11'(mark(z0)), ACTIVE(__(nil, z0)))
ACTIVE(U11(isNePal(__(z0, __(z1, z0))))) → c8(U11'(mark(U11(tt))), ACTIVE(isNePal(__(z0, __(z1, z0)))))
ACTIVE(U11(__(z0, z1))) → c8(U11'(__(active(z0), z1)), ACTIVE(__(z0, z1)))
ACTIVE(U11(__(z0, z1))) → c8(U11'(__(z0, active(z1))), ACTIVE(__(z0, z1)))
ACTIVE(U11(U11(z0))) → c8(U11'(U11(active(z0))), ACTIVE(U11(z0)))
ACTIVE(U11(U12(z0))) → c8(U11'(U12(active(z0))), ACTIVE(U12(z0)))
ACTIVE(U11(isNePal(z0))) → c8(U11'(isNePal(active(z0))), ACTIVE(isNePal(z0)))
ACTIVE(U11(U11(tt))) → c8(U11'(mark(U12(tt))))
ACTIVE(U12(__(__(z0, z1), z2))) → c9(U12'(mark(__(z0, __(z1, z2)))), ACTIVE(__(__(z0, z1), z2)))
ACTIVE(U12(__(z0, nil))) → c9(U12'(mark(z0)), ACTIVE(__(z0, nil)))
ACTIVE(U12(__(nil, z0))) → c9(U12'(mark(z0)), ACTIVE(__(nil, z0)))
ACTIVE(U12(isNePal(__(z0, __(z1, z0))))) → c9(U12'(mark(U11(tt))), ACTIVE(isNePal(__(z0, __(z1, z0)))))
ACTIVE(U12(__(z0, z1))) → c9(U12'(__(active(z0), z1)), ACTIVE(__(z0, z1)))
ACTIVE(U12(__(z0, z1))) → c9(U12'(__(z0, active(z1))), ACTIVE(__(z0, z1)))
ACTIVE(U12(U11(z0))) → c9(U12'(U11(active(z0))), ACTIVE(U11(z0)))
ACTIVE(U12(U12(z0))) → c9(U12'(U12(active(z0))), ACTIVE(U12(z0)))
ACTIVE(U12(isNePal(z0))) → c9(U12'(isNePal(active(z0))), ACTIVE(isNePal(z0)))
ACTIVE(U11(U12(tt))) → c8(U11'(mark(tt)))
ACTIVE(U12(U11(tt))) → c9(U12'(mark(U12(tt))))
ACTIVE(U12(U12(tt))) → c9(U12'(mark(tt)))
ACTIVE(isNePal(__(__(z0, z1), z2))) → c10(ISNEPAL(mark(__(z0, __(z1, z2)))), ACTIVE(__(__(z0, z1), z2)))
ACTIVE(isNePal(__(z0, nil))) → c10(ISNEPAL(mark(z0)), ACTIVE(__(z0, nil)))
ACTIVE(isNePal(__(nil, z0))) → c10(ISNEPAL(mark(z0)), ACTIVE(__(nil, z0)))
ACTIVE(isNePal(isNePal(__(z0, __(z1, z0))))) → c10(ISNEPAL(mark(U11(tt))), ACTIVE(isNePal(__(z0, __(z1, z0)))))
ACTIVE(isNePal(__(z0, z1))) → c10(ISNEPAL(__(active(z0), z1)), ACTIVE(__(z0, z1)))
ACTIVE(isNePal(__(z0, z1))) → c10(ISNEPAL(__(z0, active(z1))), ACTIVE(__(z0, z1)))
ACTIVE(isNePal(U11(z0))) → c10(ISNEPAL(U11(active(z0))), ACTIVE(U11(z0)))
ACTIVE(isNePal(U12(z0))) → c10(ISNEPAL(U12(active(z0))), ACTIVE(U12(z0)))
ACTIVE(isNePal(isNePal(z0))) → c10(ISNEPAL(isNePal(active(z0))), ACTIVE(isNePal(z0)))
ACTIVE(isNePal(U11(tt))) → c10(ISNEPAL(mark(U12(tt))))
ACTIVE(isNePal(U12(tt))) → c10(ISNEPAL(mark(tt)))
S tuples:
ACTIVE(__(z0, z1)) → c6(__'(active(z0), z1), ACTIVE(z0))
ACTIVE(__(z0, z1)) → c7(__'(z0, active(z1)), ACTIVE(z1))
__'(mark(z0), z1) → c11(__'(z0, z1))
__'(z0, mark(z1)) → c12(__'(z0, z1))
__'(ok(z0), ok(z1)) → c13(__'(z0, z1))
U11'(mark(z0)) → c14(U11'(z0))
U11'(ok(z0)) → c15(U11'(z0))
U12'(mark(z0)) → c16(U12'(z0))
U12'(ok(z0)) → c17(U12'(z0))
ISNEPAL(mark(z0)) → c18(ISNEPAL(z0))
ISNEPAL(ok(z0)) → c19(ISNEPAL(z0))
PROPER(__(z0, z1)) → c20(__'(proper(z0), proper(z1)), PROPER(z0), PROPER(z1))
PROPER(U11(z0)) → c22(U11'(proper(z0)), PROPER(z0))
PROPER(U12(z0)) → c24(U12'(proper(z0)), PROPER(z0))
PROPER(isNePal(z0)) → c25(ISNEPAL(proper(z0)), PROPER(z0))
TOP(ok(z0)) → c27(TOP(active(z0)), ACTIVE(z0))
ACTIVE(__(__(z0, z1), z2)) → c1(__'(z0, __(z1, z2)))
ACTIVE(__(__(z0, z1), z2)) → c1(__'(z1, z2))
ACTIVE(U11(__(__(z0, z1), z2))) → c8(U11'(mark(__(z0, __(z1, z2)))), ACTIVE(__(__(z0, z1), z2)))
ACTIVE(U11(__(z0, nil))) → c8(U11'(mark(z0)), ACTIVE(__(z0, nil)))
ACTIVE(U11(__(nil, z0))) → c8(U11'(mark(z0)), ACTIVE(__(nil, z0)))
ACTIVE(U11(isNePal(__(z0, __(z1, z0))))) → c8(U11'(mark(U11(tt))), ACTIVE(isNePal(__(z0, __(z1, z0)))))
ACTIVE(U11(__(z0, z1))) → c8(U11'(__(active(z0), z1)), ACTIVE(__(z0, z1)))
ACTIVE(U11(__(z0, z1))) → c8(U11'(__(z0, active(z1))), ACTIVE(__(z0, z1)))
ACTIVE(U11(U11(z0))) → c8(U11'(U11(active(z0))), ACTIVE(U11(z0)))
ACTIVE(U11(U12(z0))) → c8(U11'(U12(active(z0))), ACTIVE(U12(z0)))
ACTIVE(U11(isNePal(z0))) → c8(U11'(isNePal(active(z0))), ACTIVE(isNePal(z0)))
ACTIVE(U11(U11(tt))) → c8(U11'(mark(U12(tt))))
ACTIVE(U12(__(__(z0, z1), z2))) → c9(U12'(mark(__(z0, __(z1, z2)))), ACTIVE(__(__(z0, z1), z2)))
ACTIVE(U12(__(z0, nil))) → c9(U12'(mark(z0)), ACTIVE(__(z0, nil)))
ACTIVE(U12(__(nil, z0))) → c9(U12'(mark(z0)), ACTIVE(__(nil, z0)))
ACTIVE(U12(isNePal(__(z0, __(z1, z0))))) → c9(U12'(mark(U11(tt))), ACTIVE(isNePal(__(z0, __(z1, z0)))))
ACTIVE(U12(__(z0, z1))) → c9(U12'(__(active(z0), z1)), ACTIVE(__(z0, z1)))
ACTIVE(U12(__(z0, z1))) → c9(U12'(__(z0, active(z1))), ACTIVE(__(z0, z1)))
ACTIVE(U12(U11(z0))) → c9(U12'(U11(active(z0))), ACTIVE(U11(z0)))
ACTIVE(U12(U12(z0))) → c9(U12'(U12(active(z0))), ACTIVE(U12(z0)))
ACTIVE(U12(isNePal(z0))) → c9(U12'(isNePal(active(z0))), ACTIVE(isNePal(z0)))
ACTIVE(U11(U12(tt))) → c8(U11'(mark(tt)))
ACTIVE(U12(U11(tt))) → c9(U12'(mark(U12(tt))))
ACTIVE(U12(U12(tt))) → c9(U12'(mark(tt)))
ACTIVE(isNePal(__(__(z0, z1), z2))) → c10(ISNEPAL(mark(__(z0, __(z1, z2)))), ACTIVE(__(__(z0, z1), z2)))
ACTIVE(isNePal(__(z0, nil))) → c10(ISNEPAL(mark(z0)), ACTIVE(__(z0, nil)))
ACTIVE(isNePal(__(nil, z0))) → c10(ISNEPAL(mark(z0)), ACTIVE(__(nil, z0)))
ACTIVE(isNePal(isNePal(__(z0, __(z1, z0))))) → c10(ISNEPAL(mark(U11(tt))), ACTIVE(isNePal(__(z0, __(z1, z0)))))
ACTIVE(isNePal(__(z0, z1))) → c10(ISNEPAL(__(active(z0), z1)), ACTIVE(__(z0, z1)))
ACTIVE(isNePal(__(z0, z1))) → c10(ISNEPAL(__(z0, active(z1))), ACTIVE(__(z0, z1)))
ACTIVE(isNePal(U11(z0))) → c10(ISNEPAL(U11(active(z0))), ACTIVE(U11(z0)))
ACTIVE(isNePal(U12(z0))) → c10(ISNEPAL(U12(active(z0))), ACTIVE(U12(z0)))
ACTIVE(isNePal(isNePal(z0))) → c10(ISNEPAL(isNePal(active(z0))), ACTIVE(isNePal(z0)))
ACTIVE(isNePal(U11(tt))) → c10(ISNEPAL(mark(U12(tt))))
ACTIVE(isNePal(U12(tt))) → c10(ISNEPAL(mark(tt)))
K tuples:
TOP(mark(z0)) → c26(TOP(proper(z0)), PROPER(z0))
Defined Rule Symbols:
active, __, U11, U12, isNePal, proper
Defined Pair Symbols:
ACTIVE, __', U11', U12', ISNEPAL, PROPER, TOP
Compound Symbols:
c6, c7, c11, c12, c13, c14, c15, c16, c17, c18, c19, c20, c22, c24, c25, c26, c27, c1, c8, c8, c9, c9, c10, c10
(23) CdtNarrowingProof (BOTH BOUNDS(ID, ID) transformation)
Use narrowing to replace
PROPER(
__(
z0,
z1)) →
c20(
__'(
proper(
z0),
proper(
z1)),
PROPER(
z0),
PROPER(
z1)) by
PROPER(__(x0, __(z0, z1))) → c20(__'(proper(x0), __(proper(z0), proper(z1))), PROPER(x0), PROPER(__(z0, z1)))
PROPER(__(x0, nil)) → c20(__'(proper(x0), ok(nil)), PROPER(x0), PROPER(nil))
PROPER(__(x0, U11(z0))) → c20(__'(proper(x0), U11(proper(z0))), PROPER(x0), PROPER(U11(z0)))
PROPER(__(x0, tt)) → c20(__'(proper(x0), ok(tt)), PROPER(x0), PROPER(tt))
PROPER(__(x0, U12(z0))) → c20(__'(proper(x0), U12(proper(z0))), PROPER(x0), PROPER(U12(z0)))
PROPER(__(x0, isNePal(z0))) → c20(__'(proper(x0), isNePal(proper(z0))), PROPER(x0), PROPER(isNePal(z0)))
PROPER(__(__(z0, z1), x1)) → c20(__'(__(proper(z0), proper(z1)), proper(x1)), PROPER(__(z0, z1)), PROPER(x1))
PROPER(__(nil, x1)) → c20(__'(ok(nil), proper(x1)), PROPER(nil), PROPER(x1))
PROPER(__(U11(z0), x1)) → c20(__'(U11(proper(z0)), proper(x1)), PROPER(U11(z0)), PROPER(x1))
PROPER(__(tt, x1)) → c20(__'(ok(tt), proper(x1)), PROPER(tt), PROPER(x1))
PROPER(__(U12(z0), x1)) → c20(__'(U12(proper(z0)), proper(x1)), PROPER(U12(z0)), PROPER(x1))
PROPER(__(isNePal(z0), x1)) → c20(__'(isNePal(proper(z0)), proper(x1)), PROPER(isNePal(z0)), PROPER(x1))
(24) Obligation:
Complexity Dependency Tuples Problem
Rules:
active(__(__(z0, z1), z2)) → mark(__(z0, __(z1, z2)))
active(__(z0, nil)) → mark(z0)
active(__(nil, z0)) → mark(z0)
active(U11(tt)) → mark(U12(tt))
active(U12(tt)) → mark(tt)
active(isNePal(__(z0, __(z1, z0)))) → mark(U11(tt))
active(__(z0, z1)) → __(active(z0), z1)
active(__(z0, z1)) → __(z0, active(z1))
active(U11(z0)) → U11(active(z0))
active(U12(z0)) → U12(active(z0))
active(isNePal(z0)) → isNePal(active(z0))
__(z0, mark(z1)) → mark(__(z0, z1))
__(ok(z0), ok(z1)) → ok(__(z0, z1))
__(mark(z0), z1) → mark(__(z0, z1))
U11(mark(z0)) → mark(U11(z0))
U11(ok(z0)) → ok(U11(z0))
U12(mark(z0)) → mark(U12(z0))
U12(ok(z0)) → ok(U12(z0))
isNePal(mark(z0)) → mark(isNePal(z0))
isNePal(ok(z0)) → ok(isNePal(z0))
proper(__(z0, z1)) → __(proper(z0), proper(z1))
proper(nil) → ok(nil)
proper(U11(z0)) → U11(proper(z0))
proper(tt) → ok(tt)
proper(U12(z0)) → U12(proper(z0))
proper(isNePal(z0)) → isNePal(proper(z0))
Tuples:
ACTIVE(__(z0, z1)) → c6(__'(active(z0), z1), ACTIVE(z0))
ACTIVE(__(z0, z1)) → c7(__'(z0, active(z1)), ACTIVE(z1))
__'(mark(z0), z1) → c11(__'(z0, z1))
__'(z0, mark(z1)) → c12(__'(z0, z1))
__'(ok(z0), ok(z1)) → c13(__'(z0, z1))
U11'(mark(z0)) → c14(U11'(z0))
U11'(ok(z0)) → c15(U11'(z0))
U12'(mark(z0)) → c16(U12'(z0))
U12'(ok(z0)) → c17(U12'(z0))
ISNEPAL(mark(z0)) → c18(ISNEPAL(z0))
ISNEPAL(ok(z0)) → c19(ISNEPAL(z0))
PROPER(U11(z0)) → c22(U11'(proper(z0)), PROPER(z0))
PROPER(U12(z0)) → c24(U12'(proper(z0)), PROPER(z0))
PROPER(isNePal(z0)) → c25(ISNEPAL(proper(z0)), PROPER(z0))
TOP(mark(z0)) → c26(TOP(proper(z0)), PROPER(z0))
TOP(ok(z0)) → c27(TOP(active(z0)), ACTIVE(z0))
ACTIVE(__(__(z0, z1), z2)) → c1(__'(z0, __(z1, z2)))
ACTIVE(__(__(z0, z1), z2)) → c1(__'(z1, z2))
ACTIVE(U11(__(__(z0, z1), z2))) → c8(U11'(mark(__(z0, __(z1, z2)))), ACTIVE(__(__(z0, z1), z2)))
ACTIVE(U11(__(z0, nil))) → c8(U11'(mark(z0)), ACTIVE(__(z0, nil)))
ACTIVE(U11(__(nil, z0))) → c8(U11'(mark(z0)), ACTIVE(__(nil, z0)))
ACTIVE(U11(isNePal(__(z0, __(z1, z0))))) → c8(U11'(mark(U11(tt))), ACTIVE(isNePal(__(z0, __(z1, z0)))))
ACTIVE(U11(__(z0, z1))) → c8(U11'(__(active(z0), z1)), ACTIVE(__(z0, z1)))
ACTIVE(U11(__(z0, z1))) → c8(U11'(__(z0, active(z1))), ACTIVE(__(z0, z1)))
ACTIVE(U11(U11(z0))) → c8(U11'(U11(active(z0))), ACTIVE(U11(z0)))
ACTIVE(U11(U12(z0))) → c8(U11'(U12(active(z0))), ACTIVE(U12(z0)))
ACTIVE(U11(isNePal(z0))) → c8(U11'(isNePal(active(z0))), ACTIVE(isNePal(z0)))
ACTIVE(U11(U11(tt))) → c8(U11'(mark(U12(tt))))
ACTIVE(U12(__(__(z0, z1), z2))) → c9(U12'(mark(__(z0, __(z1, z2)))), ACTIVE(__(__(z0, z1), z2)))
ACTIVE(U12(__(z0, nil))) → c9(U12'(mark(z0)), ACTIVE(__(z0, nil)))
ACTIVE(U12(__(nil, z0))) → c9(U12'(mark(z0)), ACTIVE(__(nil, z0)))
ACTIVE(U12(isNePal(__(z0, __(z1, z0))))) → c9(U12'(mark(U11(tt))), ACTIVE(isNePal(__(z0, __(z1, z0)))))
ACTIVE(U12(__(z0, z1))) → c9(U12'(__(active(z0), z1)), ACTIVE(__(z0, z1)))
ACTIVE(U12(__(z0, z1))) → c9(U12'(__(z0, active(z1))), ACTIVE(__(z0, z1)))
ACTIVE(U12(U11(z0))) → c9(U12'(U11(active(z0))), ACTIVE(U11(z0)))
ACTIVE(U12(U12(z0))) → c9(U12'(U12(active(z0))), ACTIVE(U12(z0)))
ACTIVE(U12(isNePal(z0))) → c9(U12'(isNePal(active(z0))), ACTIVE(isNePal(z0)))
ACTIVE(U11(U12(tt))) → c8(U11'(mark(tt)))
ACTIVE(U12(U11(tt))) → c9(U12'(mark(U12(tt))))
ACTIVE(U12(U12(tt))) → c9(U12'(mark(tt)))
ACTIVE(isNePal(__(__(z0, z1), z2))) → c10(ISNEPAL(mark(__(z0, __(z1, z2)))), ACTIVE(__(__(z0, z1), z2)))
ACTIVE(isNePal(__(z0, nil))) → c10(ISNEPAL(mark(z0)), ACTIVE(__(z0, nil)))
ACTIVE(isNePal(__(nil, z0))) → c10(ISNEPAL(mark(z0)), ACTIVE(__(nil, z0)))
ACTIVE(isNePal(isNePal(__(z0, __(z1, z0))))) → c10(ISNEPAL(mark(U11(tt))), ACTIVE(isNePal(__(z0, __(z1, z0)))))
ACTIVE(isNePal(__(z0, z1))) → c10(ISNEPAL(__(active(z0), z1)), ACTIVE(__(z0, z1)))
ACTIVE(isNePal(__(z0, z1))) → c10(ISNEPAL(__(z0, active(z1))), ACTIVE(__(z0, z1)))
ACTIVE(isNePal(U11(z0))) → c10(ISNEPAL(U11(active(z0))), ACTIVE(U11(z0)))
ACTIVE(isNePal(U12(z0))) → c10(ISNEPAL(U12(active(z0))), ACTIVE(U12(z0)))
ACTIVE(isNePal(isNePal(z0))) → c10(ISNEPAL(isNePal(active(z0))), ACTIVE(isNePal(z0)))
ACTIVE(isNePal(U11(tt))) → c10(ISNEPAL(mark(U12(tt))))
ACTIVE(isNePal(U12(tt))) → c10(ISNEPAL(mark(tt)))
PROPER(__(x0, __(z0, z1))) → c20(__'(proper(x0), __(proper(z0), proper(z1))), PROPER(x0), PROPER(__(z0, z1)))
PROPER(__(x0, nil)) → c20(__'(proper(x0), ok(nil)), PROPER(x0), PROPER(nil))
PROPER(__(x0, U11(z0))) → c20(__'(proper(x0), U11(proper(z0))), PROPER(x0), PROPER(U11(z0)))
PROPER(__(x0, tt)) → c20(__'(proper(x0), ok(tt)), PROPER(x0), PROPER(tt))
PROPER(__(x0, U12(z0))) → c20(__'(proper(x0), U12(proper(z0))), PROPER(x0), PROPER(U12(z0)))
PROPER(__(x0, isNePal(z0))) → c20(__'(proper(x0), isNePal(proper(z0))), PROPER(x0), PROPER(isNePal(z0)))
PROPER(__(__(z0, z1), x1)) → c20(__'(__(proper(z0), proper(z1)), proper(x1)), PROPER(__(z0, z1)), PROPER(x1))
PROPER(__(nil, x1)) → c20(__'(ok(nil), proper(x1)), PROPER(nil), PROPER(x1))
PROPER(__(U11(z0), x1)) → c20(__'(U11(proper(z0)), proper(x1)), PROPER(U11(z0)), PROPER(x1))
PROPER(__(tt, x1)) → c20(__'(ok(tt), proper(x1)), PROPER(tt), PROPER(x1))
PROPER(__(U12(z0), x1)) → c20(__'(U12(proper(z0)), proper(x1)), PROPER(U12(z0)), PROPER(x1))
PROPER(__(isNePal(z0), x1)) → c20(__'(isNePal(proper(z0)), proper(x1)), PROPER(isNePal(z0)), PROPER(x1))
S tuples:
ACTIVE(__(z0, z1)) → c6(__'(active(z0), z1), ACTIVE(z0))
ACTIVE(__(z0, z1)) → c7(__'(z0, active(z1)), ACTIVE(z1))
__'(mark(z0), z1) → c11(__'(z0, z1))
__'(z0, mark(z1)) → c12(__'(z0, z1))
__'(ok(z0), ok(z1)) → c13(__'(z0, z1))
U11'(mark(z0)) → c14(U11'(z0))
U11'(ok(z0)) → c15(U11'(z0))
U12'(mark(z0)) → c16(U12'(z0))
U12'(ok(z0)) → c17(U12'(z0))
ISNEPAL(mark(z0)) → c18(ISNEPAL(z0))
ISNEPAL(ok(z0)) → c19(ISNEPAL(z0))
PROPER(U11(z0)) → c22(U11'(proper(z0)), PROPER(z0))
PROPER(U12(z0)) → c24(U12'(proper(z0)), PROPER(z0))
PROPER(isNePal(z0)) → c25(ISNEPAL(proper(z0)), PROPER(z0))
TOP(ok(z0)) → c27(TOP(active(z0)), ACTIVE(z0))
ACTIVE(__(__(z0, z1), z2)) → c1(__'(z0, __(z1, z2)))
ACTIVE(__(__(z0, z1), z2)) → c1(__'(z1, z2))
ACTIVE(U11(__(__(z0, z1), z2))) → c8(U11'(mark(__(z0, __(z1, z2)))), ACTIVE(__(__(z0, z1), z2)))
ACTIVE(U11(__(z0, nil))) → c8(U11'(mark(z0)), ACTIVE(__(z0, nil)))
ACTIVE(U11(__(nil, z0))) → c8(U11'(mark(z0)), ACTIVE(__(nil, z0)))
ACTIVE(U11(isNePal(__(z0, __(z1, z0))))) → c8(U11'(mark(U11(tt))), ACTIVE(isNePal(__(z0, __(z1, z0)))))
ACTIVE(U11(__(z0, z1))) → c8(U11'(__(active(z0), z1)), ACTIVE(__(z0, z1)))
ACTIVE(U11(__(z0, z1))) → c8(U11'(__(z0, active(z1))), ACTIVE(__(z0, z1)))
ACTIVE(U11(U11(z0))) → c8(U11'(U11(active(z0))), ACTIVE(U11(z0)))
ACTIVE(U11(U12(z0))) → c8(U11'(U12(active(z0))), ACTIVE(U12(z0)))
ACTIVE(U11(isNePal(z0))) → c8(U11'(isNePal(active(z0))), ACTIVE(isNePal(z0)))
ACTIVE(U11(U11(tt))) → c8(U11'(mark(U12(tt))))
ACTIVE(U12(__(__(z0, z1), z2))) → c9(U12'(mark(__(z0, __(z1, z2)))), ACTIVE(__(__(z0, z1), z2)))
ACTIVE(U12(__(z0, nil))) → c9(U12'(mark(z0)), ACTIVE(__(z0, nil)))
ACTIVE(U12(__(nil, z0))) → c9(U12'(mark(z0)), ACTIVE(__(nil, z0)))
ACTIVE(U12(isNePal(__(z0, __(z1, z0))))) → c9(U12'(mark(U11(tt))), ACTIVE(isNePal(__(z0, __(z1, z0)))))
ACTIVE(U12(__(z0, z1))) → c9(U12'(__(active(z0), z1)), ACTIVE(__(z0, z1)))
ACTIVE(U12(__(z0, z1))) → c9(U12'(__(z0, active(z1))), ACTIVE(__(z0, z1)))
ACTIVE(U12(U11(z0))) → c9(U12'(U11(active(z0))), ACTIVE(U11(z0)))
ACTIVE(U12(U12(z0))) → c9(U12'(U12(active(z0))), ACTIVE(U12(z0)))
ACTIVE(U12(isNePal(z0))) → c9(U12'(isNePal(active(z0))), ACTIVE(isNePal(z0)))
ACTIVE(U11(U12(tt))) → c8(U11'(mark(tt)))
ACTIVE(U12(U11(tt))) → c9(U12'(mark(U12(tt))))
ACTIVE(U12(U12(tt))) → c9(U12'(mark(tt)))
ACTIVE(isNePal(__(__(z0, z1), z2))) → c10(ISNEPAL(mark(__(z0, __(z1, z2)))), ACTIVE(__(__(z0, z1), z2)))
ACTIVE(isNePal(__(z0, nil))) → c10(ISNEPAL(mark(z0)), ACTIVE(__(z0, nil)))
ACTIVE(isNePal(__(nil, z0))) → c10(ISNEPAL(mark(z0)), ACTIVE(__(nil, z0)))
ACTIVE(isNePal(isNePal(__(z0, __(z1, z0))))) → c10(ISNEPAL(mark(U11(tt))), ACTIVE(isNePal(__(z0, __(z1, z0)))))
ACTIVE(isNePal(__(z0, z1))) → c10(ISNEPAL(__(active(z0), z1)), ACTIVE(__(z0, z1)))
ACTIVE(isNePal(__(z0, z1))) → c10(ISNEPAL(__(z0, active(z1))), ACTIVE(__(z0, z1)))
ACTIVE(isNePal(U11(z0))) → c10(ISNEPAL(U11(active(z0))), ACTIVE(U11(z0)))
ACTIVE(isNePal(U12(z0))) → c10(ISNEPAL(U12(active(z0))), ACTIVE(U12(z0)))
ACTIVE(isNePal(isNePal(z0))) → c10(ISNEPAL(isNePal(active(z0))), ACTIVE(isNePal(z0)))
ACTIVE(isNePal(U11(tt))) → c10(ISNEPAL(mark(U12(tt))))
ACTIVE(isNePal(U12(tt))) → c10(ISNEPAL(mark(tt)))
PROPER(__(x0, __(z0, z1))) → c20(__'(proper(x0), __(proper(z0), proper(z1))), PROPER(x0), PROPER(__(z0, z1)))
PROPER(__(x0, nil)) → c20(__'(proper(x0), ok(nil)), PROPER(x0), PROPER(nil))
PROPER(__(x0, U11(z0))) → c20(__'(proper(x0), U11(proper(z0))), PROPER(x0), PROPER(U11(z0)))
PROPER(__(x0, tt)) → c20(__'(proper(x0), ok(tt)), PROPER(x0), PROPER(tt))
PROPER(__(x0, U12(z0))) → c20(__'(proper(x0), U12(proper(z0))), PROPER(x0), PROPER(U12(z0)))
PROPER(__(x0, isNePal(z0))) → c20(__'(proper(x0), isNePal(proper(z0))), PROPER(x0), PROPER(isNePal(z0)))
PROPER(__(__(z0, z1), x1)) → c20(__'(__(proper(z0), proper(z1)), proper(x1)), PROPER(__(z0, z1)), PROPER(x1))
PROPER(__(nil, x1)) → c20(__'(ok(nil), proper(x1)), PROPER(nil), PROPER(x1))
PROPER(__(U11(z0), x1)) → c20(__'(U11(proper(z0)), proper(x1)), PROPER(U11(z0)), PROPER(x1))
PROPER(__(tt, x1)) → c20(__'(ok(tt), proper(x1)), PROPER(tt), PROPER(x1))
PROPER(__(U12(z0), x1)) → c20(__'(U12(proper(z0)), proper(x1)), PROPER(U12(z0)), PROPER(x1))
PROPER(__(isNePal(z0), x1)) → c20(__'(isNePal(proper(z0)), proper(x1)), PROPER(isNePal(z0)), PROPER(x1))
K tuples:
TOP(mark(z0)) → c26(TOP(proper(z0)), PROPER(z0))
Defined Rule Symbols:
active, __, U11, U12, isNePal, proper
Defined Pair Symbols:
ACTIVE, __', U11', U12', ISNEPAL, PROPER, TOP
Compound Symbols:
c6, c7, c11, c12, c13, c14, c15, c16, c17, c18, c19, c22, c24, c25, c26, c27, c1, c8, c8, c9, c9, c10, c10, c20
(25) CdtRhsSimplificationProcessorProof (BOTH BOUNDS(ID, ID) transformation)
Removed 4 trailing tuple parts
(26) Obligation:
Complexity Dependency Tuples Problem
Rules:
active(__(__(z0, z1), z2)) → mark(__(z0, __(z1, z2)))
active(__(z0, nil)) → mark(z0)
active(__(nil, z0)) → mark(z0)
active(U11(tt)) → mark(U12(tt))
active(U12(tt)) → mark(tt)
active(isNePal(__(z0, __(z1, z0)))) → mark(U11(tt))
active(__(z0, z1)) → __(active(z0), z1)
active(__(z0, z1)) → __(z0, active(z1))
active(U11(z0)) → U11(active(z0))
active(U12(z0)) → U12(active(z0))
active(isNePal(z0)) → isNePal(active(z0))
__(z0, mark(z1)) → mark(__(z0, z1))
__(ok(z0), ok(z1)) → ok(__(z0, z1))
__(mark(z0), z1) → mark(__(z0, z1))
U11(mark(z0)) → mark(U11(z0))
U11(ok(z0)) → ok(U11(z0))
U12(mark(z0)) → mark(U12(z0))
U12(ok(z0)) → ok(U12(z0))
isNePal(mark(z0)) → mark(isNePal(z0))
isNePal(ok(z0)) → ok(isNePal(z0))
proper(__(z0, z1)) → __(proper(z0), proper(z1))
proper(nil) → ok(nil)
proper(U11(z0)) → U11(proper(z0))
proper(tt) → ok(tt)
proper(U12(z0)) → U12(proper(z0))
proper(isNePal(z0)) → isNePal(proper(z0))
Tuples:
ACTIVE(__(z0, z1)) → c6(__'(active(z0), z1), ACTIVE(z0))
ACTIVE(__(z0, z1)) → c7(__'(z0, active(z1)), ACTIVE(z1))
__'(mark(z0), z1) → c11(__'(z0, z1))
__'(z0, mark(z1)) → c12(__'(z0, z1))
__'(ok(z0), ok(z1)) → c13(__'(z0, z1))
U11'(mark(z0)) → c14(U11'(z0))
U11'(ok(z0)) → c15(U11'(z0))
U12'(mark(z0)) → c16(U12'(z0))
U12'(ok(z0)) → c17(U12'(z0))
ISNEPAL(mark(z0)) → c18(ISNEPAL(z0))
ISNEPAL(ok(z0)) → c19(ISNEPAL(z0))
PROPER(U11(z0)) → c22(U11'(proper(z0)), PROPER(z0))
PROPER(U12(z0)) → c24(U12'(proper(z0)), PROPER(z0))
PROPER(isNePal(z0)) → c25(ISNEPAL(proper(z0)), PROPER(z0))
TOP(mark(z0)) → c26(TOP(proper(z0)), PROPER(z0))
TOP(ok(z0)) → c27(TOP(active(z0)), ACTIVE(z0))
ACTIVE(__(__(z0, z1), z2)) → c1(__'(z0, __(z1, z2)))
ACTIVE(__(__(z0, z1), z2)) → c1(__'(z1, z2))
ACTIVE(U11(__(__(z0, z1), z2))) → c8(U11'(mark(__(z0, __(z1, z2)))), ACTIVE(__(__(z0, z1), z2)))
ACTIVE(U11(__(z0, nil))) → c8(U11'(mark(z0)), ACTIVE(__(z0, nil)))
ACTIVE(U11(__(nil, z0))) → c8(U11'(mark(z0)), ACTIVE(__(nil, z0)))
ACTIVE(U11(isNePal(__(z0, __(z1, z0))))) → c8(U11'(mark(U11(tt))), ACTIVE(isNePal(__(z0, __(z1, z0)))))
ACTIVE(U11(__(z0, z1))) → c8(U11'(__(active(z0), z1)), ACTIVE(__(z0, z1)))
ACTIVE(U11(__(z0, z1))) → c8(U11'(__(z0, active(z1))), ACTIVE(__(z0, z1)))
ACTIVE(U11(U11(z0))) → c8(U11'(U11(active(z0))), ACTIVE(U11(z0)))
ACTIVE(U11(U12(z0))) → c8(U11'(U12(active(z0))), ACTIVE(U12(z0)))
ACTIVE(U11(isNePal(z0))) → c8(U11'(isNePal(active(z0))), ACTIVE(isNePal(z0)))
ACTIVE(U11(U11(tt))) → c8(U11'(mark(U12(tt))))
ACTIVE(U12(__(__(z0, z1), z2))) → c9(U12'(mark(__(z0, __(z1, z2)))), ACTIVE(__(__(z0, z1), z2)))
ACTIVE(U12(__(z0, nil))) → c9(U12'(mark(z0)), ACTIVE(__(z0, nil)))
ACTIVE(U12(__(nil, z0))) → c9(U12'(mark(z0)), ACTIVE(__(nil, z0)))
ACTIVE(U12(isNePal(__(z0, __(z1, z0))))) → c9(U12'(mark(U11(tt))), ACTIVE(isNePal(__(z0, __(z1, z0)))))
ACTIVE(U12(__(z0, z1))) → c9(U12'(__(active(z0), z1)), ACTIVE(__(z0, z1)))
ACTIVE(U12(__(z0, z1))) → c9(U12'(__(z0, active(z1))), ACTIVE(__(z0, z1)))
ACTIVE(U12(U11(z0))) → c9(U12'(U11(active(z0))), ACTIVE(U11(z0)))
ACTIVE(U12(U12(z0))) → c9(U12'(U12(active(z0))), ACTIVE(U12(z0)))
ACTIVE(U12(isNePal(z0))) → c9(U12'(isNePal(active(z0))), ACTIVE(isNePal(z0)))
ACTIVE(U11(U12(tt))) → c8(U11'(mark(tt)))
ACTIVE(U12(U11(tt))) → c9(U12'(mark(U12(tt))))
ACTIVE(U12(U12(tt))) → c9(U12'(mark(tt)))
ACTIVE(isNePal(__(__(z0, z1), z2))) → c10(ISNEPAL(mark(__(z0, __(z1, z2)))), ACTIVE(__(__(z0, z1), z2)))
ACTIVE(isNePal(__(z0, nil))) → c10(ISNEPAL(mark(z0)), ACTIVE(__(z0, nil)))
ACTIVE(isNePal(__(nil, z0))) → c10(ISNEPAL(mark(z0)), ACTIVE(__(nil, z0)))
ACTIVE(isNePal(isNePal(__(z0, __(z1, z0))))) → c10(ISNEPAL(mark(U11(tt))), ACTIVE(isNePal(__(z0, __(z1, z0)))))
ACTIVE(isNePal(__(z0, z1))) → c10(ISNEPAL(__(active(z0), z1)), ACTIVE(__(z0, z1)))
ACTIVE(isNePal(__(z0, z1))) → c10(ISNEPAL(__(z0, active(z1))), ACTIVE(__(z0, z1)))
ACTIVE(isNePal(U11(z0))) → c10(ISNEPAL(U11(active(z0))), ACTIVE(U11(z0)))
ACTIVE(isNePal(U12(z0))) → c10(ISNEPAL(U12(active(z0))), ACTIVE(U12(z0)))
ACTIVE(isNePal(isNePal(z0))) → c10(ISNEPAL(isNePal(active(z0))), ACTIVE(isNePal(z0)))
ACTIVE(isNePal(U11(tt))) → c10(ISNEPAL(mark(U12(tt))))
ACTIVE(isNePal(U12(tt))) → c10(ISNEPAL(mark(tt)))
PROPER(__(x0, __(z0, z1))) → c20(__'(proper(x0), __(proper(z0), proper(z1))), PROPER(x0), PROPER(__(z0, z1)))
PROPER(__(x0, U11(z0))) → c20(__'(proper(x0), U11(proper(z0))), PROPER(x0), PROPER(U11(z0)))
PROPER(__(x0, U12(z0))) → c20(__'(proper(x0), U12(proper(z0))), PROPER(x0), PROPER(U12(z0)))
PROPER(__(x0, isNePal(z0))) → c20(__'(proper(x0), isNePal(proper(z0))), PROPER(x0), PROPER(isNePal(z0)))
PROPER(__(__(z0, z1), x1)) → c20(__'(__(proper(z0), proper(z1)), proper(x1)), PROPER(__(z0, z1)), PROPER(x1))
PROPER(__(U11(z0), x1)) → c20(__'(U11(proper(z0)), proper(x1)), PROPER(U11(z0)), PROPER(x1))
PROPER(__(U12(z0), x1)) → c20(__'(U12(proper(z0)), proper(x1)), PROPER(U12(z0)), PROPER(x1))
PROPER(__(isNePal(z0), x1)) → c20(__'(isNePal(proper(z0)), proper(x1)), PROPER(isNePal(z0)), PROPER(x1))
PROPER(__(x0, nil)) → c20(__'(proper(x0), ok(nil)), PROPER(x0))
PROPER(__(x0, tt)) → c20(__'(proper(x0), ok(tt)), PROPER(x0))
PROPER(__(nil, x1)) → c20(__'(ok(nil), proper(x1)), PROPER(x1))
PROPER(__(tt, x1)) → c20(__'(ok(tt), proper(x1)), PROPER(x1))
S tuples:
ACTIVE(__(z0, z1)) → c6(__'(active(z0), z1), ACTIVE(z0))
ACTIVE(__(z0, z1)) → c7(__'(z0, active(z1)), ACTIVE(z1))
__'(mark(z0), z1) → c11(__'(z0, z1))
__'(z0, mark(z1)) → c12(__'(z0, z1))
__'(ok(z0), ok(z1)) → c13(__'(z0, z1))
U11'(mark(z0)) → c14(U11'(z0))
U11'(ok(z0)) → c15(U11'(z0))
U12'(mark(z0)) → c16(U12'(z0))
U12'(ok(z0)) → c17(U12'(z0))
ISNEPAL(mark(z0)) → c18(ISNEPAL(z0))
ISNEPAL(ok(z0)) → c19(ISNEPAL(z0))
PROPER(U11(z0)) → c22(U11'(proper(z0)), PROPER(z0))
PROPER(U12(z0)) → c24(U12'(proper(z0)), PROPER(z0))
PROPER(isNePal(z0)) → c25(ISNEPAL(proper(z0)), PROPER(z0))
TOP(ok(z0)) → c27(TOP(active(z0)), ACTIVE(z0))
ACTIVE(__(__(z0, z1), z2)) → c1(__'(z0, __(z1, z2)))
ACTIVE(__(__(z0, z1), z2)) → c1(__'(z1, z2))
ACTIVE(U11(__(__(z0, z1), z2))) → c8(U11'(mark(__(z0, __(z1, z2)))), ACTIVE(__(__(z0, z1), z2)))
ACTIVE(U11(__(z0, nil))) → c8(U11'(mark(z0)), ACTIVE(__(z0, nil)))
ACTIVE(U11(__(nil, z0))) → c8(U11'(mark(z0)), ACTIVE(__(nil, z0)))
ACTIVE(U11(isNePal(__(z0, __(z1, z0))))) → c8(U11'(mark(U11(tt))), ACTIVE(isNePal(__(z0, __(z1, z0)))))
ACTIVE(U11(__(z0, z1))) → c8(U11'(__(active(z0), z1)), ACTIVE(__(z0, z1)))
ACTIVE(U11(__(z0, z1))) → c8(U11'(__(z0, active(z1))), ACTIVE(__(z0, z1)))
ACTIVE(U11(U11(z0))) → c8(U11'(U11(active(z0))), ACTIVE(U11(z0)))
ACTIVE(U11(U12(z0))) → c8(U11'(U12(active(z0))), ACTIVE(U12(z0)))
ACTIVE(U11(isNePal(z0))) → c8(U11'(isNePal(active(z0))), ACTIVE(isNePal(z0)))
ACTIVE(U11(U11(tt))) → c8(U11'(mark(U12(tt))))
ACTIVE(U12(__(__(z0, z1), z2))) → c9(U12'(mark(__(z0, __(z1, z2)))), ACTIVE(__(__(z0, z1), z2)))
ACTIVE(U12(__(z0, nil))) → c9(U12'(mark(z0)), ACTIVE(__(z0, nil)))
ACTIVE(U12(__(nil, z0))) → c9(U12'(mark(z0)), ACTIVE(__(nil, z0)))
ACTIVE(U12(isNePal(__(z0, __(z1, z0))))) → c9(U12'(mark(U11(tt))), ACTIVE(isNePal(__(z0, __(z1, z0)))))
ACTIVE(U12(__(z0, z1))) → c9(U12'(__(active(z0), z1)), ACTIVE(__(z0, z1)))
ACTIVE(U12(__(z0, z1))) → c9(U12'(__(z0, active(z1))), ACTIVE(__(z0, z1)))
ACTIVE(U12(U11(z0))) → c9(U12'(U11(active(z0))), ACTIVE(U11(z0)))
ACTIVE(U12(U12(z0))) → c9(U12'(U12(active(z0))), ACTIVE(U12(z0)))
ACTIVE(U12(isNePal(z0))) → c9(U12'(isNePal(active(z0))), ACTIVE(isNePal(z0)))
ACTIVE(U11(U12(tt))) → c8(U11'(mark(tt)))
ACTIVE(U12(U11(tt))) → c9(U12'(mark(U12(tt))))
ACTIVE(U12(U12(tt))) → c9(U12'(mark(tt)))
ACTIVE(isNePal(__(__(z0, z1), z2))) → c10(ISNEPAL(mark(__(z0, __(z1, z2)))), ACTIVE(__(__(z0, z1), z2)))
ACTIVE(isNePal(__(z0, nil))) → c10(ISNEPAL(mark(z0)), ACTIVE(__(z0, nil)))
ACTIVE(isNePal(__(nil, z0))) → c10(ISNEPAL(mark(z0)), ACTIVE(__(nil, z0)))
ACTIVE(isNePal(isNePal(__(z0, __(z1, z0))))) → c10(ISNEPAL(mark(U11(tt))), ACTIVE(isNePal(__(z0, __(z1, z0)))))
ACTIVE(isNePal(__(z0, z1))) → c10(ISNEPAL(__(active(z0), z1)), ACTIVE(__(z0, z1)))
ACTIVE(isNePal(__(z0, z1))) → c10(ISNEPAL(__(z0, active(z1))), ACTIVE(__(z0, z1)))
ACTIVE(isNePal(U11(z0))) → c10(ISNEPAL(U11(active(z0))), ACTIVE(U11(z0)))
ACTIVE(isNePal(U12(z0))) → c10(ISNEPAL(U12(active(z0))), ACTIVE(U12(z0)))
ACTIVE(isNePal(isNePal(z0))) → c10(ISNEPAL(isNePal(active(z0))), ACTIVE(isNePal(z0)))
ACTIVE(isNePal(U11(tt))) → c10(ISNEPAL(mark(U12(tt))))
ACTIVE(isNePal(U12(tt))) → c10(ISNEPAL(mark(tt)))
PROPER(__(x0, __(z0, z1))) → c20(__'(proper(x0), __(proper(z0), proper(z1))), PROPER(x0), PROPER(__(z0, z1)))
PROPER(__(x0, U11(z0))) → c20(__'(proper(x0), U11(proper(z0))), PROPER(x0), PROPER(U11(z0)))
PROPER(__(x0, U12(z0))) → c20(__'(proper(x0), U12(proper(z0))), PROPER(x0), PROPER(U12(z0)))
PROPER(__(x0, isNePal(z0))) → c20(__'(proper(x0), isNePal(proper(z0))), PROPER(x0), PROPER(isNePal(z0)))
PROPER(__(__(z0, z1), x1)) → c20(__'(__(proper(z0), proper(z1)), proper(x1)), PROPER(__(z0, z1)), PROPER(x1))
PROPER(__(U11(z0), x1)) → c20(__'(U11(proper(z0)), proper(x1)), PROPER(U11(z0)), PROPER(x1))
PROPER(__(U12(z0), x1)) → c20(__'(U12(proper(z0)), proper(x1)), PROPER(U12(z0)), PROPER(x1))
PROPER(__(isNePal(z0), x1)) → c20(__'(isNePal(proper(z0)), proper(x1)), PROPER(isNePal(z0)), PROPER(x1))
PROPER(__(x0, nil)) → c20(__'(proper(x0), ok(nil)), PROPER(x0))
PROPER(__(x0, tt)) → c20(__'(proper(x0), ok(tt)), PROPER(x0))
PROPER(__(nil, x1)) → c20(__'(ok(nil), proper(x1)), PROPER(x1))
PROPER(__(tt, x1)) → c20(__'(ok(tt), proper(x1)), PROPER(x1))
K tuples:
TOP(mark(z0)) → c26(TOP(proper(z0)), PROPER(z0))
Defined Rule Symbols:
active, __, U11, U12, isNePal, proper
Defined Pair Symbols:
ACTIVE, __', U11', U12', ISNEPAL, PROPER, TOP
Compound Symbols:
c6, c7, c11, c12, c13, c14, c15, c16, c17, c18, c19, c22, c24, c25, c26, c27, c1, c8, c8, c9, c9, c10, c10, c20, c20
(27) CdtNarrowingProof (BOTH BOUNDS(ID, ID) transformation)
Use narrowing to replace
PROPER(
U11(
z0)) →
c22(
U11'(
proper(
z0)),
PROPER(
z0)) by
PROPER(U11(__(z0, z1))) → c22(U11'(__(proper(z0), proper(z1))), PROPER(__(z0, z1)))
PROPER(U11(nil)) → c22(U11'(ok(nil)), PROPER(nil))
PROPER(U11(U11(z0))) → c22(U11'(U11(proper(z0))), PROPER(U11(z0)))
PROPER(U11(tt)) → c22(U11'(ok(tt)), PROPER(tt))
PROPER(U11(U12(z0))) → c22(U11'(U12(proper(z0))), PROPER(U12(z0)))
PROPER(U11(isNePal(z0))) → c22(U11'(isNePal(proper(z0))), PROPER(isNePal(z0)))
(28) Obligation:
Complexity Dependency Tuples Problem
Rules:
active(__(__(z0, z1), z2)) → mark(__(z0, __(z1, z2)))
active(__(z0, nil)) → mark(z0)
active(__(nil, z0)) → mark(z0)
active(U11(tt)) → mark(U12(tt))
active(U12(tt)) → mark(tt)
active(isNePal(__(z0, __(z1, z0)))) → mark(U11(tt))
active(__(z0, z1)) → __(active(z0), z1)
active(__(z0, z1)) → __(z0, active(z1))
active(U11(z0)) → U11(active(z0))
active(U12(z0)) → U12(active(z0))
active(isNePal(z0)) → isNePal(active(z0))
__(z0, mark(z1)) → mark(__(z0, z1))
__(ok(z0), ok(z1)) → ok(__(z0, z1))
__(mark(z0), z1) → mark(__(z0, z1))
U11(mark(z0)) → mark(U11(z0))
U11(ok(z0)) → ok(U11(z0))
U12(mark(z0)) → mark(U12(z0))
U12(ok(z0)) → ok(U12(z0))
isNePal(mark(z0)) → mark(isNePal(z0))
isNePal(ok(z0)) → ok(isNePal(z0))
proper(__(z0, z1)) → __(proper(z0), proper(z1))
proper(nil) → ok(nil)
proper(U11(z0)) → U11(proper(z0))
proper(tt) → ok(tt)
proper(U12(z0)) → U12(proper(z0))
proper(isNePal(z0)) → isNePal(proper(z0))
Tuples:
ACTIVE(__(z0, z1)) → c6(__'(active(z0), z1), ACTIVE(z0))
ACTIVE(__(z0, z1)) → c7(__'(z0, active(z1)), ACTIVE(z1))
__'(mark(z0), z1) → c11(__'(z0, z1))
__'(z0, mark(z1)) → c12(__'(z0, z1))
__'(ok(z0), ok(z1)) → c13(__'(z0, z1))
U11'(mark(z0)) → c14(U11'(z0))
U11'(ok(z0)) → c15(U11'(z0))
U12'(mark(z0)) → c16(U12'(z0))
U12'(ok(z0)) → c17(U12'(z0))
ISNEPAL(mark(z0)) → c18(ISNEPAL(z0))
ISNEPAL(ok(z0)) → c19(ISNEPAL(z0))
PROPER(U12(z0)) → c24(U12'(proper(z0)), PROPER(z0))
PROPER(isNePal(z0)) → c25(ISNEPAL(proper(z0)), PROPER(z0))
TOP(mark(z0)) → c26(TOP(proper(z0)), PROPER(z0))
TOP(ok(z0)) → c27(TOP(active(z0)), ACTIVE(z0))
ACTIVE(__(__(z0, z1), z2)) → c1(__'(z0, __(z1, z2)))
ACTIVE(__(__(z0, z1), z2)) → c1(__'(z1, z2))
ACTIVE(U11(__(__(z0, z1), z2))) → c8(U11'(mark(__(z0, __(z1, z2)))), ACTIVE(__(__(z0, z1), z2)))
ACTIVE(U11(__(z0, nil))) → c8(U11'(mark(z0)), ACTIVE(__(z0, nil)))
ACTIVE(U11(__(nil, z0))) → c8(U11'(mark(z0)), ACTIVE(__(nil, z0)))
ACTIVE(U11(isNePal(__(z0, __(z1, z0))))) → c8(U11'(mark(U11(tt))), ACTIVE(isNePal(__(z0, __(z1, z0)))))
ACTIVE(U11(__(z0, z1))) → c8(U11'(__(active(z0), z1)), ACTIVE(__(z0, z1)))
ACTIVE(U11(__(z0, z1))) → c8(U11'(__(z0, active(z1))), ACTIVE(__(z0, z1)))
ACTIVE(U11(U11(z0))) → c8(U11'(U11(active(z0))), ACTIVE(U11(z0)))
ACTIVE(U11(U12(z0))) → c8(U11'(U12(active(z0))), ACTIVE(U12(z0)))
ACTIVE(U11(isNePal(z0))) → c8(U11'(isNePal(active(z0))), ACTIVE(isNePal(z0)))
ACTIVE(U11(U11(tt))) → c8(U11'(mark(U12(tt))))
ACTIVE(U12(__(__(z0, z1), z2))) → c9(U12'(mark(__(z0, __(z1, z2)))), ACTIVE(__(__(z0, z1), z2)))
ACTIVE(U12(__(z0, nil))) → c9(U12'(mark(z0)), ACTIVE(__(z0, nil)))
ACTIVE(U12(__(nil, z0))) → c9(U12'(mark(z0)), ACTIVE(__(nil, z0)))
ACTIVE(U12(isNePal(__(z0, __(z1, z0))))) → c9(U12'(mark(U11(tt))), ACTIVE(isNePal(__(z0, __(z1, z0)))))
ACTIVE(U12(__(z0, z1))) → c9(U12'(__(active(z0), z1)), ACTIVE(__(z0, z1)))
ACTIVE(U12(__(z0, z1))) → c9(U12'(__(z0, active(z1))), ACTIVE(__(z0, z1)))
ACTIVE(U12(U11(z0))) → c9(U12'(U11(active(z0))), ACTIVE(U11(z0)))
ACTIVE(U12(U12(z0))) → c9(U12'(U12(active(z0))), ACTIVE(U12(z0)))
ACTIVE(U12(isNePal(z0))) → c9(U12'(isNePal(active(z0))), ACTIVE(isNePal(z0)))
ACTIVE(U11(U12(tt))) → c8(U11'(mark(tt)))
ACTIVE(U12(U11(tt))) → c9(U12'(mark(U12(tt))))
ACTIVE(U12(U12(tt))) → c9(U12'(mark(tt)))
ACTIVE(isNePal(__(__(z0, z1), z2))) → c10(ISNEPAL(mark(__(z0, __(z1, z2)))), ACTIVE(__(__(z0, z1), z2)))
ACTIVE(isNePal(__(z0, nil))) → c10(ISNEPAL(mark(z0)), ACTIVE(__(z0, nil)))
ACTIVE(isNePal(__(nil, z0))) → c10(ISNEPAL(mark(z0)), ACTIVE(__(nil, z0)))
ACTIVE(isNePal(isNePal(__(z0, __(z1, z0))))) → c10(ISNEPAL(mark(U11(tt))), ACTIVE(isNePal(__(z0, __(z1, z0)))))
ACTIVE(isNePal(__(z0, z1))) → c10(ISNEPAL(__(active(z0), z1)), ACTIVE(__(z0, z1)))
ACTIVE(isNePal(__(z0, z1))) → c10(ISNEPAL(__(z0, active(z1))), ACTIVE(__(z0, z1)))
ACTIVE(isNePal(U11(z0))) → c10(ISNEPAL(U11(active(z0))), ACTIVE(U11(z0)))
ACTIVE(isNePal(U12(z0))) → c10(ISNEPAL(U12(active(z0))), ACTIVE(U12(z0)))
ACTIVE(isNePal(isNePal(z0))) → c10(ISNEPAL(isNePal(active(z0))), ACTIVE(isNePal(z0)))
ACTIVE(isNePal(U11(tt))) → c10(ISNEPAL(mark(U12(tt))))
ACTIVE(isNePal(U12(tt))) → c10(ISNEPAL(mark(tt)))
PROPER(__(x0, __(z0, z1))) → c20(__'(proper(x0), __(proper(z0), proper(z1))), PROPER(x0), PROPER(__(z0, z1)))
PROPER(__(x0, U11(z0))) → c20(__'(proper(x0), U11(proper(z0))), PROPER(x0), PROPER(U11(z0)))
PROPER(__(x0, U12(z0))) → c20(__'(proper(x0), U12(proper(z0))), PROPER(x0), PROPER(U12(z0)))
PROPER(__(x0, isNePal(z0))) → c20(__'(proper(x0), isNePal(proper(z0))), PROPER(x0), PROPER(isNePal(z0)))
PROPER(__(__(z0, z1), x1)) → c20(__'(__(proper(z0), proper(z1)), proper(x1)), PROPER(__(z0, z1)), PROPER(x1))
PROPER(__(U11(z0), x1)) → c20(__'(U11(proper(z0)), proper(x1)), PROPER(U11(z0)), PROPER(x1))
PROPER(__(U12(z0), x1)) → c20(__'(U12(proper(z0)), proper(x1)), PROPER(U12(z0)), PROPER(x1))
PROPER(__(isNePal(z0), x1)) → c20(__'(isNePal(proper(z0)), proper(x1)), PROPER(isNePal(z0)), PROPER(x1))
PROPER(__(x0, nil)) → c20(__'(proper(x0), ok(nil)), PROPER(x0))
PROPER(__(x0, tt)) → c20(__'(proper(x0), ok(tt)), PROPER(x0))
PROPER(__(nil, x1)) → c20(__'(ok(nil), proper(x1)), PROPER(x1))
PROPER(__(tt, x1)) → c20(__'(ok(tt), proper(x1)), PROPER(x1))
PROPER(U11(__(z0, z1))) → c22(U11'(__(proper(z0), proper(z1))), PROPER(__(z0, z1)))
PROPER(U11(nil)) → c22(U11'(ok(nil)), PROPER(nil))
PROPER(U11(U11(z0))) → c22(U11'(U11(proper(z0))), PROPER(U11(z0)))
PROPER(U11(tt)) → c22(U11'(ok(tt)), PROPER(tt))
PROPER(U11(U12(z0))) → c22(U11'(U12(proper(z0))), PROPER(U12(z0)))
PROPER(U11(isNePal(z0))) → c22(U11'(isNePal(proper(z0))), PROPER(isNePal(z0)))
S tuples:
ACTIVE(__(z0, z1)) → c6(__'(active(z0), z1), ACTIVE(z0))
ACTIVE(__(z0, z1)) → c7(__'(z0, active(z1)), ACTIVE(z1))
__'(mark(z0), z1) → c11(__'(z0, z1))
__'(z0, mark(z1)) → c12(__'(z0, z1))
__'(ok(z0), ok(z1)) → c13(__'(z0, z1))
U11'(mark(z0)) → c14(U11'(z0))
U11'(ok(z0)) → c15(U11'(z0))
U12'(mark(z0)) → c16(U12'(z0))
U12'(ok(z0)) → c17(U12'(z0))
ISNEPAL(mark(z0)) → c18(ISNEPAL(z0))
ISNEPAL(ok(z0)) → c19(ISNEPAL(z0))
PROPER(U12(z0)) → c24(U12'(proper(z0)), PROPER(z0))
PROPER(isNePal(z0)) → c25(ISNEPAL(proper(z0)), PROPER(z0))
TOP(ok(z0)) → c27(TOP(active(z0)), ACTIVE(z0))
ACTIVE(__(__(z0, z1), z2)) → c1(__'(z0, __(z1, z2)))
ACTIVE(__(__(z0, z1), z2)) → c1(__'(z1, z2))
ACTIVE(U11(__(__(z0, z1), z2))) → c8(U11'(mark(__(z0, __(z1, z2)))), ACTIVE(__(__(z0, z1), z2)))
ACTIVE(U11(__(z0, nil))) → c8(U11'(mark(z0)), ACTIVE(__(z0, nil)))
ACTIVE(U11(__(nil, z0))) → c8(U11'(mark(z0)), ACTIVE(__(nil, z0)))
ACTIVE(U11(isNePal(__(z0, __(z1, z0))))) → c8(U11'(mark(U11(tt))), ACTIVE(isNePal(__(z0, __(z1, z0)))))
ACTIVE(U11(__(z0, z1))) → c8(U11'(__(active(z0), z1)), ACTIVE(__(z0, z1)))
ACTIVE(U11(__(z0, z1))) → c8(U11'(__(z0, active(z1))), ACTIVE(__(z0, z1)))
ACTIVE(U11(U11(z0))) → c8(U11'(U11(active(z0))), ACTIVE(U11(z0)))
ACTIVE(U11(U12(z0))) → c8(U11'(U12(active(z0))), ACTIVE(U12(z0)))
ACTIVE(U11(isNePal(z0))) → c8(U11'(isNePal(active(z0))), ACTIVE(isNePal(z0)))
ACTIVE(U11(U11(tt))) → c8(U11'(mark(U12(tt))))
ACTIVE(U12(__(__(z0, z1), z2))) → c9(U12'(mark(__(z0, __(z1, z2)))), ACTIVE(__(__(z0, z1), z2)))
ACTIVE(U12(__(z0, nil))) → c9(U12'(mark(z0)), ACTIVE(__(z0, nil)))
ACTIVE(U12(__(nil, z0))) → c9(U12'(mark(z0)), ACTIVE(__(nil, z0)))
ACTIVE(U12(isNePal(__(z0, __(z1, z0))))) → c9(U12'(mark(U11(tt))), ACTIVE(isNePal(__(z0, __(z1, z0)))))
ACTIVE(U12(__(z0, z1))) → c9(U12'(__(active(z0), z1)), ACTIVE(__(z0, z1)))
ACTIVE(U12(__(z0, z1))) → c9(U12'(__(z0, active(z1))), ACTIVE(__(z0, z1)))
ACTIVE(U12(U11(z0))) → c9(U12'(U11(active(z0))), ACTIVE(U11(z0)))
ACTIVE(U12(U12(z0))) → c9(U12'(U12(active(z0))), ACTIVE(U12(z0)))
ACTIVE(U12(isNePal(z0))) → c9(U12'(isNePal(active(z0))), ACTIVE(isNePal(z0)))
ACTIVE(U11(U12(tt))) → c8(U11'(mark(tt)))
ACTIVE(U12(U11(tt))) → c9(U12'(mark(U12(tt))))
ACTIVE(U12(U12(tt))) → c9(U12'(mark(tt)))
ACTIVE(isNePal(__(__(z0, z1), z2))) → c10(ISNEPAL(mark(__(z0, __(z1, z2)))), ACTIVE(__(__(z0, z1), z2)))
ACTIVE(isNePal(__(z0, nil))) → c10(ISNEPAL(mark(z0)), ACTIVE(__(z0, nil)))
ACTIVE(isNePal(__(nil, z0))) → c10(ISNEPAL(mark(z0)), ACTIVE(__(nil, z0)))
ACTIVE(isNePal(isNePal(__(z0, __(z1, z0))))) → c10(ISNEPAL(mark(U11(tt))), ACTIVE(isNePal(__(z0, __(z1, z0)))))
ACTIVE(isNePal(__(z0, z1))) → c10(ISNEPAL(__(active(z0), z1)), ACTIVE(__(z0, z1)))
ACTIVE(isNePal(__(z0, z1))) → c10(ISNEPAL(__(z0, active(z1))), ACTIVE(__(z0, z1)))
ACTIVE(isNePal(U11(z0))) → c10(ISNEPAL(U11(active(z0))), ACTIVE(U11(z0)))
ACTIVE(isNePal(U12(z0))) → c10(ISNEPAL(U12(active(z0))), ACTIVE(U12(z0)))
ACTIVE(isNePal(isNePal(z0))) → c10(ISNEPAL(isNePal(active(z0))), ACTIVE(isNePal(z0)))
ACTIVE(isNePal(U11(tt))) → c10(ISNEPAL(mark(U12(tt))))
ACTIVE(isNePal(U12(tt))) → c10(ISNEPAL(mark(tt)))
PROPER(__(x0, __(z0, z1))) → c20(__'(proper(x0), __(proper(z0), proper(z1))), PROPER(x0), PROPER(__(z0, z1)))
PROPER(__(x0, U11(z0))) → c20(__'(proper(x0), U11(proper(z0))), PROPER(x0), PROPER(U11(z0)))
PROPER(__(x0, U12(z0))) → c20(__'(proper(x0), U12(proper(z0))), PROPER(x0), PROPER(U12(z0)))
PROPER(__(x0, isNePal(z0))) → c20(__'(proper(x0), isNePal(proper(z0))), PROPER(x0), PROPER(isNePal(z0)))
PROPER(__(__(z0, z1), x1)) → c20(__'(__(proper(z0), proper(z1)), proper(x1)), PROPER(__(z0, z1)), PROPER(x1))
PROPER(__(U11(z0), x1)) → c20(__'(U11(proper(z0)), proper(x1)), PROPER(U11(z0)), PROPER(x1))
PROPER(__(U12(z0), x1)) → c20(__'(U12(proper(z0)), proper(x1)), PROPER(U12(z0)), PROPER(x1))
PROPER(__(isNePal(z0), x1)) → c20(__'(isNePal(proper(z0)), proper(x1)), PROPER(isNePal(z0)), PROPER(x1))
PROPER(__(x0, nil)) → c20(__'(proper(x0), ok(nil)), PROPER(x0))
PROPER(__(x0, tt)) → c20(__'(proper(x0), ok(tt)), PROPER(x0))
PROPER(__(nil, x1)) → c20(__'(ok(nil), proper(x1)), PROPER(x1))
PROPER(__(tt, x1)) → c20(__'(ok(tt), proper(x1)), PROPER(x1))
PROPER(U11(__(z0, z1))) → c22(U11'(__(proper(z0), proper(z1))), PROPER(__(z0, z1)))
PROPER(U11(nil)) → c22(U11'(ok(nil)), PROPER(nil))
PROPER(U11(U11(z0))) → c22(U11'(U11(proper(z0))), PROPER(U11(z0)))
PROPER(U11(tt)) → c22(U11'(ok(tt)), PROPER(tt))
PROPER(U11(U12(z0))) → c22(U11'(U12(proper(z0))), PROPER(U12(z0)))
PROPER(U11(isNePal(z0))) → c22(U11'(isNePal(proper(z0))), PROPER(isNePal(z0)))
K tuples:
TOP(mark(z0)) → c26(TOP(proper(z0)), PROPER(z0))
Defined Rule Symbols:
active, __, U11, U12, isNePal, proper
Defined Pair Symbols:
ACTIVE, __', U11', U12', ISNEPAL, PROPER, TOP
Compound Symbols:
c6, c7, c11, c12, c13, c14, c15, c16, c17, c18, c19, c24, c25, c26, c27, c1, c8, c8, c9, c9, c10, c10, c20, c20, c22
(29) CdtRhsSimplificationProcessorProof (BOTH BOUNDS(ID, ID) transformation)
Removed 2 trailing tuple parts
(30) Obligation:
Complexity Dependency Tuples Problem
Rules:
active(__(__(z0, z1), z2)) → mark(__(z0, __(z1, z2)))
active(__(z0, nil)) → mark(z0)
active(__(nil, z0)) → mark(z0)
active(U11(tt)) → mark(U12(tt))
active(U12(tt)) → mark(tt)
active(isNePal(__(z0, __(z1, z0)))) → mark(U11(tt))
active(__(z0, z1)) → __(active(z0), z1)
active(__(z0, z1)) → __(z0, active(z1))
active(U11(z0)) → U11(active(z0))
active(U12(z0)) → U12(active(z0))
active(isNePal(z0)) → isNePal(active(z0))
__(z0, mark(z1)) → mark(__(z0, z1))
__(ok(z0), ok(z1)) → ok(__(z0, z1))
__(mark(z0), z1) → mark(__(z0, z1))
U11(mark(z0)) → mark(U11(z0))
U11(ok(z0)) → ok(U11(z0))
U12(mark(z0)) → mark(U12(z0))
U12(ok(z0)) → ok(U12(z0))
isNePal(mark(z0)) → mark(isNePal(z0))
isNePal(ok(z0)) → ok(isNePal(z0))
proper(__(z0, z1)) → __(proper(z0), proper(z1))
proper(nil) → ok(nil)
proper(U11(z0)) → U11(proper(z0))
proper(tt) → ok(tt)
proper(U12(z0)) → U12(proper(z0))
proper(isNePal(z0)) → isNePal(proper(z0))
Tuples:
ACTIVE(__(z0, z1)) → c6(__'(active(z0), z1), ACTIVE(z0))
ACTIVE(__(z0, z1)) → c7(__'(z0, active(z1)), ACTIVE(z1))
__'(mark(z0), z1) → c11(__'(z0, z1))
__'(z0, mark(z1)) → c12(__'(z0, z1))
__'(ok(z0), ok(z1)) → c13(__'(z0, z1))
U11'(mark(z0)) → c14(U11'(z0))
U11'(ok(z0)) → c15(U11'(z0))
U12'(mark(z0)) → c16(U12'(z0))
U12'(ok(z0)) → c17(U12'(z0))
ISNEPAL(mark(z0)) → c18(ISNEPAL(z0))
ISNEPAL(ok(z0)) → c19(ISNEPAL(z0))
PROPER(U12(z0)) → c24(U12'(proper(z0)), PROPER(z0))
PROPER(isNePal(z0)) → c25(ISNEPAL(proper(z0)), PROPER(z0))
TOP(mark(z0)) → c26(TOP(proper(z0)), PROPER(z0))
TOP(ok(z0)) → c27(TOP(active(z0)), ACTIVE(z0))
ACTIVE(__(__(z0, z1), z2)) → c1(__'(z0, __(z1, z2)))
ACTIVE(__(__(z0, z1), z2)) → c1(__'(z1, z2))
ACTIVE(U11(__(__(z0, z1), z2))) → c8(U11'(mark(__(z0, __(z1, z2)))), ACTIVE(__(__(z0, z1), z2)))
ACTIVE(U11(__(z0, nil))) → c8(U11'(mark(z0)), ACTIVE(__(z0, nil)))
ACTIVE(U11(__(nil, z0))) → c8(U11'(mark(z0)), ACTIVE(__(nil, z0)))
ACTIVE(U11(isNePal(__(z0, __(z1, z0))))) → c8(U11'(mark(U11(tt))), ACTIVE(isNePal(__(z0, __(z1, z0)))))
ACTIVE(U11(__(z0, z1))) → c8(U11'(__(active(z0), z1)), ACTIVE(__(z0, z1)))
ACTIVE(U11(__(z0, z1))) → c8(U11'(__(z0, active(z1))), ACTIVE(__(z0, z1)))
ACTIVE(U11(U11(z0))) → c8(U11'(U11(active(z0))), ACTIVE(U11(z0)))
ACTIVE(U11(U12(z0))) → c8(U11'(U12(active(z0))), ACTIVE(U12(z0)))
ACTIVE(U11(isNePal(z0))) → c8(U11'(isNePal(active(z0))), ACTIVE(isNePal(z0)))
ACTIVE(U11(U11(tt))) → c8(U11'(mark(U12(tt))))
ACTIVE(U12(__(__(z0, z1), z2))) → c9(U12'(mark(__(z0, __(z1, z2)))), ACTIVE(__(__(z0, z1), z2)))
ACTIVE(U12(__(z0, nil))) → c9(U12'(mark(z0)), ACTIVE(__(z0, nil)))
ACTIVE(U12(__(nil, z0))) → c9(U12'(mark(z0)), ACTIVE(__(nil, z0)))
ACTIVE(U12(isNePal(__(z0, __(z1, z0))))) → c9(U12'(mark(U11(tt))), ACTIVE(isNePal(__(z0, __(z1, z0)))))
ACTIVE(U12(__(z0, z1))) → c9(U12'(__(active(z0), z1)), ACTIVE(__(z0, z1)))
ACTIVE(U12(__(z0, z1))) → c9(U12'(__(z0, active(z1))), ACTIVE(__(z0, z1)))
ACTIVE(U12(U11(z0))) → c9(U12'(U11(active(z0))), ACTIVE(U11(z0)))
ACTIVE(U12(U12(z0))) → c9(U12'(U12(active(z0))), ACTIVE(U12(z0)))
ACTIVE(U12(isNePal(z0))) → c9(U12'(isNePal(active(z0))), ACTIVE(isNePal(z0)))
ACTIVE(U11(U12(tt))) → c8(U11'(mark(tt)))
ACTIVE(U12(U11(tt))) → c9(U12'(mark(U12(tt))))
ACTIVE(U12(U12(tt))) → c9(U12'(mark(tt)))
ACTIVE(isNePal(__(__(z0, z1), z2))) → c10(ISNEPAL(mark(__(z0, __(z1, z2)))), ACTIVE(__(__(z0, z1), z2)))
ACTIVE(isNePal(__(z0, nil))) → c10(ISNEPAL(mark(z0)), ACTIVE(__(z0, nil)))
ACTIVE(isNePal(__(nil, z0))) → c10(ISNEPAL(mark(z0)), ACTIVE(__(nil, z0)))
ACTIVE(isNePal(isNePal(__(z0, __(z1, z0))))) → c10(ISNEPAL(mark(U11(tt))), ACTIVE(isNePal(__(z0, __(z1, z0)))))
ACTIVE(isNePal(__(z0, z1))) → c10(ISNEPAL(__(active(z0), z1)), ACTIVE(__(z0, z1)))
ACTIVE(isNePal(__(z0, z1))) → c10(ISNEPAL(__(z0, active(z1))), ACTIVE(__(z0, z1)))
ACTIVE(isNePal(U11(z0))) → c10(ISNEPAL(U11(active(z0))), ACTIVE(U11(z0)))
ACTIVE(isNePal(U12(z0))) → c10(ISNEPAL(U12(active(z0))), ACTIVE(U12(z0)))
ACTIVE(isNePal(isNePal(z0))) → c10(ISNEPAL(isNePal(active(z0))), ACTIVE(isNePal(z0)))
ACTIVE(isNePal(U11(tt))) → c10(ISNEPAL(mark(U12(tt))))
ACTIVE(isNePal(U12(tt))) → c10(ISNEPAL(mark(tt)))
PROPER(__(x0, __(z0, z1))) → c20(__'(proper(x0), __(proper(z0), proper(z1))), PROPER(x0), PROPER(__(z0, z1)))
PROPER(__(x0, U11(z0))) → c20(__'(proper(x0), U11(proper(z0))), PROPER(x0), PROPER(U11(z0)))
PROPER(__(x0, U12(z0))) → c20(__'(proper(x0), U12(proper(z0))), PROPER(x0), PROPER(U12(z0)))
PROPER(__(x0, isNePal(z0))) → c20(__'(proper(x0), isNePal(proper(z0))), PROPER(x0), PROPER(isNePal(z0)))
PROPER(__(__(z0, z1), x1)) → c20(__'(__(proper(z0), proper(z1)), proper(x1)), PROPER(__(z0, z1)), PROPER(x1))
PROPER(__(U11(z0), x1)) → c20(__'(U11(proper(z0)), proper(x1)), PROPER(U11(z0)), PROPER(x1))
PROPER(__(U12(z0), x1)) → c20(__'(U12(proper(z0)), proper(x1)), PROPER(U12(z0)), PROPER(x1))
PROPER(__(isNePal(z0), x1)) → c20(__'(isNePal(proper(z0)), proper(x1)), PROPER(isNePal(z0)), PROPER(x1))
PROPER(__(x0, nil)) → c20(__'(proper(x0), ok(nil)), PROPER(x0))
PROPER(__(x0, tt)) → c20(__'(proper(x0), ok(tt)), PROPER(x0))
PROPER(__(nil, x1)) → c20(__'(ok(nil), proper(x1)), PROPER(x1))
PROPER(__(tt, x1)) → c20(__'(ok(tt), proper(x1)), PROPER(x1))
PROPER(U11(__(z0, z1))) → c22(U11'(__(proper(z0), proper(z1))), PROPER(__(z0, z1)))
PROPER(U11(U11(z0))) → c22(U11'(U11(proper(z0))), PROPER(U11(z0)))
PROPER(U11(U12(z0))) → c22(U11'(U12(proper(z0))), PROPER(U12(z0)))
PROPER(U11(isNePal(z0))) → c22(U11'(isNePal(proper(z0))), PROPER(isNePal(z0)))
PROPER(U11(nil)) → c22(U11'(ok(nil)))
PROPER(U11(tt)) → c22(U11'(ok(tt)))
S tuples:
ACTIVE(__(z0, z1)) → c6(__'(active(z0), z1), ACTIVE(z0))
ACTIVE(__(z0, z1)) → c7(__'(z0, active(z1)), ACTIVE(z1))
__'(mark(z0), z1) → c11(__'(z0, z1))
__'(z0, mark(z1)) → c12(__'(z0, z1))
__'(ok(z0), ok(z1)) → c13(__'(z0, z1))
U11'(mark(z0)) → c14(U11'(z0))
U11'(ok(z0)) → c15(U11'(z0))
U12'(mark(z0)) → c16(U12'(z0))
U12'(ok(z0)) → c17(U12'(z0))
ISNEPAL(mark(z0)) → c18(ISNEPAL(z0))
ISNEPAL(ok(z0)) → c19(ISNEPAL(z0))
PROPER(U12(z0)) → c24(U12'(proper(z0)), PROPER(z0))
PROPER(isNePal(z0)) → c25(ISNEPAL(proper(z0)), PROPER(z0))
TOP(ok(z0)) → c27(TOP(active(z0)), ACTIVE(z0))
ACTIVE(__(__(z0, z1), z2)) → c1(__'(z0, __(z1, z2)))
ACTIVE(__(__(z0, z1), z2)) → c1(__'(z1, z2))
ACTIVE(U11(__(__(z0, z1), z2))) → c8(U11'(mark(__(z0, __(z1, z2)))), ACTIVE(__(__(z0, z1), z2)))
ACTIVE(U11(__(z0, nil))) → c8(U11'(mark(z0)), ACTIVE(__(z0, nil)))
ACTIVE(U11(__(nil, z0))) → c8(U11'(mark(z0)), ACTIVE(__(nil, z0)))
ACTIVE(U11(isNePal(__(z0, __(z1, z0))))) → c8(U11'(mark(U11(tt))), ACTIVE(isNePal(__(z0, __(z1, z0)))))
ACTIVE(U11(__(z0, z1))) → c8(U11'(__(active(z0), z1)), ACTIVE(__(z0, z1)))
ACTIVE(U11(__(z0, z1))) → c8(U11'(__(z0, active(z1))), ACTIVE(__(z0, z1)))
ACTIVE(U11(U11(z0))) → c8(U11'(U11(active(z0))), ACTIVE(U11(z0)))
ACTIVE(U11(U12(z0))) → c8(U11'(U12(active(z0))), ACTIVE(U12(z0)))
ACTIVE(U11(isNePal(z0))) → c8(U11'(isNePal(active(z0))), ACTIVE(isNePal(z0)))
ACTIVE(U11(U11(tt))) → c8(U11'(mark(U12(tt))))
ACTIVE(U12(__(__(z0, z1), z2))) → c9(U12'(mark(__(z0, __(z1, z2)))), ACTIVE(__(__(z0, z1), z2)))
ACTIVE(U12(__(z0, nil))) → c9(U12'(mark(z0)), ACTIVE(__(z0, nil)))
ACTIVE(U12(__(nil, z0))) → c9(U12'(mark(z0)), ACTIVE(__(nil, z0)))
ACTIVE(U12(isNePal(__(z0, __(z1, z0))))) → c9(U12'(mark(U11(tt))), ACTIVE(isNePal(__(z0, __(z1, z0)))))
ACTIVE(U12(__(z0, z1))) → c9(U12'(__(active(z0), z1)), ACTIVE(__(z0, z1)))
ACTIVE(U12(__(z0, z1))) → c9(U12'(__(z0, active(z1))), ACTIVE(__(z0, z1)))
ACTIVE(U12(U11(z0))) → c9(U12'(U11(active(z0))), ACTIVE(U11(z0)))
ACTIVE(U12(U12(z0))) → c9(U12'(U12(active(z0))), ACTIVE(U12(z0)))
ACTIVE(U12(isNePal(z0))) → c9(U12'(isNePal(active(z0))), ACTIVE(isNePal(z0)))
ACTIVE(U11(U12(tt))) → c8(U11'(mark(tt)))
ACTIVE(U12(U11(tt))) → c9(U12'(mark(U12(tt))))
ACTIVE(U12(U12(tt))) → c9(U12'(mark(tt)))
ACTIVE(isNePal(__(__(z0, z1), z2))) → c10(ISNEPAL(mark(__(z0, __(z1, z2)))), ACTIVE(__(__(z0, z1), z2)))
ACTIVE(isNePal(__(z0, nil))) → c10(ISNEPAL(mark(z0)), ACTIVE(__(z0, nil)))
ACTIVE(isNePal(__(nil, z0))) → c10(ISNEPAL(mark(z0)), ACTIVE(__(nil, z0)))
ACTIVE(isNePal(isNePal(__(z0, __(z1, z0))))) → c10(ISNEPAL(mark(U11(tt))), ACTIVE(isNePal(__(z0, __(z1, z0)))))
ACTIVE(isNePal(__(z0, z1))) → c10(ISNEPAL(__(active(z0), z1)), ACTIVE(__(z0, z1)))
ACTIVE(isNePal(__(z0, z1))) → c10(ISNEPAL(__(z0, active(z1))), ACTIVE(__(z0, z1)))
ACTIVE(isNePal(U11(z0))) → c10(ISNEPAL(U11(active(z0))), ACTIVE(U11(z0)))
ACTIVE(isNePal(U12(z0))) → c10(ISNEPAL(U12(active(z0))), ACTIVE(U12(z0)))
ACTIVE(isNePal(isNePal(z0))) → c10(ISNEPAL(isNePal(active(z0))), ACTIVE(isNePal(z0)))
ACTIVE(isNePal(U11(tt))) → c10(ISNEPAL(mark(U12(tt))))
ACTIVE(isNePal(U12(tt))) → c10(ISNEPAL(mark(tt)))
PROPER(__(x0, __(z0, z1))) → c20(__'(proper(x0), __(proper(z0), proper(z1))), PROPER(x0), PROPER(__(z0, z1)))
PROPER(__(x0, U11(z0))) → c20(__'(proper(x0), U11(proper(z0))), PROPER(x0), PROPER(U11(z0)))
PROPER(__(x0, U12(z0))) → c20(__'(proper(x0), U12(proper(z0))), PROPER(x0), PROPER(U12(z0)))
PROPER(__(x0, isNePal(z0))) → c20(__'(proper(x0), isNePal(proper(z0))), PROPER(x0), PROPER(isNePal(z0)))
PROPER(__(__(z0, z1), x1)) → c20(__'(__(proper(z0), proper(z1)), proper(x1)), PROPER(__(z0, z1)), PROPER(x1))
PROPER(__(U11(z0), x1)) → c20(__'(U11(proper(z0)), proper(x1)), PROPER(U11(z0)), PROPER(x1))
PROPER(__(U12(z0), x1)) → c20(__'(U12(proper(z0)), proper(x1)), PROPER(U12(z0)), PROPER(x1))
PROPER(__(isNePal(z0), x1)) → c20(__'(isNePal(proper(z0)), proper(x1)), PROPER(isNePal(z0)), PROPER(x1))
PROPER(__(x0, nil)) → c20(__'(proper(x0), ok(nil)), PROPER(x0))
PROPER(__(x0, tt)) → c20(__'(proper(x0), ok(tt)), PROPER(x0))
PROPER(__(nil, x1)) → c20(__'(ok(nil), proper(x1)), PROPER(x1))
PROPER(__(tt, x1)) → c20(__'(ok(tt), proper(x1)), PROPER(x1))
PROPER(U11(__(z0, z1))) → c22(U11'(__(proper(z0), proper(z1))), PROPER(__(z0, z1)))
PROPER(U11(U11(z0))) → c22(U11'(U11(proper(z0))), PROPER(U11(z0)))
PROPER(U11(U12(z0))) → c22(U11'(U12(proper(z0))), PROPER(U12(z0)))
PROPER(U11(isNePal(z0))) → c22(U11'(isNePal(proper(z0))), PROPER(isNePal(z0)))
PROPER(U11(nil)) → c22(U11'(ok(nil)))
PROPER(U11(tt)) → c22(U11'(ok(tt)))
K tuples:
TOP(mark(z0)) → c26(TOP(proper(z0)), PROPER(z0))
Defined Rule Symbols:
active, __, U11, U12, isNePal, proper
Defined Pair Symbols:
ACTIVE, __', U11', U12', ISNEPAL, PROPER, TOP
Compound Symbols:
c6, c7, c11, c12, c13, c14, c15, c16, c17, c18, c19, c24, c25, c26, c27, c1, c8, c8, c9, c9, c10, c10, c20, c20, c22, c22
(31) CdtNarrowingProof (BOTH BOUNDS(ID, ID) transformation)
Use narrowing to replace
PROPER(
U12(
z0)) →
c24(
U12'(
proper(
z0)),
PROPER(
z0)) by
PROPER(U12(__(z0, z1))) → c24(U12'(__(proper(z0), proper(z1))), PROPER(__(z0, z1)))
PROPER(U12(nil)) → c24(U12'(ok(nil)), PROPER(nil))
PROPER(U12(U11(z0))) → c24(U12'(U11(proper(z0))), PROPER(U11(z0)))
PROPER(U12(tt)) → c24(U12'(ok(tt)), PROPER(tt))
PROPER(U12(U12(z0))) → c24(U12'(U12(proper(z0))), PROPER(U12(z0)))
PROPER(U12(isNePal(z0))) → c24(U12'(isNePal(proper(z0))), PROPER(isNePal(z0)))
(32) Obligation:
Complexity Dependency Tuples Problem
Rules:
active(__(__(z0, z1), z2)) → mark(__(z0, __(z1, z2)))
active(__(z0, nil)) → mark(z0)
active(__(nil, z0)) → mark(z0)
active(U11(tt)) → mark(U12(tt))
active(U12(tt)) → mark(tt)
active(isNePal(__(z0, __(z1, z0)))) → mark(U11(tt))
active(__(z0, z1)) → __(active(z0), z1)
active(__(z0, z1)) → __(z0, active(z1))
active(U11(z0)) → U11(active(z0))
active(U12(z0)) → U12(active(z0))
active(isNePal(z0)) → isNePal(active(z0))
__(z0, mark(z1)) → mark(__(z0, z1))
__(ok(z0), ok(z1)) → ok(__(z0, z1))
__(mark(z0), z1) → mark(__(z0, z1))
U11(mark(z0)) → mark(U11(z0))
U11(ok(z0)) → ok(U11(z0))
U12(mark(z0)) → mark(U12(z0))
U12(ok(z0)) → ok(U12(z0))
isNePal(mark(z0)) → mark(isNePal(z0))
isNePal(ok(z0)) → ok(isNePal(z0))
proper(__(z0, z1)) → __(proper(z0), proper(z1))
proper(nil) → ok(nil)
proper(U11(z0)) → U11(proper(z0))
proper(tt) → ok(tt)
proper(U12(z0)) → U12(proper(z0))
proper(isNePal(z0)) → isNePal(proper(z0))
Tuples:
ACTIVE(__(z0, z1)) → c6(__'(active(z0), z1), ACTIVE(z0))
ACTIVE(__(z0, z1)) → c7(__'(z0, active(z1)), ACTIVE(z1))
__'(mark(z0), z1) → c11(__'(z0, z1))
__'(z0, mark(z1)) → c12(__'(z0, z1))
__'(ok(z0), ok(z1)) → c13(__'(z0, z1))
U11'(mark(z0)) → c14(U11'(z0))
U11'(ok(z0)) → c15(U11'(z0))
U12'(mark(z0)) → c16(U12'(z0))
U12'(ok(z0)) → c17(U12'(z0))
ISNEPAL(mark(z0)) → c18(ISNEPAL(z0))
ISNEPAL(ok(z0)) → c19(ISNEPAL(z0))
PROPER(isNePal(z0)) → c25(ISNEPAL(proper(z0)), PROPER(z0))
TOP(mark(z0)) → c26(TOP(proper(z0)), PROPER(z0))
TOP(ok(z0)) → c27(TOP(active(z0)), ACTIVE(z0))
ACTIVE(__(__(z0, z1), z2)) → c1(__'(z0, __(z1, z2)))
ACTIVE(__(__(z0, z1), z2)) → c1(__'(z1, z2))
ACTIVE(U11(__(__(z0, z1), z2))) → c8(U11'(mark(__(z0, __(z1, z2)))), ACTIVE(__(__(z0, z1), z2)))
ACTIVE(U11(__(z0, nil))) → c8(U11'(mark(z0)), ACTIVE(__(z0, nil)))
ACTIVE(U11(__(nil, z0))) → c8(U11'(mark(z0)), ACTIVE(__(nil, z0)))
ACTIVE(U11(isNePal(__(z0, __(z1, z0))))) → c8(U11'(mark(U11(tt))), ACTIVE(isNePal(__(z0, __(z1, z0)))))
ACTIVE(U11(__(z0, z1))) → c8(U11'(__(active(z0), z1)), ACTIVE(__(z0, z1)))
ACTIVE(U11(__(z0, z1))) → c8(U11'(__(z0, active(z1))), ACTIVE(__(z0, z1)))
ACTIVE(U11(U11(z0))) → c8(U11'(U11(active(z0))), ACTIVE(U11(z0)))
ACTIVE(U11(U12(z0))) → c8(U11'(U12(active(z0))), ACTIVE(U12(z0)))
ACTIVE(U11(isNePal(z0))) → c8(U11'(isNePal(active(z0))), ACTIVE(isNePal(z0)))
ACTIVE(U11(U11(tt))) → c8(U11'(mark(U12(tt))))
ACTIVE(U12(__(__(z0, z1), z2))) → c9(U12'(mark(__(z0, __(z1, z2)))), ACTIVE(__(__(z0, z1), z2)))
ACTIVE(U12(__(z0, nil))) → c9(U12'(mark(z0)), ACTIVE(__(z0, nil)))
ACTIVE(U12(__(nil, z0))) → c9(U12'(mark(z0)), ACTIVE(__(nil, z0)))
ACTIVE(U12(isNePal(__(z0, __(z1, z0))))) → c9(U12'(mark(U11(tt))), ACTIVE(isNePal(__(z0, __(z1, z0)))))
ACTIVE(U12(__(z0, z1))) → c9(U12'(__(active(z0), z1)), ACTIVE(__(z0, z1)))
ACTIVE(U12(__(z0, z1))) → c9(U12'(__(z0, active(z1))), ACTIVE(__(z0, z1)))
ACTIVE(U12(U11(z0))) → c9(U12'(U11(active(z0))), ACTIVE(U11(z0)))
ACTIVE(U12(U12(z0))) → c9(U12'(U12(active(z0))), ACTIVE(U12(z0)))
ACTIVE(U12(isNePal(z0))) → c9(U12'(isNePal(active(z0))), ACTIVE(isNePal(z0)))
ACTIVE(U11(U12(tt))) → c8(U11'(mark(tt)))
ACTIVE(U12(U11(tt))) → c9(U12'(mark(U12(tt))))
ACTIVE(U12(U12(tt))) → c9(U12'(mark(tt)))
ACTIVE(isNePal(__(__(z0, z1), z2))) → c10(ISNEPAL(mark(__(z0, __(z1, z2)))), ACTIVE(__(__(z0, z1), z2)))
ACTIVE(isNePal(__(z0, nil))) → c10(ISNEPAL(mark(z0)), ACTIVE(__(z0, nil)))
ACTIVE(isNePal(__(nil, z0))) → c10(ISNEPAL(mark(z0)), ACTIVE(__(nil, z0)))
ACTIVE(isNePal(isNePal(__(z0, __(z1, z0))))) → c10(ISNEPAL(mark(U11(tt))), ACTIVE(isNePal(__(z0, __(z1, z0)))))
ACTIVE(isNePal(__(z0, z1))) → c10(ISNEPAL(__(active(z0), z1)), ACTIVE(__(z0, z1)))
ACTIVE(isNePal(__(z0, z1))) → c10(ISNEPAL(__(z0, active(z1))), ACTIVE(__(z0, z1)))
ACTIVE(isNePal(U11(z0))) → c10(ISNEPAL(U11(active(z0))), ACTIVE(U11(z0)))
ACTIVE(isNePal(U12(z0))) → c10(ISNEPAL(U12(active(z0))), ACTIVE(U12(z0)))
ACTIVE(isNePal(isNePal(z0))) → c10(ISNEPAL(isNePal(active(z0))), ACTIVE(isNePal(z0)))
ACTIVE(isNePal(U11(tt))) → c10(ISNEPAL(mark(U12(tt))))
ACTIVE(isNePal(U12(tt))) → c10(ISNEPAL(mark(tt)))
PROPER(__(x0, __(z0, z1))) → c20(__'(proper(x0), __(proper(z0), proper(z1))), PROPER(x0), PROPER(__(z0, z1)))
PROPER(__(x0, U11(z0))) → c20(__'(proper(x0), U11(proper(z0))), PROPER(x0), PROPER(U11(z0)))
PROPER(__(x0, U12(z0))) → c20(__'(proper(x0), U12(proper(z0))), PROPER(x0), PROPER(U12(z0)))
PROPER(__(x0, isNePal(z0))) → c20(__'(proper(x0), isNePal(proper(z0))), PROPER(x0), PROPER(isNePal(z0)))
PROPER(__(__(z0, z1), x1)) → c20(__'(__(proper(z0), proper(z1)), proper(x1)), PROPER(__(z0, z1)), PROPER(x1))
PROPER(__(U11(z0), x1)) → c20(__'(U11(proper(z0)), proper(x1)), PROPER(U11(z0)), PROPER(x1))
PROPER(__(U12(z0), x1)) → c20(__'(U12(proper(z0)), proper(x1)), PROPER(U12(z0)), PROPER(x1))
PROPER(__(isNePal(z0), x1)) → c20(__'(isNePal(proper(z0)), proper(x1)), PROPER(isNePal(z0)), PROPER(x1))
PROPER(__(x0, nil)) → c20(__'(proper(x0), ok(nil)), PROPER(x0))
PROPER(__(x0, tt)) → c20(__'(proper(x0), ok(tt)), PROPER(x0))
PROPER(__(nil, x1)) → c20(__'(ok(nil), proper(x1)), PROPER(x1))
PROPER(__(tt, x1)) → c20(__'(ok(tt), proper(x1)), PROPER(x1))
PROPER(U11(__(z0, z1))) → c22(U11'(__(proper(z0), proper(z1))), PROPER(__(z0, z1)))
PROPER(U11(U11(z0))) → c22(U11'(U11(proper(z0))), PROPER(U11(z0)))
PROPER(U11(U12(z0))) → c22(U11'(U12(proper(z0))), PROPER(U12(z0)))
PROPER(U11(isNePal(z0))) → c22(U11'(isNePal(proper(z0))), PROPER(isNePal(z0)))
PROPER(U11(nil)) → c22(U11'(ok(nil)))
PROPER(U11(tt)) → c22(U11'(ok(tt)))
PROPER(U12(__(z0, z1))) → c24(U12'(__(proper(z0), proper(z1))), PROPER(__(z0, z1)))
PROPER(U12(nil)) → c24(U12'(ok(nil)), PROPER(nil))
PROPER(U12(U11(z0))) → c24(U12'(U11(proper(z0))), PROPER(U11(z0)))
PROPER(U12(tt)) → c24(U12'(ok(tt)), PROPER(tt))
PROPER(U12(U12(z0))) → c24(U12'(U12(proper(z0))), PROPER(U12(z0)))
PROPER(U12(isNePal(z0))) → c24(U12'(isNePal(proper(z0))), PROPER(isNePal(z0)))
S tuples:
ACTIVE(__(z0, z1)) → c6(__'(active(z0), z1), ACTIVE(z0))
ACTIVE(__(z0, z1)) → c7(__'(z0, active(z1)), ACTIVE(z1))
__'(mark(z0), z1) → c11(__'(z0, z1))
__'(z0, mark(z1)) → c12(__'(z0, z1))
__'(ok(z0), ok(z1)) → c13(__'(z0, z1))
U11'(mark(z0)) → c14(U11'(z0))
U11'(ok(z0)) → c15(U11'(z0))
U12'(mark(z0)) → c16(U12'(z0))
U12'(ok(z0)) → c17(U12'(z0))
ISNEPAL(mark(z0)) → c18(ISNEPAL(z0))
ISNEPAL(ok(z0)) → c19(ISNEPAL(z0))
PROPER(isNePal(z0)) → c25(ISNEPAL(proper(z0)), PROPER(z0))
TOP(ok(z0)) → c27(TOP(active(z0)), ACTIVE(z0))
ACTIVE(__(__(z0, z1), z2)) → c1(__'(z0, __(z1, z2)))
ACTIVE(__(__(z0, z1), z2)) → c1(__'(z1, z2))
ACTIVE(U11(__(__(z0, z1), z2))) → c8(U11'(mark(__(z0, __(z1, z2)))), ACTIVE(__(__(z0, z1), z2)))
ACTIVE(U11(__(z0, nil))) → c8(U11'(mark(z0)), ACTIVE(__(z0, nil)))
ACTIVE(U11(__(nil, z0))) → c8(U11'(mark(z0)), ACTIVE(__(nil, z0)))
ACTIVE(U11(isNePal(__(z0, __(z1, z0))))) → c8(U11'(mark(U11(tt))), ACTIVE(isNePal(__(z0, __(z1, z0)))))
ACTIVE(U11(__(z0, z1))) → c8(U11'(__(active(z0), z1)), ACTIVE(__(z0, z1)))
ACTIVE(U11(__(z0, z1))) → c8(U11'(__(z0, active(z1))), ACTIVE(__(z0, z1)))
ACTIVE(U11(U11(z0))) → c8(U11'(U11(active(z0))), ACTIVE(U11(z0)))
ACTIVE(U11(U12(z0))) → c8(U11'(U12(active(z0))), ACTIVE(U12(z0)))
ACTIVE(U11(isNePal(z0))) → c8(U11'(isNePal(active(z0))), ACTIVE(isNePal(z0)))
ACTIVE(U11(U11(tt))) → c8(U11'(mark(U12(tt))))
ACTIVE(U12(__(__(z0, z1), z2))) → c9(U12'(mark(__(z0, __(z1, z2)))), ACTIVE(__(__(z0, z1), z2)))
ACTIVE(U12(__(z0, nil))) → c9(U12'(mark(z0)), ACTIVE(__(z0, nil)))
ACTIVE(U12(__(nil, z0))) → c9(U12'(mark(z0)), ACTIVE(__(nil, z0)))
ACTIVE(U12(isNePal(__(z0, __(z1, z0))))) → c9(U12'(mark(U11(tt))), ACTIVE(isNePal(__(z0, __(z1, z0)))))
ACTIVE(U12(__(z0, z1))) → c9(U12'(__(active(z0), z1)), ACTIVE(__(z0, z1)))
ACTIVE(U12(__(z0, z1))) → c9(U12'(__(z0, active(z1))), ACTIVE(__(z0, z1)))
ACTIVE(U12(U11(z0))) → c9(U12'(U11(active(z0))), ACTIVE(U11(z0)))
ACTIVE(U12(U12(z0))) → c9(U12'(U12(active(z0))), ACTIVE(U12(z0)))
ACTIVE(U12(isNePal(z0))) → c9(U12'(isNePal(active(z0))), ACTIVE(isNePal(z0)))
ACTIVE(U11(U12(tt))) → c8(U11'(mark(tt)))
ACTIVE(U12(U11(tt))) → c9(U12'(mark(U12(tt))))
ACTIVE(U12(U12(tt))) → c9(U12'(mark(tt)))
ACTIVE(isNePal(__(__(z0, z1), z2))) → c10(ISNEPAL(mark(__(z0, __(z1, z2)))), ACTIVE(__(__(z0, z1), z2)))
ACTIVE(isNePal(__(z0, nil))) → c10(ISNEPAL(mark(z0)), ACTIVE(__(z0, nil)))
ACTIVE(isNePal(__(nil, z0))) → c10(ISNEPAL(mark(z0)), ACTIVE(__(nil, z0)))
ACTIVE(isNePal(isNePal(__(z0, __(z1, z0))))) → c10(ISNEPAL(mark(U11(tt))), ACTIVE(isNePal(__(z0, __(z1, z0)))))
ACTIVE(isNePal(__(z0, z1))) → c10(ISNEPAL(__(active(z0), z1)), ACTIVE(__(z0, z1)))
ACTIVE(isNePal(__(z0, z1))) → c10(ISNEPAL(__(z0, active(z1))), ACTIVE(__(z0, z1)))
ACTIVE(isNePal(U11(z0))) → c10(ISNEPAL(U11(active(z0))), ACTIVE(U11(z0)))
ACTIVE(isNePal(U12(z0))) → c10(ISNEPAL(U12(active(z0))), ACTIVE(U12(z0)))
ACTIVE(isNePal(isNePal(z0))) → c10(ISNEPAL(isNePal(active(z0))), ACTIVE(isNePal(z0)))
ACTIVE(isNePal(U11(tt))) → c10(ISNEPAL(mark(U12(tt))))
ACTIVE(isNePal(U12(tt))) → c10(ISNEPAL(mark(tt)))
PROPER(__(x0, __(z0, z1))) → c20(__'(proper(x0), __(proper(z0), proper(z1))), PROPER(x0), PROPER(__(z0, z1)))
PROPER(__(x0, U11(z0))) → c20(__'(proper(x0), U11(proper(z0))), PROPER(x0), PROPER(U11(z0)))
PROPER(__(x0, U12(z0))) → c20(__'(proper(x0), U12(proper(z0))), PROPER(x0), PROPER(U12(z0)))
PROPER(__(x0, isNePal(z0))) → c20(__'(proper(x0), isNePal(proper(z0))), PROPER(x0), PROPER(isNePal(z0)))
PROPER(__(__(z0, z1), x1)) → c20(__'(__(proper(z0), proper(z1)), proper(x1)), PROPER(__(z0, z1)), PROPER(x1))
PROPER(__(U11(z0), x1)) → c20(__'(U11(proper(z0)), proper(x1)), PROPER(U11(z0)), PROPER(x1))
PROPER(__(U12(z0), x1)) → c20(__'(U12(proper(z0)), proper(x1)), PROPER(U12(z0)), PROPER(x1))
PROPER(__(isNePal(z0), x1)) → c20(__'(isNePal(proper(z0)), proper(x1)), PROPER(isNePal(z0)), PROPER(x1))
PROPER(__(x0, nil)) → c20(__'(proper(x0), ok(nil)), PROPER(x0))
PROPER(__(x0, tt)) → c20(__'(proper(x0), ok(tt)), PROPER(x0))
PROPER(__(nil, x1)) → c20(__'(ok(nil), proper(x1)), PROPER(x1))
PROPER(__(tt, x1)) → c20(__'(ok(tt), proper(x1)), PROPER(x1))
PROPER(U11(__(z0, z1))) → c22(U11'(__(proper(z0), proper(z1))), PROPER(__(z0, z1)))
PROPER(U11(U11(z0))) → c22(U11'(U11(proper(z0))), PROPER(U11(z0)))
PROPER(U11(U12(z0))) → c22(U11'(U12(proper(z0))), PROPER(U12(z0)))
PROPER(U11(isNePal(z0))) → c22(U11'(isNePal(proper(z0))), PROPER(isNePal(z0)))
PROPER(U11(nil)) → c22(U11'(ok(nil)))
PROPER(U11(tt)) → c22(U11'(ok(tt)))
PROPER(U12(__(z0, z1))) → c24(U12'(__(proper(z0), proper(z1))), PROPER(__(z0, z1)))
PROPER(U12(nil)) → c24(U12'(ok(nil)), PROPER(nil))
PROPER(U12(U11(z0))) → c24(U12'(U11(proper(z0))), PROPER(U11(z0)))
PROPER(U12(tt)) → c24(U12'(ok(tt)), PROPER(tt))
PROPER(U12(U12(z0))) → c24(U12'(U12(proper(z0))), PROPER(U12(z0)))
PROPER(U12(isNePal(z0))) → c24(U12'(isNePal(proper(z0))), PROPER(isNePal(z0)))
K tuples:
TOP(mark(z0)) → c26(TOP(proper(z0)), PROPER(z0))
Defined Rule Symbols:
active, __, U11, U12, isNePal, proper
Defined Pair Symbols:
ACTIVE, __', U11', U12', ISNEPAL, PROPER, TOP
Compound Symbols:
c6, c7, c11, c12, c13, c14, c15, c16, c17, c18, c19, c25, c26, c27, c1, c8, c8, c9, c9, c10, c10, c20, c20, c22, c22, c24
(33) CdtRhsSimplificationProcessorProof (BOTH BOUNDS(ID, ID) transformation)
Removed 2 trailing tuple parts
(34) Obligation:
Complexity Dependency Tuples Problem
Rules:
active(__(__(z0, z1), z2)) → mark(__(z0, __(z1, z2)))
active(__(z0, nil)) → mark(z0)
active(__(nil, z0)) → mark(z0)
active(U11(tt)) → mark(U12(tt))
active(U12(tt)) → mark(tt)
active(isNePal(__(z0, __(z1, z0)))) → mark(U11(tt))
active(__(z0, z1)) → __(active(z0), z1)
active(__(z0, z1)) → __(z0, active(z1))
active(U11(z0)) → U11(active(z0))
active(U12(z0)) → U12(active(z0))
active(isNePal(z0)) → isNePal(active(z0))
__(z0, mark(z1)) → mark(__(z0, z1))
__(ok(z0), ok(z1)) → ok(__(z0, z1))
__(mark(z0), z1) → mark(__(z0, z1))
U11(mark(z0)) → mark(U11(z0))
U11(ok(z0)) → ok(U11(z0))
U12(mark(z0)) → mark(U12(z0))
U12(ok(z0)) → ok(U12(z0))
isNePal(mark(z0)) → mark(isNePal(z0))
isNePal(ok(z0)) → ok(isNePal(z0))
proper(__(z0, z1)) → __(proper(z0), proper(z1))
proper(nil) → ok(nil)
proper(U11(z0)) → U11(proper(z0))
proper(tt) → ok(tt)
proper(U12(z0)) → U12(proper(z0))
proper(isNePal(z0)) → isNePal(proper(z0))
Tuples:
ACTIVE(__(z0, z1)) → c6(__'(active(z0), z1), ACTIVE(z0))
ACTIVE(__(z0, z1)) → c7(__'(z0, active(z1)), ACTIVE(z1))
__'(mark(z0), z1) → c11(__'(z0, z1))
__'(z0, mark(z1)) → c12(__'(z0, z1))
__'(ok(z0), ok(z1)) → c13(__'(z0, z1))
U11'(mark(z0)) → c14(U11'(z0))
U11'(ok(z0)) → c15(U11'(z0))
U12'(mark(z0)) → c16(U12'(z0))
U12'(ok(z0)) → c17(U12'(z0))
ISNEPAL(mark(z0)) → c18(ISNEPAL(z0))
ISNEPAL(ok(z0)) → c19(ISNEPAL(z0))
PROPER(isNePal(z0)) → c25(ISNEPAL(proper(z0)), PROPER(z0))
TOP(mark(z0)) → c26(TOP(proper(z0)), PROPER(z0))
TOP(ok(z0)) → c27(TOP(active(z0)), ACTIVE(z0))
ACTIVE(__(__(z0, z1), z2)) → c1(__'(z0, __(z1, z2)))
ACTIVE(__(__(z0, z1), z2)) → c1(__'(z1, z2))
ACTIVE(U11(__(__(z0, z1), z2))) → c8(U11'(mark(__(z0, __(z1, z2)))), ACTIVE(__(__(z0, z1), z2)))
ACTIVE(U11(__(z0, nil))) → c8(U11'(mark(z0)), ACTIVE(__(z0, nil)))
ACTIVE(U11(__(nil, z0))) → c8(U11'(mark(z0)), ACTIVE(__(nil, z0)))
ACTIVE(U11(isNePal(__(z0, __(z1, z0))))) → c8(U11'(mark(U11(tt))), ACTIVE(isNePal(__(z0, __(z1, z0)))))
ACTIVE(U11(__(z0, z1))) → c8(U11'(__(active(z0), z1)), ACTIVE(__(z0, z1)))
ACTIVE(U11(__(z0, z1))) → c8(U11'(__(z0, active(z1))), ACTIVE(__(z0, z1)))
ACTIVE(U11(U11(z0))) → c8(U11'(U11(active(z0))), ACTIVE(U11(z0)))
ACTIVE(U11(U12(z0))) → c8(U11'(U12(active(z0))), ACTIVE(U12(z0)))
ACTIVE(U11(isNePal(z0))) → c8(U11'(isNePal(active(z0))), ACTIVE(isNePal(z0)))
ACTIVE(U11(U11(tt))) → c8(U11'(mark(U12(tt))))
ACTIVE(U12(__(__(z0, z1), z2))) → c9(U12'(mark(__(z0, __(z1, z2)))), ACTIVE(__(__(z0, z1), z2)))
ACTIVE(U12(__(z0, nil))) → c9(U12'(mark(z0)), ACTIVE(__(z0, nil)))
ACTIVE(U12(__(nil, z0))) → c9(U12'(mark(z0)), ACTIVE(__(nil, z0)))
ACTIVE(U12(isNePal(__(z0, __(z1, z0))))) → c9(U12'(mark(U11(tt))), ACTIVE(isNePal(__(z0, __(z1, z0)))))
ACTIVE(U12(__(z0, z1))) → c9(U12'(__(active(z0), z1)), ACTIVE(__(z0, z1)))
ACTIVE(U12(__(z0, z1))) → c9(U12'(__(z0, active(z1))), ACTIVE(__(z0, z1)))
ACTIVE(U12(U11(z0))) → c9(U12'(U11(active(z0))), ACTIVE(U11(z0)))
ACTIVE(U12(U12(z0))) → c9(U12'(U12(active(z0))), ACTIVE(U12(z0)))
ACTIVE(U12(isNePal(z0))) → c9(U12'(isNePal(active(z0))), ACTIVE(isNePal(z0)))
ACTIVE(U11(U12(tt))) → c8(U11'(mark(tt)))
ACTIVE(U12(U11(tt))) → c9(U12'(mark(U12(tt))))
ACTIVE(U12(U12(tt))) → c9(U12'(mark(tt)))
ACTIVE(isNePal(__(__(z0, z1), z2))) → c10(ISNEPAL(mark(__(z0, __(z1, z2)))), ACTIVE(__(__(z0, z1), z2)))
ACTIVE(isNePal(__(z0, nil))) → c10(ISNEPAL(mark(z0)), ACTIVE(__(z0, nil)))
ACTIVE(isNePal(__(nil, z0))) → c10(ISNEPAL(mark(z0)), ACTIVE(__(nil, z0)))
ACTIVE(isNePal(isNePal(__(z0, __(z1, z0))))) → c10(ISNEPAL(mark(U11(tt))), ACTIVE(isNePal(__(z0, __(z1, z0)))))
ACTIVE(isNePal(__(z0, z1))) → c10(ISNEPAL(__(active(z0), z1)), ACTIVE(__(z0, z1)))
ACTIVE(isNePal(__(z0, z1))) → c10(ISNEPAL(__(z0, active(z1))), ACTIVE(__(z0, z1)))
ACTIVE(isNePal(U11(z0))) → c10(ISNEPAL(U11(active(z0))), ACTIVE(U11(z0)))
ACTIVE(isNePal(U12(z0))) → c10(ISNEPAL(U12(active(z0))), ACTIVE(U12(z0)))
ACTIVE(isNePal(isNePal(z0))) → c10(ISNEPAL(isNePal(active(z0))), ACTIVE(isNePal(z0)))
ACTIVE(isNePal(U11(tt))) → c10(ISNEPAL(mark(U12(tt))))
ACTIVE(isNePal(U12(tt))) → c10(ISNEPAL(mark(tt)))
PROPER(__(x0, __(z0, z1))) → c20(__'(proper(x0), __(proper(z0), proper(z1))), PROPER(x0), PROPER(__(z0, z1)))
PROPER(__(x0, U11(z0))) → c20(__'(proper(x0), U11(proper(z0))), PROPER(x0), PROPER(U11(z0)))
PROPER(__(x0, U12(z0))) → c20(__'(proper(x0), U12(proper(z0))), PROPER(x0), PROPER(U12(z0)))
PROPER(__(x0, isNePal(z0))) → c20(__'(proper(x0), isNePal(proper(z0))), PROPER(x0), PROPER(isNePal(z0)))
PROPER(__(__(z0, z1), x1)) → c20(__'(__(proper(z0), proper(z1)), proper(x1)), PROPER(__(z0, z1)), PROPER(x1))
PROPER(__(U11(z0), x1)) → c20(__'(U11(proper(z0)), proper(x1)), PROPER(U11(z0)), PROPER(x1))
PROPER(__(U12(z0), x1)) → c20(__'(U12(proper(z0)), proper(x1)), PROPER(U12(z0)), PROPER(x1))
PROPER(__(isNePal(z0), x1)) → c20(__'(isNePal(proper(z0)), proper(x1)), PROPER(isNePal(z0)), PROPER(x1))
PROPER(__(x0, nil)) → c20(__'(proper(x0), ok(nil)), PROPER(x0))
PROPER(__(x0, tt)) → c20(__'(proper(x0), ok(tt)), PROPER(x0))
PROPER(__(nil, x1)) → c20(__'(ok(nil), proper(x1)), PROPER(x1))
PROPER(__(tt, x1)) → c20(__'(ok(tt), proper(x1)), PROPER(x1))
PROPER(U11(__(z0, z1))) → c22(U11'(__(proper(z0), proper(z1))), PROPER(__(z0, z1)))
PROPER(U11(U11(z0))) → c22(U11'(U11(proper(z0))), PROPER(U11(z0)))
PROPER(U11(U12(z0))) → c22(U11'(U12(proper(z0))), PROPER(U12(z0)))
PROPER(U11(isNePal(z0))) → c22(U11'(isNePal(proper(z0))), PROPER(isNePal(z0)))
PROPER(U11(nil)) → c22(U11'(ok(nil)))
PROPER(U11(tt)) → c22(U11'(ok(tt)))
PROPER(U12(__(z0, z1))) → c24(U12'(__(proper(z0), proper(z1))), PROPER(__(z0, z1)))
PROPER(U12(U11(z0))) → c24(U12'(U11(proper(z0))), PROPER(U11(z0)))
PROPER(U12(U12(z0))) → c24(U12'(U12(proper(z0))), PROPER(U12(z0)))
PROPER(U12(isNePal(z0))) → c24(U12'(isNePal(proper(z0))), PROPER(isNePal(z0)))
PROPER(U12(nil)) → c24(U12'(ok(nil)))
PROPER(U12(tt)) → c24(U12'(ok(tt)))
S tuples:
ACTIVE(__(z0, z1)) → c6(__'(active(z0), z1), ACTIVE(z0))
ACTIVE(__(z0, z1)) → c7(__'(z0, active(z1)), ACTIVE(z1))
__'(mark(z0), z1) → c11(__'(z0, z1))
__'(z0, mark(z1)) → c12(__'(z0, z1))
__'(ok(z0), ok(z1)) → c13(__'(z0, z1))
U11'(mark(z0)) → c14(U11'(z0))
U11'(ok(z0)) → c15(U11'(z0))
U12'(mark(z0)) → c16(U12'(z0))
U12'(ok(z0)) → c17(U12'(z0))
ISNEPAL(mark(z0)) → c18(ISNEPAL(z0))
ISNEPAL(ok(z0)) → c19(ISNEPAL(z0))
PROPER(isNePal(z0)) → c25(ISNEPAL(proper(z0)), PROPER(z0))
TOP(ok(z0)) → c27(TOP(active(z0)), ACTIVE(z0))
ACTIVE(__(__(z0, z1), z2)) → c1(__'(z0, __(z1, z2)))
ACTIVE(__(__(z0, z1), z2)) → c1(__'(z1, z2))
ACTIVE(U11(__(__(z0, z1), z2))) → c8(U11'(mark(__(z0, __(z1, z2)))), ACTIVE(__(__(z0, z1), z2)))
ACTIVE(U11(__(z0, nil))) → c8(U11'(mark(z0)), ACTIVE(__(z0, nil)))
ACTIVE(U11(__(nil, z0))) → c8(U11'(mark(z0)), ACTIVE(__(nil, z0)))
ACTIVE(U11(isNePal(__(z0, __(z1, z0))))) → c8(U11'(mark(U11(tt))), ACTIVE(isNePal(__(z0, __(z1, z0)))))
ACTIVE(U11(__(z0, z1))) → c8(U11'(__(active(z0), z1)), ACTIVE(__(z0, z1)))
ACTIVE(U11(__(z0, z1))) → c8(U11'(__(z0, active(z1))), ACTIVE(__(z0, z1)))
ACTIVE(U11(U11(z0))) → c8(U11'(U11(active(z0))), ACTIVE(U11(z0)))
ACTIVE(U11(U12(z0))) → c8(U11'(U12(active(z0))), ACTIVE(U12(z0)))
ACTIVE(U11(isNePal(z0))) → c8(U11'(isNePal(active(z0))), ACTIVE(isNePal(z0)))
ACTIVE(U11(U11(tt))) → c8(U11'(mark(U12(tt))))
ACTIVE(U12(__(__(z0, z1), z2))) → c9(U12'(mark(__(z0, __(z1, z2)))), ACTIVE(__(__(z0, z1), z2)))
ACTIVE(U12(__(z0, nil))) → c9(U12'(mark(z0)), ACTIVE(__(z0, nil)))
ACTIVE(U12(__(nil, z0))) → c9(U12'(mark(z0)), ACTIVE(__(nil, z0)))
ACTIVE(U12(isNePal(__(z0, __(z1, z0))))) → c9(U12'(mark(U11(tt))), ACTIVE(isNePal(__(z0, __(z1, z0)))))
ACTIVE(U12(__(z0, z1))) → c9(U12'(__(active(z0), z1)), ACTIVE(__(z0, z1)))
ACTIVE(U12(__(z0, z1))) → c9(U12'(__(z0, active(z1))), ACTIVE(__(z0, z1)))
ACTIVE(U12(U11(z0))) → c9(U12'(U11(active(z0))), ACTIVE(U11(z0)))
ACTIVE(U12(U12(z0))) → c9(U12'(U12(active(z0))), ACTIVE(U12(z0)))
ACTIVE(U12(isNePal(z0))) → c9(U12'(isNePal(active(z0))), ACTIVE(isNePal(z0)))
ACTIVE(U11(U12(tt))) → c8(U11'(mark(tt)))
ACTIVE(U12(U11(tt))) → c9(U12'(mark(U12(tt))))
ACTIVE(U12(U12(tt))) → c9(U12'(mark(tt)))
ACTIVE(isNePal(__(__(z0, z1), z2))) → c10(ISNEPAL(mark(__(z0, __(z1, z2)))), ACTIVE(__(__(z0, z1), z2)))
ACTIVE(isNePal(__(z0, nil))) → c10(ISNEPAL(mark(z0)), ACTIVE(__(z0, nil)))
ACTIVE(isNePal(__(nil, z0))) → c10(ISNEPAL(mark(z0)), ACTIVE(__(nil, z0)))
ACTIVE(isNePal(isNePal(__(z0, __(z1, z0))))) → c10(ISNEPAL(mark(U11(tt))), ACTIVE(isNePal(__(z0, __(z1, z0)))))
ACTIVE(isNePal(__(z0, z1))) → c10(ISNEPAL(__(active(z0), z1)), ACTIVE(__(z0, z1)))
ACTIVE(isNePal(__(z0, z1))) → c10(ISNEPAL(__(z0, active(z1))), ACTIVE(__(z0, z1)))
ACTIVE(isNePal(U11(z0))) → c10(ISNEPAL(U11(active(z0))), ACTIVE(U11(z0)))
ACTIVE(isNePal(U12(z0))) → c10(ISNEPAL(U12(active(z0))), ACTIVE(U12(z0)))
ACTIVE(isNePal(isNePal(z0))) → c10(ISNEPAL(isNePal(active(z0))), ACTIVE(isNePal(z0)))
ACTIVE(isNePal(U11(tt))) → c10(ISNEPAL(mark(U12(tt))))
ACTIVE(isNePal(U12(tt))) → c10(ISNEPAL(mark(tt)))
PROPER(__(x0, __(z0, z1))) → c20(__'(proper(x0), __(proper(z0), proper(z1))), PROPER(x0), PROPER(__(z0, z1)))
PROPER(__(x0, U11(z0))) → c20(__'(proper(x0), U11(proper(z0))), PROPER(x0), PROPER(U11(z0)))
PROPER(__(x0, U12(z0))) → c20(__'(proper(x0), U12(proper(z0))), PROPER(x0), PROPER(U12(z0)))
PROPER(__(x0, isNePal(z0))) → c20(__'(proper(x0), isNePal(proper(z0))), PROPER(x0), PROPER(isNePal(z0)))
PROPER(__(__(z0, z1), x1)) → c20(__'(__(proper(z0), proper(z1)), proper(x1)), PROPER(__(z0, z1)), PROPER(x1))
PROPER(__(U11(z0), x1)) → c20(__'(U11(proper(z0)), proper(x1)), PROPER(U11(z0)), PROPER(x1))
PROPER(__(U12(z0), x1)) → c20(__'(U12(proper(z0)), proper(x1)), PROPER(U12(z0)), PROPER(x1))
PROPER(__(isNePal(z0), x1)) → c20(__'(isNePal(proper(z0)), proper(x1)), PROPER(isNePal(z0)), PROPER(x1))
PROPER(__(x0, nil)) → c20(__'(proper(x0), ok(nil)), PROPER(x0))
PROPER(__(x0, tt)) → c20(__'(proper(x0), ok(tt)), PROPER(x0))
PROPER(__(nil, x1)) → c20(__'(ok(nil), proper(x1)), PROPER(x1))
PROPER(__(tt, x1)) → c20(__'(ok(tt), proper(x1)), PROPER(x1))
PROPER(U11(__(z0, z1))) → c22(U11'(__(proper(z0), proper(z1))), PROPER(__(z0, z1)))
PROPER(U11(U11(z0))) → c22(U11'(U11(proper(z0))), PROPER(U11(z0)))
PROPER(U11(U12(z0))) → c22(U11'(U12(proper(z0))), PROPER(U12(z0)))
PROPER(U11(isNePal(z0))) → c22(U11'(isNePal(proper(z0))), PROPER(isNePal(z0)))
PROPER(U11(nil)) → c22(U11'(ok(nil)))
PROPER(U11(tt)) → c22(U11'(ok(tt)))
PROPER(U12(__(z0, z1))) → c24(U12'(__(proper(z0), proper(z1))), PROPER(__(z0, z1)))
PROPER(U12(U11(z0))) → c24(U12'(U11(proper(z0))), PROPER(U11(z0)))
PROPER(U12(U12(z0))) → c24(U12'(U12(proper(z0))), PROPER(U12(z0)))
PROPER(U12(isNePal(z0))) → c24(U12'(isNePal(proper(z0))), PROPER(isNePal(z0)))
PROPER(U12(nil)) → c24(U12'(ok(nil)))
PROPER(U12(tt)) → c24(U12'(ok(tt)))
K tuples:
TOP(mark(z0)) → c26(TOP(proper(z0)), PROPER(z0))
Defined Rule Symbols:
active, __, U11, U12, isNePal, proper
Defined Pair Symbols:
ACTIVE, __', U11', U12', ISNEPAL, PROPER, TOP
Compound Symbols:
c6, c7, c11, c12, c13, c14, c15, c16, c17, c18, c19, c25, c26, c27, c1, c8, c8, c9, c9, c10, c10, c20, c20, c22, c22, c24, c24
(35) CdtNarrowingProof (BOTH BOUNDS(ID, ID) transformation)
Use narrowing to replace
PROPER(
isNePal(
z0)) →
c25(
ISNEPAL(
proper(
z0)),
PROPER(
z0)) by
PROPER(isNePal(__(z0, z1))) → c25(ISNEPAL(__(proper(z0), proper(z1))), PROPER(__(z0, z1)))
PROPER(isNePal(nil)) → c25(ISNEPAL(ok(nil)), PROPER(nil))
PROPER(isNePal(U11(z0))) → c25(ISNEPAL(U11(proper(z0))), PROPER(U11(z0)))
PROPER(isNePal(tt)) → c25(ISNEPAL(ok(tt)), PROPER(tt))
PROPER(isNePal(U12(z0))) → c25(ISNEPAL(U12(proper(z0))), PROPER(U12(z0)))
PROPER(isNePal(isNePal(z0))) → c25(ISNEPAL(isNePal(proper(z0))), PROPER(isNePal(z0)))
(36) Obligation:
Complexity Dependency Tuples Problem
Rules:
active(__(__(z0, z1), z2)) → mark(__(z0, __(z1, z2)))
active(__(z0, nil)) → mark(z0)
active(__(nil, z0)) → mark(z0)
active(U11(tt)) → mark(U12(tt))
active(U12(tt)) → mark(tt)
active(isNePal(__(z0, __(z1, z0)))) → mark(U11(tt))
active(__(z0, z1)) → __(active(z0), z1)
active(__(z0, z1)) → __(z0, active(z1))
active(U11(z0)) → U11(active(z0))
active(U12(z0)) → U12(active(z0))
active(isNePal(z0)) → isNePal(active(z0))
__(z0, mark(z1)) → mark(__(z0, z1))
__(ok(z0), ok(z1)) → ok(__(z0, z1))
__(mark(z0), z1) → mark(__(z0, z1))
U11(mark(z0)) → mark(U11(z0))
U11(ok(z0)) → ok(U11(z0))
U12(mark(z0)) → mark(U12(z0))
U12(ok(z0)) → ok(U12(z0))
isNePal(mark(z0)) → mark(isNePal(z0))
isNePal(ok(z0)) → ok(isNePal(z0))
proper(__(z0, z1)) → __(proper(z0), proper(z1))
proper(nil) → ok(nil)
proper(U11(z0)) → U11(proper(z0))
proper(tt) → ok(tt)
proper(U12(z0)) → U12(proper(z0))
proper(isNePal(z0)) → isNePal(proper(z0))
Tuples:
ACTIVE(__(z0, z1)) → c6(__'(active(z0), z1), ACTIVE(z0))
ACTIVE(__(z0, z1)) → c7(__'(z0, active(z1)), ACTIVE(z1))
__'(mark(z0), z1) → c11(__'(z0, z1))
__'(z0, mark(z1)) → c12(__'(z0, z1))
__'(ok(z0), ok(z1)) → c13(__'(z0, z1))
U11'(mark(z0)) → c14(U11'(z0))
U11'(ok(z0)) → c15(U11'(z0))
U12'(mark(z0)) → c16(U12'(z0))
U12'(ok(z0)) → c17(U12'(z0))
ISNEPAL(mark(z0)) → c18(ISNEPAL(z0))
ISNEPAL(ok(z0)) → c19(ISNEPAL(z0))
TOP(mark(z0)) → c26(TOP(proper(z0)), PROPER(z0))
TOP(ok(z0)) → c27(TOP(active(z0)), ACTIVE(z0))
ACTIVE(__(__(z0, z1), z2)) → c1(__'(z0, __(z1, z2)))
ACTIVE(__(__(z0, z1), z2)) → c1(__'(z1, z2))
ACTIVE(U11(__(__(z0, z1), z2))) → c8(U11'(mark(__(z0, __(z1, z2)))), ACTIVE(__(__(z0, z1), z2)))
ACTIVE(U11(__(z0, nil))) → c8(U11'(mark(z0)), ACTIVE(__(z0, nil)))
ACTIVE(U11(__(nil, z0))) → c8(U11'(mark(z0)), ACTIVE(__(nil, z0)))
ACTIVE(U11(isNePal(__(z0, __(z1, z0))))) → c8(U11'(mark(U11(tt))), ACTIVE(isNePal(__(z0, __(z1, z0)))))
ACTIVE(U11(__(z0, z1))) → c8(U11'(__(active(z0), z1)), ACTIVE(__(z0, z1)))
ACTIVE(U11(__(z0, z1))) → c8(U11'(__(z0, active(z1))), ACTIVE(__(z0, z1)))
ACTIVE(U11(U11(z0))) → c8(U11'(U11(active(z0))), ACTIVE(U11(z0)))
ACTIVE(U11(U12(z0))) → c8(U11'(U12(active(z0))), ACTIVE(U12(z0)))
ACTIVE(U11(isNePal(z0))) → c8(U11'(isNePal(active(z0))), ACTIVE(isNePal(z0)))
ACTIVE(U11(U11(tt))) → c8(U11'(mark(U12(tt))))
ACTIVE(U12(__(__(z0, z1), z2))) → c9(U12'(mark(__(z0, __(z1, z2)))), ACTIVE(__(__(z0, z1), z2)))
ACTIVE(U12(__(z0, nil))) → c9(U12'(mark(z0)), ACTIVE(__(z0, nil)))
ACTIVE(U12(__(nil, z0))) → c9(U12'(mark(z0)), ACTIVE(__(nil, z0)))
ACTIVE(U12(isNePal(__(z0, __(z1, z0))))) → c9(U12'(mark(U11(tt))), ACTIVE(isNePal(__(z0, __(z1, z0)))))
ACTIVE(U12(__(z0, z1))) → c9(U12'(__(active(z0), z1)), ACTIVE(__(z0, z1)))
ACTIVE(U12(__(z0, z1))) → c9(U12'(__(z0, active(z1))), ACTIVE(__(z0, z1)))
ACTIVE(U12(U11(z0))) → c9(U12'(U11(active(z0))), ACTIVE(U11(z0)))
ACTIVE(U12(U12(z0))) → c9(U12'(U12(active(z0))), ACTIVE(U12(z0)))
ACTIVE(U12(isNePal(z0))) → c9(U12'(isNePal(active(z0))), ACTIVE(isNePal(z0)))
ACTIVE(U11(U12(tt))) → c8(U11'(mark(tt)))
ACTIVE(U12(U11(tt))) → c9(U12'(mark(U12(tt))))
ACTIVE(U12(U12(tt))) → c9(U12'(mark(tt)))
ACTIVE(isNePal(__(__(z0, z1), z2))) → c10(ISNEPAL(mark(__(z0, __(z1, z2)))), ACTIVE(__(__(z0, z1), z2)))
ACTIVE(isNePal(__(z0, nil))) → c10(ISNEPAL(mark(z0)), ACTIVE(__(z0, nil)))
ACTIVE(isNePal(__(nil, z0))) → c10(ISNEPAL(mark(z0)), ACTIVE(__(nil, z0)))
ACTIVE(isNePal(isNePal(__(z0, __(z1, z0))))) → c10(ISNEPAL(mark(U11(tt))), ACTIVE(isNePal(__(z0, __(z1, z0)))))
ACTIVE(isNePal(__(z0, z1))) → c10(ISNEPAL(__(active(z0), z1)), ACTIVE(__(z0, z1)))
ACTIVE(isNePal(__(z0, z1))) → c10(ISNEPAL(__(z0, active(z1))), ACTIVE(__(z0, z1)))
ACTIVE(isNePal(U11(z0))) → c10(ISNEPAL(U11(active(z0))), ACTIVE(U11(z0)))
ACTIVE(isNePal(U12(z0))) → c10(ISNEPAL(U12(active(z0))), ACTIVE(U12(z0)))
ACTIVE(isNePal(isNePal(z0))) → c10(ISNEPAL(isNePal(active(z0))), ACTIVE(isNePal(z0)))
ACTIVE(isNePal(U11(tt))) → c10(ISNEPAL(mark(U12(tt))))
ACTIVE(isNePal(U12(tt))) → c10(ISNEPAL(mark(tt)))
PROPER(__(x0, __(z0, z1))) → c20(__'(proper(x0), __(proper(z0), proper(z1))), PROPER(x0), PROPER(__(z0, z1)))
PROPER(__(x0, U11(z0))) → c20(__'(proper(x0), U11(proper(z0))), PROPER(x0), PROPER(U11(z0)))
PROPER(__(x0, U12(z0))) → c20(__'(proper(x0), U12(proper(z0))), PROPER(x0), PROPER(U12(z0)))
PROPER(__(x0, isNePal(z0))) → c20(__'(proper(x0), isNePal(proper(z0))), PROPER(x0), PROPER(isNePal(z0)))
PROPER(__(__(z0, z1), x1)) → c20(__'(__(proper(z0), proper(z1)), proper(x1)), PROPER(__(z0, z1)), PROPER(x1))
PROPER(__(U11(z0), x1)) → c20(__'(U11(proper(z0)), proper(x1)), PROPER(U11(z0)), PROPER(x1))
PROPER(__(U12(z0), x1)) → c20(__'(U12(proper(z0)), proper(x1)), PROPER(U12(z0)), PROPER(x1))
PROPER(__(isNePal(z0), x1)) → c20(__'(isNePal(proper(z0)), proper(x1)), PROPER(isNePal(z0)), PROPER(x1))
PROPER(__(x0, nil)) → c20(__'(proper(x0), ok(nil)), PROPER(x0))
PROPER(__(x0, tt)) → c20(__'(proper(x0), ok(tt)), PROPER(x0))
PROPER(__(nil, x1)) → c20(__'(ok(nil), proper(x1)), PROPER(x1))
PROPER(__(tt, x1)) → c20(__'(ok(tt), proper(x1)), PROPER(x1))
PROPER(U11(__(z0, z1))) → c22(U11'(__(proper(z0), proper(z1))), PROPER(__(z0, z1)))
PROPER(U11(U11(z0))) → c22(U11'(U11(proper(z0))), PROPER(U11(z0)))
PROPER(U11(U12(z0))) → c22(U11'(U12(proper(z0))), PROPER(U12(z0)))
PROPER(U11(isNePal(z0))) → c22(U11'(isNePal(proper(z0))), PROPER(isNePal(z0)))
PROPER(U11(nil)) → c22(U11'(ok(nil)))
PROPER(U11(tt)) → c22(U11'(ok(tt)))
PROPER(U12(__(z0, z1))) → c24(U12'(__(proper(z0), proper(z1))), PROPER(__(z0, z1)))
PROPER(U12(U11(z0))) → c24(U12'(U11(proper(z0))), PROPER(U11(z0)))
PROPER(U12(U12(z0))) → c24(U12'(U12(proper(z0))), PROPER(U12(z0)))
PROPER(U12(isNePal(z0))) → c24(U12'(isNePal(proper(z0))), PROPER(isNePal(z0)))
PROPER(U12(nil)) → c24(U12'(ok(nil)))
PROPER(U12(tt)) → c24(U12'(ok(tt)))
PROPER(isNePal(__(z0, z1))) → c25(ISNEPAL(__(proper(z0), proper(z1))), PROPER(__(z0, z1)))
PROPER(isNePal(nil)) → c25(ISNEPAL(ok(nil)), PROPER(nil))
PROPER(isNePal(U11(z0))) → c25(ISNEPAL(U11(proper(z0))), PROPER(U11(z0)))
PROPER(isNePal(tt)) → c25(ISNEPAL(ok(tt)), PROPER(tt))
PROPER(isNePal(U12(z0))) → c25(ISNEPAL(U12(proper(z0))), PROPER(U12(z0)))
PROPER(isNePal(isNePal(z0))) → c25(ISNEPAL(isNePal(proper(z0))), PROPER(isNePal(z0)))
S tuples:
ACTIVE(__(z0, z1)) → c6(__'(active(z0), z1), ACTIVE(z0))
ACTIVE(__(z0, z1)) → c7(__'(z0, active(z1)), ACTIVE(z1))
__'(mark(z0), z1) → c11(__'(z0, z1))
__'(z0, mark(z1)) → c12(__'(z0, z1))
__'(ok(z0), ok(z1)) → c13(__'(z0, z1))
U11'(mark(z0)) → c14(U11'(z0))
U11'(ok(z0)) → c15(U11'(z0))
U12'(mark(z0)) → c16(U12'(z0))
U12'(ok(z0)) → c17(U12'(z0))
ISNEPAL(mark(z0)) → c18(ISNEPAL(z0))
ISNEPAL(ok(z0)) → c19(ISNEPAL(z0))
TOP(ok(z0)) → c27(TOP(active(z0)), ACTIVE(z0))
ACTIVE(__(__(z0, z1), z2)) → c1(__'(z0, __(z1, z2)))
ACTIVE(__(__(z0, z1), z2)) → c1(__'(z1, z2))
ACTIVE(U11(__(__(z0, z1), z2))) → c8(U11'(mark(__(z0, __(z1, z2)))), ACTIVE(__(__(z0, z1), z2)))
ACTIVE(U11(__(z0, nil))) → c8(U11'(mark(z0)), ACTIVE(__(z0, nil)))
ACTIVE(U11(__(nil, z0))) → c8(U11'(mark(z0)), ACTIVE(__(nil, z0)))
ACTIVE(U11(isNePal(__(z0, __(z1, z0))))) → c8(U11'(mark(U11(tt))), ACTIVE(isNePal(__(z0, __(z1, z0)))))
ACTIVE(U11(__(z0, z1))) → c8(U11'(__(active(z0), z1)), ACTIVE(__(z0, z1)))
ACTIVE(U11(__(z0, z1))) → c8(U11'(__(z0, active(z1))), ACTIVE(__(z0, z1)))
ACTIVE(U11(U11(z0))) → c8(U11'(U11(active(z0))), ACTIVE(U11(z0)))
ACTIVE(U11(U12(z0))) → c8(U11'(U12(active(z0))), ACTIVE(U12(z0)))
ACTIVE(U11(isNePal(z0))) → c8(U11'(isNePal(active(z0))), ACTIVE(isNePal(z0)))
ACTIVE(U11(U11(tt))) → c8(U11'(mark(U12(tt))))
ACTIVE(U12(__(__(z0, z1), z2))) → c9(U12'(mark(__(z0, __(z1, z2)))), ACTIVE(__(__(z0, z1), z2)))
ACTIVE(U12(__(z0, nil))) → c9(U12'(mark(z0)), ACTIVE(__(z0, nil)))
ACTIVE(U12(__(nil, z0))) → c9(U12'(mark(z0)), ACTIVE(__(nil, z0)))
ACTIVE(U12(isNePal(__(z0, __(z1, z0))))) → c9(U12'(mark(U11(tt))), ACTIVE(isNePal(__(z0, __(z1, z0)))))
ACTIVE(U12(__(z0, z1))) → c9(U12'(__(active(z0), z1)), ACTIVE(__(z0, z1)))
ACTIVE(U12(__(z0, z1))) → c9(U12'(__(z0, active(z1))), ACTIVE(__(z0, z1)))
ACTIVE(U12(U11(z0))) → c9(U12'(U11(active(z0))), ACTIVE(U11(z0)))
ACTIVE(U12(U12(z0))) → c9(U12'(U12(active(z0))), ACTIVE(U12(z0)))
ACTIVE(U12(isNePal(z0))) → c9(U12'(isNePal(active(z0))), ACTIVE(isNePal(z0)))
ACTIVE(U11(U12(tt))) → c8(U11'(mark(tt)))
ACTIVE(U12(U11(tt))) → c9(U12'(mark(U12(tt))))
ACTIVE(U12(U12(tt))) → c9(U12'(mark(tt)))
ACTIVE(isNePal(__(__(z0, z1), z2))) → c10(ISNEPAL(mark(__(z0, __(z1, z2)))), ACTIVE(__(__(z0, z1), z2)))
ACTIVE(isNePal(__(z0, nil))) → c10(ISNEPAL(mark(z0)), ACTIVE(__(z0, nil)))
ACTIVE(isNePal(__(nil, z0))) → c10(ISNEPAL(mark(z0)), ACTIVE(__(nil, z0)))
ACTIVE(isNePal(isNePal(__(z0, __(z1, z0))))) → c10(ISNEPAL(mark(U11(tt))), ACTIVE(isNePal(__(z0, __(z1, z0)))))
ACTIVE(isNePal(__(z0, z1))) → c10(ISNEPAL(__(active(z0), z1)), ACTIVE(__(z0, z1)))
ACTIVE(isNePal(__(z0, z1))) → c10(ISNEPAL(__(z0, active(z1))), ACTIVE(__(z0, z1)))
ACTIVE(isNePal(U11(z0))) → c10(ISNEPAL(U11(active(z0))), ACTIVE(U11(z0)))
ACTIVE(isNePal(U12(z0))) → c10(ISNEPAL(U12(active(z0))), ACTIVE(U12(z0)))
ACTIVE(isNePal(isNePal(z0))) → c10(ISNEPAL(isNePal(active(z0))), ACTIVE(isNePal(z0)))
ACTIVE(isNePal(U11(tt))) → c10(ISNEPAL(mark(U12(tt))))
ACTIVE(isNePal(U12(tt))) → c10(ISNEPAL(mark(tt)))
PROPER(__(x0, __(z0, z1))) → c20(__'(proper(x0), __(proper(z0), proper(z1))), PROPER(x0), PROPER(__(z0, z1)))
PROPER(__(x0, U11(z0))) → c20(__'(proper(x0), U11(proper(z0))), PROPER(x0), PROPER(U11(z0)))
PROPER(__(x0, U12(z0))) → c20(__'(proper(x0), U12(proper(z0))), PROPER(x0), PROPER(U12(z0)))
PROPER(__(x0, isNePal(z0))) → c20(__'(proper(x0), isNePal(proper(z0))), PROPER(x0), PROPER(isNePal(z0)))
PROPER(__(__(z0, z1), x1)) → c20(__'(__(proper(z0), proper(z1)), proper(x1)), PROPER(__(z0, z1)), PROPER(x1))
PROPER(__(U11(z0), x1)) → c20(__'(U11(proper(z0)), proper(x1)), PROPER(U11(z0)), PROPER(x1))
PROPER(__(U12(z0), x1)) → c20(__'(U12(proper(z0)), proper(x1)), PROPER(U12(z0)), PROPER(x1))
PROPER(__(isNePal(z0), x1)) → c20(__'(isNePal(proper(z0)), proper(x1)), PROPER(isNePal(z0)), PROPER(x1))
PROPER(__(x0, nil)) → c20(__'(proper(x0), ok(nil)), PROPER(x0))
PROPER(__(x0, tt)) → c20(__'(proper(x0), ok(tt)), PROPER(x0))
PROPER(__(nil, x1)) → c20(__'(ok(nil), proper(x1)), PROPER(x1))
PROPER(__(tt, x1)) → c20(__'(ok(tt), proper(x1)), PROPER(x1))
PROPER(U11(__(z0, z1))) → c22(U11'(__(proper(z0), proper(z1))), PROPER(__(z0, z1)))
PROPER(U11(U11(z0))) → c22(U11'(U11(proper(z0))), PROPER(U11(z0)))
PROPER(U11(U12(z0))) → c22(U11'(U12(proper(z0))), PROPER(U12(z0)))
PROPER(U11(isNePal(z0))) → c22(U11'(isNePal(proper(z0))), PROPER(isNePal(z0)))
PROPER(U11(nil)) → c22(U11'(ok(nil)))
PROPER(U11(tt)) → c22(U11'(ok(tt)))
PROPER(U12(__(z0, z1))) → c24(U12'(__(proper(z0), proper(z1))), PROPER(__(z0, z1)))
PROPER(U12(U11(z0))) → c24(U12'(U11(proper(z0))), PROPER(U11(z0)))
PROPER(U12(U12(z0))) → c24(U12'(U12(proper(z0))), PROPER(U12(z0)))
PROPER(U12(isNePal(z0))) → c24(U12'(isNePal(proper(z0))), PROPER(isNePal(z0)))
PROPER(U12(nil)) → c24(U12'(ok(nil)))
PROPER(U12(tt)) → c24(U12'(ok(tt)))
PROPER(isNePal(__(z0, z1))) → c25(ISNEPAL(__(proper(z0), proper(z1))), PROPER(__(z0, z1)))
PROPER(isNePal(nil)) → c25(ISNEPAL(ok(nil)), PROPER(nil))
PROPER(isNePal(U11(z0))) → c25(ISNEPAL(U11(proper(z0))), PROPER(U11(z0)))
PROPER(isNePal(tt)) → c25(ISNEPAL(ok(tt)), PROPER(tt))
PROPER(isNePal(U12(z0))) → c25(ISNEPAL(U12(proper(z0))), PROPER(U12(z0)))
PROPER(isNePal(isNePal(z0))) → c25(ISNEPAL(isNePal(proper(z0))), PROPER(isNePal(z0)))
K tuples:
TOP(mark(z0)) → c26(TOP(proper(z0)), PROPER(z0))
Defined Rule Symbols:
active, __, U11, U12, isNePal, proper
Defined Pair Symbols:
ACTIVE, __', U11', U12', ISNEPAL, TOP, PROPER
Compound Symbols:
c6, c7, c11, c12, c13, c14, c15, c16, c17, c18, c19, c26, c27, c1, c8, c8, c9, c9, c10, c10, c20, c20, c22, c22, c24, c24, c25
(37) CdtRhsSimplificationProcessorProof (BOTH BOUNDS(ID, ID) transformation)
Removed 2 trailing tuple parts
(38) Obligation:
Complexity Dependency Tuples Problem
Rules:
active(__(__(z0, z1), z2)) → mark(__(z0, __(z1, z2)))
active(__(z0, nil)) → mark(z0)
active(__(nil, z0)) → mark(z0)
active(U11(tt)) → mark(U12(tt))
active(U12(tt)) → mark(tt)
active(isNePal(__(z0, __(z1, z0)))) → mark(U11(tt))
active(__(z0, z1)) → __(active(z0), z1)
active(__(z0, z1)) → __(z0, active(z1))
active(U11(z0)) → U11(active(z0))
active(U12(z0)) → U12(active(z0))
active(isNePal(z0)) → isNePal(active(z0))
__(z0, mark(z1)) → mark(__(z0, z1))
__(ok(z0), ok(z1)) → ok(__(z0, z1))
__(mark(z0), z1) → mark(__(z0, z1))
U11(mark(z0)) → mark(U11(z0))
U11(ok(z0)) → ok(U11(z0))
U12(mark(z0)) → mark(U12(z0))
U12(ok(z0)) → ok(U12(z0))
isNePal(mark(z0)) → mark(isNePal(z0))
isNePal(ok(z0)) → ok(isNePal(z0))
proper(__(z0, z1)) → __(proper(z0), proper(z1))
proper(nil) → ok(nil)
proper(U11(z0)) → U11(proper(z0))
proper(tt) → ok(tt)
proper(U12(z0)) → U12(proper(z0))
proper(isNePal(z0)) → isNePal(proper(z0))
Tuples:
ACTIVE(__(z0, z1)) → c6(__'(active(z0), z1), ACTIVE(z0))
ACTIVE(__(z0, z1)) → c7(__'(z0, active(z1)), ACTIVE(z1))
__'(mark(z0), z1) → c11(__'(z0, z1))
__'(z0, mark(z1)) → c12(__'(z0, z1))
__'(ok(z0), ok(z1)) → c13(__'(z0, z1))
U11'(mark(z0)) → c14(U11'(z0))
U11'(ok(z0)) → c15(U11'(z0))
U12'(mark(z0)) → c16(U12'(z0))
U12'(ok(z0)) → c17(U12'(z0))
ISNEPAL(mark(z0)) → c18(ISNEPAL(z0))
ISNEPAL(ok(z0)) → c19(ISNEPAL(z0))
TOP(mark(z0)) → c26(TOP(proper(z0)), PROPER(z0))
TOP(ok(z0)) → c27(TOP(active(z0)), ACTIVE(z0))
ACTIVE(__(__(z0, z1), z2)) → c1(__'(z0, __(z1, z2)))
ACTIVE(__(__(z0, z1), z2)) → c1(__'(z1, z2))
ACTIVE(U11(__(__(z0, z1), z2))) → c8(U11'(mark(__(z0, __(z1, z2)))), ACTIVE(__(__(z0, z1), z2)))
ACTIVE(U11(__(z0, nil))) → c8(U11'(mark(z0)), ACTIVE(__(z0, nil)))
ACTIVE(U11(__(nil, z0))) → c8(U11'(mark(z0)), ACTIVE(__(nil, z0)))
ACTIVE(U11(isNePal(__(z0, __(z1, z0))))) → c8(U11'(mark(U11(tt))), ACTIVE(isNePal(__(z0, __(z1, z0)))))
ACTIVE(U11(__(z0, z1))) → c8(U11'(__(active(z0), z1)), ACTIVE(__(z0, z1)))
ACTIVE(U11(__(z0, z1))) → c8(U11'(__(z0, active(z1))), ACTIVE(__(z0, z1)))
ACTIVE(U11(U11(z0))) → c8(U11'(U11(active(z0))), ACTIVE(U11(z0)))
ACTIVE(U11(U12(z0))) → c8(U11'(U12(active(z0))), ACTIVE(U12(z0)))
ACTIVE(U11(isNePal(z0))) → c8(U11'(isNePal(active(z0))), ACTIVE(isNePal(z0)))
ACTIVE(U11(U11(tt))) → c8(U11'(mark(U12(tt))))
ACTIVE(U12(__(__(z0, z1), z2))) → c9(U12'(mark(__(z0, __(z1, z2)))), ACTIVE(__(__(z0, z1), z2)))
ACTIVE(U12(__(z0, nil))) → c9(U12'(mark(z0)), ACTIVE(__(z0, nil)))
ACTIVE(U12(__(nil, z0))) → c9(U12'(mark(z0)), ACTIVE(__(nil, z0)))
ACTIVE(U12(isNePal(__(z0, __(z1, z0))))) → c9(U12'(mark(U11(tt))), ACTIVE(isNePal(__(z0, __(z1, z0)))))
ACTIVE(U12(__(z0, z1))) → c9(U12'(__(active(z0), z1)), ACTIVE(__(z0, z1)))
ACTIVE(U12(__(z0, z1))) → c9(U12'(__(z0, active(z1))), ACTIVE(__(z0, z1)))
ACTIVE(U12(U11(z0))) → c9(U12'(U11(active(z0))), ACTIVE(U11(z0)))
ACTIVE(U12(U12(z0))) → c9(U12'(U12(active(z0))), ACTIVE(U12(z0)))
ACTIVE(U12(isNePal(z0))) → c9(U12'(isNePal(active(z0))), ACTIVE(isNePal(z0)))
ACTIVE(U11(U12(tt))) → c8(U11'(mark(tt)))
ACTIVE(U12(U11(tt))) → c9(U12'(mark(U12(tt))))
ACTIVE(U12(U12(tt))) → c9(U12'(mark(tt)))
ACTIVE(isNePal(__(__(z0, z1), z2))) → c10(ISNEPAL(mark(__(z0, __(z1, z2)))), ACTIVE(__(__(z0, z1), z2)))
ACTIVE(isNePal(__(z0, nil))) → c10(ISNEPAL(mark(z0)), ACTIVE(__(z0, nil)))
ACTIVE(isNePal(__(nil, z0))) → c10(ISNEPAL(mark(z0)), ACTIVE(__(nil, z0)))
ACTIVE(isNePal(isNePal(__(z0, __(z1, z0))))) → c10(ISNEPAL(mark(U11(tt))), ACTIVE(isNePal(__(z0, __(z1, z0)))))
ACTIVE(isNePal(__(z0, z1))) → c10(ISNEPAL(__(active(z0), z1)), ACTIVE(__(z0, z1)))
ACTIVE(isNePal(__(z0, z1))) → c10(ISNEPAL(__(z0, active(z1))), ACTIVE(__(z0, z1)))
ACTIVE(isNePal(U11(z0))) → c10(ISNEPAL(U11(active(z0))), ACTIVE(U11(z0)))
ACTIVE(isNePal(U12(z0))) → c10(ISNEPAL(U12(active(z0))), ACTIVE(U12(z0)))
ACTIVE(isNePal(isNePal(z0))) → c10(ISNEPAL(isNePal(active(z0))), ACTIVE(isNePal(z0)))
ACTIVE(isNePal(U11(tt))) → c10(ISNEPAL(mark(U12(tt))))
ACTIVE(isNePal(U12(tt))) → c10(ISNEPAL(mark(tt)))
PROPER(__(x0, __(z0, z1))) → c20(__'(proper(x0), __(proper(z0), proper(z1))), PROPER(x0), PROPER(__(z0, z1)))
PROPER(__(x0, U11(z0))) → c20(__'(proper(x0), U11(proper(z0))), PROPER(x0), PROPER(U11(z0)))
PROPER(__(x0, U12(z0))) → c20(__'(proper(x0), U12(proper(z0))), PROPER(x0), PROPER(U12(z0)))
PROPER(__(x0, isNePal(z0))) → c20(__'(proper(x0), isNePal(proper(z0))), PROPER(x0), PROPER(isNePal(z0)))
PROPER(__(__(z0, z1), x1)) → c20(__'(__(proper(z0), proper(z1)), proper(x1)), PROPER(__(z0, z1)), PROPER(x1))
PROPER(__(U11(z0), x1)) → c20(__'(U11(proper(z0)), proper(x1)), PROPER(U11(z0)), PROPER(x1))
PROPER(__(U12(z0), x1)) → c20(__'(U12(proper(z0)), proper(x1)), PROPER(U12(z0)), PROPER(x1))
PROPER(__(isNePal(z0), x1)) → c20(__'(isNePal(proper(z0)), proper(x1)), PROPER(isNePal(z0)), PROPER(x1))
PROPER(__(x0, nil)) → c20(__'(proper(x0), ok(nil)), PROPER(x0))
PROPER(__(x0, tt)) → c20(__'(proper(x0), ok(tt)), PROPER(x0))
PROPER(__(nil, x1)) → c20(__'(ok(nil), proper(x1)), PROPER(x1))
PROPER(__(tt, x1)) → c20(__'(ok(tt), proper(x1)), PROPER(x1))
PROPER(U11(__(z0, z1))) → c22(U11'(__(proper(z0), proper(z1))), PROPER(__(z0, z1)))
PROPER(U11(U11(z0))) → c22(U11'(U11(proper(z0))), PROPER(U11(z0)))
PROPER(U11(U12(z0))) → c22(U11'(U12(proper(z0))), PROPER(U12(z0)))
PROPER(U11(isNePal(z0))) → c22(U11'(isNePal(proper(z0))), PROPER(isNePal(z0)))
PROPER(U11(nil)) → c22(U11'(ok(nil)))
PROPER(U11(tt)) → c22(U11'(ok(tt)))
PROPER(U12(__(z0, z1))) → c24(U12'(__(proper(z0), proper(z1))), PROPER(__(z0, z1)))
PROPER(U12(U11(z0))) → c24(U12'(U11(proper(z0))), PROPER(U11(z0)))
PROPER(U12(U12(z0))) → c24(U12'(U12(proper(z0))), PROPER(U12(z0)))
PROPER(U12(isNePal(z0))) → c24(U12'(isNePal(proper(z0))), PROPER(isNePal(z0)))
PROPER(U12(nil)) → c24(U12'(ok(nil)))
PROPER(U12(tt)) → c24(U12'(ok(tt)))
PROPER(isNePal(__(z0, z1))) → c25(ISNEPAL(__(proper(z0), proper(z1))), PROPER(__(z0, z1)))
PROPER(isNePal(U11(z0))) → c25(ISNEPAL(U11(proper(z0))), PROPER(U11(z0)))
PROPER(isNePal(U12(z0))) → c25(ISNEPAL(U12(proper(z0))), PROPER(U12(z0)))
PROPER(isNePal(isNePal(z0))) → c25(ISNEPAL(isNePal(proper(z0))), PROPER(isNePal(z0)))
PROPER(isNePal(nil)) → c25(ISNEPAL(ok(nil)))
PROPER(isNePal(tt)) → c25(ISNEPAL(ok(tt)))
S tuples:
ACTIVE(__(z0, z1)) → c6(__'(active(z0), z1), ACTIVE(z0))
ACTIVE(__(z0, z1)) → c7(__'(z0, active(z1)), ACTIVE(z1))
__'(mark(z0), z1) → c11(__'(z0, z1))
__'(z0, mark(z1)) → c12(__'(z0, z1))
__'(ok(z0), ok(z1)) → c13(__'(z0, z1))
U11'(mark(z0)) → c14(U11'(z0))
U11'(ok(z0)) → c15(U11'(z0))
U12'(mark(z0)) → c16(U12'(z0))
U12'(ok(z0)) → c17(U12'(z0))
ISNEPAL(mark(z0)) → c18(ISNEPAL(z0))
ISNEPAL(ok(z0)) → c19(ISNEPAL(z0))
TOP(ok(z0)) → c27(TOP(active(z0)), ACTIVE(z0))
ACTIVE(__(__(z0, z1), z2)) → c1(__'(z0, __(z1, z2)))
ACTIVE(__(__(z0, z1), z2)) → c1(__'(z1, z2))
ACTIVE(U11(__(__(z0, z1), z2))) → c8(U11'(mark(__(z0, __(z1, z2)))), ACTIVE(__(__(z0, z1), z2)))
ACTIVE(U11(__(z0, nil))) → c8(U11'(mark(z0)), ACTIVE(__(z0, nil)))
ACTIVE(U11(__(nil, z0))) → c8(U11'(mark(z0)), ACTIVE(__(nil, z0)))
ACTIVE(U11(isNePal(__(z0, __(z1, z0))))) → c8(U11'(mark(U11(tt))), ACTIVE(isNePal(__(z0, __(z1, z0)))))
ACTIVE(U11(__(z0, z1))) → c8(U11'(__(active(z0), z1)), ACTIVE(__(z0, z1)))
ACTIVE(U11(__(z0, z1))) → c8(U11'(__(z0, active(z1))), ACTIVE(__(z0, z1)))
ACTIVE(U11(U11(z0))) → c8(U11'(U11(active(z0))), ACTIVE(U11(z0)))
ACTIVE(U11(U12(z0))) → c8(U11'(U12(active(z0))), ACTIVE(U12(z0)))
ACTIVE(U11(isNePal(z0))) → c8(U11'(isNePal(active(z0))), ACTIVE(isNePal(z0)))
ACTIVE(U11(U11(tt))) → c8(U11'(mark(U12(tt))))
ACTIVE(U12(__(__(z0, z1), z2))) → c9(U12'(mark(__(z0, __(z1, z2)))), ACTIVE(__(__(z0, z1), z2)))
ACTIVE(U12(__(z0, nil))) → c9(U12'(mark(z0)), ACTIVE(__(z0, nil)))
ACTIVE(U12(__(nil, z0))) → c9(U12'(mark(z0)), ACTIVE(__(nil, z0)))
ACTIVE(U12(isNePal(__(z0, __(z1, z0))))) → c9(U12'(mark(U11(tt))), ACTIVE(isNePal(__(z0, __(z1, z0)))))
ACTIVE(U12(__(z0, z1))) → c9(U12'(__(active(z0), z1)), ACTIVE(__(z0, z1)))
ACTIVE(U12(__(z0, z1))) → c9(U12'(__(z0, active(z1))), ACTIVE(__(z0, z1)))
ACTIVE(U12(U11(z0))) → c9(U12'(U11(active(z0))), ACTIVE(U11(z0)))
ACTIVE(U12(U12(z0))) → c9(U12'(U12(active(z0))), ACTIVE(U12(z0)))
ACTIVE(U12(isNePal(z0))) → c9(U12'(isNePal(active(z0))), ACTIVE(isNePal(z0)))
ACTIVE(U11(U12(tt))) → c8(U11'(mark(tt)))
ACTIVE(U12(U11(tt))) → c9(U12'(mark(U12(tt))))
ACTIVE(U12(U12(tt))) → c9(U12'(mark(tt)))
ACTIVE(isNePal(__(__(z0, z1), z2))) → c10(ISNEPAL(mark(__(z0, __(z1, z2)))), ACTIVE(__(__(z0, z1), z2)))
ACTIVE(isNePal(__(z0, nil))) → c10(ISNEPAL(mark(z0)), ACTIVE(__(z0, nil)))
ACTIVE(isNePal(__(nil, z0))) → c10(ISNEPAL(mark(z0)), ACTIVE(__(nil, z0)))
ACTIVE(isNePal(isNePal(__(z0, __(z1, z0))))) → c10(ISNEPAL(mark(U11(tt))), ACTIVE(isNePal(__(z0, __(z1, z0)))))
ACTIVE(isNePal(__(z0, z1))) → c10(ISNEPAL(__(active(z0), z1)), ACTIVE(__(z0, z1)))
ACTIVE(isNePal(__(z0, z1))) → c10(ISNEPAL(__(z0, active(z1))), ACTIVE(__(z0, z1)))
ACTIVE(isNePal(U11(z0))) → c10(ISNEPAL(U11(active(z0))), ACTIVE(U11(z0)))
ACTIVE(isNePal(U12(z0))) → c10(ISNEPAL(U12(active(z0))), ACTIVE(U12(z0)))
ACTIVE(isNePal(isNePal(z0))) → c10(ISNEPAL(isNePal(active(z0))), ACTIVE(isNePal(z0)))
ACTIVE(isNePal(U11(tt))) → c10(ISNEPAL(mark(U12(tt))))
ACTIVE(isNePal(U12(tt))) → c10(ISNEPAL(mark(tt)))
PROPER(__(x0, __(z0, z1))) → c20(__'(proper(x0), __(proper(z0), proper(z1))), PROPER(x0), PROPER(__(z0, z1)))
PROPER(__(x0, U11(z0))) → c20(__'(proper(x0), U11(proper(z0))), PROPER(x0), PROPER(U11(z0)))
PROPER(__(x0, U12(z0))) → c20(__'(proper(x0), U12(proper(z0))), PROPER(x0), PROPER(U12(z0)))
PROPER(__(x0, isNePal(z0))) → c20(__'(proper(x0), isNePal(proper(z0))), PROPER(x0), PROPER(isNePal(z0)))
PROPER(__(__(z0, z1), x1)) → c20(__'(__(proper(z0), proper(z1)), proper(x1)), PROPER(__(z0, z1)), PROPER(x1))
PROPER(__(U11(z0), x1)) → c20(__'(U11(proper(z0)), proper(x1)), PROPER(U11(z0)), PROPER(x1))
PROPER(__(U12(z0), x1)) → c20(__'(U12(proper(z0)), proper(x1)), PROPER(U12(z0)), PROPER(x1))
PROPER(__(isNePal(z0), x1)) → c20(__'(isNePal(proper(z0)), proper(x1)), PROPER(isNePal(z0)), PROPER(x1))
PROPER(__(x0, nil)) → c20(__'(proper(x0), ok(nil)), PROPER(x0))
PROPER(__(x0, tt)) → c20(__'(proper(x0), ok(tt)), PROPER(x0))
PROPER(__(nil, x1)) → c20(__'(ok(nil), proper(x1)), PROPER(x1))
PROPER(__(tt, x1)) → c20(__'(ok(tt), proper(x1)), PROPER(x1))
PROPER(U11(__(z0, z1))) → c22(U11'(__(proper(z0), proper(z1))), PROPER(__(z0, z1)))
PROPER(U11(U11(z0))) → c22(U11'(U11(proper(z0))), PROPER(U11(z0)))
PROPER(U11(U12(z0))) → c22(U11'(U12(proper(z0))), PROPER(U12(z0)))
PROPER(U11(isNePal(z0))) → c22(U11'(isNePal(proper(z0))), PROPER(isNePal(z0)))
PROPER(U11(nil)) → c22(U11'(ok(nil)))
PROPER(U11(tt)) → c22(U11'(ok(tt)))
PROPER(U12(__(z0, z1))) → c24(U12'(__(proper(z0), proper(z1))), PROPER(__(z0, z1)))
PROPER(U12(U11(z0))) → c24(U12'(U11(proper(z0))), PROPER(U11(z0)))
PROPER(U12(U12(z0))) → c24(U12'(U12(proper(z0))), PROPER(U12(z0)))
PROPER(U12(isNePal(z0))) → c24(U12'(isNePal(proper(z0))), PROPER(isNePal(z0)))
PROPER(U12(nil)) → c24(U12'(ok(nil)))
PROPER(U12(tt)) → c24(U12'(ok(tt)))
PROPER(isNePal(__(z0, z1))) → c25(ISNEPAL(__(proper(z0), proper(z1))), PROPER(__(z0, z1)))
PROPER(isNePal(U11(z0))) → c25(ISNEPAL(U11(proper(z0))), PROPER(U11(z0)))
PROPER(isNePal(U12(z0))) → c25(ISNEPAL(U12(proper(z0))), PROPER(U12(z0)))
PROPER(isNePal(isNePal(z0))) → c25(ISNEPAL(isNePal(proper(z0))), PROPER(isNePal(z0)))
PROPER(isNePal(nil)) → c25(ISNEPAL(ok(nil)))
PROPER(isNePal(tt)) → c25(ISNEPAL(ok(tt)))
K tuples:
TOP(mark(z0)) → c26(TOP(proper(z0)), PROPER(z0))
Defined Rule Symbols:
active, __, U11, U12, isNePal, proper
Defined Pair Symbols:
ACTIVE, __', U11', U12', ISNEPAL, TOP, PROPER
Compound Symbols:
c6, c7, c11, c12, c13, c14, c15, c16, c17, c18, c19, c26, c27, c1, c8, c8, c9, c9, c10, c10, c20, c20, c22, c22, c24, c24, c25, c25
(39) CdtNarrowingProof (BOTH BOUNDS(ID, ID) transformation)
Use narrowing to replace
TOP(
mark(
z0)) →
c26(
TOP(
proper(
z0)),
PROPER(
z0)) by
TOP(mark(__(z0, z1))) → c26(TOP(__(proper(z0), proper(z1))), PROPER(__(z0, z1)))
TOP(mark(nil)) → c26(TOP(ok(nil)), PROPER(nil))
TOP(mark(U11(z0))) → c26(TOP(U11(proper(z0))), PROPER(U11(z0)))
TOP(mark(tt)) → c26(TOP(ok(tt)), PROPER(tt))
TOP(mark(U12(z0))) → c26(TOP(U12(proper(z0))), PROPER(U12(z0)))
TOP(mark(isNePal(z0))) → c26(TOP(isNePal(proper(z0))), PROPER(isNePal(z0)))
(40) Obligation:
Complexity Dependency Tuples Problem
Rules:
active(__(__(z0, z1), z2)) → mark(__(z0, __(z1, z2)))
active(__(z0, nil)) → mark(z0)
active(__(nil, z0)) → mark(z0)
active(U11(tt)) → mark(U12(tt))
active(U12(tt)) → mark(tt)
active(isNePal(__(z0, __(z1, z0)))) → mark(U11(tt))
active(__(z0, z1)) → __(active(z0), z1)
active(__(z0, z1)) → __(z0, active(z1))
active(U11(z0)) → U11(active(z0))
active(U12(z0)) → U12(active(z0))
active(isNePal(z0)) → isNePal(active(z0))
__(z0, mark(z1)) → mark(__(z0, z1))
__(ok(z0), ok(z1)) → ok(__(z0, z1))
__(mark(z0), z1) → mark(__(z0, z1))
U11(mark(z0)) → mark(U11(z0))
U11(ok(z0)) → ok(U11(z0))
U12(mark(z0)) → mark(U12(z0))
U12(ok(z0)) → ok(U12(z0))
isNePal(mark(z0)) → mark(isNePal(z0))
isNePal(ok(z0)) → ok(isNePal(z0))
proper(__(z0, z1)) → __(proper(z0), proper(z1))
proper(nil) → ok(nil)
proper(U11(z0)) → U11(proper(z0))
proper(tt) → ok(tt)
proper(U12(z0)) → U12(proper(z0))
proper(isNePal(z0)) → isNePal(proper(z0))
Tuples:
ACTIVE(__(z0, z1)) → c6(__'(active(z0), z1), ACTIVE(z0))
ACTIVE(__(z0, z1)) → c7(__'(z0, active(z1)), ACTIVE(z1))
__'(mark(z0), z1) → c11(__'(z0, z1))
__'(z0, mark(z1)) → c12(__'(z0, z1))
__'(ok(z0), ok(z1)) → c13(__'(z0, z1))
U11'(mark(z0)) → c14(U11'(z0))
U11'(ok(z0)) → c15(U11'(z0))
U12'(mark(z0)) → c16(U12'(z0))
U12'(ok(z0)) → c17(U12'(z0))
ISNEPAL(mark(z0)) → c18(ISNEPAL(z0))
ISNEPAL(ok(z0)) → c19(ISNEPAL(z0))
TOP(ok(z0)) → c27(TOP(active(z0)), ACTIVE(z0))
ACTIVE(__(__(z0, z1), z2)) → c1(__'(z0, __(z1, z2)))
ACTIVE(__(__(z0, z1), z2)) → c1(__'(z1, z2))
ACTIVE(U11(__(__(z0, z1), z2))) → c8(U11'(mark(__(z0, __(z1, z2)))), ACTIVE(__(__(z0, z1), z2)))
ACTIVE(U11(__(z0, nil))) → c8(U11'(mark(z0)), ACTIVE(__(z0, nil)))
ACTIVE(U11(__(nil, z0))) → c8(U11'(mark(z0)), ACTIVE(__(nil, z0)))
ACTIVE(U11(isNePal(__(z0, __(z1, z0))))) → c8(U11'(mark(U11(tt))), ACTIVE(isNePal(__(z0, __(z1, z0)))))
ACTIVE(U11(__(z0, z1))) → c8(U11'(__(active(z0), z1)), ACTIVE(__(z0, z1)))
ACTIVE(U11(__(z0, z1))) → c8(U11'(__(z0, active(z1))), ACTIVE(__(z0, z1)))
ACTIVE(U11(U11(z0))) → c8(U11'(U11(active(z0))), ACTIVE(U11(z0)))
ACTIVE(U11(U12(z0))) → c8(U11'(U12(active(z0))), ACTIVE(U12(z0)))
ACTIVE(U11(isNePal(z0))) → c8(U11'(isNePal(active(z0))), ACTIVE(isNePal(z0)))
ACTIVE(U11(U11(tt))) → c8(U11'(mark(U12(tt))))
ACTIVE(U12(__(__(z0, z1), z2))) → c9(U12'(mark(__(z0, __(z1, z2)))), ACTIVE(__(__(z0, z1), z2)))
ACTIVE(U12(__(z0, nil))) → c9(U12'(mark(z0)), ACTIVE(__(z0, nil)))
ACTIVE(U12(__(nil, z0))) → c9(U12'(mark(z0)), ACTIVE(__(nil, z0)))
ACTIVE(U12(isNePal(__(z0, __(z1, z0))))) → c9(U12'(mark(U11(tt))), ACTIVE(isNePal(__(z0, __(z1, z0)))))
ACTIVE(U12(__(z0, z1))) → c9(U12'(__(active(z0), z1)), ACTIVE(__(z0, z1)))
ACTIVE(U12(__(z0, z1))) → c9(U12'(__(z0, active(z1))), ACTIVE(__(z0, z1)))
ACTIVE(U12(U11(z0))) → c9(U12'(U11(active(z0))), ACTIVE(U11(z0)))
ACTIVE(U12(U12(z0))) → c9(U12'(U12(active(z0))), ACTIVE(U12(z0)))
ACTIVE(U12(isNePal(z0))) → c9(U12'(isNePal(active(z0))), ACTIVE(isNePal(z0)))
ACTIVE(U11(U12(tt))) → c8(U11'(mark(tt)))
ACTIVE(U12(U11(tt))) → c9(U12'(mark(U12(tt))))
ACTIVE(U12(U12(tt))) → c9(U12'(mark(tt)))
ACTIVE(isNePal(__(__(z0, z1), z2))) → c10(ISNEPAL(mark(__(z0, __(z1, z2)))), ACTIVE(__(__(z0, z1), z2)))
ACTIVE(isNePal(__(z0, nil))) → c10(ISNEPAL(mark(z0)), ACTIVE(__(z0, nil)))
ACTIVE(isNePal(__(nil, z0))) → c10(ISNEPAL(mark(z0)), ACTIVE(__(nil, z0)))
ACTIVE(isNePal(isNePal(__(z0, __(z1, z0))))) → c10(ISNEPAL(mark(U11(tt))), ACTIVE(isNePal(__(z0, __(z1, z0)))))
ACTIVE(isNePal(__(z0, z1))) → c10(ISNEPAL(__(active(z0), z1)), ACTIVE(__(z0, z1)))
ACTIVE(isNePal(__(z0, z1))) → c10(ISNEPAL(__(z0, active(z1))), ACTIVE(__(z0, z1)))
ACTIVE(isNePal(U11(z0))) → c10(ISNEPAL(U11(active(z0))), ACTIVE(U11(z0)))
ACTIVE(isNePal(U12(z0))) → c10(ISNEPAL(U12(active(z0))), ACTIVE(U12(z0)))
ACTIVE(isNePal(isNePal(z0))) → c10(ISNEPAL(isNePal(active(z0))), ACTIVE(isNePal(z0)))
ACTIVE(isNePal(U11(tt))) → c10(ISNEPAL(mark(U12(tt))))
ACTIVE(isNePal(U12(tt))) → c10(ISNEPAL(mark(tt)))
PROPER(__(x0, __(z0, z1))) → c20(__'(proper(x0), __(proper(z0), proper(z1))), PROPER(x0), PROPER(__(z0, z1)))
PROPER(__(x0, U11(z0))) → c20(__'(proper(x0), U11(proper(z0))), PROPER(x0), PROPER(U11(z0)))
PROPER(__(x0, U12(z0))) → c20(__'(proper(x0), U12(proper(z0))), PROPER(x0), PROPER(U12(z0)))
PROPER(__(x0, isNePal(z0))) → c20(__'(proper(x0), isNePal(proper(z0))), PROPER(x0), PROPER(isNePal(z0)))
PROPER(__(__(z0, z1), x1)) → c20(__'(__(proper(z0), proper(z1)), proper(x1)), PROPER(__(z0, z1)), PROPER(x1))
PROPER(__(U11(z0), x1)) → c20(__'(U11(proper(z0)), proper(x1)), PROPER(U11(z0)), PROPER(x1))
PROPER(__(U12(z0), x1)) → c20(__'(U12(proper(z0)), proper(x1)), PROPER(U12(z0)), PROPER(x1))
PROPER(__(isNePal(z0), x1)) → c20(__'(isNePal(proper(z0)), proper(x1)), PROPER(isNePal(z0)), PROPER(x1))
PROPER(__(x0, nil)) → c20(__'(proper(x0), ok(nil)), PROPER(x0))
PROPER(__(x0, tt)) → c20(__'(proper(x0), ok(tt)), PROPER(x0))
PROPER(__(nil, x1)) → c20(__'(ok(nil), proper(x1)), PROPER(x1))
PROPER(__(tt, x1)) → c20(__'(ok(tt), proper(x1)), PROPER(x1))
PROPER(U11(__(z0, z1))) → c22(U11'(__(proper(z0), proper(z1))), PROPER(__(z0, z1)))
PROPER(U11(U11(z0))) → c22(U11'(U11(proper(z0))), PROPER(U11(z0)))
PROPER(U11(U12(z0))) → c22(U11'(U12(proper(z0))), PROPER(U12(z0)))
PROPER(U11(isNePal(z0))) → c22(U11'(isNePal(proper(z0))), PROPER(isNePal(z0)))
PROPER(U11(nil)) → c22(U11'(ok(nil)))
PROPER(U11(tt)) → c22(U11'(ok(tt)))
PROPER(U12(__(z0, z1))) → c24(U12'(__(proper(z0), proper(z1))), PROPER(__(z0, z1)))
PROPER(U12(U11(z0))) → c24(U12'(U11(proper(z0))), PROPER(U11(z0)))
PROPER(U12(U12(z0))) → c24(U12'(U12(proper(z0))), PROPER(U12(z0)))
PROPER(U12(isNePal(z0))) → c24(U12'(isNePal(proper(z0))), PROPER(isNePal(z0)))
PROPER(U12(nil)) → c24(U12'(ok(nil)))
PROPER(U12(tt)) → c24(U12'(ok(tt)))
PROPER(isNePal(__(z0, z1))) → c25(ISNEPAL(__(proper(z0), proper(z1))), PROPER(__(z0, z1)))
PROPER(isNePal(U11(z0))) → c25(ISNEPAL(U11(proper(z0))), PROPER(U11(z0)))
PROPER(isNePal(U12(z0))) → c25(ISNEPAL(U12(proper(z0))), PROPER(U12(z0)))
PROPER(isNePal(isNePal(z0))) → c25(ISNEPAL(isNePal(proper(z0))), PROPER(isNePal(z0)))
PROPER(isNePal(nil)) → c25(ISNEPAL(ok(nil)))
PROPER(isNePal(tt)) → c25(ISNEPAL(ok(tt)))
TOP(mark(__(z0, z1))) → c26(TOP(__(proper(z0), proper(z1))), PROPER(__(z0, z1)))
TOP(mark(nil)) → c26(TOP(ok(nil)), PROPER(nil))
TOP(mark(U11(z0))) → c26(TOP(U11(proper(z0))), PROPER(U11(z0)))
TOP(mark(tt)) → c26(TOP(ok(tt)), PROPER(tt))
TOP(mark(U12(z0))) → c26(TOP(U12(proper(z0))), PROPER(U12(z0)))
TOP(mark(isNePal(z0))) → c26(TOP(isNePal(proper(z0))), PROPER(isNePal(z0)))
S tuples:
ACTIVE(__(z0, z1)) → c6(__'(active(z0), z1), ACTIVE(z0))
ACTIVE(__(z0, z1)) → c7(__'(z0, active(z1)), ACTIVE(z1))
__'(mark(z0), z1) → c11(__'(z0, z1))
__'(z0, mark(z1)) → c12(__'(z0, z1))
__'(ok(z0), ok(z1)) → c13(__'(z0, z1))
U11'(mark(z0)) → c14(U11'(z0))
U11'(ok(z0)) → c15(U11'(z0))
U12'(mark(z0)) → c16(U12'(z0))
U12'(ok(z0)) → c17(U12'(z0))
ISNEPAL(mark(z0)) → c18(ISNEPAL(z0))
ISNEPAL(ok(z0)) → c19(ISNEPAL(z0))
TOP(ok(z0)) → c27(TOP(active(z0)), ACTIVE(z0))
ACTIVE(__(__(z0, z1), z2)) → c1(__'(z0, __(z1, z2)))
ACTIVE(__(__(z0, z1), z2)) → c1(__'(z1, z2))
ACTIVE(U11(__(__(z0, z1), z2))) → c8(U11'(mark(__(z0, __(z1, z2)))), ACTIVE(__(__(z0, z1), z2)))
ACTIVE(U11(__(z0, nil))) → c8(U11'(mark(z0)), ACTIVE(__(z0, nil)))
ACTIVE(U11(__(nil, z0))) → c8(U11'(mark(z0)), ACTIVE(__(nil, z0)))
ACTIVE(U11(isNePal(__(z0, __(z1, z0))))) → c8(U11'(mark(U11(tt))), ACTIVE(isNePal(__(z0, __(z1, z0)))))
ACTIVE(U11(__(z0, z1))) → c8(U11'(__(active(z0), z1)), ACTIVE(__(z0, z1)))
ACTIVE(U11(__(z0, z1))) → c8(U11'(__(z0, active(z1))), ACTIVE(__(z0, z1)))
ACTIVE(U11(U11(z0))) → c8(U11'(U11(active(z0))), ACTIVE(U11(z0)))
ACTIVE(U11(U12(z0))) → c8(U11'(U12(active(z0))), ACTIVE(U12(z0)))
ACTIVE(U11(isNePal(z0))) → c8(U11'(isNePal(active(z0))), ACTIVE(isNePal(z0)))
ACTIVE(U11(U11(tt))) → c8(U11'(mark(U12(tt))))
ACTIVE(U12(__(__(z0, z1), z2))) → c9(U12'(mark(__(z0, __(z1, z2)))), ACTIVE(__(__(z0, z1), z2)))
ACTIVE(U12(__(z0, nil))) → c9(U12'(mark(z0)), ACTIVE(__(z0, nil)))
ACTIVE(U12(__(nil, z0))) → c9(U12'(mark(z0)), ACTIVE(__(nil, z0)))
ACTIVE(U12(isNePal(__(z0, __(z1, z0))))) → c9(U12'(mark(U11(tt))), ACTIVE(isNePal(__(z0, __(z1, z0)))))
ACTIVE(U12(__(z0, z1))) → c9(U12'(__(active(z0), z1)), ACTIVE(__(z0, z1)))
ACTIVE(U12(__(z0, z1))) → c9(U12'(__(z0, active(z1))), ACTIVE(__(z0, z1)))
ACTIVE(U12(U11(z0))) → c9(U12'(U11(active(z0))), ACTIVE(U11(z0)))
ACTIVE(U12(U12(z0))) → c9(U12'(U12(active(z0))), ACTIVE(U12(z0)))
ACTIVE(U12(isNePal(z0))) → c9(U12'(isNePal(active(z0))), ACTIVE(isNePal(z0)))
ACTIVE(U11(U12(tt))) → c8(U11'(mark(tt)))
ACTIVE(U12(U11(tt))) → c9(U12'(mark(U12(tt))))
ACTIVE(U12(U12(tt))) → c9(U12'(mark(tt)))
ACTIVE(isNePal(__(__(z0, z1), z2))) → c10(ISNEPAL(mark(__(z0, __(z1, z2)))), ACTIVE(__(__(z0, z1), z2)))
ACTIVE(isNePal(__(z0, nil))) → c10(ISNEPAL(mark(z0)), ACTIVE(__(z0, nil)))
ACTIVE(isNePal(__(nil, z0))) → c10(ISNEPAL(mark(z0)), ACTIVE(__(nil, z0)))
ACTIVE(isNePal(isNePal(__(z0, __(z1, z0))))) → c10(ISNEPAL(mark(U11(tt))), ACTIVE(isNePal(__(z0, __(z1, z0)))))
ACTIVE(isNePal(__(z0, z1))) → c10(ISNEPAL(__(active(z0), z1)), ACTIVE(__(z0, z1)))
ACTIVE(isNePal(__(z0, z1))) → c10(ISNEPAL(__(z0, active(z1))), ACTIVE(__(z0, z1)))
ACTIVE(isNePal(U11(z0))) → c10(ISNEPAL(U11(active(z0))), ACTIVE(U11(z0)))
ACTIVE(isNePal(U12(z0))) → c10(ISNEPAL(U12(active(z0))), ACTIVE(U12(z0)))
ACTIVE(isNePal(isNePal(z0))) → c10(ISNEPAL(isNePal(active(z0))), ACTIVE(isNePal(z0)))
ACTIVE(isNePal(U11(tt))) → c10(ISNEPAL(mark(U12(tt))))
ACTIVE(isNePal(U12(tt))) → c10(ISNEPAL(mark(tt)))
PROPER(__(x0, __(z0, z1))) → c20(__'(proper(x0), __(proper(z0), proper(z1))), PROPER(x0), PROPER(__(z0, z1)))
PROPER(__(x0, U11(z0))) → c20(__'(proper(x0), U11(proper(z0))), PROPER(x0), PROPER(U11(z0)))
PROPER(__(x0, U12(z0))) → c20(__'(proper(x0), U12(proper(z0))), PROPER(x0), PROPER(U12(z0)))
PROPER(__(x0, isNePal(z0))) → c20(__'(proper(x0), isNePal(proper(z0))), PROPER(x0), PROPER(isNePal(z0)))
PROPER(__(__(z0, z1), x1)) → c20(__'(__(proper(z0), proper(z1)), proper(x1)), PROPER(__(z0, z1)), PROPER(x1))
PROPER(__(U11(z0), x1)) → c20(__'(U11(proper(z0)), proper(x1)), PROPER(U11(z0)), PROPER(x1))
PROPER(__(U12(z0), x1)) → c20(__'(U12(proper(z0)), proper(x1)), PROPER(U12(z0)), PROPER(x1))
PROPER(__(isNePal(z0), x1)) → c20(__'(isNePal(proper(z0)), proper(x1)), PROPER(isNePal(z0)), PROPER(x1))
PROPER(__(x0, nil)) → c20(__'(proper(x0), ok(nil)), PROPER(x0))
PROPER(__(x0, tt)) → c20(__'(proper(x0), ok(tt)), PROPER(x0))
PROPER(__(nil, x1)) → c20(__'(ok(nil), proper(x1)), PROPER(x1))
PROPER(__(tt, x1)) → c20(__'(ok(tt), proper(x1)), PROPER(x1))
PROPER(U11(__(z0, z1))) → c22(U11'(__(proper(z0), proper(z1))), PROPER(__(z0, z1)))
PROPER(U11(U11(z0))) → c22(U11'(U11(proper(z0))), PROPER(U11(z0)))
PROPER(U11(U12(z0))) → c22(U11'(U12(proper(z0))), PROPER(U12(z0)))
PROPER(U11(isNePal(z0))) → c22(U11'(isNePal(proper(z0))), PROPER(isNePal(z0)))
PROPER(U11(nil)) → c22(U11'(ok(nil)))
PROPER(U11(tt)) → c22(U11'(ok(tt)))
PROPER(U12(__(z0, z1))) → c24(U12'(__(proper(z0), proper(z1))), PROPER(__(z0, z1)))
PROPER(U12(U11(z0))) → c24(U12'(U11(proper(z0))), PROPER(U11(z0)))
PROPER(U12(U12(z0))) → c24(U12'(U12(proper(z0))), PROPER(U12(z0)))
PROPER(U12(isNePal(z0))) → c24(U12'(isNePal(proper(z0))), PROPER(isNePal(z0)))
PROPER(U12(nil)) → c24(U12'(ok(nil)))
PROPER(U12(tt)) → c24(U12'(ok(tt)))
PROPER(isNePal(__(z0, z1))) → c25(ISNEPAL(__(proper(z0), proper(z1))), PROPER(__(z0, z1)))
PROPER(isNePal(U11(z0))) → c25(ISNEPAL(U11(proper(z0))), PROPER(U11(z0)))
PROPER(isNePal(U12(z0))) → c25(ISNEPAL(U12(proper(z0))), PROPER(U12(z0)))
PROPER(isNePal(isNePal(z0))) → c25(ISNEPAL(isNePal(proper(z0))), PROPER(isNePal(z0)))
PROPER(isNePal(nil)) → c25(ISNEPAL(ok(nil)))
PROPER(isNePal(tt)) → c25(ISNEPAL(ok(tt)))
K tuples:
TOP(mark(z0)) → c26(TOP(proper(z0)), PROPER(z0))
Defined Rule Symbols:
active, __, U11, U12, isNePal, proper
Defined Pair Symbols:
ACTIVE, __', U11', U12', ISNEPAL, TOP, PROPER
Compound Symbols:
c6, c7, c11, c12, c13, c14, c15, c16, c17, c18, c19, c27, c1, c8, c8, c9, c9, c10, c10, c20, c20, c22, c22, c24, c24, c25, c25, c26
(41) CdtRhsSimplificationProcessorProof (BOTH BOUNDS(ID, ID) transformation)
Removed 2 trailing tuple parts
(42) Obligation:
Complexity Dependency Tuples Problem
Rules:
active(__(__(z0, z1), z2)) → mark(__(z0, __(z1, z2)))
active(__(z0, nil)) → mark(z0)
active(__(nil, z0)) → mark(z0)
active(U11(tt)) → mark(U12(tt))
active(U12(tt)) → mark(tt)
active(isNePal(__(z0, __(z1, z0)))) → mark(U11(tt))
active(__(z0, z1)) → __(active(z0), z1)
active(__(z0, z1)) → __(z0, active(z1))
active(U11(z0)) → U11(active(z0))
active(U12(z0)) → U12(active(z0))
active(isNePal(z0)) → isNePal(active(z0))
__(z0, mark(z1)) → mark(__(z0, z1))
__(ok(z0), ok(z1)) → ok(__(z0, z1))
__(mark(z0), z1) → mark(__(z0, z1))
U11(mark(z0)) → mark(U11(z0))
U11(ok(z0)) → ok(U11(z0))
U12(mark(z0)) → mark(U12(z0))
U12(ok(z0)) → ok(U12(z0))
isNePal(mark(z0)) → mark(isNePal(z0))
isNePal(ok(z0)) → ok(isNePal(z0))
proper(__(z0, z1)) → __(proper(z0), proper(z1))
proper(nil) → ok(nil)
proper(U11(z0)) → U11(proper(z0))
proper(tt) → ok(tt)
proper(U12(z0)) → U12(proper(z0))
proper(isNePal(z0)) → isNePal(proper(z0))
Tuples:
ACTIVE(__(z0, z1)) → c6(__'(active(z0), z1), ACTIVE(z0))
ACTIVE(__(z0, z1)) → c7(__'(z0, active(z1)), ACTIVE(z1))
__'(mark(z0), z1) → c11(__'(z0, z1))
__'(z0, mark(z1)) → c12(__'(z0, z1))
__'(ok(z0), ok(z1)) → c13(__'(z0, z1))
U11'(mark(z0)) → c14(U11'(z0))
U11'(ok(z0)) → c15(U11'(z0))
U12'(mark(z0)) → c16(U12'(z0))
U12'(ok(z0)) → c17(U12'(z0))
ISNEPAL(mark(z0)) → c18(ISNEPAL(z0))
ISNEPAL(ok(z0)) → c19(ISNEPAL(z0))
TOP(ok(z0)) → c27(TOP(active(z0)), ACTIVE(z0))
ACTIVE(__(__(z0, z1), z2)) → c1(__'(z0, __(z1, z2)))
ACTIVE(__(__(z0, z1), z2)) → c1(__'(z1, z2))
ACTIVE(U11(__(__(z0, z1), z2))) → c8(U11'(mark(__(z0, __(z1, z2)))), ACTIVE(__(__(z0, z1), z2)))
ACTIVE(U11(__(z0, nil))) → c8(U11'(mark(z0)), ACTIVE(__(z0, nil)))
ACTIVE(U11(__(nil, z0))) → c8(U11'(mark(z0)), ACTIVE(__(nil, z0)))
ACTIVE(U11(isNePal(__(z0, __(z1, z0))))) → c8(U11'(mark(U11(tt))), ACTIVE(isNePal(__(z0, __(z1, z0)))))
ACTIVE(U11(__(z0, z1))) → c8(U11'(__(active(z0), z1)), ACTIVE(__(z0, z1)))
ACTIVE(U11(__(z0, z1))) → c8(U11'(__(z0, active(z1))), ACTIVE(__(z0, z1)))
ACTIVE(U11(U11(z0))) → c8(U11'(U11(active(z0))), ACTIVE(U11(z0)))
ACTIVE(U11(U12(z0))) → c8(U11'(U12(active(z0))), ACTIVE(U12(z0)))
ACTIVE(U11(isNePal(z0))) → c8(U11'(isNePal(active(z0))), ACTIVE(isNePal(z0)))
ACTIVE(U11(U11(tt))) → c8(U11'(mark(U12(tt))))
ACTIVE(U12(__(__(z0, z1), z2))) → c9(U12'(mark(__(z0, __(z1, z2)))), ACTIVE(__(__(z0, z1), z2)))
ACTIVE(U12(__(z0, nil))) → c9(U12'(mark(z0)), ACTIVE(__(z0, nil)))
ACTIVE(U12(__(nil, z0))) → c9(U12'(mark(z0)), ACTIVE(__(nil, z0)))
ACTIVE(U12(isNePal(__(z0, __(z1, z0))))) → c9(U12'(mark(U11(tt))), ACTIVE(isNePal(__(z0, __(z1, z0)))))
ACTIVE(U12(__(z0, z1))) → c9(U12'(__(active(z0), z1)), ACTIVE(__(z0, z1)))
ACTIVE(U12(__(z0, z1))) → c9(U12'(__(z0, active(z1))), ACTIVE(__(z0, z1)))
ACTIVE(U12(U11(z0))) → c9(U12'(U11(active(z0))), ACTIVE(U11(z0)))
ACTIVE(U12(U12(z0))) → c9(U12'(U12(active(z0))), ACTIVE(U12(z0)))
ACTIVE(U12(isNePal(z0))) → c9(U12'(isNePal(active(z0))), ACTIVE(isNePal(z0)))
ACTIVE(U11(U12(tt))) → c8(U11'(mark(tt)))
ACTIVE(U12(U11(tt))) → c9(U12'(mark(U12(tt))))
ACTIVE(U12(U12(tt))) → c9(U12'(mark(tt)))
ACTIVE(isNePal(__(__(z0, z1), z2))) → c10(ISNEPAL(mark(__(z0, __(z1, z2)))), ACTIVE(__(__(z0, z1), z2)))
ACTIVE(isNePal(__(z0, nil))) → c10(ISNEPAL(mark(z0)), ACTIVE(__(z0, nil)))
ACTIVE(isNePal(__(nil, z0))) → c10(ISNEPAL(mark(z0)), ACTIVE(__(nil, z0)))
ACTIVE(isNePal(isNePal(__(z0, __(z1, z0))))) → c10(ISNEPAL(mark(U11(tt))), ACTIVE(isNePal(__(z0, __(z1, z0)))))
ACTIVE(isNePal(__(z0, z1))) → c10(ISNEPAL(__(active(z0), z1)), ACTIVE(__(z0, z1)))
ACTIVE(isNePal(__(z0, z1))) → c10(ISNEPAL(__(z0, active(z1))), ACTIVE(__(z0, z1)))
ACTIVE(isNePal(U11(z0))) → c10(ISNEPAL(U11(active(z0))), ACTIVE(U11(z0)))
ACTIVE(isNePal(U12(z0))) → c10(ISNEPAL(U12(active(z0))), ACTIVE(U12(z0)))
ACTIVE(isNePal(isNePal(z0))) → c10(ISNEPAL(isNePal(active(z0))), ACTIVE(isNePal(z0)))
ACTIVE(isNePal(U11(tt))) → c10(ISNEPAL(mark(U12(tt))))
ACTIVE(isNePal(U12(tt))) → c10(ISNEPAL(mark(tt)))
PROPER(__(x0, __(z0, z1))) → c20(__'(proper(x0), __(proper(z0), proper(z1))), PROPER(x0), PROPER(__(z0, z1)))
PROPER(__(x0, U11(z0))) → c20(__'(proper(x0), U11(proper(z0))), PROPER(x0), PROPER(U11(z0)))
PROPER(__(x0, U12(z0))) → c20(__'(proper(x0), U12(proper(z0))), PROPER(x0), PROPER(U12(z0)))
PROPER(__(x0, isNePal(z0))) → c20(__'(proper(x0), isNePal(proper(z0))), PROPER(x0), PROPER(isNePal(z0)))
PROPER(__(__(z0, z1), x1)) → c20(__'(__(proper(z0), proper(z1)), proper(x1)), PROPER(__(z0, z1)), PROPER(x1))
PROPER(__(U11(z0), x1)) → c20(__'(U11(proper(z0)), proper(x1)), PROPER(U11(z0)), PROPER(x1))
PROPER(__(U12(z0), x1)) → c20(__'(U12(proper(z0)), proper(x1)), PROPER(U12(z0)), PROPER(x1))
PROPER(__(isNePal(z0), x1)) → c20(__'(isNePal(proper(z0)), proper(x1)), PROPER(isNePal(z0)), PROPER(x1))
PROPER(__(x0, nil)) → c20(__'(proper(x0), ok(nil)), PROPER(x0))
PROPER(__(x0, tt)) → c20(__'(proper(x0), ok(tt)), PROPER(x0))
PROPER(__(nil, x1)) → c20(__'(ok(nil), proper(x1)), PROPER(x1))
PROPER(__(tt, x1)) → c20(__'(ok(tt), proper(x1)), PROPER(x1))
PROPER(U11(__(z0, z1))) → c22(U11'(__(proper(z0), proper(z1))), PROPER(__(z0, z1)))
PROPER(U11(U11(z0))) → c22(U11'(U11(proper(z0))), PROPER(U11(z0)))
PROPER(U11(U12(z0))) → c22(U11'(U12(proper(z0))), PROPER(U12(z0)))
PROPER(U11(isNePal(z0))) → c22(U11'(isNePal(proper(z0))), PROPER(isNePal(z0)))
PROPER(U11(nil)) → c22(U11'(ok(nil)))
PROPER(U11(tt)) → c22(U11'(ok(tt)))
PROPER(U12(__(z0, z1))) → c24(U12'(__(proper(z0), proper(z1))), PROPER(__(z0, z1)))
PROPER(U12(U11(z0))) → c24(U12'(U11(proper(z0))), PROPER(U11(z0)))
PROPER(U12(U12(z0))) → c24(U12'(U12(proper(z0))), PROPER(U12(z0)))
PROPER(U12(isNePal(z0))) → c24(U12'(isNePal(proper(z0))), PROPER(isNePal(z0)))
PROPER(U12(nil)) → c24(U12'(ok(nil)))
PROPER(U12(tt)) → c24(U12'(ok(tt)))
PROPER(isNePal(__(z0, z1))) → c25(ISNEPAL(__(proper(z0), proper(z1))), PROPER(__(z0, z1)))
PROPER(isNePal(U11(z0))) → c25(ISNEPAL(U11(proper(z0))), PROPER(U11(z0)))
PROPER(isNePal(U12(z0))) → c25(ISNEPAL(U12(proper(z0))), PROPER(U12(z0)))
PROPER(isNePal(isNePal(z0))) → c25(ISNEPAL(isNePal(proper(z0))), PROPER(isNePal(z0)))
PROPER(isNePal(nil)) → c25(ISNEPAL(ok(nil)))
PROPER(isNePal(tt)) → c25(ISNEPAL(ok(tt)))
TOP(mark(__(z0, z1))) → c26(TOP(__(proper(z0), proper(z1))), PROPER(__(z0, z1)))
TOP(mark(U11(z0))) → c26(TOP(U11(proper(z0))), PROPER(U11(z0)))
TOP(mark(U12(z0))) → c26(TOP(U12(proper(z0))), PROPER(U12(z0)))
TOP(mark(isNePal(z0))) → c26(TOP(isNePal(proper(z0))), PROPER(isNePal(z0)))
TOP(mark(nil)) → c26(TOP(ok(nil)))
TOP(mark(tt)) → c26(TOP(ok(tt)))
S tuples:
ACTIVE(__(z0, z1)) → c6(__'(active(z0), z1), ACTIVE(z0))
ACTIVE(__(z0, z1)) → c7(__'(z0, active(z1)), ACTIVE(z1))
__'(mark(z0), z1) → c11(__'(z0, z1))
__'(z0, mark(z1)) → c12(__'(z0, z1))
__'(ok(z0), ok(z1)) → c13(__'(z0, z1))
U11'(mark(z0)) → c14(U11'(z0))
U11'(ok(z0)) → c15(U11'(z0))
U12'(mark(z0)) → c16(U12'(z0))
U12'(ok(z0)) → c17(U12'(z0))
ISNEPAL(mark(z0)) → c18(ISNEPAL(z0))
ISNEPAL(ok(z0)) → c19(ISNEPAL(z0))
TOP(ok(z0)) → c27(TOP(active(z0)), ACTIVE(z0))
ACTIVE(__(__(z0, z1), z2)) → c1(__'(z0, __(z1, z2)))
ACTIVE(__(__(z0, z1), z2)) → c1(__'(z1, z2))
ACTIVE(U11(__(__(z0, z1), z2))) → c8(U11'(mark(__(z0, __(z1, z2)))), ACTIVE(__(__(z0, z1), z2)))
ACTIVE(U11(__(z0, nil))) → c8(U11'(mark(z0)), ACTIVE(__(z0, nil)))
ACTIVE(U11(__(nil, z0))) → c8(U11'(mark(z0)), ACTIVE(__(nil, z0)))
ACTIVE(U11(isNePal(__(z0, __(z1, z0))))) → c8(U11'(mark(U11(tt))), ACTIVE(isNePal(__(z0, __(z1, z0)))))
ACTIVE(U11(__(z0, z1))) → c8(U11'(__(active(z0), z1)), ACTIVE(__(z0, z1)))
ACTIVE(U11(__(z0, z1))) → c8(U11'(__(z0, active(z1))), ACTIVE(__(z0, z1)))
ACTIVE(U11(U11(z0))) → c8(U11'(U11(active(z0))), ACTIVE(U11(z0)))
ACTIVE(U11(U12(z0))) → c8(U11'(U12(active(z0))), ACTIVE(U12(z0)))
ACTIVE(U11(isNePal(z0))) → c8(U11'(isNePal(active(z0))), ACTIVE(isNePal(z0)))
ACTIVE(U11(U11(tt))) → c8(U11'(mark(U12(tt))))
ACTIVE(U12(__(__(z0, z1), z2))) → c9(U12'(mark(__(z0, __(z1, z2)))), ACTIVE(__(__(z0, z1), z2)))
ACTIVE(U12(__(z0, nil))) → c9(U12'(mark(z0)), ACTIVE(__(z0, nil)))
ACTIVE(U12(__(nil, z0))) → c9(U12'(mark(z0)), ACTIVE(__(nil, z0)))
ACTIVE(U12(isNePal(__(z0, __(z1, z0))))) → c9(U12'(mark(U11(tt))), ACTIVE(isNePal(__(z0, __(z1, z0)))))
ACTIVE(U12(__(z0, z1))) → c9(U12'(__(active(z0), z1)), ACTIVE(__(z0, z1)))
ACTIVE(U12(__(z0, z1))) → c9(U12'(__(z0, active(z1))), ACTIVE(__(z0, z1)))
ACTIVE(U12(U11(z0))) → c9(U12'(U11(active(z0))), ACTIVE(U11(z0)))
ACTIVE(U12(U12(z0))) → c9(U12'(U12(active(z0))), ACTIVE(U12(z0)))
ACTIVE(U12(isNePal(z0))) → c9(U12'(isNePal(active(z0))), ACTIVE(isNePal(z0)))
ACTIVE(U11(U12(tt))) → c8(U11'(mark(tt)))
ACTIVE(U12(U11(tt))) → c9(U12'(mark(U12(tt))))
ACTIVE(U12(U12(tt))) → c9(U12'(mark(tt)))
ACTIVE(isNePal(__(__(z0, z1), z2))) → c10(ISNEPAL(mark(__(z0, __(z1, z2)))), ACTIVE(__(__(z0, z1), z2)))
ACTIVE(isNePal(__(z0, nil))) → c10(ISNEPAL(mark(z0)), ACTIVE(__(z0, nil)))
ACTIVE(isNePal(__(nil, z0))) → c10(ISNEPAL(mark(z0)), ACTIVE(__(nil, z0)))
ACTIVE(isNePal(isNePal(__(z0, __(z1, z0))))) → c10(ISNEPAL(mark(U11(tt))), ACTIVE(isNePal(__(z0, __(z1, z0)))))
ACTIVE(isNePal(__(z0, z1))) → c10(ISNEPAL(__(active(z0), z1)), ACTIVE(__(z0, z1)))
ACTIVE(isNePal(__(z0, z1))) → c10(ISNEPAL(__(z0, active(z1))), ACTIVE(__(z0, z1)))
ACTIVE(isNePal(U11(z0))) → c10(ISNEPAL(U11(active(z0))), ACTIVE(U11(z0)))
ACTIVE(isNePal(U12(z0))) → c10(ISNEPAL(U12(active(z0))), ACTIVE(U12(z0)))
ACTIVE(isNePal(isNePal(z0))) → c10(ISNEPAL(isNePal(active(z0))), ACTIVE(isNePal(z0)))
ACTIVE(isNePal(U11(tt))) → c10(ISNEPAL(mark(U12(tt))))
ACTIVE(isNePal(U12(tt))) → c10(ISNEPAL(mark(tt)))
PROPER(__(x0, __(z0, z1))) → c20(__'(proper(x0), __(proper(z0), proper(z1))), PROPER(x0), PROPER(__(z0, z1)))
PROPER(__(x0, U11(z0))) → c20(__'(proper(x0), U11(proper(z0))), PROPER(x0), PROPER(U11(z0)))
PROPER(__(x0, U12(z0))) → c20(__'(proper(x0), U12(proper(z0))), PROPER(x0), PROPER(U12(z0)))
PROPER(__(x0, isNePal(z0))) → c20(__'(proper(x0), isNePal(proper(z0))), PROPER(x0), PROPER(isNePal(z0)))
PROPER(__(__(z0, z1), x1)) → c20(__'(__(proper(z0), proper(z1)), proper(x1)), PROPER(__(z0, z1)), PROPER(x1))
PROPER(__(U11(z0), x1)) → c20(__'(U11(proper(z0)), proper(x1)), PROPER(U11(z0)), PROPER(x1))
PROPER(__(U12(z0), x1)) → c20(__'(U12(proper(z0)), proper(x1)), PROPER(U12(z0)), PROPER(x1))
PROPER(__(isNePal(z0), x1)) → c20(__'(isNePal(proper(z0)), proper(x1)), PROPER(isNePal(z0)), PROPER(x1))
PROPER(__(x0, nil)) → c20(__'(proper(x0), ok(nil)), PROPER(x0))
PROPER(__(x0, tt)) → c20(__'(proper(x0), ok(tt)), PROPER(x0))
PROPER(__(nil, x1)) → c20(__'(ok(nil), proper(x1)), PROPER(x1))
PROPER(__(tt, x1)) → c20(__'(ok(tt), proper(x1)), PROPER(x1))
PROPER(U11(__(z0, z1))) → c22(U11'(__(proper(z0), proper(z1))), PROPER(__(z0, z1)))
PROPER(U11(U11(z0))) → c22(U11'(U11(proper(z0))), PROPER(U11(z0)))
PROPER(U11(U12(z0))) → c22(U11'(U12(proper(z0))), PROPER(U12(z0)))
PROPER(U11(isNePal(z0))) → c22(U11'(isNePal(proper(z0))), PROPER(isNePal(z0)))
PROPER(U11(nil)) → c22(U11'(ok(nil)))
PROPER(U11(tt)) → c22(U11'(ok(tt)))
PROPER(U12(__(z0, z1))) → c24(U12'(__(proper(z0), proper(z1))), PROPER(__(z0, z1)))
PROPER(U12(U11(z0))) → c24(U12'(U11(proper(z0))), PROPER(U11(z0)))
PROPER(U12(U12(z0))) → c24(U12'(U12(proper(z0))), PROPER(U12(z0)))
PROPER(U12(isNePal(z0))) → c24(U12'(isNePal(proper(z0))), PROPER(isNePal(z0)))
PROPER(U12(nil)) → c24(U12'(ok(nil)))
PROPER(U12(tt)) → c24(U12'(ok(tt)))
PROPER(isNePal(__(z0, z1))) → c25(ISNEPAL(__(proper(z0), proper(z1))), PROPER(__(z0, z1)))
PROPER(isNePal(U11(z0))) → c25(ISNEPAL(U11(proper(z0))), PROPER(U11(z0)))
PROPER(isNePal(U12(z0))) → c25(ISNEPAL(U12(proper(z0))), PROPER(U12(z0)))
PROPER(isNePal(isNePal(z0))) → c25(ISNEPAL(isNePal(proper(z0))), PROPER(isNePal(z0)))
PROPER(isNePal(nil)) → c25(ISNEPAL(ok(nil)))
PROPER(isNePal(tt)) → c25(ISNEPAL(ok(tt)))
K tuples:
TOP(mark(z0)) → c26(TOP(proper(z0)), PROPER(z0))
Defined Rule Symbols:
active, __, U11, U12, isNePal, proper
Defined Pair Symbols:
ACTIVE, __', U11', U12', ISNEPAL, TOP, PROPER
Compound Symbols:
c6, c7, c11, c12, c13, c14, c15, c16, c17, c18, c19, c27, c1, c8, c8, c9, c9, c10, c10, c20, c20, c22, c22, c24, c24, c25, c25, c26, c26
(43) CdtNarrowingProof (BOTH BOUNDS(ID, ID) transformation)
Use narrowing to replace
TOP(
ok(
z0)) →
c27(
TOP(
active(
z0)),
ACTIVE(
z0)) by
TOP(ok(__(__(z0, z1), z2))) → c27(TOP(mark(__(z0, __(z1, z2)))), ACTIVE(__(__(z0, z1), z2)))
TOP(ok(__(z0, nil))) → c27(TOP(mark(z0)), ACTIVE(__(z0, nil)))
TOP(ok(__(nil, z0))) → c27(TOP(mark(z0)), ACTIVE(__(nil, z0)))
TOP(ok(U11(tt))) → c27(TOP(mark(U12(tt))), ACTIVE(U11(tt)))
TOP(ok(U12(tt))) → c27(TOP(mark(tt)), ACTIVE(U12(tt)))
TOP(ok(isNePal(__(z0, __(z1, z0))))) → c27(TOP(mark(U11(tt))), ACTIVE(isNePal(__(z0, __(z1, z0)))))
TOP(ok(__(z0, z1))) → c27(TOP(__(active(z0), z1)), ACTIVE(__(z0, z1)))
TOP(ok(__(z0, z1))) → c27(TOP(__(z0, active(z1))), ACTIVE(__(z0, z1)))
TOP(ok(U11(z0))) → c27(TOP(U11(active(z0))), ACTIVE(U11(z0)))
TOP(ok(U12(z0))) → c27(TOP(U12(active(z0))), ACTIVE(U12(z0)))
TOP(ok(isNePal(z0))) → c27(TOP(isNePal(active(z0))), ACTIVE(isNePal(z0)))
(44) Obligation:
Complexity Dependency Tuples Problem
Rules:
active(__(__(z0, z1), z2)) → mark(__(z0, __(z1, z2)))
active(__(z0, nil)) → mark(z0)
active(__(nil, z0)) → mark(z0)
active(U11(tt)) → mark(U12(tt))
active(U12(tt)) → mark(tt)
active(isNePal(__(z0, __(z1, z0)))) → mark(U11(tt))
active(__(z0, z1)) → __(active(z0), z1)
active(__(z0, z1)) → __(z0, active(z1))
active(U11(z0)) → U11(active(z0))
active(U12(z0)) → U12(active(z0))
active(isNePal(z0)) → isNePal(active(z0))
__(z0, mark(z1)) → mark(__(z0, z1))
__(ok(z0), ok(z1)) → ok(__(z0, z1))
__(mark(z0), z1) → mark(__(z0, z1))
U11(mark(z0)) → mark(U11(z0))
U11(ok(z0)) → ok(U11(z0))
U12(mark(z0)) → mark(U12(z0))
U12(ok(z0)) → ok(U12(z0))
isNePal(mark(z0)) → mark(isNePal(z0))
isNePal(ok(z0)) → ok(isNePal(z0))
proper(__(z0, z1)) → __(proper(z0), proper(z1))
proper(nil) → ok(nil)
proper(U11(z0)) → U11(proper(z0))
proper(tt) → ok(tt)
proper(U12(z0)) → U12(proper(z0))
proper(isNePal(z0)) → isNePal(proper(z0))
Tuples:
ACTIVE(__(z0, z1)) → c6(__'(active(z0), z1), ACTIVE(z0))
ACTIVE(__(z0, z1)) → c7(__'(z0, active(z1)), ACTIVE(z1))
__'(mark(z0), z1) → c11(__'(z0, z1))
__'(z0, mark(z1)) → c12(__'(z0, z1))
__'(ok(z0), ok(z1)) → c13(__'(z0, z1))
U11'(mark(z0)) → c14(U11'(z0))
U11'(ok(z0)) → c15(U11'(z0))
U12'(mark(z0)) → c16(U12'(z0))
U12'(ok(z0)) → c17(U12'(z0))
ISNEPAL(mark(z0)) → c18(ISNEPAL(z0))
ISNEPAL(ok(z0)) → c19(ISNEPAL(z0))
ACTIVE(__(__(z0, z1), z2)) → c1(__'(z0, __(z1, z2)))
ACTIVE(__(__(z0, z1), z2)) → c1(__'(z1, z2))
ACTIVE(U11(__(__(z0, z1), z2))) → c8(U11'(mark(__(z0, __(z1, z2)))), ACTIVE(__(__(z0, z1), z2)))
ACTIVE(U11(__(z0, nil))) → c8(U11'(mark(z0)), ACTIVE(__(z0, nil)))
ACTIVE(U11(__(nil, z0))) → c8(U11'(mark(z0)), ACTIVE(__(nil, z0)))
ACTIVE(U11(isNePal(__(z0, __(z1, z0))))) → c8(U11'(mark(U11(tt))), ACTIVE(isNePal(__(z0, __(z1, z0)))))
ACTIVE(U11(__(z0, z1))) → c8(U11'(__(active(z0), z1)), ACTIVE(__(z0, z1)))
ACTIVE(U11(__(z0, z1))) → c8(U11'(__(z0, active(z1))), ACTIVE(__(z0, z1)))
ACTIVE(U11(U11(z0))) → c8(U11'(U11(active(z0))), ACTIVE(U11(z0)))
ACTIVE(U11(U12(z0))) → c8(U11'(U12(active(z0))), ACTIVE(U12(z0)))
ACTIVE(U11(isNePal(z0))) → c8(U11'(isNePal(active(z0))), ACTIVE(isNePal(z0)))
ACTIVE(U11(U11(tt))) → c8(U11'(mark(U12(tt))))
ACTIVE(U12(__(__(z0, z1), z2))) → c9(U12'(mark(__(z0, __(z1, z2)))), ACTIVE(__(__(z0, z1), z2)))
ACTIVE(U12(__(z0, nil))) → c9(U12'(mark(z0)), ACTIVE(__(z0, nil)))
ACTIVE(U12(__(nil, z0))) → c9(U12'(mark(z0)), ACTIVE(__(nil, z0)))
ACTIVE(U12(isNePal(__(z0, __(z1, z0))))) → c9(U12'(mark(U11(tt))), ACTIVE(isNePal(__(z0, __(z1, z0)))))
ACTIVE(U12(__(z0, z1))) → c9(U12'(__(active(z0), z1)), ACTIVE(__(z0, z1)))
ACTIVE(U12(__(z0, z1))) → c9(U12'(__(z0, active(z1))), ACTIVE(__(z0, z1)))
ACTIVE(U12(U11(z0))) → c9(U12'(U11(active(z0))), ACTIVE(U11(z0)))
ACTIVE(U12(U12(z0))) → c9(U12'(U12(active(z0))), ACTIVE(U12(z0)))
ACTIVE(U12(isNePal(z0))) → c9(U12'(isNePal(active(z0))), ACTIVE(isNePal(z0)))
ACTIVE(U11(U12(tt))) → c8(U11'(mark(tt)))
ACTIVE(U12(U11(tt))) → c9(U12'(mark(U12(tt))))
ACTIVE(U12(U12(tt))) → c9(U12'(mark(tt)))
ACTIVE(isNePal(__(__(z0, z1), z2))) → c10(ISNEPAL(mark(__(z0, __(z1, z2)))), ACTIVE(__(__(z0, z1), z2)))
ACTIVE(isNePal(__(z0, nil))) → c10(ISNEPAL(mark(z0)), ACTIVE(__(z0, nil)))
ACTIVE(isNePal(__(nil, z0))) → c10(ISNEPAL(mark(z0)), ACTIVE(__(nil, z0)))
ACTIVE(isNePal(isNePal(__(z0, __(z1, z0))))) → c10(ISNEPAL(mark(U11(tt))), ACTIVE(isNePal(__(z0, __(z1, z0)))))
ACTIVE(isNePal(__(z0, z1))) → c10(ISNEPAL(__(active(z0), z1)), ACTIVE(__(z0, z1)))
ACTIVE(isNePal(__(z0, z1))) → c10(ISNEPAL(__(z0, active(z1))), ACTIVE(__(z0, z1)))
ACTIVE(isNePal(U11(z0))) → c10(ISNEPAL(U11(active(z0))), ACTIVE(U11(z0)))
ACTIVE(isNePal(U12(z0))) → c10(ISNEPAL(U12(active(z0))), ACTIVE(U12(z0)))
ACTIVE(isNePal(isNePal(z0))) → c10(ISNEPAL(isNePal(active(z0))), ACTIVE(isNePal(z0)))
ACTIVE(isNePal(U11(tt))) → c10(ISNEPAL(mark(U12(tt))))
ACTIVE(isNePal(U12(tt))) → c10(ISNEPAL(mark(tt)))
PROPER(__(x0, __(z0, z1))) → c20(__'(proper(x0), __(proper(z0), proper(z1))), PROPER(x0), PROPER(__(z0, z1)))
PROPER(__(x0, U11(z0))) → c20(__'(proper(x0), U11(proper(z0))), PROPER(x0), PROPER(U11(z0)))
PROPER(__(x0, U12(z0))) → c20(__'(proper(x0), U12(proper(z0))), PROPER(x0), PROPER(U12(z0)))
PROPER(__(x0, isNePal(z0))) → c20(__'(proper(x0), isNePal(proper(z0))), PROPER(x0), PROPER(isNePal(z0)))
PROPER(__(__(z0, z1), x1)) → c20(__'(__(proper(z0), proper(z1)), proper(x1)), PROPER(__(z0, z1)), PROPER(x1))
PROPER(__(U11(z0), x1)) → c20(__'(U11(proper(z0)), proper(x1)), PROPER(U11(z0)), PROPER(x1))
PROPER(__(U12(z0), x1)) → c20(__'(U12(proper(z0)), proper(x1)), PROPER(U12(z0)), PROPER(x1))
PROPER(__(isNePal(z0), x1)) → c20(__'(isNePal(proper(z0)), proper(x1)), PROPER(isNePal(z0)), PROPER(x1))
PROPER(__(x0, nil)) → c20(__'(proper(x0), ok(nil)), PROPER(x0))
PROPER(__(x0, tt)) → c20(__'(proper(x0), ok(tt)), PROPER(x0))
PROPER(__(nil, x1)) → c20(__'(ok(nil), proper(x1)), PROPER(x1))
PROPER(__(tt, x1)) → c20(__'(ok(tt), proper(x1)), PROPER(x1))
PROPER(U11(__(z0, z1))) → c22(U11'(__(proper(z0), proper(z1))), PROPER(__(z0, z1)))
PROPER(U11(U11(z0))) → c22(U11'(U11(proper(z0))), PROPER(U11(z0)))
PROPER(U11(U12(z0))) → c22(U11'(U12(proper(z0))), PROPER(U12(z0)))
PROPER(U11(isNePal(z0))) → c22(U11'(isNePal(proper(z0))), PROPER(isNePal(z0)))
PROPER(U11(nil)) → c22(U11'(ok(nil)))
PROPER(U11(tt)) → c22(U11'(ok(tt)))
PROPER(U12(__(z0, z1))) → c24(U12'(__(proper(z0), proper(z1))), PROPER(__(z0, z1)))
PROPER(U12(U11(z0))) → c24(U12'(U11(proper(z0))), PROPER(U11(z0)))
PROPER(U12(U12(z0))) → c24(U12'(U12(proper(z0))), PROPER(U12(z0)))
PROPER(U12(isNePal(z0))) → c24(U12'(isNePal(proper(z0))), PROPER(isNePal(z0)))
PROPER(U12(nil)) → c24(U12'(ok(nil)))
PROPER(U12(tt)) → c24(U12'(ok(tt)))
PROPER(isNePal(__(z0, z1))) → c25(ISNEPAL(__(proper(z0), proper(z1))), PROPER(__(z0, z1)))
PROPER(isNePal(U11(z0))) → c25(ISNEPAL(U11(proper(z0))), PROPER(U11(z0)))
PROPER(isNePal(U12(z0))) → c25(ISNEPAL(U12(proper(z0))), PROPER(U12(z0)))
PROPER(isNePal(isNePal(z0))) → c25(ISNEPAL(isNePal(proper(z0))), PROPER(isNePal(z0)))
PROPER(isNePal(nil)) → c25(ISNEPAL(ok(nil)))
PROPER(isNePal(tt)) → c25(ISNEPAL(ok(tt)))
TOP(mark(__(z0, z1))) → c26(TOP(__(proper(z0), proper(z1))), PROPER(__(z0, z1)))
TOP(mark(U11(z0))) → c26(TOP(U11(proper(z0))), PROPER(U11(z0)))
TOP(mark(U12(z0))) → c26(TOP(U12(proper(z0))), PROPER(U12(z0)))
TOP(mark(isNePal(z0))) → c26(TOP(isNePal(proper(z0))), PROPER(isNePal(z0)))
TOP(mark(nil)) → c26(TOP(ok(nil)))
TOP(mark(tt)) → c26(TOP(ok(tt)))
TOP(ok(__(__(z0, z1), z2))) → c27(TOP(mark(__(z0, __(z1, z2)))), ACTIVE(__(__(z0, z1), z2)))
TOP(ok(__(z0, nil))) → c27(TOP(mark(z0)), ACTIVE(__(z0, nil)))
TOP(ok(__(nil, z0))) → c27(TOP(mark(z0)), ACTIVE(__(nil, z0)))
TOP(ok(U11(tt))) → c27(TOP(mark(U12(tt))), ACTIVE(U11(tt)))
TOP(ok(U12(tt))) → c27(TOP(mark(tt)), ACTIVE(U12(tt)))
TOP(ok(isNePal(__(z0, __(z1, z0))))) → c27(TOP(mark(U11(tt))), ACTIVE(isNePal(__(z0, __(z1, z0)))))
TOP(ok(__(z0, z1))) → c27(TOP(__(active(z0), z1)), ACTIVE(__(z0, z1)))
TOP(ok(__(z0, z1))) → c27(TOP(__(z0, active(z1))), ACTIVE(__(z0, z1)))
TOP(ok(U11(z0))) → c27(TOP(U11(active(z0))), ACTIVE(U11(z0)))
TOP(ok(U12(z0))) → c27(TOP(U12(active(z0))), ACTIVE(U12(z0)))
TOP(ok(isNePal(z0))) → c27(TOP(isNePal(active(z0))), ACTIVE(isNePal(z0)))
S tuples:
ACTIVE(__(z0, z1)) → c6(__'(active(z0), z1), ACTIVE(z0))
ACTIVE(__(z0, z1)) → c7(__'(z0, active(z1)), ACTIVE(z1))
__'(mark(z0), z1) → c11(__'(z0, z1))
__'(z0, mark(z1)) → c12(__'(z0, z1))
__'(ok(z0), ok(z1)) → c13(__'(z0, z1))
U11'(mark(z0)) → c14(U11'(z0))
U11'(ok(z0)) → c15(U11'(z0))
U12'(mark(z0)) → c16(U12'(z0))
U12'(ok(z0)) → c17(U12'(z0))
ISNEPAL(mark(z0)) → c18(ISNEPAL(z0))
ISNEPAL(ok(z0)) → c19(ISNEPAL(z0))
ACTIVE(__(__(z0, z1), z2)) → c1(__'(z0, __(z1, z2)))
ACTIVE(__(__(z0, z1), z2)) → c1(__'(z1, z2))
ACTIVE(U11(__(__(z0, z1), z2))) → c8(U11'(mark(__(z0, __(z1, z2)))), ACTIVE(__(__(z0, z1), z2)))
ACTIVE(U11(__(z0, nil))) → c8(U11'(mark(z0)), ACTIVE(__(z0, nil)))
ACTIVE(U11(__(nil, z0))) → c8(U11'(mark(z0)), ACTIVE(__(nil, z0)))
ACTIVE(U11(isNePal(__(z0, __(z1, z0))))) → c8(U11'(mark(U11(tt))), ACTIVE(isNePal(__(z0, __(z1, z0)))))
ACTIVE(U11(__(z0, z1))) → c8(U11'(__(active(z0), z1)), ACTIVE(__(z0, z1)))
ACTIVE(U11(__(z0, z1))) → c8(U11'(__(z0, active(z1))), ACTIVE(__(z0, z1)))
ACTIVE(U11(U11(z0))) → c8(U11'(U11(active(z0))), ACTIVE(U11(z0)))
ACTIVE(U11(U12(z0))) → c8(U11'(U12(active(z0))), ACTIVE(U12(z0)))
ACTIVE(U11(isNePal(z0))) → c8(U11'(isNePal(active(z0))), ACTIVE(isNePal(z0)))
ACTIVE(U11(U11(tt))) → c8(U11'(mark(U12(tt))))
ACTIVE(U12(__(__(z0, z1), z2))) → c9(U12'(mark(__(z0, __(z1, z2)))), ACTIVE(__(__(z0, z1), z2)))
ACTIVE(U12(__(z0, nil))) → c9(U12'(mark(z0)), ACTIVE(__(z0, nil)))
ACTIVE(U12(__(nil, z0))) → c9(U12'(mark(z0)), ACTIVE(__(nil, z0)))
ACTIVE(U12(isNePal(__(z0, __(z1, z0))))) → c9(U12'(mark(U11(tt))), ACTIVE(isNePal(__(z0, __(z1, z0)))))
ACTIVE(U12(__(z0, z1))) → c9(U12'(__(active(z0), z1)), ACTIVE(__(z0, z1)))
ACTIVE(U12(__(z0, z1))) → c9(U12'(__(z0, active(z1))), ACTIVE(__(z0, z1)))
ACTIVE(U12(U11(z0))) → c9(U12'(U11(active(z0))), ACTIVE(U11(z0)))
ACTIVE(U12(U12(z0))) → c9(U12'(U12(active(z0))), ACTIVE(U12(z0)))
ACTIVE(U12(isNePal(z0))) → c9(U12'(isNePal(active(z0))), ACTIVE(isNePal(z0)))
ACTIVE(U11(U12(tt))) → c8(U11'(mark(tt)))
ACTIVE(U12(U11(tt))) → c9(U12'(mark(U12(tt))))
ACTIVE(U12(U12(tt))) → c9(U12'(mark(tt)))
ACTIVE(isNePal(__(__(z0, z1), z2))) → c10(ISNEPAL(mark(__(z0, __(z1, z2)))), ACTIVE(__(__(z0, z1), z2)))
ACTIVE(isNePal(__(z0, nil))) → c10(ISNEPAL(mark(z0)), ACTIVE(__(z0, nil)))
ACTIVE(isNePal(__(nil, z0))) → c10(ISNEPAL(mark(z0)), ACTIVE(__(nil, z0)))
ACTIVE(isNePal(isNePal(__(z0, __(z1, z0))))) → c10(ISNEPAL(mark(U11(tt))), ACTIVE(isNePal(__(z0, __(z1, z0)))))
ACTIVE(isNePal(__(z0, z1))) → c10(ISNEPAL(__(active(z0), z1)), ACTIVE(__(z0, z1)))
ACTIVE(isNePal(__(z0, z1))) → c10(ISNEPAL(__(z0, active(z1))), ACTIVE(__(z0, z1)))
ACTIVE(isNePal(U11(z0))) → c10(ISNEPAL(U11(active(z0))), ACTIVE(U11(z0)))
ACTIVE(isNePal(U12(z0))) → c10(ISNEPAL(U12(active(z0))), ACTIVE(U12(z0)))
ACTIVE(isNePal(isNePal(z0))) → c10(ISNEPAL(isNePal(active(z0))), ACTIVE(isNePal(z0)))
ACTIVE(isNePal(U11(tt))) → c10(ISNEPAL(mark(U12(tt))))
ACTIVE(isNePal(U12(tt))) → c10(ISNEPAL(mark(tt)))
PROPER(__(x0, __(z0, z1))) → c20(__'(proper(x0), __(proper(z0), proper(z1))), PROPER(x0), PROPER(__(z0, z1)))
PROPER(__(x0, U11(z0))) → c20(__'(proper(x0), U11(proper(z0))), PROPER(x0), PROPER(U11(z0)))
PROPER(__(x0, U12(z0))) → c20(__'(proper(x0), U12(proper(z0))), PROPER(x0), PROPER(U12(z0)))
PROPER(__(x0, isNePal(z0))) → c20(__'(proper(x0), isNePal(proper(z0))), PROPER(x0), PROPER(isNePal(z0)))
PROPER(__(__(z0, z1), x1)) → c20(__'(__(proper(z0), proper(z1)), proper(x1)), PROPER(__(z0, z1)), PROPER(x1))
PROPER(__(U11(z0), x1)) → c20(__'(U11(proper(z0)), proper(x1)), PROPER(U11(z0)), PROPER(x1))
PROPER(__(U12(z0), x1)) → c20(__'(U12(proper(z0)), proper(x1)), PROPER(U12(z0)), PROPER(x1))
PROPER(__(isNePal(z0), x1)) → c20(__'(isNePal(proper(z0)), proper(x1)), PROPER(isNePal(z0)), PROPER(x1))
PROPER(__(x0, nil)) → c20(__'(proper(x0), ok(nil)), PROPER(x0))
PROPER(__(x0, tt)) → c20(__'(proper(x0), ok(tt)), PROPER(x0))
PROPER(__(nil, x1)) → c20(__'(ok(nil), proper(x1)), PROPER(x1))
PROPER(__(tt, x1)) → c20(__'(ok(tt), proper(x1)), PROPER(x1))
PROPER(U11(__(z0, z1))) → c22(U11'(__(proper(z0), proper(z1))), PROPER(__(z0, z1)))
PROPER(U11(U11(z0))) → c22(U11'(U11(proper(z0))), PROPER(U11(z0)))
PROPER(U11(U12(z0))) → c22(U11'(U12(proper(z0))), PROPER(U12(z0)))
PROPER(U11(isNePal(z0))) → c22(U11'(isNePal(proper(z0))), PROPER(isNePal(z0)))
PROPER(U11(nil)) → c22(U11'(ok(nil)))
PROPER(U11(tt)) → c22(U11'(ok(tt)))
PROPER(U12(__(z0, z1))) → c24(U12'(__(proper(z0), proper(z1))), PROPER(__(z0, z1)))
PROPER(U12(U11(z0))) → c24(U12'(U11(proper(z0))), PROPER(U11(z0)))
PROPER(U12(U12(z0))) → c24(U12'(U12(proper(z0))), PROPER(U12(z0)))
PROPER(U12(isNePal(z0))) → c24(U12'(isNePal(proper(z0))), PROPER(isNePal(z0)))
PROPER(U12(nil)) → c24(U12'(ok(nil)))
PROPER(U12(tt)) → c24(U12'(ok(tt)))
PROPER(isNePal(__(z0, z1))) → c25(ISNEPAL(__(proper(z0), proper(z1))), PROPER(__(z0, z1)))
PROPER(isNePal(U11(z0))) → c25(ISNEPAL(U11(proper(z0))), PROPER(U11(z0)))
PROPER(isNePal(U12(z0))) → c25(ISNEPAL(U12(proper(z0))), PROPER(U12(z0)))
PROPER(isNePal(isNePal(z0))) → c25(ISNEPAL(isNePal(proper(z0))), PROPER(isNePal(z0)))
PROPER(isNePal(nil)) → c25(ISNEPAL(ok(nil)))
PROPER(isNePal(tt)) → c25(ISNEPAL(ok(tt)))
TOP(ok(__(__(z0, z1), z2))) → c27(TOP(mark(__(z0, __(z1, z2)))), ACTIVE(__(__(z0, z1), z2)))
TOP(ok(__(z0, nil))) → c27(TOP(mark(z0)), ACTIVE(__(z0, nil)))
TOP(ok(__(nil, z0))) → c27(TOP(mark(z0)), ACTIVE(__(nil, z0)))
TOP(ok(U11(tt))) → c27(TOP(mark(U12(tt))), ACTIVE(U11(tt)))
TOP(ok(U12(tt))) → c27(TOP(mark(tt)), ACTIVE(U12(tt)))
TOP(ok(isNePal(__(z0, __(z1, z0))))) → c27(TOP(mark(U11(tt))), ACTIVE(isNePal(__(z0, __(z1, z0)))))
TOP(ok(__(z0, z1))) → c27(TOP(__(active(z0), z1)), ACTIVE(__(z0, z1)))
TOP(ok(__(z0, z1))) → c27(TOP(__(z0, active(z1))), ACTIVE(__(z0, z1)))
TOP(ok(U11(z0))) → c27(TOP(U11(active(z0))), ACTIVE(U11(z0)))
TOP(ok(U12(z0))) → c27(TOP(U12(active(z0))), ACTIVE(U12(z0)))
TOP(ok(isNePal(z0))) → c27(TOP(isNePal(active(z0))), ACTIVE(isNePal(z0)))
K tuples:
TOP(mark(z0)) → c26(TOP(proper(z0)), PROPER(z0))
Defined Rule Symbols:
active, __, U11, U12, isNePal, proper
Defined Pair Symbols:
ACTIVE, __', U11', U12', ISNEPAL, PROPER, TOP
Compound Symbols:
c6, c7, c11, c12, c13, c14, c15, c16, c17, c18, c19, c1, c8, c8, c9, c9, c10, c10, c20, c20, c22, c22, c24, c24, c25, c25, c26, c26, c27
(45) CdtLeafRemovalProof (BOTH BOUNDS(ID, ID) transformation)
Removed 2 trailing nodes:
TOP(mark(tt)) → c26(TOP(ok(tt)))
TOP(mark(nil)) → c26(TOP(ok(nil)))
(46) Obligation:
Complexity Dependency Tuples Problem
Rules:
active(__(__(z0, z1), z2)) → mark(__(z0, __(z1, z2)))
active(__(z0, nil)) → mark(z0)
active(__(nil, z0)) → mark(z0)
active(U11(tt)) → mark(U12(tt))
active(U12(tt)) → mark(tt)
active(isNePal(__(z0, __(z1, z0)))) → mark(U11(tt))
active(__(z0, z1)) → __(active(z0), z1)
active(__(z0, z1)) → __(z0, active(z1))
active(U11(z0)) → U11(active(z0))
active(U12(z0)) → U12(active(z0))
active(isNePal(z0)) → isNePal(active(z0))
__(z0, mark(z1)) → mark(__(z0, z1))
__(ok(z0), ok(z1)) → ok(__(z0, z1))
__(mark(z0), z1) → mark(__(z0, z1))
U11(mark(z0)) → mark(U11(z0))
U11(ok(z0)) → ok(U11(z0))
U12(mark(z0)) → mark(U12(z0))
U12(ok(z0)) → ok(U12(z0))
isNePal(mark(z0)) → mark(isNePal(z0))
isNePal(ok(z0)) → ok(isNePal(z0))
proper(__(z0, z1)) → __(proper(z0), proper(z1))
proper(nil) → ok(nil)
proper(U11(z0)) → U11(proper(z0))
proper(tt) → ok(tt)
proper(U12(z0)) → U12(proper(z0))
proper(isNePal(z0)) → isNePal(proper(z0))
Tuples:
ACTIVE(__(z0, z1)) → c6(__'(active(z0), z1), ACTIVE(z0))
ACTIVE(__(z0, z1)) → c7(__'(z0, active(z1)), ACTIVE(z1))
__'(mark(z0), z1) → c11(__'(z0, z1))
__'(z0, mark(z1)) → c12(__'(z0, z1))
__'(ok(z0), ok(z1)) → c13(__'(z0, z1))
U11'(mark(z0)) → c14(U11'(z0))
U11'(ok(z0)) → c15(U11'(z0))
U12'(mark(z0)) → c16(U12'(z0))
U12'(ok(z0)) → c17(U12'(z0))
ISNEPAL(mark(z0)) → c18(ISNEPAL(z0))
ISNEPAL(ok(z0)) → c19(ISNEPAL(z0))
ACTIVE(__(__(z0, z1), z2)) → c1(__'(z0, __(z1, z2)))
ACTIVE(__(__(z0, z1), z2)) → c1(__'(z1, z2))
ACTIVE(U11(__(__(z0, z1), z2))) → c8(U11'(mark(__(z0, __(z1, z2)))), ACTIVE(__(__(z0, z1), z2)))
ACTIVE(U11(__(z0, nil))) → c8(U11'(mark(z0)), ACTIVE(__(z0, nil)))
ACTIVE(U11(__(nil, z0))) → c8(U11'(mark(z0)), ACTIVE(__(nil, z0)))
ACTIVE(U11(isNePal(__(z0, __(z1, z0))))) → c8(U11'(mark(U11(tt))), ACTIVE(isNePal(__(z0, __(z1, z0)))))
ACTIVE(U11(__(z0, z1))) → c8(U11'(__(active(z0), z1)), ACTIVE(__(z0, z1)))
ACTIVE(U11(__(z0, z1))) → c8(U11'(__(z0, active(z1))), ACTIVE(__(z0, z1)))
ACTIVE(U11(U11(z0))) → c8(U11'(U11(active(z0))), ACTIVE(U11(z0)))
ACTIVE(U11(U12(z0))) → c8(U11'(U12(active(z0))), ACTIVE(U12(z0)))
ACTIVE(U11(isNePal(z0))) → c8(U11'(isNePal(active(z0))), ACTIVE(isNePal(z0)))
ACTIVE(U11(U11(tt))) → c8(U11'(mark(U12(tt))))
ACTIVE(U12(__(__(z0, z1), z2))) → c9(U12'(mark(__(z0, __(z1, z2)))), ACTIVE(__(__(z0, z1), z2)))
ACTIVE(U12(__(z0, nil))) → c9(U12'(mark(z0)), ACTIVE(__(z0, nil)))
ACTIVE(U12(__(nil, z0))) → c9(U12'(mark(z0)), ACTIVE(__(nil, z0)))
ACTIVE(U12(isNePal(__(z0, __(z1, z0))))) → c9(U12'(mark(U11(tt))), ACTIVE(isNePal(__(z0, __(z1, z0)))))
ACTIVE(U12(__(z0, z1))) → c9(U12'(__(active(z0), z1)), ACTIVE(__(z0, z1)))
ACTIVE(U12(__(z0, z1))) → c9(U12'(__(z0, active(z1))), ACTIVE(__(z0, z1)))
ACTIVE(U12(U11(z0))) → c9(U12'(U11(active(z0))), ACTIVE(U11(z0)))
ACTIVE(U12(U12(z0))) → c9(U12'(U12(active(z0))), ACTIVE(U12(z0)))
ACTIVE(U12(isNePal(z0))) → c9(U12'(isNePal(active(z0))), ACTIVE(isNePal(z0)))
ACTIVE(U11(U12(tt))) → c8(U11'(mark(tt)))
ACTIVE(U12(U11(tt))) → c9(U12'(mark(U12(tt))))
ACTIVE(U12(U12(tt))) → c9(U12'(mark(tt)))
ACTIVE(isNePal(__(__(z0, z1), z2))) → c10(ISNEPAL(mark(__(z0, __(z1, z2)))), ACTIVE(__(__(z0, z1), z2)))
ACTIVE(isNePal(__(z0, nil))) → c10(ISNEPAL(mark(z0)), ACTIVE(__(z0, nil)))
ACTIVE(isNePal(__(nil, z0))) → c10(ISNEPAL(mark(z0)), ACTIVE(__(nil, z0)))
ACTIVE(isNePal(isNePal(__(z0, __(z1, z0))))) → c10(ISNEPAL(mark(U11(tt))), ACTIVE(isNePal(__(z0, __(z1, z0)))))
ACTIVE(isNePal(__(z0, z1))) → c10(ISNEPAL(__(active(z0), z1)), ACTIVE(__(z0, z1)))
ACTIVE(isNePal(__(z0, z1))) → c10(ISNEPAL(__(z0, active(z1))), ACTIVE(__(z0, z1)))
ACTIVE(isNePal(U11(z0))) → c10(ISNEPAL(U11(active(z0))), ACTIVE(U11(z0)))
ACTIVE(isNePal(U12(z0))) → c10(ISNEPAL(U12(active(z0))), ACTIVE(U12(z0)))
ACTIVE(isNePal(isNePal(z0))) → c10(ISNEPAL(isNePal(active(z0))), ACTIVE(isNePal(z0)))
ACTIVE(isNePal(U11(tt))) → c10(ISNEPAL(mark(U12(tt))))
ACTIVE(isNePal(U12(tt))) → c10(ISNEPAL(mark(tt)))
PROPER(__(x0, __(z0, z1))) → c20(__'(proper(x0), __(proper(z0), proper(z1))), PROPER(x0), PROPER(__(z0, z1)))
PROPER(__(x0, U11(z0))) → c20(__'(proper(x0), U11(proper(z0))), PROPER(x0), PROPER(U11(z0)))
PROPER(__(x0, U12(z0))) → c20(__'(proper(x0), U12(proper(z0))), PROPER(x0), PROPER(U12(z0)))
PROPER(__(x0, isNePal(z0))) → c20(__'(proper(x0), isNePal(proper(z0))), PROPER(x0), PROPER(isNePal(z0)))
PROPER(__(__(z0, z1), x1)) → c20(__'(__(proper(z0), proper(z1)), proper(x1)), PROPER(__(z0, z1)), PROPER(x1))
PROPER(__(U11(z0), x1)) → c20(__'(U11(proper(z0)), proper(x1)), PROPER(U11(z0)), PROPER(x1))
PROPER(__(U12(z0), x1)) → c20(__'(U12(proper(z0)), proper(x1)), PROPER(U12(z0)), PROPER(x1))
PROPER(__(isNePal(z0), x1)) → c20(__'(isNePal(proper(z0)), proper(x1)), PROPER(isNePal(z0)), PROPER(x1))
PROPER(__(x0, nil)) → c20(__'(proper(x0), ok(nil)), PROPER(x0))
PROPER(__(x0, tt)) → c20(__'(proper(x0), ok(tt)), PROPER(x0))
PROPER(__(nil, x1)) → c20(__'(ok(nil), proper(x1)), PROPER(x1))
PROPER(__(tt, x1)) → c20(__'(ok(tt), proper(x1)), PROPER(x1))
PROPER(U11(__(z0, z1))) → c22(U11'(__(proper(z0), proper(z1))), PROPER(__(z0, z1)))
PROPER(U11(U11(z0))) → c22(U11'(U11(proper(z0))), PROPER(U11(z0)))
PROPER(U11(U12(z0))) → c22(U11'(U12(proper(z0))), PROPER(U12(z0)))
PROPER(U11(isNePal(z0))) → c22(U11'(isNePal(proper(z0))), PROPER(isNePal(z0)))
PROPER(U11(nil)) → c22(U11'(ok(nil)))
PROPER(U11(tt)) → c22(U11'(ok(tt)))
PROPER(U12(__(z0, z1))) → c24(U12'(__(proper(z0), proper(z1))), PROPER(__(z0, z1)))
PROPER(U12(U11(z0))) → c24(U12'(U11(proper(z0))), PROPER(U11(z0)))
PROPER(U12(U12(z0))) → c24(U12'(U12(proper(z0))), PROPER(U12(z0)))
PROPER(U12(isNePal(z0))) → c24(U12'(isNePal(proper(z0))), PROPER(isNePal(z0)))
PROPER(U12(nil)) → c24(U12'(ok(nil)))
PROPER(U12(tt)) → c24(U12'(ok(tt)))
PROPER(isNePal(__(z0, z1))) → c25(ISNEPAL(__(proper(z0), proper(z1))), PROPER(__(z0, z1)))
PROPER(isNePal(U11(z0))) → c25(ISNEPAL(U11(proper(z0))), PROPER(U11(z0)))
PROPER(isNePal(U12(z0))) → c25(ISNEPAL(U12(proper(z0))), PROPER(U12(z0)))
PROPER(isNePal(isNePal(z0))) → c25(ISNEPAL(isNePal(proper(z0))), PROPER(isNePal(z0)))
PROPER(isNePal(nil)) → c25(ISNEPAL(ok(nil)))
PROPER(isNePal(tt)) → c25(ISNEPAL(ok(tt)))
TOP(mark(__(z0, z1))) → c26(TOP(__(proper(z0), proper(z1))), PROPER(__(z0, z1)))
TOP(mark(U11(z0))) → c26(TOP(U11(proper(z0))), PROPER(U11(z0)))
TOP(mark(U12(z0))) → c26(TOP(U12(proper(z0))), PROPER(U12(z0)))
TOP(mark(isNePal(z0))) → c26(TOP(isNePal(proper(z0))), PROPER(isNePal(z0)))
TOP(ok(__(__(z0, z1), z2))) → c27(TOP(mark(__(z0, __(z1, z2)))), ACTIVE(__(__(z0, z1), z2)))
TOP(ok(__(z0, nil))) → c27(TOP(mark(z0)), ACTIVE(__(z0, nil)))
TOP(ok(__(nil, z0))) → c27(TOP(mark(z0)), ACTIVE(__(nil, z0)))
TOP(ok(U11(tt))) → c27(TOP(mark(U12(tt))), ACTIVE(U11(tt)))
TOP(ok(U12(tt))) → c27(TOP(mark(tt)), ACTIVE(U12(tt)))
TOP(ok(isNePal(__(z0, __(z1, z0))))) → c27(TOP(mark(U11(tt))), ACTIVE(isNePal(__(z0, __(z1, z0)))))
TOP(ok(__(z0, z1))) → c27(TOP(__(active(z0), z1)), ACTIVE(__(z0, z1)))
TOP(ok(__(z0, z1))) → c27(TOP(__(z0, active(z1))), ACTIVE(__(z0, z1)))
TOP(ok(U11(z0))) → c27(TOP(U11(active(z0))), ACTIVE(U11(z0)))
TOP(ok(U12(z0))) → c27(TOP(U12(active(z0))), ACTIVE(U12(z0)))
TOP(ok(isNePal(z0))) → c27(TOP(isNePal(active(z0))), ACTIVE(isNePal(z0)))
S tuples:
ACTIVE(__(z0, z1)) → c6(__'(active(z0), z1), ACTIVE(z0))
ACTIVE(__(z0, z1)) → c7(__'(z0, active(z1)), ACTIVE(z1))
__'(mark(z0), z1) → c11(__'(z0, z1))
__'(z0, mark(z1)) → c12(__'(z0, z1))
__'(ok(z0), ok(z1)) → c13(__'(z0, z1))
U11'(mark(z0)) → c14(U11'(z0))
U11'(ok(z0)) → c15(U11'(z0))
U12'(mark(z0)) → c16(U12'(z0))
U12'(ok(z0)) → c17(U12'(z0))
ISNEPAL(mark(z0)) → c18(ISNEPAL(z0))
ISNEPAL(ok(z0)) → c19(ISNEPAL(z0))
ACTIVE(__(__(z0, z1), z2)) → c1(__'(z0, __(z1, z2)))
ACTIVE(__(__(z0, z1), z2)) → c1(__'(z1, z2))
ACTIVE(U11(__(__(z0, z1), z2))) → c8(U11'(mark(__(z0, __(z1, z2)))), ACTIVE(__(__(z0, z1), z2)))
ACTIVE(U11(__(z0, nil))) → c8(U11'(mark(z0)), ACTIVE(__(z0, nil)))
ACTIVE(U11(__(nil, z0))) → c8(U11'(mark(z0)), ACTIVE(__(nil, z0)))
ACTIVE(U11(isNePal(__(z0, __(z1, z0))))) → c8(U11'(mark(U11(tt))), ACTIVE(isNePal(__(z0, __(z1, z0)))))
ACTIVE(U11(__(z0, z1))) → c8(U11'(__(active(z0), z1)), ACTIVE(__(z0, z1)))
ACTIVE(U11(__(z0, z1))) → c8(U11'(__(z0, active(z1))), ACTIVE(__(z0, z1)))
ACTIVE(U11(U11(z0))) → c8(U11'(U11(active(z0))), ACTIVE(U11(z0)))
ACTIVE(U11(U12(z0))) → c8(U11'(U12(active(z0))), ACTIVE(U12(z0)))
ACTIVE(U11(isNePal(z0))) → c8(U11'(isNePal(active(z0))), ACTIVE(isNePal(z0)))
ACTIVE(U11(U11(tt))) → c8(U11'(mark(U12(tt))))
ACTIVE(U12(__(__(z0, z1), z2))) → c9(U12'(mark(__(z0, __(z1, z2)))), ACTIVE(__(__(z0, z1), z2)))
ACTIVE(U12(__(z0, nil))) → c9(U12'(mark(z0)), ACTIVE(__(z0, nil)))
ACTIVE(U12(__(nil, z0))) → c9(U12'(mark(z0)), ACTIVE(__(nil, z0)))
ACTIVE(U12(isNePal(__(z0, __(z1, z0))))) → c9(U12'(mark(U11(tt))), ACTIVE(isNePal(__(z0, __(z1, z0)))))
ACTIVE(U12(__(z0, z1))) → c9(U12'(__(active(z0), z1)), ACTIVE(__(z0, z1)))
ACTIVE(U12(__(z0, z1))) → c9(U12'(__(z0, active(z1))), ACTIVE(__(z0, z1)))
ACTIVE(U12(U11(z0))) → c9(U12'(U11(active(z0))), ACTIVE(U11(z0)))
ACTIVE(U12(U12(z0))) → c9(U12'(U12(active(z0))), ACTIVE(U12(z0)))
ACTIVE(U12(isNePal(z0))) → c9(U12'(isNePal(active(z0))), ACTIVE(isNePal(z0)))
ACTIVE(U11(U12(tt))) → c8(U11'(mark(tt)))
ACTIVE(U12(U11(tt))) → c9(U12'(mark(U12(tt))))
ACTIVE(U12(U12(tt))) → c9(U12'(mark(tt)))
ACTIVE(isNePal(__(__(z0, z1), z2))) → c10(ISNEPAL(mark(__(z0, __(z1, z2)))), ACTIVE(__(__(z0, z1), z2)))
ACTIVE(isNePal(__(z0, nil))) → c10(ISNEPAL(mark(z0)), ACTIVE(__(z0, nil)))
ACTIVE(isNePal(__(nil, z0))) → c10(ISNEPAL(mark(z0)), ACTIVE(__(nil, z0)))
ACTIVE(isNePal(isNePal(__(z0, __(z1, z0))))) → c10(ISNEPAL(mark(U11(tt))), ACTIVE(isNePal(__(z0, __(z1, z0)))))
ACTIVE(isNePal(__(z0, z1))) → c10(ISNEPAL(__(active(z0), z1)), ACTIVE(__(z0, z1)))
ACTIVE(isNePal(__(z0, z1))) → c10(ISNEPAL(__(z0, active(z1))), ACTIVE(__(z0, z1)))
ACTIVE(isNePal(U11(z0))) → c10(ISNEPAL(U11(active(z0))), ACTIVE(U11(z0)))
ACTIVE(isNePal(U12(z0))) → c10(ISNEPAL(U12(active(z0))), ACTIVE(U12(z0)))
ACTIVE(isNePal(isNePal(z0))) → c10(ISNEPAL(isNePal(active(z0))), ACTIVE(isNePal(z0)))
ACTIVE(isNePal(U11(tt))) → c10(ISNEPAL(mark(U12(tt))))
ACTIVE(isNePal(U12(tt))) → c10(ISNEPAL(mark(tt)))
PROPER(__(x0, __(z0, z1))) → c20(__'(proper(x0), __(proper(z0), proper(z1))), PROPER(x0), PROPER(__(z0, z1)))
PROPER(__(x0, U11(z0))) → c20(__'(proper(x0), U11(proper(z0))), PROPER(x0), PROPER(U11(z0)))
PROPER(__(x0, U12(z0))) → c20(__'(proper(x0), U12(proper(z0))), PROPER(x0), PROPER(U12(z0)))
PROPER(__(x0, isNePal(z0))) → c20(__'(proper(x0), isNePal(proper(z0))), PROPER(x0), PROPER(isNePal(z0)))
PROPER(__(__(z0, z1), x1)) → c20(__'(__(proper(z0), proper(z1)), proper(x1)), PROPER(__(z0, z1)), PROPER(x1))
PROPER(__(U11(z0), x1)) → c20(__'(U11(proper(z0)), proper(x1)), PROPER(U11(z0)), PROPER(x1))
PROPER(__(U12(z0), x1)) → c20(__'(U12(proper(z0)), proper(x1)), PROPER(U12(z0)), PROPER(x1))
PROPER(__(isNePal(z0), x1)) → c20(__'(isNePal(proper(z0)), proper(x1)), PROPER(isNePal(z0)), PROPER(x1))
PROPER(__(x0, nil)) → c20(__'(proper(x0), ok(nil)), PROPER(x0))
PROPER(__(x0, tt)) → c20(__'(proper(x0), ok(tt)), PROPER(x0))
PROPER(__(nil, x1)) → c20(__'(ok(nil), proper(x1)), PROPER(x1))
PROPER(__(tt, x1)) → c20(__'(ok(tt), proper(x1)), PROPER(x1))
PROPER(U11(__(z0, z1))) → c22(U11'(__(proper(z0), proper(z1))), PROPER(__(z0, z1)))
PROPER(U11(U11(z0))) → c22(U11'(U11(proper(z0))), PROPER(U11(z0)))
PROPER(U11(U12(z0))) → c22(U11'(U12(proper(z0))), PROPER(U12(z0)))
PROPER(U11(isNePal(z0))) → c22(U11'(isNePal(proper(z0))), PROPER(isNePal(z0)))
PROPER(U11(nil)) → c22(U11'(ok(nil)))
PROPER(U11(tt)) → c22(U11'(ok(tt)))
PROPER(U12(__(z0, z1))) → c24(U12'(__(proper(z0), proper(z1))), PROPER(__(z0, z1)))
PROPER(U12(U11(z0))) → c24(U12'(U11(proper(z0))), PROPER(U11(z0)))
PROPER(U12(U12(z0))) → c24(U12'(U12(proper(z0))), PROPER(U12(z0)))
PROPER(U12(isNePal(z0))) → c24(U12'(isNePal(proper(z0))), PROPER(isNePal(z0)))
PROPER(U12(nil)) → c24(U12'(ok(nil)))
PROPER(U12(tt)) → c24(U12'(ok(tt)))
PROPER(isNePal(__(z0, z1))) → c25(ISNEPAL(__(proper(z0), proper(z1))), PROPER(__(z0, z1)))
PROPER(isNePal(U11(z0))) → c25(ISNEPAL(U11(proper(z0))), PROPER(U11(z0)))
PROPER(isNePal(U12(z0))) → c25(ISNEPAL(U12(proper(z0))), PROPER(U12(z0)))
PROPER(isNePal(isNePal(z0))) → c25(ISNEPAL(isNePal(proper(z0))), PROPER(isNePal(z0)))
PROPER(isNePal(nil)) → c25(ISNEPAL(ok(nil)))
PROPER(isNePal(tt)) → c25(ISNEPAL(ok(tt)))
TOP(ok(__(__(z0, z1), z2))) → c27(TOP(mark(__(z0, __(z1, z2)))), ACTIVE(__(__(z0, z1), z2)))
TOP(ok(__(z0, nil))) → c27(TOP(mark(z0)), ACTIVE(__(z0, nil)))
TOP(ok(__(nil, z0))) → c27(TOP(mark(z0)), ACTIVE(__(nil, z0)))
TOP(ok(U11(tt))) → c27(TOP(mark(U12(tt))), ACTIVE(U11(tt)))
TOP(ok(U12(tt))) → c27(TOP(mark(tt)), ACTIVE(U12(tt)))
TOP(ok(isNePal(__(z0, __(z1, z0))))) → c27(TOP(mark(U11(tt))), ACTIVE(isNePal(__(z0, __(z1, z0)))))
TOP(ok(__(z0, z1))) → c27(TOP(__(active(z0), z1)), ACTIVE(__(z0, z1)))
TOP(ok(__(z0, z1))) → c27(TOP(__(z0, active(z1))), ACTIVE(__(z0, z1)))
TOP(ok(U11(z0))) → c27(TOP(U11(active(z0))), ACTIVE(U11(z0)))
TOP(ok(U12(z0))) → c27(TOP(U12(active(z0))), ACTIVE(U12(z0)))
TOP(ok(isNePal(z0))) → c27(TOP(isNePal(active(z0))), ACTIVE(isNePal(z0)))
K tuples:none
Defined Rule Symbols:
active, __, U11, U12, isNePal, proper
Defined Pair Symbols:
ACTIVE, __', U11', U12', ISNEPAL, PROPER, TOP
Compound Symbols:
c6, c7, c11, c12, c13, c14, c15, c16, c17, c18, c19, c1, c8, c8, c9, c9, c10, c10, c20, c20, c22, c22, c24, c24, c25, c25, c26, c27
(47) CdtUnreachableProof (EQUIVALENT transformation)
The following tuples could be removed as they are not reachable from basic start terms:
ACTIVE(__(z0, z1)) → c6(__'(active(z0), z1), ACTIVE(z0))
ACTIVE(__(z0, z1)) → c7(__'(z0, active(z1)), ACTIVE(z1))
ACTIVE(__(__(z0, z1), z2)) → c1(__'(z0, __(z1, z2)))
ACTIVE(__(__(z0, z1), z2)) → c1(__'(z1, z2))
ACTIVE(U11(__(__(z0, z1), z2))) → c8(U11'(mark(__(z0, __(z1, z2)))), ACTIVE(__(__(z0, z1), z2)))
ACTIVE(U11(__(z0, nil))) → c8(U11'(mark(z0)), ACTIVE(__(z0, nil)))
ACTIVE(U11(__(nil, z0))) → c8(U11'(mark(z0)), ACTIVE(__(nil, z0)))
ACTIVE(U11(isNePal(__(z0, __(z1, z0))))) → c8(U11'(mark(U11(tt))), ACTIVE(isNePal(__(z0, __(z1, z0)))))
ACTIVE(U11(__(z0, z1))) → c8(U11'(__(active(z0), z1)), ACTIVE(__(z0, z1)))
ACTIVE(U11(__(z0, z1))) → c8(U11'(__(z0, active(z1))), ACTIVE(__(z0, z1)))
ACTIVE(U11(U11(z0))) → c8(U11'(U11(active(z0))), ACTIVE(U11(z0)))
ACTIVE(U11(U12(z0))) → c8(U11'(U12(active(z0))), ACTIVE(U12(z0)))
ACTIVE(U11(isNePal(z0))) → c8(U11'(isNePal(active(z0))), ACTIVE(isNePal(z0)))
ACTIVE(U11(U11(tt))) → c8(U11'(mark(U12(tt))))
ACTIVE(U12(__(__(z0, z1), z2))) → c9(U12'(mark(__(z0, __(z1, z2)))), ACTIVE(__(__(z0, z1), z2)))
ACTIVE(U12(__(z0, nil))) → c9(U12'(mark(z0)), ACTIVE(__(z0, nil)))
ACTIVE(U12(__(nil, z0))) → c9(U12'(mark(z0)), ACTIVE(__(nil, z0)))
ACTIVE(U12(isNePal(__(z0, __(z1, z0))))) → c9(U12'(mark(U11(tt))), ACTIVE(isNePal(__(z0, __(z1, z0)))))
ACTIVE(U12(__(z0, z1))) → c9(U12'(__(active(z0), z1)), ACTIVE(__(z0, z1)))
ACTIVE(U12(__(z0, z1))) → c9(U12'(__(z0, active(z1))), ACTIVE(__(z0, z1)))
ACTIVE(U12(U11(z0))) → c9(U12'(U11(active(z0))), ACTIVE(U11(z0)))
ACTIVE(U12(U12(z0))) → c9(U12'(U12(active(z0))), ACTIVE(U12(z0)))
ACTIVE(U12(isNePal(z0))) → c9(U12'(isNePal(active(z0))), ACTIVE(isNePal(z0)))
ACTIVE(U11(U12(tt))) → c8(U11'(mark(tt)))
ACTIVE(U12(U11(tt))) → c9(U12'(mark(U12(tt))))
ACTIVE(U12(U12(tt))) → c9(U12'(mark(tt)))
ACTIVE(isNePal(__(__(z0, z1), z2))) → c10(ISNEPAL(mark(__(z0, __(z1, z2)))), ACTIVE(__(__(z0, z1), z2)))
ACTIVE(isNePal(__(z0, nil))) → c10(ISNEPAL(mark(z0)), ACTIVE(__(z0, nil)))
ACTIVE(isNePal(__(nil, z0))) → c10(ISNEPAL(mark(z0)), ACTIVE(__(nil, z0)))
ACTIVE(isNePal(isNePal(__(z0, __(z1, z0))))) → c10(ISNEPAL(mark(U11(tt))), ACTIVE(isNePal(__(z0, __(z1, z0)))))
ACTIVE(isNePal(__(z0, z1))) → c10(ISNEPAL(__(active(z0), z1)), ACTIVE(__(z0, z1)))
ACTIVE(isNePal(__(z0, z1))) → c10(ISNEPAL(__(z0, active(z1))), ACTIVE(__(z0, z1)))
ACTIVE(isNePal(U11(z0))) → c10(ISNEPAL(U11(active(z0))), ACTIVE(U11(z0)))
ACTIVE(isNePal(U12(z0))) → c10(ISNEPAL(U12(active(z0))), ACTIVE(U12(z0)))
ACTIVE(isNePal(isNePal(z0))) → c10(ISNEPAL(isNePal(active(z0))), ACTIVE(isNePal(z0)))
ACTIVE(isNePal(U11(tt))) → c10(ISNEPAL(mark(U12(tt))))
ACTIVE(isNePal(U12(tt))) → c10(ISNEPAL(mark(tt)))
PROPER(__(x0, __(z0, z1))) → c20(__'(proper(x0), __(proper(z0), proper(z1))), PROPER(x0), PROPER(__(z0, z1)))
PROPER(__(x0, U11(z0))) → c20(__'(proper(x0), U11(proper(z0))), PROPER(x0), PROPER(U11(z0)))
PROPER(__(x0, U12(z0))) → c20(__'(proper(x0), U12(proper(z0))), PROPER(x0), PROPER(U12(z0)))
PROPER(__(x0, isNePal(z0))) → c20(__'(proper(x0), isNePal(proper(z0))), PROPER(x0), PROPER(isNePal(z0)))
PROPER(__(__(z0, z1), x1)) → c20(__'(__(proper(z0), proper(z1)), proper(x1)), PROPER(__(z0, z1)), PROPER(x1))
PROPER(__(U11(z0), x1)) → c20(__'(U11(proper(z0)), proper(x1)), PROPER(U11(z0)), PROPER(x1))
PROPER(__(U12(z0), x1)) → c20(__'(U12(proper(z0)), proper(x1)), PROPER(U12(z0)), PROPER(x1))
PROPER(__(isNePal(z0), x1)) → c20(__'(isNePal(proper(z0)), proper(x1)), PROPER(isNePal(z0)), PROPER(x1))
PROPER(__(x0, nil)) → c20(__'(proper(x0), ok(nil)), PROPER(x0))
PROPER(__(x0, tt)) → c20(__'(proper(x0), ok(tt)), PROPER(x0))
PROPER(__(nil, x1)) → c20(__'(ok(nil), proper(x1)), PROPER(x1))
PROPER(__(tt, x1)) → c20(__'(ok(tt), proper(x1)), PROPER(x1))
PROPER(U11(__(z0, z1))) → c22(U11'(__(proper(z0), proper(z1))), PROPER(__(z0, z1)))
PROPER(U11(U11(z0))) → c22(U11'(U11(proper(z0))), PROPER(U11(z0)))
PROPER(U11(U12(z0))) → c22(U11'(U12(proper(z0))), PROPER(U12(z0)))
PROPER(U11(isNePal(z0))) → c22(U11'(isNePal(proper(z0))), PROPER(isNePal(z0)))
PROPER(U11(nil)) → c22(U11'(ok(nil)))
PROPER(U11(tt)) → c22(U11'(ok(tt)))
PROPER(U12(__(z0, z1))) → c24(U12'(__(proper(z0), proper(z1))), PROPER(__(z0, z1)))
PROPER(U12(U11(z0))) → c24(U12'(U11(proper(z0))), PROPER(U11(z0)))
PROPER(U12(U12(z0))) → c24(U12'(U12(proper(z0))), PROPER(U12(z0)))
PROPER(U12(isNePal(z0))) → c24(U12'(isNePal(proper(z0))), PROPER(isNePal(z0)))
PROPER(U12(nil)) → c24(U12'(ok(nil)))
PROPER(U12(tt)) → c24(U12'(ok(tt)))
PROPER(isNePal(__(z0, z1))) → c25(ISNEPAL(__(proper(z0), proper(z1))), PROPER(__(z0, z1)))
PROPER(isNePal(U11(z0))) → c25(ISNEPAL(U11(proper(z0))), PROPER(U11(z0)))
PROPER(isNePal(U12(z0))) → c25(ISNEPAL(U12(proper(z0))), PROPER(U12(z0)))
PROPER(isNePal(isNePal(z0))) → c25(ISNEPAL(isNePal(proper(z0))), PROPER(isNePal(z0)))
PROPER(isNePal(nil)) → c25(ISNEPAL(ok(nil)))
PROPER(isNePal(tt)) → c25(ISNEPAL(ok(tt)))
TOP(mark(__(z0, z1))) → c26(TOP(__(proper(z0), proper(z1))), PROPER(__(z0, z1)))
TOP(mark(U11(z0))) → c26(TOP(U11(proper(z0))), PROPER(U11(z0)))
TOP(mark(U12(z0))) → c26(TOP(U12(proper(z0))), PROPER(U12(z0)))
TOP(mark(isNePal(z0))) → c26(TOP(isNePal(proper(z0))), PROPER(isNePal(z0)))
TOP(ok(__(__(z0, z1), z2))) → c27(TOP(mark(__(z0, __(z1, z2)))), ACTIVE(__(__(z0, z1), z2)))
TOP(ok(__(z0, nil))) → c27(TOP(mark(z0)), ACTIVE(__(z0, nil)))
TOP(ok(__(nil, z0))) → c27(TOP(mark(z0)), ACTIVE(__(nil, z0)))
TOP(ok(U11(tt))) → c27(TOP(mark(U12(tt))), ACTIVE(U11(tt)))
TOP(ok(U12(tt))) → c27(TOP(mark(tt)), ACTIVE(U12(tt)))
TOP(ok(isNePal(__(z0, __(z1, z0))))) → c27(TOP(mark(U11(tt))), ACTIVE(isNePal(__(z0, __(z1, z0)))))
TOP(ok(__(z0, z1))) → c27(TOP(__(active(z0), z1)), ACTIVE(__(z0, z1)))
TOP(ok(__(z0, z1))) → c27(TOP(__(z0, active(z1))), ACTIVE(__(z0, z1)))
TOP(ok(U11(z0))) → c27(TOP(U11(active(z0))), ACTIVE(U11(z0)))
TOP(ok(U12(z0))) → c27(TOP(U12(active(z0))), ACTIVE(U12(z0)))
TOP(ok(isNePal(z0))) → c27(TOP(isNePal(active(z0))), ACTIVE(isNePal(z0)))
(48) Obligation:
Complexity Dependency Tuples Problem
Rules:
active(__(__(z0, z1), z2)) → mark(__(z0, __(z1, z2)))
active(__(z0, nil)) → mark(z0)
active(__(nil, z0)) → mark(z0)
active(U11(tt)) → mark(U12(tt))
active(U12(tt)) → mark(tt)
active(isNePal(__(z0, __(z1, z0)))) → mark(U11(tt))
active(__(z0, z1)) → __(active(z0), z1)
active(__(z0, z1)) → __(z0, active(z1))
active(U11(z0)) → U11(active(z0))
active(U12(z0)) → U12(active(z0))
active(isNePal(z0)) → isNePal(active(z0))
__(z0, mark(z1)) → mark(__(z0, z1))
__(ok(z0), ok(z1)) → ok(__(z0, z1))
__(mark(z0), z1) → mark(__(z0, z1))
U11(mark(z0)) → mark(U11(z0))
U11(ok(z0)) → ok(U11(z0))
U12(mark(z0)) → mark(U12(z0))
U12(ok(z0)) → ok(U12(z0))
isNePal(mark(z0)) → mark(isNePal(z0))
isNePal(ok(z0)) → ok(isNePal(z0))
proper(__(z0, z1)) → __(proper(z0), proper(z1))
proper(nil) → ok(nil)
proper(U11(z0)) → U11(proper(z0))
proper(tt) → ok(tt)
proper(U12(z0)) → U12(proper(z0))
proper(isNePal(z0)) → isNePal(proper(z0))
Tuples:
__'(mark(z0), z1) → c11(__'(z0, z1))
__'(z0, mark(z1)) → c12(__'(z0, z1))
__'(ok(z0), ok(z1)) → c13(__'(z0, z1))
U11'(mark(z0)) → c14(U11'(z0))
U11'(ok(z0)) → c15(U11'(z0))
U12'(mark(z0)) → c16(U12'(z0))
U12'(ok(z0)) → c17(U12'(z0))
ISNEPAL(mark(z0)) → c18(ISNEPAL(z0))
ISNEPAL(ok(z0)) → c19(ISNEPAL(z0))
S tuples:
__'(mark(z0), z1) → c11(__'(z0, z1))
__'(z0, mark(z1)) → c12(__'(z0, z1))
__'(ok(z0), ok(z1)) → c13(__'(z0, z1))
U11'(mark(z0)) → c14(U11'(z0))
U11'(ok(z0)) → c15(U11'(z0))
U12'(mark(z0)) → c16(U12'(z0))
U12'(ok(z0)) → c17(U12'(z0))
ISNEPAL(mark(z0)) → c18(ISNEPAL(z0))
ISNEPAL(ok(z0)) → c19(ISNEPAL(z0))
K tuples:none
Defined Rule Symbols:
active, __, U11, U12, isNePal, proper
Defined Pair Symbols:
__', U11', U12', ISNEPAL
Compound Symbols:
c11, c12, c13, c14, c15, c16, c17, c18, c19
(49) CdtUsableRulesProof (EQUIVALENT transformation)
The following rules are not usable and were removed:
active(__(__(z0, z1), z2)) → mark(__(z0, __(z1, z2)))
active(__(z0, nil)) → mark(z0)
active(__(nil, z0)) → mark(z0)
active(U11(tt)) → mark(U12(tt))
active(U12(tt)) → mark(tt)
active(isNePal(__(z0, __(z1, z0)))) → mark(U11(tt))
active(__(z0, z1)) → __(active(z0), z1)
active(__(z0, z1)) → __(z0, active(z1))
active(U11(z0)) → U11(active(z0))
active(U12(z0)) → U12(active(z0))
active(isNePal(z0)) → isNePal(active(z0))
__(z0, mark(z1)) → mark(__(z0, z1))
__(ok(z0), ok(z1)) → ok(__(z0, z1))
__(mark(z0), z1) → mark(__(z0, z1))
U11(mark(z0)) → mark(U11(z0))
U11(ok(z0)) → ok(U11(z0))
U12(mark(z0)) → mark(U12(z0))
U12(ok(z0)) → ok(U12(z0))
isNePal(mark(z0)) → mark(isNePal(z0))
isNePal(ok(z0)) → ok(isNePal(z0))
proper(__(z0, z1)) → __(proper(z0), proper(z1))
proper(nil) → ok(nil)
proper(U11(z0)) → U11(proper(z0))
proper(tt) → ok(tt)
proper(U12(z0)) → U12(proper(z0))
proper(isNePal(z0)) → isNePal(proper(z0))
(50) Obligation:
Complexity Dependency Tuples Problem
Rules:none
Tuples:
__'(mark(z0), z1) → c11(__'(z0, z1))
__'(z0, mark(z1)) → c12(__'(z0, z1))
__'(ok(z0), ok(z1)) → c13(__'(z0, z1))
U11'(mark(z0)) → c14(U11'(z0))
U11'(ok(z0)) → c15(U11'(z0))
U12'(mark(z0)) → c16(U12'(z0))
U12'(ok(z0)) → c17(U12'(z0))
ISNEPAL(mark(z0)) → c18(ISNEPAL(z0))
ISNEPAL(ok(z0)) → c19(ISNEPAL(z0))
S tuples:
__'(mark(z0), z1) → c11(__'(z0, z1))
__'(z0, mark(z1)) → c12(__'(z0, z1))
__'(ok(z0), ok(z1)) → c13(__'(z0, z1))
U11'(mark(z0)) → c14(U11'(z0))
U11'(ok(z0)) → c15(U11'(z0))
U12'(mark(z0)) → c16(U12'(z0))
U12'(ok(z0)) → c17(U12'(z0))
ISNEPAL(mark(z0)) → c18(ISNEPAL(z0))
ISNEPAL(ok(z0)) → c19(ISNEPAL(z0))
K tuples:none
Defined Rule Symbols:none
Defined Pair Symbols:
__', U11', U12', ISNEPAL
Compound Symbols:
c11, c12, c13, c14, c15, c16, c17, c18, c19
(51) CdtRuleRemovalProof (UPPER BOUND (ADD(O(n^1))) transformation)
Found a reduction pair which oriented the following tuples strictly. Hence they can be removed from S.
__'(mark(z0), z1) → c11(__'(z0, z1))
__'(z0, mark(z1)) → c12(__'(z0, z1))
We considered the (Usable) Rules:none
And the Tuples:
__'(mark(z0), z1) → c11(__'(z0, z1))
__'(z0, mark(z1)) → c12(__'(z0, z1))
__'(ok(z0), ok(z1)) → c13(__'(z0, z1))
U11'(mark(z0)) → c14(U11'(z0))
U11'(ok(z0)) → c15(U11'(z0))
U12'(mark(z0)) → c16(U12'(z0))
U12'(ok(z0)) → c17(U12'(z0))
ISNEPAL(mark(z0)) → c18(ISNEPAL(z0))
ISNEPAL(ok(z0)) → c19(ISNEPAL(z0))
The order we found is given by the following interpretation:
Polynomial interpretation :
POL(ISNEPAL(x1)) = 0
POL(U11'(x1)) = 0
POL(U12'(x1)) = 0
POL(__'(x1, x2)) = [2]x1 + [4]x2
POL(c11(x1)) = x1
POL(c12(x1)) = x1
POL(c13(x1)) = x1
POL(c14(x1)) = x1
POL(c15(x1)) = x1
POL(c16(x1)) = x1
POL(c17(x1)) = x1
POL(c18(x1)) = x1
POL(c19(x1)) = x1
POL(mark(x1)) = [4] + x1
POL(ok(x1)) = x1
(52) Obligation:
Complexity Dependency Tuples Problem
Rules:none
Tuples:
__'(mark(z0), z1) → c11(__'(z0, z1))
__'(z0, mark(z1)) → c12(__'(z0, z1))
__'(ok(z0), ok(z1)) → c13(__'(z0, z1))
U11'(mark(z0)) → c14(U11'(z0))
U11'(ok(z0)) → c15(U11'(z0))
U12'(mark(z0)) → c16(U12'(z0))
U12'(ok(z0)) → c17(U12'(z0))
ISNEPAL(mark(z0)) → c18(ISNEPAL(z0))
ISNEPAL(ok(z0)) → c19(ISNEPAL(z0))
S tuples:
__'(ok(z0), ok(z1)) → c13(__'(z0, z1))
U11'(mark(z0)) → c14(U11'(z0))
U11'(ok(z0)) → c15(U11'(z0))
U12'(mark(z0)) → c16(U12'(z0))
U12'(ok(z0)) → c17(U12'(z0))
ISNEPAL(mark(z0)) → c18(ISNEPAL(z0))
ISNEPAL(ok(z0)) → c19(ISNEPAL(z0))
K tuples:
__'(mark(z0), z1) → c11(__'(z0, z1))
__'(z0, mark(z1)) → c12(__'(z0, z1))
Defined Rule Symbols:none
Defined Pair Symbols:
__', U11', U12', ISNEPAL
Compound Symbols:
c11, c12, c13, c14, c15, c16, c17, c18, c19
(53) CdtRuleRemovalProof (UPPER BOUND (ADD(O(n^1))) transformation)
Found a reduction pair which oriented the following tuples strictly. Hence they can be removed from S.
__'(ok(z0), ok(z1)) → c13(__'(z0, z1))
U11'(mark(z0)) → c14(U11'(z0))
U11'(ok(z0)) → c15(U11'(z0))
U12'(mark(z0)) → c16(U12'(z0))
U12'(ok(z0)) → c17(U12'(z0))
We considered the (Usable) Rules:none
And the Tuples:
__'(mark(z0), z1) → c11(__'(z0, z1))
__'(z0, mark(z1)) → c12(__'(z0, z1))
__'(ok(z0), ok(z1)) → c13(__'(z0, z1))
U11'(mark(z0)) → c14(U11'(z0))
U11'(ok(z0)) → c15(U11'(z0))
U12'(mark(z0)) → c16(U12'(z0))
U12'(ok(z0)) → c17(U12'(z0))
ISNEPAL(mark(z0)) → c18(ISNEPAL(z0))
ISNEPAL(ok(z0)) → c19(ISNEPAL(z0))
The order we found is given by the following interpretation:
Polynomial interpretation :
POL(ISNEPAL(x1)) = 0
POL(U11'(x1)) = [2]x1
POL(U12'(x1)) = x1
POL(__'(x1, x2)) = x1 + x2
POL(c11(x1)) = x1
POL(c12(x1)) = x1
POL(c13(x1)) = x1
POL(c14(x1)) = x1
POL(c15(x1)) = x1
POL(c16(x1)) = x1
POL(c17(x1)) = x1
POL(c18(x1)) = x1
POL(c19(x1)) = x1
POL(mark(x1)) = [2] + x1
POL(ok(x1)) = [2] + x1
(54) Obligation:
Complexity Dependency Tuples Problem
Rules:none
Tuples:
__'(mark(z0), z1) → c11(__'(z0, z1))
__'(z0, mark(z1)) → c12(__'(z0, z1))
__'(ok(z0), ok(z1)) → c13(__'(z0, z1))
U11'(mark(z0)) → c14(U11'(z0))
U11'(ok(z0)) → c15(U11'(z0))
U12'(mark(z0)) → c16(U12'(z0))
U12'(ok(z0)) → c17(U12'(z0))
ISNEPAL(mark(z0)) → c18(ISNEPAL(z0))
ISNEPAL(ok(z0)) → c19(ISNEPAL(z0))
S tuples:
ISNEPAL(mark(z0)) → c18(ISNEPAL(z0))
ISNEPAL(ok(z0)) → c19(ISNEPAL(z0))
K tuples:
__'(mark(z0), z1) → c11(__'(z0, z1))
__'(z0, mark(z1)) → c12(__'(z0, z1))
__'(ok(z0), ok(z1)) → c13(__'(z0, z1))
U11'(mark(z0)) → c14(U11'(z0))
U11'(ok(z0)) → c15(U11'(z0))
U12'(mark(z0)) → c16(U12'(z0))
U12'(ok(z0)) → c17(U12'(z0))
Defined Rule Symbols:none
Defined Pair Symbols:
__', U11', U12', ISNEPAL
Compound Symbols:
c11, c12, c13, c14, c15, c16, c17, c18, c19
(55) CdtRuleRemovalProof (UPPER BOUND (ADD(O(n^1))) transformation)
Found a reduction pair which oriented the following tuples strictly. Hence they can be removed from S.
ISNEPAL(mark(z0)) → c18(ISNEPAL(z0))
We considered the (Usable) Rules:none
And the Tuples:
__'(mark(z0), z1) → c11(__'(z0, z1))
__'(z0, mark(z1)) → c12(__'(z0, z1))
__'(ok(z0), ok(z1)) → c13(__'(z0, z1))
U11'(mark(z0)) → c14(U11'(z0))
U11'(ok(z0)) → c15(U11'(z0))
U12'(mark(z0)) → c16(U12'(z0))
U12'(ok(z0)) → c17(U12'(z0))
ISNEPAL(mark(z0)) → c18(ISNEPAL(z0))
ISNEPAL(ok(z0)) → c19(ISNEPAL(z0))
The order we found is given by the following interpretation:
Polynomial interpretation :
POL(ISNEPAL(x1)) = [4]x1
POL(U11'(x1)) = [2]x1
POL(U12'(x1)) = [3]x1
POL(__'(x1, x2)) = [3]x2
POL(c11(x1)) = x1
POL(c12(x1)) = x1
POL(c13(x1)) = x1
POL(c14(x1)) = x1
POL(c15(x1)) = x1
POL(c16(x1)) = x1
POL(c17(x1)) = x1
POL(c18(x1)) = x1
POL(c19(x1)) = x1
POL(mark(x1)) = [4] + x1
POL(ok(x1)) = x1
(56) Obligation:
Complexity Dependency Tuples Problem
Rules:none
Tuples:
__'(mark(z0), z1) → c11(__'(z0, z1))
__'(z0, mark(z1)) → c12(__'(z0, z1))
__'(ok(z0), ok(z1)) → c13(__'(z0, z1))
U11'(mark(z0)) → c14(U11'(z0))
U11'(ok(z0)) → c15(U11'(z0))
U12'(mark(z0)) → c16(U12'(z0))
U12'(ok(z0)) → c17(U12'(z0))
ISNEPAL(mark(z0)) → c18(ISNEPAL(z0))
ISNEPAL(ok(z0)) → c19(ISNEPAL(z0))
S tuples:
ISNEPAL(ok(z0)) → c19(ISNEPAL(z0))
K tuples:
__'(mark(z0), z1) → c11(__'(z0, z1))
__'(z0, mark(z1)) → c12(__'(z0, z1))
__'(ok(z0), ok(z1)) → c13(__'(z0, z1))
U11'(mark(z0)) → c14(U11'(z0))
U11'(ok(z0)) → c15(U11'(z0))
U12'(mark(z0)) → c16(U12'(z0))
U12'(ok(z0)) → c17(U12'(z0))
ISNEPAL(mark(z0)) → c18(ISNEPAL(z0))
Defined Rule Symbols:none
Defined Pair Symbols:
__', U11', U12', ISNEPAL
Compound Symbols:
c11, c12, c13, c14, c15, c16, c17, c18, c19
(57) CdtRuleRemovalProof (UPPER BOUND (ADD(O(n^1))) transformation)
Found a reduction pair which oriented the following tuples strictly. Hence they can be removed from S.
ISNEPAL(ok(z0)) → c19(ISNEPAL(z0))
We considered the (Usable) Rules:none
And the Tuples:
__'(mark(z0), z1) → c11(__'(z0, z1))
__'(z0, mark(z1)) → c12(__'(z0, z1))
__'(ok(z0), ok(z1)) → c13(__'(z0, z1))
U11'(mark(z0)) → c14(U11'(z0))
U11'(ok(z0)) → c15(U11'(z0))
U12'(mark(z0)) → c16(U12'(z0))
U12'(ok(z0)) → c17(U12'(z0))
ISNEPAL(mark(z0)) → c18(ISNEPAL(z0))
ISNEPAL(ok(z0)) → c19(ISNEPAL(z0))
The order we found is given by the following interpretation:
Polynomial interpretation :
POL(ISNEPAL(x1)) = x1
POL(U11'(x1)) = [4]x1
POL(U12'(x1)) = 0
POL(__'(x1, x2)) = 0
POL(c11(x1)) = x1
POL(c12(x1)) = x1
POL(c13(x1)) = x1
POL(c14(x1)) = x1
POL(c15(x1)) = x1
POL(c16(x1)) = x1
POL(c17(x1)) = x1
POL(c18(x1)) = x1
POL(c19(x1)) = x1
POL(mark(x1)) = x1
POL(ok(x1)) = [1] + x1
(58) Obligation:
Complexity Dependency Tuples Problem
Rules:none
Tuples:
__'(mark(z0), z1) → c11(__'(z0, z1))
__'(z0, mark(z1)) → c12(__'(z0, z1))
__'(ok(z0), ok(z1)) → c13(__'(z0, z1))
U11'(mark(z0)) → c14(U11'(z0))
U11'(ok(z0)) → c15(U11'(z0))
U12'(mark(z0)) → c16(U12'(z0))
U12'(ok(z0)) → c17(U12'(z0))
ISNEPAL(mark(z0)) → c18(ISNEPAL(z0))
ISNEPAL(ok(z0)) → c19(ISNEPAL(z0))
S tuples:none
K tuples:
__'(mark(z0), z1) → c11(__'(z0, z1))
__'(z0, mark(z1)) → c12(__'(z0, z1))
__'(ok(z0), ok(z1)) → c13(__'(z0, z1))
U11'(mark(z0)) → c14(U11'(z0))
U11'(ok(z0)) → c15(U11'(z0))
U12'(mark(z0)) → c16(U12'(z0))
U12'(ok(z0)) → c17(U12'(z0))
ISNEPAL(mark(z0)) → c18(ISNEPAL(z0))
ISNEPAL(ok(z0)) → c19(ISNEPAL(z0))
Defined Rule Symbols:none
Defined Pair Symbols:
__', U11', U12', ISNEPAL
Compound Symbols:
c11, c12, c13, c14, c15, c16, c17, c18, c19
(59) SIsEmptyProof (BOTH BOUNDS(ID, ID) transformation)
The set S is empty
(60) BOUNDS(O(1), O(1))