(0) Obligation:

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

a__U11(tt, V2) → a__U12(a__isNat(V2))
a__U12(tt) → tt
a__U21(tt) → tt
a__U31(tt, V2) → a__U32(a__isNat(V2))
a__U32(tt) → tt
a__U41(tt, N) → mark(N)
a__U51(tt, M, N) → a__U52(a__isNat(N), M, N)
a__U52(tt, M, N) → s(a__plus(mark(N), mark(M)))
a__U61(tt) → 0
a__U71(tt, M, N) → a__U72(a__isNat(N), M, N)
a__U72(tt, M, N) → a__plus(a__x(mark(N), mark(M)), mark(N))
a__isNat(0) → tt
a__isNat(plus(V1, V2)) → a__U11(a__isNat(V1), V2)
a__isNat(s(V1)) → a__U21(a__isNat(V1))
a__isNat(x(V1, V2)) → a__U31(a__isNat(V1), V2)
a__plus(N, 0) → a__U41(a__isNat(N), N)
a__plus(N, s(M)) → a__U51(a__isNat(M), M, N)
a__x(N, 0) → a__U61(a__isNat(N))
a__x(N, s(M)) → a__U71(a__isNat(M), M, N)
mark(U11(X1, X2)) → a__U11(mark(X1), X2)
mark(U12(X)) → a__U12(mark(X))
mark(isNat(X)) → a__isNat(X)
mark(U21(X)) → a__U21(mark(X))
mark(U31(X1, X2)) → a__U31(mark(X1), X2)
mark(U32(X)) → a__U32(mark(X))
mark(U41(X1, X2)) → a__U41(mark(X1), X2)
mark(U51(X1, X2, X3)) → a__U51(mark(X1), X2, X3)
mark(U52(X1, X2, X3)) → a__U52(mark(X1), X2, X3)
mark(plus(X1, X2)) → a__plus(mark(X1), mark(X2))
mark(U61(X)) → a__U61(mark(X))
mark(U71(X1, X2, X3)) → a__U71(mark(X1), X2, X3)
mark(U72(X1, X2, X3)) → a__U72(mark(X1), X2, X3)
mark(x(X1, X2)) → a__x(mark(X1), mark(X2))
mark(tt) → tt
mark(s(X)) → s(mark(X))
mark(0) → 0
a__U11(X1, X2) → U11(X1, X2)
a__U12(X) → U12(X)
a__isNat(X) → isNat(X)
a__U21(X) → U21(X)
a__U31(X1, X2) → U31(X1, X2)
a__U32(X) → U32(X)
a__U41(X1, X2) → U41(X1, X2)
a__U51(X1, X2, X3) → U51(X1, X2, X3)
a__U52(X1, X2, X3) → U52(X1, X2, X3)
a__plus(X1, X2) → plus(X1, X2)
a__U61(X) → U61(X)
a__U71(X1, X2, X3) → U71(X1, X2, X3)
a__U72(X1, X2, X3) → U72(X1, X2, X3)
a__x(X1, X2) → x(X1, X2)

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:

A__U11(tt, V2) → A__U12(a__isNat(V2))
A__U11(tt, V2) → A__ISNAT(V2)
A__U31(tt, V2) → A__U32(a__isNat(V2))
A__U31(tt, V2) → A__ISNAT(V2)
A__U41(tt, N) → MARK(N)
A__U51(tt, M, N) → A__U52(a__isNat(N), M, N)
A__U51(tt, M, N) → A__ISNAT(N)
A__U52(tt, M, N) → A__PLUS(mark(N), mark(M))
A__U52(tt, M, N) → MARK(N)
A__U52(tt, M, N) → MARK(M)
A__U71(tt, M, N) → A__U72(a__isNat(N), M, N)
A__U71(tt, M, N) → A__ISNAT(N)
A__U72(tt, M, N) → A__PLUS(a__x(mark(N), mark(M)), mark(N))
A__U72(tt, M, N) → A__X(mark(N), mark(M))
A__U72(tt, M, N) → MARK(N)
A__U72(tt, M, N) → MARK(M)
A__ISNAT(plus(V1, V2)) → A__U11(a__isNat(V1), V2)
A__ISNAT(plus(V1, V2)) → A__ISNAT(V1)
A__ISNAT(s(V1)) → A__U21(a__isNat(V1))
A__ISNAT(s(V1)) → A__ISNAT(V1)
A__ISNAT(x(V1, V2)) → A__U31(a__isNat(V1), V2)
A__ISNAT(x(V1, V2)) → A__ISNAT(V1)
A__PLUS(N, 0) → A__U41(a__isNat(N), N)
A__PLUS(N, 0) → A__ISNAT(N)
A__PLUS(N, s(M)) → A__U51(a__isNat(M), M, N)
A__PLUS(N, s(M)) → A__ISNAT(M)
A__X(N, 0) → A__U61(a__isNat(N))
A__X(N, 0) → A__ISNAT(N)
A__X(N, s(M)) → A__U71(a__isNat(M), M, N)
A__X(N, s(M)) → A__ISNAT(M)
MARK(U11(X1, X2)) → A__U11(mark(X1), X2)
MARK(U11(X1, X2)) → MARK(X1)
MARK(U12(X)) → A__U12(mark(X))
MARK(U12(X)) → MARK(X)
MARK(isNat(X)) → A__ISNAT(X)
MARK(U21(X)) → A__U21(mark(X))
MARK(U21(X)) → MARK(X)
MARK(U31(X1, X2)) → A__U31(mark(X1), X2)
MARK(U31(X1, X2)) → MARK(X1)
MARK(U32(X)) → A__U32(mark(X))
MARK(U32(X)) → MARK(X)
MARK(U41(X1, X2)) → A__U41(mark(X1), X2)
MARK(U41(X1, X2)) → MARK(X1)
MARK(U51(X1, X2, X3)) → A__U51(mark(X1), X2, X3)
MARK(U51(X1, X2, X3)) → MARK(X1)
MARK(U52(X1, X2, X3)) → A__U52(mark(X1), X2, X3)
MARK(U52(X1, X2, X3)) → MARK(X1)
MARK(plus(X1, X2)) → A__PLUS(mark(X1), mark(X2))
MARK(plus(X1, X2)) → MARK(X1)
MARK(plus(X1, X2)) → MARK(X2)
MARK(U61(X)) → A__U61(mark(X))
MARK(U61(X)) → MARK(X)
MARK(U71(X1, X2, X3)) → A__U71(mark(X1), X2, X3)
MARK(U71(X1, X2, X3)) → MARK(X1)
MARK(U72(X1, X2, X3)) → A__U72(mark(X1), X2, X3)
MARK(U72(X1, X2, X3)) → MARK(X1)
MARK(x(X1, X2)) → A__X(mark(X1), mark(X2))
MARK(x(X1, X2)) → MARK(X1)
MARK(x(X1, X2)) → MARK(X2)
MARK(s(X)) → MARK(X)

The TRS R consists of the following rules:

a__U11(tt, V2) → a__U12(a__isNat(V2))
a__U12(tt) → tt
a__U21(tt) → tt
a__U31(tt, V2) → a__U32(a__isNat(V2))
a__U32(tt) → tt
a__U41(tt, N) → mark(N)
a__U51(tt, M, N) → a__U52(a__isNat(N), M, N)
a__U52(tt, M, N) → s(a__plus(mark(N), mark(M)))
a__U61(tt) → 0
a__U71(tt, M, N) → a__U72(a__isNat(N), M, N)
a__U72(tt, M, N) → a__plus(a__x(mark(N), mark(M)), mark(N))
a__isNat(0) → tt
a__isNat(plus(V1, V2)) → a__U11(a__isNat(V1), V2)
a__isNat(s(V1)) → a__U21(a__isNat(V1))
a__isNat(x(V1, V2)) → a__U31(a__isNat(V1), V2)
a__plus(N, 0) → a__U41(a__isNat(N), N)
a__plus(N, s(M)) → a__U51(a__isNat(M), M, N)
a__x(N, 0) → a__U61(a__isNat(N))
a__x(N, s(M)) → a__U71(a__isNat(M), M, N)
mark(U11(X1, X2)) → a__U11(mark(X1), X2)
mark(U12(X)) → a__U12(mark(X))
mark(isNat(X)) → a__isNat(X)
mark(U21(X)) → a__U21(mark(X))
mark(U31(X1, X2)) → a__U31(mark(X1), X2)
mark(U32(X)) → a__U32(mark(X))
mark(U41(X1, X2)) → a__U41(mark(X1), X2)
mark(U51(X1, X2, X3)) → a__U51(mark(X1), X2, X3)
mark(U52(X1, X2, X3)) → a__U52(mark(X1), X2, X3)
mark(plus(X1, X2)) → a__plus(mark(X1), mark(X2))
mark(U61(X)) → a__U61(mark(X))
mark(U71(X1, X2, X3)) → a__U71(mark(X1), X2, X3)
mark(U72(X1, X2, X3)) → a__U72(mark(X1), X2, X3)
mark(x(X1, X2)) → a__x(mark(X1), mark(X2))
mark(tt) → tt
mark(s(X)) → s(mark(X))
mark(0) → 0
a__U11(X1, X2) → U11(X1, X2)
a__U12(X) → U12(X)
a__isNat(X) → isNat(X)
a__U21(X) → U21(X)
a__U31(X1, X2) → U31(X1, X2)
a__U32(X) → U32(X)
a__U41(X1, X2) → U41(X1, X2)
a__U51(X1, X2, X3) → U51(X1, X2, X3)
a__U52(X1, X2, X3) → U52(X1, X2, X3)
a__plus(X1, X2) → plus(X1, X2)
a__U61(X) → U61(X)
a__U71(X1, X2, X3) → U71(X1, X2, X3)
a__U72(X1, X2, X3) → U72(X1, X2, X3)
a__x(X1, X2) → x(X1, X2)

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 2 SCCs with 17 less nodes.

