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.



   TRS
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.


   TRS
DPs
       →DP Problem 1
Usable Rules (Innermost)
       →DP Problem 2
UsableRules
       →DP Problem 3
UsableRules
       →DP Problem 4
UsableRules


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




As we are in the innermost case, we can delete all 11 non-usable-rules.


   TRS
DPs
       →DP Problem 1
UsableRules
           →DP Problem 5
Modular Removal of Rules
       →DP Problem 2
UsableRules
       →DP Problem 3
UsableRules
       →DP Problem 4
UsableRules


Dependency Pair:

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


Rule:

none


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(G(x1))=  x1  
  POL(ok(x1))=  x1  

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

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

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.



   TRS
DPs
       →DP Problem 1
UsableRules
       →DP Problem 2
Usable Rules (Innermost)
       →DP Problem 3
UsableRules
       →DP Problem 4
UsableRules


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




As we are in the innermost case, we can delete all 11 non-usable-rules.


   TRS
DPs
       →DP Problem 1
UsableRules
       →DP Problem 2
UsableRules
           →DP Problem 6
Modular Removal of Rules
       →DP Problem 3
UsableRules
       →DP Problem 4
UsableRules


Dependency Pair:

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


Rule:

none


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(H(x1))=  x1  
  POL(ok(x1))=  x1  

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

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

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.



   TRS
DPs
       →DP Problem 1
UsableRules
       →DP Problem 2
UsableRules
       →DP Problem 3
Usable Rules (Innermost)
       →DP Problem 4
UsableRules


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




As we are in the innermost case, we can delete all 11 non-usable-rules.


   TRS
DPs
       →DP Problem 1
UsableRules
       →DP Problem 2
UsableRules
       →DP Problem 3
UsableRules
           →DP Problem 7
Modular Removal of Rules
       →DP Problem 4
UsableRules


Dependency Pairs:

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


Rule:

none


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(g(x1))=  x1  
  POL(PROPER(x1))=  x1  
  POL(h(x1))=  x1  

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

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

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.



   TRS
DPs
       →DP Problem 1
UsableRules
       →DP Problem 2
UsableRules
       →DP Problem 3
UsableRules
       →DP Problem 4
Usable Rules (Innermost)


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




As we are in the innermost case, we can delete all 2 non-usable-rules.


   TRS
DPs
       →DP Problem 1
UsableRules
       →DP Problem 2
UsableRules
       →DP Problem 3
UsableRules
       →DP Problem 4
UsableRules
           →DP Problem 8
Narrowing Transformation


Dependency Pairs:

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


Rules:


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


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(h(d))) -> TOP(mark(g(c)))
TOP(ok(c)) -> TOP(mark(d))

The transformation is resulting in one new DP problem:



   TRS
DPs
       →DP Problem 1
UsableRules
       →DP Problem 2
UsableRules
       →DP Problem 3
UsableRules
       →DP Problem 4
UsableRules
           →DP Problem 8
Nar
             ...
               →DP Problem 9
Narrowing Transformation


Dependency Pairs:

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


Rules:


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


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(h(X''))) -> TOP(h(proper(X'')))
TOP(mark(c)) -> TOP(ok(c))
TOP(mark(g(X''))) -> TOP(g(proper(X'')))
TOP(mark(d)) -> TOP(ok(d))

The transformation is resulting in one new DP problem:



   TRS
DPs
       →DP Problem 1
UsableRules
       →DP Problem 2
UsableRules
       →DP Problem 3
UsableRules
       →DP Problem 4
UsableRules
           →DP Problem 8
Nar
             ...
               →DP Problem 10
Usable Rules (Innermost)


Dependency Pairs:

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


Rules:


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


Strategy:

innermost




As we are in the innermost case, we can delete all 3 non-usable-rules.


   TRS
DPs
       →DP Problem 1
UsableRules
       →DP Problem 2
UsableRules
       →DP Problem 3
UsableRules
       →DP Problem 4
UsableRules
           →DP Problem 8
Nar
             ...
               →DP Problem 11
Modular Removal of Rules


Dependency Pairs:

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


Rules:


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


Strategy:

innermost




We have the following set of usable rules:

proper(h(X)) -> h(proper(X))
proper(c) -> ok(c)
proper(g(X)) -> g(proper(X))
proper(d) -> ok(d)
h(ok(X)) -> ok(h(X))
g(ok(X)) -> ok(g(X))
To remove rules and DPs from this DP problem we used the following monotonic and CE-compatible order: Polynomial ordering.
Polynomial interpretation:
  POL(proper(x1))=  x1  
  POL(c)=  0  
  POL(g(x1))=  x1  
  POL(d)=  1  
  POL(h(x1))=  x1  
  POL(mark(x1))=  x1  
  POL(TOP(x1))=  1 + x1  
  POL(ok(x1))=  x1  

We have the following set D of usable symbols: {proper, c, g, d, h, mark, TOP, ok}
The following Dependency Pairs can be deleted as the lhs is strictly greater than the corresponding rhs:

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

