Term Rewriting System R:
[x, y, z]
xor(x, F) -> x
xor(x, neg(x)) -> F
xor(x, x) -> F
and(x, T) -> x
and(x, F) -> F
and(x, x) -> x
and(xor(x, y), z) -> xor(and(x, z), and(y, z))
impl(x, y) -> xor(and(x, y), xor(x, T))
or(x, y) -> xor(and(x, y), xor(x, y))
equiv(x, y) -> xor(x, xor(y, T))
neg(x) -> xor(x, T)

Innermost Termination of R to be shown.



   R
Dependency Pair Analysis



R contains the following Dependency Pairs:

AND(xor(x, y), z) -> XOR(and(x, z), and(y, z))
AND(xor(x, y), z) -> AND(x, z)
AND(xor(x, y), z) -> AND(y, z)
IMPL(x, y) -> XOR(and(x, y), xor(x, T))
IMPL(x, y) -> AND(x, y)
IMPL(x, y) -> XOR(x, T)
OR(x, y) -> XOR(and(x, y), xor(x, y))
OR(x, y) -> AND(x, y)
OR(x, y) -> XOR(x, y)
EQUIV(x, y) -> XOR(x, xor(y, T))
EQUIV(x, y) -> XOR(y, T)
NEG(x) -> XOR(x, T)

Furthermore, R contains one SCC.


   R
DPs
       →DP Problem 1
Forward Instantiation Transformation


Dependency Pairs:

AND(xor(x, y), z) -> AND(y, z)
AND(xor(x, y), z) -> AND(x, z)


Rules:


xor(x, F) -> x
xor(x, neg(x)) -> F
xor(x, x) -> F
and(x, T) -> x
and(x, F) -> F
and(x, x) -> x
and(xor(x, y), z) -> xor(and(x, z), and(y, z))
impl(x, y) -> xor(and(x, y), xor(x, T))
or(x, y) -> xor(and(x, y), xor(x, y))
equiv(x, y) -> xor(x, xor(y, T))
neg(x) -> xor(x, T)


Strategy:

innermost




On this DP problem, a Forward Instantiation SCC transformation can be performed.
As a result of transforming the rule

AND(xor(x, y), z) -> AND(x, z)
one new Dependency Pair is created:

AND(xor(xor(x'', y''), y), z'') -> AND(xor(x'', y''), z'')

The transformation is resulting in one new DP problem:



   R
DPs
       →DP Problem 1
FwdInst
           →DP Problem 2
Forward Instantiation Transformation


Dependency Pairs:

AND(xor(xor(x'', y''), y), z'') -> AND(xor(x'', y''), z'')
AND(xor(x, y), z) -> AND(y, z)


Rules:


xor(x, F) -> x
xor(x, neg(x)) -> F
xor(x, x) -> F
and(x, T) -> x
and(x, F) -> F
and(x, x) -> x
and(xor(x, y), z) -> xor(and(x, z), and(y, z))
impl(x, y) -> xor(and(x, y), xor(x, T))
or(x, y) -> xor(and(x, y), xor(x, y))
equiv(x, y) -> xor(x, xor(y, T))
neg(x) -> xor(x, T)


Strategy:

innermost




On this DP problem, a Forward Instantiation SCC transformation can be performed.
As a result of transforming the rule

AND(xor(x, y), z) -> AND(y, z)
two new Dependency Pairs are created:

AND(xor(x, xor(x'', y'')), z'') -> AND(xor(x'', y''), z'')
AND(xor(x, xor(xor(x'''', y''''), y'')), z') -> AND(xor(xor(x'''', y''''), y''), z')

The transformation is resulting in one new DP problem:



   R
DPs
       →DP Problem 1
FwdInst
           →DP Problem 2
FwdInst
             ...
               →DP Problem 3
Polynomial Ordering


Dependency Pairs:

AND(xor(x, xor(xor(x'''', y''''), y'')), z') -> AND(xor(xor(x'''', y''''), y''), z')
AND(xor(x, xor(x'', y'')), z'') -> AND(xor(x'', y''), z'')
AND(xor(xor(x'', y''), y), z'') -> AND(xor(x'', y''), z'')


Rules:


xor(x, F) -> x
xor(x, neg(x)) -> F
xor(x, x) -> F
and(x, T) -> x
and(x, F) -> F
and(x, x) -> x
and(xor(x, y), z) -> xor(and(x, z), and(y, z))
impl(x, y) -> xor(and(x, y), xor(x, T))
or(x, y) -> xor(and(x, y), xor(x, y))
equiv(x, y) -> xor(x, xor(y, T))
neg(x) -> xor(x, T)


Strategy:

innermost




The following dependency pairs can be strictly oriented:

AND(xor(x, xor(xor(x'''', y''''), y'')), z') -> AND(xor(xor(x'''', y''''), y''), z')
AND(xor(x, xor(x'', y'')), z'') -> AND(xor(x'', y''), z'')
AND(xor(xor(x'', y''), y), z'') -> AND(xor(x'', y''), z'')


Additionally, the following usable rules for innermost can be oriented:

xor(x, F) -> x
xor(x, neg(x)) -> F
xor(x, x) -> F


Used ordering: Polynomial ordering with Polynomial interpretation:
  POL(xor(x1, x2))=  1 + x1 + x2  
  POL(neg(x1))=  x1  
  POL(F)=  0  
  POL(AND(x1, x2))=  1 + x1 + x2  

resulting in one new DP problem.



   R
DPs
       →DP Problem 1
FwdInst
           →DP Problem 2
FwdInst
             ...
               →DP Problem 4
Dependency Graph


Dependency Pair:


Rules:


xor(x, F) -> x
xor(x, neg(x)) -> F
xor(x, x) -> F
and(x, T) -> x
and(x, F) -> F
and(x, x) -> x
and(xor(x, y), z) -> xor(and(x, z), and(y, z))
impl(x, y) -> xor(and(x, y), xor(x, T))
or(x, y) -> xor(and(x, y), xor(x, y))
equiv(x, y) -> xor(x, xor(y, T))
neg(x) -> xor(x, T)


Strategy:

innermost




Using the Dependency Graph resulted in no new DP problems.

Innermost Termination of R successfully shown.
Duration:
0:00 minutes