Term Rewriting System R:
[X]
active(g(X)) -> mark(h(X))
active(c) -> mark(d)
active(h(d)) -> mark(g(c))
proper(g(X)) -> g(proper(X))
proper(h(X)) -> h(proper(X))
proper(c) -> ok(c)
proper(d) -> ok(d)
g(ok(X)) -> ok(g(X))
h(ok(X)) -> ok(h(X))
top(mark(X)) -> top(proper(X))
top(ok(X)) -> top(active(X))

Innermost Termination of R to be shown.



   R
Dependency Pair Analysis



R contains the following Dependency Pairs:

ACTIVE(g(X)) -> H(X)
ACTIVE(h(d)) -> G(c)
PROPER(g(X)) -> G(proper(X))
PROPER(g(X)) -> PROPER(X)
PROPER(h(X)) -> H(proper(X))
PROPER(h(X)) -> PROPER(X)
G(ok(X)) -> G(X)
H(ok(X)) -> H(X)
TOP(mark(X)) -> TOP(proper(X))
TOP(mark(X)) -> PROPER(X)
TOP(ok(X)) -> TOP(active(X))
TOP(ok(X)) -> ACTIVE(X)

Furthermore, R contains four SCCs.


   R
DPs
       →DP Problem 1
Forward Instantiation Transformation
       →DP Problem 2
FwdInst
       →DP Problem 3
FwdInst
       →DP Problem 4
Nar


Dependency Pair:

G(ok(X)) -> G(X)


Rules:


active(g(X)) -> mark(h(X))
active(c) -> mark(d)
active(h(d)) -> mark(g(c))
proper(g(X)) -> g(proper(X))
proper(h(X)) -> h(proper(X))
proper(c) -> ok(c)
proper(d) -> ok(d)
g(ok(X)) -> ok(g(X))
h(ok(X)) -> ok(h(X))
top(mark(X)) -> top(proper(X))
top(ok(X)) -> top(active(X))


Strategy:

innermost




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

G(ok(X)) -> G(X)
one new Dependency Pair is created:

G(ok(ok(X''))) -> G(ok(X''))

The transformation is resulting in one new DP problem:



   R
DPs
       →DP Problem 1
FwdInst
           →DP Problem 5
Forward Instantiation Transformation
       →DP Problem 2
FwdInst
       →DP Problem 3
FwdInst
       →DP Problem 4
Nar


Dependency Pair:

G(ok(ok(X''))) -> G(ok(X''))


Rules:


active(g(X)) -> mark(h(X))
active(c) -> mark(d)
active(h(d)) -> mark(g(c))
proper(g(X)) -> g(proper(X))
proper(h(X)) -> h(proper(X))
proper(c) -> ok(c)
proper(d) -> ok(d)
g(ok(X)) -> ok(g(X))
h(ok(X)) -> ok(h(X))
top(mark(X)) -> top(proper(X))
top(ok(X)) -> top(active(X))


Strategy:

innermost




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

G(ok(ok(X''))) -> G(ok(X''))
one new Dependency Pair is created:

