(0) Obligation:

Q restricted rewrite system:
The TRS R consists of the following rules:

U11(tt, V1, V2) → U12(isNat(activate(V1)), activate(V2))
U12(tt, V2) → U13(isNat(activate(V2)))
U13(tt) → tt
U21(tt, V1) → U22(isNat(activate(V1)))
U22(tt) → tt
U31(tt, V1, V2) → U32(isNat(activate(V1)), activate(V2))
U32(tt, V2) → U33(isNat(activate(V2)))
U33(tt) → tt
U41(tt, N) → activate(N)
U51(tt, M, N) → s(plus(activate(N), activate(M)))
U61(tt) → 0
U71(tt, M, N) → plus(x(activate(N), activate(M)), activate(N))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__plus(V1, V2)) → U11(and(isNatKind(activate(V1)), n__isNatKind(activate(V2))), activate(V1), activate(V2))
isNat(n__s(V1)) → U21(isNatKind(activate(V1)), activate(V1))
isNat(n__x(V1, V2)) → U31(and(isNatKind(activate(V1)), n__isNatKind(activate(V2))), activate(V1), activate(V2))
isNatKind(n__0) → tt
isNatKind(n__plus(V1, V2)) → and(isNatKind(activate(V1)), n__isNatKind(activate(V2)))
isNatKind(n__s(V1)) → isNatKind(activate(V1))
isNatKind(n__x(V1, V2)) → and(isNatKind(activate(V1)), n__isNatKind(activate(V2)))
plus(N, 0) → U41(and(isNat(N), n__isNatKind(N)), N)
plus(N, s(M)) → U51(and(and(isNat(M), n__isNatKind(M)), n__and(isNat(N), n__isNatKind(N))), M, N)
x(N, 0) → U61(and(isNat(N), n__isNatKind(N)))
x(N, s(M)) → U71(and(and(isNat(M), n__isNatKind(M)), n__and(isNat(N), n__isNatKind(N))), M, N)
0n__0
plus(X1, X2) → n__plus(X1, X2)
isNatKind(X) → n__isNatKind(X)
s(X) → n__s(X)
x(X1, X2) → n__x(X1, X2)
and(X1, X2) → n__and(X1, X2)
activate(n__0) → 0
activate(n__plus(X1, X2)) → plus(X1, X2)
activate(n__isNatKind(X)) → isNatKind(X)
activate(n__s(X)) → s(X)
activate(n__x(X1, X2)) → x(X1, X2)
activate(n__and(X1, X2)) → and(X1, X2)
activate(X) → X

Q is empty.

(1) DependencyPairsProof (EQUIVALENT transformation)

Using Dependency Pairs [AG00,LPAR04] we result in the following initial DP problem.

(2) Obligation:

Q DP problem:
The TRS P consists of the following rules:

