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))

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
Modular Removal of Rules
       →DP Problem 2
MRR
       →DP Problem 3
MRR
       →DP Problem 4
MRR


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))





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
MRR
       →DP Problem 2
Modular Removal of Rules
       →DP Problem 3
MRR
       →DP Problem 4
MRR


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))





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
MRR
       →DP Problem 2
MRR
       →DP Problem 3
Modular Removal of Rules
       →DP Problem 4
MRR


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))





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
MRR
       →DP Problem 2
MRR
       →DP Problem 3
MRR
       →DP Problem 4
Modular Removal of Rules


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))





We have the following set of usable 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))
To remove rules and DPs from this DP problem we used the following monotonic and CE-compatible order: Polynomial ordering.
Polynomial interpretation:
  POL(active(x1))=  x1  
  POL(proper(x1))=  x1  
  POL(c)=  0  
  POL(g(x1))=  x1  
  POL(d)=  0  
  POL(h(x1))=  x1  
  POL(mark(x1))=  x1  
  POL(TOP(x1))=  x1  
  POL(ok(x1))=  x1  

We have the following set D of usable symbols: {active, proper, c, g, d, h, mark, TOP, ok}
No Dependency Pairs can be deleted.
2 non usable rules have been deleted.

The result of this processor delivers one new DP problem.



   TRS
DPs
       →DP Problem 1
MRR
       →DP Problem 2
MRR
       →DP Problem 3
MRR
       →DP Problem 4
MRR
           →DP Problem 5
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))
g(ok(X)) -> ok(g(X))
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)





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:



   TRS
DPs
       →DP Problem 1
MRR
       →DP Problem 2
MRR
       →DP Problem 3
MRR
       →DP Problem 4
MRR
           →DP Problem 5
Nar
             ...
               →DP Problem 6
Narrowing Transformation


Dependency Pairs:

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


Rules:


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





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:



   TRS
DPs
       →DP Problem 1
MRR
       →DP Problem 2
MRR
       →DP Problem 3
MRR
       →DP Problem 4
MRR
           →DP Problem 5
Nar
             ...
               →DP Problem 7
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:


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





We have the following set of usable rules:

h(ok(X)) -> ok(h(X))
g(ok(X)) -> ok(g(X))
proper(g(X)) -> g(proper(X))
proper(h(X)) -> h(proper(X))
proper(c) -> ok(c)
proper(d) -> ok(d)
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)=  0  
  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}
No Dependency Pairs can be deleted.
3 non usable rules have been deleted.

The result of this processor delivers one new DP problem.



   TRS
DPs
       →DP Problem 1
MRR
       →DP Problem 2
MRR
       →DP Problem 3
MRR
       →DP Problem 4
MRR
           →DP Problem 5
Nar
             ...
               →DP Problem 8
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:


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





We have the following set of usable rules:

h(ok(X)) -> ok(h(X))
g(ok(X)) -> ok(g(X))
proper(g(X)) -> g(proper(X))
proper(h(X)) -> h(proper(X))
proper(c) -> ok(c)
proper(d) -> ok(d)
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
MRR
       →DP Problem 2
MRR
       →DP Problem 3
MRR
       →DP Problem 4
MRR
           →DP Problem 5
Nar
             ...
               →DP Problem 9
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:


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





We have the following set of usable rules:

h(ok(X)) -> ok(h(X))
g(ok(X)) -> ok(g(X))
proper(g(X)) -> g(proper(X))
proper(h(X)) -> h(proper(X))
proper(c) -> ok(c)
proper(d) -> ok(d)
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
MRR
       →DP Problem 2
MRR
       →DP Problem 3
MRR
       →DP Problem 4
MRR
           →DP Problem 5
Nar
             ...
               →DP Problem 10
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:


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





We have the following set of usable rules:

h(ok(X)) -> ok(h(X))
g(ok(X)) -> ok(g(X))
proper(g(X)) -> g(proper(X))
proper(h(X)) -> h(proper(X))
proper(d) -> ok(d)
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
MRR
       →DP Problem 2
MRR
       →DP Problem 3
MRR
       →DP Problem 4
MRR
           →DP Problem 5
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'')))


Rules:


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





We have the following set of usable rules:

h(ok(X)) -> ok(h(X))
g(ok(X)) -> ok(g(X))
proper(g(X)) -> g(proper(X))
proper(h(X)) -> h(proper(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
MRR
       →DP Problem 2
MRR
       →DP Problem 3
MRR
       →DP Problem 4
MRR
           →DP Problem 5
Nar
             ...
               →DP Problem 12
Modular Removal of Rules


Dependency Pairs:

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


Rules:


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





We have the following set of usable rules:

h(ok(X)) -> ok(h(X))
g(ok(X)) -> ok(g(X))
proper(g(X)) -> g(proper(X))
proper(h(X)) -> h(proper(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.


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