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

Termination of R to be shown.



   R
Dependency Pair Analysis



R contains the following Dependency Pairs:

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

Furthermore, R contains one SCC.


   R
DPs
       →DP Problem 1
Narrowing Transformation


Dependency Pairs:

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


Rule:


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





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

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

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

The transformation is resulting in one new DP problem:



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


Dependency Pairs:

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


Rule:


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





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

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

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

The transformation is resulting in one new DP problem:



   R
DPs
       →DP Problem 1
Nar
           →DP Problem 2
Nar
             ...
               →DP Problem 3
Narrowing Transformation


Dependency Pairs:

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


Rule:


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





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

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

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

The transformation is resulting in one new DP problem:



   R
DPs
       →DP Problem 1
Nar
           →DP Problem 2
Nar
             ...
               →DP Problem 4
Narrowing Transformation


Dependency Pairs:

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


Rule:


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





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

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

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

The transformation is resulting in one new DP problem:



   R
DPs
       →DP Problem 1
Nar
           →DP Problem 2
Nar
             ...
               →DP Problem 5
Forward Instantiation Transformation


Dependency Pairs:

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


Rule:


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





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

F(a, f(f(f(x', a), a), a)) -> F(f(a, f(f(a, f(f(a, x'), f(a, a))), f(a, a))), f(a, a))
no new Dependency Pairs are created.
The transformation is resulting in one new DP problem:



   R
DPs
       →DP Problem 1
Nar
           →DP Problem 2
Nar
             ...
               →DP Problem 6
Polynomial Ordering


Dependency Pairs:

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


Rule:


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





The following dependency pairs can be strictly oriented:

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


Additionally, the following usable rule w.r.t. to the implicit AFS can be oriented:

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


Used ordering: Polynomial ordering with Polynomial interpretation:
  POL(a)=  0  
  POL(f(x1, x2))=  1 + x1  
  POL(F(x1, x2))=  x2  

resulting in one new DP problem.



   R
DPs
       →DP Problem 1
Nar
           →DP Problem 2
Nar
             ...
               →DP Problem 7
Dependency Graph


Dependency Pair:


Rule:


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





Using the Dependency Graph resulted in no new DP problems.

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