(4) Complex Obligation (AND)

(5) Obligation:

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

A__U11(tt, V2) → A__ISNAT(V2)
A__ISNAT(plus(V1, V2)) → A__U11(a__isNat(V1), V2)
A__ISNAT(plus(V1, V2)) → A__ISNAT(V1)
A__ISNAT(s(V1)) → A__ISNAT(V1)
A__ISNAT(x(V1, V2)) → A__U31(a__isNat(V1), V2)
A__U31(tt, V2) → A__ISNAT(V2)
A__ISNAT(x(V1, V2)) → A__ISNAT(V1)

The TRS R consists of the following rules:

a__U11(tt, V2) → a__U12(a__isNat(V2))
a__U12(tt) → tt
a__U21(tt) → tt
a__U31(tt, V2) → a__U32(a__isNat(V2))
a__U32(tt) → tt
a__U41(tt, N) → mark(N)
a__U51(tt, M, N) → a__U52(a__isNat(N), M, N)
a__U52(tt, M, N) → s(a__plus(mark(N), mark(M)))
a__U61(tt) → 0
a__U71(tt, M, N) → a__U72(a__isNat(N), M, N)
a__U72(tt, M, N) → a__plus(a__x(mark(N), mark(M)), mark(N))
a__isNat(0) → tt
a__isNat(plus(V1, V2)) → a__U11(a__isNat(V1), V2)
a__isNat(s(V1)) → a__U21(a__isNat(V1))
a__isNat(x(V1, V2)) → a__U31(a__isNat(V1), V2)
a__plus(N, 0) → a__U41(a__isNat(N), N)
a__plus(N, s(M)) → a__U51(a__isNat(M), M, N)
a__x(N, 0) → a__U61(a__isNat(N))
a__x(N, s(M)) → a__U71(a__isNat(M), M, N)
mark(U11(X1, X2)) → a__U11(mark(X1), X2)
mark(U12(X)) → a__U12(mark(X))
mark(isNat(X)) → a__isNat(X)
mark(U21(X)) → a__U21(mark(X))
mark(U31(X1, X2)) → a__U31(mark(X1), X2)
mark(U32(X)) → a__U32(mark(X))
mark(U41(X1, X2)) → a__U41(mark(X1), X2)
mark(U51(X1, X2, X3)) → a__U51(mark(X1), X2, X3)
mark(U52(X1, X2, X3)) → a__U52(mark(X1), X2, X3)
mark(plus(X1, X2)) → a__plus(mark(X1), mark(X2))
mark(U61(X)) → a__U61(mark(X))
mark(U71(X1, X2, X3)) → a__U71(mark(X1), X2, X3)
mark(U72(X1, X2, X3)) → a__U72(mark(X1), X2, X3)
mark(x(X1, X2)) → a__x(mark(X1), mark(X2))
mark(tt) → tt
mark(s(X)) → s(mark(X))
mark(0) → 0
a__U11(X1, X2) → U11(X1, X2)
a__U12(X) → U12(X)
a__isNat(X) → isNat(X)
a__U21(X) → U21(X)
a__U31(X1, X2) → U31(X1, X2)
a__U32(X) → U32(X)
a__U41(X1, X2) → U41(X1, X2)
a__U51(X1, X2, X3) → U51(X1, X2, X3)
a__U52(X1, X2, X3) → U52(X1, X2, X3)
a__plus(X1, X2) → plus(X1, X2)
a__U61(X) → U61(X)
a__U71(X1, X2, X3) → U71(X1, X2, X3)
a__U72(X1, X2, X3) → U72(X1, X2, X3)
a__x(X1, X2) → x(X1, X2)

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

(6) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


A__U11(tt, V2) → A__ISNAT(V2)
A__ISNAT(plus(V1, V2)) → A__U11(a__isNat(V1), V2)
A__ISNAT(plus(V1, V2)) → A__ISNAT(V1)
A__ISNAT(x(V1, V2)) → A__U31(a__isNat(V1), V2)
A__U31(tt, V2) → A__ISNAT(V2)
A__ISNAT(x(V1, V2)) → A__ISNAT(V1)
The remaining pairs can at least be oriented weakly.
Used ordering: SCNP Order with the following components:
Level mapping:
Top level AFS:
A__U11(x0, x1, x2)  =  A__U11(x0, x1, x2)
A__ISNAT(x0, x1)  =  A__ISNAT(x1)
A__U31(x0, x1, x2)  =  A__U31(x1, x2)

Tags:
A__U11 has argument tags [7,5,0] and root tag 2
A__ISNAT has argument tags [0,0] and root tag 0
A__U31 has argument tags [0,7,5] and root tag 2

Comparison: MAX
Underlying order for the size change arcs and the rules of R:
Combined order from the following AFS and order.
A__U11(x1, x2)  =  A__U11
tt  =  tt
A__ISNAT(x1)  =  x1
plus(x1, x2)  =  plus(x1, x2)
a__isNat(x1)  =  x1
s(x1)  =  x1
x(x1, x2)  =  x(x1, x2)
A__U31(x1, x2)  =  A__U31(x1)
0  =  0
a__U11(x1, x2)  =  a__U11(x1, x2)
a__U21(x1)  =  x1
a__U31(x1, x2)  =  a__U31(x1, x2)
isNat(x1)  =  isNat
a__U12(x1)  =  a__U12
a__U32(x1)  =  a__U32(x1)
U11(x1, x2)  =  U11(x1, x2)
U21(x1)  =  U21
U31(x1, x2)  =  U31(x1, x2)
U32(x1)  =  U32(x1)
U12(x1)  =  U12

Lexicographic path order with status [LPO].
Quasi-Precedence:
plus2 > AU11 > [isNat, aU321, U21, U321]
plus2 > [aU112, U112] > [aU12, U12] > tt > [isNat, aU321, U21, U321]
x2 > aU312 > U312 > [isNat, aU321, U21, U321]
AU311 > [isNat, aU321, U21, U321]
0 > tt > [isNat, aU321, U21, U321]

Status:
AU11: []
tt: []
plus2: [2,1]
x2: [2,1]
AU311: [1]
0: []
aU112: [1,2]
aU312: [1,2]
isNat: []
aU12: []
aU321: [1]
U112: [1,2]
U21: []
U312: [2,1]
U321: [1]
U12: []


The following usable rules [FROCOS05] were oriented:

a__isNat(0) → tt
a__isNat(plus(V1, V2)) → a__U11(a__isNat(V1), V2)
a__isNat(s(V1)) → a__U21(a__isNat(V1))
a__isNat(x(V1, V2)) → a__U31(a__isNat(V1), V2)
a__isNat(X) → isNat(X)
a__U11(tt, V2) → a__U12(a__isNat(V2))
a__U31(tt, V2) → a__U32(a__isNat(V2))
a__U11(X1, X2) → U11(X1, X2)
a__U21(tt) → tt
a__U21(X) → U21(X)
a__U31(X1, X2) → U31(X1, X2)
a__U32(tt) → tt
a__U32(X) → U32(X)
a__U12(tt) → tt
a__U12(X) → U12(X)

(7) Obligation:

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

A__ISNAT(s(V1)) → A__ISNAT(V1)

The TRS R consists of the following rules:

