Term Rewriting System R:
[x]
a(d(x)) -> d(c(b(a(x))))
a(c(x)) -> x
b(c(x)) -> c(d(a(b(x))))
b(d(x)) -> x

Innermost Termination of R to be shown.



   R
Dependency Pair Analysis



R contains the following Dependency Pairs:

A(d(x)) -> B(a(x))
A(d(x)) -> A(x)
B(c(x)) -> A(b(x))
B(c(x)) -> B(x)

Furthermore, R contains one SCC.


   R
DPs
       →DP Problem 1
Narrowing Transformation


Dependency Pairs:

B(c(x)) -> B(x)
A(d(x)) -> A(x)
B(c(x)) -> A(b(x))
A(d(x)) -> B(a(x))


Rules:


a(d(x)) -> d(c(b(a(x))))
a(c(x)) -> x
b(c(x)) -> c(d(a(b(x))))
b(d(x)) -> x


Strategy:

innermost




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

A(d(x)) -> B(a(x))
two new Dependency Pairs are created:

A(d(d(x''))) -> B(d(c(b(a(x'')))))
A(d(c(x''))) -> B(x'')

The transformation is resulting in one new DP problem:



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


Dependency Pairs:

A(d(c(x''))) -> B(x'')
A(d(x)) -> A(x)
B(c(x)) -> A(b(x))
B(c(x)) -> B(x)


Rules:


a(d(x)) -> d(c(b(a(x))))
a(c(x)) -> x
b(c(x)) -> c(d(a(b(x))))
b(d(x)) -> x


Strategy:

innermost




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

B(c(x)) -> A(b(x))
two new Dependency Pairs are created:

B(c(c(x''))) -> A(c(d(a(b(x'')))))
B(c(d(x''))) -> A(x'')

The transformation is resulting in one new DP problem:



   R
DPs
       →DP Problem 1
Nar
           →DP Problem 2
Nar
             ...
               →DP Problem 3
Argument Filtering and Ordering


Dependency Pairs:

A(d(x)) -> A(x)
B(c(d(x''))) -> A(x'')
B(c(x)) -> B(x)
A(d(c(x''))) -> B(x'')


Rules:


a(d(x)) -> d(c(b(a(x))))
a(c(x)) -> x
b(c(x)) -> c(d(a(b(x))))
b(d(x)) -> x


Strategy:

innermost




The following dependency pairs can be strictly oriented:

A(d(x)) -> A(x)
B(c(d(x''))) -> A(x'')
B(c(x)) -> B(x)
A(d(c(x''))) -> B(x'')


There are no usable rules for innermost that need to be oriented.
Used ordering: Lexicographic Path Order with Non-Strict Precedence with Quasi Precedence:
d > B
c > A

resulting in one new DP problem.
Used Argument Filtering System:
A(x1) -> A(x1)
B(x1) -> B(x1)
d(x1) -> d(x1)
c(x1) -> c(x1)


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


Dependency Pair:


Rules:


a(d(x)) -> d(c(b(a(x))))
a(c(x)) -> x
b(c(x)) -> c(d(a(b(x))))
b(d(x)) -> x


Strategy:

innermost




Using the Dependency Graph resulted in no new DP problems.

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