(0) Obligation:

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

g(c, g(c, x)) → g(e, g(d, x))
g(d, g(d, x)) → g(c, g(e, x))
g(e, g(e, x)) → g(d, g(c, x))
f(g(x, y)) → g(y, g(f(f(x)), a))
g(x, g(y, g(x, y))) → g(a, g(x, g(y, b)))

Q is empty.

(1) DependencyPairsProof (EQUIVALENT transformation)

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

(2) Obligation:

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

G(c, g(c, x)) → G(e, g(d, x))
G(c, g(c, x)) → G(d, x)
G(d, g(d, x)) → G(c, g(e, x))
G(d, g(d, x)) → G(e, x)
G(e, g(e, x)) → G(d, g(c, x))
G(e, g(e, x)) → G(c, x)
F(g(x, y)) → G(y, g(f(f(x)), a))
F(g(x, y)) → G(f(f(x)), a)
F(g(x, y)) → F(f(x))
F(g(x, y)) → F(x)
G(x, g(y, g(x, y))) → G(a, g(x, g(y, b)))
G(x, g(y, g(x, y))) → G(x, g(y, b))
G(x, g(y, g(x, y))) → G(y, b)

The TRS R consists of the following rules:

g(c, g(c, x)) → g(e, g(d, x))
g(d, g(d, x)) → g(c, g(e, x))
g(e, g(e, x)) → g(d, g(c, x))
f(g(x, y)) → g(y, g(f(f(x)), a))
g(x, g(y, g(x, y))) → g(a, g(x, g(y, b)))

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

(3) DependencyGraphProof (EQUIVALENT transformation)

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

(4) Complex Obligation (AND)

(5) Obligation:

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

G(e, g(e, x)) → G(d, g(c, x))
G(d, g(d, x)) → G(c, g(e, x))
G(c, g(c, x)) → G(e, g(d, x))
G(e, g(e, x)) → G(c, x)
G(c, g(c, x)) → G(d, x)
G(d, g(d, x)) → G(e, x)
G(x, g(y, g(x, y))) → G(a, g(x, g(y, b)))
G(x, g(y, g(x, y))) → G(x, g(y, b))

The TRS R consists of the following rules:

g(c, g(c, x)) → g(e, g(d, x))
g(d, g(d, x)) → g(c, g(e, x))
g(e, g(e, x)) → g(d, g(c, x))
f(g(x, y)) → g(y, g(f(f(x)), a))
g(x, g(y, g(x, y))) → g(a, g(x, g(y, b)))

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

(6) 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.

(7) Obligation:

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

G(e, g(e, x)) → G(d, g(c, x))
G(d, g(d, x)) → G(c, g(e, x))
G(c, g(c, x)) → G(e, g(d, x))
G(e, g(e, x)) → G(c, x)
G(c, g(c, x)) → G(d, x)
G(d, g(d, x)) → G(e, x)
G(x, g(y, g(x, y))) → G(a, g(x, g(y, b)))
G(x, g(y, g(x, y))) → G(x, g(y, b))

The TRS R consists of the following rules:

g(e, g(e, x)) → g(d, g(c, x))
g(c, g(c, x)) → g(e, g(d, x))
g(d, g(d, x)) → g(c, g(e, x))
g(x, g(y, g(x, y))) → g(a, g(x, g(y, b)))

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

(8) 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:

G(e, g(e, x)) → G(c, x)
G(c, g(c, x)) → G(d, x)
G(d, g(d, x)) → G(e, x)
G(x, g(y, g(x, y))) → G(x, g(y, b))


Used ordering: Polynomial interpretation [POLO]:

POL(G(x1, x2)) = x1 + x2   
POL(a) = 0   
POL(b) = 0   
POL(c) = 0   
POL(d) = 0   
POL(e) = 0   
POL(g(x1, x2)) = 1 + x1 + x2   

(9) Obligation:

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