U111(tt, V1, V2) → U121(isNat(activate(V1)), activate(V2))
U111(tt, V1, V2) → ISNAT(activate(V1))
U111(tt, V1, V2) → ACTIVATE(V1)
U111(tt, V1, V2) → ACTIVATE(V2)
U121(tt, V2) → U131(isNat(activate(V2)))
U121(tt, V2) → ISNAT(activate(V2))
U121(tt, V2) → ACTIVATE(V2)
U211(tt, V1) → U221(isNat(activate(V1)))
U211(tt, V1) → ISNAT(activate(V1))
U211(tt, V1) → ACTIVATE(V1)
U311(tt, V1, V2) → U321(isNat(activate(V1)), activate(V2))
U311(tt, V1, V2) → ISNAT(activate(V1))
U311(tt, V1, V2) → ACTIVATE(V1)
U311(tt, V1, V2) → ACTIVATE(V2)
U321(tt, V2) → U331(isNat(activate(V2)))
U321(tt, V2) → ISNAT(activate(V2))
U321(tt, V2) → ACTIVATE(V2)
U411(tt, N) → ACTIVATE(N)
U511(tt, M, N) → S(plus(activate(N), activate(M)))
U511(tt, M, N) → PLUS(activate(N), activate(M))
U511(tt, M, N) → ACTIVATE(N)
U511(tt, M, N) → ACTIVATE(M)
U611(tt) → 01
U711(tt, M, N) → PLUS(x(activate(N), activate(M)), activate(N))
U711(tt, M, N) → X(activate(N), activate(M))
U711(tt, M, N) → ACTIVATE(N)
U711(tt, M, N) → ACTIVATE(M)
AND(tt, X) → ACTIVATE(X)
ISNAT(n__plus(V1, V2)) → U111(and(isNatKind(activate(V1)), n__isNatKind(activate(V2))), activate(V1), activate(V2))
ISNAT(n__plus(V1, V2)) → AND(isNatKind(activate(V1)), n__isNatKind(activate(V2)))
ISNAT(n__plus(V1, V2)) → ISNATKIND(activate(V1))
ISNAT(n__plus(V1, V2)) → ACTIVATE(V1)
ISNAT(n__plus(V1, V2)) → ACTIVATE(V2)
ISNAT(n__s(V1)) → U211(isNatKind(activate(V1)), activate(V1))
ISNAT(n__s(V1)) → ISNATKIND(activate(V1))
ISNAT(n__s(V1)) → ACTIVATE(V1)
ISNAT(n__x(V1, V2)) → U311(and(isNatKind(activate(V1)), n__isNatKind(activate(V2))), activate(V1), activate(V2))
ISNAT(n__x(V1, V2)) → AND(isNatKind(activate(V1)), n__isNatKind(activate(V2)))
ISNAT(n__x(V1, V2)) → ISNATKIND(activate(V1))
ISNAT(n__x(V1, V2)) → ACTIVATE(V1)
ISNAT(n__x(V1, V2)) → ACTIVATE(V2)
ISNATKIND(n__plus(V1, V2)) → AND(isNatKind(activate(V1)), n__isNatKind(activate(V2)))
ISNATKIND(n__plus(V1, V2)) → ISNATKIND(activate(V1))
ISNATKIND(n__plus(V1, V2)) → ACTIVATE(V1)
ISNATKIND(n__plus(V1, V2)) → ACTIVATE(V2)
ISNATKIND(n__s(V1)) → ISNATKIND(activate(V1))
ISNATKIND(n__s(V1)) → ACTIVATE(V1)
ISNATKIND(n__x(V1, V2)) → AND(isNatKind(activate(V1)), n__isNatKind(activate(V2)))
ISNATKIND(n__x(V1, V2)) → ISNATKIND(activate(V1))
ISNATKIND(n__x(V1, V2)) → ACTIVATE(V1)
ISNATKIND(n__x(V1, V2)) → ACTIVATE(V2)
PLUS(N, 0) → U411(and(isNat(N), n__isNatKind(N)), N)
PLUS(N, 0) → AND(isNat(N), n__isNatKind(N))
PLUS(N, 0) → ISNAT(N)
PLUS(N, s(M)) → U511(and(and(isNat(M), n__isNatKind(M)), n__and(isNat(N), n__isNatKind(N))), M, N)
PLUS(N, s(M)) → AND(and(isNat(M), n__isNatKind(M)), n__and(isNat(N), n__isNatKind(N)))
PLUS(N, s(M)) → AND(isNat(M), n__isNatKind(M))
PLUS(N, s(M)) → ISNAT(M)
PLUS(N, s(M)) → ISNAT(N)
X(N, 0) → U611(and(isNat(N), n__isNatKind(N)))
X(N, 0) → AND(isNat(N), n__isNatKind(N))
X(N, 0) → ISNAT(N)
X(N, s(M)) → U711(and(and(isNat(M), n__isNatKind(M)), n__and(isNat(N), n__isNatKind(N))), M, N)
X(N, s(M)) → AND(and(isNat(M), n__isNatKind(M)), n__and(isNat(N), n__isNatKind(N)))
X(N, s(M)) → AND(isNat(M), n__isNatKind(M))
X(N, s(M)) → ISNAT(M)
X(N, s(M)) → ISNAT(N)
ACTIVATE(n__0) → 01
ACTIVATE(n__plus(X1, X2)) → PLUS(X1, X2)
ACTIVATE(n__isNatKind(X)) → ISNATKIND(X)
ACTIVATE(n__s(X)) → S(X)
ACTIVATE(n__x(X1, X2)) → X(X1, X2)
ACTIVATE(n__and(X1, X2)) → AND(X1, X2)

The TRS R consists of the following rules:

U11(tt, V1, V2) → U12(isNat(activate(V1)), activate(V2))
U12(tt, V2) → U13(isNat(activate(V2)))
U13(tt) → tt
U21(tt, V1) → U22(isNat(activate(V1)))
U22(tt) → tt
U31(tt, V1, V2) → U32(isNat(activate(V1)), activate(V2))
U32(tt, V2) → U33(isNat(activate(V2)))
U33(tt) → tt
U41(tt, N) → activate(N)
U51(tt, M, N) → s(plus(activate(N), activate(M)))
U61(tt) → 0
U71(tt, M, N) → plus(x(activate(N), activate(M)), activate(N))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__plus(V1, V2)) → U11(and(isNatKind(activate(V1)), n__isNatKind(activate(V2))), activate(V1), activate(V2))
isNat(n__s(V1)) → U21(isNatKind(activate(V1)), activate(V1))
isNat(n__x(V1, V2)) → U31(and(isNatKind(activate(V1)), n__isNatKind(activate(V2))), activate(V1), activate(V2))
isNatKind(n__0) → tt
isNatKind(n__plus(V1, V2)) → and(isNatKind(activate(V1)), n__isNatKind(activate(V2)))
isNatKind(n__s(V1)) → isNatKind(activate(V1))
isNatKind(n__x(V1, V2)) → and(isNatKind(activate(V1)), n__isNatKind(activate(V2)))
plus(N, 0) → U41(and(isNat(N), n__isNatKind(N)), N)
plus(N, s(M)) → U51(and(and(isNat(M), n__isNatKind(M)), n__and(isNat(N), n__isNatKind(N))), M, N)
x(N, 0) → U61(and(isNat(N), n__isNatKind(N)))
x(N, s(M)) → U71(and(and(isNat(M), n__isNatKind(M)), n__and(isNat(N), n__isNatKind(N))), M, N)
0n__0
plus(X1, X2) → n__plus(X1, X2)
isNatKind(X) → n__isNatKind(X)
s(X) → n__s(X)
x(X1, X2) → n__x(X1, X2)
and(X1, X2) → n__and(X1, X2)
activate(n__0) → 0
activate(n__plus(X1, X2)) → plus(X1, X2)
activate(n__isNatKind(X)) → isNatKind(X)
activate(n__s(X)) → s(X)
activate(n__x(X1, X2)) → x(X1, X2)
activate(n__and(X1, X2)) → and(X1, X2)
activate(X) → X

Q is empty.
We have to consider all minimal (P,Q,R)-chains.

(3) DependencyGraphProof (EQUIVALENT transformation)

The approximation of the Dependency Graph [LPAR04,FROCOS05,EDGSTAR] contains 1 SCC with 8 less nodes.

(4) Obligation:

Q DP problem:
The TRS P consists of the following rules:

U121(tt, V2) → ISNAT(activate(V2))
ISNAT(n__plus(V1, V2)) → U111(and(isNatKind(activate(V1)), n__isNatKind(activate(V2))), activate(V1), activate(V2))
U111(tt, V1, V2) → U121(isNat(activate(V1)), activate(V2))
U121(tt, V2) → ACTIVATE(V2)
ACTIVATE(n__plus(X1, X2)) → PLUS(X1, X2)
PLUS(N, 0) → U411(and(isNat(N), n__isNatKind(N)), N)
U411(tt, N) → ACTIVATE(N)
ACTIVATE(n__isNatKind(X)) → ISNATKIND(X)
ISNATKIND(n__plus(V1, V2)) → AND(isNatKind(activate(V1)), n__isNatKind(activate(V2)))
AND(tt, X) → ACTIVATE(X)
ACTIVATE(n__x(X1, X2)) → X(X1, X2)
X(N, 0) → AND(isNat(N), n__isNatKind(N))
X(N, 0) → ISNAT(N)
ISNAT(n__plus(V1, V2)) → AND(isNatKind(activate(V1)), n__isNatKind(activate(V2)))
ISNAT(n__plus(V1, V2)) → ISNATKIND(activate(V1))
ISNATKIND(n__plus(V1, V2)) → ISNATKIND(activate(V1))
ISNATKIND(n__plus(V1, V2)) → ACTIVATE(V1)
ACTIVATE(n__and(X1, X2)) → AND(X1, X2)
ISNATKIND(n__plus(V1, V2)) → ACTIVATE(V2)
ISNATKIND(n__s(V1)) → ISNATKIND(activate(V1))
ISNATKIND(n__s(V1)) → ACTIVATE(V1)
ISNATKIND(n__x(V1, V2)) → AND(isNatKind(activate(V1)), n__isNatKind(activate(V2)))
ISNATKIND(n__x(V1, V2)) → ISNATKIND(activate(V1))
ISNATKIND(n__x(V1, V2)) → ACTIVATE(V1)
ISNATKIND(n__x(V1, V2)) → ACTIVATE(V2)
ISNAT(n__plus(V1, V2)) → ACTIVATE(V1)
ISNAT(n__plus(V1, V2)) → ACTIVATE(V2)
ISNAT(n__s(V1)) → U211(isNatKind(activate(V1)), activate(V1))
U211(tt, V1) → ISNAT(activate(V1))
ISNAT(n__s(V1)) → ISNATKIND(activate(V1))
ISNAT(n__s(V1)) → ACTIVATE(V1)
ISNAT(n__x(V1, V2)) → U311(and(isNatKind(activate(V1)), n__isNatKind(activate(V2))), activate(V1), activate(V2))
U311(tt, V1, V2) → U321(isNat(activate(V1)), activate(V2))
U321(tt, V2) → ISNAT(activate(V2))
ISNAT(n__x(V1, V2)) → AND(isNatKind(activate(V1)), n__isNatKind(activate(V2)))
ISNAT(n__x(V1, V2)) → ISNATKIND(activate(V1))
ISNAT(n__x(V1, V2)) → ACTIVATE(V1)
ISNAT(n__x(V1, V2)) → ACTIVATE(V2)
U321(tt, V2) → ACTIVATE(V2)
U311(tt, V1, V2) → ISNAT(activate(V1))
U311(tt, V1, V2) → ACTIVATE(V1)
U311(tt, V1, V2) → ACTIVATE(V2)
U211(tt, V1) → ACTIVATE(V1)
X(N, s(M)) → U711(and(and(isNat(M), n__isNatKind(M)), n__and(isNat(N), n__isNatKind(N))), M, N)
U711(tt, M, N) → PLUS(x(activate(N), activate(M)), activate(N))
PLUS(N, 0) → AND(isNat(N), n__isNatKind(N))
PLUS(N, 0) → ISNAT(N)
PLUS(N, s(M)) → U511(and(and(isNat(M), n__isNatKind(M)), n__and(isNat(N), n__isNatKind(N))), M, N)
U511(tt, M, N) → PLUS(activate(N), activate(M))
PLUS(N, s(M)) → AND(and(isNat(M), n__isNatKind(M)), n__and(isNat(N), n__isNatKind(N)))
PLUS(N, s(M)) → AND(isNat(M), n__isNatKind(M))
PLUS(N, s(M)) → ISNAT(M)
PLUS(N, s(M)) → ISNAT(N)
U511(tt, M, N) → ACTIVATE(N)
U511(tt, M, N) → ACTIVATE(M)
U711(tt, M, N) → X(activate(N), activate(M))
X(N, s(M)) → AND(and(isNat(M), n__isNatKind(M)), n__and(isNat(N), n__isNatKind(N)))
X(N, s(M)) → AND(isNat(M), n__isNatKind(M))
X(N, s(M)) → ISNAT(M)
X(N, s(M)) → ISNAT(N)
U711(tt, M, N) → ACTIVATE(N)
U711(tt, M, N) → ACTIVATE(M)
U111(tt, V1, V2) → ISNAT(activate(V1))
U111(tt, V1, V2) → ACTIVATE(V1)
U111(tt, V1, V2) → ACTIVATE(V2)