a__U11(tt, V2) → a__U12(a__isNat(V2))
a__U12(tt) → tt
a__U21(tt) → tt
a__U31(tt, V2) → a__U32(a__isNat(V2))
a__U32(tt) → tt
a__U41(tt, N) → mark(N)
a__U51(tt, M, N) → a__U52(a__isNat(N), M, N)
a__U52(tt, M, N) → s(a__plus(mark(N), mark(M)))
a__U61(tt) → 0
a__U71(tt, M, N) → a__U72(a__isNat(N), M, N)
a__U72(tt, M, N) → a__plus(a__x(mark(N), mark(M)), mark(N))
a__isNat(0) → tt
a__isNat(plus(V1, V2)) → a__U11(a__isNat(V1), V2)
a__isNat(s(V1)) → a__U21(a__isNat(V1))
a__isNat(x(V1, V2)) → a__U31(a__isNat(V1), V2)
a__plus(N, 0) → a__U41(a__isNat(N), N)
a__plus(N, s(M)) → a__U51(a__isNat(M), M, N)
a__x(N, 0) → a__U61(a__isNat(N))
a__x(N, s(M)) → a__U71(a__isNat(M), M, N)
mark(U11(X1, X2)) → a__U11(mark(X1), X2)
mark(U12(X)) → a__U12(mark(X))
mark(isNat(X)) → a__isNat(X)
mark(U21(X)) → a__U21(mark(X))
mark(U31(X1, X2)) → a__U31(mark(X1), X2)
mark(U32(X)) → a__U32(mark(X))
mark(U41(X1, X2)) → a__U41(mark(X1), X2)
mark(U51(X1, X2, X3)) → a__U51(mark(X1), X2, X3)
mark(U52(X1, X2, X3)) → a__U52(mark(X1), X2, X3)
mark(plus(X1, X2)) → a__plus(mark(X1), mark(X2))
mark(U61(X)) → a__U61(mark(X))
mark(U71(X1, X2, X3)) → a__U71(mark(X1), X2, X3)
mark(U72(X1, X2, X3)) → a__U72(mark(X1), X2, X3)
mark(x(X1, X2)) → a__x(mark(X1), mark(X2))
mark(tt) → tt
mark(s(X)) → s(mark(X))
mark(0) → 0
a__U11(X1, X2) → U11(X1, X2)
a__U12(X) → U12(X)
a__isNat(X) → isNat(X)
a__U21(X) → U21(X)
a__U31(X1, X2) → U31(X1, X2)
a__U32(X) → U32(X)
a__U41(X1, X2) → U41(X1, X2)
a__U51(X1, X2, X3) → U51(X1, X2, X3)
a__U52(X1, X2, X3) → U52(X1, X2, X3)
a__plus(X1, X2) → plus(X1, X2)
a__U61(X) → U61(X)
a__U71(X1, X2, X3) → U71(X1, X2, X3)
a__U72(X1, X2, X3) → U72(X1, X2, X3)
a__x(X1, X2) → x(X1, X2)

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

(8) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


A__ISNAT(s(V1)) → A__ISNAT(V1)
The remaining pairs can at least be oriented weakly.
Used ordering: SCNP Order with the following components:
Level mapping:
Top level AFS:
A__ISNAT(x0, x1)  =  A__ISNAT(x1)

Tags:
A__ISNAT has argument tags [1,1] and root tag 0

Comparison: MAX
Underlying order for the size change arcs and the rules of R:
Combined order from the following AFS and order.
A__ISNAT(x1)  =  A__ISNAT
s(x1)  =  s(x1)

Lexicographic path order with status [LPO].
Quasi-Precedence:
trivial

Status:
AISNAT: []
s1: [1]


The following usable rules [FROCOS05] were oriented: none

(9) Obligation:

Q DP problem:
P is empty.
The TRS R consists of the following rules:

a__U11(tt, V2) → a__U12(a__isNat(V2))
a__U12(tt) → tt
a__U21(tt) → tt
a__U31(tt, V2) → a__U32(a__isNat(V2))
a__U32(tt) → tt
a__U41(tt, N) → mark(N)
a__U51(tt, M, N) → a__U52(a__isNat(N), M, N)
a__U52(tt, M, N) → s(a__plus(mark(N), mark(M)))
a__U61(tt) → 0
a__U71(tt, M, N) → a__U72(a__isNat(N), M, N)
a__U72(tt, M, N) → a__plus(a__x(mark(N), mark(M)), mark(N))
a__isNat(0) → tt
a__isNat(plus(V1, V2)) → a__U11(a__isNat(V1), V2)
a__isNat(s(V1)) → a__U21(a__isNat(V1))
a__isNat(x(V1, V2)) → a__U31(a__isNat(V1), V2)
a__plus(N, 0) → a__U41(a__isNat(N), N)
a__plus(N, s(M)) → a__U51(a__isNat(M), M, N)
a__x(N, 0) → a__U61(a__isNat(N))
a__x(N, s(M)) → a__U71(a__isNat(M), M, N)
mark(U11(X1, X2)) → a__U11(mark(X1), X2)
mark(U12(X)) → a__U12(mark(X))
mark(isNat(X)) → a__isNat(X)
mark(U21(X)) → a__U21(mark(X))
mark(U31(X1, X2)) → a__U31(mark(X1), X2)
mark(U32(X)) → a__U32(mark(X))
mark(U41(X1, X2)) → a__U41(mark(X1), X2)
mark(U51(X1, X2, X3)) → a__U51(mark(X1), X2, X3)
mark(U52(X1, X2, X3)) → a__U52(mark(X1), X2, X3)
mark(plus(X1, X2)) → a__plus(mark(X1), mark(X2))
mark(U61(X)) → a__U61(mark(X))
mark(U71(X1, X2, X3)) → a__U71(mark(X1), X2, X3)
mark(U72(X1, X2, X3)) → a__U72(mark(X1), X2, X3)
mark(x(X1, X2)) → a__x(mark(X1), mark(X2))
mark(tt) → tt
mark(s(X)) → s(mark(X))
mark(0) → 0
a__U11(X1, X2) → U11(X1, X2)
a__U12(X) → U12(X)
a__isNat(X) → isNat(X)
a__U21(X) → U21(X)
a__U31(X1, X2) → U31(X1, X2)
a__U32(X) → U32(X)
a__U41(X1, X2) → U41(X1, X2)
a__U51(X1, X2, X3) → U51(X1, X2, X3)
a__U52(X1, X2, X3) → U52(X1, X2, X3)
a__plus(X1, X2) → plus(X1, X2)
a__U61(X) → U61(X)
a__U71(X1, X2, X3) → U71(X1, X2, X3)
a__U72(X1, X2, X3) → U72(X1, X2, X3)
a__x(X1, X2) → x(X1, X2)

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

(10) PisEmptyProof (EQUIVALENT transformation)

The TRS P is empty. Hence, there is no (P,Q,R) chain.

(11) TRUE

(12) Obligation:

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

MARK(U11(X1, X2)) → MARK(X1)
MARK(U12(X)) → MARK(X)
MARK(U21(X)) → MARK(X)
MARK(U31(X1, X2)) → MARK(X1)
MARK(U32(X)) → MARK(X)
MARK(U41(X1, X2)) → A__U41(mark(X1), X2)
A__U41(tt, N) → MARK(N)
MARK(U41(X1, X2)) → MARK(X1)
MARK(U51(X1, X2, X3)) → A__U51(mark(X1), X2, X3)
A__U51(tt, M, N) → A__U52(a__isNat(N), M, N)
A__U52(tt, M, N) → A__PLUS(mark(N), mark(M))
A__PLUS(N, 0) → A__U41(a__isNat(N), N)
A__PLUS(N, s(M)) → A__U51(a__isNat(M), M, N)
A__U52(tt, M, N) → MARK(N)
MARK(U51(X1, X2, X3)) → MARK(X1)
MARK(U52(X1, X2, X3)) → A__U52(mark(X1), X2, X3)
A__U52(tt, M, N) → MARK(M)
MARK(U52(X1, X2, X3)) → MARK(X1)
MARK(plus(X1, X2)) → A__PLUS(mark(X1), mark(X2))
MARK(plus(X1, X2)) → MARK(X1)
MARK(plus(X1, X2)) → MARK(X2)
MARK(U61(X)) → MARK(X)
MARK(U71(X1, X2, X3)) → A__U71(mark(X1), X2, X3)
A__U71(tt, M, N) → A__U72(a__isNat(N), M, N)
A__U72(tt, M, N) → A__PLUS(a__x(mark(N), mark(M)), mark(N))
A__U72(tt, M, N) → A__X(mark(N), mark(M))
A__X(N, s(M)) → A__U71(a__isNat(M), M, N)
A__U72(tt, M, N) → MARK(N)
MARK(U71(X1, X2, X3)) → MARK(X1)
MARK(U72(X1, X2, X3)) → A__U72(mark(X1), X2, X3)
A__U72(tt, M, N) → MARK(M)
MARK(U72(X1, X2, X3)) → MARK(X1)
MARK(x(X1, X2)) → A__X(mark(X1), mark(X2))
MARK(x(X1, X2)) → MARK(X1)
MARK(x(X1, X2)) → MARK(X2)
MARK(s(X)) → MARK(X)

