(0) Obligation:

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

a____(__(X, Y), Z) → a____(mark(X), a____(mark(Y), mark(Z)))
a____(X, nil) → mark(X)
a____(nil, X) → mark(X)
a__and(tt, X) → mark(X)
a__isNePal(__(I, __(P, I))) → tt
mark(__(X1, X2)) → a____(mark(X1), mark(X2))
mark(and(X1, X2)) → a__and(mark(X1), X2)
mark(isNePal(X)) → a__isNePal(mark(X))
mark(nil) → nil
mark(tt) → tt
a____(X1, X2) → __(X1, X2)
a__and(X1, X2) → and(X1, X2)
a__isNePal(X) → isNePal(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:

A____(__(X, Y), Z) → A____(mark(X), a____(mark(Y), mark(Z)))
A____(__(X, Y), Z) → MARK(X)
A____(__(X, Y), Z) → A____(mark(Y), mark(Z))
A____(__(X, Y), Z) → MARK(Y)
A____(__(X, Y), Z) → MARK(Z)
A____(X, nil) → MARK(X)
A____(nil, X) → MARK(X)
A__AND(tt, X) → MARK(X)
MARK(__(X1, X2)) → A____(mark(X1), mark(X2))
MARK(__(X1, X2)) → MARK(X1)
MARK(__(X1, X2)) → MARK(X2)
MARK(and(X1, X2)) → A__AND(mark(X1), X2)
MARK(and(X1, X2)) → MARK(X1)
MARK(isNePal(X)) → A__ISNEPAL(mark(X))
MARK(isNePal(X)) → MARK(X)

The TRS R consists of the following rules:

a____(__(X, Y), Z) → a____(mark(X), a____(mark(Y), mark(Z)))
a____(X, nil) → mark(X)
a____(nil, X) → mark(X)
a__and(tt, X) → mark(X)
a__isNePal(__(I, __(P, I))) → tt
mark(__(X1, X2)) → a____(mark(X1), mark(X2))
mark(and(X1, X2)) → a__and(mark(X1), X2)
mark(isNePal(X)) → a__isNePal(mark(X))
mark(nil) → nil
mark(tt) → tt
a____(X1, X2) → __(X1, X2)
a__and(X1, X2) → and(X1, X2)
a__isNePal(X) → isNePal(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 1 less node.

(4) Obligation:

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

A____(__(X, Y), Z) → MARK(X)
MARK(__(X1, X2)) → A____(mark(X1), mark(X2))
A____(__(X, Y), Z) → A____(mark(X), a____(mark(Y), mark(Z)))
A____(__(X, Y), Z) → A____(mark(Y), mark(Z))
A____(__(X, Y), Z) → MARK(Y)
MARK(__(X1, X2)) → MARK(X1)
MARK(__(X1, X2)) → MARK(X2)
MARK(and(X1, X2)) → A__AND(mark(X1), X2)
A__AND(tt, X) → MARK(X)
MARK(and(X1, X2)) → MARK(X1)
MARK(isNePal(X)) → MARK(X)
A____(__(X, Y), Z) → MARK(Z)
A____(X, nil) → MARK(X)
A____(nil, X) → MARK(X)

The TRS R consists of the following rules:

a____(__(X, Y), Z) → a____(mark(X), a____(mark(Y), mark(Z)))
a____(X, nil) → mark(X)
a____(nil, X) → mark(X)
a__and(tt, X) → mark(X)
a__isNePal(__(I, __(P, I))) → tt
mark(__(X1, X2)) → a____(mark(X1), mark(X2))
mark(and(X1, X2)) → a__and(mark(X1), X2)
mark(isNePal(X)) → a__isNePal(mark(X))
mark(nil) → nil
mark(tt) → tt
a____(X1, X2) → __(X1, X2)
a__and(X1, X2) → and(X1, X2)
a__isNePal(X) → isNePal(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.


MARK(isNePal(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____(x0, x1, x2)  =  A____(x0)
MARK(x0, x1)  =  MARK(x0, x1)
A__AND(x0, x1, x2)  =  A__AND(x2)

Tags:
A____ has argument tags [4,3,6] and root tag 0
MARK has argument tags [4,4] and root tag 0
A__AND has argument tags [3,2,4] and root tag 0

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

POL(A__AND(x1, x2)) = x1   
POL(A____(x1, x2)) = x1 + x2   
POL(MARK(x1)) = 0   
POL(__(x1, x2)) = x1 + x2   
POL(a____(x1, x2)) = x1 + x2   
POL(a__and(x1, x2)) = x1 + x2   
POL(a__isNePal(x1)) = 1 + x1   
POL(and(x1, x2)) = x1 + x2   
POL(isNePal(x1)) = 1 + x1   
POL(mark(x1)) = x1   
POL(nil) = 0   
POL(tt) = 0   

The following usable rules [FROCOS05] were oriented:

a____(X, nil) → mark(X)
mark(__(X1, X2)) → a____(mark(X1), mark(X2))
a____(__(X, Y), Z) → a____(mark(X), a____(mark(Y), mark(Z)))
a____(nil, X) → mark(X)
mark(and(X1, X2)) → a__and(mark(X1), X2)
a__and(tt, X) → mark(X)
mark(isNePal(X)) → a__isNePal(mark(X))
mark(nil) → nil
mark(tt) → tt
a____(X1, X2) → __(X1, X2)
a__isNePal(__(I, __(P, I))) → tt
a__isNePal(X) → isNePal(X)
a__and(X1, X2) → and(X1, X2)

(6) Obligation:

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

A____(__(X, Y), Z) → MARK(X)
MARK(__(X1, X2)) → A____(mark(X1), mark(X2))
A____(__(X, Y), Z) → A____(mark(X), a____(mark(Y), mark(Z)))
A____(__(X, Y), Z) → A____(mark(Y), mark(Z))
A____(__(X, Y), Z) → MARK(Y)
MARK(__(X1, X2)) → MARK(X1)
MARK(__(X1, X2)) → MARK(X2)
MARK(and(X1, X2)) → A__AND(mark(X1), X2)
A__AND(tt, X) → MARK(X)
MARK(and(X1, X2)) → MARK(X1)
A____(__(X, Y), Z) → MARK(Z)
A____(X, nil) → MARK(X)
A____(nil, X) → MARK(X)

The TRS R consists of the following rules:

a____(__(X, Y), Z) → a____(mark(X), a____(mark(Y), mark(Z)))
a____(X, nil) → mark(X)
a____(nil, X) → mark(X)
a__and(tt, X) → mark(X)
a__isNePal(__(I, __(P, I))) → tt
mark(__(X1, X2)) → a____(mark(X1), mark(X2))
mark(and(X1, X2)) → a__and(mark(X1), X2)
mark(isNePal(X)) → a__isNePal(mark(X))
mark(nil) → nil
mark(tt) → tt
a____(X1, X2) → __(X1, X2)
a__and(X1, X2) → and(X1, X2)
a__isNePal(X) → isNePal(X)

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.


A____(X, nil) → MARK(X)
A____(nil, 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____(x0, x1, x2)  =  A____(x0, x2)
MARK(x0, x1)  =  MARK(x0, x1)
A__AND(x0, x1, x2)  =  A__AND(x0, x2)

Tags:
A____ has argument tags [0,0,0] and root tag 0
MARK has argument tags [0,0] and root tag 0
A__AND has argument tags [0,7,0] and root tag 0

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

POL(A__AND(x1, x2)) = x1   
POL(A____(x1, x2)) = x1 + x2   
POL(MARK(x1)) = 0   
POL(__(x1, x2)) = x1 + x2   
POL(a____(x1, x2)) = x1 + x2   
POL(a__and(x1, x2)) = x1 + x2   
POL(a__isNePal(x1)) = 0   
POL(and(x1, x2)) = x1 + x2   
POL(isNePal(x1)) = 0   
POL(mark(x1)) = x1   
POL(nil) = 1   
POL(tt) = 0   

The following usable rules [FROCOS05] were oriented:

a____(X, nil) → mark(X)
mark(__(X1, X2)) → a____(mark(X1), mark(X2))
a____(__(X, Y), Z) → a____(mark(X), a____(mark(Y), mark(Z)))
a____(nil, X) → mark(X)
mark(and(X1, X2)) → a__and(mark(X1), X2)
a__and(tt, X) → mark(X)
mark(isNePal(X)) → a__isNePal(mark(X))
mark(nil) → nil
mark(tt) → tt
a____(X1, X2) → __(X1, X2)
a__isNePal(__(I, __(P, I))) → tt
a__isNePal(X) → isNePal(X)
a__and(X1, X2) → and(X1, X2)

(8) Obligation:

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

A____(__(X, Y), Z) → MARK(X)
MARK(__(X1, X2)) → A____(mark(X1), mark(X2))
A____(__(X, Y), Z) → A____(mark(X), a____(mark(Y), mark(Z)))
A____(__(X, Y), Z) → A____(mark(Y), mark(Z))
A____(__(X, Y), Z) → MARK(Y)
MARK(__(X1, X2)) → MARK(X1)
MARK(__(X1, X2)) → MARK(X2)
MARK(and(X1, X2)) → A__AND(mark(X1), X2)
A__AND(tt, X) → MARK(X)
MARK(and(X1, X2)) → MARK(X1)
A____(__(X, Y), Z) → MARK(Z)

The TRS R consists of the following rules:

a____(__(X, Y), Z) → a____(mark(X), a____(mark(Y), mark(Z)))
a____(X, nil) → mark(X)
a____(nil, X) → mark(X)
a__and(tt, X) → mark(X)
a__isNePal(__(I, __(P, I))) → tt
mark(__(X1, X2)) → a____(mark(X1), mark(X2))
mark(and(X1, X2)) → a__and(mark(X1), X2)
mark(isNePal(X)) → a__isNePal(mark(X))
mark(nil) → nil
mark(tt) → tt
a____(X1, X2) → __(X1, X2)
a__and(X1, X2) → and(X1, X2)
a__isNePal(X) → isNePal(X)

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

(9) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


A____(__(X, Y), Z) → MARK(X)
MARK(__(X1, X2)) → A____(mark(X1), mark(X2))
A____(__(X, Y), Z) → A____(mark(Y), mark(Z))
A____(__(X, Y), Z) → MARK(Y)
MARK(__(X1, X2)) → MARK(X1)
MARK(__(X1, X2)) → MARK(X2)
A____(__(X, Y), Z) → MARK(Z)
The remaining pairs can at least be oriented weakly.
Used ordering: SCNP Order with the following components:
Level mapping:
Top level AFS:
A____(x0, x1, x2)  =  A____(x0, x2)
MARK(x0, x1)  =  MARK(x0, x1)
A__AND(x0, x1, x2)  =  A__AND(x0, x1)

Tags:
A____ has argument tags [0,1,0] and root tag 3
MARK has argument tags [4,0] and root tag 0
A__AND has argument tags [4,4,7] and root tag 0

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

POL(A__AND(x1, x2)) = x2   
POL(A____(x1, x2)) = x1 + x2   
POL(MARK(x1)) = x1   
POL(__(x1, x2)) = 1 + x1 + x2   
POL(a____(x1, x2)) = 1 + x1 + x2   
POL(a__and(x1, x2)) = x1 + x2   
POL(a__isNePal(x1)) = 1   
POL(and(x1, x2)) = x1 + x2   
POL(isNePal(x1)) = 1   
POL(mark(x1)) = x1   
POL(nil) = 0   
POL(tt) = 1   

The following usable rules [FROCOS05] were oriented:

a____(X, nil) → mark(X)
mark(__(X1, X2)) → a____(mark(X1), mark(X2))
a____(__(X, Y), Z) → a____(mark(X), a____(mark(Y), mark(Z)))
a____(nil, X) → mark(X)
mark(and(X1, X2)) → a__and(mark(X1), X2)
a__and(tt, X) → mark(X)
mark(isNePal(X)) → a__isNePal(mark(X))
mark(nil) → nil
mark(tt) → tt
a____(X1, X2) → __(X1, X2)
a__isNePal(__(I, __(P, I))) → tt
a__isNePal(X) → isNePal(X)
a__and(X1, X2) → and(X1, X2)

(10) Obligation:

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

A____(__(X, Y), Z) → A____(mark(X), a____(mark(Y), mark(Z)))
MARK(and(X1, X2)) → A__AND(mark(X1), X2)
A__AND(tt, X) → MARK(X)
MARK(and(X1, X2)) → MARK(X1)

The TRS R consists of the following rules:

a____(__(X, Y), Z) → a____(mark(X), a____(mark(Y), mark(Z)))
a____(X, nil) → mark(X)
a____(nil, X) → mark(X)
a__and(tt, X) → mark(X)
a__isNePal(__(I, __(P, I))) → tt
mark(__(X1, X2)) → a____(mark(X1), mark(X2))
mark(and(X1, X2)) → a__and(mark(X1), X2)
mark(isNePal(X)) → a__isNePal(mark(X))
mark(nil) → nil
mark(tt) → tt
a____(X1, X2) → __(X1, X2)
a__and(X1, X2) → and(X1, X2)
a__isNePal(X) → isNePal(X)

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

(11) DependencyGraphProof (EQUIVALENT transformation)

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

(12) Complex Obligation (AND)

(13) Obligation:

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

A__AND(tt, X) → MARK(X)
MARK(and(X1, X2)) → A__AND(mark(X1), X2)
MARK(and(X1, X2)) → MARK(X1)

The TRS R consists of the following rules:

a____(__(X, Y), Z) → a____(mark(X), a____(mark(Y), mark(Z)))
a____(X, nil) → mark(X)
a____(nil, X) → mark(X)
a__and(tt, X) → mark(X)
a__isNePal(__(I, __(P, I))) → tt
mark(__(X1, X2)) → a____(mark(X1), mark(X2))
mark(and(X1, X2)) → a__and(mark(X1), X2)
mark(isNePal(X)) → a__isNePal(mark(X))
mark(nil) → nil
mark(tt) → tt
a____(X1, X2) → __(X1, X2)
a__and(X1, X2) → and(X1, X2)
a__isNePal(X) → isNePal(X)

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

(14) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


A__AND(tt, X) → MARK(X)
MARK(and(X1, X2)) → A__AND(mark(X1), X2)
MARK(and(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:
A__AND(x0, x1, x2)  =  A__AND(x2)
MARK(x0, x1)  =  MARK(x0)

Tags:
A__AND has argument tags [6,6,2] and root tag 1
MARK has argument tags [2,3] and root tag 0

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

POL(A__AND(x1, x2)) = 0   
POL(MARK(x1)) = x1   
POL(__(x1, x2)) = 1   
POL(a____(x1, x2)) = 0   
POL(a__and(x1, x2)) = x1   
POL(a__isNePal(x1)) = 0   
POL(and(x1, x2)) = 1 + x1 + x2   
POL(isNePal(x1)) = 1 + x1   
POL(mark(x1)) = x1   
POL(nil) = 0   
POL(tt) = 1   

The following usable rules [FROCOS05] were oriented: none

(15) Obligation:

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

a____(__(X, Y), Z) → a____(mark(X), a____(mark(Y), mark(Z)))
a____(X, nil) → mark(X)
a____(nil, X) → mark(X)
a__and(tt, X) → mark(X)
a__isNePal(__(I, __(P, I))) → tt
mark(__(X1, X2)) → a____(mark(X1), mark(X2))
mark(and(X1, X2)) → a__and(mark(X1), X2)
mark(isNePal(X)) → a__isNePal(mark(X))
mark(nil) → nil
mark(tt) → tt
a____(X1, X2) → __(X1, X2)
a__and(X1, X2) → and(X1, X2)
a__isNePal(X) → isNePal(X)

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

(16) PisEmptyProof (EQUIVALENT transformation)

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

(17) TRUE

(18) Obligation:

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

A____(__(X, Y), Z) → A____(mark(X), a____(mark(Y), mark(Z)))

The TRS R consists of the following rules:

a____(__(X, Y), Z) → a____(mark(X), a____(mark(Y), mark(Z)))
a____(X, nil) → mark(X)
a____(nil, X) → mark(X)
a__and(tt, X) → mark(X)
a__isNePal(__(I, __(P, I))) → tt
mark(__(X1, X2)) → a____(mark(X1), mark(X2))
mark(and(X1, X2)) → a__and(mark(X1), X2)
mark(isNePal(X)) → a__isNePal(mark(X))
mark(nil) → nil
mark(tt) → tt
a____(X1, X2) → __(X1, X2)
a__and(X1, X2) → and(X1, X2)
a__isNePal(X) → isNePal(X)

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.


A____(__(X, Y), Z) → A____(mark(X), a____(mark(Y), mark(Z)))
The remaining pairs can at least be oriented weakly.
Used ordering: SCNP Order with the following components:
Level mapping:
Top level AFS:
A____(x0, x1, x2)  =  A____(x0)

Tags:
A____ has argument tags [3,3,0] and root tag 0

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

POL(A____(x1, x2)) = 1 + x1   
POL(__(x1, x2)) = 1 + x1 + x2   
POL(a____(x1, x2)) = 1 + x1 + x2   
POL(a__and(x1, x2)) = x2   
POL(a__isNePal(x1)) = 0   
POL(and(x1, x2)) = x2   
POL(isNePal(x1)) = 0   
POL(mark(x1)) = x1   
POL(nil) = 0   
POL(tt) = 0   

The following usable rules [FROCOS05] were oriented:

a____(X, nil) → mark(X)
mark(__(X1, X2)) → a____(mark(X1), mark(X2))
a____(__(X, Y), Z) → a____(mark(X), a____(mark(Y), mark(Z)))
a____(nil, X) → mark(X)
mark(and(X1, X2)) → a__and(mark(X1), X2)
a__and(tt, X) → mark(X)
mark(isNePal(X)) → a__isNePal(mark(X))
mark(nil) → nil
mark(tt) → tt
a____(X1, X2) → __(X1, X2)
a__isNePal(__(I, __(P, I))) → tt
a__isNePal(X) → isNePal(X)
a__and(X1, X2) → and(X1, X2)

(20) Obligation:

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

a____(__(X, Y), Z) → a____(mark(X), a____(mark(Y), mark(Z)))
a____(X, nil) → mark(X)
a____(nil, X) → mark(X)
a__and(tt, X) → mark(X)
a__isNePal(__(I, __(P, I))) → tt
mark(__(X1, X2)) → a____(mark(X1), mark(X2))
mark(and(X1, X2)) → a__and(mark(X1), X2)
mark(isNePal(X)) → a__isNePal(mark(X))
mark(nil) → nil
mark(tt) → tt
a____(X1, X2) → __(X1, X2)
a__and(X1, X2) → and(X1, X2)
a__isNePal(X) → isNePal(X)

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

(21) PisEmptyProof (EQUIVALENT transformation)

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

(22) TRUE