G(e, g(e, x)) → G(d, g(c, x))
G(d, g(d, x)) → G(c, g(e, x))
G(c, g(c, x)) → G(e, g(d, x))
G(x, g(y, g(x, y))) → G(a, g(x, g(y, b)))

The TRS R consists of the following rules:

g(e, g(e, x)) → g(d, g(c, x))
g(c, g(c, x)) → g(e, g(d, x))
g(d, g(d, x)) → g(c, g(e, x))
g(x, g(y, g(x, y))) → g(a, g(x, g(y, b)))

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

(10) DependencyGraphProof (EQUIVALENT transformation)

The approximation of the Dependency Graph [LPAR04,FROCOS05,EDGSTAR] contains 2 SCCs.

(11) Complex Obligation (AND)

(12) Obligation:

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

G(x, g(y, g(x, y))) → G(a, g(x, g(y, b)))

The TRS R consists of the following rules:

g(e, g(e, x)) → g(d, g(c, x))
g(c, g(c, x)) → g(e, g(d, x))
g(d, g(d, x)) → g(c, g(e, x))
g(x, g(y, g(x, y))) → g(a, g(x, g(y, b)))

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

(13) Instantiation (EQUIVALENT transformation)

By instantiating [LPAR04] the rule G(x, g(y, g(x, y))) → G(a, g(x, g(y, b))) we obtained the following new rules [LPAR04]:

G(a, g(x1, g(a, x1))) → G(a, g(a, g(x1, b)))

(14) Obligation:

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

G(a, g(x1, g(a, x1))) → G(a, g(a, g(x1, b)))

The TRS R consists of the following rules:

g(e, g(e, x)) → g(d, g(c, x))
g(c, g(c, x)) → g(e, g(d, x))
g(d, g(d, x)) → g(c, g(e, x))
g(x, g(y, g(x, y))) → g(a, g(x, g(y, b)))

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

(15) DependencyGraphProof (EQUIVALENT transformation)

The approximation of the Dependency Graph [LPAR04,FROCOS05,EDGSTAR] contains 0 SCCs with 1 less node.

(16) TRUE

(17) Obligation:

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

G(d, g(d, x)) → G(c, g(e, x))
G(c, g(c, x)) → G(e, g(d, x))
G(e, g(e, x)) → G(d, g(c, x))

The TRS R consists of the following rules:

g(e, g(e, x)) → g(d, g(c, x))
g(c, g(c, x)) → g(e, g(d, x))
g(d, g(d, x)) → g(c, g(e, x))
g(x, g(y, g(x, y))) → g(a, g(x, g(y, b)))

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

(18) Narrowing (EQUIVALENT transformation)

By narrowing [LPAR04] the rule G(d, g(d, x)) → G(c, g(e, x)) at position [1] we obtained the following new rules [LPAR04]:

G(d, g(d, g(e, x0))) → G(c, g(d, g(c, x0)))
G(d, g(d, g(x1, g(e, x1)))) → G(c, g(a, g(e, g(x1, b))))

(19) Obligation:

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

G(c, g(c, x)) → G(e, g(d, x))
G(e, g(e, x)) → G(d, g(c, x))
G(d, g(d, g(e, x0))) → G(c, g(d, g(c, x0)))
G(d, g(d, g(x1, g(e, x1)))) → G(c, g(a, g(e, g(x1, b))))

The TRS R consists of the following rules:

g(e, g(e, x)) → g(d, g(c, x))
g(c, g(c, x)) → g(e, g(d, x))
g(d, g(d, x)) → g(c, g(e, x))
g(x, g(y, g(x, y))) → g(a, g(x, g(y, b)))

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

(20) Narrowing (EQUIVALENT transformation)

By narrowing [LPAR04] the rule G(c, g(c, x)) → G(e, g(d, x)) at position [1] we obtained the following new rules [LPAR04]:

G(c, g(c, g(d, x0))) → G(e, g(c, g(e, x0)))
G(c, g(c, g(x1, g(d, x1)))) → G(e, g(a, g(d, g(x1, b))))

(21) Obligation:

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

G(e, g(e, x)) → G(d, g(c, x))
G(d, g(d, g(e, x0))) → G(c, g(d, g(c, x0)))
G(d, g(d, g(x1, g(e, x1)))) → G(c, g(a, g(e, g(x1, b))))
G(c, g(c, g(d, x0))) → G(e, g(c, g(e, x0)))
G(c, g(c, g(x1, g(d, x1)))) → G(e, g(a, g(d, g(x1, b))))

The TRS R consists of the following rules:

g(e, g(e, x)) → g(d, g(c, x))
g(c, g(c, x)) → g(e, g(d, x))
g(d, g(d, x)) → g(c, g(e, x))
g(x, g(y, g(x, y))) → g(a, g(x, g(y, b)))

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

(22) Narrowing (EQUIVALENT transformation)

By narrowing [LPAR04] the rule G(e, g(e, x)) → G(d, g(c, x)) at position [1] we obtained the following new rules [LPAR04]:

G(e, g(e, g(c, x0))) → G(d, g(e, g(d, x0)))
G(e, g(e, g(x1, g(c, x1)))) → G(d, g(a, g(c, g(x1, b))))

(23) Obligation:

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

G(d, g(d, g(e, x0))) → G(c, g(d, g(c, x0)))
G(d, g(d, g(x1, g(e, x1)))) → G(c, g(a, g(e, g(x1, b))))
G(c, g(c, g(d, x0))) → G(e, g(c, g(e, x0)))
G(c, g(c, g(x1, g(d, x1)))) → G(e, g(a, g(d, g(x1, b))))
G(e, g(e, g(c, x0))) → G(d, g(e, g(d, x0)))
G(e, g(e, g(x1, g(c, x1)))) → G(d, g(a, g(c, g(x1, b))))

The TRS R consists of the following rules:

g(e, g(e, x)) → g(d, g(c, x))
g(c, g(c, x)) → g(e, g(d, x))
g(d, g(d, x)) → g(c, g(e, x))
g(x, g(y, g(x, y))) → g(a, g(x, g(y, b)))

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

(24) Narrowing (EQUIVALENT transformation)

By narrowing [LPAR04] the rule G(d, g(d, g(x1, g(e, x1)))) → G(c, g(a, g(e, g(x1, b)))) at position [1] we obtained the following new rules [LPAR04]:

G(d, g(d, g(e, g(e, e)))) → G(c, g(a, g(d, g(c, b))))

(25) Obligation:

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

G(d, g(d, g(e, x0))) → G(c, g(d, g(c, x0)))
G(c, g(c, g(d, x0))) → G(e, g(c, g(e, x0)))
G(c, g(c, g(x1, g(d, x1)))) → G(e, g(a, g(d, g(x1, b))))
G(e, g(e, g(c, x0))) → G(d, g(e, g(d, x0)))
G(e, g(e, g(x1, g(c, x1)))) → G(d, g(a, g(c, g(x1, b))))
G(d, g(d, g(e, g(e, e)))) → G(c, g(a, g(d, g(c, b))))

The TRS R consists of the following rules:

g(e, g(e, x)) → g(d, g(c, x))
g(c, g(c, x)) → g(e, g(d, x))
g(d, g(d, x)) → g(c, g(e, x))
g(x, g(y, g(x, y))) → g(a, g(x, g(y, b)))

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

(26) DependencyGraphProof (EQUIVALENT transformation)

The approximation of the Dependency Graph [LPAR04,FROCOS05,EDGSTAR] contains 1 SCC with 1 less node.

(27) Obligation:

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