The TRS R consists of the following rules:

a__U11(tt, V2) → a__U12(a__isNat(V2))
a__U12(tt) → tt
a__U21(tt) → tt
a__U31(tt, V2) → a__U32(a__isNat(V2))
a__U32(tt) → tt
a__U41(tt, N) → mark(N)
a__U51(tt, M, N) → a__U52(a__isNat(N), M, N)
a__U52(tt, M, N) → s(a__plus(mark(N), mark(M)))
a__U61(tt) → 0
a__U71(tt, M, N) → a__U72(a__isNat(N), M, N)
a__U72(tt, M, N) → a__plus(a__x(mark(N), mark(M)), mark(N))
a__isNat(0) → tt
a__isNat(plus(V1, V2)) → a__U11(a__isNat(V1), V2)
a__isNat(s(V1)) → a__U21(a__isNat(V1))
a__isNat(x(V1, V2)) → a__U31(a__isNat(V1), V2)
a__plus(N, 0) → a__U41(a__isNat(N), N)
a__plus(N, s(M)) → a__U51(a__isNat(M), M, N)
a__x(N, 0) → a__U61(a__isNat(N))
a__x(N, s(M)) → a__U71(a__isNat(M), M, N)
mark(U11(X1, X2)) → a__U11(mark(X1), X2)
mark(U12(X)) → a__U12(mark(X))
mark(isNat(X)) → a__isNat(X)
mark(U21(X)) → a__U21(mark(X))
mark(U31(X1, X2)) → a__U31(mark(X1), X2)
mark(U32(X)) → a__U32(mark(X))
mark(U41(X1, X2)) → a__U41(mark(X1), X2)
mark(U51(X1, X2, X3)) → a__U51(mark(X1), X2, X3)
mark(U52(X1, X2, X3)) → a__U52(mark(X1), X2, X3)
mark(plus(X1, X2)) → a__plus(mark(X1), mark(X2))
mark(U61(X)) → a__U61(mark(X))
mark(U71(X1, X2, X3)) → a__U71(mark(X1), X2, X3)
mark(U72(X1, X2, X3)) → a__U72(mark(X1), X2, X3)
mark(x(X1, X2)) → a__x(mark(X1), mark(X2))
mark(tt) → tt
mark(s(X)) → s(mark(X))
mark(0) → 0
a__U11(X1, X2) → U11(X1, X2)
a__U12(X) → U12(X)
a__isNat(X) → isNat(X)
a__U21(X) → U21(X)
a__U31(X1, X2) → U31(X1, X2)
a__U32(X) → U32(X)
a__U41(X1, X2) → U41(X1, X2)
a__U51(X1, X2, X3) → U51(X1, X2, X3)
a__U52(X1, X2, X3) → U52(X1, X2, X3)
a__plus(X1, X2) → plus(X1, X2)
a__U61(X) → U61(X)
a__U71(X1, X2, X3) → U71(X1, X2, X3)
a__U72(X1, X2, X3) → U72(X1, X2, X3)
a__x(X1, X2) → x(X1, X2)

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

(13) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


MARK(U41(X1, X2)) → A__U41(mark(X1), X2)
A__U41(tt, N) → MARK(N)
MARK(U41(X1, X2)) → MARK(X1)
A__U51(tt, M, N) → A__U52(a__isNat(N), M, N)
A__U52(tt, M, N) → A__PLUS(mark(N), mark(M))
A__PLUS(N, s(M)) → A__U51(a__isNat(M), M, N)
A__U52(tt, M, N) → MARK(N)
MARK(U51(X1, X2, X3)) → MARK(X1)
MARK(U52(X1, X2, X3)) → A__U52(mark(X1), X2, X3)
A__U52(tt, M, N) → MARK(M)
MARK(U52(X1, X2, X3)) → MARK(X1)
MARK(plus(X1, X2)) → A__PLUS(mark(X1), mark(X2))
MARK(plus(X1, X2)) → MARK(X1)
MARK(plus(X1, X2)) → MARK(X2)
MARK(U71(X1, X2, X3)) → A__U71(mark(X1), X2, X3)
A__U71(tt, M, N) → A__U72(a__isNat(N), M, N)
A__U72(tt, M, N) → A__PLUS(a__x(mark(N), mark(M)), mark(N))
A__U72(tt, M, N) → A__X(mark(N), mark(M))
A__X(N, s(M)) → A__U71(a__isNat(M), M, N)
A__U72(tt, M, N) → MARK(N)
MARK(U71(X1, X2, X3)) → MARK(X1)
MARK(U72(X1, X2, X3)) → A__U72(mark(X1), X2, X3)
A__U72(tt, M, N) → MARK(M)
MARK(U72(X1, X2, X3)) → MARK(X1)
MARK(x(X1, X2)) → MARK(X1)
MARK(x(X1, X2)) → MARK(X2)
MARK(s(X)) → MARK(X)
The remaining pairs can at least be oriented weakly.
Used ordering: SCNP Order with the following components:
Level mapping:
Top level AFS:
MARK(x0, x1)  =  MARK(x1)
A__U41(x0, x1, x2)  =  A__U41(x0, x1)
A__U51(x0, x1, x2, x3)  =  A__U51(x0, x1)
A__U52(x0, x1, x2, x3)  =  A__U52(x0, x1)
A__PLUS(x0, x1, x2)  =  A__PLUS(x0, x1)
A__U71(x0, x1, x2, x3)  =  A__U71(x0, x1)
A__U72(x0, x1, x2, x3)  =  A__U72(x0, x1)
A__X(x0, x1, x2)  =  A__X(x0, x1)

Tags:
MARK has argument tags [0,0] and root tag 4
A__U41 has argument tags [0,7,0] and root tag 3
A__U51 has argument tags [0,16,20,29] and root tag 4
A__U52 has argument tags [0,16,10,12] and root tag 2
A__PLUS has argument tags [0,31,16] and root tag 3
A__U71 has argument tags [0,9,24,4] and root tag 3
A__U72 has argument tags [0,16,8,24] and root tag 2
A__X has argument tags [0,31,22] and root tag 4

Comparison: MAX
Underlying order for the size change arcs and the rules of R:
Combined order from the following AFS and order.
MARK(x1)  =  x1
U11(x1, x2)  =  x1
U12(x1)  =  x1
U21(x1)  =  x1
U31(x1, x2)  =  x1
U32(x1)  =  x1
U41(x1, x2)  =  U41(x1, x2)
A__U41(x1, x2)  =  A__U41(x1, x2)
mark(x1)  =  x1
tt  =  tt
U51(x1, x2, x3)  =  U51(x1, x2, x3)
A__U51(x1, x2, x3)  =  A__U51(x1, x2, x3)
A__U52(x1, x2, x3)  =  A__U52(x1, x2, x3)
a__isNat(x1)  =  a__isNat
A__PLUS(x1, x2)  =  A__PLUS(x1, x2)
0  =  0
s(x1)  =  s(x1)
U52(x1, x2, x3)  =  U52(x1, x2, x3)
plus(x1, x2)  =  plus(x1, x2)
U61(x1)  =  x1
U71(x1, x2, x3)  =  U71(x1, x2, x3)
A__U71(x1, x2, x3)  =  A__U71(x1, x2, x3)
A__U72(x1, x2, x3)  =  A__U72(x1, x2, x3)
a__x(x1, x2)  =  a__x(x1, x2)
A__X(x1, x2)  =  A__X(x1, x2)
U72(x1, x2, x3)  =  U72(x1, x2, x3)
x(x1, x2)  =  x(x1, x2)
a__U11(x1, x2)  =  x1
a__U12(x1)  =  x1
isNat(x1)  =  isNat
a__U21(x1)  =  x1
a__U31(x1, x2)  =  x1
a__U32(x1)  =  x1
a__U41(x1, x2)  =  a__U41(x1, x2)
a__plus(x1, x2)  =  a__plus(x1, x2)
a__U71(x1, x2, x3)  =  a__U71(x1, x2, x3)
a__U72(x1, x2, x3)  =  a__U72(x1, x2, x3)
a__U51(x1, x2, x3)  =  a__U51(x1, x2, x3)
a__U52(x1, x2, x3)  =  a__U52(x1, x2, x3)
a__U61(x1)  =  x1

