(0) Obligation:

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

a__U11(tt, M, N) → a__U12(tt, M, N)
a__U12(tt, M, N) → s(a__plus(mark(N), mark(M)))
a__plus(N, 0) → mark(N)
a__plus(N, s(M)) → a__U11(tt, M, N)
mark(U11(X1, X2, X3)) → a__U11(mark(X1), X2, X3)
mark(U12(X1, X2, X3)) → a__U12(mark(X1), X2, X3)
mark(plus(X1, X2)) → a__plus(mark(X1), mark(X2))
mark(tt) → tt
mark(s(X)) → s(mark(X))
mark(0) → 0
a__U11(X1, X2, X3) → U11(X1, X2, X3)
a__U12(X1, X2, X3) → U12(X1, X2, X3)
a__plus(X1, X2) → plus(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, M, N) → A__U12(tt, M, N)
A__U12(tt, M, N) → A__PLUS(mark(N), mark(M))
A__U12(tt, M, N) → MARK(N)
A__U12(tt, M, N) → MARK(M)
A__PLUS(N, 0) → MARK(N)
A__PLUS(N, s(M)) → A__U11(tt, M, N)
MARK(U11(X1, X2, X3)) → A__U11(mark(X1), X2, X3)
MARK(U11(X1, X2, X3)) → MARK(X1)
MARK(U12(X1, X2, X3)) → A__U12(mark(X1), X2, X3)
MARK(U12(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(s(X)) → MARK(X)

The TRS R consists of the following rules:

a__U11(tt, M, N) → a__U12(tt, M, N)
a__U12(tt, M, N) → s(a__plus(mark(N), mark(M)))
a__plus(N, 0) → mark(N)
a__plus(N, s(M)) → a__U11(tt, M, N)
mark(U11(X1, X2, X3)) → a__U11(mark(X1), X2, X3)
mark(U12(X1, X2, X3)) → a__U12(mark(X1), X2, X3)
mark(plus(X1, X2)) → a__plus(mark(X1), mark(X2))
mark(tt) → tt
mark(s(X)) → s(mark(X))
mark(0) → 0
a__U11(X1, X2, X3) → U11(X1, X2, X3)
a__U12(X1, X2, X3) → U12(X1, X2, X3)
a__plus(X1, X2) → plus(X1, X2)

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

(3) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


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:
A__U11(x1, x2, x3)  =  A__U11(x2, x3)
A__U12(x1, x2, x3)  =  A__U12(x2, x3)
A__PLUS(x1, x2)  =  A__PLUS(x1, x2)
MARK(x1)  =  MARK(x1)

Tags:
A__U11 has tags [10,10,10]
A__U12 has tags [15,10,10]
A__PLUS has tags [10,5]
MARK has tags [10]

Comparison: MAX
Underlying order for the size change arcs and the rules of R:
Polynomial interpretation [POLO]:

POL(0) = 0   
POL(U11(x1, x2, x3)) = x1 + x2 + x3   
POL(U12(x1, x2, x3)) = x1 + x2 + x3   
POL(a__U11(x1, x2, x3)) = x1 + x2 + x3   
POL(a__U12(x1, x2, x3)) = x1 + x2 + x3   
POL(a__plus(x1, x2)) = x1 + x2   
POL(mark(x1)) = x1   
POL(plus(x1, x2)) = x1 + x2   
POL(s(x1)) = 1 + x1   
POL(tt) = 1   

The following usable rules [FROCOS05] were oriented:

mark(U11(X1, X2, X3)) → a__U11(mark(X1), X2, X3)
mark(U12(X1, X2, X3)) → a__U12(mark(X1), X2, X3)
a__plus(N, 0) → mark(N)
mark(plus(X1, X2)) → a__plus(mark(X1), mark(X2))
mark(tt) → tt
mark(s(X)) → s(mark(X))
mark(0) → 0
a__U11(tt, M, N) → a__U12(tt, M, N)
a__U12(tt, M, N) → s(a__plus(mark(N), mark(M)))
a__plus(N, s(M)) → a__U11(tt, M, N)
a__plus(X1, X2) → plus(X1, X2)
a__U11(X1, X2, X3) → U11(X1, X2, X3)
a__U12(X1, X2, X3) → U12(X1, X2, X3)

(4) Obligation:

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

A__U11(tt, M, N) → A__U12(tt, M, N)
A__U12(tt, M, N) → A__PLUS(mark(N), mark(M))
A__U12(tt, M, N) → MARK(N)
A__U12(tt, M, N) → MARK(M)
A__PLUS(N, 0) → MARK(N)
A__PLUS(N, s(M)) → A__U11(tt, M, N)
MARK(U11(X1, X2, X3)) → A__U11(mark(X1), X2, X3)
MARK(U11(X1, X2, X3)) → MARK(X1)
MARK(U12(X1, X2, X3)) → A__U12(mark(X1), X2, X3)
MARK(U12(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)

The TRS R consists of the following rules:

a__U11(tt, M, N) → a__U12(tt, M, N)
a__U12(tt, M, N) → s(a__plus(mark(N), mark(M)))
a__plus(N, 0) → mark(N)
a__plus(N, s(M)) → a__U11(tt, M, N)
mark(U11(X1, X2, X3)) → a__U11(mark(X1), X2, X3)
mark(U12(X1, X2, X3)) → a__U12(mark(X1), X2, X3)
mark(plus(X1, X2)) → a__plus(mark(X1), mark(X2))
mark(tt) → tt
mark(s(X)) → s(mark(X))
mark(0) → 0
a__U11(X1, X2, X3) → U11(X1, X2, X3)
a__U12(X1, X2, X3) → U12(X1, X2, X3)
a__plus(X1, X2) → plus(X1, X2)

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.


MARK(plus(X1, X2)) → A__PLUS(mark(X1), mark(X2))
MARK(plus(X1, X2)) → MARK(X1)
MARK(plus(X1, X2)) → MARK(X2)
The remaining pairs can at least be oriented weakly.
Used ordering: SCNP Order with the following components:
Level mapping:
Top level AFS:
A__U11(x1, x2, x3)  =  A__U11(x2, x3)
A__U12(x1, x2, x3)  =  A__U12(x2, x3)
A__PLUS(x1, x2)  =  A__PLUS(x1, x2)
MARK(x1)  =  MARK(x1)

Tags:
A__U11 has tags [4,0,0]
A__U12 has tags [13,0,0]
A__PLUS has tags [0,0]
MARK has tags [0]

Comparison: MAX
Underlying order for the size change arcs and the rules of R:
Polynomial interpretation [POLO]:

POL(0) = 0   
POL(U11(x1, x2, x3)) = x1 + x2 + x3   
POL(U12(x1, x2, x3)) = x1 + x2 + x3   
POL(a__U11(x1, x2, x3)) = x1 + x2 + x3   
POL(a__U12(x1, x2, x3)) = x1 + x2 + x3   
POL(a__plus(x1, x2)) = 1 + x1 + x2   
POL(mark(x1)) = x1   
POL(plus(x1, x2)) = 1 + x1 + x2   
POL(s(x1)) = x1   
POL(tt) = 1   

The following usable rules [FROCOS05] were oriented:

mark(U11(X1, X2, X3)) → a__U11(mark(X1), X2, X3)
mark(U12(X1, X2, X3)) → a__U12(mark(X1), X2, X3)
a__plus(N, 0) → mark(N)
mark(plus(X1, X2)) → a__plus(mark(X1), mark(X2))
mark(tt) → tt
mark(s(X)) → s(mark(X))
mark(0) → 0
a__U11(tt, M, N) → a__U12(tt, M, N)
a__U12(tt, M, N) → s(a__plus(mark(N), mark(M)))
a__plus(N, s(M)) → a__U11(tt, M, N)
a__plus(X1, X2) → plus(X1, X2)
a__U11(X1, X2, X3) → U11(X1, X2, X3)
a__U12(X1, X2, X3) → U12(X1, X2, X3)

(6) Obligation:

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

A__U11(tt, M, N) → A__U12(tt, M, N)
A__U12(tt, M, N) → A__PLUS(mark(N), mark(M))
A__U12(tt, M, N) → MARK(N)
A__U12(tt, M, N) → MARK(M)
A__PLUS(N, 0) → MARK(N)
A__PLUS(N, s(M)) → A__U11(tt, M, N)
MARK(U11(X1, X2, X3)) → A__U11(mark(X1), X2, X3)
MARK(U11(X1, X2, X3)) → MARK(X1)
MARK(U12(X1, X2, X3)) → A__U12(mark(X1), X2, X3)
MARK(U12(X1, X2, X3)) → MARK(X1)

The TRS R consists of the following rules:

a__U11(tt, M, N) → a__U12(tt, M, N)
a__U12(tt, M, N) → s(a__plus(mark(N), mark(M)))
a__plus(N, 0) → mark(N)
a__plus(N, s(M)) → a__U11(tt, M, N)
mark(U11(X1, X2, X3)) → a__U11(mark(X1), X2, X3)
mark(U12(X1, X2, X3)) → a__U12(mark(X1), X2, X3)
mark(plus(X1, X2)) → a__plus(mark(X1), mark(X2))
mark(tt) → tt
mark(s(X)) → s(mark(X))
mark(0) → 0
a__U11(X1, X2, X3) → U11(X1, X2, X3)
a__U12(X1, X2, X3) → U12(X1, X2, X3)
a__plus(X1, X2) → plus(X1, X2)

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

(7) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


MARK(U11(X1, X2, X3)) → A__U11(mark(X1), X2, X3)
MARK(U11(X1, X2, X3)) → MARK(X1)
MARK(U12(X1, X2, X3)) → A__U12(mark(X1), X2, X3)
MARK(U12(X1, X2, X3)) → MARK(X1)
The remaining pairs can at least be oriented weakly.
Used ordering: SCNP Order with the following components:
Level mapping:
Top level AFS:
A__U11(x1, x2, x3)  =  A__U11(x2, x3)
A__U12(x1, x2, x3)  =  A__U12(x2, x3)
A__PLUS(x1, x2)  =  A__PLUS(x1, x2)
MARK(x1)  =  MARK(x1)

Tags:
A__U11 has tags [9,1,0]
A__U12 has tags [5,0,0]
A__PLUS has tags [0,0]
MARK has tags [0]

Comparison: MAX
Underlying order for the size change arcs and the rules of R:
Polynomial interpretation [POLO]:

POL(0) = 0   
POL(U11(x1, x2, x3)) = 1 + x1 + x2 + x3   
POL(U12(x1, x2, x3)) = 1 + x1 + x2 + x3   
POL(a__U11(x1, x2, x3)) = 1 + x1 + x2 + x3   
POL(a__U12(x1, x2, x3)) = 1 + x1 + x2 + x3   
POL(a__plus(x1, x2)) = x1 + x2   
POL(mark(x1)) = x1   
POL(plus(x1, x2)) = x1 + x2   
POL(s(x1)) = 1 + x1   
POL(tt) = 0   

The following usable rules [FROCOS05] were oriented:

mark(U11(X1, X2, X3)) → a__U11(mark(X1), X2, X3)
mark(U12(X1, X2, X3)) → a__U12(mark(X1), X2, X3)
a__plus(N, 0) → mark(N)
mark(plus(X1, X2)) → a__plus(mark(X1), mark(X2))
mark(tt) → tt
mark(s(X)) → s(mark(X))
mark(0) → 0
a__U11(tt, M, N) → a__U12(tt, M, N)
a__U12(tt, M, N) → s(a__plus(mark(N), mark(M)))
a__plus(N, s(M)) → a__U11(tt, M, N)
a__plus(X1, X2) → plus(X1, X2)
a__U11(X1, X2, X3) → U11(X1, X2, X3)
a__U12(X1, X2, X3) → U12(X1, X2, X3)

(8) Obligation:

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

A__U11(tt, M, N) → A__U12(tt, M, N)
A__U12(tt, M, N) → A__PLUS(mark(N), mark(M))
A__U12(tt, M, N) → MARK(N)
A__U12(tt, M, N) → MARK(M)
A__PLUS(N, 0) → MARK(N)
A__PLUS(N, s(M)) → A__U11(tt, M, N)

The TRS R consists of the following rules:

a__U11(tt, M, N) → a__U12(tt, M, N)
a__U12(tt, M, N) → s(a__plus(mark(N), mark(M)))
a__plus(N, 0) → mark(N)
a__plus(N, s(M)) → a__U11(tt, M, N)
mark(U11(X1, X2, X3)) → a__U11(mark(X1), X2, X3)
mark(U12(X1, X2, X3)) → a__U12(mark(X1), X2, X3)
mark(plus(X1, X2)) → a__plus(mark(X1), mark(X2))
mark(tt) → tt
mark(s(X)) → s(mark(X))
mark(0) → 0
a__U11(X1, X2, X3) → U11(X1, X2, X3)
a__U12(X1, X2, X3) → U12(X1, X2, X3)
a__plus(X1, X2) → plus(X1, X2)

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

(9) DependencyGraphProof (EQUIVALENT transformation)

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

(10) Obligation:

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

A__U12(tt, M, N) → A__PLUS(mark(N), mark(M))
A__PLUS(N, s(M)) → A__U11(tt, M, N)
A__U11(tt, M, N) → A__U12(tt, M, N)

The TRS R consists of the following rules:

a__U11(tt, M, N) → a__U12(tt, M, N)
a__U12(tt, M, N) → s(a__plus(mark(N), mark(M)))
a__plus(N, 0) → mark(N)
a__plus(N, s(M)) → a__U11(tt, M, N)
mark(U11(X1, X2, X3)) → a__U11(mark(X1), X2, X3)
mark(U12(X1, X2, X3)) → a__U12(mark(X1), X2, X3)
mark(plus(X1, X2)) → a__plus(mark(X1), mark(X2))
mark(tt) → tt
mark(s(X)) → s(mark(X))
mark(0) → 0
a__U11(X1, X2, X3) → U11(X1, X2, X3)
a__U12(X1, X2, X3) → U12(X1, X2, X3)
a__plus(X1, X2) → plus(X1, X2)

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

(11) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


A__PLUS(N, s(M)) → A__U11(tt, M, N)
The remaining pairs can at least be oriented weakly.
Used ordering: SCNP Order with the following components:
Level mapping:
Top level AFS:
A__U12(x1, x2, x3)  =  A__U12(x2)
A__PLUS(x1, x2)  =  A__PLUS(x2)
A__U11(x1, x2, x3)  =  A__U11(x2)

Tags:
A__U12 has tags [0,0,0]
A__PLUS has tags [0,0]
A__U11 has tags [2,0,4]

Comparison: MAX
Underlying order for the size change arcs and the rules of R:
Polynomial interpretation [POLO]:

POL(0) = 0   
POL(U11(x1, x2, x3)) = 1 + x2 + x3   
POL(U12(x1, x2, x3)) = x1 + x2 + x3   
POL(a__U11(x1, x2, x3)) = 1 + x2 + x3   
POL(a__U12(x1, x2, x3)) = x1 + x2 + x3   
POL(a__plus(x1, x2)) = x1 + x2   
POL(mark(x1)) = x1   
POL(plus(x1, x2)) = x1 + x2   
POL(s(x1)) = 1 + x1   
POL(tt) = 1   

The following usable rules [FROCOS05] were oriented:

mark(U11(X1, X2, X3)) → a__U11(mark(X1), X2, X3)
mark(U12(X1, X2, X3)) → a__U12(mark(X1), X2, X3)
a__plus(N, 0) → mark(N)
mark(plus(X1, X2)) → a__plus(mark(X1), mark(X2))
mark(tt) → tt
mark(s(X)) → s(mark(X))
mark(0) → 0
a__U11(tt, M, N) → a__U12(tt, M, N)
a__U12(tt, M, N) → s(a__plus(mark(N), mark(M)))
a__plus(N, s(M)) → a__U11(tt, M, N)
a__plus(X1, X2) → plus(X1, X2)
a__U11(X1, X2, X3) → U11(X1, X2, X3)
a__U12(X1, X2, X3) → U12(X1, X2, X3)

(12) Obligation:

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

A__U12(tt, M, N) → A__PLUS(mark(N), mark(M))
A__U11(tt, M, N) → A__U12(tt, M, N)

The TRS R consists of the following rules:

a__U11(tt, M, N) → a__U12(tt, M, N)
a__U12(tt, M, N) → s(a__plus(mark(N), mark(M)))
a__plus(N, 0) → mark(N)
a__plus(N, s(M)) → a__U11(tt, M, N)
mark(U11(X1, X2, X3)) → a__U11(mark(X1), X2, X3)
mark(U12(X1, X2, X3)) → a__U12(mark(X1), X2, X3)
mark(plus(X1, X2)) → a__plus(mark(X1), mark(X2))
mark(tt) → tt
mark(s(X)) → s(mark(X))
mark(0) → 0
a__U11(X1, X2, X3) → U11(X1, X2, X3)
a__U12(X1, X2, X3) → U12(X1, X2, X3)
a__plus(X1, X2) → plus(X1, X2)

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

(13) DependencyGraphProof (EQUIVALENT transformation)

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

(14) TRUE