(0) Obligation:

Q restricted rewrite system:
The TRS R consists of the following rules:

active(f(X)) → mark(g(h(f(X))))
mark(f(X)) → active(f(mark(X)))
mark(g(X)) → active(g(X))
mark(h(X)) → active(h(mark(X)))
f(mark(X)) → f(X)
f(active(X)) → f(X)
g(mark(X)) → g(X)
g(active(X)) → g(X)
h(mark(X)) → h(X)
h(active(X)) → h(X)

Q is empty.

(1) QTRS Reverse (EQUIVALENT transformation)

We applied the QTRS Reverse Processor [REVERSE].

(2) Obligation:

Q restricted rewrite system:
The TRS R consists of the following rules:

f(active(x)) → f(h(g(mark(x))))
f(mark(x)) → mark(f(active(x)))
g(mark(x)) → g(active(x))
h(mark(x)) → mark(h(active(x)))
mark(f(x)) → f(x)
active(f(x)) → f(x)
mark(g(x)) → g(x)
active(g(x)) → g(x)
mark(h(x)) → h(x)
active(h(x)) → h(x)

Q is empty.

(3) QTRS Reverse (EQUIVALENT transformation)

We applied the QTRS Reverse Processor [REVERSE].

(4) Obligation:

Q restricted rewrite system:
The TRS R consists of the following rules:

f(active(x)) → f(h(g(mark(x))))
f(mark(x)) → mark(f(active(x)))
g(mark(x)) → g(active(x))
h(mark(x)) → mark(h(active(x)))
mark(f(x)) → f(x)
active(f(x)) → f(x)
mark(g(x)) → g(x)
active(g(x)) → g(x)
mark(h(x)) → h(x)
active(h(x)) → h(x)

Q is empty.

(5) DependencyPairsProof (EQUIVALENT transformation)

Using Dependency Pairs [AG00,LPAR04] we result in the following initial DP problem.

(6) Obligation:

Q DP problem:
The TRS P consists of the following rules:

ACTIVE(f(X)) → MARK(g(h(f(X))))
ACTIVE(f(X)) → G(h(f(X)))
ACTIVE(f(X)) → H(f(X))
MARK(f(X)) → ACTIVE(f(mark(X)))
MARK(f(X)) → F(mark(X))
MARK(f(X)) → MARK(X)
MARK(g(X)) → ACTIVE(g(X))
MARK(h(X)) → ACTIVE(h(mark(X)))
MARK(h(X)) → H(mark(X))
MARK(h(X)) → MARK(X)
F(mark(X)) → F(X)
F(active(X)) → F(X)
G(mark(X)) → G(X)
G(active(X)) → G(X)
H(mark(X)) → H(X)
H(active(X)) → H(X)

The TRS R consists of the following rules:

active(f(X)) → mark(g(h(f(X))))
mark(f(X)) → active(f(mark(X)))
mark(g(X)) → active(g(X))
mark(h(X)) → active(h(mark(X)))
f(mark(X)) → f(X)
f(active(X)) → f(X)
g(mark(X)) → g(X)
g(active(X)) → g(X)
h(mark(X)) → h(X)
h(active(X)) → h(X)

Q is empty.
We have to consider all minimal (P,Q,R)-chains.

(7) DependencyGraphProof (EQUIVALENT transformation)

The approximation of the Dependency Graph [LPAR04,FROCOS05,EDGSTAR] contains 4 SCCs with 4 less nodes.

(8) Complex Obligation (AND)

(9) Obligation:

Q DP problem:
The TRS P consists of the following rules:

H(active(X)) → H(X)
H(mark(X)) → H(X)

The TRS R consists of the following rules:

active(f(X)) → mark(g(h(f(X))))
mark(f(X)) → active(f(mark(X)))
mark(g(X)) → active(g(X))
mark(h(X)) → active(h(mark(X)))
f(mark(X)) → f(X)
f(active(X)) → f(X)
g(mark(X)) → g(X)
g(active(X)) → g(X)
h(mark(X)) → h(X)
h(active(X)) → h(X)

Q is empty.
We have to consider all minimal (P,Q,R)-chains.

(10) UsableRulesProof (EQUIVALENT transformation)