Lexicographic path order with status [LPO].
Quasi-Precedence:
[U713, AU713, AU723, ax2, AX2, U723, x2, aU713, aU723] > [U412, AU412, tt, U513, AU513, AU523, aisNat, APLUS2, 0, U523, plus2, isNat, aU412, aplus2, aU513, aU523] > s1

Status:
U412: [1,2]
AU412: [1,2]
tt: []
U513: [2,3,1]
AU513: [2,3,1]
AU523: [2,3,1]
aisNat: []
APLUS2: [2,1]
0: []
s1: [1]
U523: [2,3,1]
plus2: [2,1]
U713: [2,3,1]
AU713: [2,3,1]
AU723: [2,3,1]
ax2: [2,1]
AX2: [2,1]
U723: [2,3,1]
x2: [2,1]
isNat: []
aU412: [1,2]
aplus2: [2,1]
aU713: [2,3,1]
aU723: [2,3,1]
aU513: [2,3,1]
aU523: [2,3,1]


The following usable rules [FROCOS05] were oriented:

mark(U11(X1, X2)) → a__U11(mark(X1), X2)
mark(U12(X)) → a__U12(mark(X))
mark(isNat(X)) → a__isNat(X)
mark(U21(X)) → a__U21(mark(X))
mark(U31(X1, X2)) → a__U31(mark(X1), X2)
mark(U32(X)) → a__U32(mark(X))
mark(U41(X1, X2)) → a__U41(mark(X1), X2)
a__U41(tt, N) → mark(N)
mark(plus(X1, X2)) → a__plus(mark(X1), mark(X2))
a__plus(N, 0) → a__U41(a__isNat(N), N)
mark(U71(X1, X2, X3)) → a__U71(mark(X1), X2, X3)
a__U71(tt, M, N) → a__U72(a__isNat(N), M, N)
a__U72(tt, M, N) → a__plus(a__x(mark(N), mark(M)), mark(N))
mark(U72(X1, X2, X3)) → a__U72(mark(X1), X2, X3)
mark(x(X1, X2)) → a__x(mark(X1), mark(X2))
a__x(N, s(M)) → a__U71(a__isNat(M), M, N)
mark(U51(X1, X2, X3)) → a__U51(mark(X1), X2, X3)
mark(U52(X1, X2, X3)) → a__U52(mark(X1), X2, X3)
mark(U61(X)) → a__U61(mark(X))
mark(tt) → tt
mark(s(X)) → s(mark(X))
mark(0) → 0
a__isNat(0) → tt
a__isNat(plus(V1, V2)) → a__U11(a__isNat(V1), V2)
a__isNat(s(V1)) → a__U21(a__isNat(V1))
a__isNat(x(V1, V2)) → a__U31(a__isNat(V1), V2)
a__isNat(X) → isNat(X)
a__x(N, 0) → a__U61(a__isNat(N))
a__x(X1, X2) → x(X1, X2)
a__plus(N, s(M)) → a__U51(a__isNat(M), M, N)
a__U51(tt, M, N) → a__U52(a__isNat(N), M, N)
a__U52(tt, M, N) → s(a__plus(mark(N), mark(M)))
a__plus(X1, X2) → plus(X1, X2)
a__U11(tt, V2) → a__U12(a__isNat(V2))
a__U11(X1, X2) → U11(X1, X2)
a__U12(tt) → tt
a__U12(X) → U12(X)
a__U21(tt) → tt
a__U21(X) → U21(X)
a__U31(tt, V2) → a__U32(a__isNat(V2))
a__U31(X1, X2) → U31(X1, X2)
a__U32(tt) → tt
a__U32(X) → U32(X)
a__U41(X1, X2) → U41(X1, X2)
a__U71(X1, X2, X3) → U71(X1, X2, X3)
a__U72(X1, X2, X3) → U72(X1, X2, X3)
a__U51(X1, X2, X3) → U51(X1, X2, X3)
a__U52(X1, X2, X3) → U52(X1, X2, X3)
a__U61(tt) → 0
a__U61(X) → U61(X)

(14) Obligation:

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

MARK(U11(X1, X2)) → MARK(X1)
MARK(U12(X)) → MARK(X)
MARK(U21(X)) → MARK(X)
MARK(U31(X1, X2)) → MARK(X1)
MARK(U32(X)) → MARK(X)
MARK(U51(X1, X2, X3)) → A__U51(mark(X1), X2, X3)
A__PLUS(N, 0) → A__U41(a__isNat(N), N)
MARK(U61(X)) → MARK(X)
MARK(x(X1, X2)) → A__X(mark(X1), mark(X2))

The TRS R consists of the following rules:

a__U11(tt, V2) → a__U12(a__isNat(V2))
a__U12(tt) → tt
a__U21(tt) → tt
a__U31(tt, V2) → a__U32(a__isNat(V2))
a__U32(tt) → tt
a__U41(tt, N) → mark(N)
a__U51(tt, M, N) → a__U52(a__isNat(N), M, N)
a__U52(tt, M, N) → s(a__plus(mark(N), mark(M)))
a__U61(tt) → 0
a__U71(tt, M, N) → a__U72(a__isNat(N), M, N)
a__U72(tt, M, N) → a__plus(a__x(mark(N), mark(M)), mark(N))
a__isNat(0) → tt
a__isNat(plus(V1, V2)) → a__U11(a__isNat(V1), V2)
a__isNat(s(V1)) → a__U21(a__isNat(V1))
a__isNat(x(V1, V2)) → a__U31(a__isNat(V1), V2)
a__plus(N, 0) → a__U41(a__isNat(N), N)
a__plus(N, s(M)) → a__U51(a__isNat(M), M, N)
a__x(N, 0) → a__U61(a__isNat(N))
a__x(N, s(M)) → a__U71(a__isNat(M), M, N)
mark(U11(X1, X2)) → a__U11(mark(X1), X2)
mark(U12(X)) → a__U12(mark(X))
mark(isNat(X)) → a__isNat(X)
mark(U21(X)) → a__U21(mark(X))
mark(U31(X1, X2)) → a__U31(mark(X1), X2)
mark(U32(X)) → a__U32(mark(X))
mark(U41(X1, X2)) → a__U41(mark(X1), X2)
mark(U51(X1, X2, X3)) → a__U51(mark(X1), X2, X3)
mark(U52(X1, X2, X3)) → a__U52(mark(X1), X2, X3)
mark(plus(X1, X2)) → a__plus(mark(X1), mark(X2))
mark(U61(X)) → a__U61(mark(X))
mark(U71(X1, X2, X3)) → a__U71(mark(X1), X2, X3)
mark(U72(X1, X2, X3)) → a__U72(mark(X1), X2, X3)
mark(x(X1, X2)) → a__x(mark(X1), mark(X2))
mark(tt) → tt
mark(s(X)) → s(mark(X))
mark(0) → 0
a__U11(X1, X2) → U11(X1, X2)
a__U12(X) → U12(X)
a__isNat(X) → isNat(X)
a__U21(X) → U21(X)
a__U31(X1, X2) → U31(X1, X2)
a__U32(X) → U32(X)
a__U41(X1, X2) → U41(X1, X2)
a__U51(X1, X2, X3) → U51(X1, X2, X3)
a__U52(X1, X2, X3) → U52(X1, X2, X3)
a__plus(X1, X2) → plus(X1, X2)
a__U61(X) → U61(X)
a__U71(X1, X2, X3) → U71(X1, X2, X3)
a__U72(X1, X2, X3) → U72(X1, X2, X3)
a__x(X1, X2) → x(X1, X2)

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

(15) DependencyGraphProof (EQUIVALENT transformation)

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

(16) Obligation:

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

MARK(U12(X)) → MARK(X)
MARK(U11(X1, X2)) → MARK(X1)
MARK(U21(X)) → MARK(X)
MARK(U31(X1, X2)) → MARK(X1)
MARK(U32(X)) → MARK(X)
MARK(U61(X)) → MARK(X)

The TRS R consists of the following rules:

a__U11(tt, V2) → a__U12(a__isNat(V2))
a__U12(tt) → tt
a__U21(tt) → tt
a__U31(tt, V2) → a__U32(a__isNat(V2))
a__U32(tt) → tt
a__U41(tt, N) → mark(N)
a__U51(tt, M, N) → a__U52(a__isNat(N), M, N)
a__U52(tt, M, N) → s(a__plus(mark(N), mark(M)))
a__U61(tt) → 0
a__U71(tt, M, N) → a__U72(a__isNat(N), M, N)
a__U72(tt, M, N) → a__plus(a__x(mark(N), mark(M)), mark(N))
a__isNat(0) → tt
a__isNat(plus(V1, V2)) → a__U11(a__isNat(V1), V2)
a__isNat(s(V1)) → a__U21(a__isNat(V1))
a__isNat(x(V1, V2)) → a__U31(a__isNat(V1), V2)
a__plus(N, 0) → a__U41(a__isNat(N), N)
a__plus(N, s(M)) → a__U51(a__isNat(M), M, N)
a__x(N, 0) → a__U61(a__isNat(N))
a__x(N, s(M)) → a__U71(a__isNat(M), M, N)
mark(U11(X1, X2)) → a__U11(mark(X1), X2)
mark(U12(X)) → a__U12(mark(X))
mark(isNat(X)) → a__isNat(X)
mark(U21(X)) → a__U21(mark(X))
mark(U31(X1, X2)) → a__U31(mark(X1), X2)
mark(U32(X)) → a__U32(mark(X))
mark(U41(X1, X2)) → a__U41(mark(X1), X2)
mark(U51(X1, X2, X3)) → a__U51(mark(X1), X2, X3)
mark(U52(X1, X2, X3)) → a__U52(mark(X1), X2, X3)
mark(plus(X1, X2)) → a__plus(mark(X1), mark(X2))
mark(U61(X)) → a__U61(mark(X))
mark(U71(X1, X2, X3)) → a__U71(mark(X1), X2, X3)
mark(U72(X1, X2, X3)) → a__U72(mark(X1), X2, X3)
mark(x(X1, X2)) → a__x(mark(X1), mark(X2))
mark(tt) → tt
mark(s(X)) → s(mark(X))
mark(0) → 0
a__U11(X1, X2) → U11(X1, X2)
a__U12(X) → U12(X)
a__isNat(X) → isNat(X)
a__U21(X) → U21(X)
a__U31(X1, X2) → U31(X1, X2)
a__U32(X) → U32(X)
a__U41(X1, X2) → U41(X1, X2)
a__U51(X1, X2, X3) → U51(X1, X2, X3)
a__U52(X1, X2, X3) → U52(X1, X2, X3)
a__plus(X1, X2) → plus(X1, X2)
a__U61(X) → U61(X)
a__U71(X1, X2, X3) → U71(X1, X2, X3)
a__U72(X1, X2, X3) → U72(X1, X2, X3)
a__x(X1, X2) → x(X1, X2)

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

(17) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


MARK(U12(X)) → MARK(X)
The remaining pairs can at least be oriented weakly.
Used ordering: SCNP Order with the following components:
Level mapping:
Top level AFS:
MARK(x0, x1)  =  MARK(x1)

Tags:
MARK has argument tags [1,0] and root tag 0

Comparison: MAX
Underlying order for the size change arcs and the rules of R:
Combined order from the following AFS and order.
MARK(x1)  =  MARK
U12(x1)  =  U12(x1)
U11(x1, x2)  =  x1
U21(x1)  =  x1
U31(x1, x2)  =  x1
U32(x1)  =  x1
U61(x1)  =  x1

Lexicographic path order with status [LPO].
Quasi-Precedence:
trivial

Status:
MARK: []
U121: [1]


The following usable rules [FROCOS05] were oriented: none

(18) Obligation:

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

MARK(U11(X1, X2)) → MARK(X1)
MARK(U21(X)) → MARK(X)
MARK(U31(X1, X2)) → MARK(X1)
MARK(U32(X)) → MARK(X)
MARK(U61(X)) → MARK(X)

The TRS R consists of the following rules:

a__U11(tt, V2) → a__U12(a__isNat(V2))
a__U12(tt) → tt
a__U21(tt) → tt
a__U31(tt, V2) → a__U32(a__isNat(V2))
a__U32(tt) → tt
a__U41(tt, N) → mark(N)
a__U51(tt, M, N) → a__U52(a__isNat(N), M, N)
a__U52(tt, M, N) → s(a__plus(mark(N), mark(M)))
a__U61(tt) → 0
a__U71(tt, M, N) → a__U72(a__isNat(N), M, N)
a__U72(tt, M, N) → a__plus(a__x(mark(N), mark(M)), mark(N))
a__isNat(0) → tt
a__isNat(plus(V1, V2)) → a__U11(a__isNat(V1), V2)
a__isNat(s(V1)) → a__U21(a__isNat(V1))
a__isNat(x(V1, V2)) → a__U31(a__isNat(V1), V2)
a__plus(N, 0) → a__U41(a__isNat(N), N)
a__plus(N, s(M)) → a__U51(a__isNat(M), M, N)
a__x(N, 0) → a__U61(a__isNat(N))
a__x(N, s(M)) → a__U71(a__isNat(M), M, N)
mark(U11(X1, X2)) → a__U11(mark(X1), X2)
mark(U12(X)) → a__U12(mark(X))
mark(isNat(X)) → a__isNat(X)
mark(U21(X)) → a__U21(mark(X))
mark(U31(X1, X2)) → a__U31(mark(X1), X2)
mark(U32(X)) → a__U32(mark(X))
mark(U41(X1, X2)) → a__U41(mark(X1), X2)
mark(U51(X1, X2, X3)) → a__U51(mark(X1), X2, X3)
mark(U52(X1, X2, X3)) → a__U52(mark(X1), X2, X3)
mark(plus(X1, X2)) → a__plus(mark(X1), mark(X2))
mark(U61(X)) → a__U61(mark(X))
mark(U71(X1, X2, X3)) → a__U71(mark(X1), X2, X3)
mark(U72(X1, X2, X3)) → a__U72(mark(X1), X2, X3)
mark(x(X1, X2)) → a__x(mark(X1), mark(X2))
mark(tt) → tt
mark(s(X)) → s(mark(X))
mark(0) → 0
a__U11(X1, X2) → U11(X1, X2)
a__U12(X) → U12(X)
a__isNat(X) → isNat(X)
a__U21(X) → U21(X)
a__U31(X1, X2) → U31(X1, X2)
a__U32(X) → U32(X)
a__U41(X1, X2) → U41(X1, X2)
a__U51(X1, X2, X3) → U51(X1, X2, X3)
a__U52(X1, X2, X3) → U52(X1, X2, X3)
a__plus(X1, X2) → plus(X1, X2)
a__U61(X) → U61(X)
a__U71(X1, X2, X3) → U71(X1, X2, X3)
a__U72(X1, X2, X3) → U72(X1, X2, X3)
a__x(X1, X2) → x(X1, X2)

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

(19) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


MARK(U11(X1, X2)) → MARK(X1)
The remaining pairs can at least be oriented weakly.
Used ordering: SCNP Order with the following components:
Level mapping:
Top level AFS:
MARK(x0, x1)  =  MARK(x1)

Tags:
MARK has argument tags [1,0] and root tag 0

Comparison: MAX
Underlying order for the size change arcs and the rules of R:
Combined order from the following AFS and order.
MARK(x1)  =  MARK
U11(x1, x2)  =  U11(x1, x2)
U21(x1)  =  x1
U31(x1, x2)  =  x1
U32(x1)  =  x1
U61(x1)  =  x1

Lexicographic path order with status [LPO].
Quasi-Precedence:
trivial

Status:
MARK: []
U112: [2,1]


The following usable rules [FROCOS05] were oriented: none

(20) Obligation:

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

MARK(U21(X)) → MARK(X)
MARK(U31(X1, X2)) → MARK(X1)
MARK(U32(X)) → MARK(X)
MARK(U61(X)) → MARK(X)

The TRS R consists of the following rules:

a__U11(tt, V2) → a__U12(a__isNat(V2))
a__U12(tt) → tt
a__U21(tt) → tt
a__U31(tt, V2) → a__U32(a__isNat(V2))
a__U32(tt) → tt
a__U41(tt, N) → mark(N)
a__U51(tt, M, N) → a__U52(a__isNat(N), M, N)
a__U52(tt, M, N) → s(a__plus(mark(N), mark(M)))
a__U61(tt) → 0
a__U71(tt, M, N) → a__U72(a__isNat(N), M, N)
a__U72(tt, M, N) → a__plus(a__x(mark(N), mark(M)), mark(N))
a__isNat(0) → tt
a__isNat(plus(V1, V2)) → a__U11(a__isNat(V1), V2)
a__isNat(s(V1)) → a__U21(a__isNat(V1))
a__isNat(x(V1, V2)) → a__U31(a__isNat(V1), V2)
a__plus(N, 0) → a__U41(a__isNat(N), N)
a__plus(N, s(M)) → a__U51(a__isNat(M), M, N)
a__x(N, 0) → a__U61(a__isNat(N))
a__x(N, s(M)) → a__U71(a__isNat(M), M, N)
mark(U11(X1, X2)) → a__U11(mark(X1), X2)
mark(U12(X)) → a__U12(mark(X))
mark(isNat(X)) → a__isNat(X)
mark(U21(X)) → a__U21(mark(X))
mark(U31(X1, X2)) → a__U31(mark(X1), X2)
mark(U32(X)) → a__U32(mark(X))
mark(U41(X1, X2)) → a__U41(mark(X1), X2)
mark(U51(X1, X2, X3)) → a__U51(mark(X1), X2, X3)
mark(U52(X1, X2, X3)) → a__U52(mark(X1), X2, X3)
mark(plus(X1, X2)) → a__plus(mark(X1), mark(X2))
mark(U61(X)) → a__U61(mark(X))
mark(U71(X1, X2, X3)) → a__U71(mark(X1), X2, X3)
mark(U72(X1, X2, X3)) → a__U72(mark(X1), X2, X3)
mark(x(X1, X2)) → a__x(mark(X1), mark(X2))
mark(tt) → tt
mark(s(X)) → s(mark(X))
mark(0) → 0
a__U11(X1, X2) → U11(X1, X2)
a__U12(X) → U12(X)
a__isNat(X) → isNat(X)
a__U21(X) → U21(X)
a__U31(X1, X2) → U31(X1, X2)
a__U32(X) → U32(X)
a__U41(X1, X2) → U41(X1, X2)
a__U51(X1, X2, X3) → U51(X1, X2, X3)
a__U52(X1, X2, X3) → U52(X1, X2, X3)
a__plus(X1, X2) → plus(X1, X2)
a__U61(X) → U61(X)
a__U71(X1, X2, X3) → U71(X1, X2, X3)
a__U72(X1, X2, X3) → U72(X1, X2, X3)
a__x(X1, X2) → x(X1, X2)

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

(21) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


MARK(U31(X1, X2)) → MARK(X1)
The remaining pairs can at least be oriented weakly.
Used ordering: SCNP Order with the following components:
Level mapping:
Top level AFS:
MARK(x0, x1)  =  MARK(x1)

Tags:
MARK has argument tags [1,0] and root tag 0

Comparison: MAX
Underlying order for the size change arcs and the rules of R:
Combined order from the following AFS and order.
MARK(x1)  =  MARK
U21(x1)  =  x1
U31(x1, x2)  =  U31(x1, x2)
U32(x1)  =  x1
U61(x1)  =  x1

Lexicographic path order with status [LPO].
Quasi-Precedence:
trivial

Status:
MARK: []
U312: [2,1]


The following usable rules [FROCOS05] were oriented: none

(22) Obligation:

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

MARK(U21(X)) → MARK(X)
MARK(U32(X)) → MARK(X)
MARK(U61(X)) → MARK(X)

The TRS R consists of the following rules:

a__U11(tt, V2) → a__U12(a__isNat(V2))
a__U12(tt) → tt
a__U21(tt) → tt
a__U31(tt, V2) → a__U32(a__isNat(V2))
a__U32(tt) → tt
a__U41(tt, N) → mark(N)
a__U51(tt, M, N) → a__U52(a__isNat(N), M, N)
a__U52(tt, M, N) → s(a__plus(mark(N), mark(M)))
a__U61(tt) → 0
a__U71(tt, M, N) → a__U72(a__isNat(N), M, N)
a__U72(tt, M, N) → a__plus(a__x(mark(N), mark(M)), mark(N))
a__isNat(0) → tt
a__isNat(plus(V1, V2)) → a__U11(a__isNat(V1), V2)
a__isNat(s(V1)) → a__U21(a__isNat(V1))
a__isNat(x(V1, V2)) → a__U31(a__isNat(V1), V2)
a__plus(N, 0) → a__U41(a__isNat(N), N)
a__plus(N, s(M)) → a__U51(a__isNat(M), M, N)
a__x(N, 0) → a__U61(a__isNat(N))
a__x(N, s(M)) → a__U71(a__isNat(M), M, N)
mark(U11(X1, X2)) → a__U11(mark(X1), X2)
mark(U12(X)) → a__U12(mark(X))
mark(isNat(X)) → a__isNat(X)
mark(U21(X)) → a__U21(mark(X))
mark(U31(X1, X2)) → a__U31(mark(X1), X2)
mark(U32(X)) → a__U32(mark(X))
mark(U41(X1, X2)) → a__U41(mark(X1), X2)
mark(U51(X1, X2, X3)) → a__U51(mark(X1), X2, X3)
mark(U52(X1, X2, X3)) → a__U52(mark(X1), X2, X3)
mark(plus(X1, X2)) → a__plus(mark(X1), mark(X2))
mark(U61(X)) → a__U61(mark(X))
mark(U71(X1, X2, X3)) → a__U71(mark(X1), X2, X3)
mark(U72(X1, X2, X3)) → a__U72(mark(X1), X2, X3)
mark(x(X1, X2)) → a__x(mark(X1), mark(X2))
mark(tt) → tt
mark(s(X)) → s(mark(X))
mark(0) → 0
a__U11(X1, X2) → U11(X1, X2)
a__U12(X) → U12(X)
a__isNat(X) → isNat(X)
a__U21(X) → U21(X)
a__U31(X1, X2) → U31(X1, X2)
a__U32(X) → U32(X)
a__U41(X1, X2) → U41(X1, X2)
a__U51(X1, X2, X3) → U51(X1, X2, X3)
a__U52(X1, X2, X3) → U52(X1, X2, X3)
a__plus(X1, X2) → plus(X1, X2)
a__U61(X) → U61(X)
a__U71(X1, X2, X3) → U71(X1, X2, X3)
a__U72(X1, X2, X3) → U72(X1, X2, X3)
a__x(X1, X2) → x(X1, X2)

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

(23) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


MARK(U21(X)) → MARK(X)
The remaining pairs can at least be oriented weakly.
Used ordering: SCNP Order with the following components:
Level mapping:
Top level AFS:
MARK(x0, x1)  =  MARK(x1)

Tags:
MARK has argument tags [1,0] and root tag 0

Comparison: MAX
Underlying order for the size change arcs and the rules of R:
Combined order from the following AFS and order.
MARK(x1)  =  MARK
U21(x1)  =  U21(x1)
U32(x1)  =  x1
U61(x1)  =  x1

Lexicographic path order with status [LPO].
Quasi-Precedence:
trivial

Status:
MARK: []
U211: [1]


The following usable rules [FROCOS05] were oriented: none

(24) Obligation:

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

MARK(U32(X)) → MARK(X)
MARK(U61(X)) → MARK(X)

The TRS R consists of the following rules:

a__U11(tt, V2) → a__U12(a__isNat(V2))
a__U12(tt) → tt
a__U21(tt) → tt
a__U31(tt, V2) → a__U32(a__isNat(V2))
a__U32(tt) → tt
a__U41(tt, N) → mark(N)
a__U51(tt, M, N) → a__U52(a__isNat(N), M, N)
a__U52(tt, M, N) → s(a__plus(mark(N), mark(M)))
a__U61(tt) → 0
a__U71(tt, M, N) → a__U72(a__isNat(N), M, N)
a__U72(tt, M, N) → a__plus(a__x(mark(N), mark(M)), mark(N))
a__isNat(0) → tt
a__isNat(plus(V1, V2)) → a__U11(a__isNat(V1), V2)
a__isNat(s(V1)) → a__U21(a__isNat(V1))
a__isNat(x(V1, V2)) → a__U31(a__isNat(V1), V2)
a__plus(N, 0) → a__U41(a__isNat(N), N)
a__plus(N, s(M)) → a__U51(a__isNat(M), M, N)
a__x(N, 0) → a__U61(a__isNat(N))
a__x(N, s(M)) → a__U71(a__isNat(M), M, N)
mark(U11(X1, X2)) → a__U11(mark(X1), X2)
mark(U12(X)) → a__U12(mark(X))
mark(isNat(X)) → a__isNat(X)
mark(U21(X)) → a__U21(mark(X))
mark(U31(X1, X2)) → a__U31(mark(X1), X2)
mark(U32(X)) → a__U32(mark(X))
mark(U41(X1, X2)) → a__U41(mark(X1), X2)
mark(U51(X1, X2, X3)) → a__U51(mark(X1), X2, X3)
mark(U52(X1, X2, X3)) → a__U52(mark(X1), X2, X3)
mark(plus(X1, X2)) → a__plus(mark(X1), mark(X2))
mark(U61(X)) → a__U61(mark(X))
mark(U71(X1, X2, X3)) → a__U71(mark(X1), X2, X3)
mark(U72(X1, X2, X3)) → a__U72(mark(X1), X2, X3)
mark(x(X1, X2)) → a__x(mark(X1), mark(X2))
mark(tt) → tt
mark(s(X)) → s(mark(X))
mark(0) → 0
a__U11(X1, X2) → U11(X1, X2)
a__U12(X) → U12(X)
a__isNat(X) → isNat(X)
a__U21(X) → U21(X)
a__U31(X1, X2) → U31(X1, X2)
a__U32(X) → U32(X)
a__U41(X1, X2) → U41(X1, X2)
a__U51(X1, X2, X3) → U51(X1, X2, X3)
a__U52(X1, X2, X3) → U52(X1, X2, X3)
a__plus(X1, X2) → plus(X1, X2)
a__U61(X) → U61(X)
a__U71(X1, X2, X3) → U71(X1, X2, X3)
a__U72(X1, X2, X3) → U72(X1, X2, X3)
a__x(X1, X2) → x(X1, X2)

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

