The rewrite relation of the following TRS is considered.
active#(minus(0,Y)) |
→ |
mark#(0) |
(38) |
active#(minus(s(X),s(Y))) |
→ |
mark#(minus(X,Y)) |
(39) |
active#(minus(s(X),s(Y))) |
→ |
minus#(X,Y) |
(40) |
active#(geq(X,0)) |
→ |
mark#(true) |
(41) |
active#(geq(0,s(Y))) |
→ |
mark#(false) |
(42) |
active#(geq(s(X),s(Y))) |
→ |
mark#(geq(X,Y)) |
(43) |
active#(geq(s(X),s(Y))) |
→ |
geq#(X,Y) |
(44) |
active#(div(0,s(Y))) |
→ |
mark#(0) |
(45) |
active#(div(s(X),s(Y))) |
→ |
mark#(if(geq(X,Y),s(div(minus(X,Y),s(Y))),0)) |
(46) |
active#(div(s(X),s(Y))) |
→ |
if#(geq(X,Y),s(div(minus(X,Y),s(Y))),0) |
(47) |
active#(div(s(X),s(Y))) |
→ |
geq#(X,Y) |
(48) |
active#(div(s(X),s(Y))) |
→ |
s#(div(minus(X,Y),s(Y))) |
(49) |
active#(div(s(X),s(Y))) |
→ |
div#(minus(X,Y),s(Y)) |
(50) |
active#(div(s(X),s(Y))) |
→ |
minus#(X,Y) |
(51) |
active#(if(true,X,Y)) |
→ |
mark#(X) |
(52) |
active#(if(false,X,Y)) |
→ |
mark#(Y) |
(53) |
mark#(minus(X1,X2)) |
→ |
active#(minus(X1,X2)) |
(54) |
mark#(0) |
→ |
active#(0) |
(55) |
mark#(s(X)) |
→ |
active#(s(mark(X))) |
(56) |
mark#(s(X)) |
→ |
s#(mark(X)) |
(57) |
mark#(s(X)) |
→ |
mark#(X) |
(58) |
mark#(geq(X1,X2)) |
→ |
active#(geq(X1,X2)) |
(59) |
mark#(true) |
→ |
active#(true) |
(60) |
mark#(false) |
→ |
active#(false) |
(61) |
mark#(div(X1,X2)) |
→ |
active#(div(mark(X1),X2)) |
(62) |
mark#(div(X1,X2)) |
→ |
div#(mark(X1),X2) |
(63) |
mark#(div(X1,X2)) |
→ |
mark#(X1) |
(64) |
mark#(if(X1,X2,X3)) |
→ |
active#(if(mark(X1),X2,X3)) |
(65) |
mark#(if(X1,X2,X3)) |
→ |
if#(mark(X1),X2,X3) |
(66) |
mark#(if(X1,X2,X3)) |
→ |
mark#(X1) |
(67) |
minus#(mark(X1),X2) |
→ |
minus#(X1,X2) |
(68) |
minus#(X1,mark(X2)) |
→ |
minus#(X1,X2) |
(69) |
minus#(active(X1),X2) |
→ |
minus#(X1,X2) |
(70) |
minus#(X1,active(X2)) |
→ |
minus#(X1,X2) |
(71) |
s#(mark(X)) |
→ |
s#(X) |
(72) |
s#(active(X)) |
→ |
s#(X) |
(73) |
geq#(mark(X1),X2) |
→ |
geq#(X1,X2) |
(74) |
geq#(X1,mark(X2)) |
→ |
geq#(X1,X2) |
(75) |
geq#(active(X1),X2) |
→ |
geq#(X1,X2) |
(76) |
geq#(X1,active(X2)) |
→ |
geq#(X1,X2) |
(77) |
div#(mark(X1),X2) |
→ |
div#(X1,X2) |
(78) |
div#(X1,mark(X2)) |
→ |
div#(X1,X2) |
(79) |
div#(active(X1),X2) |
→ |
div#(X1,X2) |
(80) |
div#(X1,active(X2)) |
→ |
div#(X1,X2) |
(81) |
if#(mark(X1),X2,X3) |
→ |
if#(X1,X2,X3) |
(82) |
if#(X1,mark(X2),X3) |
→ |
if#(X1,X2,X3) |
(83) |
if#(X1,X2,mark(X3)) |
→ |
if#(X1,X2,X3) |
(84) |
if#(active(X1),X2,X3) |
→ |
if#(X1,X2,X3) |
(85) |
if#(X1,active(X2),X3) |
→ |
if#(X1,X2,X3) |
(86) |
if#(X1,X2,active(X3)) |
→ |
if#(X1,X2,X3) |
(87) |
The dependency pairs are split into 8
components.
-
The
1st
component contains the
pair
active#(div(s(X),s(Y))) |
→ |
mark#(if(geq(X,Y),s(div(minus(X,Y),s(Y))),0)) |
(46) |
mark#(if(X1,X2,X3)) |
→ |
active#(if(mark(X1),X2,X3)) |
(65) |
active#(if(true,X,Y)) |
→ |
mark#(X) |
(52) |
mark#(s(X)) |
→ |
active#(s(mark(X))) |
(56) |
active#(if(false,X,Y)) |
→ |
mark#(Y) |
(53) |
mark#(s(X)) |
→ |
mark#(X) |
(58) |
mark#(div(X1,X2)) |
→ |
active#(div(mark(X1),X2)) |
(62) |
mark#(div(X1,X2)) |
→ |
mark#(X1) |
(64) |
mark#(if(X1,X2,X3)) |
→ |
mark#(X1) |
(67) |
1.1.1 Usable Rules Processor
We restrict the rewrite rules to the following usable rules of the DP problem.
active(minus(s(X),s(Y))) |
→ |
mark(minus(X,Y)) |
(2) |
mark(minus(X1,X2)) |
→ |
active(minus(X1,X2)) |
(10) |
mark(0) |
→ |
active(0) |
(11) |
active(div(s(X),s(Y))) |
→ |
mark(if(geq(X,Y),s(div(minus(X,Y),s(Y))),0)) |
(7) |
mark(if(X1,X2,X3)) |
→ |
active(if(mark(X1),X2,X3)) |
(17) |
active(if(true,X,Y)) |
→ |
mark(X) |
(8) |
mark(s(X)) |
→ |
active(s(mark(X))) |
(12) |
active(if(false,X,Y)) |
→ |
mark(Y) |
(9) |
mark(div(X1,X2)) |
→ |
active(div(mark(X1),X2)) |
(16) |
active(geq(s(X),s(Y))) |
→ |
mark(geq(X,Y)) |
(5) |
mark(geq(X1,X2)) |
→ |
active(geq(X1,X2)) |
(13) |
mark(true) |
→ |
active(true) |
(14) |
mark(false) |
→ |
active(false) |
(15) |
div(X1,mark(X2)) |
→ |
div(X1,X2) |
(29) |
div(mark(X1),X2) |
→ |
div(X1,X2) |
(28) |
div(active(X1),X2) |
→ |
div(X1,X2) |
(30) |
div(X1,active(X2)) |
→ |
div(X1,X2) |
(31) |
active(geq(X,0)) |
→ |
mark(true) |
(3) |
active(geq(0,s(Y))) |
→ |
mark(false) |
(4) |
active(minus(0,Y)) |
→ |
mark(0) |
(1) |
active(div(0,s(Y))) |
→ |
mark(0) |
(6) |
if(X1,mark(X2),X3) |
→ |
if(X1,X2,X3) |
(33) |
if(mark(X1),X2,X3) |
→ |
if(X1,X2,X3) |
(32) |
if(X1,X2,mark(X3)) |
→ |
if(X1,X2,X3) |
(34) |
if(active(X1),X2,X3) |
→ |
if(X1,X2,X3) |
(35) |
if(X1,active(X2),X3) |
→ |
if(X1,X2,X3) |
(36) |
if(X1,X2,active(X3)) |
→ |
if(X1,X2,X3) |
(37) |
s(active(X)) |
→ |
s(X) |
(23) |
s(mark(X)) |
→ |
s(X) |
(22) |
1.1.1.1 Reduction Pair Processor with Usable Rules
Using the linear polynomial interpretation over the naturals
[active#(x1)] |
= |
1 · x1
|
[div(x1, x2)] |
= |
1 |
[s(x1)] |
= |
0 |
[mark#(x1)] |
= |
1 |
[if(x1, x2, x3)] |
= |
1 |
[geq(x1, x2)] |
= |
0 |
[minus(x1, x2)] |
= |
0 |
[0] |
= |
0 |
[mark(x1)] |
= |
0 |
[true] |
= |
0 |
[false] |
= |
0 |
[active(x1)] |
= |
0 |
together with the usable
rules
if(X1,mark(X2),X3) |
→ |
if(X1,X2,X3) |
(33) |
if(mark(X1),X2,X3) |
→ |
if(X1,X2,X3) |
(32) |
if(X1,X2,mark(X3)) |
→ |
if(X1,X2,X3) |
(34) |
if(active(X1),X2,X3) |
→ |
if(X1,X2,X3) |
(35) |
if(X1,active(X2),X3) |
→ |
if(X1,X2,X3) |
(36) |
if(X1,X2,active(X3)) |
→ |
if(X1,X2,X3) |
(37) |
s(active(X)) |
→ |
s(X) |
(23) |
s(mark(X)) |
→ |
s(X) |
(22) |
div(X1,mark(X2)) |
→ |
div(X1,X2) |
(29) |
div(mark(X1),X2) |
→ |
div(X1,X2) |
(28) |
div(active(X1),X2) |
→ |
div(X1,X2) |
(30) |
div(X1,active(X2)) |
→ |
div(X1,X2) |
(31) |
(w.r.t. the implicit argument filter of the reduction pair),
the
pair
mark#(s(X)) |
→ |
active#(s(mark(X))) |
(56) |
could be deleted.
1.1.1.1.1 Reduction Pair Processor
Using the linear polynomial interpretation over the naturals
[active#(x1)] |
= |
1 · x1
|
[div(x1, x2)] |
= |
1 + 1 · x1
|
[s(x1)] |
= |
1 · x1
|
[mark#(x1)] |
= |
1 · x1
|
[if(x1, x2, x3)] |
= |
1 · x1 + 1 · x2 + 1 · x3
|
[geq(x1, x2)] |
= |
0 |
[minus(x1, x2)] |
= |
0 |
[0] |
= |
0 |
[mark(x1)] |
= |
1 · x1
|
[true] |
= |
0 |
[false] |
= |
0 |
[active(x1)] |
= |
1 · x1
|
the
pair
mark#(div(X1,X2)) |
→ |
mark#(X1) |
(64) |
could be deleted.
1.1.1.1.1.1 Reduction Pair Processor
Using the linear polynomial interpretation over the naturals
[active#(x1)] |
= |
1 · x1
|
[div(x1, x2)] |
= |
1 · x1
|
[s(x1)] |
= |
1 + 1 · x1
|
[mark#(x1)] |
= |
1 · x1
|
[if(x1, x2, x3)] |
= |
1 · x1 + 1 · x2 + 1 · x3
|
[geq(x1, x2)] |
= |
0 |
[minus(x1, x2)] |
= |
0 |
[0] |
= |
0 |
[mark(x1)] |
= |
1 · x1
|
[true] |
= |
0 |
[false] |
= |
0 |
[active(x1)] |
= |
1 · x1
|
the
pair
mark#(s(X)) |
→ |
mark#(X) |
(58) |
could be deleted.
1.1.1.1.1.1.1 Reduction Pair Processor
Using the linear polynomial interpretation over the naturals
[active#(x1)] |
= |
1 · x1
|
[div(x1, x2)] |
= |
1 · x1 + 1 · x2
|
[s(x1)] |
= |
1 |
[mark#(x1)] |
= |
1 · x1
|
[if(x1, x2, x3)] |
= |
1 · x1 + 1 · x2 + 1 · x3
|
[geq(x1, x2)] |
= |
0 |
[minus(x1, x2)] |
= |
0 |
[0] |
= |
0 |
[mark(x1)] |
= |
1 · x1
|
[true] |
= |
0 |
[false] |
= |
0 |
[active(x1)] |
= |
1 · x1
|
the
pair
active#(div(s(X),s(Y))) |
→ |
mark#(if(geq(X,Y),s(div(minus(X,Y),s(Y))),0)) |
(46) |
could be deleted.
1.1.1.1.1.1.1.1 Reduction Pair Processor with Usable Rules
Using the linear polynomial interpretation over the naturals
[mark#(x1)] |
= |
1 |
[if(x1, x2, x3)] |
= |
1 |
[active#(x1)] |
= |
1 · x1
|
[mark(x1)] |
= |
0 |
[true] |
= |
0 |
[false] |
= |
0 |
[div(x1, x2)] |
= |
0 |
[active(x1)] |
= |
0 |
[minus(x1, x2)] |
= |
0 |
[s(x1)] |
= |
0 |
[0] |
= |
0 |
[geq(x1, x2)] |
= |
0 |
together with the usable
rules
if(X1,mark(X2),X3) |
→ |
if(X1,X2,X3) |
(33) |
if(mark(X1),X2,X3) |
→ |
if(X1,X2,X3) |
(32) |
if(X1,X2,mark(X3)) |
→ |
if(X1,X2,X3) |
(34) |
if(active(X1),X2,X3) |
→ |
if(X1,X2,X3) |
(35) |
if(X1,active(X2),X3) |
→ |
if(X1,X2,X3) |
(36) |
if(X1,X2,active(X3)) |
→ |
if(X1,X2,X3) |
(37) |
div(X1,mark(X2)) |
→ |
div(X1,X2) |
(29) |
div(mark(X1),X2) |
→ |
div(X1,X2) |
(28) |
div(active(X1),X2) |
→ |
div(X1,X2) |
(30) |
div(X1,active(X2)) |
→ |
div(X1,X2) |
(31) |
(w.r.t. the implicit argument filter of the reduction pair),
the
pair
mark#(div(X1,X2)) |
→ |
active#(div(mark(X1),X2)) |
(62) |
could be deleted.
1.1.1.1.1.1.1.1.1 Reduction Pair Processor
Using the linear polynomial interpretation over the naturals
[mark#(x1)] |
= |
1 + 1 · x1
|
[if(x1, x2, x3)] |
= |
1 · x1 + 1 · x2 + 1 · x3
|
[active#(x1)] |
= |
1 · x1
|
[mark(x1)] |
= |
1 · x1
|
[true] |
= |
1 |
[false] |
= |
1 |
[active(x1)] |
= |
1 · x1
|
[minus(x1, x2)] |
= |
0 |
[s(x1)] |
= |
1 |
[0] |
= |
0 |
[div(x1, x2)] |
= |
1 · x1 + 1 · x2
|
[geq(x1, x2)] |
= |
1 |
the
pair
mark#(if(X1,X2,X3)) |
→ |
active#(if(mark(X1),X2,X3)) |
(65) |
could be deleted.
1.1.1.1.1.1.1.1.1.1 Dependency Graph Processor
The dependency pairs are split into 1
component.
-
The
1st
component contains the
pair
mark#(if(X1,X2,X3)) |
→ |
mark#(X1) |
(67) |
1.1.1.1.1.1.1.1.1.1.1 Usable Rules Processor
We restrict the rewrite rules to the following usable rules of the DP problem.
There are no rules.
1.1.1.1.1.1.1.1.1.1.1.1 Innermost Lhss Removal Processor
We restrict the innermost strategy to the following left hand sides.
if(mark(x0),x1,x2) |
if(x0,mark(x1),x2) |
if(x0,x1,mark(x2)) |
if(active(x0),x1,x2) |
if(x0,active(x1),x2) |
if(x0,x1,active(x2)) |
1.1.1.1.1.1.1.1.1.1.1.1.1 Size-Change Termination
Using size-change termination in combination with
the subterm criterion
one obtains the following initial size-change graphs.
mark#(if(X1,X2,X3)) |
→ |
mark#(X1) |
(67) |
|
1 |
> |
1 |
As there is no critical graph in the transitive closure, there are no infinite chains.
-
The
2nd
component contains the
pair
active#(minus(s(X),s(Y))) |
→ |
mark#(minus(X,Y)) |
(39) |
mark#(minus(X1,X2)) |
→ |
active#(minus(X1,X2)) |
(54) |
1.1.2 Usable Rules Processor
We restrict the rewrite rules to the following usable rules of the DP problem.
There are no rules.
1.1.2.1 Innermost Lhss Removal Processor
We restrict the innermost strategy to the following left hand sides.
minus(mark(x0),x1) |
minus(x0,mark(x1)) |
minus(active(x0),x1) |
minus(x0,active(x1)) |
s(mark(x0)) |
s(active(x0)) |
1.1.2.1.1 Monotonic Reduction Pair Processor with Usable Rules
Using the linear polynomial interpretation over the naturals
[active#(x1)] |
= |
1 · x1
|
[minus(x1, x2)] |
= |
2 + 2 · x1 + 2 · x2
|
[s(x1)] |
= |
2 + 2 · x1
|
[mark#(x1)] |
= |
2 · x1
|
having no usable rules (w.r.t. the implicit argument filter of the
reduction pair),
the
pairs
active#(minus(s(X),s(Y))) |
→ |
mark#(minus(X,Y)) |
(39) |
mark#(minus(X1,X2)) |
→ |
active#(minus(X1,X2)) |
(54) |
and
no rules
could be deleted.
1.1.2.1.1.1 P is empty
There are no pairs anymore.
-
The
3rd
component contains the
pair
active#(geq(s(X),s(Y))) |
→ |
mark#(geq(X,Y)) |
(43) |
mark#(geq(X1,X2)) |
→ |
active#(geq(X1,X2)) |
(59) |
1.1.3 Usable Rules Processor
We restrict the rewrite rules to the following usable rules of the DP problem.
There are no rules.
1.1.3.1 Innermost Lhss Removal Processor
We restrict the innermost strategy to the following left hand sides.
s(mark(x0)) |
s(active(x0)) |
geq(mark(x0),x1) |
geq(x0,mark(x1)) |
geq(active(x0),x1) |
geq(x0,active(x1)) |
1.1.3.1.1 Monotonic Reduction Pair Processor with Usable Rules
Using the linear polynomial interpretation over the naturals
[active#(x1)] |
= |
1 · x1
|
[geq(x1, x2)] |
= |
2 + 2 · x1 + 2 · x2
|
[s(x1)] |
= |
2 + 2 · x1
|
[mark#(x1)] |
= |
2 · x1
|
having no usable rules (w.r.t. the implicit argument filter of the
reduction pair),
the
pairs
active#(geq(s(X),s(Y))) |
→ |
mark#(geq(X,Y)) |
(43) |
mark#(geq(X1,X2)) |
→ |
active#(geq(X1,X2)) |
(59) |
and
no rules
could be deleted.
1.1.3.1.1.1 P is empty
There are no pairs anymore.
-
The
4th
component contains the
pair
minus#(X1,mark(X2)) |
→ |
minus#(X1,X2) |
(69) |
minus#(mark(X1),X2) |
→ |
minus#(X1,X2) |
(68) |
minus#(active(X1),X2) |
→ |
minus#(X1,X2) |
(70) |
minus#(X1,active(X2)) |
→ |
minus#(X1,X2) |
(71) |
1.1.4 Usable Rules Processor
We restrict the rewrite rules to the following usable rules of the DP problem.
There are no rules.
1.1.4.1 Innermost Lhss Removal Processor
We restrict the innermost strategy to the following left hand sides.
active(minus(0,x0)) |
active(minus(s(x0),s(x1))) |
active(geq(x0,0)) |
active(geq(0,s(x0))) |
active(geq(s(x0),s(x1))) |
active(div(0,s(x0))) |
active(div(s(x0),s(x1))) |
active(if(true,x0,x1)) |
active(if(false,x0,x1)) |
mark(minus(x0,x1)) |
mark(0) |
mark(s(x0)) |
mark(geq(x0,x1)) |
mark(true) |
mark(false) |
mark(div(x0,x1)) |
mark(if(x0,x1,x2)) |
1.1.4.1.1 Size-Change Termination
Using size-change termination in combination with
the subterm criterion
one obtains the following initial size-change graphs.
minus#(X1,mark(X2)) |
→ |
minus#(X1,X2) |
(69) |
|
1 |
≥ |
1 |
2 |
> |
2 |
minus#(mark(X1),X2) |
→ |
minus#(X1,X2) |
(68) |
|
1 |
> |
1 |
2 |
≥ |
2 |
minus#(active(X1),X2) |
→ |
minus#(X1,X2) |
(70) |
|
1 |
> |
1 |
2 |
≥ |
2 |
minus#(X1,active(X2)) |
→ |
minus#(X1,X2) |
(71) |
|
1 |
≥ |
1 |
2 |
> |
2 |
As there is no critical graph in the transitive closure, there are no infinite chains.
-
The
5th
component contains the
pair
s#(active(X)) |
→ |
s#(X) |
(73) |
s#(mark(X)) |
→ |
s#(X) |
(72) |
1.1.5 Usable Rules Processor
We restrict the rewrite rules to the following usable rules of the DP problem.
There are no rules.
1.1.5.1 Innermost Lhss Removal Processor
We restrict the innermost strategy to the following left hand sides.
active(minus(0,x0)) |
active(minus(s(x0),s(x1))) |
active(geq(x0,0)) |
active(geq(0,s(x0))) |
active(geq(s(x0),s(x1))) |
active(div(0,s(x0))) |
active(div(s(x0),s(x1))) |
active(if(true,x0,x1)) |
active(if(false,x0,x1)) |
mark(minus(x0,x1)) |
mark(0) |
mark(s(x0)) |
mark(geq(x0,x1)) |
mark(true) |
mark(false) |
mark(div(x0,x1)) |
mark(if(x0,x1,x2)) |
1.1.5.1.1 Size-Change Termination
Using size-change termination in combination with
the subterm criterion
one obtains the following initial size-change graphs.
s#(active(X)) |
→ |
s#(X) |
(73) |
|
1 |
> |
1 |
s#(mark(X)) |
→ |
s#(X) |
(72) |
|
1 |
> |
1 |
As there is no critical graph in the transitive closure, there are no infinite chains.
-
The
6th
component contains the
pair
geq#(X1,mark(X2)) |
→ |
geq#(X1,X2) |
(75) |
geq#(mark(X1),X2) |
→ |
geq#(X1,X2) |
(74) |
geq#(active(X1),X2) |
→ |
geq#(X1,X2) |
(76) |
geq#(X1,active(X2)) |
→ |
geq#(X1,X2) |
(77) |
1.1.6 Usable Rules Processor
We restrict the rewrite rules to the following usable rules of the DP problem.
There are no rules.
1.1.6.1 Innermost Lhss Removal Processor
We restrict the innermost strategy to the following left hand sides.
active(minus(0,x0)) |
active(minus(s(x0),s(x1))) |
active(geq(x0,0)) |
active(geq(0,s(x0))) |
active(geq(s(x0),s(x1))) |
active(div(0,s(x0))) |
active(div(s(x0),s(x1))) |
active(if(true,x0,x1)) |
active(if(false,x0,x1)) |
mark(minus(x0,x1)) |
mark(0) |
mark(s(x0)) |
mark(geq(x0,x1)) |
mark(true) |
mark(false) |
mark(div(x0,x1)) |
mark(if(x0,x1,x2)) |
1.1.6.1.1 Size-Change Termination
Using size-change termination in combination with
the subterm criterion
one obtains the following initial size-change graphs.
geq#(X1,mark(X2)) |
→ |
geq#(X1,X2) |
(75) |
|
1 |
≥ |
1 |
2 |
> |
2 |
geq#(mark(X1),X2) |
→ |
geq#(X1,X2) |
(74) |
|
1 |
> |
1 |
2 |
≥ |
2 |
geq#(active(X1),X2) |
→ |
geq#(X1,X2) |
(76) |
|
1 |
> |
1 |
2 |
≥ |
2 |
geq#(X1,active(X2)) |
→ |
geq#(X1,X2) |
(77) |
|
1 |
≥ |
1 |
2 |
> |
2 |
As there is no critical graph in the transitive closure, there are no infinite chains.
-
The
7th
component contains the
pair
div#(X1,mark(X2)) |
→ |
div#(X1,X2) |
(79) |
div#(mark(X1),X2) |
→ |
div#(X1,X2) |
(78) |
div#(active(X1),X2) |
→ |
div#(X1,X2) |
(80) |
div#(X1,active(X2)) |
→ |
div#(X1,X2) |
(81) |
1.1.7 Usable Rules Processor
We restrict the rewrite rules to the following usable rules of the DP problem.
There are no rules.
1.1.7.1 Innermost Lhss Removal Processor
We restrict the innermost strategy to the following left hand sides.
active(minus(0,x0)) |
active(minus(s(x0),s(x1))) |
active(geq(x0,0)) |
active(geq(0,s(x0))) |
active(geq(s(x0),s(x1))) |
active(div(0,s(x0))) |
active(div(s(x0),s(x1))) |
active(if(true,x0,x1)) |
active(if(false,x0,x1)) |
mark(minus(x0,x1)) |
mark(0) |
mark(s(x0)) |
mark(geq(x0,x1)) |
mark(true) |
mark(false) |
mark(div(x0,x1)) |
mark(if(x0,x1,x2)) |
1.1.7.1.1 Size-Change Termination
Using size-change termination in combination with
the subterm criterion
one obtains the following initial size-change graphs.
div#(X1,mark(X2)) |
→ |
div#(X1,X2) |
(79) |
|
1 |
≥ |
1 |
2 |
> |
2 |
div#(mark(X1),X2) |
→ |
div#(X1,X2) |
(78) |
|
1 |
> |
1 |
2 |
≥ |
2 |
div#(active(X1),X2) |
→ |
div#(X1,X2) |
(80) |
|
1 |
> |
1 |
2 |
≥ |
2 |
div#(X1,active(X2)) |
→ |
div#(X1,X2) |
(81) |
|
1 |
≥ |
1 |
2 |
> |
2 |
As there is no critical graph in the transitive closure, there are no infinite chains.
-
The
8th
component contains the
pair
if#(X1,mark(X2),X3) |
→ |
if#(X1,X2,X3) |
(83) |
if#(mark(X1),X2,X3) |
→ |
if#(X1,X2,X3) |
(82) |
if#(X1,X2,mark(X3)) |
→ |
if#(X1,X2,X3) |
(84) |
if#(active(X1),X2,X3) |
→ |
if#(X1,X2,X3) |
(85) |
if#(X1,active(X2),X3) |
→ |
if#(X1,X2,X3) |
(86) |
if#(X1,X2,active(X3)) |
→ |
if#(X1,X2,X3) |
(87) |
1.1.8 Usable Rules Processor
We restrict the rewrite rules to the following usable rules of the DP problem.
There are no rules.
1.1.8.1 Innermost Lhss Removal Processor
We restrict the innermost strategy to the following left hand sides.
active(minus(0,x0)) |
active(minus(s(x0),s(x1))) |
active(geq(x0,0)) |
active(geq(0,s(x0))) |
active(geq(s(x0),s(x1))) |
active(div(0,s(x0))) |
active(div(s(x0),s(x1))) |
active(if(true,x0,x1)) |
active(if(false,x0,x1)) |
mark(minus(x0,x1)) |
mark(0) |
mark(s(x0)) |
mark(geq(x0,x1)) |
mark(true) |
mark(false) |
mark(div(x0,x1)) |
mark(if(x0,x1,x2)) |
1.1.8.1.1 Size-Change Termination
Using size-change termination in combination with
the subterm criterion
one obtains the following initial size-change graphs.
if#(X1,mark(X2),X3) |
→ |
if#(X1,X2,X3) |
(83) |
|
1 |
≥ |
1 |
2 |
> |
2 |
3 |
≥ |
3 |
if#(mark(X1),X2,X3) |
→ |
if#(X1,X2,X3) |
(82) |
|
1 |
> |
1 |
2 |
≥ |
2 |
3 |
≥ |
3 |
if#(X1,X2,mark(X3)) |
→ |
if#(X1,X2,X3) |
(84) |
|
1 |
≥ |
1 |
2 |
≥ |
2 |
3 |
> |
3 |
if#(active(X1),X2,X3) |
→ |
if#(X1,X2,X3) |
(85) |
|
1 |
> |
1 |
2 |
≥ |
2 |
3 |
≥ |
3 |
if#(X1,active(X2),X3) |
→ |
if#(X1,X2,X3) |
(86) |
|
1 |
≥ |
1 |
2 |
> |
2 |
3 |
≥ |
3 |
if#(X1,X2,active(X3)) |
→ |
if#(X1,X2,X3) |
(87) |
|
1 |
≥ |
1 |
2 |
≥ |
2 |
3 |
> |
3 |
As there is no critical graph in the transitive closure, there are no infinite chains.