G(c, g(c, g(d, x0))) → G(e, g(c, g(e, x0)))
G(e, g(e, g(c, x0))) → G(d, g(e, g(d, x0)))
G(d, g(d, g(e, x0))) → G(c, g(d, g(c, x0)))
G(c, g(c, g(x1, g(d, x1)))) → G(e, g(a, g(d, g(x1, b))))
G(e, g(e, g(x1, g(c, x1)))) → G(d, g(a, g(c, g(x1, b))))

The TRS R consists of the following rules:

g(e, g(e, x)) → g(d, g(c, x))
g(c, g(c, x)) → g(e, g(d, x))
g(d, g(d, x)) → g(c, g(e, x))
g(x, g(y, g(x, y))) → g(a, g(x, g(y, b)))

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

(28) Narrowing (EQUIVALENT transformation)

By narrowing [LPAR04] the rule G(c, g(c, g(x1, g(d, x1)))) → G(e, g(a, g(d, g(x1, b)))) at position [1] we obtained the following new rules [LPAR04]:

G(c, g(c, g(d, g(d, d)))) → G(e, g(a, g(c, g(e, b))))

(29) Obligation:

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

G(c, g(c, g(d, x0))) → G(e, g(c, g(e, x0)))
G(e, g(e, g(c, x0))) → G(d, g(e, g(d, x0)))
G(d, g(d, g(e, x0))) → G(c, g(d, g(c, x0)))
G(e, g(e, g(x1, g(c, x1)))) → G(d, g(a, g(c, g(x1, b))))
G(c, g(c, g(d, g(d, d)))) → G(e, g(a, g(c, g(e, b))))

The TRS R consists of the following rules:

g(e, g(e, x)) → g(d, g(c, x))
g(c, g(c, x)) → g(e, g(d, x))
g(d, g(d, x)) → g(c, g(e, x))
g(x, g(y, g(x, y))) → g(a, g(x, g(y, b)))

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

(30) DependencyGraphProof (EQUIVALENT transformation)

The approximation of the Dependency Graph [LPAR04,FROCOS05,EDGSTAR] contains 1 SCC with 1 less node.

(31) Obligation:

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

G(e, g(e, g(c, x0))) → G(d, g(e, g(d, x0)))
G(d, g(d, g(e, x0))) → G(c, g(d, g(c, x0)))
G(c, g(c, g(d, x0))) → G(e, g(c, g(e, x0)))
G(e, g(e, g(x1, g(c, x1)))) → G(d, g(a, g(c, g(x1, b))))

The TRS R consists of the following rules:

g(e, g(e, x)) → g(d, g(c, x))
g(c, g(c, x)) → g(e, g(d, x))
g(d, g(d, x)) → g(c, g(e, x))
g(x, g(y, g(x, y))) → g(a, g(x, g(y, b)))

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

(32) Narrowing (EQUIVALENT transformation)

By narrowing [LPAR04] the rule G(e, g(e, g(x1, g(c, x1)))) → G(d, g(a, g(c, g(x1, b)))) at position [1] we obtained the following new rules [LPAR04]:

G(e, g(e, g(c, g(c, c)))) → G(d, g(a, g(e, g(d, b))))

(33) Obligation:

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

G(e, g(e, g(c, x0))) → G(d, g(e, g(d, x0)))
G(d, g(d, g(e, x0))) → G(c, g(d, g(c, x0)))
G(c, g(c, g(d, x0))) → G(e, g(c, g(e, x0)))
G(e, g(e, g(c, g(c, c)))) → G(d, g(a, g(e, g(d, b))))

The TRS R consists of the following rules:

g(e, g(e, x)) → g(d, g(c, x))
g(c, g(c, x)) → g(e, g(d, x))
g(d, g(d, x)) → g(c, g(e, x))
g(x, g(y, g(x, y))) → g(a, g(x, g(y, b)))

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

(34) DependencyGraphProof (EQUIVALENT transformation)

The approximation of the Dependency Graph [LPAR04,FROCOS05,EDGSTAR] contains 1 SCC with 1 less node.