We can use the usable rules and reduction pair processor [LPAR04] with the Ce-compatible extension of the polynomial order that maps every function symbol to the sum of its arguments. Then, we can delete all non-usable rules [FROCOS05] from R.

(11) Obligation:

Q DP problem:
The TRS P consists of the following rules:

H(active(X)) → H(X)
H(mark(X)) → H(X)

R is empty.
Q is empty.
We have to consider all minimal (P,Q,R)-chains.

(12) UsableRulesReductionPairsProof (EQUIVALENT transformation)

By using the usable rules with reduction pair processor [LPAR04] with a polynomial ordering [POLO], all dependency pairs and the corresponding usable rules [FROCOS05] can be oriented non-strictly. All non-usable rules are removed, and those dependency pairs and usable rules that have been oriented strictly or contain non-usable symbols in their left-hand side are removed as well.

The following dependency pairs can be deleted:

H(active(X)) → H(X)
H(mark(X)) → H(X)
No rules are removed from R.

Used ordering: POLO with Polynomial interpretation [POLO]:

POL(H(x1)) = 2·x1   
POL(active(x1)) = 2·x1   
POL(mark(x1)) = 2·x1   

(13) Obligation:

Q DP problem:
P is empty.
R is empty.
Q is empty.
We have to consider all minimal (P,Q,R)-chains.

(14) PisEmptyProof (EQUIVALENT transformation)

The TRS P is empty. Hence, there is no (P,Q,R) chain.

(15) TRUE

(16) UsableRulesProof (EQUIVALENT transformation)

We can use the usable rules and reduction pair processor [LPAR04] with the Ce-compatible extension of the polynomial order that maps every function symbol to the sum of its arguments. Then, we can delete all non-usable rules [FROCOS05] from R.

(17) Obligation:

Q DP problem:
The TRS P consists of the following rules:

H(active(X)) → H(X)
H(mark(X)) → H(X)

R is empty.
Q is empty.
We have to consider all minimal (P,Q,R)-chains.

(18) Obligation:

Q DP problem:
The TRS P consists of the following rules:

G(active(X)) → G(X)
G(mark(X)) → G(X)

The TRS R consists of the following rules:

active(f(X)) → mark(g(h(f(X))))
mark(f(X)) → active(f(mark(X)))
mark(g(X)) → active(g(X))
mark(h(X)) → active(h(mark(X)))
f(mark(X)) → f(X)
f(active(X)) → f(X)
g(mark(X)) → g(X)
g(active(X)) → g(X)
h(mark(X)) → h(X)
h(active(X)) → h(X)

Q is empty.
We have to consider all minimal (P,Q,R)-chains.

(19) UsableRulesProof (EQUIVALENT transformation)

We can use the usable rules and reduction pair processor [LPAR04] with the Ce-compatible extension of the polynomial order that maps every function symbol to the sum of its arguments. Then, we can delete all non-usable rules [FROCOS05] from R.

(20) Obligation:

Q DP problem:
The TRS P consists of the following rules:

G(active(X)) → G(X)
G(mark(X)) → G(X)

R is empty.
Q is empty.
We have to consider all minimal (P,Q,R)-chains.

(21) UsableRulesReductionPairsProof (EQUIVALENT transformation)

By using the usable rules with reduction pair processor [LPAR04] with a polynomial ordering [POLO], all dependency pairs and the corresponding usable rules [FROCOS05] can be oriented non-strictly. All non-usable rules are removed, and those dependency pairs and usable rules that have been oriented strictly or contain non-usable symbols in their left-hand side are removed as well.

The following dependency pairs can be deleted:

G(active(X)) → G(X)
G(mark(X)) → G(X)
No rules are removed from R.

Used ordering: POLO with Polynomial interpretation [POLO]:

POL(G(x1)) = 2·x1   
POL(active(x1)) = 2·x1   
POL(mark(x1)) = 2·x1   

(22) Obligation:

Q DP problem:
P is empty.
R is empty.
Q is empty.
We have to consider all minimal (P,Q,R)-chains.

(23) PisEmptyProof (EQUIVALENT transformation)

The TRS P is empty. Hence, there is no (P,Q,R) chain.

(24) TRUE

(25) UsableRulesProof (EQUIVALENT transformation)