The TRS R consists of the following rules:

U11(tt, V1, V2) → U12(isNat(activate(V1)), activate(V2))
U12(tt, V2) → U13(isNat(activate(V2)))
U13(tt) → tt
U21(tt, V1) → U22(isNat(activate(V1)))
U22(tt) → tt
U31(tt, V1, V2) → U32(isNat(activate(V1)), activate(V2))
U32(tt, V2) → U33(isNat(activate(V2)))
U33(tt) → tt
U41(tt, N) → activate(N)
U51(tt, M, N) → s(plus(activate(N), activate(M)))
U61(tt) → 0
U71(tt, M, N) → plus(x(activate(N), activate(M)), activate(N))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__plus(V1, V2)) → U11(and(isNatKind(activate(V1)), n__isNatKind(activate(V2))), activate(V1), activate(V2))
isNat(n__s(V1)) → U21(isNatKind(activate(V1)), activate(V1))
isNat(n__x(V1, V2)) → U31(and(isNatKind(activate(V1)), n__isNatKind(activate(V2))), activate(V1), activate(V2))
isNatKind(n__0) → tt
isNatKind(n__plus(V1, V2)) → and(isNatKind(activate(V1)), n__isNatKind(activate(V2)))
isNatKind(n__s(V1)) → isNatKind(activate(V1))
isNatKind(n__x(V1, V2)) → and(isNatKind(activate(V1)), n__isNatKind(activate(V2)))
plus(N, 0) → U41(and(isNat(N), n__isNatKind(N)), N)
plus(N, s(M)) → U51(and(and(isNat(M), n__isNatKind(M)), n__and(isNat(N), n__isNatKind(N))), M, N)
x(N, 0) → U61(and(isNat(N), n__isNatKind(N)))
x(N, s(M)) → U71(and(and(isNat(M), n__isNatKind(M)), n__and(isNat(N), n__isNatKind(N))), M, N)
0n__0
plus(X1, X2) → n__plus(X1, X2)
isNatKind(X) → n__isNatKind(X)
s(X) → n__s(X)
x(X1, X2) → n__x(X1, X2)
and(X1, X2) → n__and(X1, X2)
activate(n__0) → 0
activate(n__plus(X1, X2)) → plus(X1, X2)
activate(n__isNatKind(X)) → isNatKind(X)
activate(n__s(X)) → s(X)
activate(n__x(X1, X2)) → x(X1, X2)
activate(n__and(X1, X2)) → and(X1, X2)
activate(X) → X