(35) Obligation:

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

G(d, g(d, g(e, x0))) → G(c, g(d, g(c, x0)))
G(c, g(c, g(d, x0))) → G(e, g(c, g(e, x0)))
G(e, g(e, g(c, x0))) → G(d, g(e, g(d, x0)))

The TRS R consists of the following rules:

g(e, g(e, x)) → g(d, g(c, x))
g(c, g(c, x)) → g(e, g(d, x))
g(d, g(d, x)) → g(c, g(e, x))
g(x, g(y, g(x, y))) → g(a, g(x, g(y, b)))

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

(36) SemLabProof (SOUND transformation)

We found the following model for the rules of the TRS R. Interpretation over the domain with elements from 0 to 1.c: 0
a: 0
g: 0
e: 0
d: 0
b: 1
G: 0
By semantic labelling [SEMLAB] we obtain the following labelled TRS.

(37) Obligation:

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

G.0-0(d., g.0-0(d., g.0-0(e., x0))) → G.0-0(c., g.0-0(d., g.0-0(c., x0)))
G.0-0(c., g.0-0(c., g.0-0(d., x0))) → G.0-0(e., g.0-0(c., g.0-0(e., x0)))
G.0-0(c., g.0-0(c., g.0-1(d., x0))) → G.0-0(e., g.0-0(c., g.0-1(e., x0)))
G.0-0(d., g.0-0(d., g.0-1(e., x0))) → G.0-0(c., g.0-0(d., g.0-1(c., x0)))
G.0-0(e., g.0-0(e., g.0-0(c., x0))) → G.0-0(d., g.0-0(e., g.0-0(d., x0)))
G.0-0(e., g.0-0(e., g.0-1(c., x0))) → G.0-0(d., g.0-0(e., g.0-1(d., x0)))

The TRS R consists of the following rules:

g.0-0(e., g.0-0(e., x)) → g.0-0(d., g.0-0(c., x))
g.1-0(x, g.0-0(y, g.1-0(x, y))) → g.0-0(a., g.1-0(x, g.0-1(y, b.)))
g.0-0(x, g.0-0(y, g.0-0(x, y))) → g.0-0(a., g.0-0(x, g.0-1(y, b.)))
g.0-0(c., g.0-1(c., x)) → g.0-0(e., g.0-1(d., x))
g.0-0(x, g.1-0(y, g.0-1(x, y))) → g.0-0(a., g.0-0(x, g.1-1(y, b.)))
g.0-0(e., g.0-1(e., x)) → g.0-0(d., g.0-1(c., x))
g.0-0(c., g.0-0(c., x)) → g.0-0(e., g.0-0(d., x))
g.0-0(d., g.0-0(d., x)) → g.0-0(c., g.0-0(e., x))
g.1-0(x, g.1-0(y, g.1-1(x, y))) → g.0-0(a., g.1-0(x, g.1-1(y, b.)))
g.0-0(d., g.0-1(d., x)) → g.0-0(c., g.0-1(e., x))

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

(38) DependencyGraphProof (EQUIVALENT transformation)

The approximation of the Dependency Graph [LPAR04,FROCOS05,EDGSTAR] contains 1 SCC with 3 less nodes.

(39) Obligation:

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

G.0-0(c., g.0-0(c., g.0-0(d., x0))) → G.0-0(e., g.0-0(c., g.0-0(e., x0)))
G.0-0(e., g.0-0(e., g.0-0(c., x0))) → G.0-0(d., g.0-0(e., g.0-0(d., x0)))
G.0-0(d., g.0-0(d., g.0-0(e., x0))) → G.0-0(c., g.0-0(d., g.0-0(c., x0)))

The TRS R consists of the following rules:

g.0-0(e., g.0-0(e., x)) → g.0-0(d., g.0-0(c., x))
g.1-0(x, g.0-0(y, g.1-0(x, y))) → g.0-0(a., g.1-0(x, g.0-1(y, b.)))
g.0-0(x, g.0-0(y, g.0-0(x, y))) → g.0-0(a., g.0-0(x, g.0-1(y, b.)))
g.0-0(c., g.0-1(c., x)) → g.0-0(e., g.0-1(d., x))
g.0-0(x, g.1-0(y, g.0-1(x, y))) → g.0-0(a., g.0-0(x, g.1-1(y, b.)))
g.0-0(e., g.0-1(e., x)) → g.0-0(d., g.0-1(c., x))
g.0-0(c., g.0-0(c., x)) → g.0-0(e., g.0-0(d., x))
g.0-0(d., g.0-0(d., x)) → g.0-0(c., g.0-0(e., x))
g.1-0(x, g.1-0(y, g.1-1(x, y))) → g.0-0(a., g.1-0(x, g.1-1(y, b.)))
g.0-0(d., g.0-1(d., x)) → g.0-0(c., g.0-1(e., x))

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

(40) 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.

No dependency pairs are removed.

The following rules are removed from R:

g.0-0(x, g.1-0(y, g.0-1(x, y))) → g.0-0(a., g.0-0(x, g.1-1(y, b.)))
Used ordering: POLO with Polynomial interpretation [POLO]:

POL(G.0-0(x1, x2)) = x1 + x2   
POL(a.) = 0   
POL(b.) = 0   
POL(c.) = 1   
POL(d.) = 1   
POL(e.) = 1   
POL(g.0-0(x1, x2)) = 1 + x1 + x2   
POL(g.0-1(x1, x2)) = 1 + x1 + x2   
POL(g.1-0(x1, x2)) = 1 + x1 + x2   
POL(g.1-1(x1, x2)) = x1 + x2   

(41) Obligation:

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

G.0-0(c., g.0-0(c., g.0-0(d., x0))) → G.0-0(e., g.0-0(c., g.0-0(e., x0)))
G.0-0(e., g.0-0(e., g.0-0(c., x0))) → G.0-0(d., g.0-0(e., g.0-0(d., x0)))
G.0-0(d., g.0-0(d., g.0-0(e., x0))) → G.0-0(c., g.0-0(d., g.0-0(c., x0)))

The TRS R consists of the following rules:

g.0-0(x, g.0-0(y, g.0-0(x, y))) → g.0-0(a., g.0-0(x, g.0-1(y, b.)))
g.0-0(c., g.0-1(c., x)) → g.0-0(e., g.0-1(d., x))
g.0-0(e., g.0-0(e., x)) → g.0-0(d., g.0-0(c., x))
g.0-0(c., g.0-0(c., x)) → g.0-0(e., g.0-0(d., x))
g.0-0(d., g.0-0(d., x)) → g.0-0(c., g.0-0(e., x))
g.0-0(d., g.0-1(d., x)) → g.0-0(c., g.0-1(e., x))
g.0-0(e., g.0-1(e., x)) → g.0-0(d., g.0-1(c., x))

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

(42) 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 rules of the TRS R:

g.0-0(x, g.0-0(y, g.0-0(x, y))) → g.0-0(a., g.0-0(x, g.0-1(y, b.)))

Used ordering: Polynomial interpretation [POLO]:

POL(G.0-0(x1, x2)) = x1 + x2   
POL(a.) = 0   
POL(b.) = 0   
POL(c.) = 1   
POL(d.) = 1   
POL(e.) = 1   
POL(g.0-0(x1, x2)) = 1 + x1 + x2   
POL(g.0-1(x1, x2)) = x1 + x2   

(43) Obligation:

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

G.0-0(c., g.0-0(c., g.0-0(d., x0))) → G.0-0(e., g.0-0(c., g.0-0(e., x0)))
G.0-0(e., g.0-0(e., g.0-0(c., x0))) → G.0-0(d., g.0-0(e., g.0-0(d., x0)))
G.0-0(d., g.0-0(d., g.0-0(e., x0))) → G.0-0(c., g.0-0(d., g.0-0(c., x0)))