We can use the usable rules and reduction pair processor [LPAR04] with the Ce-compatible extension of the polynomial order that maps every function symbol to the sum of its arguments. Then, we can delete all non-usable rules [FROCOS05] from R.

(26) Obligation:

Q DP problem:
The TRS P consists of the following rules:

G(active(X)) → G(X)
G(mark(X)) → G(X)

R is empty.
Q is empty.
We have to consider all minimal (P,Q,R)-chains.

(27) Obligation:

Q DP problem:
The TRS P consists of the following rules:

F(active(X)) → F(X)
F(mark(X)) → F(X)

The TRS R consists of the following rules:

active(f(X)) → mark(g(h(f(X))))
mark(f(X)) → active(f(mark(X)))
mark(g(X)) → active(g(X))
mark(h(X)) → active(h(mark(X)))
f(mark(X)) → f(X)
f(active(X)) → f(X)
g(mark(X)) → g(X)
g(active(X)) → g(X)
h(mark(X)) → h(X)
h(active(X)) → h(X)

Q is empty.
We have to consider all minimal (P,Q,R)-chains.

(28) UsableRulesProof (EQUIVALENT transformation)

We can use the usable rules and reduction pair processor [LPAR04] with the Ce-compatible extension of the polynomial order that maps every function symbol to the sum of its arguments. Then, we can delete all non-usable rules [FROCOS05] from R.

(29) Obligation:

Q DP problem:
The TRS P consists of the following rules:

F(active(X)) → F(X)
F(mark(X)) → F(X)

R is empty.
Q is empty.
We have to consider all minimal (P,Q,R)-chains.

(30) UsableRulesReductionPairsProof (EQUIVALENT transformation)

By using the usable rules with reduction pair processor [LPAR04] with a polynomial ordering [POLO], all dependency pairs and the corresponding usable rules [FROCOS05] can be oriented non-strictly. All non-usable rules are removed, and those dependency pairs and usable rules that have been oriented strictly or contain non-usable symbols in their left-hand side are removed as well.

The following dependency pairs can be deleted:

F(active(X)) → F(X)
F(mark(X)) → F(X)
No rules are removed from R.

Used ordering: POLO with Polynomial interpretation [POLO]:

POL(F(x1)) = 2·x1   
POL(active(x1)) = 2·x1   
POL(mark(x1)) = 2·x1   

(31) Obligation:

Q DP problem:
P is empty.
R is empty.
Q is empty.
We have to consider all minimal (P,Q,R)-chains.

(32) PisEmptyProof (EQUIVALENT transformation)

The TRS P is empty. Hence, there is no (P,Q,R) chain.

(33) TRUE

(34) UsableRulesProof (EQUIVALENT transformation)

We can use the usable rules and reduction pair processor [LPAR04] with the Ce-compatible extension of the polynomial order that maps every function symbol to the sum of its arguments. Then, we can delete all non-usable rules [FROCOS05] from R.

(35) Obligation:

Q DP problem:
The TRS P consists of the following rules:

F(active(X)) → F(X)
F(mark(X)) → F(X)

R is empty.
Q is empty.
We have to consider all minimal (P,Q,R)-chains.

(36) Obligation:

Q DP problem:
The TRS P consists of the following rules:

MARK(f(X)) → ACTIVE(f(mark(X)))
ACTIVE(f(X)) → MARK(g(h(f(X))))
MARK(f(X)) → MARK(X)
MARK(g(X)) → ACTIVE(g(X))
MARK(h(X)) → ACTIVE(h(mark(X)))
MARK(h(X)) → MARK(X)

The TRS R consists of the following rules:

active(f(X)) → mark(g(h(f(X))))
mark(f(X)) → active(f(mark(X)))
mark(g(X)) → active(g(X))
mark(h(X)) → active(h(mark(X)))
f(mark(X)) → f(X)
f(active(X)) → f(X)
g(mark(X)) → g(X)
g(active(X)) → g(X)
h(mark(X)) → h(X)
h(active(X)) → h(X)

Q is empty.
We have to consider all minimal (P,Q,R)-chains.

(37) MRRProof (EQUIVALENT transformation)

By using the rule removal processor [LPAR04] with the following ordering, at least one Dependency Pair or term rewrite system rule of this QDP problem can be strictly oriented.
Strictly oriented dependency pairs:

