The rewrite relation of the following TRS is considered.
The dependency pairs are split into 3
components.
-
The
1st
component contains the
pair
quot#(s(X),s(Y)) |
→ |
quot#(min(X,Y),s(Y)) |
(13) |
1.1.1 Subterm Criterion Processor
We use the projection to multisets
π(quot#)
|
= |
{
1
}
|
π(min)
|
= |
{
1
}
|
to remove the pairs:
quot#(s(X),s(Y)) |
→ |
quot#(min(X,Y),s(Y)) |
(13) |
1.1.1.1 P is empty
There are no pairs anymore.
-
The
2nd
component contains the
pair
min#(s(X),s(Y)) |
→ |
min#(X,Y) |
(9) |
min#(min(X,Y),Z) |
→ |
min#(X,plus(Y,Z)) |
(11) |
1.1.2 Size-Change Termination
Using size-change termination in combination with
the subterm criterion
one obtains the following initial size-change graphs.
min#(s(X),s(Y)) |
→ |
min#(X,Y) |
(9) |
|
2 |
> |
2 |
1 |
> |
1 |
min#(min(X,Y),Z) |
→ |
min#(X,plus(Y,Z)) |
(11) |
|
1 |
> |
1 |
As there is no critical graph in the transitive closure, there are no infinite chains.
-
The
3rd
component contains the
pair
plus#(s(X),Y) |
→ |
plus#(X,Y) |
(8) |
1.1.3 Size-Change Termination
Using size-change termination in combination with
the subterm criterion
one obtains the following initial size-change graphs.
plus#(s(X),Y) |
→ |
plus#(X,Y) |
(8) |
|
2 |
≥ |
2 |
1 |
> |
1 |
As there is no critical graph in the transitive closure, there are no infinite chains.