The TRS R consists of the following rules:

g.0-0(c., g.0-1(c., x)) → g.0-0(e., g.0-1(d., x))
g.0-0(e., g.0-0(e., x)) → g.0-0(d., g.0-0(c., x))
g.0-0(c., g.0-0(c., x)) → g.0-0(e., g.0-0(d., x))
g.0-0(d., g.0-0(d., x)) → g.0-0(c., g.0-0(e., x))
g.0-0(d., g.0-1(d., x)) → g.0-0(c., g.0-1(e., x))
g.0-0(e., g.0-1(e., x)) → g.0-0(d., g.0-1(c., x))

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

(44) SemLabProof2 (EQUIVALENT transformation)

As can be seen after transforming the QDP problem by semantic labelling [SEMLAB] and then some rule deleting processors, only certain labelled rules and pairs can be used. Hence, we only have to consider all unlabelled pairs and rules (without the decreasing rules for quasi-models).

(45) Obligation:

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

G(c, g(c, g(d, x0))) → G(e, g(c, g(e, x0)))
G(e, g(e, g(c, x0))) → G(d, g(e, g(d, x0)))
G(d, g(d, g(e, x0))) → G(c, g(d, g(c, x0)))

The TRS R consists of the following rules:

g(c, g(c, x)) → g(e, g(d, x))
g(e, g(e, x)) → g(d, g(c, x))
g(d, g(d, x)) → g(c, g(e, x))

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

(46) UsableRulesReductionPairsProof (EQUIVALENT transformation)

First, we A-transformed [FROCOS05] the QDP-Problem. Then we obtain the following A-transformed DP problem.
The pairs P are:

c1(c(d(x0))) → e1(c(e(x0)))
e1(e(c(x0))) → d1(e(d(x0)))
d1(d(e(x0))) → c1(d(c(x0)))

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

e(e(x)) → d(c(x))
c(c(x)) → e(d(x))
d(d(x)) → c(e(x))

Q is empty.

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.

No dependency pairs are removed.

No rules are removed from R.

Used ordering: POLO with Polynomial interpretation [POLO]:

POL(c(x1)) = 2·x1   
POL(c1(x1)) = 2·x1   
POL(d(x1)) = 2·x1   
POL(d1(x1)) = 2·x1   
POL(e(x1)) = 2·x1   
POL(e1(x1)) = 2·x1   

(47) Obligation:

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

c1(c(d(x0))) → e1(c(e(x0)))
e1(e(c(x0))) → d1(e(d(x0)))
d1(d(e(x0))) → c1(d(c(x0)))

The TRS R consists of the following rules:

e(e(x)) → d(c(x))
c(c(x)) → e(d(x))
d(d(x)) → c(e(x))

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

(48) RFCMatchBoundsDPProof (EQUIVALENT transformation)

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

c1(c(d(x0))) → e1(c(e(x0)))
e1(e(c(x0))) → d1(e(d(x0)))
d1(d(e(x0))) → c1(d(c(x0)))

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

e(e(x)) → d(c(x))
c(c(x)) → e(d(x))
d(d(x)) → c(e(x))
c1(c(d(x0))) → e1(c(e(x0)))
e1(e(c(x0))) → d1(e(d(x0)))
d1(d(e(x0))) → c1(d(c(x0)))

The certificate found is represented by the following graph.

The certificate consists of the following enumerated nodes:

9529929, 9529930, 9529931, 9529932, 9529933, 9529934, 9529935, 9529936, 9529937, 9529938, 9529939

Node 9529929 is start node and node 9529930 is final node.

