(0) Obligation:
Runtime Complexity TRS:
The TRS R consists of the following rules:
U11(tt, V1, V2) → U12(isNatKind(activate(V1)), activate(V1), activate(V2))
U12(tt, V1, V2) → U13(isNatKind(activate(V2)), activate(V1), activate(V2))
U13(tt, V1, V2) → U14(isNatKind(activate(V2)), activate(V1), activate(V2))
U14(tt, V1, V2) → U15(isNat(activate(V1)), activate(V2))
U15(tt, V2) → U16(isNat(activate(V2)))
U16(tt) → tt
U21(tt, V1) → U22(isNatKind(activate(V1)), activate(V1))
U22(tt, V1) → U23(isNat(activate(V1)))
U23(tt) → tt
U31(tt, V2) → U32(isNatKind(activate(V2)))
U32(tt) → tt
U41(tt) → tt
U51(tt, N) → U52(isNatKind(activate(N)), activate(N))
U52(tt, N) → activate(N)
U61(tt, M, N) → U62(isNatKind(activate(M)), activate(M), activate(N))
U62(tt, M, N) → U63(isNat(activate(N)), activate(M), activate(N))
U63(tt, M, N) → U64(isNatKind(activate(N)), activate(M), activate(N))
U64(tt, M, N) → s(plus(activate(N), activate(M)))
isNat(n__0) → tt
isNat(n__plus(V1, V2)) → U11(isNatKind(activate(V1)), activate(V1), activate(V2))
isNat(n__s(V1)) → U21(isNatKind(activate(V1)), activate(V1))
isNatKind(n__0) → tt
isNatKind(n__plus(V1, V2)) → U31(isNatKind(activate(V1)), activate(V2))
isNatKind(n__s(V1)) → U41(isNatKind(activate(V1)))
plus(N, 0) → U51(isNat(N), N)
plus(N, s(M)) → U61(isNat(M), M, N)
0 → n__0
plus(X1, X2) → n__plus(X1, X2)
s(X) → n__s(X)
activate(n__0) → 0
activate(n__plus(X1, X2)) → plus(X1, X2)
activate(n__s(X)) → s(X)
activate(X) → X
Rewrite Strategy: INNERMOST
(1) CpxTrsToCdtProof (BOTH BOUNDS(ID, ID) transformation)
Converted Cpx (relative) TRS to CDT
(2) Obligation:
Complexity Dependency Tuples Problem
Rules:
U11(tt, z0, z1) → U12(isNatKind(activate(z0)), activate(z0), activate(z1))
U12(tt, z0, z1) → U13(isNatKind(activate(z1)), activate(z0), activate(z1))
U13(tt, z0, z1) → U14(isNatKind(activate(z1)), activate(z0), activate(z1))
U14(tt, z0, z1) → U15(isNat(activate(z0)), activate(z1))
U15(tt, z0) → U16(isNat(activate(z0)))
U16(tt) → tt
U21(tt, z0) → U22(isNatKind(activate(z0)), activate(z0))
U22(tt, z0) → U23(isNat(activate(z0)))
U23(tt) → tt
U31(tt, z0) → U32(isNatKind(activate(z0)))
U32(tt) → tt
U41(tt) → tt
U51(tt, z0) → U52(isNatKind(activate(z0)), activate(z0))
U52(tt, z0) → activate(z0)
U61(tt, z0, z1) → U62(isNatKind(activate(z0)), activate(z0), activate(z1))
U62(tt, z0, z1) → U63(isNat(activate(z1)), activate(z0), activate(z1))
U63(tt, z0, z1) → U64(isNatKind(activate(z1)), activate(z0), activate(z1))
U64(tt, z0, z1) → s(plus(activate(z1), activate(z0)))
isNat(n__0) → tt
isNat(n__plus(z0, z1)) → U11(isNatKind(activate(z0)), activate(z0), activate(z1))
isNat(n__s(z0)) → U21(isNatKind(activate(z0)), activate(z0))
isNatKind(n__0) → tt
isNatKind(n__plus(z0, z1)) → U31(isNatKind(activate(z0)), activate(z1))
isNatKind(n__s(z0)) → U41(isNatKind(activate(z0)))
plus(z0, 0) → U51(isNat(z0), z0)
plus(z0, s(z1)) → U61(isNat(z1), z1, z0)
plus(z0, z1) → n__plus(z0, z1)
0 → n__0
s(z0) → n__s(z0)
activate(n__0) → 0
activate(n__plus(z0, z1)) → plus(z0, z1)
activate(n__s(z0)) → s(z0)
activate(z0) → z0
Tuples:
U11'(tt, z0, z1) → c(U12'(isNatKind(activate(z0)), activate(z0), activate(z1)), ISNATKIND(activate(z0)), ACTIVATE(z0), ACTIVATE(z0), ACTIVATE(z1))
U12'(tt, z0, z1) → c1(U13'(isNatKind(activate(z1)), activate(z0), activate(z1)), ISNATKIND(activate(z1)), ACTIVATE(z1), ACTIVATE(z0), ACTIVATE(z1))
U13'(tt, z0, z1) → c2(U14'(isNatKind(activate(z1)), activate(z0), activate(z1)), ISNATKIND(activate(z1)), ACTIVATE(z1), ACTIVATE(z0), ACTIVATE(z1))
U14'(tt, z0, z1) → c3(U15'(isNat(activate(z0)), activate(z1)), ISNAT(activate(z0)), ACTIVATE(z0), ACTIVATE(z1))
U15'(tt, z0) → c4(U16'(isNat(activate(z0))), ISNAT(activate(z0)), ACTIVATE(z0))
U16'(tt) → c5
U21'(tt, z0) → c6(U22'(isNatKind(activate(z0)), activate(z0)), ISNATKIND(activate(z0)), ACTIVATE(z0), ACTIVATE(z0))
U22'(tt, z0) → c7(U23'(isNat(activate(z0))), ISNAT(activate(z0)), ACTIVATE(z0))
U23'(tt) → c8
U31'(tt, z0) → c9(U32'(isNatKind(activate(z0))), ISNATKIND(activate(z0)), ACTIVATE(z0))
U32'(tt) → c10
U41'(tt) → c11
U51'(tt, z0) → c12(U52'(isNatKind(activate(z0)), activate(z0)), ISNATKIND(activate(z0)), ACTIVATE(z0), ACTIVATE(z0))
U52'(tt, z0) → c13(ACTIVATE(z0))
U61'(tt, z0, z1) → c14(U62'(isNatKind(activate(z0)), activate(z0), activate(z1)), ISNATKIND(activate(z0)), ACTIVATE(z0), ACTIVATE(z0), ACTIVATE(z1))
U62'(tt, z0, z1) → c15(U63'(isNat(activate(z1)), activate(z0), activate(z1)), ISNAT(activate(z1)), ACTIVATE(z1), ACTIVATE(z0), ACTIVATE(z1))
U63'(tt, z0, z1) → c16(U64'(isNatKind(activate(z1)), activate(z0), activate(z1)), ISNATKIND(activate(z1)), ACTIVATE(z1), ACTIVATE(z0), ACTIVATE(z1))
U64'(tt, z0, z1) → c17(S(plus(activate(z1), activate(z0))), PLUS(activate(z1), activate(z0)), ACTIVATE(z1), ACTIVATE(z0))
ISNAT(n__0) → c18
ISNAT(n__plus(z0, z1)) → c19(U11'(isNatKind(activate(z0)), activate(z0), activate(z1)), ISNATKIND(activate(z0)), ACTIVATE(z0), ACTIVATE(z0), ACTIVATE(z1))
ISNAT(n__s(z0)) → c20(U21'(isNatKind(activate(z0)), activate(z0)), ISNATKIND(activate(z0)), ACTIVATE(z0), ACTIVATE(z0))
ISNATKIND(n__0) → c21
ISNATKIND(n__plus(z0, z1)) → c22(U31'(isNatKind(activate(z0)), activate(z1)), ISNATKIND(activate(z0)), ACTIVATE(z0), ACTIVATE(z1))
ISNATKIND(n__s(z0)) → c23(U41'(isNatKind(activate(z0))), ISNATKIND(activate(z0)), ACTIVATE(z0))
PLUS(z0, 0) → c24(U51'(isNat(z0), z0), ISNAT(z0))
PLUS(z0, s(z1)) → c25(U61'(isNat(z1), z1, z0), ISNAT(z1))
PLUS(z0, z1) → c26
0' → c27
S(z0) → c28
ACTIVATE(n__0) → c29(0')
ACTIVATE(n__plus(z0, z1)) → c30(PLUS(z0, z1))
ACTIVATE(n__s(z0)) → c31(S(z0))
ACTIVATE(z0) → c32
S tuples:
U11'(tt, z0, z1) → c(U12'(isNatKind(activate(z0)), activate(z0), activate(z1)), ISNATKIND(activate(z0)), ACTIVATE(z0), ACTIVATE(z0), ACTIVATE(z1))
U12'(tt, z0, z1) → c1(U13'(isNatKind(activate(z1)), activate(z0), activate(z1)), ISNATKIND(activate(z1)), ACTIVATE(z1), ACTIVATE(z0), ACTIVATE(z1))
U13'(tt, z0, z1) → c2(U14'(isNatKind(activate(z1)), activate(z0), activate(z1)), ISNATKIND(activate(z1)), ACTIVATE(z1), ACTIVATE(z0), ACTIVATE(z1))
U14'(tt, z0, z1) → c3(U15'(isNat(activate(z0)), activate(z1)), ISNAT(activate(z0)), ACTIVATE(z0), ACTIVATE(z1))
U15'(tt, z0) → c4(U16'(isNat(activate(z0))), ISNAT(activate(z0)), ACTIVATE(z0))
U16'(tt) → c5
U21'(tt, z0) → c6(U22'(isNatKind(activate(z0)), activate(z0)), ISNATKIND(activate(z0)), ACTIVATE(z0), ACTIVATE(z0))
U22'(tt, z0) → c7(U23'(isNat(activate(z0))), ISNAT(activate(z0)), ACTIVATE(z0))
U23'(tt) → c8
U31'(tt, z0) → c9(U32'(isNatKind(activate(z0))), ISNATKIND(activate(z0)), ACTIVATE(z0))
U32'(tt) → c10
U41'(tt) → c11
U51'(tt, z0) → c12(U52'(isNatKind(activate(z0)), activate(z0)), ISNATKIND(activate(z0)), ACTIVATE(z0), ACTIVATE(z0))
U52'(tt, z0) → c13(ACTIVATE(z0))
U61'(tt, z0, z1) → c14(U62'(isNatKind(activate(z0)), activate(z0), activate(z1)), ISNATKIND(activate(z0)), ACTIVATE(z0), ACTIVATE(z0), ACTIVATE(z1))
U62'(tt, z0, z1) → c15(U63'(isNat(activate(z1)), activate(z0), activate(z1)), ISNAT(activate(z1)), ACTIVATE(z1), ACTIVATE(z0), ACTIVATE(z1))
U63'(tt, z0, z1) → c16(U64'(isNatKind(activate(z1)), activate(z0), activate(z1)), ISNATKIND(activate(z1)), ACTIVATE(z1), ACTIVATE(z0), ACTIVATE(z1))
U64'(tt, z0, z1) → c17(S(plus(activate(z1), activate(z0))), PLUS(activate(z1), activate(z0)), ACTIVATE(z1), ACTIVATE(z0))
ISNAT(n__0) → c18
ISNAT(n__plus(z0, z1)) → c19(U11'(isNatKind(activate(z0)), activate(z0), activate(z1)), ISNATKIND(activate(z0)), ACTIVATE(z0), ACTIVATE(z0), ACTIVATE(z1))
ISNAT(n__s(z0)) → c20(U21'(isNatKind(activate(z0)), activate(z0)), ISNATKIND(activate(z0)), ACTIVATE(z0), ACTIVATE(z0))
ISNATKIND(n__0) → c21
ISNATKIND(n__plus(z0, z1)) → c22(U31'(isNatKind(activate(z0)), activate(z1)), ISNATKIND(activate(z0)), ACTIVATE(z0), ACTIVATE(z1))
ISNATKIND(n__s(z0)) → c23(U41'(isNatKind(activate(z0))), ISNATKIND(activate(z0)), ACTIVATE(z0))
PLUS(z0, 0) → c24(U51'(isNat(z0), z0), ISNAT(z0))
PLUS(z0, s(z1)) → c25(U61'(isNat(z1), z1, z0), ISNAT(z1))
PLUS(z0, z1) → c26
0' → c27
S(z0) → c28
ACTIVATE(n__0) → c29(0')
ACTIVATE(n__plus(z0, z1)) → c30(PLUS(z0, z1))
ACTIVATE(n__s(z0)) → c31(S(z0))
ACTIVATE(z0) → c32
K tuples:none
Defined Rule Symbols:
U11, U12, U13, U14, U15, U16, U21, U22, U23, U31, U32, U41, U51, U52, U61, U62, U63, U64, isNat, isNatKind, plus, 0, s, activate
Defined Pair Symbols:
U11', U12', U13', U14', U15', U16', U21', U22', U23', U31', U32', U41', U51', U52', U61', U62', U63', U64', ISNAT, ISNATKIND, PLUS, 0', S, ACTIVATE
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, c28, c29, c30, c31, c32
(3) CdtLeafRemovalProof (ComplexityIfPolyImplication transformation)
Removed 2 leading nodes:
PLUS(z0, 0) → c24(U51'(isNat(z0), z0), ISNAT(z0))
PLUS(z0, s(z1)) → c25(U61'(isNat(z1), z1, z0), ISNAT(z1))
Removed 15 trailing nodes:
ACTIVATE(n__0) → c29(0')
U41'(tt) → c11
U64'(tt, z0, z1) → c17(S(plus(activate(z1), activate(z0))), PLUS(activate(z1), activate(z0)), ACTIVATE(z1), ACTIVATE(z0))
S(z0) → c28
U16'(tt) → c5
ACTIVATE(n__plus(z0, z1)) → c30(PLUS(z0, z1))
U52'(tt, z0) → c13(ACTIVATE(z0))
U32'(tt) → c10
ACTIVATE(z0) → c32
ISNATKIND(n__0) → c21
ISNAT(n__0) → c18
ACTIVATE(n__s(z0)) → c31(S(z0))
PLUS(z0, z1) → c26
U23'(tt) → c8
0' → c27
(4) Obligation:
Complexity Dependency Tuples Problem
Rules:
U11(tt, z0, z1) → U12(isNatKind(activate(z0)), activate(z0), activate(z1))
U12(tt, z0, z1) → U13(isNatKind(activate(z1)), activate(z0), activate(z1))
U13(tt, z0, z1) → U14(isNatKind(activate(z1)), activate(z0), activate(z1))
U14(tt, z0, z1) → U15(isNat(activate(z0)), activate(z1))
U15(tt, z0) → U16(isNat(activate(z0)))
U16(tt) → tt
U21(tt, z0) → U22(isNatKind(activate(z0)), activate(z0))
U22(tt, z0) → U23(isNat(activate(z0)))
U23(tt) → tt
U31(tt, z0) → U32(isNatKind(activate(z0)))
U32(tt) → tt
U41(tt) → tt
U51(tt, z0) → U52(isNatKind(activate(z0)), activate(z0))
U52(tt, z0) → activate(z0)
U61(tt, z0, z1) → U62(isNatKind(activate(z0)), activate(z0), activate(z1))
U62(tt, z0, z1) → U63(isNat(activate(z1)), activate(z0), activate(z1))
U63(tt, z0, z1) → U64(isNatKind(activate(z1)), activate(z0), activate(z1))
U64(tt, z0, z1) → s(plus(activate(z1), activate(z0)))
isNat(n__0) → tt
isNat(n__plus(z0, z1)) → U11(isNatKind(activate(z0)), activate(z0), activate(z1))
isNat(n__s(z0)) → U21(isNatKind(activate(z0)), activate(z0))
isNatKind(n__0) → tt
isNatKind(n__plus(z0, z1)) → U31(isNatKind(activate(z0)), activate(z1))
isNatKind(n__s(z0)) → U41(isNatKind(activate(z0)))
plus(z0, 0) → U51(isNat(z0), z0)
plus(z0, s(z1)) → U61(isNat(z1), z1, z0)
plus(z0, z1) → n__plus(z0, z1)
0 → n__0
s(z0) → n__s(z0)
activate(n__0) → 0
activate(n__plus(z0, z1)) → plus(z0, z1)
activate(n__s(z0)) → s(z0)
activate(z0) → z0
Tuples:
U11'(tt, z0, z1) → c(U12'(isNatKind(activate(z0)), activate(z0), activate(z1)), ISNATKIND(activate(z0)), ACTIVATE(z0), ACTIVATE(z0), ACTIVATE(z1))
U12'(tt, z0, z1) → c1(U13'(isNatKind(activate(z1)), activate(z0), activate(z1)), ISNATKIND(activate(z1)), ACTIVATE(z1), ACTIVATE(z0), ACTIVATE(z1))
U13'(tt, z0, z1) → c2(U14'(isNatKind(activate(z1)), activate(z0), activate(z1)), ISNATKIND(activate(z1)), ACTIVATE(z1), ACTIVATE(z0), ACTIVATE(z1))
U14'(tt, z0, z1) → c3(U15'(isNat(activate(z0)), activate(z1)), ISNAT(activate(z0)), ACTIVATE(z0), ACTIVATE(z1))
U15'(tt, z0) → c4(U16'(isNat(activate(z0))), ISNAT(activate(z0)), ACTIVATE(z0))
U21'(tt, z0) → c6(U22'(isNatKind(activate(z0)), activate(z0)), ISNATKIND(activate(z0)), ACTIVATE(z0), ACTIVATE(z0))
U22'(tt, z0) → c7(U23'(isNat(activate(z0))), ISNAT(activate(z0)), ACTIVATE(z0))
U31'(tt, z0) → c9(U32'(isNatKind(activate(z0))), ISNATKIND(activate(z0)), ACTIVATE(z0))
U51'(tt, z0) → c12(U52'(isNatKind(activate(z0)), activate(z0)), ISNATKIND(activate(z0)), ACTIVATE(z0), ACTIVATE(z0))
U61'(tt, z0, z1) → c14(U62'(isNatKind(activate(z0)), activate(z0), activate(z1)), ISNATKIND(activate(z0)), ACTIVATE(z0), ACTIVATE(z0), ACTIVATE(z1))
U62'(tt, z0, z1) → c15(U63'(isNat(activate(z1)), activate(z0), activate(z1)), ISNAT(activate(z1)), ACTIVATE(z1), ACTIVATE(z0), ACTIVATE(z1))
U63'(tt, z0, z1) → c16(U64'(isNatKind(activate(z1)), activate(z0), activate(z1)), ISNATKIND(activate(z1)), ACTIVATE(z1), ACTIVATE(z0), ACTIVATE(z1))
ISNAT(n__plus(z0, z1)) → c19(U11'(isNatKind(activate(z0)), activate(z0), activate(z1)), ISNATKIND(activate(z0)), ACTIVATE(z0), ACTIVATE(z0), ACTIVATE(z1))
ISNAT(n__s(z0)) → c20(U21'(isNatKind(activate(z0)), activate(z0)), ISNATKIND(activate(z0)), ACTIVATE(z0), ACTIVATE(z0))
ISNATKIND(n__plus(z0, z1)) → c22(U31'(isNatKind(activate(z0)), activate(z1)), ISNATKIND(activate(z0)), ACTIVATE(z0), ACTIVATE(z1))
ISNATKIND(n__s(z0)) → c23(U41'(isNatKind(activate(z0))), ISNATKIND(activate(z0)), ACTIVATE(z0))
S tuples:
U11'(tt, z0, z1) → c(U12'(isNatKind(activate(z0)), activate(z0), activate(z1)), ISNATKIND(activate(z0)), ACTIVATE(z0), ACTIVATE(z0), ACTIVATE(z1))
U12'(tt, z0, z1) → c1(U13'(isNatKind(activate(z1)), activate(z0), activate(z1)), ISNATKIND(activate(z1)), ACTIVATE(z1), ACTIVATE(z0), ACTIVATE(z1))
U13'(tt, z0, z1) → c2(U14'(isNatKind(activate(z1)), activate(z0), activate(z1)), ISNATKIND(activate(z1)), ACTIVATE(z1), ACTIVATE(z0), ACTIVATE(z1))
U14'(tt, z0, z1) → c3(U15'(isNat(activate(z0)), activate(z1)), ISNAT(activate(z0)), ACTIVATE(z0), ACTIVATE(z1))
U15'(tt, z0) → c4(U16'(isNat(activate(z0))), ISNAT(activate(z0)), ACTIVATE(z0))
U21'(tt, z0) → c6(U22'(isNatKind(activate(z0)), activate(z0)), ISNATKIND(activate(z0)), ACTIVATE(z0), ACTIVATE(z0))
U22'(tt, z0) → c7(U23'(isNat(activate(z0))), ISNAT(activate(z0)), ACTIVATE(z0))
U31'(tt, z0) → c9(U32'(isNatKind(activate(z0))), ISNATKIND(activate(z0)), ACTIVATE(z0))
U51'(tt, z0) → c12(U52'(isNatKind(activate(z0)), activate(z0)), ISNATKIND(activate(z0)), ACTIVATE(z0), ACTIVATE(z0))
U61'(tt, z0, z1) → c14(U62'(isNatKind(activate(z0)), activate(z0), activate(z1)), ISNATKIND(activate(z0)), ACTIVATE(z0), ACTIVATE(z0), ACTIVATE(z1))
U62'(tt, z0, z1) → c15(U63'(isNat(activate(z1)), activate(z0), activate(z1)), ISNAT(activate(z1)), ACTIVATE(z1), ACTIVATE(z0), ACTIVATE(z1))
U63'(tt, z0, z1) → c16(U64'(isNatKind(activate(z1)), activate(z0), activate(z1)), ISNATKIND(activate(z1)), ACTIVATE(z1), ACTIVATE(z0), ACTIVATE(z1))
ISNAT(n__plus(z0, z1)) → c19(U11'(isNatKind(activate(z0)), activate(z0), activate(z1)), ISNATKIND(activate(z0)), ACTIVATE(z0), ACTIVATE(z0), ACTIVATE(z1))
ISNAT(n__s(z0)) → c20(U21'(isNatKind(activate(z0)), activate(z0)), ISNATKIND(activate(z0)), ACTIVATE(z0), ACTIVATE(z0))
ISNATKIND(n__plus(z0, z1)) → c22(U31'(isNatKind(activate(z0)), activate(z1)), ISNATKIND(activate(z0)), ACTIVATE(z0), ACTIVATE(z1))
ISNATKIND(n__s(z0)) → c23(U41'(isNatKind(activate(z0))), ISNATKIND(activate(z0)), ACTIVATE(z0))
K tuples:none
Defined Rule Symbols:
U11, U12, U13, U14, U15, U16, U21, U22, U23, U31, U32, U41, U51, U52, U61, U62, U63, U64, isNat, isNatKind, plus, 0, s, activate
Defined Pair Symbols:
U11', U12', U13', U14', U15', U21', U22', U31', U51', U61', U62', U63', ISNAT, ISNATKIND
Compound Symbols:
c, c1, c2, c3, c4, c6, c7, c9, c12, c14, c15, c16, c19, c20, c22, c23
(5) CdtRhsSimplificationProcessorProof (BOTH BOUNDS(ID, ID) transformation)
Removed 41 trailing tuple parts
(6) Obligation:
Complexity Dependency Tuples Problem
Rules:
U11(tt, z0, z1) → U12(isNatKind(activate(z0)), activate(z0), activate(z1))
U12(tt, z0, z1) → U13(isNatKind(activate(z1)), activate(z0), activate(z1))
U13(tt, z0, z1) → U14(isNatKind(activate(z1)), activate(z0), activate(z1))
U14(tt, z0, z1) → U15(isNat(activate(z0)), activate(z1))
U15(tt, z0) → U16(isNat(activate(z0)))
U16(tt) → tt
U21(tt, z0) → U22(isNatKind(activate(z0)), activate(z0))
U22(tt, z0) → U23(isNat(activate(z0)))
U23(tt) → tt
U31(tt, z0) → U32(isNatKind(activate(z0)))
U32(tt) → tt
U41(tt) → tt
U51(tt, z0) → U52(isNatKind(activate(z0)), activate(z0))
U52(tt, z0) → activate(z0)
U61(tt, z0, z1) → U62(isNatKind(activate(z0)), activate(z0), activate(z1))
U62(tt, z0, z1) → U63(isNat(activate(z1)), activate(z0), activate(z1))
U63(tt, z0, z1) → U64(isNatKind(activate(z1)), activate(z0), activate(z1))
U64(tt, z0, z1) → s(plus(activate(z1), activate(z0)))
isNat(n__0) → tt
isNat(n__plus(z0, z1)) → U11(isNatKind(activate(z0)), activate(z0), activate(z1))
isNat(n__s(z0)) → U21(isNatKind(activate(z0)), activate(z0))
isNatKind(n__0) → tt
isNatKind(n__plus(z0, z1)) → U31(isNatKind(activate(z0)), activate(z1))
isNatKind(n__s(z0)) → U41(isNatKind(activate(z0)))
plus(z0, 0) → U51(isNat(z0), z0)
plus(z0, s(z1)) → U61(isNat(z1), z1, z0)
plus(z0, z1) → n__plus(z0, z1)
0 → n__0
s(z0) → n__s(z0)
activate(n__0) → 0
activate(n__plus(z0, z1)) → plus(z0, z1)
activate(n__s(z0)) → s(z0)
activate(z0) → z0
Tuples:
U11'(tt, z0, z1) → c(U12'(isNatKind(activate(z0)), activate(z0), activate(z1)), ISNATKIND(activate(z0)))
U12'(tt, z0, z1) → c1(U13'(isNatKind(activate(z1)), activate(z0), activate(z1)), ISNATKIND(activate(z1)))
U13'(tt, z0, z1) → c2(U14'(isNatKind(activate(z1)), activate(z0), activate(z1)), ISNATKIND(activate(z1)))
U14'(tt, z0, z1) → c3(U15'(isNat(activate(z0)), activate(z1)), ISNAT(activate(z0)))
U15'(tt, z0) → c4(ISNAT(activate(z0)))
U21'(tt, z0) → c6(U22'(isNatKind(activate(z0)), activate(z0)), ISNATKIND(activate(z0)))
U22'(tt, z0) → c7(ISNAT(activate(z0)))
U31'(tt, z0) → c9(ISNATKIND(activate(z0)))
U51'(tt, z0) → c12(ISNATKIND(activate(z0)))
U61'(tt, z0, z1) → c14(U62'(isNatKind(activate(z0)), activate(z0), activate(z1)), ISNATKIND(activate(z0)))
U62'(tt, z0, z1) → c15(U63'(isNat(activate(z1)), activate(z0), activate(z1)), ISNAT(activate(z1)))
U63'(tt, z0, z1) → c16(ISNATKIND(activate(z1)))
ISNAT(n__plus(z0, z1)) → c19(U11'(isNatKind(activate(z0)), activate(z0), activate(z1)), ISNATKIND(activate(z0)))
ISNAT(n__s(z0)) → c20(U21'(isNatKind(activate(z0)), activate(z0)), ISNATKIND(activate(z0)))
ISNATKIND(n__plus(z0, z1)) → c22(U31'(isNatKind(activate(z0)), activate(z1)), ISNATKIND(activate(z0)))
ISNATKIND(n__s(z0)) → c23(ISNATKIND(activate(z0)))
S tuples:
U11'(tt, z0, z1) → c(U12'(isNatKind(activate(z0)), activate(z0), activate(z1)), ISNATKIND(activate(z0)))
U12'(tt, z0, z1) → c1(U13'(isNatKind(activate(z1)), activate(z0), activate(z1)), ISNATKIND(activate(z1)))
U13'(tt, z0, z1) → c2(U14'(isNatKind(activate(z1)), activate(z0), activate(z1)), ISNATKIND(activate(z1)))
U14'(tt, z0, z1) → c3(U15'(isNat(activate(z0)), activate(z1)), ISNAT(activate(z0)))
U15'(tt, z0) → c4(ISNAT(activate(z0)))
U21'(tt, z0) → c6(U22'(isNatKind(activate(z0)), activate(z0)), ISNATKIND(activate(z0)))
U22'(tt, z0) → c7(ISNAT(activate(z0)))
U31'(tt, z0) → c9(ISNATKIND(activate(z0)))
U51'(tt, z0) → c12(ISNATKIND(activate(z0)))
U61'(tt, z0, z1) → c14(U62'(isNatKind(activate(z0)), activate(z0), activate(z1)), ISNATKIND(activate(z0)))
U62'(tt, z0, z1) → c15(U63'(isNat(activate(z1)), activate(z0), activate(z1)), ISNAT(activate(z1)))
U63'(tt, z0, z1) → c16(ISNATKIND(activate(z1)))
ISNAT(n__plus(z0, z1)) → c19(U11'(isNatKind(activate(z0)), activate(z0), activate(z1)), ISNATKIND(activate(z0)))
ISNAT(n__s(z0)) → c20(U21'(isNatKind(activate(z0)), activate(z0)), ISNATKIND(activate(z0)))
ISNATKIND(n__plus(z0, z1)) → c22(U31'(isNatKind(activate(z0)), activate(z1)), ISNATKIND(activate(z0)))
ISNATKIND(n__s(z0)) → c23(ISNATKIND(activate(z0)))
K tuples:none
Defined Rule Symbols:
U11, U12, U13, U14, U15, U16, U21, U22, U23, U31, U32, U41, U51, U52, U61, U62, U63, U64, isNat, isNatKind, plus, 0, s, activate
Defined Pair Symbols:
U11', U12', U13', U14', U15', U21', U22', U31', U51', U61', U62', U63', ISNAT, ISNATKIND
Compound Symbols:
c, c1, c2, c3, c4, c6, c7, c9, c12, c14, c15, c16, c19, c20, c22, c23
(7) CdtGraphSplitRhsProof (BOTH BOUNDS(ID, ID) transformation)
Split RHS of tuples not part of any SCC
(8) Obligation:
Complexity Dependency Tuples Problem
Rules:
U11(tt, z0, z1) → U12(isNatKind(activate(z0)), activate(z0), activate(z1))
U12(tt, z0, z1) → U13(isNatKind(activate(z1)), activate(z0), activate(z1))
U13(tt, z0, z1) → U14(isNatKind(activate(z1)), activate(z0), activate(z1))
U14(tt, z0, z1) → U15(isNat(activate(z0)), activate(z1))
U15(tt, z0) → U16(isNat(activate(z0)))
U16(tt) → tt
U21(tt, z0) → U22(isNatKind(activate(z0)), activate(z0))
U22(tt, z0) → U23(isNat(activate(z0)))
U23(tt) → tt
U31(tt, z0) → U32(isNatKind(activate(z0)))
U32(tt) → tt
U41(tt) → tt
U51(tt, z0) → U52(isNatKind(activate(z0)), activate(z0))
U52(tt, z0) → activate(z0)
U61(tt, z0, z1) → U62(isNatKind(activate(z0)), activate(z0), activate(z1))
U62(tt, z0, z1) → U63(isNat(activate(z1)), activate(z0), activate(z1))
U63(tt, z0, z1) → U64(isNatKind(activate(z1)), activate(z0), activate(z1))
U64(tt, z0, z1) → s(plus(activate(z1), activate(z0)))
isNat(n__0) → tt
isNat(n__plus(z0, z1)) → U11(isNatKind(activate(z0)), activate(z0), activate(z1))
isNat(n__s(z0)) → U21(isNatKind(activate(z0)), activate(z0))
isNatKind(n__0) → tt
isNatKind(n__plus(z0, z1)) → U31(isNatKind(activate(z0)), activate(z1))
isNatKind(n__s(z0)) → U41(isNatKind(activate(z0)))
plus(z0, 0) → U51(isNat(z0), z0)
plus(z0, s(z1)) → U61(isNat(z1), z1, z0)
plus(z0, z1) → n__plus(z0, z1)
0 → n__0
s(z0) → n__s(z0)
activate(n__0) → 0
activate(n__plus(z0, z1)) → plus(z0, z1)
activate(n__s(z0)) → s(z0)
activate(z0) → z0
Tuples:
U11'(tt, z0, z1) → c(U12'(isNatKind(activate(z0)), activate(z0), activate(z1)), ISNATKIND(activate(z0)))
U12'(tt, z0, z1) → c1(U13'(isNatKind(activate(z1)), activate(z0), activate(z1)), ISNATKIND(activate(z1)))
U13'(tt, z0, z1) → c2(U14'(isNatKind(activate(z1)), activate(z0), activate(z1)), ISNATKIND(activate(z1)))
U14'(tt, z0, z1) → c3(U15'(isNat(activate(z0)), activate(z1)), ISNAT(activate(z0)))
U15'(tt, z0) → c4(ISNAT(activate(z0)))
U21'(tt, z0) → c6(U22'(isNatKind(activate(z0)), activate(z0)), ISNATKIND(activate(z0)))
U22'(tt, z0) → c7(ISNAT(activate(z0)))
U31'(tt, z0) → c9(ISNATKIND(activate(z0)))
U51'(tt, z0) → c12(ISNATKIND(activate(z0)))
U63'(tt, z0, z1) → c16(ISNATKIND(activate(z1)))
ISNAT(n__plus(z0, z1)) → c19(U11'(isNatKind(activate(z0)), activate(z0), activate(z1)), ISNATKIND(activate(z0)))
ISNAT(n__s(z0)) → c20(U21'(isNatKind(activate(z0)), activate(z0)), ISNATKIND(activate(z0)))
ISNATKIND(n__plus(z0, z1)) → c22(U31'(isNatKind(activate(z0)), activate(z1)), ISNATKIND(activate(z0)))
ISNATKIND(n__s(z0)) → c23(ISNATKIND(activate(z0)))
U61'(tt, z0, z1) → c5(U62'(isNatKind(activate(z0)), activate(z0), activate(z1)))
U61'(tt, z0, z1) → c5(ISNATKIND(activate(z0)))
U62'(tt, z0, z1) → c5(U63'(isNat(activate(z1)), activate(z0), activate(z1)))
U62'(tt, z0, z1) → c5(ISNAT(activate(z1)))
S tuples:
U11'(tt, z0, z1) → c(U12'(isNatKind(activate(z0)), activate(z0), activate(z1)), ISNATKIND(activate(z0)))
U12'(tt, z0, z1) → c1(U13'(isNatKind(activate(z1)), activate(z0), activate(z1)), ISNATKIND(activate(z1)))
U13'(tt, z0, z1) → c2(U14'(isNatKind(activate(z1)), activate(z0), activate(z1)), ISNATKIND(activate(z1)))
U14'(tt, z0, z1) → c3(U15'(isNat(activate(z0)), activate(z1)), ISNAT(activate(z0)))
U15'(tt, z0) → c4(ISNAT(activate(z0)))
U21'(tt, z0) → c6(U22'(isNatKind(activate(z0)), activate(z0)), ISNATKIND(activate(z0)))
U22'(tt, z0) → c7(ISNAT(activate(z0)))
U31'(tt, z0) → c9(ISNATKIND(activate(z0)))
U51'(tt, z0) → c12(ISNATKIND(activate(z0)))
U63'(tt, z0, z1) → c16(ISNATKIND(activate(z1)))
ISNAT(n__plus(z0, z1)) → c19(U11'(isNatKind(activate(z0)), activate(z0), activate(z1)), ISNATKIND(activate(z0)))
ISNAT(n__s(z0)) → c20(U21'(isNatKind(activate(z0)), activate(z0)), ISNATKIND(activate(z0)))
ISNATKIND(n__plus(z0, z1)) → c22(U31'(isNatKind(activate(z0)), activate(z1)), ISNATKIND(activate(z0)))
ISNATKIND(n__s(z0)) → c23(ISNATKIND(activate(z0)))
U61'(tt, z0, z1) → c5(U62'(isNatKind(activate(z0)), activate(z0), activate(z1)))
U61'(tt, z0, z1) → c5(ISNATKIND(activate(z0)))
U62'(tt, z0, z1) → c5(U63'(isNat(activate(z1)), activate(z0), activate(z1)))
U62'(tt, z0, z1) → c5(ISNAT(activate(z1)))
K tuples:none
Defined Rule Symbols:
U11, U12, U13, U14, U15, U16, U21, U22, U23, U31, U32, U41, U51, U52, U61, U62, U63, U64, isNat, isNatKind, plus, 0, s, activate
Defined Pair Symbols:
U11', U12', U13', U14', U15', U21', U22', U31', U51', U63', ISNAT, ISNATKIND, U61', U62'
Compound Symbols:
c, c1, c2, c3, c4, c6, c7, c9, c12, c16, c19, c20, c22, c23, c5
(9) CdtKnowledgeProof (BOTH BOUNDS(ID, ID) transformation)
The following tuples could be moved from S to K by knowledge propagation:
U51'(tt, z0) → c12(ISNATKIND(activate(z0)))
U61'(tt, z0, z1) → c5(U62'(isNatKind(activate(z0)), activate(z0), activate(z1)))
U61'(tt, z0, z1) → c5(ISNATKIND(activate(z0)))
U62'(tt, z0, z1) → c5(U63'(isNat(activate(z1)), activate(z0), activate(z1)))
U62'(tt, z0, z1) → c5(ISNAT(activate(z1)))
U62'(tt, z0, z1) → c5(U63'(isNat(activate(z1)), activate(z0), activate(z1)))
U62'(tt, z0, z1) → c5(ISNAT(activate(z1)))
U63'(tt, z0, z1) → c16(ISNATKIND(activate(z1)))
(10) Obligation:
Complexity Dependency Tuples Problem
Rules:
U11(tt, z0, z1) → U12(isNatKind(activate(z0)), activate(z0), activate(z1))
U12(tt, z0, z1) → U13(isNatKind(activate(z1)), activate(z0), activate(z1))
U13(tt, z0, z1) → U14(isNatKind(activate(z1)), activate(z0), activate(z1))
U14(tt, z0, z1) → U15(isNat(activate(z0)), activate(z1))
U15(tt, z0) → U16(isNat(activate(z0)))
U16(tt) → tt
U21(tt, z0) → U22(isNatKind(activate(z0)), activate(z0))
U22(tt, z0) → U23(isNat(activate(z0)))
U23(tt) → tt
U31(tt, z0) → U32(isNatKind(activate(z0)))
U32(tt) → tt
U41(tt) → tt
U51(tt, z0) → U52(isNatKind(activate(z0)), activate(z0))
U52(tt, z0) → activate(z0)
U61(tt, z0, z1) → U62(isNatKind(activate(z0)), activate(z0), activate(z1))
U62(tt, z0, z1) → U63(isNat(activate(z1)), activate(z0), activate(z1))
U63(tt, z0, z1) → U64(isNatKind(activate(z1)), activate(z0), activate(z1))
U64(tt, z0, z1) → s(plus(activate(z1), activate(z0)))
isNat(n__0) → tt
isNat(n__plus(z0, z1)) → U11(isNatKind(activate(z0)), activate(z0), activate(z1))
isNat(n__s(z0)) → U21(isNatKind(activate(z0)), activate(z0))
isNatKind(n__0) → tt
isNatKind(n__plus(z0, z1)) → U31(isNatKind(activate(z0)), activate(z1))
isNatKind(n__s(z0)) → U41(isNatKind(activate(z0)))
plus(z0, 0) → U51(isNat(z0), z0)
plus(z0, s(z1)) → U61(isNat(z1), z1, z0)
plus(z0, z1) → n__plus(z0, z1)
0 → n__0
s(z0) → n__s(z0)
activate(n__0) → 0
activate(n__plus(z0, z1)) → plus(z0, z1)
activate(n__s(z0)) → s(z0)
activate(z0) → z0
Tuples:
U11'(tt, z0, z1) → c(U12'(isNatKind(activate(z0)), activate(z0), activate(z1)), ISNATKIND(activate(z0)))
U12'(tt, z0, z1) → c1(U13'(isNatKind(activate(z1)), activate(z0), activate(z1)), ISNATKIND(activate(z1)))
U13'(tt, z0, z1) → c2(U14'(isNatKind(activate(z1)), activate(z0), activate(z1)), ISNATKIND(activate(z1)))
U14'(tt, z0, z1) → c3(U15'(isNat(activate(z0)), activate(z1)), ISNAT(activate(z0)))
U15'(tt, z0) → c4(ISNAT(activate(z0)))
U21'(tt, z0) → c6(U22'(isNatKind(activate(z0)), activate(z0)), ISNATKIND(activate(z0)))
U22'(tt, z0) → c7(ISNAT(activate(z0)))
U31'(tt, z0) → c9(ISNATKIND(activate(z0)))
U51'(tt, z0) → c12(ISNATKIND(activate(z0)))
U63'(tt, z0, z1) → c16(ISNATKIND(activate(z1)))
ISNAT(n__plus(z0, z1)) → c19(U11'(isNatKind(activate(z0)), activate(z0), activate(z1)), ISNATKIND(activate(z0)))
ISNAT(n__s(z0)) → c20(U21'(isNatKind(activate(z0)), activate(z0)), ISNATKIND(activate(z0)))
ISNATKIND(n__plus(z0, z1)) → c22(U31'(isNatKind(activate(z0)), activate(z1)), ISNATKIND(activate(z0)))
ISNATKIND(n__s(z0)) → c23(ISNATKIND(activate(z0)))
U61'(tt, z0, z1) → c5(U62'(isNatKind(activate(z0)), activate(z0), activate(z1)))
U61'(tt, z0, z1) → c5(ISNATKIND(activate(z0)))
U62'(tt, z0, z1) → c5(U63'(isNat(activate(z1)), activate(z0), activate(z1)))
U62'(tt, z0, z1) → c5(ISNAT(activate(z1)))
S tuples:
U11'(tt, z0, z1) → c(U12'(isNatKind(activate(z0)), activate(z0), activate(z1)), ISNATKIND(activate(z0)))
U12'(tt, z0, z1) → c1(U13'(isNatKind(activate(z1)), activate(z0), activate(z1)), ISNATKIND(activate(z1)))
U13'(tt, z0, z1) → c2(U14'(isNatKind(activate(z1)), activate(z0), activate(z1)), ISNATKIND(activate(z1)))
U14'(tt, z0, z1) → c3(U15'(isNat(activate(z0)), activate(z1)), ISNAT(activate(z0)))
U15'(tt, z0) → c4(ISNAT(activate(z0)))
U21'(tt, z0) → c6(U22'(isNatKind(activate(z0)), activate(z0)), ISNATKIND(activate(z0)))
U22'(tt, z0) → c7(ISNAT(activate(z0)))
U31'(tt, z0) → c9(ISNATKIND(activate(z0)))
ISNAT(n__plus(z0, z1)) → c19(U11'(isNatKind(activate(z0)), activate(z0), activate(z1)), ISNATKIND(activate(z0)))
ISNAT(n__s(z0)) → c20(U21'(isNatKind(activate(z0)), activate(z0)), ISNATKIND(activate(z0)))
ISNATKIND(n__plus(z0, z1)) → c22(U31'(isNatKind(activate(z0)), activate(z1)), ISNATKIND(activate(z0)))
ISNATKIND(n__s(z0)) → c23(ISNATKIND(activate(z0)))
K tuples:
U51'(tt, z0) → c12(ISNATKIND(activate(z0)))
U61'(tt, z0, z1) → c5(U62'(isNatKind(activate(z0)), activate(z0), activate(z1)))
U61'(tt, z0, z1) → c5(ISNATKIND(activate(z0)))
U62'(tt, z0, z1) → c5(U63'(isNat(activate(z1)), activate(z0), activate(z1)))
U62'(tt, z0, z1) → c5(ISNAT(activate(z1)))
U63'(tt, z0, z1) → c16(ISNATKIND(activate(z1)))
Defined Rule Symbols:
U11, U12, U13, U14, U15, U16, U21, U22, U23, U31, U32, U41, U51, U52, U61, U62, U63, U64, isNat, isNatKind, plus, 0, s, activate
Defined Pair Symbols:
U11', U12', U13', U14', U15', U21', U22', U31', U51', U63', ISNAT, ISNATKIND, U61', U62'
Compound Symbols:
c, c1, c2, c3, c4, c6, c7, c9, c12, c16, c19, c20, c22, c23, c5
(11) CdtUsableRulesProof (EQUIVALENT transformation)
The following rules are not usable and were removed:
U51(tt, z0) → U52(isNatKind(activate(z0)), activate(z0))
U52(tt, z0) → activate(z0)
U61(tt, z0, z1) → U62(isNatKind(activate(z0)), activate(z0), activate(z1))
U62(tt, z0, z1) → U63(isNat(activate(z1)), activate(z0), activate(z1))
U63(tt, z0, z1) → U64(isNatKind(activate(z1)), activate(z0), activate(z1))
U64(tt, z0, z1) → s(plus(activate(z1), activate(z0)))
plus(z0, 0) → U51(isNat(z0), z0)
plus(z0, s(z1)) → U61(isNat(z1), z1, z0)
(12) Obligation:
Complexity Dependency Tuples Problem
Rules:
isNatKind(n__0) → tt
isNatKind(n__plus(z0, z1)) → U31(isNatKind(activate(z0)), activate(z1))
isNatKind(n__s(z0)) → U41(isNatKind(activate(z0)))
activate(n__0) → 0
activate(n__plus(z0, z1)) → plus(z0, z1)
activate(n__s(z0)) → s(z0)
activate(z0) → z0
0 → n__0
plus(z0, z1) → n__plus(z0, z1)
s(z0) → n__s(z0)
U31(tt, z0) → U32(isNatKind(activate(z0)))
U41(tt) → tt
U32(tt) → tt
isNat(n__0) → tt
isNat(n__plus(z0, z1)) → U11(isNatKind(activate(z0)), activate(z0), activate(z1))
isNat(n__s(z0)) → U21(isNatKind(activate(z0)), activate(z0))
U11(tt, z0, z1) → U12(isNatKind(activate(z0)), activate(z0), activate(z1))
U12(tt, z0, z1) → U13(isNatKind(activate(z1)), activate(z0), activate(z1))
U13(tt, z0, z1) → U14(isNatKind(activate(z1)), activate(z0), activate(z1))
U14(tt, z0, z1) → U15(isNat(activate(z0)), activate(z1))
U15(tt, z0) → U16(isNat(activate(z0)))
U21(tt, z0) → U22(isNatKind(activate(z0)), activate(z0))
U22(tt, z0) → U23(isNat(activate(z0)))
U23(tt) → tt
U16(tt) → tt
Tuples:
U11'(tt, z0, z1) → c(U12'(isNatKind(activate(z0)), activate(z0), activate(z1)), ISNATKIND(activate(z0)))
U12'(tt, z0, z1) → c1(U13'(isNatKind(activate(z1)), activate(z0), activate(z1)), ISNATKIND(activate(z1)))
U13'(tt, z0, z1) → c2(U14'(isNatKind(activate(z1)), activate(z0), activate(z1)), ISNATKIND(activate(z1)))
U14'(tt, z0, z1) → c3(U15'(isNat(activate(z0)), activate(z1)), ISNAT(activate(z0)))
U15'(tt, z0) → c4(ISNAT(activate(z0)))
U21'(tt, z0) → c6(U22'(isNatKind(activate(z0)), activate(z0)), ISNATKIND(activate(z0)))
U22'(tt, z0) → c7(ISNAT(activate(z0)))
U31'(tt, z0) → c9(ISNATKIND(activate(z0)))
U51'(tt, z0) → c12(ISNATKIND(activate(z0)))
U63'(tt, z0, z1) → c16(ISNATKIND(activate(z1)))
ISNAT(n__plus(z0, z1)) → c19(U11'(isNatKind(activate(z0)), activate(z0), activate(z1)), ISNATKIND(activate(z0)))
ISNAT(n__s(z0)) → c20(U21'(isNatKind(activate(z0)), activate(z0)), ISNATKIND(activate(z0)))
ISNATKIND(n__plus(z0, z1)) → c22(U31'(isNatKind(activate(z0)), activate(z1)), ISNATKIND(activate(z0)))
ISNATKIND(n__s(z0)) → c23(ISNATKIND(activate(z0)))
U61'(tt, z0, z1) → c5(U62'(isNatKind(activate(z0)), activate(z0), activate(z1)))
U61'(tt, z0, z1) → c5(ISNATKIND(activate(z0)))
U62'(tt, z0, z1) → c5(U63'(isNat(activate(z1)), activate(z0), activate(z1)))
U62'(tt, z0, z1) → c5(ISNAT(activate(z1)))
S tuples:
U11'(tt, z0, z1) → c(U12'(isNatKind(activate(z0)), activate(z0), activate(z1)), ISNATKIND(activate(z0)))
U12'(tt, z0, z1) → c1(U13'(isNatKind(activate(z1)), activate(z0), activate(z1)), ISNATKIND(activate(z1)))
U13'(tt, z0, z1) → c2(U14'(isNatKind(activate(z1)), activate(z0), activate(z1)), ISNATKIND(activate(z1)))
U14'(tt, z0, z1) → c3(U15'(isNat(activate(z0)), activate(z1)), ISNAT(activate(z0)))
U15'(tt, z0) → c4(ISNAT(activate(z0)))
U21'(tt, z0) → c6(U22'(isNatKind(activate(z0)), activate(z0)), ISNATKIND(activate(z0)))
U22'(tt, z0) → c7(ISNAT(activate(z0)))
U31'(tt, z0) → c9(ISNATKIND(activate(z0)))
ISNAT(n__plus(z0, z1)) → c19(U11'(isNatKind(activate(z0)), activate(z0), activate(z1)), ISNATKIND(activate(z0)))
ISNAT(n__s(z0)) → c20(U21'(isNatKind(activate(z0)), activate(z0)), ISNATKIND(activate(z0)))
ISNATKIND(n__plus(z0, z1)) → c22(U31'(isNatKind(activate(z0)), activate(z1)), ISNATKIND(activate(z0)))
ISNATKIND(n__s(z0)) → c23(ISNATKIND(activate(z0)))
K tuples:
U51'(tt, z0) → c12(ISNATKIND(activate(z0)))
U61'(tt, z0, z1) → c5(U62'(isNatKind(activate(z0)), activate(z0), activate(z1)))
U61'(tt, z0, z1) → c5(ISNATKIND(activate(z0)))
U62'(tt, z0, z1) → c5(U63'(isNat(activate(z1)), activate(z0), activate(z1)))
U62'(tt, z0, z1) → c5(ISNAT(activate(z1)))
U63'(tt, z0, z1) → c16(ISNATKIND(activate(z1)))
Defined Rule Symbols:
isNatKind, activate, 0, plus, s, U31, U41, U32, isNat, U11, U12, U13, U14, U15, U21, U22, U23, U16
Defined Pair Symbols:
U11', U12', U13', U14', U15', U21', U22', U31', U51', U63', ISNAT, ISNATKIND, U61', U62'
Compound Symbols:
c, c1, c2, c3, c4, c6, c7, c9, c12, c16, c19, c20, c22, c23, c5
(13) 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.
U22'(tt, z0) → c7(ISNAT(activate(z0)))
We considered the (Usable) Rules:
activate(z0) → z0
activate(n__s(z0)) → s(z0)
plus(z0, z1) → n__plus(z0, z1)
activate(n__plus(z0, z1)) → plus(z0, z1)
activate(n__0) → 0
s(z0) → n__s(z0)
0 → n__0
And the Tuples:
U11'(tt, z0, z1) → c(U12'(isNatKind(activate(z0)), activate(z0), activate(z1)), ISNATKIND(activate(z0)))
U12'(tt, z0, z1) → c1(U13'(isNatKind(activate(z1)), activate(z0), activate(z1)), ISNATKIND(activate(z1)))
U13'(tt, z0, z1) → c2(U14'(isNatKind(activate(z1)), activate(z0), activate(z1)), ISNATKIND(activate(z1)))
U14'(tt, z0, z1) → c3(U15'(isNat(activate(z0)), activate(z1)), ISNAT(activate(z0)))
U15'(tt, z0) → c4(ISNAT(activate(z0)))
U21'(tt, z0) → c6(U22'(isNatKind(activate(z0)), activate(z0)), ISNATKIND(activate(z0)))
U22'(tt, z0) → c7(ISNAT(activate(z0)))
U31'(tt, z0) → c9(ISNATKIND(activate(z0)))
U51'(tt, z0) → c12(ISNATKIND(activate(z0)))
U63'(tt, z0, z1) → c16(ISNATKIND(activate(z1)))
ISNAT(n__plus(z0, z1)) → c19(U11'(isNatKind(activate(z0)), activate(z0), activate(z1)), ISNATKIND(activate(z0)))
ISNAT(n__s(z0)) → c20(U21'(isNatKind(activate(z0)), activate(z0)), ISNATKIND(activate(z0)))
ISNATKIND(n__plus(z0, z1)) → c22(U31'(isNatKind(activate(z0)), activate(z1)), ISNATKIND(activate(z0)))
ISNATKIND(n__s(z0)) → c23(ISNATKIND(activate(z0)))
U61'(tt, z0, z1) → c5(U62'(isNatKind(activate(z0)), activate(z0), activate(z1)))
U61'(tt, z0, z1) → c5(ISNATKIND(activate(z0)))
U62'(tt, z0, z1) → c5(U63'(isNat(activate(z1)), activate(z0), activate(z1)))
U62'(tt, z0, z1) → c5(ISNAT(activate(z1)))
The order we found is given by the following interpretation:
Polynomial interpretation :
POL(0) = 0
POL(ISNAT(x1)) = x1
POL(ISNATKIND(x1)) = 0
POL(U11(x1, x2, x3)) = [2] + [3]x2 + [5]x3
POL(U11'(x1, x2, x3)) = x2 + x3
POL(U12(x1, x2, x3)) = [2]x3
POL(U12'(x1, x2, x3)) = x2 + x3
POL(U13(x1, x2, x3)) = [2] + [3]x3
POL(U13'(x1, x2, x3)) = x2 + x3
POL(U14(x1, x2, x3)) = [2] + x2
POL(U14'(x1, x2, x3)) = x2 + x3
POL(U15(x1, x2)) = [3] + [2]x1
POL(U15'(x1, x2)) = x2
POL(U16(x1)) = [5] + [2]x1
POL(U21(x1, x2)) = [3] + [2]x1
POL(U21'(x1, x2)) = [1] + x2
POL(U22(x1, x2)) = [4]
POL(U22'(x1, x2)) = [1] + x2
POL(U23(x1)) = [2]
POL(U31(x1, x2)) = [3]x2
POL(U31'(x1, x2)) = 0
POL(U32(x1)) = [3]
POL(U41(x1)) = [3] + [5]x1
POL(U51'(x1, x2)) = [4] + [4]x1
POL(U61'(x1, x2, x3)) = [5] + [2]x1 + [3]x2 + [3]x3
POL(U62'(x1, x2, x3)) = [3]x2 + x3
POL(U63'(x1, x2, x3)) = [3]x2
POL(activate(x1)) = x1
POL(c(x1, x2)) = x1 + x2
POL(c1(x1, x2)) = x1 + x2
POL(c12(x1)) = x1
POL(c16(x1)) = x1
POL(c19(x1, x2)) = x1 + x2
POL(c2(x1, x2)) = x1 + x2
POL(c20(x1, x2)) = x1 + x2
POL(c22(x1, x2)) = x1 + x2
POL(c23(x1)) = x1
POL(c3(x1, x2)) = x1 + x2
POL(c4(x1)) = x1
POL(c5(x1)) = x1
POL(c6(x1, x2)) = x1 + x2
POL(c7(x1)) = x1
POL(c9(x1)) = x1
POL(isNat(x1)) = 0
POL(isNatKind(x1)) = 0
POL(n__0) = 0
POL(n__plus(x1, x2)) = x1 + x2
POL(n__s(x1)) = [1] + x1
POL(plus(x1, x2)) = x1 + x2
POL(s(x1)) = [1] + x1
POL(tt) = 0
(14) Obligation:
Complexity Dependency Tuples Problem
Rules:
isNatKind(n__0) → tt
isNatKind(n__plus(z0, z1)) → U31(isNatKind(activate(z0)), activate(z1))
isNatKind(n__s(z0)) → U41(isNatKind(activate(z0)))
activate(n__0) → 0
activate(n__plus(z0, z1)) → plus(z0, z1)
activate(n__s(z0)) → s(z0)
activate(z0) → z0
0 → n__0
plus(z0, z1) → n__plus(z0, z1)
s(z0) → n__s(z0)
U31(tt, z0) → U32(isNatKind(activate(z0)))
U41(tt) → tt
U32(tt) → tt
isNat(n__0) → tt
isNat(n__plus(z0, z1)) → U11(isNatKind(activate(z0)), activate(z0), activate(z1))
isNat(n__s(z0)) → U21(isNatKind(activate(z0)), activate(z0))
U11(tt, z0, z1) → U12(isNatKind(activate(z0)), activate(z0), activate(z1))
U12(tt, z0, z1) → U13(isNatKind(activate(z1)), activate(z0), activate(z1))
U13(tt, z0, z1) → U14(isNatKind(activate(z1)), activate(z0), activate(z1))
U14(tt, z0, z1) → U15(isNat(activate(z0)), activate(z1))
U15(tt, z0) → U16(isNat(activate(z0)))
U21(tt, z0) → U22(isNatKind(activate(z0)), activate(z0))
U22(tt, z0) → U23(isNat(activate(z0)))
U23(tt) → tt
U16(tt) → tt
Tuples:
U11'(tt, z0, z1) → c(U12'(isNatKind(activate(z0)), activate(z0), activate(z1)), ISNATKIND(activate(z0)))
U12'(tt, z0, z1) → c1(U13'(isNatKind(activate(z1)), activate(z0), activate(z1)), ISNATKIND(activate(z1)))
U13'(tt, z0, z1) → c2(U14'(isNatKind(activate(z1)), activate(z0), activate(z1)), ISNATKIND(activate(z1)))
U14'(tt, z0, z1) → c3(U15'(isNat(activate(z0)), activate(z1)), ISNAT(activate(z0)))
U15'(tt, z0) → c4(ISNAT(activate(z0)))
U21'(tt, z0) → c6(U22'(isNatKind(activate(z0)), activate(z0)), ISNATKIND(activate(z0)))
U22'(tt, z0) → c7(ISNAT(activate(z0)))
U31'(tt, z0) → c9(ISNATKIND(activate(z0)))
U51'(tt, z0) → c12(ISNATKIND(activate(z0)))
U63'(tt, z0, z1) → c16(ISNATKIND(activate(z1)))
ISNAT(n__plus(z0, z1)) → c19(U11'(isNatKind(activate(z0)), activate(z0), activate(z1)), ISNATKIND(activate(z0)))
ISNAT(n__s(z0)) → c20(U21'(isNatKind(activate(z0)), activate(z0)), ISNATKIND(activate(z0)))
ISNATKIND(n__plus(z0, z1)) → c22(U31'(isNatKind(activate(z0)), activate(z1)), ISNATKIND(activate(z0)))
ISNATKIND(n__s(z0)) → c23(ISNATKIND(activate(z0)))
U61'(tt, z0, z1) → c5(U62'(isNatKind(activate(z0)), activate(z0), activate(z1)))
U61'(tt, z0, z1) → c5(ISNATKIND(activate(z0)))
U62'(tt, z0, z1) → c5(U63'(isNat(activate(z1)), activate(z0), activate(z1)))
U62'(tt, z0, z1) → c5(ISNAT(activate(z1)))
S tuples:
U11'(tt, z0, z1) → c(U12'(isNatKind(activate(z0)), activate(z0), activate(z1)), ISNATKIND(activate(z0)))
U12'(tt, z0, z1) → c1(U13'(isNatKind(activate(z1)), activate(z0), activate(z1)), ISNATKIND(activate(z1)))
U13'(tt, z0, z1) → c2(U14'(isNatKind(activate(z1)), activate(z0), activate(z1)), ISNATKIND(activate(z1)))
U14'(tt, z0, z1) → c3(U15'(isNat(activate(z0)), activate(z1)), ISNAT(activate(z0)))
U15'(tt, z0) → c4(ISNAT(activate(z0)))
U21'(tt, z0) → c6(U22'(isNatKind(activate(z0)), activate(z0)), ISNATKIND(activate(z0)))
U31'(tt, z0) → c9(ISNATKIND(activate(z0)))
ISNAT(n__plus(z0, z1)) → c19(U11'(isNatKind(activate(z0)), activate(z0), activate(z1)), ISNATKIND(activate(z0)))
ISNAT(n__s(z0)) → c20(U21'(isNatKind(activate(z0)), activate(z0)), ISNATKIND(activate(z0)))
ISNATKIND(n__plus(z0, z1)) → c22(U31'(isNatKind(activate(z0)), activate(z1)), ISNATKIND(activate(z0)))
ISNATKIND(n__s(z0)) → c23(ISNATKIND(activate(z0)))
K tuples:
U51'(tt, z0) → c12(ISNATKIND(activate(z0)))
U61'(tt, z0, z1) → c5(U62'(isNatKind(activate(z0)), activate(z0), activate(z1)))
U61'(tt, z0, z1) → c5(ISNATKIND(activate(z0)))
U62'(tt, z0, z1) → c5(U63'(isNat(activate(z1)), activate(z0), activate(z1)))
U62'(tt, z0, z1) → c5(ISNAT(activate(z1)))
U63'(tt, z0, z1) → c16(ISNATKIND(activate(z1)))
U22'(tt, z0) → c7(ISNAT(activate(z0)))
Defined Rule Symbols:
isNatKind, activate, 0, plus, s, U31, U41, U32, isNat, U11, U12, U13, U14, U15, U21, U22, U23, U16
Defined Pair Symbols:
U11', U12', U13', U14', U15', U21', U22', U31', U51', U63', ISNAT, ISNATKIND, U61', U62'
Compound Symbols:
c, c1, c2, c3, c4, c6, c7, c9, c12, c16, c19, c20, c22, c23, c5
(15) 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.
ISNAT(n__s(z0)) → c20(U21'(isNatKind(activate(z0)), activate(z0)), ISNATKIND(activate(z0)))
We considered the (Usable) Rules:
activate(z0) → z0
activate(n__s(z0)) → s(z0)
plus(z0, z1) → n__plus(z0, z1)
activate(n__plus(z0, z1)) → plus(z0, z1)
activate(n__0) → 0
s(z0) → n__s(z0)
0 → n__0
And the Tuples:
U11'(tt, z0, z1) → c(U12'(isNatKind(activate(z0)), activate(z0), activate(z1)), ISNATKIND(activate(z0)))
U12'(tt, z0, z1) → c1(U13'(isNatKind(activate(z1)), activate(z0), activate(z1)), ISNATKIND(activate(z1)))
U13'(tt, z0, z1) → c2(U14'(isNatKind(activate(z1)), activate(z0), activate(z1)), ISNATKIND(activate(z1)))
U14'(tt, z0, z1) → c3(U15'(isNat(activate(z0)), activate(z1)), ISNAT(activate(z0)))
U15'(tt, z0) → c4(ISNAT(activate(z0)))
U21'(tt, z0) → c6(U22'(isNatKind(activate(z0)), activate(z0)), ISNATKIND(activate(z0)))
U22'(tt, z0) → c7(ISNAT(activate(z0)))
U31'(tt, z0) → c9(ISNATKIND(activate(z0)))
U51'(tt, z0) → c12(ISNATKIND(activate(z0)))
U63'(tt, z0, z1) → c16(ISNATKIND(activate(z1)))
ISNAT(n__plus(z0, z1)) → c19(U11'(isNatKind(activate(z0)), activate(z0), activate(z1)), ISNATKIND(activate(z0)))
ISNAT(n__s(z0)) → c20(U21'(isNatKind(activate(z0)), activate(z0)), ISNATKIND(activate(z0)))
ISNATKIND(n__plus(z0, z1)) → c22(U31'(isNatKind(activate(z0)), activate(z1)), ISNATKIND(activate(z0)))
ISNATKIND(n__s(z0)) → c23(ISNATKIND(activate(z0)))
U61'(tt, z0, z1) → c5(U62'(isNatKind(activate(z0)), activate(z0), activate(z1)))
U61'(tt, z0, z1) → c5(ISNATKIND(activate(z0)))
U62'(tt, z0, z1) → c5(U63'(isNat(activate(z1)), activate(z0), activate(z1)))
U62'(tt, z0, z1) → c5(ISNAT(activate(z1)))
The order we found is given by the following interpretation:
Polynomial interpretation :
POL(0) = 0
POL(ISNAT(x1)) = x1
POL(ISNATKIND(x1)) = 0
POL(U11(x1, x2, x3)) = [2] + x2 + [2]x3
POL(U11'(x1, x2, x3)) = x2 + x3
POL(U12(x1, x2, x3)) = [2] + [2]x2 + [2]x3
POL(U12'(x1, x2, x3)) = x2 + x3
POL(U13(x1, x2, x3)) = [2] + [2]x1 + x2 + [4]x3
POL(U13'(x1, x2, x3)) = x2 + x3
POL(U14(x1, x2, x3)) = [1] + [4]x1 + [4]x2
POL(U14'(x1, x2, x3)) = x2 + x3
POL(U15(x1, x2)) = [2] + [2]x1 + [2]x2
POL(U15'(x1, x2)) = x2
POL(U16(x1)) = [3]
POL(U21(x1, x2)) = [3] + [3]x1 + [5]x2
POL(U21'(x1, x2)) = [1] + x2
POL(U22(x1, x2)) = [3] + [2]x1 + [2]x2
POL(U22'(x1, x2)) = [1] + x2
POL(U23(x1)) = [3] + [5]x1
POL(U31(x1, x2)) = [3]x1
POL(U31'(x1, x2)) = 0
POL(U32(x1)) = [5]
POL(U41(x1)) = [2]
POL(U51'(x1, x2)) = [4] + [2]x1 + [3]x2
POL(U61'(x1, x2, x3)) = [5] + [3]x1 + [3]x2 + [5]x3
POL(U62'(x1, x2, x3)) = [5] + [3]x2 + [3]x3
POL(U63'(x1, x2, x3)) = [2]x3
POL(activate(x1)) = x1
POL(c(x1, x2)) = x1 + x2
POL(c1(x1, x2)) = x1 + x2
POL(c12(x1)) = x1
POL(c16(x1)) = x1
POL(c19(x1, x2)) = x1 + x2
POL(c2(x1, x2)) = x1 + x2
POL(c20(x1, x2)) = x1 + x2
POL(c22(x1, x2)) = x1 + x2
POL(c23(x1)) = x1
POL(c3(x1, x2)) = x1 + x2
POL(c4(x1)) = x1
POL(c5(x1)) = x1
POL(c6(x1, x2)) = x1 + x2
POL(c7(x1)) = x1
POL(c9(x1)) = x1
POL(isNat(x1)) = 0
POL(isNatKind(x1)) = 0
POL(n__0) = 0
POL(n__plus(x1, x2)) = x1 + x2
POL(n__s(x1)) = [4] + x1
POL(plus(x1, x2)) = x1 + x2
POL(s(x1)) = [4] + x1
POL(tt) = 0
(16) Obligation:
Complexity Dependency Tuples Problem
Rules:
isNatKind(n__0) → tt
isNatKind(n__plus(z0, z1)) → U31(isNatKind(activate(z0)), activate(z1))
isNatKind(n__s(z0)) → U41(isNatKind(activate(z0)))
activate(n__0) → 0
activate(n__plus(z0, z1)) → plus(z0, z1)
activate(n__s(z0)) → s(z0)
activate(z0) → z0
0 → n__0
plus(z0, z1) → n__plus(z0, z1)
s(z0) → n__s(z0)
U31(tt, z0) → U32(isNatKind(activate(z0)))
U41(tt) → tt
U32(tt) → tt
isNat(n__0) → tt
isNat(n__plus(z0, z1)) → U11(isNatKind(activate(z0)), activate(z0), activate(z1))
isNat(n__s(z0)) → U21(isNatKind(activate(z0)), activate(z0))
U11(tt, z0, z1) → U12(isNatKind(activate(z0)), activate(z0), activate(z1))
U12(tt, z0, z1) → U13(isNatKind(activate(z1)), activate(z0), activate(z1))
U13(tt, z0, z1) → U14(isNatKind(activate(z1)), activate(z0), activate(z1))
U14(tt, z0, z1) → U15(isNat(activate(z0)), activate(z1))
U15(tt, z0) → U16(isNat(activate(z0)))
U21(tt, z0) → U22(isNatKind(activate(z0)), activate(z0))
U22(tt, z0) → U23(isNat(activate(z0)))
U23(tt) → tt
U16(tt) → tt
Tuples:
U11'(tt, z0, z1) → c(U12'(isNatKind(activate(z0)), activate(z0), activate(z1)), ISNATKIND(activate(z0)))
U12'(tt, z0, z1) → c1(U13'(isNatKind(activate(z1)), activate(z0), activate(z1)), ISNATKIND(activate(z1)))
U13'(tt, z0, z1) → c2(U14'(isNatKind(activate(z1)), activate(z0), activate(z1)), ISNATKIND(activate(z1)))
U14'(tt, z0, z1) → c3(U15'(isNat(activate(z0)), activate(z1)), ISNAT(activate(z0)))
U15'(tt, z0) → c4(ISNAT(activate(z0)))
U21'(tt, z0) → c6(U22'(isNatKind(activate(z0)), activate(z0)), ISNATKIND(activate(z0)))
U22'(tt, z0) → c7(ISNAT(activate(z0)))
U31'(tt, z0) → c9(ISNATKIND(activate(z0)))
U51'(tt, z0) → c12(ISNATKIND(activate(z0)))
U63'(tt, z0, z1) → c16(ISNATKIND(activate(z1)))
ISNAT(n__plus(z0, z1)) → c19(U11'(isNatKind(activate(z0)), activate(z0), activate(z1)), ISNATKIND(activate(z0)))
ISNAT(n__s(z0)) → c20(U21'(isNatKind(activate(z0)), activate(z0)), ISNATKIND(activate(z0)))
ISNATKIND(n__plus(z0, z1)) → c22(U31'(isNatKind(activate(z0)), activate(z1)), ISNATKIND(activate(z0)))
ISNATKIND(n__s(z0)) → c23(ISNATKIND(activate(z0)))
U61'(tt, z0, z1) → c5(U62'(isNatKind(activate(z0)), activate(z0), activate(z1)))
U61'(tt, z0, z1) → c5(ISNATKIND(activate(z0)))
U62'(tt, z0, z1) → c5(U63'(isNat(activate(z1)), activate(z0), activate(z1)))
U62'(tt, z0, z1) → c5(ISNAT(activate(z1)))
S tuples:
U11'(tt, z0, z1) → c(U12'(isNatKind(activate(z0)), activate(z0), activate(z1)), ISNATKIND(activate(z0)))
U12'(tt, z0, z1) → c1(U13'(isNatKind(activate(z1)), activate(z0), activate(z1)), ISNATKIND(activate(z1)))
U13'(tt, z0, z1) → c2(U14'(isNatKind(activate(z1)), activate(z0), activate(z1)), ISNATKIND(activate(z1)))
U14'(tt, z0, z1) → c3(U15'(isNat(activate(z0)), activate(z1)), ISNAT(activate(z0)))
U15'(tt, z0) → c4(ISNAT(activate(z0)))
U21'(tt, z0) → c6(U22'(isNatKind(activate(z0)), activate(z0)), ISNATKIND(activate(z0)))
U31'(tt, z0) → c9(ISNATKIND(activate(z0)))
ISNAT(n__plus(z0, z1)) → c19(U11'(isNatKind(activate(z0)), activate(z0), activate(z1)), ISNATKIND(activate(z0)))
ISNATKIND(n__plus(z0, z1)) → c22(U31'(isNatKind(activate(z0)), activate(z1)), ISNATKIND(activate(z0)))
ISNATKIND(n__s(z0)) → c23(ISNATKIND(activate(z0)))
K tuples:
U51'(tt, z0) → c12(ISNATKIND(activate(z0)))
U61'(tt, z0, z1) → c5(U62'(isNatKind(activate(z0)), activate(z0), activate(z1)))
U61'(tt, z0, z1) → c5(ISNATKIND(activate(z0)))
U62'(tt, z0, z1) → c5(U63'(isNat(activate(z1)), activate(z0), activate(z1)))
U62'(tt, z0, z1) → c5(ISNAT(activate(z1)))
U63'(tt, z0, z1) → c16(ISNATKIND(activate(z1)))
U22'(tt, z0) → c7(ISNAT(activate(z0)))
ISNAT(n__s(z0)) → c20(U21'(isNatKind(activate(z0)), activate(z0)), ISNATKIND(activate(z0)))
Defined Rule Symbols:
isNatKind, activate, 0, plus, s, U31, U41, U32, isNat, U11, U12, U13, U14, U15, U21, U22, U23, U16
Defined Pair Symbols:
U11', U12', U13', U14', U15', U21', U22', U31', U51', U63', ISNAT, ISNATKIND, U61', U62'
Compound Symbols:
c, c1, c2, c3, c4, c6, c7, c9, c12, c16, c19, c20, c22, c23, c5
(17) CdtKnowledgeProof (BOTH BOUNDS(ID, ID) transformation)
The following tuples could be moved from S to K by knowledge propagation:
U21'(tt, z0) → c6(U22'(isNatKind(activate(z0)), activate(z0)), ISNATKIND(activate(z0)))
U22'(tt, z0) → c7(ISNAT(activate(z0)))
(18) Obligation:
Complexity Dependency Tuples Problem
Rules:
isNatKind(n__0) → tt
isNatKind(n__plus(z0, z1)) → U31(isNatKind(activate(z0)), activate(z1))
isNatKind(n__s(z0)) → U41(isNatKind(activate(z0)))
activate(n__0) → 0
activate(n__plus(z0, z1)) → plus(z0, z1)
activate(n__s(z0)) → s(z0)
activate(z0) → z0
0 → n__0
plus(z0, z1) → n__plus(z0, z1)
s(z0) → n__s(z0)
U31(tt, z0) → U32(isNatKind(activate(z0)))
U41(tt) → tt
U32(tt) → tt
isNat(n__0) → tt
isNat(n__plus(z0, z1)) → U11(isNatKind(activate(z0)), activate(z0), activate(z1))
isNat(n__s(z0)) → U21(isNatKind(activate(z0)), activate(z0))
U11(tt, z0, z1) → U12(isNatKind(activate(z0)), activate(z0), activate(z1))
U12(tt, z0, z1) → U13(isNatKind(activate(z1)), activate(z0), activate(z1))
U13(tt, z0, z1) → U14(isNatKind(activate(z1)), activate(z0), activate(z1))
U14(tt, z0, z1) → U15(isNat(activate(z0)), activate(z1))
U15(tt, z0) → U16(isNat(activate(z0)))
U21(tt, z0) → U22(isNatKind(activate(z0)), activate(z0))
U22(tt, z0) → U23(isNat(activate(z0)))
U23(tt) → tt
U16(tt) → tt
Tuples:
U11'(tt, z0, z1) → c(U12'(isNatKind(activate(z0)), activate(z0), activate(z1)), ISNATKIND(activate(z0)))
U12'(tt, z0, z1) → c1(U13'(isNatKind(activate(z1)), activate(z0), activate(z1)), ISNATKIND(activate(z1)))
U13'(tt, z0, z1) → c2(U14'(isNatKind(activate(z1)), activate(z0), activate(z1)), ISNATKIND(activate(z1)))
U14'(tt, z0, z1) → c3(U15'(isNat(activate(z0)), activate(z1)), ISNAT(activate(z0)))
U15'(tt, z0) → c4(ISNAT(activate(z0)))
U21'(tt, z0) → c6(U22'(isNatKind(activate(z0)), activate(z0)), ISNATKIND(activate(z0)))
U22'(tt, z0) → c7(ISNAT(activate(z0)))
U31'(tt, z0) → c9(ISNATKIND(activate(z0)))
U51'(tt, z0) → c12(ISNATKIND(activate(z0)))
U63'(tt, z0, z1) → c16(ISNATKIND(activate(z1)))
ISNAT(n__plus(z0, z1)) → c19(U11'(isNatKind(activate(z0)), activate(z0), activate(z1)), ISNATKIND(activate(z0)))
ISNAT(n__s(z0)) → c20(U21'(isNatKind(activate(z0)), activate(z0)), ISNATKIND(activate(z0)))
ISNATKIND(n__plus(z0, z1)) → c22(U31'(isNatKind(activate(z0)), activate(z1)), ISNATKIND(activate(z0)))
ISNATKIND(n__s(z0)) → c23(ISNATKIND(activate(z0)))
U61'(tt, z0, z1) → c5(U62'(isNatKind(activate(z0)), activate(z0), activate(z1)))
U61'(tt, z0, z1) → c5(ISNATKIND(activate(z0)))
U62'(tt, z0, z1) → c5(U63'(isNat(activate(z1)), activate(z0), activate(z1)))
U62'(tt, z0, z1) → c5(ISNAT(activate(z1)))
S tuples:
U11'(tt, z0, z1) → c(U12'(isNatKind(activate(z0)), activate(z0), activate(z1)), ISNATKIND(activate(z0)))
U12'(tt, z0, z1) → c1(U13'(isNatKind(activate(z1)), activate(z0), activate(z1)), ISNATKIND(activate(z1)))
U13'(tt, z0, z1) → c2(U14'(isNatKind(activate(z1)), activate(z0), activate(z1)), ISNATKIND(activate(z1)))
U14'(tt, z0, z1) → c3(U15'(isNat(activate(z0)), activate(z1)), ISNAT(activate(z0)))
U15'(tt, z0) → c4(ISNAT(activate(z0)))
U31'(tt, z0) → c9(ISNATKIND(activate(z0)))
ISNAT(n__plus(z0, z1)) → c19(U11'(isNatKind(activate(z0)), activate(z0), activate(z1)), ISNATKIND(activate(z0)))
ISNATKIND(n__plus(z0, z1)) → c22(U31'(isNatKind(activate(z0)), activate(z1)), ISNATKIND(activate(z0)))
ISNATKIND(n__s(z0)) → c23(ISNATKIND(activate(z0)))
K tuples:
U51'(tt, z0) → c12(ISNATKIND(activate(z0)))
U61'(tt, z0, z1) → c5(U62'(isNatKind(activate(z0)), activate(z0), activate(z1)))
U61'(tt, z0, z1) → c5(ISNATKIND(activate(z0)))
U62'(tt, z0, z1) → c5(U63'(isNat(activate(z1)), activate(z0), activate(z1)))
U62'(tt, z0, z1) → c5(ISNAT(activate(z1)))
U63'(tt, z0, z1) → c16(ISNATKIND(activate(z1)))
U22'(tt, z0) → c7(ISNAT(activate(z0)))
ISNAT(n__s(z0)) → c20(U21'(isNatKind(activate(z0)), activate(z0)), ISNATKIND(activate(z0)))
U21'(tt, z0) → c6(U22'(isNatKind(activate(z0)), activate(z0)), ISNATKIND(activate(z0)))
Defined Rule Symbols:
isNatKind, activate, 0, plus, s, U31, U41, U32, isNat, U11, U12, U13, U14, U15, U21, U22, U23, U16
Defined Pair Symbols:
U11', U12', U13', U14', U15', U21', U22', U31', U51', U63', ISNAT, ISNATKIND, U61', U62'
Compound Symbols:
c, c1, c2, c3, c4, c6, c7, c9, c12, c16, c19, c20, c22, c23, c5
(19) 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.
ISNAT(n__plus(z0, z1)) → c19(U11'(isNatKind(activate(z0)), activate(z0), activate(z1)), ISNATKIND(activate(z0)))
We considered the (Usable) Rules:
activate(z0) → z0
activate(n__s(z0)) → s(z0)
plus(z0, z1) → n__plus(z0, z1)
activate(n__plus(z0, z1)) → plus(z0, z1)
activate(n__0) → 0
s(z0) → n__s(z0)
0 → n__0
And the Tuples:
U11'(tt, z0, z1) → c(U12'(isNatKind(activate(z0)), activate(z0), activate(z1)), ISNATKIND(activate(z0)))
U12'(tt, z0, z1) → c1(U13'(isNatKind(activate(z1)), activate(z0), activate(z1)), ISNATKIND(activate(z1)))
U13'(tt, z0, z1) → c2(U14'(isNatKind(activate(z1)), activate(z0), activate(z1)), ISNATKIND(activate(z1)))
U14'(tt, z0, z1) → c3(U15'(isNat(activate(z0)), activate(z1)), ISNAT(activate(z0)))
U15'(tt, z0) → c4(ISNAT(activate(z0)))
U21'(tt, z0) → c6(U22'(isNatKind(activate(z0)), activate(z0)), ISNATKIND(activate(z0)))
U22'(tt, z0) → c7(ISNAT(activate(z0)))
U31'(tt, z0) → c9(ISNATKIND(activate(z0)))
U51'(tt, z0) → c12(ISNATKIND(activate(z0)))
U63'(tt, z0, z1) → c16(ISNATKIND(activate(z1)))
ISNAT(n__plus(z0, z1)) → c19(U11'(isNatKind(activate(z0)), activate(z0), activate(z1)), ISNATKIND(activate(z0)))
ISNAT(n__s(z0)) → c20(U21'(isNatKind(activate(z0)), activate(z0)), ISNATKIND(activate(z0)))
ISNATKIND(n__plus(z0, z1)) → c22(U31'(isNatKind(activate(z0)), activate(z1)), ISNATKIND(activate(z0)))
ISNATKIND(n__s(z0)) → c23(ISNATKIND(activate(z0)))
U61'(tt, z0, z1) → c5(U62'(isNatKind(activate(z0)), activate(z0), activate(z1)))
U61'(tt, z0, z1) → c5(ISNATKIND(activate(z0)))
U62'(tt, z0, z1) → c5(U63'(isNat(activate(z1)), activate(z0), activate(z1)))
U62'(tt, z0, z1) → c5(ISNAT(activate(z1)))
The order we found is given by the following interpretation:
Polynomial interpretation :
POL(0) = 0
POL(ISNAT(x1)) = [4]x1
POL(ISNATKIND(x1)) = 0
POL(U11(x1, x2, x3)) = [2] + x1 + [4]x3
POL(U11'(x1, x2, x3)) = [4]x2 + [4]x3
POL(U12(x1, x2, x3)) = [3] + [3]x2 + [3]x3
POL(U12'(x1, x2, x3)) = [4]x2 + [4]x3
POL(U13(x1, x2, x3)) = [2] + [2]x1 + [3]x2 + [2]x3
POL(U13'(x1, x2, x3)) = [4]x2 + [4]x3
POL(U14(x1, x2, x3)) = [2] + [2]x2 + [3]x3
POL(U14'(x1, x2, x3)) = [4]x2 + [4]x3
POL(U15(x1, x2)) = [3] + [3]x1 + [5]x2
POL(U15'(x1, x2)) = [4]x2
POL(U16(x1)) = [5] + [2]x1
POL(U21(x1, x2)) = [2]
POL(U21'(x1, x2)) = [3] + [4]x2
POL(U22(x1, x2)) = [2] + [2]x1 + [3]x2
POL(U22'(x1, x2)) = [4]x2
POL(U23(x1)) = [1] + [5]x1
POL(U31(x1, x2)) = [5] + [5]x1 + [3]x2
POL(U31'(x1, x2)) = 0
POL(U32(x1)) = [5] + [3]x1
POL(U41(x1)) = [3] + [3]x1
POL(U51'(x1, x2)) = [1] + [5]x1 + [5]x2
POL(U61'(x1, x2, x3)) = [5] + [3]x1 + [5]x2 + [5]x3
POL(U62'(x1, x2, x3)) = [2] + [2]x2 + [4]x3
POL(U63'(x1, x2, x3)) = [2]x2
POL(activate(x1)) = x1
POL(c(x1, x2)) = x1 + x2
POL(c1(x1, x2)) = x1 + x2
POL(c12(x1)) = x1
POL(c16(x1)) = x1
POL(c19(x1, x2)) = x1 + x2
POL(c2(x1, x2)) = x1 + x2
POL(c20(x1, x2)) = x1 + x2
POL(c22(x1, x2)) = x1 + x2
POL(c23(x1)) = x1
POL(c3(x1, x2)) = x1 + x2
POL(c4(x1)) = x1
POL(c5(x1)) = x1
POL(c6(x1, x2)) = x1 + x2
POL(c7(x1)) = x1
POL(c9(x1)) = x1
POL(isNat(x1)) = [2]
POL(isNatKind(x1)) = 0
POL(n__0) = 0
POL(n__plus(x1, x2)) = [1] + x1 + x2
POL(n__s(x1)) = [4] + x1
POL(plus(x1, x2)) = [1] + x1 + x2
POL(s(x1)) = [4] + x1
POL(tt) = 0
(20) Obligation:
Complexity Dependency Tuples Problem
Rules:
isNatKind(n__0) → tt
isNatKind(n__plus(z0, z1)) → U31(isNatKind(activate(z0)), activate(z1))
isNatKind(n__s(z0)) → U41(isNatKind(activate(z0)))
activate(n__0) → 0
activate(n__plus(z0, z1)) → plus(z0, z1)
activate(n__s(z0)) → s(z0)
activate(z0) → z0
0 → n__0
plus(z0, z1) → n__plus(z0, z1)
s(z0) → n__s(z0)
U31(tt, z0) → U32(isNatKind(activate(z0)))
U41(tt) → tt
U32(tt) → tt
isNat(n__0) → tt
isNat(n__plus(z0, z1)) → U11(isNatKind(activate(z0)), activate(z0), activate(z1))
isNat(n__s(z0)) → U21(isNatKind(activate(z0)), activate(z0))
U11(tt, z0, z1) → U12(isNatKind(activate(z0)), activate(z0), activate(z1))
U12(tt, z0, z1) → U13(isNatKind(activate(z1)), activate(z0), activate(z1))
U13(tt, z0, z1) → U14(isNatKind(activate(z1)), activate(z0), activate(z1))
U14(tt, z0, z1) → U15(isNat(activate(z0)), activate(z1))
U15(tt, z0) → U16(isNat(activate(z0)))
U21(tt, z0) → U22(isNatKind(activate(z0)), activate(z0))
U22(tt, z0) → U23(isNat(activate(z0)))
U23(tt) → tt
U16(tt) → tt
Tuples:
U11'(tt, z0, z1) → c(U12'(isNatKind(activate(z0)), activate(z0), activate(z1)), ISNATKIND(activate(z0)))
U12'(tt, z0, z1) → c1(U13'(isNatKind(activate(z1)), activate(z0), activate(z1)), ISNATKIND(activate(z1)))
U13'(tt, z0, z1) → c2(U14'(isNatKind(activate(z1)), activate(z0), activate(z1)), ISNATKIND(activate(z1)))
U14'(tt, z0, z1) → c3(U15'(isNat(activate(z0)), activate(z1)), ISNAT(activate(z0)))
U15'(tt, z0) → c4(ISNAT(activate(z0)))
U21'(tt, z0) → c6(U22'(isNatKind(activate(z0)), activate(z0)), ISNATKIND(activate(z0)))
U22'(tt, z0) → c7(ISNAT(activate(z0)))
U31'(tt, z0) → c9(ISNATKIND(activate(z0)))
U51'(tt, z0) → c12(ISNATKIND(activate(z0)))
U63'(tt, z0, z1) → c16(ISNATKIND(activate(z1)))
ISNAT(n__plus(z0, z1)) → c19(U11'(isNatKind(activate(z0)), activate(z0), activate(z1)), ISNATKIND(activate(z0)))
ISNAT(n__s(z0)) → c20(U21'(isNatKind(activate(z0)), activate(z0)), ISNATKIND(activate(z0)))
ISNATKIND(n__plus(z0, z1)) → c22(U31'(isNatKind(activate(z0)), activate(z1)), ISNATKIND(activate(z0)))
ISNATKIND(n__s(z0)) → c23(ISNATKIND(activate(z0)))
U61'(tt, z0, z1) → c5(U62'(isNatKind(activate(z0)), activate(z0), activate(z1)))
U61'(tt, z0, z1) → c5(ISNATKIND(activate(z0)))
U62'(tt, z0, z1) → c5(U63'(isNat(activate(z1)), activate(z0), activate(z1)))
U62'(tt, z0, z1) → c5(ISNAT(activate(z1)))
S tuples:
U11'(tt, z0, z1) → c(U12'(isNatKind(activate(z0)), activate(z0), activate(z1)), ISNATKIND(activate(z0)))
U12'(tt, z0, z1) → c1(U13'(isNatKind(activate(z1)), activate(z0), activate(z1)), ISNATKIND(activate(z1)))
U13'(tt, z0, z1) → c2(U14'(isNatKind(activate(z1)), activate(z0), activate(z1)), ISNATKIND(activate(z1)))
U14'(tt, z0, z1) → c3(U15'(isNat(activate(z0)), activate(z1)), ISNAT(activate(z0)))
U15'(tt, z0) → c4(ISNAT(activate(z0)))
U31'(tt, z0) → c9(ISNATKIND(activate(z0)))
ISNATKIND(n__plus(z0, z1)) → c22(U31'(isNatKind(activate(z0)), activate(z1)), ISNATKIND(activate(z0)))
ISNATKIND(n__s(z0)) → c23(ISNATKIND(activate(z0)))
K tuples:
U51'(tt, z0) → c12(ISNATKIND(activate(z0)))
U61'(tt, z0, z1) → c5(U62'(isNatKind(activate(z0)), activate(z0), activate(z1)))
U61'(tt, z0, z1) → c5(ISNATKIND(activate(z0)))
U62'(tt, z0, z1) → c5(U63'(isNat(activate(z1)), activate(z0), activate(z1)))
U62'(tt, z0, z1) → c5(ISNAT(activate(z1)))
U63'(tt, z0, z1) → c16(ISNATKIND(activate(z1)))
U22'(tt, z0) → c7(ISNAT(activate(z0)))
ISNAT(n__s(z0)) → c20(U21'(isNatKind(activate(z0)), activate(z0)), ISNATKIND(activate(z0)))
U21'(tt, z0) → c6(U22'(isNatKind(activate(z0)), activate(z0)), ISNATKIND(activate(z0)))
ISNAT(n__plus(z0, z1)) → c19(U11'(isNatKind(activate(z0)), activate(z0), activate(z1)), ISNATKIND(activate(z0)))
Defined Rule Symbols:
isNatKind, activate, 0, plus, s, U31, U41, U32, isNat, U11, U12, U13, U14, U15, U21, U22, U23, U16
Defined Pair Symbols:
U11', U12', U13', U14', U15', U21', U22', U31', U51', U63', ISNAT, ISNATKIND, U61', U62'
Compound Symbols:
c, c1, c2, c3, c4, c6, c7, c9, c12, c16, c19, c20, c22, c23, c5
(21) CdtKnowledgeProof (BOTH BOUNDS(ID, ID) transformation)
The following tuples could be moved from S to K by knowledge propagation:
U11'(tt, z0, z1) → c(U12'(isNatKind(activate(z0)), activate(z0), activate(z1)), ISNATKIND(activate(z0)))
U12'(tt, z0, z1) → c1(U13'(isNatKind(activate(z1)), activate(z0), activate(z1)), ISNATKIND(activate(z1)))
U13'(tt, z0, z1) → c2(U14'(isNatKind(activate(z1)), activate(z0), activate(z1)), ISNATKIND(activate(z1)))
U14'(tt, z0, z1) → c3(U15'(isNat(activate(z0)), activate(z1)), ISNAT(activate(z0)))
U15'(tt, z0) → c4(ISNAT(activate(z0)))
U12'(tt, z0, z1) → c1(U13'(isNatKind(activate(z1)), activate(z0), activate(z1)), ISNATKIND(activate(z1)))
U13'(tt, z0, z1) → c2(U14'(isNatKind(activate(z1)), activate(z0), activate(z1)), ISNATKIND(activate(z1)))
U14'(tt, z0, z1) → c3(U15'(isNat(activate(z0)), activate(z1)), ISNAT(activate(z0)))
U15'(tt, z0) → c4(ISNAT(activate(z0)))
ISNAT(n__plus(z0, z1)) → c19(U11'(isNatKind(activate(z0)), activate(z0), activate(z1)), ISNATKIND(activate(z0)))
ISNAT(n__s(z0)) → c20(U21'(isNatKind(activate(z0)), activate(z0)), ISNATKIND(activate(z0)))
ISNAT(n__plus(z0, z1)) → c19(U11'(isNatKind(activate(z0)), activate(z0), activate(z1)), ISNATKIND(activate(z0)))
ISNAT(n__s(z0)) → c20(U21'(isNatKind(activate(z0)), activate(z0)), ISNATKIND(activate(z0)))
(22) Obligation:
Complexity Dependency Tuples Problem
Rules:
isNatKind(n__0) → tt
isNatKind(n__plus(z0, z1)) → U31(isNatKind(activate(z0)), activate(z1))
isNatKind(n__s(z0)) → U41(isNatKind(activate(z0)))
activate(n__0) → 0
activate(n__plus(z0, z1)) → plus(z0, z1)
activate(n__s(z0)) → s(z0)
activate(z0) → z0
0 → n__0
plus(z0, z1) → n__plus(z0, z1)
s(z0) → n__s(z0)
U31(tt, z0) → U32(isNatKind(activate(z0)))
U41(tt) → tt
U32(tt) → tt
isNat(n__0) → tt
isNat(n__plus(z0, z1)) → U11(isNatKind(activate(z0)), activate(z0), activate(z1))
isNat(n__s(z0)) → U21(isNatKind(activate(z0)), activate(z0))
U11(tt, z0, z1) → U12(isNatKind(activate(z0)), activate(z0), activate(z1))
U12(tt, z0, z1) → U13(isNatKind(activate(z1)), activate(z0), activate(z1))
U13(tt, z0, z1) → U14(isNatKind(activate(z1)), activate(z0), activate(z1))
U14(tt, z0, z1) → U15(isNat(activate(z0)), activate(z1))
U15(tt, z0) → U16(isNat(activate(z0)))
U21(tt, z0) → U22(isNatKind(activate(z0)), activate(z0))
U22(tt, z0) → U23(isNat(activate(z0)))
U23(tt) → tt
U16(tt) → tt
Tuples:
U11'(tt, z0, z1) → c(U12'(isNatKind(activate(z0)), activate(z0), activate(z1)), ISNATKIND(activate(z0)))
U12'(tt, z0, z1) → c1(U13'(isNatKind(activate(z1)), activate(z0), activate(z1)), ISNATKIND(activate(z1)))
U13'(tt, z0, z1) → c2(U14'(isNatKind(activate(z1)), activate(z0), activate(z1)), ISNATKIND(activate(z1)))
U14'(tt, z0, z1) → c3(U15'(isNat(activate(z0)), activate(z1)), ISNAT(activate(z0)))
U15'(tt, z0) → c4(ISNAT(activate(z0)))
U21'(tt, z0) → c6(U22'(isNatKind(activate(z0)), activate(z0)), ISNATKIND(activate(z0)))
U22'(tt, z0) → c7(ISNAT(activate(z0)))
U31'(tt, z0) → c9(ISNATKIND(activate(z0)))
U51'(tt, z0) → c12(ISNATKIND(activate(z0)))
U63'(tt, z0, z1) → c16(ISNATKIND(activate(z1)))
ISNAT(n__plus(z0, z1)) → c19(U11'(isNatKind(activate(z0)), activate(z0), activate(z1)), ISNATKIND(activate(z0)))
ISNAT(n__s(z0)) → c20(U21'(isNatKind(activate(z0)), activate(z0)), ISNATKIND(activate(z0)))
ISNATKIND(n__plus(z0, z1)) → c22(U31'(isNatKind(activate(z0)), activate(z1)), ISNATKIND(activate(z0)))
ISNATKIND(n__s(z0)) → c23(ISNATKIND(activate(z0)))
U61'(tt, z0, z1) → c5(U62'(isNatKind(activate(z0)), activate(z0), activate(z1)))
U61'(tt, z0, z1) → c5(ISNATKIND(activate(z0)))
U62'(tt, z0, z1) → c5(U63'(isNat(activate(z1)), activate(z0), activate(z1)))
U62'(tt, z0, z1) → c5(ISNAT(activate(z1)))
S tuples:
U31'(tt, z0) → c9(ISNATKIND(activate(z0)))
ISNATKIND(n__plus(z0, z1)) → c22(U31'(isNatKind(activate(z0)), activate(z1)), ISNATKIND(activate(z0)))
ISNATKIND(n__s(z0)) → c23(ISNATKIND(activate(z0)))
K tuples:
U51'(tt, z0) → c12(ISNATKIND(activate(z0)))
U61'(tt, z0, z1) → c5(U62'(isNatKind(activate(z0)), activate(z0), activate(z1)))
U61'(tt, z0, z1) → c5(ISNATKIND(activate(z0)))
U62'(tt, z0, z1) → c5(U63'(isNat(activate(z1)), activate(z0), activate(z1)))
U62'(tt, z0, z1) → c5(ISNAT(activate(z1)))
U63'(tt, z0, z1) → c16(ISNATKIND(activate(z1)))
U22'(tt, z0) → c7(ISNAT(activate(z0)))
ISNAT(n__s(z0)) → c20(U21'(isNatKind(activate(z0)), activate(z0)), ISNATKIND(activate(z0)))
U21'(tt, z0) → c6(U22'(isNatKind(activate(z0)), activate(z0)), ISNATKIND(activate(z0)))
ISNAT(n__plus(z0, z1)) → c19(U11'(isNatKind(activate(z0)), activate(z0), activate(z1)), ISNATKIND(activate(z0)))
U11'(tt, z0, z1) → c(U12'(isNatKind(activate(z0)), activate(z0), activate(z1)), ISNATKIND(activate(z0)))
U12'(tt, z0, z1) → c1(U13'(isNatKind(activate(z1)), activate(z0), activate(z1)), ISNATKIND(activate(z1)))
U13'(tt, z0, z1) → c2(U14'(isNatKind(activate(z1)), activate(z0), activate(z1)), ISNATKIND(activate(z1)))
U14'(tt, z0, z1) → c3(U15'(isNat(activate(z0)), activate(z1)), ISNAT(activate(z0)))
U15'(tt, z0) → c4(ISNAT(activate(z0)))
Defined Rule Symbols:
isNatKind, activate, 0, plus, s, U31, U41, U32, isNat, U11, U12, U13, U14, U15, U21, U22, U23, U16
Defined Pair Symbols:
U11', U12', U13', U14', U15', U21', U22', U31', U51', U63', ISNAT, ISNATKIND, U61', U62'
Compound Symbols:
c, c1, c2, c3, c4, c6, c7, c9, c12, c16, c19, c20, c22, c23, c5
(23) CdtRuleRemovalProof (UPPER BOUND (ADD(O(n^2))) transformation)
Found a reduction pair which oriented the following tuples strictly. Hence they can be removed from S.
ISNATKIND(n__plus(z0, z1)) → c22(U31'(isNatKind(activate(z0)), activate(z1)), ISNATKIND(activate(z0)))
ISNATKIND(n__s(z0)) → c23(ISNATKIND(activate(z0)))
We considered the (Usable) Rules:
activate(z0) → z0
activate(n__s(z0)) → s(z0)
plus(z0, z1) → n__plus(z0, z1)
activate(n__plus(z0, z1)) → plus(z0, z1)
activate(n__0) → 0
s(z0) → n__s(z0)
0 → n__0
And the Tuples:
U11'(tt, z0, z1) → c(U12'(isNatKind(activate(z0)), activate(z0), activate(z1)), ISNATKIND(activate(z0)))
U12'(tt, z0, z1) → c1(U13'(isNatKind(activate(z1)), activate(z0), activate(z1)), ISNATKIND(activate(z1)))
U13'(tt, z0, z1) → c2(U14'(isNatKind(activate(z1)), activate(z0), activate(z1)), ISNATKIND(activate(z1)))
U14'(tt, z0, z1) → c3(U15'(isNat(activate(z0)), activate(z1)), ISNAT(activate(z0)))
U15'(tt, z0) → c4(ISNAT(activate(z0)))
U21'(tt, z0) → c6(U22'(isNatKind(activate(z0)), activate(z0)), ISNATKIND(activate(z0)))
U22'(tt, z0) → c7(ISNAT(activate(z0)))
U31'(tt, z0) → c9(ISNATKIND(activate(z0)))
U51'(tt, z0) → c12(ISNATKIND(activate(z0)))
U63'(tt, z0, z1) → c16(ISNATKIND(activate(z1)))
ISNAT(n__plus(z0, z1)) → c19(U11'(isNatKind(activate(z0)), activate(z0), activate(z1)), ISNATKIND(activate(z0)))
ISNAT(n__s(z0)) → c20(U21'(isNatKind(activate(z0)), activate(z0)), ISNATKIND(activate(z0)))
ISNATKIND(n__plus(z0, z1)) → c22(U31'(isNatKind(activate(z0)), activate(z1)), ISNATKIND(activate(z0)))
ISNATKIND(n__s(z0)) → c23(ISNATKIND(activate(z0)))
U61'(tt, z0, z1) → c5(U62'(isNatKind(activate(z0)), activate(z0), activate(z1)))
U61'(tt, z0, z1) → c5(ISNATKIND(activate(z0)))
U62'(tt, z0, z1) → c5(U63'(isNat(activate(z1)), activate(z0), activate(z1)))
U62'(tt, z0, z1) → c5(ISNAT(activate(z1)))
The order we found is given by the following interpretation:
Polynomial interpretation :
POL(0) = 0
POL(ISNAT(x1)) = x12
POL(ISNATKIND(x1)) = x1
POL(U11(x1, x2, x3)) = 0
POL(U11'(x1, x2, x3)) = [1] + x2 + [2]x3 + x32 + [2]x2·x3 + x22
POL(U12(x1, x2, x3)) = 0
POL(U12'(x1, x2, x3)) = [1] + [2]x3 + x32 + x2·x3 + x22
POL(U13(x1, x2, x3)) = 0
POL(U13'(x1, x2, x3)) = [1] + x3 + x32 + x22
POL(U14(x1, x2, x3)) = 0
POL(U14'(x1, x2, x3)) = x32 + x22
POL(U15(x1, x2)) = 0
POL(U15'(x1, x2)) = x22
POL(U16(x1)) = 0
POL(U21(x1, x2)) = 0
POL(U21'(x1, x2)) = [2]x2 + x22
POL(U22(x1, x2)) = 0
POL(U22'(x1, x2)) = x2 + x22
POL(U23(x1)) = 0
POL(U31(x1, x2)) = 0
POL(U31'(x1, x2)) = x2
POL(U32(x1)) = 0
POL(U41(x1)) = 0
POL(U51'(x1, x2)) = x2 + x22
POL(U61'(x1, x2, x3)) = [1] + [2]x2 + [2]x3 + [3]x32 + [3]x22
POL(U62'(x1, x2, x3)) = [1] + [2]x3 + [2]x32
POL(U63'(x1, x2, x3)) = [1] + [2]x3 + x32
POL(activate(x1)) = x1
POL(c(x1, x2)) = x1 + x2
POL(c1(x1, x2)) = x1 + x2
POL(c12(x1)) = x1
POL(c16(x1)) = x1
POL(c19(x1, x2)) = x1 + x2
POL(c2(x1, x2)) = x1 + x2
POL(c20(x1, x2)) = x1 + x2
POL(c22(x1, x2)) = x1 + x2
POL(c23(x1)) = x1
POL(c3(x1, x2)) = x1 + x2
POL(c4(x1)) = x1
POL(c5(x1)) = x1
POL(c6(x1, x2)) = x1 + x2
POL(c7(x1)) = x1
POL(c9(x1)) = x1
POL(isNat(x1)) = 0
POL(isNatKind(x1)) = 0
POL(n__0) = 0
POL(n__plus(x1, x2)) = [1] + x1 + x2
POL(n__s(x1)) = [2] + x1
POL(plus(x1, x2)) = [1] + x1 + x2
POL(s(x1)) = [2] + x1
POL(tt) = 0
(24) Obligation:
Complexity Dependency Tuples Problem
Rules:
isNatKind(n__0) → tt
isNatKind(n__plus(z0, z1)) → U31(isNatKind(activate(z0)), activate(z1))
isNatKind(n__s(z0)) → U41(isNatKind(activate(z0)))
activate(n__0) → 0
activate(n__plus(z0, z1)) → plus(z0, z1)
activate(n__s(z0)) → s(z0)
activate(z0) → z0
0 → n__0
plus(z0, z1) → n__plus(z0, z1)
s(z0) → n__s(z0)
U31(tt, z0) → U32(isNatKind(activate(z0)))
U41(tt) → tt
U32(tt) → tt
isNat(n__0) → tt
isNat(n__plus(z0, z1)) → U11(isNatKind(activate(z0)), activate(z0), activate(z1))
isNat(n__s(z0)) → U21(isNatKind(activate(z0)), activate(z0))
U11(tt, z0, z1) → U12(isNatKind(activate(z0)), activate(z0), activate(z1))
U12(tt, z0, z1) → U13(isNatKind(activate(z1)), activate(z0), activate(z1))
U13(tt, z0, z1) → U14(isNatKind(activate(z1)), activate(z0), activate(z1))
U14(tt, z0, z1) → U15(isNat(activate(z0)), activate(z1))
U15(tt, z0) → U16(isNat(activate(z0)))
U21(tt, z0) → U22(isNatKind(activate(z0)), activate(z0))
U22(tt, z0) → U23(isNat(activate(z0)))
U23(tt) → tt
U16(tt) → tt
Tuples:
U11'(tt, z0, z1) → c(U12'(isNatKind(activate(z0)), activate(z0), activate(z1)), ISNATKIND(activate(z0)))
U12'(tt, z0, z1) → c1(U13'(isNatKind(activate(z1)), activate(z0), activate(z1)), ISNATKIND(activate(z1)))
U13'(tt, z0, z1) → c2(U14'(isNatKind(activate(z1)), activate(z0), activate(z1)), ISNATKIND(activate(z1)))
U14'(tt, z0, z1) → c3(U15'(isNat(activate(z0)), activate(z1)), ISNAT(activate(z0)))
U15'(tt, z0) → c4(ISNAT(activate(z0)))
U21'(tt, z0) → c6(U22'(isNatKind(activate(z0)), activate(z0)), ISNATKIND(activate(z0)))
U22'(tt, z0) → c7(ISNAT(activate(z0)))
U31'(tt, z0) → c9(ISNATKIND(activate(z0)))
U51'(tt, z0) → c12(ISNATKIND(activate(z0)))
U63'(tt, z0, z1) → c16(ISNATKIND(activate(z1)))
ISNAT(n__plus(z0, z1)) → c19(U11'(isNatKind(activate(z0)), activate(z0), activate(z1)), ISNATKIND(activate(z0)))
ISNAT(n__s(z0)) → c20(U21'(isNatKind(activate(z0)), activate(z0)), ISNATKIND(activate(z0)))
ISNATKIND(n__plus(z0, z1)) → c22(U31'(isNatKind(activate(z0)), activate(z1)), ISNATKIND(activate(z0)))
ISNATKIND(n__s(z0)) → c23(ISNATKIND(activate(z0)))
U61'(tt, z0, z1) → c5(U62'(isNatKind(activate(z0)), activate(z0), activate(z1)))
U61'(tt, z0, z1) → c5(ISNATKIND(activate(z0)))
U62'(tt, z0, z1) → c5(U63'(isNat(activate(z1)), activate(z0), activate(z1)))
U62'(tt, z0, z1) → c5(ISNAT(activate(z1)))
S tuples:
U31'(tt, z0) → c9(ISNATKIND(activate(z0)))
K tuples:
U51'(tt, z0) → c12(ISNATKIND(activate(z0)))
U61'(tt, z0, z1) → c5(U62'(isNatKind(activate(z0)), activate(z0), activate(z1)))
U61'(tt, z0, z1) → c5(ISNATKIND(activate(z0)))
U62'(tt, z0, z1) → c5(U63'(isNat(activate(z1)), activate(z0), activate(z1)))
U62'(tt, z0, z1) → c5(ISNAT(activate(z1)))
U63'(tt, z0, z1) → c16(ISNATKIND(activate(z1)))
U22'(tt, z0) → c7(ISNAT(activate(z0)))
ISNAT(n__s(z0)) → c20(U21'(isNatKind(activate(z0)), activate(z0)), ISNATKIND(activate(z0)))
U21'(tt, z0) → c6(U22'(isNatKind(activate(z0)), activate(z0)), ISNATKIND(activate(z0)))
ISNAT(n__plus(z0, z1)) → c19(U11'(isNatKind(activate(z0)), activate(z0), activate(z1)), ISNATKIND(activate(z0)))
U11'(tt, z0, z1) → c(U12'(isNatKind(activate(z0)), activate(z0), activate(z1)), ISNATKIND(activate(z0)))
U12'(tt, z0, z1) → c1(U13'(isNatKind(activate(z1)), activate(z0), activate(z1)), ISNATKIND(activate(z1)))
U13'(tt, z0, z1) → c2(U14'(isNatKind(activate(z1)), activate(z0), activate(z1)), ISNATKIND(activate(z1)))
U14'(tt, z0, z1) → c3(U15'(isNat(activate(z0)), activate(z1)), ISNAT(activate(z0)))
U15'(tt, z0) → c4(ISNAT(activate(z0)))
ISNATKIND(n__plus(z0, z1)) → c22(U31'(isNatKind(activate(z0)), activate(z1)), ISNATKIND(activate(z0)))
ISNATKIND(n__s(z0)) → c23(ISNATKIND(activate(z0)))
Defined Rule Symbols:
isNatKind, activate, 0, plus, s, U31, U41, U32, isNat, U11, U12, U13, U14, U15, U21, U22, U23, U16
Defined Pair Symbols:
U11', U12', U13', U14', U15', U21', U22', U31', U51', U63', ISNAT, ISNATKIND, U61', U62'
Compound Symbols:
c, c1, c2, c3, c4, c6, c7, c9, c12, c16, c19, c20, c22, c23, c5
(25) CdtKnowledgeProof (EQUIVALENT transformation)
The following tuples could be moved from S to K by knowledge propagation:
U31'(tt, z0) → c9(ISNATKIND(activate(z0)))
ISNATKIND(n__plus(z0, z1)) → c22(U31'(isNatKind(activate(z0)), activate(z1)), ISNATKIND(activate(z0)))
ISNATKIND(n__s(z0)) → c23(ISNATKIND(activate(z0)))
Now S is empty
(26) BOUNDS(O(1), O(1))