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

Innermost Termination of R to be shown.



   R
Dependency Pair Analysis



R contains the following Dependency Pairs:

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

Furthermore, R contains one SCC.


   R
DPs
       →DP Problem 1
Semantic Labelling


Dependency Pairs:

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


Rule:


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


Strategy:

innermost




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

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


   R
DPs
       →DP Problem 1
SemLab
           →DP Problem 2
Modular Removal of Rules


Dependency Pairs:

F10(x, f11(a, a)) -> F00(f01(f11(a, a), a), f11(a, x))
F00(x, f11(a, a)) -> F10(a, x)


Rules:


f00(x, f11(a, a)) -> f00(f01(f11(a, a), a), f10(a, x))
f10(x, f11(a, a)) -> f00(f01(f11(a, a), a), f11(a, x))


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_00(x1, x2))=  x1 + x2  
  POL(f_01(x1, x2))=  x1 + x2  
  POL(F_10(x1, x2))=  x1 + x2  
  POL(a)=  0  

We have the following set D of usable symbols: {f11, F00, f01, a, F10}
No Dependency Pairs can be deleted.
2 non usable rules have been deleted.

The result of this processor delivers one new DP problem.



   R
DPs
       →DP Problem 1
SemLab
           →DP Problem 2
MRR
             ...
               →DP Problem 3
Unlabel


Dependency Pairs:

F00(x, f11(a, a)) -> F10(a, x)
F10(x, f11(a, a)) -> F00(f01(f11(a, a), a), f11(a, x))


Rule:

none


Strategy:

innermost




Removed all semantic labels.

   R
DPs
       →DP Problem 1
SemLab
           →DP Problem 2
MRR
             ...
               →DP Problem 4
Semantic Labelling


Dependency Pairs:

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


Rule:

none


Strategy:

innermost




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

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


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


Dependency Pair:

F10(x, f11(a, a)) -> F10(f01(f11(a, a), a), f11(a, x))


Rule:

none


Strategy:

innermost




Removed all semantic labels.

   R
DPs
       →DP Problem 1
SemLab
           →DP Problem 2
MRR
             ...
               →DP Problem 6
Instantiation Transformation


Dependency Pair:

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


Rule:

none


Strategy:

innermost




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

F(x, f(a, a)) -> F(f(f(a, a), a), f(a, x))
one new Dependency Pair is created:

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

The transformation is resulting in no new DP problems.


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