MARK(f(X)) → MARK(X)


Used ordering: Polynomial interpretation [POLO]:

POL(ACTIVE(x1)) = x1   
POL(MARK(x1)) = x1   
POL(active(x1)) = x1   
POL(f(x1)) = 1 + x1   
POL(g(x1)) = x1   
POL(h(x1)) = x1   
POL(mark(x1)) = x1   

(38) Obligation:

Q DP problem:
The TRS P consists of the following rules:

MARK(f(X)) → ACTIVE(f(mark(X)))
ACTIVE(f(X)) → MARK(g(h(f(X))))
MARK(g(X)) → ACTIVE(g(X))
MARK(h(X)) → ACTIVE(h(mark(X)))
MARK(h(X)) → MARK(X)

The TRS R consists of the following rules:

active(f(X)) → mark(g(h(f(X))))
mark(f(X)) → active(f(mark(X)))
mark(g(X)) → active(g(X))
mark(h(X)) → active(h(mark(X)))
f(mark(X)) → f(X)
f(active(X)) → f(X)
g(mark(X)) → g(X)
g(active(X)) → g(X)
h(mark(X)) → h(X)
h(active(X)) → h(X)

Q is empty.
We have to consider all minimal (P,Q,R)-chains.

(39) RFCMatchBoundsDPProof (EQUIVALENT transformation)

Finiteness of the DP problem can be shown by a matchbound of 3.
As the DP problem is minimal we only have to initialize the certificate graph by the rules of P:

MARK(f(X)) → ACTIVE(f(mark(X)))
ACTIVE(f(X)) → MARK(g(h(f(X))))
MARK(g(X)) → ACTIVE(g(X))
MARK(h(X)) → ACTIVE(h(mark(X)))
MARK(h(X)) → MARK(X)

To find matches we regarded all rules of R and P:

active(f(X)) → mark(g(h(f(X))))
mark(f(X)) → active(f(mark(X)))
mark(g(X)) → active(g(X))
mark(h(X)) → active(h(mark(X)))
f(mark(X)) → f(X)
f(active(X)) → f(X)
g(mark(X)) → g(X)
g(active(X)) → g(X)
h(mark(X)) → h(X)
h(active(X)) → h(X)
MARK(f(X)) → ACTIVE(f(mark(X)))
ACTIVE(f(X)) → MARK(g(h(f(X))))
MARK(g(X)) → ACTIVE(g(X))
MARK(h(X)) → ACTIVE(h(mark(X)))
MARK(h(X)) → MARK(X)

The certificate found is represented by the following graph.

The certificate consists of the following enumerated nodes:

7881761, 7881762, 7881764, 7881763, 7881766, 7881767, 7881765, 7881769, 7881768, 7881770, 7881771, 7881772, 7881773, 7881774, 7881776, 7881777, 7881775, 7881780, 7881778, 7881779, 7881781, 7881782

Node 7881761 is start node and node 7881762 is final node.