(25) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


MARK(U32(X)) → MARK(X)
The remaining pairs can at least be oriented weakly.
Used ordering: SCNP Order with the following components:
Level mapping:
Top level AFS:
MARK(x0, x1)  =  MARK(x1)

Tags:
MARK has argument tags [1,0] and root tag 0

Comparison: MAX
Underlying order for the size change arcs and the rules of R:
Combined order from the following AFS and order.
MARK(x1)  =  MARK
U32(x1)  =  U32(x1)
U61(x1)  =  x1

Lexicographic path order with status [LPO].
Quasi-Precedence:
trivial

Status:
MARK: []
U321: [1]


The following usable rules [FROCOS05] were oriented: none

(26) Obligation:

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

MARK(U61(X)) → MARK(X)

The TRS R consists of the following rules:

a__U11(tt, V2) → a__U12(a__isNat(V2))
a__U12(tt) → tt
a__U21(tt) → tt
a__U31(tt, V2) → a__U32(a__isNat(V2))
a__U32(tt) → tt
a__U41(tt, N) → mark(N)
a__U51(tt, M, N) → a__U52(a__isNat(N), M, N)
a__U52(tt, M, N) → s(a__plus(mark(N), mark(M)))
a__U61(tt) → 0
a__U71(tt, M, N) → a__U72(a__isNat(N), M, N)
a__U72(tt, M, N) → a__plus(a__x(mark(N), mark(M)), mark(N))
a__isNat(0) → tt
a__isNat(plus(V1, V2)) → a__U11(a__isNat(V1), V2)
a__isNat(s(V1)) → a__U21(a__isNat(V1))
a__isNat(x(V1, V2)) → a__U31(a__isNat(V1), V2)
a__plus(N, 0) → a__U41(a__isNat(N), N)
a__plus(N, s(M)) → a__U51(a__isNat(M), M, N)
a__x(N, 0) → a__U61(a__isNat(N))
a__x(N, s(M)) → a__U71(a__isNat(M), M, N)
mark(U11(X1, X2)) → a__U11(mark(X1), X2)
mark(U12(X)) → a__U12(mark(X))
mark(isNat(X)) → a__isNat(X)
mark(U21(X)) → a__U21(mark(X))
mark(U31(X1, X2)) → a__U31(mark(X1), X2)
mark(U32(X)) → a__U32(mark(X))
mark(U41(X1, X2)) → a__U41(mark(X1), X2)
mark(U51(X1, X2, X3)) → a__U51(mark(X1), X2, X3)
mark(U52(X1, X2, X3)) → a__U52(mark(X1), X2, X3)
mark(plus(X1, X2)) → a__plus(mark(X1), mark(X2))
mark(U61(X)) → a__U61(mark(X))
mark(U71(X1, X2, X3)) → a__U71(mark(X1), X2, X3)
mark(U72(X1, X2, X3)) → a__U72(mark(X1), X2, X3)
mark(x(X1, X2)) → a__x(mark(X1), mark(X2))
mark(tt) → tt
mark(s(X)) → s(mark(X))
mark(0) → 0
a__U11(X1, X2) → U11(X1, X2)
a__U12(X) → U12(X)
a__isNat(X) → isNat(X)
a__U21(X) → U21(X)
a__U31(X1, X2) → U31(X1, X2)
a__U32(X) → U32(X)
a__U41(X1, X2) → U41(X1, X2)
a__U51(X1, X2, X3) → U51(X1, X2, X3)
a__U52(X1, X2, X3) → U52(X1, X2, X3)
a__plus(X1, X2) → plus(X1, X2)
a__U61(X) → U61(X)
a__U71(X1, X2, X3) → U71(X1, X2, X3)
a__U72(X1, X2, X3) → U72(X1, X2, X3)
a__x(X1, X2) → x(X1, X2)

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

(27) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


MARK(U61(X)) → MARK(X)
The remaining pairs can at least be oriented weakly.
Used ordering: SCNP Order with the following components:
Level mapping:
Top level AFS:
MARK(x0, x1)  =  MARK(x1)

Tags:
MARK has argument tags [1,1] and root tag 0

Comparison: MAX
Underlying order for the size change arcs and the rules of R:
Combined order from the following AFS and order.
MARK(x1)  =  MARK
U61(x1)  =  U61(x1)

Lexicographic path order with status [LPO].
Quasi-Precedence:
trivial

Status:
MARK: []
U611: [1]


The following usable rules [FROCOS05] were oriented: none

(28) Obligation:

Q DP problem:
P is empty.
The TRS R consists of the following rules:

a__U11(tt, V2) → a__U12(a__isNat(V2))
a__U12(tt) → tt
a__U21(tt) → tt
a__U31(tt, V2) → a__U32(a__isNat(V2))
a__U32(tt) → tt
a__U41(tt, N) → mark(N)
a__U51(tt, M, N) → a__U52(a__isNat(N), M, N)
a__U52(tt, M, N) → s(a__plus(mark(N), mark(M)))
a__U61(tt) → 0
a__U71(tt, M, N) → a__U72(a__isNat(N), M, N)
a__U72(tt, M, N) → a__plus(a__x(mark(N), mark(M)), mark(N))
a__isNat(0) → tt
a__isNat(plus(V1, V2)) → a__U11(a__isNat(V1), V2)
a__isNat(s(V1)) → a__U21(a__isNat(V1))
a__isNat(x(V1, V2)) → a__U31(a__isNat(V1), V2)
a__plus(N, 0) → a__U41(a__isNat(N), N)
a__plus(N, s(M)) → a__U51(a__isNat(M), M, N)
a__x(N, 0) → a__U61(a__isNat(N))
a__x(N, s(M)) → a__U71(a__isNat(M), M, N)
mark(U11(X1, X2)) → a__U11(mark(X1), X2)
mark(U12(X)) → a__U12(mark(X))
mark(isNat(X)) → a__isNat(X)
mark(U21(X)) → a__U21(mark(X))
mark(U31(X1, X2)) → a__U31(mark(X1), X2)
mark(U32(X)) → a__U32(mark(X))
mark(U41(X1, X2)) → a__U41(mark(X1), X2)
mark(U51(X1, X2, X3)) → a__U51(mark(X1), X2, X3)
mark(U52(X1, X2, X3)) → a__U52(mark(X1), X2, X3)
mark(plus(X1, X2)) → a__plus(mark(X1), mark(X2))
mark(U61(X)) → a__U61(mark(X))
mark(U71(X1, X2, X3)) → a__U71(mark(X1), X2, X3)
mark(U72(X1, X2, X3)) → a__U72(mark(X1), X2, X3)
mark(x(X1, X2)) → a__x(mark(X1), mark(X2))
mark(tt) → tt
mark(s(X)) → s(mark(X))
mark(0) → 0
a__U11(X1, X2) → U11(X1, X2)
a__U12(X) → U12(X)
a__isNat(X) → isNat(X)
a__U21(X) → U21(X)
a__U31(X1, X2) → U31(X1, X2)
a__U32(X) → U32(X)
a__U41(X1, X2) → U41(X1, X2)
a__U51(X1, X2, X3) → U51(X1, X2, X3)
a__U52(X1, X2, X3) → U52(X1, X2, X3)
a__plus(X1, X2) → plus(X1, X2)
a__U61(X) → U61(X)
a__U71(X1, X2, X3) → U71(X1, X2, X3)
a__U72(X1, X2, X3) → U72(X1, X2, X3)
a__x(X1, X2) → x(X1, X2)

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

(29) PisEmptyProof (EQUIVALENT transformation)

The TRS P is empty. Hence, there is no (P,Q,R) chain.

(30) TRUE