Term Rewriting System R:
[x, y, z]
f(f(a, a), x) -> f(a, f(b, f(a, x)))
f(x, f(y, z)) -> f(f(x, y), z)

Innermost Termination of R to be shown.



   R
Dependency Pair Analysis



R contains the following Dependency Pairs:

F(f(a, a), x) -> F(a, f(b, f(a, x)))
F(f(a, a), x) -> F(b, f(a, x))
F(f(a, a), x) -> F(a, x)
F(x, f(y, z)) -> F(f(x, y), z)
F(x, f(y, z)) -> F(x, y)

Furthermore, R contains one SCC.


   R
DPs
       →DP Problem 1
Modular Removal of Rules


Dependency Pairs:

F(f(a, a), x) -> F(a, x)
F(x, f(y, z)) -> F(x, y)
F(f(a, a), x) -> F(b, f(a, x))
F(x, f(y, z)) -> F(f(x, y), z)
F(f(a, a), x) -> F(a, f(b, f(a, x)))


Rules:


f(f(a, a), x) -> f(a, f(b, f(a, x)))
f(x, f(y, z)) -> f(f(x, y), z)


Strategy:

innermost




We have the following set of usable rules:

f(f(a, a), x) -> f(a, f(b, f(a, x)))
f(x, f(y, z)) -> f(f(x, y), z)
To remove rules and DPs from this DP problem we used the following monotonic and CE-compatible order: Polynomial ordering.
Polynomial interpretation:
  POL(b)=  0  
  POL(a)=  1  
  POL(F(x1, x2))=  1 + x1 + x2  
  POL(f(x1, x2))=  x1 + x2  

We have the following set D of usable symbols: {b, a, F, f}
The following Dependency Pairs can be deleted as the lhs is strictly greater than the corresponding rhs:

F(f(a, a), x) -> F(a, x)
F(f(a, a), x) -> F(b, f(a, x))

No Rules can be deleted.

The result of this processor delivers one new DP problem.



   R
DPs
       →DP Problem 1
MRR
           →DP Problem 2
Narrowing Transformation


Dependency Pairs:

F(x, f(y, z)) -> F(x, y)
F(x, f(y, z)) -> F(f(x, y), z)
F(f(a, a), x) -> F(a, f(b, f(a, x)))


Rules:


f(f(a, a), x) -> f(a, f(b, f(a, x)))
f(x, f(y, z)) -> f(f(x, y), z)


Strategy:

innermost




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

F(f(a, a), x) -> F(a, f(b, f(a, x)))
two new Dependency Pairs are created:

F(f(a, a), x'') -> F(a, f(f(b, a), x''))
F(f(a, a), f(y', z')) -> F(a, f(b, f(f(a, y'), z')))

The transformation is resulting in one new DP problem:



   R
DPs
       →DP Problem 1
MRR
           →DP Problem 2
Nar
             ...
               →DP Problem 3
Semantic Labelling


Dependency Pairs:

F(f(a, a), f(y', z')) -> F(a, f(b, f(f(a, y'), z')))
F(f(a, a), x'') -> F(a, f(f(b, a), x''))
F(x, f(y, z)) -> F(f(x, y), z)
F(x, f(y, z)) -> F(x, y)


Rules:


f(f(a, a), x) -> f(a, f(b, f(a, x)))
f(x, f(y, z)) -> f(f(x, y), z)


Strategy:

innermost




Using Semantic Labelling, the DP problem could be transformed. The following model was found:
F(x0, x1)=  1
f(x0, x1)=  1
a=  0
b=  1

From the dependency graph we obtain 2 (labeled) SCCs which each result in correspondingDP problem.


   R
DPs
       →DP Problem 1
MRR
           →DP Problem 2
Nar
             ...
               →DP Problem 4
Modular Removal of Rules


Dependency Pairs:

F11(x, f11(y, z)) -> F11(x, y)
F11(x, f10(y, z)) -> F11(x, y)


Rules:


f10(f00(a, a), x) -> f01(a, f11(b, f00(a, x)))
f01(x, f00(y, z)) -> f10(f00(x, y), z)
f01(x, f01(y, z)) -> f11(f00(x, y), z)
f01(x, f10(y, z)) -> f10(f01(x, y), z)
f01(x, f11(y, z)) -> f11(f01(x, y), z)
f11(f00(a, a), x) -> f01(a, f11(b, f01(a, x)))
f11(x, f00(y, z)) -> f10(f10(x, y), z)
f11(x, f01(y, z)) -> f11(f10(x, y), z)
f11(x, f10(y, z)) -> f10(f11(x, y), z)
f11(x, f11(y, z)) -> f11(f11(x, y), z)


Strategy:

innermost




We have the following set of usable rules: none
To remove rules and DPs from this DP problem we used the following monotonic and CE-compatible order: Polynomial ordering.
Polynomial interpretation:
  POL(f_11(x1, x2))=  x1 + x2  
  POL(F_11(x1, x2))=  x1 + x2  
  POL(f_10(x1, x2))=  x1 + x2  

We have the following set D of usable symbols: {F11}
The following Dependency Pairs can be deleted as they contain symbols in their lhs which do not occur in D:

F11(x, f11(y, z)) -> F11(x, y)
F11(x, f10(y, z)) -> F11(x, y)

No Rules can be deleted.

After the removal, there are no SCCs in the dependency graph which results in no DP problems which have to be solved.



   R
DPs
       →DP Problem 1
MRR
           →DP Problem 2
Nar
             ...
               →DP Problem 5
Unlabel


Dependency Pairs:

F01(x, f11(y, z)) -> F01(x, y)
F10(f00(a, a), x'') -> F01(a, f10(f10(b, a), x''))
F01(x, f00(y, z)) -> F10(f00(x, y), z)
F01(x, f10(y, z)) -> F01(x, y)
F11(f00(a, a), x'') -> F01(a, f11(f10(b, a), x''))
F01(x, f01(y, z)) -> F11(f00(x, y), z)


Rules:


f10(f00(a, a), x) -> f01(a, f11(b, f00(a, x)))
f01(x, f00(y, z)) -> f10(f00(x, y), z)
f01(x, f01(y, z)) -> f11(f00(x, y), z)
f01(x, f10(y, z)) -> f10(f01(x, y), z)
f01(x, f11(y, z)) -> f11(f01(x, y), z)
f11(f00(a, a), x) -> f01(a, f11(b, f01(a, x)))
f11(x, f00(y, z)) -> f10(f10(x, y), z)
f11(x, f01(y, z)) -> f11(f10(x, y), z)
f11(x, f10(y, z)) -> f10(f11(x, y), z)
f11(x, f11(y, z)) -> f11(f11(x, y), z)


Strategy:

innermost




Removed all semantic labels.

   R
DPs
       →DP Problem 1
MRR
           →DP Problem 2
Nar
             ...
               →DP Problem 6
Semantic Labelling


Dependency Pairs:

F(x, f(y, z)) -> F(f(x, y), z)
F(f(a, a), x'') -> F(a, f(f(b, a), x''))
F(x, f(y, z)) -> F(x, y)


Rules:


f(f(a, a), x) -> f(a, f(b, f(a, x)))
f(x, f(y, z)) -> f(f(x, y), z)


Strategy:

innermost




Using Semantic Labelling, the DP problem could be transformed. The following model was found:
f(x0, x1)=  x0
a=  1
b=  0
F(x0, x1)=  1 + x0

From the dependency graph we obtain 4 (labeled) SCCs which each result in correspondingDP problem.


   R
DPs
       →DP Problem 1
MRR
           →DP Problem 2
Nar
             ...
               →DP Problem 7
Modular Removal of Rules


Dependency Pairs:

F00(x, f01(y, z)) -> F00(x, y)
F00(x, f00(y, z)) -> F00(x, y)


Rules:


f10(f11(a, a), x) -> f10(a, f01(b, f10(a, x)))
f10(x, f00(y, z)) -> f10(f10(x, y), z)
f10(x, f01(y, z)) -> f11(f10(x, y), z)
f11(f11(a, a), x) -> f10(a, f01(b, f11(a, x)))
f11(x, f10(y, z)) -> f10(f11(x, y), z)
f11(x, f11(y, z)) -> f11(f11(x, y), z)
f01(x, f10(y, z)) -> f00(f01(x, y), z)
f01(x, f11(y, z)) -> f01(f01(x, y), z)
f00(x, f00(y, z)) -> f00(f00(x, y), z)
f00(x, f01(y, z)) -> f01(f00(x, y), z)


Strategy:

innermost




We have the following set of usable rules: none
To remove rules and DPs from this DP problem we used the following monotonic and CE-compatible order: Polynomial ordering.
Polynomial interpretation:
  POL(F_00(x1, x2))=  x1 + x2  
  POL(f_00(x1, x2))=  x1 + x2  
  POL(f_01(x1, x2))=  x1 + x2  

We have the following set D of usable symbols: {F00}
The following Dependency Pairs can be deleted as they contain symbols in their lhs which do not occur in D:

F00(x, f01(y, z)) -> F00(x, y)
F00(x, f00(y, z)) -> F00(x, y)

No Rules can be deleted.

After the removal, there are no SCCs in the dependency graph which results in no DP problems which have to be solved.



   R
DPs
       →DP Problem 1
MRR
           →DP Problem 2
Nar
             ...
               →DP Problem 8
Modular Removal of Rules


Dependency Pairs:

F01(x, f11(y, z)) -> F01(x, y)
F01(x, f10(y, z)) -> F01(x, y)


Rules:


f10(f11(a, a), x) -> f10(a, f01(b, f10(a, x)))
f10(x, f00(y, z)) -> f10(f10(x, y), z)
f10(x, f01(y, z)) -> f11(f10(x, y), z)
f11(f11(a, a), x) -> f10(a, f01(b, f11(a, x)))
f11(x, f10(y, z)) -> f10(f11(x, y), z)
f11(x, f11(y, z)) -> f11(f11(x, y), z)
f01(x, f10(y, z)) -> f00(f01(x, y), z)
f01(x, f11(y, z)) -> f01(f01(x, y), z)
f00(x, f00(y, z)) -> f00(f00(x, y), z)
f00(x, f01(y, z)) -> f01(f00(x, y), z)


Strategy:

innermost




We have the following set of usable rules: none
To remove rules and DPs from this DP problem we used the following monotonic and CE-compatible order: Polynomial ordering.
Polynomial interpretation:
  POL(f_11(x1, x2))=  x1 + x2  
  POL(f_10(x1, x2))=  x1 + x2  
  POL(F_01(x1, x2))=  x1 + x2  

We have the following set D of usable symbols: {F01}
The following Dependency Pairs can be deleted as they contain symbols in their lhs which do not occur in D:

F01(x, f11(y, z)) -> F01(x, y)
F01(x, f10(y, z)) -> F01(x, y)

No Rules can be deleted.

After the removal, there are no SCCs in the dependency graph which results in no DP problems which have to be solved.



   R
DPs
       →DP Problem 1
MRR
           →DP Problem 2
Nar
             ...
               →DP Problem 9
Modular Removal of Rules


Dependency Pairs:

F11(x, f11(y, z)) -> F11(x, y)
F11(x, f10(y, z)) -> F11(x, y)


Rules:


f10(f11(a, a), x) -> f10(a, f01(b, f10(a, x)))
f10(x, f00(y, z)) -> f10(f10(x, y), z)
f10(x, f01(y, z)) -> f11(f10(x, y), z)
f11(f11(a, a), x) -> f10(a, f01(b, f11(a, x)))
f11(x, f10(y, z)) -> f10(f11(x, y), z)
f11(x, f11(y, z)) -> f11(f11(x, y), z)
f01(x, f10(y, z)) -> f00(f01(x, y), z)
f01(x, f11(y, z)) -> f01(f01(x, y), z)
f00(x, f00(y, z)) -> f00(f00(x, y), z)
f00(x, f01(y, z)) -> f01(f00(x, y), z)


Strategy:

innermost




We have the following set of usable rules: none
To remove rules and DPs from this DP problem we used the following monotonic and CE-compatible order: Polynomial ordering.
Polynomial interpretation:
  POL(f_11(x1, x2))=  x1 + x2  
  POL(F_11(x1, x2))=  x1 + x2  
  POL(f_10(x1, x2))=  x1 + x2  

We have the following set D of usable symbols: {F11}
The following Dependency Pairs can be deleted as they contain symbols in their lhs which do not occur in D:

F11(x, f11(y, z)) -> F11(x, y)
F11(x, f10(y, z)) -> F11(x, y)

No Rules can be deleted.

After the removal, there are no SCCs in the dependency graph which results in no DP problems which have to be solved.



   R
DPs
       →DP Problem 1
MRR
           →DP Problem 2
Nar
             ...
               →DP Problem 10
Modular Removal of Rules


Dependency Pairs:

F10(x, f01(y, z)) -> F10(x, y)
F10(x, f00(y, z)) -> F10(x, y)
F10(f11(a, a), x'') -> F10(a, f00(f01(b, a), x''))


Rules:


f10(f11(a, a), x) -> f10(a, f01(b, f10(a, x)))
f10(x, f00(y, z)) -> f10(f10(x, y), z)
f10(x, f01(y, z)) -> f11(f10(x, y), z)
f11(f11(a, a), x) -> f10(a, f01(b, f11(a, x)))
f11(x, f10(y, z)) -> f10(f11(x, y), z)
f11(x, f11(y, z)) -> f11(f11(x, y), z)
f01(x, f10(y, z)) -> f00(f01(x, y), z)
f01(x, f11(y, z)) -> f01(f01(x, y), z)
f00(x, f00(y, z)) -> f00(f00(x, y), z)
f00(x, f01(y, z)) -> f01(f00(x, y), z)


Strategy:

innermost




We have the following set of usable rules:

f01(x, f10(y, z)) -> f00(f01(x, y), z)
f01(x, f11(y, z)) -> f01(f01(x, y), z)
f00(x, f01(y, z)) -> f01(f00(x, y), z)
f00(x, f00(y, z)) -> f00(f00(x, y), z)
To remove rules and DPs from this DP problem we used the following monotonic and CE-compatible order: Polynomial ordering.
Polynomial interpretation:
  POL(f_11(x1, x2))=  x1 + x2  
  POL(f_00(x1, x2))=  x1 + x2  
  POL(b)=  0  
  POL(f_10(x1, x2))=  x1 + x2  
  POL(f_01(x1, x2))=  x1 + x2  
  POL(F_10(x1, x2))=  1 + x1 + x2  
  POL(a)=  0  

We have the following set D of usable symbols: {f00, b, f01, F10, a}
The following Dependency Pairs can be deleted as they contain symbols in their lhs which do not occur in D:

F10(f11(a, a), x'') -> F10(a, f00(f01(b, a), x''))

The following rules can be deleted as they contain symbols in their lhs which do not occur in D:

f01(x, f10(y, z)) -> f00(f01(x, y), z)
f01(x, f11(y, z)) -> f01(f01(x, y), z)
6 non usable rules have been deleted.

The result of this processor delivers one new DP problem.



   R
DPs
       →DP Problem 1
MRR
           →DP Problem 2
Nar
             ...
               →DP Problem 11
Modular Removal of Rules


Dependency Pairs:

F10(x, f00(y, z)) -> F10(x, y)
F10(x, f01(y, z)) -> F10(x, y)


Rules:


f00(x, f01(y, z)) -> f01(f00(x, y), z)
f00(x, f00(y, z)) -> f00(f00(x, y), z)


Strategy:

innermost




We have the following set of usable rules: none
To remove rules and DPs from this DP problem we used the following monotonic and CE-compatible order: Polynomial ordering.
Polynomial interpretation:
  POL(f_00(x1, x2))=  x1 + x2  
  POL(f_01(x1, x2))=  x1 + x2  
  POL(F_10(x1, x2))=  x1 + x2  

We have the following set D of usable symbols: {F10}
The following Dependency Pairs can be deleted as they contain symbols in their lhs which do not occur in D:

F10(x, f00(y, z)) -> F10(x, y)
F10(x, f01(y, z)) -> F10(x, y)

No Rules can be deleted.

After the removal, there are no SCCs in the dependency graph which results in no DP problems which have to be solved.


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