Those nodes are connect through the following edges:

  • 7881761 to 7881763 labelled ACTIVE_1(0), ACTIVE_1(1)
  • 7881761 to 7881762 labelled MARK_1(0), MARK_1(1)
  • 7881761 to 7881765 labelled MARK_1(0)
  • 7881761 to 7881768 labelled ACTIVE_1(0)
  • 7881761 to 7881773 labelled ACTIVE_1(1)
  • 7881761 to 7881771 labelled ACTIVE_1(1)
  • 7881761 to 7881770 labelled ACTIVE_1(1)
  • 7881761 to 7881775 labelled MARK_1(1)
  • 7881761 to 7881778 labelled MARK_1(2)
  • 7881761 to 7881781 labelled ACTIVE_1(2)
  • 7881761 to 7881782 labelled ACTIVE_1(3)
  • 7881762 to 7881762 labelled #_1(0)
  • 7881764 to 7881762 labelled mark_1(0)
  • 7881764 to 7881770 labelled active_1(1)
  • 7881764 to 7881771 labelled active_1(1)
  • 7881764 to 7881773 labelled active_1(1)
  • 7881764 to 7881778 labelled mark_1(2)
  • 7881764 to 7881782 labelled active_1(3)
  • 7881763 to 7881764 labelled h_1(0)
  • 7881763 to 7881762 labelled g_1(0), h_1(1), g_1(1)
  • 7881763 to 7881771 labelled h_1(1)
  • 7881763 to 7881773 labelled h_1(1)
  • 7881763 to 7881770 labelled h_1(1)
  • 7881763 to 7881778 labelled h_1(1)
  • 7881763 to 7881782 labelled h_1(1)
  • 7881766 to 7881767 labelled h_1(0)
  • 7881767 to 7881762 labelled f_1(0), f_1(1)
  • 7881765 to 7881766 labelled g_1(0)
  • 7881769 to 7881762 labelled mark_1(0)
  • 7881769 to 7881763 labelled active_1(1)
  • 7881769 to 7881771 labelled active_1(1)
  • 7881769 to 7881773 labelled active_1(1)
  • 7881769 to 7881778 labelled mark_1(2)
  • 7881769 to 7881782 labelled active_1(3)
  • 7881768 to 7881769 labelled f_1(0)
  • 7881768 to 7881762 labelled f_1(1)
  • 7881768 to 7881773 labelled f_1(1)
  • 7881768 to 7881763 labelled f_1(1)
  • 7881768 to 7881771 labelled f_1(1)
  • 7881768 to 7881778 labelled f_1(1)
  • 7881768 to 7881782 labelled f_1(1)
  • 7881770 to 7881762 labelled g_1(1)
  • 7881771 to 7881772 labelled f_1(1)
  • 7881771 to 7881762 labelled f_1(2), f_1(1)
  • 7881771 to 7881763 labelled f_1(2)
  • 7881771 to 7881773 labelled f_1(2)
  • 7881771 to 7881771 labelled f_1(2)
  • 7881771 to 7881778 labelled f_1(2)
  • 7881771 to 7881782 labelled f_1(2)
  • 7881772 to 7881762 labelled mark_1(1)
  • 7881772 to 7881763 labelled active_1(1)
  • 7881772 to 7881771 labelled active_1(1)
  • 7881772 to 7881773 labelled active_1(1)
  • 7881772 to 7881778 labelled mark_1(2)
  • 7881772 to 7881782 labelled active_1(3)
  • 7881773 to 7881774 labelled h_1(1)
  • 7881773 to 7881766 labelled g_1(1)
  • 7881773 to 7881762 labelled h_1(2), h_1(1)
  • 7881773 to 7881763 labelled h_1(2)
  • 7881773 to 7881771 labelled h_1(2)
  • 7881773 to 7881773 labelled h_1(2)
  • 7881773 to 7881778 labelled h_1(2)
  • 7881773 to 7881782 labelled h_1(2)
  • 7881774 to 7881762 labelled mark_1(1)
  • 7881774 to 7881763 labelled active_1(1)
  • 7881774 to 7881771 labelled active_1(1)
  • 7881774 to 7881773 labelled active_1(1)
  • 7881774 to 7881778 labelled mark_1(2)
  • 7881774 to 7881782 labelled active_1(3)
  • 7881776 to 7881777 labelled h_1(1)
  • 7881777 to 7881769 labelled f_1(1)
  • 7881777 to 7881762 labelled f_1(1)
  • 7881777 to 7881773 labelled f_1(2), f_1(1)
  • 7881777 to 7881763 labelled f_1(2), f_1(1)
  • 7881777 to 7881771 labelled f_1(2), f_1(1)
  • 7881777 to 7881778 labelled f_1(2), f_1(1)
  • 7881777 to 7881782 labelled f_1(2), f_1(1)
  • 7881775 to 7881776 labelled g_1(1)
  • 7881780 to 7881772 labelled f_1(2)
  • 7881780 to 7881763 labelled f_1(2)
  • 7881780 to 7881762 labelled f_1(2), f_1(1)
  • 7881780 to 7881773 labelled f_1(2)
  • 7881780 to 7881771 labelled f_1(2)
  • 7881780 to 7881778 labelled f_1(3), f_1(2)
  • 7881780 to 7881782 labelled f_1(3), f_1(2)
  • 7881778 to 7881779 labelled g_1(2)
  • 7881779 to 7881780 labelled h_1(2)
  • 7881781 to 7881776 labelled g_1(2)
  • 7881782 to 7881779 labelled g_1(3)

(40) TRUE