(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__U11(tt) → a__U12(tt)
a__U12(tt) → tt
a__isNePal(__(I, __(P, I))) → a__U11(tt)
mark(__(X1, X2)) → a____(mark(X1), mark(X2))
mark(U11(X)) → a__U11(mark(X))
mark(U12(X)) → a__U12(mark(X))
mark(isNePal(X)) → a__isNePal(mark(X))
mark(nil) → nil
mark(tt) → tt
a____(X1, X2) → __(X1, X2)
a__U11(X) → U11(X)
a__U12(X) → U12(X)
a__isNePal(X) → isNePal(X)
Q is empty.
(1) QTRSRRRProof (EQUIVALENT transformation)
Used ordering:
Polynomial interpretation [POLO]:
POL(U11(x1)) = 2 + x1
POL(U12(x1)) = 1 + x1
POL(__(x1, x2)) = x1 + x2
POL(a__U11(x1)) = 2 + x1
POL(a__U12(x1)) = 1 + x1
POL(a____(x1, x2)) = x1 + x2
POL(a__isNePal(x1)) = 3 + x1
POL(isNePal(x1)) = 3 + x1
POL(mark(x1)) = x1
POL(nil) = 0
POL(tt) = 0
With this ordering the following rules can be removed by the rule removal processor [LPAR04] because they are oriented strictly:
a__U11(tt) → a__U12(tt)
a__U12(tt) → tt
a__isNePal(__(I, __(P, I))) → a__U11(tt)
(2) 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)
mark(__(X1, X2)) → a____(mark(X1), mark(X2))
mark(U11(X)) → a__U11(mark(X))
mark(U12(X)) → a__U12(mark(X))
mark(isNePal(X)) → a__isNePal(mark(X))
mark(nil) → nil
mark(tt) → tt
a____(X1, X2) → __(X1, X2)
a__U11(X) → U11(X)
a__U12(X) → U12(X)
a__isNePal(X) → isNePal(X)
Q is empty.
(3) QTRSRRRProof (EQUIVALENT transformation)
Used ordering:
Polynomial interpretation [POLO]:
POL(U11(x1)) = x1
POL(U12(x1)) = x1
POL(__(x1, x2)) = x1 + x2
POL(a__U11(x1)) = x1
POL(a__U12(x1)) = x1
POL(a____(x1, x2)) = x1 + x2
POL(a__isNePal(x1)) = x1
POL(isNePal(x1)) = x1
POL(mark(x1)) = x1
POL(nil) = 1
POL(tt) = 0
With this ordering the following rules can be removed by the rule removal processor [LPAR04] because they are oriented strictly:
a____(X, nil) → mark(X)
a____(nil, X) → mark(X)
(4) 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)))
mark(__(X1, X2)) → a____(mark(X1), mark(X2))
mark(U11(X)) → a__U11(mark(X))
mark(U12(X)) → a__U12(mark(X))
mark(isNePal(X)) → a__isNePal(mark(X))
mark(nil) → nil
mark(tt) → tt
a____(X1, X2) → __(X1, X2)
a__U11(X) → U11(X)
a__U12(X) → U12(X)
a__isNePal(X) → isNePal(X)
Q is empty.
(5) QTRSRRRProof (EQUIVALENT transformation)
Used ordering:
Polynomial interpretation [POLO]:
POL(U11(x1)) = x1
POL(U12(x1)) = x1
POL(__(x1, x2)) = 1 + 2·x1 + x2
POL(a__U11(x1)) = x1
POL(a__U12(x1)) = x1
POL(a____(x1, x2)) = 1 + 2·x1 + x2
POL(a__isNePal(x1)) = 2·x1
POL(isNePal(x1)) = 2·x1
POL(mark(x1)) = x1
POL(nil) = 0
POL(tt) = 0
With this ordering the following rules can be removed by the rule removal processor [LPAR04] because they are oriented strictly:
a____(__(X, Y), Z) → a____(mark(X), a____(mark(Y), mark(Z)))
(6) Obligation:
Q restricted rewrite system:
The TRS R consists of the following rules:
mark(__(X1, X2)) → a____(mark(X1), mark(X2))
mark(U11(X)) → a__U11(mark(X))
mark(U12(X)) → a__U12(mark(X))
mark(isNePal(X)) → a__isNePal(mark(X))
mark(nil) → nil
mark(tt) → tt
a____(X1, X2) → __(X1, X2)
a__U11(X) → U11(X)
a__U12(X) → U12(X)
a__isNePal(X) → isNePal(X)
Q is empty.
(7) QTRSRRRProof (EQUIVALENT transformation)
Used ordering:
Recursive path order with status [RPO].
Quasi-Precedence:
mark1 > a2 > _2
mark1 > aU111 > U111
mark1 > aU121 > U121
mark1 > aisNePal1 > isNePal1
Status:
trivial
With this ordering the following rules can be removed by the rule removal processor [LPAR04] because they are oriented strictly:
mark(__(X1, X2)) → a____(mark(X1), mark(X2))
mark(U11(X)) → a__U11(mark(X))
mark(U12(X)) → a__U12(mark(X))
mark(isNePal(X)) → a__isNePal(mark(X))
mark(nil) → nil
mark(tt) → tt
a____(X1, X2) → __(X1, X2)
a__U11(X) → U11(X)
a__U12(X) → U12(X)
a__isNePal(X) → isNePal(X)
(8) Obligation:
Q restricted rewrite system:
R is empty.
Q is empty.
(9) RisEmptyProof (EQUIVALENT transformation)
The TRS R is empty. Hence, termination is trivially proven.
(10) TRUE
(11) RisEmptyProof (EQUIVALENT transformation)
The TRS R is empty. Hence, termination is trivially proven.
(12) TRUE