The rewrite relation of the following TRS is considered.
The dependency pairs are split into 5
components.
-
The
1st
component contains the
pair
towerIter#(s(x),y,z) |
→ |
towerIter#(p(s(x)),y,exp(y,z)) |
(23) |
1.1.1 Reduction Pair Processor with Usable Rules
Using the linear polynomial interpretation over the arctic semiring over the integers
[times(x1, x2)] |
= |
1 · x1 + -1 · x2 + -16 |
[plus(x1, x2)] |
= |
0 · x1 + -1 · x2 + -16 |
[p(x1)] |
= |
-3 · x1 + 0 |
[exp(x1, x2)] |
= |
0 · x1 + 0 · x2 + -5 |
[0] |
= |
0 |
[towerIter#(x1, x2, x3)] |
= |
0 · x1 +
-∞ · x2 +
-∞ · x3 + 2 |
[s(x1)] |
= |
3 · x1 + 3 |
together with the usable
rules
p(s(0)) |
→ |
0 |
(7) |
p(s(s(x))) |
→ |
s(p(s(x))) |
(8) |
(w.r.t. the implicit argument filter of the reduction pair),
the
pair
towerIter#(s(x),y,z) |
→ |
towerIter#(p(s(x)),y,exp(y,z)) |
(23) |
could be deleted.
1.1.1.1 P is empty
There are no pairs anymore.
-
The
2nd
component contains the
pair
exp#(x,s(y)) |
→ |
exp#(x,y) |
(17) |
1.1.2 Size-Change Termination
Using size-change termination in combination with
the subterm criterion
one obtains the following initial size-change graphs.
exp#(x,s(y)) |
→ |
exp#(x,y) |
(17) |
|
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
times#(s(x),y) |
→ |
times#(p(s(x)),y) |
(15) |
1.1.3 Reduction Pair Processor with Usable Rules
Using the linear polynomial interpretation over (3 x 3)-matrices with strict dimension 1
over the naturals
[p(x1)] |
= |
· x1 +
|
[times#(x1, x2)] |
= |
· x1 + · x2 +
|
[0] |
= |
|
[s(x1)] |
= |
· x1 +
|
together with the usable
rules
p(s(0)) |
→ |
0 |
(7) |
p(s(s(x))) |
→ |
s(p(s(x))) |
(8) |
(w.r.t. the implicit argument filter of the reduction pair),
the
pair
times#(s(x),y) |
→ |
times#(p(s(x)),y) |
(15) |
could be deleted.
1.1.3.1 P is empty
There are no pairs anymore.
-
The
4th
component contains the
pair
plus#(s(x),y) |
→ |
plus#(p(s(x)),y) |
(13) |
1.1.4 Reduction Pair Processor with Usable Rules
Using the linear polynomial interpretation over (2 x 2)-matrices with strict dimension 1
over the naturals
[plus#(x1, x2)] |
= |
· x1 + · x2 +
|
[p(x1)] |
= |
· x1 +
|
[0] |
= |
|
[s(x1)] |
= |
· x1 +
|
together with the usable
rules
p(s(0)) |
→ |
0 |
(7) |
p(s(s(x))) |
→ |
s(p(s(x))) |
(8) |
(w.r.t. the implicit argument filter of the reduction pair),
the
pair
plus#(s(x),y) |
→ |
plus#(p(s(x)),y) |
(13) |
could be deleted.
1.1.4.1 P is empty
There are no pairs anymore.
-
The
5th
component contains the
pair
p#(s(s(x))) |
→ |
p#(s(x)) |
(19) |
1.1.5 Size-Change Termination
Using size-change termination in combination with
the subterm criterion
one obtains the following initial size-change graphs.
p#(s(s(x))) |
→ |
p#(s(x)) |
(19) |
|
1 |
> |
1 |
As there is no critical graph in the transitive closure, there are no infinite chains.