YES
Termination Proof using AProVETerm Rewriting System R:
[X, Y, Z, I, P]
((X, Y), Z) -> (X, (Y, Z))
(X, nil) -> X
(nil, X) -> X
and(tt, X) -> X
isNePal((I, (P, I))) -> tt
Termination of R to be shown.
TRS
↳CSR to TRS Transformation
Zantema-Transformation successful.
Replacement map:
and(1, 2)
(1, 2)
isNePal(1)
Old CSR:
((X, Y), Z) -> (X, (Y, Z))
(X, nil) -> X
(nil, X) -> X
and(tt, X) -> X
isNePal((I, (P, I))) -> tt
new TRS:
((X, Y), Z) -> (X, (Y, Z))
(X, nil) -> X
(nil, X) -> X
and(tt, X) -> a(X)
isNePal((I, (P, I))) -> tt
TRS
↳CSRtoTRS
→TRS1
↳Removing Redundant Rules
Removing the following rules from R which fullfill a polynomial ordering:
((X, Y), Z) -> (X, (Y, Z))
(X, nil) -> X
(nil, X) -> X
isNePal((I, (P, I))) -> tt
where the Polynomial interpretation:
POL(and(x1, x2)) | = x1 + x2 |
POL(*a*(x1)) | = x1 |
POL(__(x1, x2)) | = 1 + 2·x1 + x2 |
POL(tt) | = 0 |
POL(nil) | = 1 |
POL(isNePal(x1)) | = x1 |
was used.
Not all Rules of R can be deleted, so we still have to regard a part of R.
TRS
↳CSRtoTRS
→TRS1
↳RRRPolo
→TRS2
↳Removing Redundant Rules
Removing the following rules from R which fullfill a polynomial ordering:
and(tt, X) -> a(X)
where the Polynomial interpretation:
POL(and(x1, x2)) | = 1 + x1 + x2 |
POL(*a*(x1)) | = x1 |
POL(tt) | = 0 |
was used.
All Rules of R can be deleted.
TRS
↳CSRtoTRS
→TRS1
↳RRRPolo
→TRS2
↳RRRPolo
...
→TRS3
↳Overlay and local confluence Check
The TRS is overlay and locally confluent (all critical pairs are trivially joinable).Hence, we can switch to innermost.
TRS
↳CSRtoTRS
→TRS1
↳RRRPolo
→TRS2
↳RRRPolo
...
→TRS4
↳Dependency Pair Analysis
R contains no Dependency Pairs and therefore no SCCs.
Termination of R successfully shown.
Duration:
0:01 minutes