Those nodes are connect through the following edges:

  • 9529929 to 9529931 labelled d1_1(0)
  • 9529929 to 9529933 labelled e1_1(0)
  • 9529929 to 9529935 labelled c1_1(0)
  • 9529930 to 9529930 labelled #_1(0)
  • 9529931 to 9529932 labelled e_1(0)
  • 9529932 to 9529930 labelled d_1(0)
  • 9529932 to 9529937 labelled c_1(1)
  • 9529933 to 9529934 labelled c_1(0)
  • 9529934 to 9529930 labelled e_1(0)
  • 9529934 to 9529939 labelled d_1(1)
  • 9529935 to 9529936 labelled d_1(0)
  • 9529936 to 9529930 labelled c_1(0)
  • 9529936 to 9529938 labelled e_1(1)
  • 9529937 to 9529930 labelled e_1(1)
  • 9529937 to 9529939 labelled d_1(1)
  • 9529938 to 9529930 labelled d_1(1)
  • 9529938 to 9529937 labelled c_1(1)
  • 9529939 to 9529930 labelled c_1(1)
  • 9529939 to 9529938 labelled e_1(1)

(49) TRUE

(50) Obligation:

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

F(g(x, y)) → F(x)
F(g(x, y)) → F(f(x))

The TRS R consists of the following rules:

g(c, g(c, x)) → g(e, g(d, x))
g(d, g(d, x)) → g(c, g(e, x))
g(e, g(e, x)) → g(d, g(c, x))
f(g(x, y)) → g(y, g(f(f(x)), a))
g(x, g(y, g(x, y))) → g(a, g(x, g(y, b)))

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

(51) Narrowing (EQUIVALENT transformation)

By narrowing [LPAR04] the rule F(g(x, y)) → F(f(x)) at position [0] we obtained the following new rules [LPAR04]:

F(g(g(x0, x1), y1)) → F(g(x1, g(f(f(x0)), a)))

(52) Obligation:

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

F(g(x, y)) → F(x)
F(g(g(x0, x1), y1)) → F(g(x1, g(f(f(x0)), a)))

The TRS R consists of the following rules:

g(c, g(c, x)) → g(e, g(d, x))
g(d, g(d, x)) → g(c, g(e, x))
g(e, g(e, x)) → g(d, g(c, x))
f(g(x, y)) → g(y, g(f(f(x)), a))
g(x, g(y, g(x, y))) → g(a, g(x, g(y, b)))

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

(53) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


F(g(x, y)) → F(x)
F(g(g(x0, x1), y1)) → F(g(x1, g(f(f(x0)), a)))
The remaining pairs can at least be oriented weakly.
Used ordering: Matrix interpretation [MATRO]:

POL(F(x1)) =
/0\
\0/
+
/01\
\00/
·x1

POL(g(x1, x2)) =
/1\
\1/
+
/00\
\11/
·x1 +
/11\
\00/
·x2

POL(f(x1)) =
/0\
\0/
+
/03\
\10/
·x1

POL(a) =
/0\
\0/

POL(b) =
/0\
\0/

POL(e) =
/0\
\0/

POL(d) =
/0\
\0/

POL(c) =
/0\
\0/

The following usable rules [FROCOS05] were oriented:

f(g(x, y)) → g(y, g(f(f(x)), a))
g(x, g(y, g(x, y))) → g(a, g(x, g(y, b)))
g(e, g(e, x)) → g(d, g(c, x))
g(c, g(c, x)) → g(e, g(d, x))
g(d, g(d, x)) → g(c, g(e, x))

(54) Obligation:

Q DP problem:
P is empty.
The TRS R consists of the following rules:

g(c, g(c, x)) → g(e, g(d, x))
g(d, g(d, x)) → g(c, g(e, x))
g(e, g(e, x)) → g(d, g(c, x))
f(g(x, y)) → g(y, g(f(f(x)), a))
g(x, g(y, g(x, y))) → g(a, g(x, g(y, b)))

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

(55) PisEmptyProof (EQUIVALENT transformation)

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

(56) TRUE