Q is empty.
We have to consider all minimal (P,Q,R)-chains.

(5) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U121(tt, V2) → ISNAT(activate(V2))
ISNAT(n__plus(V1, V2)) → U111(and(isNatKind(activate(V1)), n__isNatKind(activate(V2))), activate(V1), activate(V2))
U111(tt, V1, V2) → U121(isNat(activate(V1)), activate(V2))
U121(tt, V2) → ACTIVATE(V2)
ACTIVATE(n__plus(X1, X2)) → PLUS(X1, X2)
PLUS(N, 0) → U411(and(isNat(N), n__isNatKind(N)), N)
U411(tt, N) → ACTIVATE(N)
ACTIVATE(n__isNatKind(X)) → ISNATKIND(X)
ISNATKIND(n__plus(V1, V2)) → AND(isNatKind(activate(V1)), n__isNatKind(activate(V2)))
AND(tt, X) → ACTIVATE(X)
ACTIVATE(n__x(X1, X2)) → X(X1, X2)
X(N, 0) → AND(isNat(N), n__isNatKind(N))
X(N, 0) → ISNAT(N)
ISNAT(n__plus(V1, V2)) → AND(isNatKind(activate(V1)), n__isNatKind(activate(V2)))
ISNAT(n__plus(V1, V2)) → ISNATKIND(activate(V1))
ISNATKIND(n__plus(V1, V2)) → ISNATKIND(activate(V1))
ISNATKIND(n__plus(V1, V2)) → ACTIVATE(V1)
ACTIVATE(n__and(X1, X2)) → AND(X1, X2)
ISNATKIND(n__plus(V1, V2)) → ACTIVATE(V2)
ISNATKIND(n__s(V1)) → ISNATKIND(activate(V1))
ISNATKIND(n__s(V1)) → ACTIVATE(V1)
ISNATKIND(n__x(V1, V2)) → AND(isNatKind(activate(V1)), n__isNatKind(activate(V2)))
ISNATKIND(n__x(V1, V2)) → ISNATKIND(activate(V1))
ISNATKIND(n__x(V1, V2)) → ACTIVATE(V1)
ISNATKIND(n__x(V1, V2)) → ACTIVATE(V2)
ISNAT(n__plus(V1, V2)) → ACTIVATE(V1)
ISNAT(n__plus(V1, V2)) → ACTIVATE(V2)
ISNAT(n__s(V1)) → U211(isNatKind(activate(V1)), activate(V1))
U211(tt, V1) → ISNAT(activate(V1))
ISNAT(n__s(V1)) → ISNATKIND(activate(V1))
ISNAT(n__s(V1)) → ACTIVATE(V1)
ISNAT(n__x(V1, V2)) → U311(and(isNatKind(activate(V1)), n__isNatKind(activate(V2))), activate(V1), activate(V2))
U311(tt, V1, V2) → U321(isNat(activate(V1)), activate(V2))
U321(tt, V2) → ISNAT(activate(V2))
ISNAT(n__x(V1, V2)) → AND(isNatKind(activate(V1)), n__isNatKind(activate(V2)))
ISNAT(n__x(V1, V2)) → ISNATKIND(activate(V1))
ISNAT(n__x(V1, V2)) → ACTIVATE(V1)
ISNAT(n__x(V1, V2)) → ACTIVATE(V2)
U311(tt, V1, V2) → ISNAT(activate(V1))
U311(tt, V1, V2) → ACTIVATE(V1)
U311(tt, V1, V2) → ACTIVATE(V2)
U211(tt, V1) → ACTIVATE(V1)
X(N, s(M)) → U711(and(and(isNat(M), n__isNatKind(M)), n__and(isNat(N), n__isNatKind(N))), M, N)
U711(tt, M, N) → PLUS(x(activate(N), activate(M)), activate(N))
PLUS(N, 0) → AND(isNat(N), n__isNatKind(N))
PLUS(N, 0) → ISNAT(N)
PLUS(N, s(M)) → U511(and(and(isNat(M), n__isNatKind(M)), n__and(isNat(N), n__isNatKind(N))), M, N)
U511(tt, M, N) → PLUS(activate(N), activate(M))
PLUS(N, s(M)) → AND(and(isNat(M), n__isNatKind(M)), n__and(isNat(N), n__isNatKind(N)))
PLUS(N, s(M)) → AND(isNat(M), n__isNatKind(M))
PLUS(N, s(M)) → ISNAT(M)
PLUS(N, s(M)) → ISNAT(N)
U511(tt, M, N) → ACTIVATE(N)
U511(tt, M, N) → ACTIVATE(M)
U711(tt, M, N) → X(activate(N), activate(M))
X(N, s(M)) → AND(and(isNat(M), n__isNatKind(M)), n__and(isNat(N), n__isNatKind(N)))
X(N, s(M)) → AND(isNat(M), n__isNatKind(M))
X(N, s(M)) → ISNAT(M)
X(N, s(M)) → ISNAT(N)
U711(tt, M, N) → ACTIVATE(N)
U711(tt, M, N) → ACTIVATE(M)
U111(tt, V1, V2) → ISNAT(activate(V1))
U111(tt, V1, V2) → ACTIVATE(V1)
U111(tt, V1, V2) → ACTIVATE(V2)
The remaining pairs can at least be oriented weakly.
Used ordering: SCNP Order with the following components:
Level mapping:
Top level AFS:
U121(x0, x1, x2)  =  U121(x0, x2)
ISNAT(x0, x1)  =  ISNAT(x1)
U111(x0, x1, x2, x3)  =  U111(x0)
ACTIVATE(x0, x1)  =  ACTIVATE(x0)
PLUS(x0, x1, x2)  =  PLUS(x0)
U411(x0, x1, x2)  =  U411(x0, x2)
ISNATKIND(x0, x1)  =  ISNATKIND(x1)
AND(x0, x1, x2)  =  AND(x2)
X(x0, x1, x2)  =  X(x0)
U211(x0, x1, x2)  =  U211(x0, x2)
U311(x0, x1, x2, x3)  =  U311(x0)
U321(x0, x1, x2)  =  U321(x0, x2)
U711(x0, x1, x2, x3)  =  U711(x0)
U511(x0, x1, x2, x3)  =  U511(x0)

