(0) Obligation:
Q restricted rewrite system:
The TRS R consists of the following rules:
b(x, y) → c(a(c(y), a(0, x)))
a(y, x) → y
a(y, c(b(a(0, x), 0))) → b(a(c(b(0, y)), x), 0)
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:
B(x, y) → A(c(y), a(0, x))
B(x, y) → A(0, x)
A(y, c(b(a(0, x), 0))) → B(a(c(b(0, y)), x), 0)
A(y, c(b(a(0, x), 0))) → A(c(b(0, y)), x)
A(y, c(b(a(0, x), 0))) → B(0, y)
The TRS R consists of the following rules:
b(x, y) → c(a(c(y), a(0, x)))
a(y, x) → y
a(y, c(b(a(0, x), 0))) → b(a(c(b(0, y)), x), 0)
Q is empty.
We have to consider all minimal (P,Q,R)-chains.
(3) TransformationProof (EQUIVALENT transformation)
By instantiating [LPAR04] the rule
B(
x,
y) →
A(
c(
y),
a(
0,
x)) we obtained the following new rules [LPAR04]:
B(y_3, 0) → A(c(0), a(0, y_3)) → B(y_3, 0) → A(c(0), a(0, y_3))
B(0, y_0) → A(c(y_0), a(0, 0)) → B(0, y_0) → A(c(y_0), a(0, 0))
(4) Obligation:
Q DP problem:
The TRS P consists of the following rules:
B(x, y) → A(0, x)
A(y, c(b(a(0, x), 0))) → B(a(c(b(0, y)), x), 0)
A(y, c(b(a(0, x), 0))) → A(c(b(0, y)), x)
A(y, c(b(a(0, x), 0))) → B(0, y)
B(y_3, 0) → A(c(0), a(0, y_3))
B(0, y_0) → A(c(y_0), a(0, 0))
The TRS R consists of the following rules:
b(x, y) → c(a(c(y), a(0, x)))
a(y, x) → y
a(y, c(b(a(0, x), 0))) → b(a(c(b(0, y)), x), 0)
Q is empty.
We have to consider all minimal (P,Q,R)-chains.
(5) TransformationProof (EQUIVALENT transformation)
By narrowing [LPAR04] the rule
B(
0,
y_0) →
A(
c(
y_0),
a(
0,
0)) at position [1] we obtained the following new rules [LPAR04]:
B(0, y0) → A(c(y0), 0) → B(0, y0) → A(c(y0), 0)
(6) Obligation:
Q DP problem:
The TRS P consists of the following rules:
B(x, y) → A(0, x)
A(y, c(b(a(0, x), 0))) → B(a(c(b(0, y)), x), 0)
A(y, c(b(a(0, x), 0))) → A(c(b(0, y)), x)
A(y, c(b(a(0, x), 0))) → B(0, y)
B(y_3, 0) → A(c(0), a(0, y_3))
B(0, y0) → A(c(y0), 0)
The TRS R consists of the following rules:
b(x, y) → c(a(c(y), a(0, x)))
a(y, x) → y
a(y, c(b(a(0, x), 0))) → b(a(c(b(0, y)), x), 0)
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 1 SCC with 1 less node.
(8) Obligation:
Q DP problem:
The TRS P consists of the following rules:
A(y, c(b(a(0, x), 0))) → B(a(c(b(0, y)), x), 0)
B(x, y) → A(0, x)
A(y, c(b(a(0, x), 0))) → A(c(b(0, y)), x)
A(y, c(b(a(0, x), 0))) → B(0, y)
B(y_3, 0) → A(c(0), a(0, y_3))
The TRS R consists of the following rules:
b(x, y) → c(a(c(y), a(0, x)))
a(y, x) → y
a(y, c(b(a(0, x), 0))) → b(a(c(b(0, y)), x), 0)
Q is empty.
We have to consider all minimal (P,Q,R)-chains.
(9) TransformationProof (EQUIVALENT transformation)
By instantiating [LPAR04] the rule
B(
x,
y) →
A(
0,
x) we obtained the following new rules [LPAR04]:
B(y_3, 0) → A(0, y_3) → B(y_3, 0) → A(0, y_3)
B(0, y_0) → A(0, 0) → B(0, y_0) → A(0, 0)
(10) Obligation:
Q DP problem:
The TRS P consists of the following rules:
A(y, c(b(a(0, x), 0))) → B(a(c(b(0, y)), x), 0)
A(y, c(b(a(0, x), 0))) → A(c(b(0, y)), x)
A(y, c(b(a(0, x), 0))) → B(0, y)
B(y_3, 0) → A(c(0), a(0, y_3))
B(y_3, 0) → A(0, y_3)
B(0, y_0) → A(0, 0)
The TRS R consists of the following rules:
b(x, y) → c(a(c(y), a(0, x)))
a(y, x) → y
a(y, c(b(a(0, x), 0))) → b(a(c(b(0, y)), x), 0)
Q is empty.
We have to consider all minimal (P,Q,R)-chains.
(11) DependencyGraphProof (EQUIVALENT transformation)
The approximation of the Dependency Graph [LPAR04,FROCOS05,EDGSTAR] contains 1 SCC with 1 less node.
(12) Obligation:
Q DP problem:
The TRS P consists of the following rules:
B(y_3, 0) → A(c(0), a(0, y_3))
A(y, c(b(a(0, x), 0))) → B(a(c(b(0, y)), x), 0)
B(y_3, 0) → A(0, y_3)
A(y, c(b(a(0, x), 0))) → A(c(b(0, y)), x)
A(y, c(b(a(0, x), 0))) → B(0, y)
The TRS R consists of the following rules:
b(x, y) → c(a(c(y), a(0, x)))
a(y, x) → y
a(y, c(b(a(0, x), 0))) → b(a(c(b(0, y)), x), 0)
Q is empty.
We have to consider all minimal (P,Q,R)-chains.
(13) QDPOrderProof (EQUIVALENT transformation)
We use the reduction pair processor [LPAR04,JAR06].
The following pairs can be oriented strictly and are deleted.
A(y, c(b(a(0, x), 0))) → A(c(b(0, y)), x)
The remaining pairs can at least be oriented weakly.
Used ordering: Polynomial Order [NEGPOLO,POLO] with Interpretation:
POL( A(x1, x2) ) = max{0, 2x1 + 2x2 - 1} |
POL( B(x1, x2) ) = max{0, 2x1 + 2x2 - 1} |
POL( c(x1) ) = max{0, x1 - 1} |
POL( a(x1, x2) ) = x1 + x2 |
POL( b(x1, x2) ) = x1 + x2 |
The following usable rules [FROCOS05] with respect to the argument filtering of the ordering [JAR06] were oriented:
a(y, x) → y
a(y, c(b(a(0, x), 0))) → b(a(c(b(0, y)), x), 0)
b(x, y) → c(a(c(y), a(0, x)))
(14) Obligation:
Q DP problem:
The TRS P consists of the following rules:
B(y_3, 0) → A(c(0), a(0, y_3))
A(y, c(b(a(0, x), 0))) → B(a(c(b(0, y)), x), 0)
B(y_3, 0) → A(0, y_3)
A(y, c(b(a(0, x), 0))) → B(0, y)
The TRS R consists of the following rules:
b(x, y) → c(a(c(y), a(0, x)))
a(y, x) → y
a(y, c(b(a(0, x), 0))) → b(a(c(b(0, y)), x), 0)
Q is empty.
We have to consider all minimal (P,Q,R)-chains.
(15) TransformationProof (EQUIVALENT transformation)
By instantiating [LPAR04] the rule
A(
y,
c(
b(
a(
0,
x),
0))) →
B(
a(
c(
b(
0,
y)),
x),
0) we obtained the following new rules [LPAR04]:
A(c(0), c(b(a(0, x1), 0))) → B(a(c(b(0, c(0))), x1), 0) → A(c(0), c(b(a(0, x1), 0))) → B(a(c(b(0, c(0))), x1), 0)
A(0, c(b(a(0, x1), 0))) → B(a(c(b(0, 0)), x1), 0) → A(0, c(b(a(0, x1), 0))) → B(a(c(b(0, 0)), x1), 0)
(16) Obligation:
Q DP problem:
The TRS P consists of the following rules:
B(y_3, 0) → A(c(0), a(0, y_3))
B(y_3, 0) → A(0, y_3)
A(y, c(b(a(0, x), 0))) → B(0, y)
A(c(0), c(b(a(0, x1), 0))) → B(a(c(b(0, c(0))), x1), 0)
A(0, c(b(a(0, x1), 0))) → B(a(c(b(0, 0)), x1), 0)
The TRS R consists of the following rules:
b(x, y) → c(a(c(y), a(0, x)))
a(y, x) → y
a(y, c(b(a(0, x), 0))) → b(a(c(b(0, y)), x), 0)
Q is empty.
We have to consider all minimal (P,Q,R)-chains.
(17) TransformationProof (EQUIVALENT transformation)
By instantiating [LPAR04] the rule
A(
y,
c(
b(
a(
0,
x),
0))) →
B(
0,
y) we obtained the following new rules [LPAR04]:
A(c(0), c(b(a(0, x1), 0))) → B(0, c(0)) → A(c(0), c(b(a(0, x1), 0))) → B(0, c(0))
A(0, c(b(a(0, x1), 0))) → B(0, 0) → A(0, c(b(a(0, x1), 0))) → B(0, 0)
(18) Obligation:
Q DP problem:
The TRS P consists of the following rules:
B(y_3, 0) → A(c(0), a(0, y_3))
B(y_3, 0) → A(0, y_3)
A(c(0), c(b(a(0, x1), 0))) → B(a(c(b(0, c(0))), x1), 0)
A(0, c(b(a(0, x1), 0))) → B(a(c(b(0, 0)), x1), 0)
A(c(0), c(b(a(0, x1), 0))) → B(0, c(0))
A(0, c(b(a(0, x1), 0))) → B(0, 0)
The TRS R consists of the following rules:
b(x, y) → c(a(c(y), a(0, x)))
a(y, x) → y
a(y, c(b(a(0, x), 0))) → b(a(c(b(0, y)), x), 0)
Q is empty.
We have to consider all minimal (P,Q,R)-chains.
(19) DependencyGraphProof (EQUIVALENT transformation)
The approximation of the Dependency Graph [LPAR04,FROCOS05,EDGSTAR] contains 1 SCC with 1 less node.
(20) Obligation:
Q DP problem:
The TRS P consists of the following rules:
A(c(0), c(b(a(0, x1), 0))) → B(a(c(b(0, c(0))), x1), 0)
B(y_3, 0) → A(c(0), a(0, y_3))
B(y_3, 0) → A(0, y_3)
A(0, c(b(a(0, x1), 0))) → B(a(c(b(0, 0)), x1), 0)
A(0, c(b(a(0, x1), 0))) → B(0, 0)
The TRS R consists of the following rules:
b(x, y) → c(a(c(y), a(0, x)))
a(y, x) → y
a(y, c(b(a(0, x), 0))) → b(a(c(b(0, y)), x), 0)
Q is empty.
We have to consider all minimal (P,Q,R)-chains.
(21) QDPOrderProof (EQUIVALENT transformation)
We use the reduction pair processor [LPAR04,JAR06].
The following pairs can be oriented strictly and are deleted.
A(0, c(b(a(0, x1), 0))) → B(0, 0)
The remaining pairs can at least be oriented weakly.
Used ordering: Matrix interpretation [MATRO] with arctic natural numbers [ARCTIC]:
POL(A(x1, x2)) = | 0A | + | 0A | · | x1 | + | 0A | · | x2 |
POL(b(x1, x2)) = | 1A | + | 0A | · | x1 | + | 0A | · | x2 |
POL(a(x1, x2)) = | 0A | + | 0A | · | x1 | + | 0A | · | x2 |
POL(B(x1, x2)) = | 0A | + | 0A | · | x1 | + | 0A | · | x2 |
The following usable rules [FROCOS05] with respect to the argument filtering of the ordering [JAR06] were oriented:
b(x, y) → c(a(c(y), a(0, x)))
a(y, x) → y
a(y, c(b(a(0, x), 0))) → b(a(c(b(0, y)), x), 0)
(22) Obligation:
Q DP problem:
The TRS P consists of the following rules:
A(c(0), c(b(a(0, x1), 0))) → B(a(c(b(0, c(0))), x1), 0)
B(y_3, 0) → A(c(0), a(0, y_3))
B(y_3, 0) → A(0, y_3)
A(0, c(b(a(0, x1), 0))) → B(a(c(b(0, 0)), x1), 0)
The TRS R consists of the following rules:
b(x, y) → c(a(c(y), a(0, x)))
a(y, x) → y
a(y, c(b(a(0, x), 0))) → b(a(c(b(0, y)), x), 0)
Q is empty.
We have to consider all minimal (P,Q,R)-chains.
(23) QDPOrderProof (EQUIVALENT transformation)
We use the reduction pair processor [LPAR04,JAR06].
The following pairs can be oriented strictly and are deleted.
B(y_3, 0) → A(c(0), a(0, y_3))
B(y_3, 0) → A(0, y_3)
The remaining pairs can at least be oriented weakly.
Used ordering: Matrix interpretation [MATRO] to (N^2, +, *, >=, >) :
POL(A(x1, x2)) = | 0 | + | | · | x1 | + | | · | x2 |
POL(b(x1, x2)) = | | + | | · | x1 | + | | · | x2 |
POL(a(x1, x2)) = | | + | | · | x1 | + | | · | x2 |
POL(B(x1, x2)) = | 1 | + | | · | x1 | + | | · | x2 |
The following usable rules [FROCOS05] with respect to the argument filtering of the ordering [JAR06] were oriented:
b(x, y) → c(a(c(y), a(0, x)))
a(y, x) → y
a(y, c(b(a(0, x), 0))) → b(a(c(b(0, y)), x), 0)
(24) Obligation:
Q DP problem:
The TRS P consists of the following rules:
A(c(0), c(b(a(0, x1), 0))) → B(a(c(b(0, c(0))), x1), 0)
A(0, c(b(a(0, x1), 0))) → B(a(c(b(0, 0)), x1), 0)
The TRS R consists of the following rules:
b(x, y) → c(a(c(y), a(0, x)))
a(y, x) → y
a(y, c(b(a(0, x), 0))) → b(a(c(b(0, y)), x), 0)
Q is empty.
We have to consider all minimal (P,Q,R)-chains.
(25) DependencyGraphProof (EQUIVALENT transformation)
The approximation of the Dependency Graph [LPAR04,FROCOS05,EDGSTAR] contains 0 SCCs with 2 less nodes.
(26) TRUE