G(ok(ok(ok(X'''')))) -> G(ok(ok(X'''')))

The transformation is resulting in one new DP problem:



   R
DPs
       →DP Problem 1
FwdInst
           →DP Problem 5
FwdInst
             ...
               →DP Problem 6
Polynomial Ordering
       →DP Problem 2
FwdInst
       →DP Problem 3
FwdInst
       →DP Problem 4
Nar


Dependency Pair:

G(ok(ok(ok(X'''')))) -> G(ok(ok(X'''')))


Rules:


active(g(X)) -> mark(h(X))
active(c) -> mark(d)
active(h(d)) -> mark(g(c))
proper(g(X)) -> g(proper(X))
proper(h(X)) -> h(proper(X))
proper(c) -> ok(c)
proper(d) -> ok(d)
g(ok(X)) -> ok(g(X))
h(ok(X)) -> ok(h(X))
top(mark(X)) -> top(proper(X))
top(ok(X)) -> top(active(X))


Strategy:

innermost




The following dependency pair can be strictly oriented:

G(ok(ok(ok(X'''')))) -> G(ok(ok(X'''')))


There are no usable rules for innermost that need to be oriented.

Used ordering: Polynomial ordering with Polynomial interpretation:
  POL(G(x1))=  1 + x1  
  POL(ok(x1))=  1 + x1  

resulting in one new DP problem.



   R
DPs
       →DP Problem 1
FwdInst
           →DP Problem 5
FwdInst
             ...
               →DP Problem 7
Dependency Graph
       →DP Problem 2
FwdInst
       →DP Problem 3
FwdInst
       →DP Problem 4
Nar


Dependency Pair:


Rules:


active(g(X)) -> mark(h(X))
active(c) -> mark(d)
active(h(d)) -> mark(g(c))
proper(g(X)) -> g(proper(X))
proper(h(X)) -> h(proper(X))
proper(c) -> ok(c)
proper(d) -> ok(d)
g(ok(X)) -> ok(g(X))
h(ok(X)) -> ok(h(X))
top(mark(X)) -> top(proper(X))
top(ok(X)) -> top(active(X))


Strategy:

innermost




Using the Dependency Graph resulted in no new DP problems.


   R
DPs
       →DP Problem 1
FwdInst
       →DP Problem 2
Forward Instantiation Transformation
       →DP Problem 3
FwdInst
       →DP Problem 4
Nar


Dependency Pair:

H(ok(X)) -> H(X)


Rules:


active(g(X)) -> mark(h(X))
active(c) -> mark(d)
active(h(d)) -> mark(g(c))
proper(g(X)) -> g(proper(X))
proper(h(X)) -> h(proper(X))
proper(c) -> ok(c)
proper(d) -> ok(d)
g(ok(X)) -> ok(g(X))
h(ok(X)) -> ok(h(X))
top(mark(X)) -> top(proper(X))
top(ok(X)) -> top(active(X))


Strategy:

innermost




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

H(ok(X)) -> H(X)
one new Dependency Pair is created:

H(ok(ok(X''))) -> H(ok(X''))

The transformation is resulting in one new DP problem:



   R
DPs
       →DP Problem 1
FwdInst
       →DP Problem 2
FwdInst
           →DP Problem 8
Forward Instantiation Transformation
       →DP Problem 3
FwdInst
       →DP Problem 4
Nar


Dependency Pair:

H(ok(ok(X''))) -> H(ok(X''))


Rules:


active(g(X)) -> mark(h(X))
active(c) -> mark(d)
active(h(d)) -> mark(g(c))
proper(g(X)) -> g(proper(X))
proper(h(X)) -> h(proper(X))
proper(c) -> ok(c)
proper(d) -> ok(d)
g(ok(X)) -> ok(g(X))
h(ok(X)) -> ok(h(X))
top(mark(X)) -> top(proper(X))
top(ok(X)) -> top(active(X))


Strategy:

innermost




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

H(ok(ok(X''))) -> H(ok(X''))
one new Dependency Pair is created:

H(ok(ok(ok(X'''')))) -> H(ok(ok(X'''')))

The transformation is resulting in one new DP problem:



   R
DPs
       →DP Problem 1
FwdInst
       →DP Problem 2
FwdInst
           →DP Problem 8
FwdInst
             ...
               →DP Problem 9
Polynomial Ordering
       →DP Problem 3
FwdInst
       →DP Problem 4
Nar


Dependency Pair:

H(ok(ok(ok(X'''')))) -> H(ok(ok(X'''')))


Rules:


active(g(X)) -> mark(h(X))
active(c) -> mark(d)
active(h(d)) -> mark(g(c))
proper(g(X)) -> g(proper(X))
proper(h(X)) -> h(proper(X))
proper(c) -> ok(c)
proper(d) -> ok(d)
g(ok(X)) -> ok(g(X))
h(ok(X)) -> ok(h(X))
top(mark(X)) -> top(proper(X))
top(ok(X)) -> top(active(X))


Strategy:

innermost




The following dependency pair can be strictly oriented:

H(ok(ok(ok(X'''')))) -> H(ok(ok(X'''')))


There are no usable rules for innermost that need to be oriented.

Used ordering: Polynomial ordering with Polynomial interpretation:
  POL(H(x1))=  1 + x1  
  POL(ok(x1))=  1 + x1  

resulting in one new DP problem.



   R
DPs
       →DP Problem 1
FwdInst
       →DP Problem 2
FwdInst
           →DP Problem 8
FwdInst
             ...
               →DP Problem 10
Dependency Graph
       →DP Problem 3
FwdInst
       →DP Problem 4
Nar


Dependency Pair:


Rules:


active(g(X)) -> mark(h(X))
active(c) -> mark(d)
active(h(d)) -> mark(g(c))
proper(g(X)) -> g(proper(X))
proper(h(X)) -> h(proper(X))
proper(c) -> ok(c)
proper(d) -> ok(d)
g(ok(X)) -> ok(g(X))
h(ok(X)) -> ok(h(X))
top(mark(X)) -> top(proper(X))
top(ok(X)) -> top(active(X))


Strategy:

innermost




Using the Dependency Graph resulted in no new DP problems.


   R
DPs
       →DP Problem 1
FwdInst
       →DP Problem 2
FwdInst
       →DP Problem 3
Forward Instantiation Transformation
       →DP Problem 4
Nar


Dependency Pairs:

PROPER(h(X)) -> PROPER(X)
PROPER(g(X)) -> PROPER(X)


Rules:


active(g(X)) -> mark(h(X))
active(c) -> mark(d)
active(h(d)) -> mark(g(c))
proper(g(X)) -> g(proper(X))
proper(h(X)) -> h(proper(X))
proper(c) -> ok(c)
proper(d) -> ok(d)
g(ok(X)) -> ok(g(X))
h(ok(X)) -> ok(h(X))
top(mark(X)) -> top(proper(X))
top(ok(X)) -> top(active(X))


Strategy:

innermost




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

PROPER(g(X)) -> PROPER(X)
two new Dependency Pairs are created:

PROPER(g(g(X''))) -> PROPER(g(X''))
PROPER(g(h(X''))) -> PROPER(h(X''))

The transformation is resulting in one new DP problem:



   R
DPs
       →DP Problem 1
FwdInst
       →DP Problem 2
FwdInst
       →DP Problem 3
FwdInst
           →DP Problem 11
Forward Instantiation Transformation
       →DP Problem 4
Nar


Dependency Pairs:

PROPER(g(h(X''))) -> PROPER(h(X''))
PROPER(g(g(X''))) -> PROPER(g(X''))
PROPER(h(X)) -> PROPER(X)


Rules:


active(g(X)) -> mark(h(X))
active(c) -> mark(d)
active(h(d)) -> mark(g(c))
proper(g(X)) -> g(proper(X))
proper(h(X)) -> h(proper(X))
proper(c) -> ok(c)
proper(d) -> ok(d)
g(ok(X)) -> ok(g(X))
h(ok(X)) -> ok(h(X))
top(mark(X)) -> top(proper(X))
top(ok(X)) -> top(active(X))


Strategy:

innermost




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

PROPER(h(X)) -> PROPER(X)
three new Dependency Pairs are created:

PROPER(h(h(X''))) -> PROPER(h(X''))
PROPER(h(g(g(X'''')))) -> PROPER(g(g(X'''')))
PROPER(h(g(h(X'''')))) -> PROPER(g(h(X'''')))

The transformation is resulting in one new DP problem:



   R
DPs
       →DP Problem 1
FwdInst
       →DP Problem 2
FwdInst
       →DP Problem 3
FwdInst
           →DP Problem 11
FwdInst
             ...
               →DP Problem 12
Forward Instantiation Transformation
       →DP Problem 4
Nar


Dependency Pairs:

PROPER(h(g(h(X'''')))) -> PROPER(g(h(X'''')))
PROPER(g(g(X''))) -> PROPER(g(X''))
PROPER(h(g(g(X'''')))) -> PROPER(g(g(X'''')))
PROPER(h(h(X''))) -> PROPER(h(X''))
PROPER(g(h(X''))) -> PROPER(h(X''))


Rules:


active(g(X)) -> mark(h(X))
active(c) -> mark(d)
active(h(d)) -> mark(g(c))
proper(g(X)) -> g(proper(X))
proper(h(X)) -> h(proper(X))
proper(c) -> ok(c)
proper(d) -> ok(d)
g(ok(X)) -> ok(g(X))
h(ok(X)) -> ok(h(X))
top(mark(X)) -> top(proper(X))
top(ok(X)) -> top(active(X))


Strategy:

innermost




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

PROPER(g(g(X''))) -> PROPER(g(X''))
two new Dependency Pairs are created:

PROPER(g(g(g(X'''')))) -> PROPER(g(g(X'''')))
PROPER(g(g(h(X'''')))) -> PROPER(g(h(X'''')))

The transformation is resulting in one new DP problem:



   R
DPs
       →DP Problem 1
FwdInst
       →DP Problem 2
FwdInst
       →DP Problem 3
FwdInst
           →DP Problem 11
FwdInst
             ...
               →DP Problem 13
Forward Instantiation Transformation
       →DP Problem 4
Nar


Dependency Pairs:

PROPER(g(g(h(X'''')))) -> PROPER(g(h(X'''')))
PROPER(g(g(g(X'''')))) -> PROPER(g(g(X'''')))
PROPER(h(g(g(X'''')))) -> PROPER(g(g(X'''')))
PROPER(h(h(X''))) -> PROPER(h(X''))
PROPER(g(h(X''))) -> PROPER(h(X''))
PROPER(h(g(h(X'''')))) -> PROPER(g(h(X'''')))


Rules:


active(g(X)) -> mark(h(X))
active(c) -> mark(d)
active(h(d)) -> mark(g(c))
proper(g(X)) -> g(proper(X))
proper(h(X)) -> h(proper(X))
proper(c) -> ok(c)
proper(d) -> ok(d)
g(ok(X)) -> ok(g(X))
h(ok(X)) -> ok(h(X))
top(mark(X)) -> top(proper(X))
top(ok(X)) -> top(active(X))


Strategy:

innermost




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

PROPER(g(h(X''))) -> PROPER(h(X''))
three new Dependency Pairs are created:

PROPER(g(h(h(X'''')))) -> PROPER(h(h(X'''')))
PROPER(g(h(g(g(X''''''))))) -> PROPER(h(g(g(X''''''))))
PROPER(g(h(g(h(X''''''))))) -> PROPER(h(g(h(X''''''))))

The transformation is resulting in one new DP problem:



   R
DPs
       →DP Problem 1
FwdInst
       →DP Problem 2
FwdInst
       →DP Problem 3
FwdInst
           →DP Problem 11
FwdInst
             ...
               →DP Problem 14
Forward Instantiation Transformation
       →DP Problem 4
Nar


Dependency Pairs:

PROPER(g(h(g(h(X''''''))))) -> PROPER(h(g(h(X''''''))))
PROPER(g(h(g(g(X''''''))))) -> PROPER(h(g(g(X''''''))))
PROPER(h(g(h(X'''')))) -> PROPER(g(h(X'''')))
PROPER(g(g(g(X'''')))) -> PROPER(g(g(X'''')))
PROPER(h(g(g(X'''')))) -> PROPER(g(g(X'''')))
PROPER(h(h(X''))) -> PROPER(h(X''))
PROPER(g(h(h(X'''')))) -> PROPER(h(h(X'''')))
PROPER(g(g(h(X'''')))) -> PROPER(g(h(X'''')))


Rules:


active(g(X)) -> mark(h(X))
active(c) -> mark(d)
active(h(d)) -> mark(g(c))
proper(g(X)) -> g(proper(X))
proper(h(X)) -> h(proper(X))
proper(c) -> ok(c)
proper(d) -> ok(d)
g(ok(X)) -> ok(g(X))
h(ok(X)) -> ok(h(X))
top(mark(X)) -> top(proper(X))
top(ok(X)) -> top(active(X))


Strategy:

innermost




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

PROPER(h(h(X''))) -> PROPER(h(X''))
three new Dependency Pairs are created:

PROPER(h(h(h(X'''')))) -> PROPER(h(h(X'''')))
PROPER(h(h(g(g(X''''''))))) -> PROPER(h(g(g(X''''''))))
PROPER(h(h(g(h(X''''''))))) -> PROPER(h(g(h(X''''''))))

The transformation is resulting in one new DP problem:



   R
DPs
       →DP Problem 1
FwdInst
       →DP Problem 2
FwdInst
       →DP Problem 3
FwdInst
           →DP Problem 11
FwdInst
             ...
               →DP Problem 15
Forward Instantiation Transformation
       →DP Problem 4
Nar


Dependency Pairs:

PROPER(h(h(g(h(X''''''))))) -> PROPER(h(g(h(X''''''))))
PROPER(g(h(g(g(X''''''))))) -> PROPER(h(g(g(X''''''))))
PROPER(g(g(h(X'''')))) -> PROPER(g(h(X'''')))
PROPER(g(g(g(X'''')))) -> PROPER(g(g(X'''')))
PROPER(h(g(g(X'''')))) -> PROPER(g(g(X'''')))
PROPER(h(h(g(g(X''''''))))) -> PROPER(h(g(g(X''''''))))
PROPER(h(h(h(X'''')))) -> PROPER(h(h(X'''')))
PROPER(g(h(h(X'''')))) -> PROPER(h(h(X'''')))
PROPER(h(g(h(X'''')))) -> PROPER(g(h(X'''')))
PROPER(g(h(g(h(X''''''))))) -> PROPER(h(g(h(X''''''))))


Rules:


active(g(X)) -> mark(h(X))
active(c) -> mark(d)
active(h(d)) -> mark(g(c))
proper(g(X)) -> g(proper(X))
proper(h(X)) -> h(proper(X))
proper(c) -> ok(c)
proper(d) -> ok(d)
g(ok(X)) -> ok(g(X))
h(ok(X)) -> ok(h(X))
top(mark(X)) -> top(proper(X))
top(ok(X)) -> top(active(X))


Strategy:

innermost




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

PROPER(h(g(g(X'''')))) -> PROPER(g(g(X'''')))
two new Dependency Pairs are created:

PROPER(h(g(g(g(X''''''))))) -> PROPER(g(g(g(X''''''))))
PROPER(h(g(g(h(X''''''))))) -> PROPER(g(g(h(X''''''))))

The transformation is resulting in one new DP problem:



   R
DPs
       →DP Problem 1
FwdInst
       →DP Problem 2
FwdInst
       →DP Problem 3
FwdInst
           →DP Problem 11
FwdInst
             ...
               →DP Problem 16
Forward Instantiation Transformation
       →DP Problem 4
Nar


Dependency Pairs:

PROPER(g(h(g(h(X''''''))))) -> PROPER(h(g(h(X''''''))))
PROPER(h(g(g(h(X''''''))))) -> PROPER(g(g(h(X''''''))))
PROPER(g(h(g(g(X''''''))))) -> PROPER(h(g(g(X''''''))))
PROPER(g(g(h(X'''')))) -> PROPER(g(h(X'''')))
PROPER(g(g(g(X'''')))) -> PROPER(g(g(X'''')))
PROPER(h(g(g(g(X''''''))))) -> PROPER(g(g(g(X''''''))))
PROPER(h(h(g(g(X''''''))))) -> PROPER(h(g(g(X''''''))))
PROPER(h(h(h(X'''')))) -> PROPER(h(h(X'''')))
PROPER(g(h(h(X'''')))) -> PROPER(h(h(X'''')))
PROPER(h(g(h(X'''')))) -> PROPER(g(h(X'''')))
PROPER(h(h(g(h(X''''''))))) -> PROPER(h(g(h(X''''''))))


Rules:


active(g(X)) -> mark(h(X))
active(c) -> mark(d)
active(h(d)) -> mark(g(c))
proper(g(X)) -> g(proper(X))
proper(h(X)) -> h(proper(X))
proper(c) -> ok(c)
proper(d) -> ok(d)
g(ok(X)) -> ok(g(X))
h(ok(X)) -> ok(h(X))
top(mark(X)) -> top(proper(X))
top(ok(X)) -> top(active(X))


Strategy:

innermost




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

PROPER(h(g(h(X'''')))) -> PROPER(g(h(X'''')))
three new Dependency Pairs are created:

PROPER(h(g(h(h(X''''''))))) -> PROPER(g(h(h(X''''''))))
PROPER(h(g(h(g(g(X'''''''')))))) -> PROPER(g(h(g(g(X'''''''')))))
PROPER(h(g(h(g(h(X'''''''')))))) -> PROPER(g(h(g(h(X'''''''')))))

The transformation is resulting in one new DP problem:



   R
DPs
       →DP Problem 1
FwdInst
       →DP Problem 2
FwdInst
       →DP Problem 3
FwdInst
           →DP Problem 11
FwdInst
             ...
               →DP Problem 17
Polynomial Ordering
       →DP Problem 4
Nar


Dependency Pairs:

PROPER(h(g(h(g(h(X'''''''')))))) -> PROPER(g(h(g(h(X'''''''')))))
PROPER(h(g(h(g(g(X'''''''')))))) -> PROPER(g(h(g(g(X'''''''')))))
PROPER(h(h(g(h(X''''''))))) -> PROPER(h(g(h(X''''''))))
PROPER(h(g(g(h(X''''''))))) -> PROPER(g(g(h(X''''''))))
PROPER(g(h(g(g(X''''''))))) -> PROPER(h(g(g(X''''''))))
PROPER(g(g(h(X'''')))) -> PROPER(g(h(X'''')))
PROPER(g(g(g(X'''')))) -> PROPER(g(g(X'''')))
PROPER(h(g(g(g(X''''''))))) -> PROPER(g(g(g(X''''''))))
PROPER(h(h(g(g(X''''''))))) -> PROPER(h(g(g(X''''''))))
PROPER(h(h(h(X'''')))) -> PROPER(h(h(X'''')))
PROPER(g(h(h(X'''')))) -> PROPER(h(h(X'''')))
PROPER(h(g(h(h(X''''''))))) -> PROPER(g(h(h(X''''''))))
PROPER(g(h(g(h(X''''''))))) -> PROPER(h(g(h(X''''''))))


Rules:


active(g(X)) -> mark(h(X))
active(c) -> mark(d)
active(h(d)) -> mark(g(c))
proper(g(X)) -> g(proper(X))
proper(h(X)) -> h(proper(X))
proper(c) -> ok(c)
proper(d) -> ok(d)
g(ok(X)) -> ok(g(X))
h(ok(X)) -> ok(h(X))
top(mark(X)) -> top(proper(X))
top(ok(X)) -> top(active(X))


Strategy:

innermost




The following dependency pairs can be strictly oriented:

PROPER(h(g(h(g(h(X'''''''')))))) -> PROPER(g(h(g(h(X'''''''')))))
PROPER(h(g(h(g(g(X'''''''')))))) -> PROPER(g(h(g(g(X'''''''')))))
PROPER(h(h(g(h(X''''''))))) -> PROPER(h(g(h(X''''''))))
PROPER(h(g(g(h(X''''''))))) -> PROPER(g(g(h(X''''''))))
PROPER(h(g(g(g(X''''''))))) -> PROPER(g(g(g(X''''''))))
PROPER(h(h(g(g(X''''''))))) -> PROPER(h(g(g(X''''''))))
PROPER(h(h(h(X'''')))) -> PROPER(h(h(X'''')))
PROPER(h(g(h(h(X''''''))))) -> PROPER(g(h(h(X''''''))))


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

g(ok(X)) -> ok(g(X))
h(ok(X)) -> ok(h(X))


Used ordering: Polynomial ordering with Polynomial interpretation:
  POL(g(x1))=  x1  
  POL(PROPER(x1))=  1 + x1  
  POL(h(x1))=  1 + x1  
  POL(ok(x1))=  0  

resulting in one new DP problem.



   R
DPs
       →DP Problem 1
FwdInst
       →DP Problem 2
FwdInst
       →DP Problem 3
FwdInst
           →DP Problem 11
FwdInst
             ...
               →DP Problem 18
Dependency Graph
       →DP Problem 4
Nar


Dependency Pairs:

PROPER(g(h(g(g(X''''''))))) -> PROPER(h(g(g(X''''''))))
PROPER(g(g(h(X'''')))) -> PROPER(g(h(X'''')))
PROPER(g(g(g(X'''')))) -> PROPER(g(g(X'''')))
PROPER(g(h(h(X'''')))) -> PROPER(h(h(X'''')))
PROPER(g(h(g(h(X''''''))))) -> PROPER(h(g(h(X''''''))))


Rules:


active(g(X)) -> mark(h(X))
active(c) -> mark(d)
active(h(d)) -> mark(g(c))
proper(g(X)) -> g(proper(X))
proper(h(X)) -> h(proper(X))
proper(c) -> ok(c)
proper(d) -> ok(d)
g(ok(X)) -> ok(g(X))
h(ok(X)) -> ok(h(X))
top(mark(X)) -> top(proper(X))
top(ok(X)) -> top(active(X))


Strategy:

innermost




Using the Dependency Graph the DP problem was split into 1 DP problems.


   R
DPs
       →DP Problem 1
FwdInst
       →DP Problem 2
FwdInst
       →DP Problem 3
FwdInst
           →DP Problem 11
FwdInst
             ...
               →DP Problem 19
Polynomial Ordering
       →DP Problem 4
Nar


Dependency Pair:

PROPER(g(g(g(X'''')))) -> PROPER(g(g(X'''')))


Rules:


active(g(X)) -> mark(h(X))
active(c) -> mark(d)
active(h(d)) -> mark(g(c))
proper(g(X)) -> g(proper(X))
proper(h(X)) -> h(proper(X))
proper(c) -> ok(c)
proper(d) -> ok(d)
g(ok(X)) -> ok(g(X))
h(ok(X)) -> ok(h(X))
top(mark(X)) -> top(proper(X))
top(ok(X)) -> top(active(X))


Strategy:

innermost




The following dependency pair can be strictly oriented:

PROPER(g(g(g(X'''')))) -> PROPER(g(g(X'''')))


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

g(ok(X)) -> ok(g(X))


Used ordering: Polynomial ordering with Polynomial interpretation:
  POL(g(x1))=  1 + x1  
  POL(PROPER(x1))=  1 + x1  
  POL(ok(x1))=  0  

resulting in one new DP problem.



   R
DPs
       →DP Problem 1
FwdInst
       →DP Problem 2
FwdInst
       →DP Problem 3
FwdInst
           →DP Problem 11
FwdInst
             ...
               →DP Problem 20
Dependency Graph
       →DP Problem 4
Nar


Dependency Pair:


Rules:


active(g(X)) -> mark(h(X))
active(c) -> mark(d)
active(h(d)) -> mark(g(c))
proper(g(X)) -> g(proper(X))
proper(h(X)) -> h(proper(X))
proper(c) -> ok(c)
proper(d) -> ok(d)
g(ok(X)) -> ok(g(X))
h(ok(X)) -> ok(h(X))
top(mark(X)) -> top(proper(X))
top(ok(X)) -> top(active(X))


Strategy:

innermost




Using the Dependency Graph resulted in no new DP problems.


   R
DPs
       →DP Problem 1
FwdInst
       →DP Problem 2
FwdInst
       →DP Problem 3
FwdInst
       →DP Problem 4
Narrowing Transformation


Dependency Pairs:

TOP(ok(X)) -> TOP(active(X))
TOP(mark(X)) -> TOP(proper(X))


Rules:


active(g(X)) -> mark(h(X))
active(c) -> mark(d)
active(h(d)) -> mark(g(c))
proper(g(X)) -> g(proper(X))
proper(h(X)) -> h(proper(X))
proper(c) -> ok(c)
proper(d) -> ok(d)
g(ok(X)) -> ok(g(X))
h(ok(X)) -> ok(h(X))
top(mark(X)) -> top(proper(X))
top(ok(X)) -> top(active(X))


Strategy:

innermost




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

TOP(mark(X)) -> TOP(proper(X))
four new Dependency Pairs are created:

TOP(mark(g(X''))) -> TOP(g(proper(X'')))
TOP(mark(h(X''))) -> TOP(h(proper(X'')))
TOP(mark(c)) -> TOP(ok(c))
TOP(mark(d)) -> TOP(ok(d))

The transformation is resulting in one new DP problem:



   R
DPs
       →DP Problem 1
FwdInst
       →DP Problem 2
FwdInst
       →DP Problem 3
FwdInst
       →DP Problem 4
Nar
           →DP Problem 21
Narrowing Transformation


Dependency Pairs:

TOP(mark(d)) -> TOP(ok(d))
TOP(mark(c)) -> TOP(ok(c))
TOP(mark(h(X''))) -> TOP(h(proper(X'')))
TOP(mark(g(X''))) -> TOP(g(proper(X'')))
TOP(ok(X)) -> TOP(active(X))


Rules:


active(g(X)) -> mark(h(X))
active(c) -> mark(d)
active(h(d)) -> mark(g(c))
proper(g(X)) -> g(proper(X))
proper(h(X)) -> h(proper(X))
proper(c) -> ok(c)
proper(d) -> ok(d)
g(ok(X)) -> ok(g(X))
h(ok(X)) -> ok(h(X))
top(mark(X)) -> top(proper(X))
top(ok(X)) -> top(active(X))


Strategy:

innermost




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

TOP(ok(X)) -> TOP(active(X))
three new Dependency Pairs are created:

TOP(ok(g(X''))) -> TOP(mark(h(X'')))
TOP(ok(c)) -> TOP(mark(d))
TOP(ok(h(d))) -> TOP(mark(g(c)))

The transformation is resulting in one new DP problem:



   R
DPs
       →DP Problem 1
FwdInst
       →DP Problem 2
FwdInst
       →DP Problem 3
FwdInst
       →DP Problem 4
Nar
           →DP Problem 21
Nar
             ...
               →DP Problem 22
Narrowing Transformation


Dependency Pairs:

TOP(ok(h(d))) -> TOP(mark(g(c)))
TOP(ok(g(X''))) -> TOP(mark(h(X'')))
TOP(mark(g(X''))) -> TOP(g(proper(X'')))
TOP(mark(h(X''))) -> TOP(h(proper(X'')))


Rules:


active(g(X)) -> mark(h(X))
active(c) -> mark(d)
active(h(d)) -> mark(g(c))
proper(g(X)) -> g(proper(X))
proper(h(X)) -> h(proper(X))
proper(c) -> ok(c)
proper(d) -> ok(d)
g(ok(X)) -> ok(g(X))
h(ok(X)) -> ok(h(X))
top(mark(X)) -> top(proper(X))
top(ok(X)) -> top(active(X))


Strategy:

innermost




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

TOP(mark(g(X''))) -> TOP(g(proper(X'')))
four new Dependency Pairs are created:

TOP(mark(g(g(X')))) -> TOP(g(g(proper(X'))))
TOP(mark(g(h(X')))) -> TOP(g(h(proper(X'))))
TOP(mark(g(c))) -> TOP(g(ok(c)))
TOP(mark(g(d))) -> TOP(g(ok(d)))

The transformation is resulting in one new DP problem:



   R
DPs
       →DP Problem 1
FwdInst
       →DP Problem 2
FwdInst
       →DP Problem 3
FwdInst
       →DP Problem 4
Nar
           →DP Problem 21
Nar
             ...
               →DP Problem 23
Rewriting Transformation


Dependency Pairs:

TOP(mark(g(d))) -> TOP(g(ok(d)))
TOP(mark(g(c))) -> TOP(g(ok(c)))
TOP(mark(g(h(X')))) -> TOP(g(h(proper(X'))))
TOP(mark(g(g(X')))) -> TOP(g(g(proper(X'))))
TOP(ok(g(X''))) -> TOP(mark(h(X'')))
TOP(mark(h(X''))) -> TOP(h(proper(X'')))
TOP(ok(h(d))) -> TOP(mark(g(c)))


Rules:


active(g(X)) -> mark(h(X))
active(c) -> mark(d)
active(h(d)) -> mark(g(c))
proper(g(X)) -> g(proper(X))
proper(h(X)) -> h(proper(X))
proper(c) -> ok(c)
proper(d) -> ok(d)
g(ok(X)) -> ok(g(X))
h(ok(X)) -> ok(h(X))
top(mark(X)) -> top(proper(X))
top(ok(X)) -> top(active(X))


Strategy:

innermost




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

TOP(mark(g(c))) -> TOP(g(ok(c)))
one new Dependency Pair is created:

TOP(mark(g(c))) -> TOP(ok(g(c)))

The transformation is resulting in one new DP problem:



   R
DPs
       →DP Problem 1
FwdInst
       →DP Problem 2
FwdInst
       →DP Problem 3
FwdInst
       →DP Problem 4
Nar
           →DP Problem 21
Nar
             ...
               →DP Problem 24
Rewriting Transformation


Dependency Pairs:

TOP(mark(g(c))) -> TOP(ok(g(c)))
TOP(mark(g(h(X')))) -> TOP(g(h(proper(X'))))
TOP(ok(h(d))) -> TOP(mark(g(c)))
TOP(mark(g(g(X')))) -> TOP(g(g(proper(X'))))
TOP(ok(g(X''))) -> TOP(mark(h(X'')))
TOP(mark(h(X''))) -> TOP(h(proper(X'')))
TOP(mark(g(d))) -> TOP(g(ok(d)))


Rules:


active(g(X)) -> mark(h(X))
active(c) -> mark(d)
active(h(d)) -> mark(g(c))
proper(g(X)) -> g(proper(X))
proper(h(X)) -> h(proper(X))
proper(c) -> ok(c)
proper(d) -> ok(d)
g(ok(X)) -> ok(g(X))
h(ok(X)) -> ok(h(X))
top(mark(X)) -> top(proper(X))
top(ok(X)) -> top(active(X))


Strategy:

innermost




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

TOP(mark(g(d))) -> TOP(g(ok(d)))
one new Dependency Pair is created:

TOP(mark(g(d))) -> TOP(ok(g(d)))

The transformation is resulting in one new DP problem:



   R
DPs
       →DP Problem 1
FwdInst
       →DP Problem 2
FwdInst
       →DP Problem 3
FwdInst
       →DP Problem 4
Nar
           →DP Problem 21
Nar
             ...
               →DP Problem 25
Narrowing Transformation


Dependency Pairs:

TOP(mark(g(d))) -> TOP(ok(g(d)))
TOP(mark(g(h(X')))) -> TOP(g(h(proper(X'))))
TOP(mark(g(g(X')))) -> TOP(g(g(proper(X'))))
TOP(ok(h(d))) -> TOP(mark(g(c)))
TOP(mark(h(X''))) -> TOP(h(proper(X'')))
TOP(ok(g(X''))) -> TOP(mark(h(X'')))
TOP(mark(g(c))) -> TOP(ok(g(c)))


Rules:


active(g(X)) -> mark(h(X))
active(c) -> mark(d)
active(h(d)) -> mark(g(c))
proper(g(X)) -> g(proper(X))
proper(h(X)) -> h(proper(X))
proper(c) -> ok(c)
proper(d) -> ok(d)
g(ok(X)) -> ok(g(X))
h(ok(X)) -> ok(h(X))
top(mark(X)) -> top(proper(X))
top(ok(X)) -> top(active(X))


Strategy:

innermost




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

TOP(mark(h(X''))) -> TOP(h(proper(X'')))
four new Dependency Pairs are created:

TOP(mark(h(g(X')))) -> TOP(h(g(proper(X'))))
TOP(mark(h(h(X')))) -> TOP(h(h(proper(X'))))
TOP(mark(h(c))) -> TOP(h(ok(c)))
TOP(mark(h(d))) -> TOP(h(ok(d)))

The transformation is resulting in one new DP problem:



   R
DPs
       →DP Problem 1
FwdInst
       →DP Problem 2
FwdInst
       →DP Problem 3
FwdInst
       →DP Problem 4
Nar
           →DP Problem 21
Nar
             ...
               →DP Problem 26
Rewriting Transformation


Dependency Pairs:

TOP(mark(h(d))) -> TOP(h(ok(d)))
TOP(mark(h(c))) -> TOP(h(ok(c)))
TOP(mark(h(h(X')))) -> TOP(h(h(proper(X'))))
TOP(mark(h(g(X')))) -> TOP(h(g(proper(X'))))
TOP(mark(g(c))) -> TOP(ok(g(c)))
TOP(mark(g(h(X')))) -> TOP(g(h(proper(X'))))
TOP(ok(h(d))) -> TOP(mark(g(c)))
TOP(mark(g(g(X')))) -> TOP(g(g(proper(X'))))
TOP(ok(g(X''))) -> TOP(mark(h(X'')))
TOP(mark(g(d))) -> TOP(ok(g(d)))


Rules:


active(g(X)) -> mark(h(X))
active(c) -> mark(d)
active(h(d)) -> mark(g(c))
proper(g(X)) -> g(proper(X))
proper(h(X)) -> h(proper(X))
proper(c) -> ok(c)
proper(d) -> ok(d)
g(ok(X)) -> ok(g(X))
h(ok(X)) -> ok(h(X))
top(mark(X)) -> top(proper(X))
top(ok(X)) -> top(active(X))


Strategy:

innermost




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

TOP(mark(h(c))) -> TOP(h(ok(c)))
one new Dependency Pair is created:

TOP(mark(h(c))) -> TOP(ok(h(c)))

The transformation is resulting in one new DP problem:



   R
DPs
       →DP Problem 1
FwdInst
       →DP Problem 2
FwdInst
       →DP Problem 3
FwdInst
       →DP Problem 4
Nar
           →DP Problem 21
Nar
             ...
               →DP Problem 27
Rewriting Transformation


Dependency Pairs:

TOP(mark(h(h(X')))) -> TOP(h(h(proper(X'))))
TOP(mark(h(g(X')))) -> TOP(h(g(proper(X'))))
TOP(mark(g(d))) -> TOP(ok(g(d)))
TOP(mark(g(c))) -> TOP(ok(g(c)))
TOP(mark(g(h(X')))) -> TOP(g(h(proper(X'))))
TOP(ok(h(d))) -> TOP(mark(g(c)))
TOP(mark(g(g(X')))) -> TOP(g(g(proper(X'))))
TOP(ok(g(X''))) -> TOP(mark(h(X'')))
TOP(mark(h(d))) -> TOP(h(ok(d)))


Rules:


active(g(X)) -> mark(h(X))
active(c) -> mark(d)
active(h(d)) -> mark(g(c))
proper(g(X)) -> g(proper(X))
proper(h(X)) -> h(proper(X))
proper(c) -> ok(c)
proper(d) -> ok(d)
g(ok(X)) -> ok(g(X))
h(ok(X)) -> ok(h(X))
top(mark(X)) -> top(proper(X))
top(ok(X)) -> top(active(X))


Strategy:

innermost




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

TOP(mark(h(d))) -> TOP(h(ok(d)))
one new Dependency Pair is created:

TOP(mark(h(d))) -> TOP(ok(h(d)))

The transformation is resulting in one new DP problem:



   R
DPs
       →DP Problem 1
FwdInst
       →DP Problem 2
FwdInst
       →DP Problem 3
FwdInst
       →DP Problem 4
Nar
           →DP Problem 21
Nar
             ...
               →DP Problem 28
Forward Instantiation Transformation


Dependency Pairs:

TOP(mark(h(d))) -> TOP(ok(h(d)))
TOP(mark(h(g(X')))) -> TOP(h(g(proper(X'))))
TOP(mark(g(d))) -> TOP(ok(g(d)))
TOP(mark(g(c))) -> TOP(ok(g(c)))
TOP(mark(g(h(X')))) -> TOP(g(h(proper(X'))))
TOP(ok(h(d))) -> TOP(mark(g(c)))
TOP(mark(g(g(X')))) -> TOP(g(g(proper(X'))))
TOP(ok(g(X''))) -> TOP(mark(h(X'')))
TOP(mark(h(h(X')))) -> TOP(h(h(proper(X'))))


Rules:


active(g(X)) -> mark(h(X))
active(c) -> mark(d)
active(h(d)) -> mark(g(c))
proper(g(X)) -> g(proper(X))
proper(h(X)) -> h(proper(X))
proper(c) -> ok(c)
proper(d) -> ok(d)
g(ok(X)) -> ok(g(X))
h(ok(X)) -> ok(h(X))
top(mark(X)) -> top(proper(X))
top(ok(X)) -> top(active(X))


Strategy:

innermost




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

TOP(ok(g(X''))) -> TOP(mark(h(X'')))
three new Dependency Pairs are created:

TOP(ok(g(g(X'''')))) -> TOP(mark(h(g(X''''))))
TOP(ok(g(h(X'''')))) -> TOP(mark(h(h(X''''))))
TOP(ok(g(d))) -> TOP(mark(h(d)))

The transformation is resulting in one new DP problem:



   R
DPs
       →DP Problem 1
FwdInst
       →DP Problem 2
FwdInst
       →DP Problem 3
FwdInst
       →DP Problem 4
Nar
           →DP Problem 21
Nar
             ...
               →DP Problem 29
Narrowing Transformation


Dependency Pairs:

TOP(ok(g(h(X'''')))) -> TOP(mark(h(h(X''''))))
TOP(ok(g(g(X'''')))) -> TOP(mark(h(g(X''''))))
TOP(mark(h(h(X')))) -> TOP(h(h(proper(X'))))
TOP(mark(h(g(X')))) -> TOP(h(g(proper(X'))))
TOP(ok(g(d))) -> TOP(mark(h(d)))
TOP(mark(g(d))) -> TOP(ok(g(d)))
TOP(mark(g(h(X')))) -> TOP(g(h(proper(X'))))
TOP(mark(g(g(X')))) -> TOP(g(g(proper(X'))))
TOP(ok(h(d))) -> TOP(mark(g(c)))
TOP(mark(h(d))) -> TOP(ok(h(d)))


Rules:


active(g(X)) -> mark(h(X))
active(c) -> mark(d)
active(h(d)) -> mark(g(c))
proper(g(X)) -> g(proper(X))
proper(h(X)) -> h(proper(X))
proper(c) -> ok(c)
proper(d) -> ok(d)
g(ok(X)) -> ok(g(X))
h(ok(X)) -> ok(h(X))
top(mark(X)) -> top(proper(X))
top(ok(X)) -> top(active(X))


Strategy:

innermost




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

TOP(ok(h(d))) -> TOP(mark(g(c)))
no new Dependency Pairs are created.
The transformation is resulting in one new DP problem:



   R
DPs
       →DP Problem 1
FwdInst
       →DP Problem 2
FwdInst
       →DP Problem 3
FwdInst
       →DP Problem 4
Nar
           →DP Problem 21
Nar
             ...
               →DP Problem 30
Narrowing Transformation


Dependency Pairs:

TOP(ok(g(g(X'''')))) -> TOP(mark(h(g(X''''))))
TOP(mark(h(h(X')))) -> TOP(h(h(proper(X'))))
TOP(mark(h(g(X')))) -> TOP(h(g(proper(X'))))
TOP(ok(g(d))) -> TOP(mark(h(d)))
TOP(mark(g(d))) -> TOP(ok(g(d)))
TOP(mark(g(h(X')))) -> TOP(g(h(proper(X'))))
TOP(mark(g(g(X')))) -> TOP(g(g(proper(X'))))
TOP(ok(g(h(X'''')))) -> TOP(mark(h(h(X''''))))


Rules:


active(g(X)) -> mark(h(X))
active(c) -> mark(d)
active(h(d)) -> mark(g(c))
proper(g(X)) -> g(proper(X))
proper(h(X)) -> h(proper(X))
proper(c) -> ok(c)
proper(d) -> ok(d)
g(ok(X)) -> ok(g(X))
h(ok(X)) -> ok(h(X))
top(mark(X)) -> top(proper(X))
top(ok(X)) -> top(active(X))


Strategy:

innermost




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

TOP(ok(g(d))) -> TOP(mark(h(d)))
no new Dependency Pairs are created.
The transformation is resulting in one new DP problem:



   R
DPs
       →DP Problem 1
FwdInst
       →DP Problem 2
FwdInst
       →DP Problem 3
FwdInst
       →DP Problem 4
Nar
           →DP Problem 21
Nar
             ...
               →DP Problem 31
Polynomial Ordering


Dependency Pairs:

TOP(ok(g(h(X'''')))) -> TOP(mark(h(h(X''''))))
TOP(mark(h(h(X')))) -> TOP(h(h(proper(X'))))
TOP(mark(h(g(X')))) -> TOP(h(g(proper(X'))))
TOP(mark(g(h(X')))) -> TOP(g(h(proper(X'))))
TOP(mark(g(g(X')))) -> TOP(g(g(proper(X'))))
TOP(ok(g(g(X'''')))) -> TOP(mark(h(g(X''''))))


Rules:


active(g(X)) -> mark(h(X))
active(c) -> mark(d)
active(h(d)) -> mark(g(c))
proper(g(X)) -> g(proper(X))
proper(h(X)) -> h(proper(X))
proper(c) -> ok(c)
proper(d) -> ok(d)
g(ok(X)) -> ok(g(X))
h(ok(X)) -> ok(h(X))
top(mark(X)) -> top(proper(X))
top(ok(X)) -> top(active(X))


Strategy:

innermost




The following dependency pairs can be strictly oriented:

TOP(ok(g(h(X'''')))) -> TOP(mark(h(h(X''''))))
TOP(ok(g(g(X'''')))) -> TOP(mark(h(g(X''''))))


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

h(ok(X)) -> ok(h(X))
proper(g(X)) -> g(proper(X))
proper(h(X)) -> h(proper(X))
proper(c) -> ok(c)
proper(d) -> ok(d)
g(ok(X)) -> ok(g(X))


Used ordering: Polynomial ordering with Polynomial interpretation:
  POL(proper(x1))=  x1  
  POL(c)=  0  
  POL(g(x1))=  1  
  POL(d)=  0  
  POL(h(x1))=  0  
  POL(mark(x1))=  x1  
  POL(ok(x1))=  x1  
  POL(TOP(x1))=  1 + x1  

resulting in one new DP problem.



   R
DPs
       →DP Problem 1
FwdInst
       →DP Problem 2
FwdInst
       →DP Problem 3
FwdInst
       →DP Problem 4
Nar
           →DP Problem 21
Nar
             ...
               →DP Problem 32
Forward Instantiation Transformation


Dependency Pairs:

TOP(mark(h(h(X')))) -> TOP(h(h(proper(X'))))
TOP(mark(h(g(X')))) -> TOP(h(g(proper(X'))))
TOP(mark(g(h(X')))) -> TOP(g(h(proper(X'))))
TOP(mark(g(g(X')))) -> TOP(g(g(proper(X'))))


Rules:


active(g(X)) -> mark(h(X))
active(c) -> mark(d)
active(h(d)) -> mark(g(c))
proper(g(X)) -> g(proper(X))
proper(h(X)) -> h(proper(X))
proper(c) -> ok(c)
proper(d) -> ok(d)
g(ok(X)) -> ok(g(X))
h(ok(X)) -> ok(h(X))
top(mark(X)) -> top(proper(X))
top(ok(X)) -> top(active(X))


Strategy:

innermost




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

TOP(mark(g(g(X')))) -> TOP(g(g(proper(X'))))
no new Dependency Pairs are created.
The transformation is resulting in one new DP problem:



   R
DPs
       →DP Problem 1
FwdInst
       →DP Problem 2
FwdInst
       →DP Problem 3
FwdInst
       →DP Problem 4
Nar
           →DP Problem 21
Nar
             ...
               →DP Problem 33
Forward Instantiation Transformation


Dependency Pairs:

TOP(mark(h(g(X')))) -> TOP(h(g(proper(X'))))
TOP(mark(g(h(X')))) -> TOP(g(h(proper(X'))))
TOP(mark(h(h(X')))) -> TOP(h(h(proper(X'))))


Rules:


active(g(X)) -> mark(h(X))
active(c) -> mark(d)
active(h(d)) -> mark(g(c))
proper(g(X)) -> g(proper(X))
proper(h(X)) -> h(proper(X))
proper(c) -> ok(c)
proper(d) -> ok(d)
g(ok(X)) -> ok(g(X))
h(ok(X)) -> ok(h(X))
top(mark(X)) -> top(proper(X))
top(ok(X)) -> top(active(X))


Strategy:

innermost




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

TOP(mark(g(h(X')))) -> TOP(g(h(proper(X'))))
no new Dependency Pairs are created.
The transformation is resulting in one new DP problem:



   R
DPs
       →DP Problem 1
FwdInst
       →DP Problem 2
FwdInst
       →DP Problem 3
FwdInst
       →DP Problem 4
Nar
           →DP Problem 21
Nar
             ...
               →DP Problem 34
Forward Instantiation Transformation


Dependency Pairs:

TOP(mark(h(h(X')))) -> TOP(h(h(proper(X'))))
TOP(mark(h(g(X')))) -> TOP(h(g(proper(X'))))


Rules:


active(g(X)) -> mark(h(X))
active(c) -> mark(d)
active(h(d)) -> mark(g(c))
proper(g(X)) -> g(proper(X))
proper(h(X)) -> h(proper(X))
proper(c) -> ok(c)
proper(d) -> ok(d)
g(ok(X)) -> ok(g(X))
h(ok(X)) -> ok(h(X))
top(mark(X)) -> top(proper(X))
top(ok(X)) -> top(active(X))


Strategy:

innermost




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

TOP(mark(h(g(X')))) -> TOP(h(g(proper(X'))))
no new Dependency Pairs are created.
The transformation is resulting in one new DP problem:



   R
DPs
       →DP Problem 1
FwdInst
       →DP Problem 2
FwdInst
       →DP Problem 3
FwdInst
       →DP Problem 4
Nar
           →DP Problem 21
Nar
             ...
               →DP Problem 35
Forward Instantiation Transformation


Dependency Pair:

TOP(mark(h(h(X')))) -> TOP(h(h(proper(X'))))


Rules:


active(g(X)) -> mark(h(X))
active(c) -> mark(d)
active(h(d)) -> mark(g(c))
proper(g(X)) -> g(proper(X))
proper(h(X)) -> h(proper(X))
proper(c) -> ok(c)
proper(d) -> ok(d)
g(ok(X)) -> ok(g(X))
h(ok(X)) -> ok(h(X))
top(mark(X)) -> top(proper(X))
top(ok(X)) -> top(active(X))


Strategy:

innermost




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

TOP(mark(h(h(X')))) -> TOP(h(h(proper(X'))))
no new Dependency Pairs are created.
The transformation is resulting in no new DP problems.


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