Tags:
U121 has argument tags [6,40,32] and root tag 3
ISNAT has argument tags [12,0] and root tag 12
U111 has argument tags [0,48,0,0] and root tag 3
ACTIVATE has argument tags [32,32] and root tag 1
PLUS has argument tags [0,60,53] and root tag 2
U411 has argument tags [16,45,32] and root tag 15
ISNATKIND has argument tags [30,30] and root tag 0
AND has argument tags [32,47,48] and root tag 12
X has argument tags [28,56,19] and root tag 2
U211 has argument tags [43,8,32] and root tag 6
U311 has argument tags [0,47,32,0] and root tag 0
U321 has argument tags [32,31,32] and root tag 1
U711 has argument tags [0,20,32,0] and root tag 8
U511 has argument tags [32,16,0,55] and root tag 0

Comparison: MIN
Underlying order for the size change arcs and the rules of R:
Combined order from the following AFS and order.
U121(x1, x2)  =  U121(x1, x2)
tt  =  tt
ISNAT(x1)  =  ISNAT
activate(x1)  =  x1
n__plus(x1, x2)  =  n__plus(x1, x2)
U111(x1, x2, x3)  =  U111(x2, x3)
and(x1, x2)  =  and(x2)
isNatKind(x1)  =  isNatKind(x1)
n__isNatKind(x1)  =  n__isNatKind(x1)
isNat(x1)  =  isNat
ACTIVATE(x1)  =  x1
PLUS(x1, x2)  =  PLUS(x1, x2)
0  =  0
U411(x1, x2)  =  U411(x1, x2)
ISNATKIND(x1)  =  ISNATKIND
AND(x1, x2)  =  AND(x1, x2)
n__x(x1, x2)  =  n__x(x1, x2)
X(x1, x2)  =  X(x1, x2)
n__and(x1, x2)  =  n__and(x2)
n__s(x1)  =  n__s(x1)
U211(x1, x2)  =  U211(x2)
U311(x1, x2, x3)  =  U311(x2, x3)
U321(x1, x2)  =  U321(x2)
s(x1)  =  s(x1)
U711(x1, x2, x3)  =  U711(x1, x2, x3)
x(x1, x2)  =  x(x1, x2)
U511(x1, x2, x3)  =  U511(x2, x3)
n__0  =  n__0
plus(x1, x2)  =  plus(x1, x2)
U41(x1, x2)  =  x2
U71(x1, x2, x3)  =  U71(x1, x2, x3)
U11(x1, x2, x3)  =  U11
U21(x1, x2)  =  U21
U31(x1, x2, x3)  =  U31
U61(x1)  =  U61
U51(x1, x2, x3)  =  U51(x1, x2, x3)
U12(x1, x2)  =  U12
U22(x1)  =  U22
U32(x1, x2)  =  U32
U13(x1)  =  U13
U33(x1)  =  U33

