(0) Obligation:
Q restricted rewrite system:
The TRS R consists of the following 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))
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:
g(active(x)) → h(mark(x))
c'(active(x)) → d'(mark(x))
d'(h(active(x))) → c'(g(mark(x)))
g(proper(x)) → proper(g(x))
h(proper(x)) → proper(h(x))
c'(proper(x)) → c'(ok(x))
d'(proper(x)) → d'(ok(x))
ok(g(x)) → g(ok(x))
ok(h(x)) → h(ok(x))
mark(top(x)) → proper(top(x))
ok(top(x)) → active(top(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:
g(active(x)) → h(mark(x))
c'(active(x)) → d'(mark(x))
d'(h(active(x))) → c'(g(mark(x)))
g(proper(x)) → proper(g(x))
h(proper(x)) → proper(h(x))
c'(proper(x)) → c'(ok(x))
d'(proper(x)) → d'(ok(x))
ok(g(x)) → g(ok(x))
ok(h(x)) → h(ok(x))
mark(top(x)) → proper(top(x))
ok(top(x)) → active(top(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(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)
The TRS R consists of the following 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))
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 6 less nodes.
(8) Complex Obligation (AND)
(9) Obligation:
Q DP problem:
The TRS P consists of the following rules:
H(ok(X)) → H(X)
The TRS R consists of the following 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))
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(ok(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(ok(X)) → H(X)
No rules are removed from R.
Used ordering: POLO with Polynomial interpretation [POLO]:
POL(H(x1)) = 2·x1
POL(ok(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(ok(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(ok(X)) → G(X)
The TRS R consists of the following 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))
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(ok(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(ok(X)) → G(X)
No rules are removed from R.
Used ordering: POLO with Polynomial interpretation [POLO]:
POL(G(x1)) = 2·x1
POL(ok(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(ok(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:
PROPER(h(X)) → PROPER(X)
PROPER(g(X)) → PROPER(X)
The TRS R consists of the following 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))
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:
PROPER(h(X)) → PROPER(X)
PROPER(g(X)) → PROPER(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:
PROPER(h(X)) → PROPER(X)
PROPER(g(X)) → PROPER(X)
No rules are removed from R.
Used ordering: POLO with Polynomial interpretation [POLO]:
POL(PROPER(x1)) = 2·x1
POL(g(x1)) = 2·x1
POL(h(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:
PROPER(h(X)) → PROPER(X)
PROPER(g(X)) → PROPER(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:
TOP(ok(X)) → TOP(active(X))
TOP(mark(X)) → TOP(proper(X))
The TRS R consists of the following 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))
Q is empty.
We have to consider all minimal (P,Q,R)-chains.
(37) 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.
(38) Obligation:
Q DP problem:
The TRS P consists of the following rules:
TOP(ok(X)) → TOP(active(X))
TOP(mark(X)) → TOP(proper(X))
The TRS R consists of the following rules:
proper(g(X)) → g(proper(X))
proper(h(X)) → h(proper(X))
proper(c) → ok(c)
proper(d) → ok(d)
h(ok(X)) → ok(h(X))
g(ok(X)) → ok(g(X))
active(g(X)) → mark(h(X))
active(c) → mark(d)
active(h(d)) → mark(g(c))
Q is empty.
We have to consider all minimal (P,Q,R)-chains.
(39) Narrowing (EQUIVALENT transformation)
By narrowing [LPAR04] the rule
TOP(
ok(
X)) →
TOP(
active(
X)) at position [0] we obtained the following new rules [LPAR04]:
TOP(ok(g(x0))) → TOP(mark(h(x0)))
TOP(ok(c)) → TOP(mark(d))
TOP(ok(h(d))) → TOP(mark(g(c)))
(40) Obligation:
Q DP problem:
The TRS P consists of the following rules:
TOP(mark(X)) → TOP(proper(X))
TOP(ok(g(x0))) → TOP(mark(h(x0)))
TOP(ok(c)) → TOP(mark(d))
TOP(ok(h(d))) → TOP(mark(g(c)))
The TRS R consists of the following rules:
proper(g(X)) → g(proper(X))
proper(h(X)) → h(proper(X))
proper(c) → ok(c)
proper(d) → ok(d)
h(ok(X)) → ok(h(X))
g(ok(X)) → ok(g(X))
active(g(X)) → mark(h(X))
active(c) → mark(d)
active(h(d)) → mark(g(c))
Q is empty.
We have to consider all minimal (P,Q,R)-chains.
(41) 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.
(42) Obligation:
Q DP problem:
The TRS P consists of the following rules:
TOP(mark(X)) → TOP(proper(X))
TOP(ok(g(x0))) → TOP(mark(h(x0)))
TOP(ok(c)) → TOP(mark(d))
TOP(ok(h(d))) → TOP(mark(g(c)))
The TRS R consists of the following rules:
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))
Q is empty.
We have to consider all minimal (P,Q,R)-chains.
(43) Narrowing (EQUIVALENT transformation)
By narrowing [LPAR04] the rule
TOP(
mark(
X)) →
TOP(
proper(
X)) at position [0] we obtained the following new rules [LPAR04]:
TOP(mark(g(x0))) → TOP(g(proper(x0)))
TOP(mark(h(x0))) → TOP(h(proper(x0)))
TOP(mark(c)) → TOP(ok(c))
TOP(mark(d)) → TOP(ok(d))
(44) Obligation:
Q DP problem:
The TRS P consists of the following rules:
TOP(ok(g(x0))) → TOP(mark(h(x0)))
TOP(ok(c)) → TOP(mark(d))
TOP(ok(h(d))) → TOP(mark(g(c)))
TOP(mark(g(x0))) → TOP(g(proper(x0)))
TOP(mark(h(x0))) → TOP(h(proper(x0)))
TOP(mark(c)) → TOP(ok(c))
TOP(mark(d)) → TOP(ok(d))
The TRS R consists of the following rules:
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))
Q is empty.
We have to consider all minimal (P,Q,R)-chains.
(45) DependencyGraphProof (EQUIVALENT transformation)
The approximation of the Dependency Graph [LPAR04,FROCOS05,EDGSTAR] contains 1 SCC with 3 less nodes.
(46) Obligation:
Q DP problem:
The TRS P consists of the following rules:
TOP(mark(g(x0))) → TOP(g(proper(x0)))
TOP(ok(g(x0))) → TOP(mark(h(x0)))
TOP(mark(h(x0))) → TOP(h(proper(x0)))
TOP(ok(h(d))) → TOP(mark(g(c)))
The TRS R consists of the following rules:
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))
Q is empty.
We have to consider all minimal (P,Q,R)-chains.
(47) 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:
TOP(ok(g(x0))) → TOP(mark(h(x0)))
TOP(ok(h(d))) → TOP(mark(g(c)))
Used ordering: Polynomial interpretation [POLO]:
POL(TOP(x1)) = x1
POL(c) = 0
POL(d) = 2
POL(g(x1)) = 1 + x1
POL(h(x1)) = x1
POL(mark(x1)) = x1
POL(ok(x1)) = x1
POL(proper(x1)) = x1
(48) Obligation:
Q DP problem:
The TRS P consists of the following rules:
TOP(mark(g(x0))) → TOP(g(proper(x0)))
TOP(mark(h(x0))) → TOP(h(proper(x0)))
The TRS R consists of the following rules:
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))
Q is empty.
We have to consider all minimal (P,Q,R)-chains.
(49) DependencyGraphProof (EQUIVALENT transformation)
The approximation of the Dependency Graph [LPAR04,FROCOS05,EDGSTAR] contains 0 SCCs with 2 less nodes.
(50) TRUE
(51) 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.
(52) Obligation:
Q DP problem:
The TRS P consists of the following rules:
TOP(ok(X)) → TOP(active(X))
TOP(mark(X)) → TOP(proper(X))
The TRS R consists of the following rules:
proper(g(X)) → g(proper(X))
proper(h(X)) → h(proper(X))
proper(c) → ok(c)
proper(d) → ok(d)
h(ok(X)) → ok(h(X))
g(ok(X)) → ok(g(X))
active(g(X)) → mark(h(X))
active(c) → mark(d)
active(h(d)) → mark(g(c))
Q is empty.
We have to consider all minimal (P,Q,R)-chains.