The rewrite relation of the following TRS is considered.
The dependency pairs are split into 3
components.
-
The
1st
component contains the
pair
if_mod#(true,s(x),s(y)) |
→ |
mod#(minus(x,y),s(y)) |
(18) |
mod#(s(x),s(y)) |
→ |
if_mod#(le(y,x),s(x),s(y)) |
(16) |
1.1.1 Subterm Criterion Processor
We use the projection to multisets
π(if_mod#)
|
= |
{
2
}
|
π(mod#)
|
= |
{
1
}
|
π(minus)
|
= |
{
1
}
|
π(pred)
|
= |
{
1
}
|
to remove the pairs:
if_mod#(true,s(x),s(y)) |
→ |
mod#(minus(x,y),s(y)) |
(18) |
1.1.1.1 Dependency Graph Processor
The dependency pairs are split into 0
components.
-
The
2nd
component contains the
pair
minus#(x,s(y)) |
→ |
minus#(x,y) |
(13) |
1.1.2 Size-Change Termination
Using size-change termination in combination with
the subterm criterion
one obtains the following initial size-change graphs.
minus#(x,s(y)) |
→ |
minus#(x,y) |
(13) |
|
2 |
> |
2 |
1 |
≥ |
1 |
As there is no critical graph in the transitive closure, there are no infinite chains.
-
The
3rd
component contains the
pair
le#(s(x),s(y)) |
→ |
le#(x,y) |
(12) |
1.1.3 Size-Change Termination
Using size-change termination in combination with
the subterm criterion
one obtains the following initial size-change graphs.
le#(s(x),s(y)) |
→ |
le#(x,y) |
(12) |
|
2 |
> |
2 |
1 |
> |
1 |
As there is no critical graph in the transitive closure, there are no infinite chains.