Recursive path order with status [RPO].
Quasi-Precedence:
U12^12 > ISNAT > [nx2, X2, U31^12, U32^11, U71^13, x2, U713] > [nplus2, plus2, U513] > U11^12 > [and1, nand1]
U12^12 > ISNAT > [nx2, X2, U31^12, U32^11, U71^13, x2, U713] > [nplus2, plus2, U513] > [isNatKind1, nisNatKind1, PLUS2, ns1, s1, U51^12] > [and1, nand1]
U12^12 > ISNAT > [nx2, X2, U31^12, U32^11, U71^13, x2, U713] > AND2 > [and1, nand1]
U12^12 > ISNAT > U21^11 > [and1, nand1]
[0, n0, U61] > ISNAT > [nx2, X2, U31^12, U32^11, U71^13, x2, U713] > [nplus2, plus2, U513] > U11^12 > [and1, nand1]
[0, n0, U61] > ISNAT > [nx2, X2, U31^12, U32^11, U71^13, x2, U713] > [nplus2, plus2, U513] > [isNatKind1, nisNatKind1, PLUS2, ns1, s1, U51^12] > [and1, nand1]
[0, n0, U61] > ISNAT > [nx2, X2, U31^12, U32^11, U71^13, x2, U713] > AND2 > [and1, nand1]
[0, n0, U61] > ISNAT > U21^11 > [and1, nand1]
[0, n0, U61] > [isNat, U21] > U11 > U12 > U13 > tt > [nplus2, plus2, U513] > U11^12 > [and1, nand1]
[0, n0, U61] > [isNat, U21] > U11 > U12 > U13 > tt > [nplus2, plus2, U513] > [isNatKind1, nisNatKind1, PLUS2, ns1, s1, U51^12] > [and1, nand1]
[0, n0, U61] > [isNat, U21] > [U31, U32] > U33 > tt > [nplus2, plus2, U513] > U11^12 > [and1, nand1]
[0, n0, U61] > [isNat, U21] > [U31, U32] > U33 > tt > [nplus2, plus2, U513] > [isNatKind1, nisNatKind1, PLUS2, ns1, s1, U51^12] > [and1, nand1]
[0, n0, U61] > [isNat, U21] > U22 > tt > [nplus2, plus2, U513] > U11^12 > [and1, nand1]
[0, n0, U61] > [isNat, U21] > U22 > tt > [nplus2, plus2, U513] > [isNatKind1, nisNatKind1, PLUS2, ns1, s1, U51^12] > [and1, nand1]
[0, n0, U61] > U41^12 > [and1, nand1]
ISNATKIND > [isNatKind1, nisNatKind1, PLUS2, ns1, s1, U51^12] > [and1, nand1]
ISNATKIND > AND2 > [and1, nand1]

Status:
U12^12: multiset
tt: multiset
ISNAT: multiset
nplus2: [2,1]
U11^12: multiset
and1: multiset
isNatKind1: multiset
nisNatKind1: multiset
isNat: []
PLUS2: multiset
0: multiset
U41^12: multiset
ISNATKIND: multiset
AND2: multiset
nx2: [2,1]
X2: [2,1]
nand1: multiset
ns1: multiset
U21^11: [1]
U31^12: [2,1]
U32^11: multiset
s1: multiset
U71^13: [2,3,1]
x2: [2,1]
U51^12: multiset
n0: multiset
plus2: [2,1]
U713: [2,3,1]
U11: []
U21: []
U31: []
U61: multiset
U513: [2,3,1]
U12: multiset
U22: multiset
U32: []
U13: multiset
U33: multiset


The following usable rules [FROCOS05] were oriented:

activate(n__0) → 0
activate(n__plus(X1, X2)) → plus(X1, X2)
plus(N, 0) → U41(and(isNat(N), n__isNatKind(N)), N)
U41(tt, N) → activate(N)
activate(n__isNatKind(X)) → isNatKind(X)
isNatKind(n__plus(V1, V2)) → and(isNatKind(activate(V1)), n__isNatKind(activate(V2)))
and(tt, X) → activate(X)
activate(n__x(X1, X2)) → x(X1, X2)
x(N, s(M)) → U71(and(and(isNat(M), n__isNatKind(M)), n__and(isNat(N), n__isNatKind(N))), M, N)
U71(tt, M, N) → plus(x(activate(N), activate(M)), activate(N))
activate(n__and(X1, X2)) → and(X1, X2)
isNatKind(n__s(V1)) → isNatKind(activate(V1))
isNatKind(n__x(V1, V2)) → and(isNatKind(activate(V1)), n__isNatKind(activate(V2)))
activate(n__s(X)) → s(X)
activate(X) → X
isNatKind(n__0) → tt
isNatKind(X) → n__isNatKind(X)
and(X1, X2) → n__and(X1, X2)
isNat(n__0) → tt
isNat(n__plus(V1, V2)) → U11(and(isNatKind(activate(V1)), n__isNatKind(activate(V2))), activate(V1), activate(V2))
isNat(n__s(V1)) → U21(isNatKind(activate(V1)), activate(V1))
isNat(n__x(V1, V2)) → U31(and(isNatKind(activate(V1)), n__isNatKind(activate(V2))), activate(V1), activate(V2))
x(N, 0) → U61(and(isNat(N), n__isNatKind(N)))
x(X1, X2) → n__x(X1, X2)
plus(N, s(M)) → U51(and(and(isNat(M), n__isNatKind(M)), n__and(isNat(N), n__isNatKind(N))), M, N)
U11(tt, V1, V2) → U12(isNat(activate(V1)), activate(V2))
U21(tt, V1) → U22(isNat(activate(V1)))
U31(tt, V1, V2) → U32(isNat(activate(V1)), activate(V2))
U51(tt, M, N) → s(plus(activate(N), activate(M)))
U12(tt, V2) → U13(isNat(activate(V2)))
U32(tt, V2) → U33(isNat(activate(V2)))
plus(X1, X2) → n__plus(X1, X2)
U22(tt) → tt
U33(tt) → tt
U13(tt) → tt
s(X) → n__s(X)
U61(tt) → 0
0n__0

(6) Obligation:

Q DP problem:
The TRS P consists of the following rules:

U321(tt, V2) → ACTIVATE(V2)

The TRS R consists of the following rules:

U11(tt, V1, V2) → U12(isNat(activate(V1)), activate(V2))
U12(tt, V2) → U13(isNat(activate(V2)))
U13(tt) → tt
U21(tt, V1) → U22(isNat(activate(V1)))
U22(tt) → tt
U31(tt, V1, V2) → U32(isNat(activate(V1)), activate(V2))
U32(tt, V2) → U33(isNat(activate(V2)))
U33(tt) → tt
U41(tt, N) → activate(N)
U51(tt, M, N) → s(plus(activate(N), activate(M)))
U61(tt) → 0
U71(tt, M, N) → plus(x(activate(N), activate(M)), activate(N))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__plus(V1, V2)) → U11(and(isNatKind(activate(V1)), n__isNatKind(activate(V2))), activate(V1), activate(V2))
isNat(n__s(V1)) → U21(isNatKind(activate(V1)), activate(V1))
isNat(n__x(V1, V2)) → U31(and(isNatKind(activate(V1)), n__isNatKind(activate(V2))), activate(V1), activate(V2))
isNatKind(n__0) → tt
isNatKind(n__plus(V1, V2)) → and(isNatKind(activate(V1)), n__isNatKind(activate(V2)))
isNatKind(n__s(V1)) → isNatKind(activate(V1))
isNatKind(n__x(V1, V2)) → and(isNatKind(activate(V1)), n__isNatKind(activate(V2)))
plus(N, 0) → U41(and(isNat(N), n__isNatKind(N)), N)
plus(N, s(M)) → U51(and(and(isNat(M), n__isNatKind(M)), n__and(isNat(N), n__isNatKind(N))), M, N)
x(N, 0) → U61(and(isNat(N), n__isNatKind(N)))
x(N, s(M)) → U71(and(and(isNat(M), n__isNatKind(M)), n__and(isNat(N), n__isNatKind(N))), M, N)
0n__0
plus(X1, X2) → n__plus(X1, X2)
isNatKind(X) → n__isNatKind(X)
s(X) → n__s(X)
x(X1, X2) → n__x(X1, X2)
and(X1, X2) → n__and(X1, X2)
activate(n__0) → 0
activate(n__plus(X1, X2)) → plus(X1, X2)
activate(n__isNatKind(X)) → isNatKind(X)
activate(n__s(X)) → s(X)
activate(n__x(X1, X2)) → x(X1, X2)
activate(n__and(X1, X2)) → and(X1, X2)
activate(X) → X

Q is empty.
We have to consider all minimal (P,Q,R)-chains.

(7) DependencyGraphProof (EQUIVALENT transformation)

The approximation of the Dependency Graph [LPAR04,FROCOS05,EDGSTAR] contains 0 SCCs with 1 less node.

(8) TRUE