No Rules can be deleted.

The result of this processor delivers one new DP problem.



   TRS
DPs
       →DP Problem 1
UsableRules
       →DP Problem 2
UsableRules
       →DP Problem 3
UsableRules
       →DP Problem 4
UsableRules
           →DP Problem 8
Nar
             ...
               →DP Problem 12
Modular Removal of Rules


Dependency Pairs:

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


Rules:


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


Strategy:

innermost




We have the following set of usable rules:

proper(h(X)) -> h(proper(X))
proper(c) -> ok(c)
proper(g(X)) -> g(proper(X))
g(ok(X)) -> ok(g(X))
proper(d) -> ok(d)
h(ok(X)) -> ok(h(X))
To remove rules and DPs from this DP problem we used the following monotonic and CE-compatible order: Polynomial ordering.
Polynomial interpretation:
  POL(proper(x1))=  2·x1  
  POL(c)=  1  
  POL(g(x1))=  2·x1  
  POL(d)=  0  
  POL(h(x1))=  x1  
  POL(mark(x1))=  2·x1  
  POL(TOP(x1))=  2 + x1  
  POL(ok(x1))=  x1  

We have the following set D of usable symbols: {proper, c, g, d, h, mark, TOP, ok}
No Dependency Pairs can be deleted.
The following rules can be deleted as the lhs is strictly greater than the corresponding rhs:

proper(c) -> ok(c)


The result of this processor delivers one new DP problem.



   TRS
DPs
       →DP Problem 1
UsableRules
       →DP Problem 2
UsableRules
       →DP Problem 3
UsableRules
       →DP Problem 4
UsableRules
           →DP Problem 8
Nar
             ...
               →DP Problem 13
Modular Removal of Rules


Dependency Pairs:

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


Rules:


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


Strategy:

innermost




We have the following set of usable rules:

proper(h(X)) -> h(proper(X))
proper(g(X)) -> g(proper(X))
g(ok(X)) -> ok(g(X))
proper(d) -> ok(d)
h(ok(X)) -> ok(h(X))
To remove rules and DPs from this DP problem we used the following monotonic and CE-compatible order: Polynomial ordering.
Polynomial interpretation:
  POL(proper(x1))=  2·x1  
  POL(g(x1))=  2·x1  
  POL(d)=  1  
  POL(h(x1))=  x1  
  POL(mark(x1))=  2·x1  
  POL(TOP(x1))=  2 + x1  
  POL(ok(x1))=  x1  

We have the following set D of usable symbols: {proper, g, d, h, mark, TOP, ok}
No Dependency Pairs can be deleted.
The following rules can be deleted as the lhs is strictly greater than the corresponding rhs:

proper(d) -> ok(d)


The result of this processor delivers one new DP problem.



   TRS
DPs
       →DP Problem 1
UsableRules
       →DP Problem 2
UsableRules
       →DP Problem 3
UsableRules
       →DP Problem 4
UsableRules
           →DP Problem 8
Nar
             ...
               →DP Problem 14
Modular Removal of Rules


Dependency Pairs:

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


Rules:


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


Strategy:

innermost




We have the following set of usable rules:

proper(h(X)) -> h(proper(X))
proper(g(X)) -> g(proper(X))
g(ok(X)) -> ok(g(X))
h(ok(X)) -> ok(h(X))
To remove rules and DPs from this DP problem we used the following monotonic and CE-compatible order: Polynomial ordering.
Polynomial interpretation:
  POL(proper(x1))=  x1  
  POL(g(x1))=  1 + x1  
  POL(h(x1))=  x1  
  POL(mark(x1))=  x1  
  POL(TOP(x1))=  1 + x1  
  POL(ok(x1))=  x1  

We have the following set D of usable symbols: {proper, g, h, mark, TOP, ok}
The following Dependency Pairs can be deleted as the lhs is strictly greater than the corresponding rhs:

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

No Rules can be deleted.

The result of this processor delivers one new DP problem.



   TRS
DPs
       →DP Problem 1
UsableRules
       →DP Problem 2
UsableRules
       →DP Problem 3
UsableRules
       →DP Problem 4
UsableRules
           →DP Problem 8
Nar
             ...
               →DP Problem 15
Modular Removal of Rules


Dependency Pairs:

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


Rules:


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


Strategy:

innermost




We have the following set of usable rules:

proper(h(X)) -> h(proper(X))
proper(g(X)) -> g(proper(X))
g(ok(X)) -> ok(g(X))
h(ok(X)) -> ok(h(X))
To remove rules and DPs from this DP problem we used the following monotonic and CE-compatible order: Polynomial ordering.
Polynomial interpretation:
  POL(proper(x1))=  x1  
  POL(g(x1))=  x1  
  POL(h(x1))=  x1  
  POL(mark(x1))=  x1  
  POL(TOP(x1))=  1 + x1  
  POL(ok(x1))=  x1  

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

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

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:11 minutes