The rewrite relation of the following TRS is considered.
The dependency pairs are split into 7
components.
-
The
1st
component contains the
pair
mark#(tail(X)) |
→ |
active#(tail(mark(X))) |
(83) |
mark#(tail(X)) |
→ |
mark#(X) |
(57) |
mark#(cons(X1,X2)) |
→ |
active#(cons(mark(X1),X2)) |
(55) |
mark#(adx(X)) |
→ |
active#(adx(mark(X))) |
(80) |
mark#(zeros) |
→ |
active#(zeros) |
(52) |
active#(incr(cons(X,L))) |
→ |
mark#(cons(s(X),incr(L))) |
(79) |
mark#(nats) |
→ |
active#(nats) |
(51) |
mark#(cons(X1,X2)) |
→ |
mark#(X1) |
(77) |
mark#(s(X)) |
→ |
mark#(X) |
(76) |
mark#(head(X)) |
→ |
mark#(X) |
(75) |
mark#(incr(X)) |
→ |
active#(incr(mark(X))) |
(49) |
mark#(incr(X)) |
→ |
mark#(X) |
(47) |
mark#(s(X)) |
→ |
active#(s(mark(X))) |
(73) |
active#(zeros) |
→ |
mark#(cons(0,zeros)) |
(44) |
active#(head(cons(X,L))) |
→ |
mark#(X) |
(70) |
mark#(head(X)) |
→ |
active#(head(mark(X))) |
(69) |
active#(tail(cons(X,L))) |
→ |
mark#(L) |
(66) |
mark#(adx(X)) |
→ |
mark#(X) |
(63) |
active#(adx(cons(X,L))) |
→ |
mark#(incr(cons(X,adx(L)))) |
(37) |
active#(nats) |
→ |
mark#(adx(zeros)) |
(35) |
1.1.1 Reduction Pair Processor with Usable Rules
Using the Max-polynomial interpretation
[adx#(x1)] |
=
|
0 |
[incr(x1)] |
=
|
x1 + 0 |
[cons#(x1, x2)] |
=
|
0 |
[s(x1)] |
=
|
x1 + 0 |
[head#(x1)] |
=
|
0 |
[adx(x1)] |
=
|
x1 + 1 |
[zeros] |
=
|
1 |
[tail(x1)] |
=
|
x1 + 1 |
[mark#(x1)] |
=
|
x1 + 0 |
[0] |
=
|
0 |
[s#(x1)] |
=
|
0 |
[nil] |
=
|
1 |
[tail#(x1)] |
=
|
0 |
[mark(x1)] |
=
|
x1 + 0 |
[incr#(x1)] |
=
|
0 |
[nats] |
=
|
3 |
[active(x1)] |
=
|
x1 + 0 |
[head(x1)] |
=
|
x1 + 1 |
[cons(x1, x2)] |
=
|
x1 + x2 + 0 |
[active#(x1)] |
=
|
x1 + 0 |
together with the usable
rules
mark(tail(X)) |
→ |
active(tail(mark(X))) |
(18) |
active(adx(cons(X,L))) |
→ |
mark(incr(cons(X,adx(L)))) |
(4) |
mark(zeros) |
→ |
active(zeros) |
(15) |
active(tail(cons(X,L))) |
→ |
mark(L) |
(8) |
active(incr(nil)) |
→ |
mark(nil) |
(1) |
active(adx(nil)) |
→ |
mark(nil) |
(3) |
mark(0) |
→ |
active(0) |
(16) |
cons(mark(X1),X2) |
→ |
cons(X1,X2) |
(21) |
s(active(X)) |
→ |
s(X) |
(26) |
incr(mark(X)) |
→ |
incr(X) |
(19) |
tail(active(X)) |
→ |
tail(X) |
(32) |
mark(head(X)) |
→ |
active(head(mark(X))) |
(17) |
adx(mark(X)) |
→ |
adx(X) |
(27) |
cons(X1,mark(X2)) |
→ |
cons(X1,X2) |
(22) |
adx(active(X)) |
→ |
adx(X) |
(28) |
active(nats) |
→ |
mark(adx(zeros)) |
(5) |
mark(nil) |
→ |
active(nil) |
(10) |
active(head(cons(X,L))) |
→ |
mark(X) |
(7) |
incr(active(X)) |
→ |
incr(X) |
(20) |
s(mark(X)) |
→ |
s(X) |
(25) |
head(active(X)) |
→ |
head(X) |
(30) |
mark(nats) |
→ |
active(nats) |
(14) |
tail(mark(X)) |
→ |
tail(X) |
(31) |
mark(s(X)) |
→ |
active(s(mark(X))) |
(12) |
cons(active(X1),X2) |
→ |
cons(X1,X2) |
(23) |
cons(X1,active(X2)) |
→ |
cons(X1,X2) |
(24) |
mark(cons(X1,X2)) |
→ |
active(cons(mark(X1),X2)) |
(11) |
mark(incr(X)) |
→ |
active(incr(mark(X))) |
(9) |
mark(adx(X)) |
→ |
active(adx(mark(X))) |
(13) |
active(zeros) |
→ |
mark(cons(0,zeros)) |
(6) |
head(mark(X)) |
→ |
head(X) |
(29) |
active(incr(cons(X,L))) |
→ |
mark(cons(s(X),incr(L))) |
(2) |
(w.r.t. the implicit argument filter of the reduction pair),
the
pairs
mark#(tail(X)) |
→ |
mark#(X) |
(57) |
mark#(head(X)) |
→ |
mark#(X) |
(75) |
active#(head(cons(X,L))) |
→ |
mark#(X) |
(70) |
active#(tail(cons(X,L))) |
→ |
mark#(L) |
(66) |
mark#(adx(X)) |
→ |
mark#(X) |
(63) |
active#(nats) |
→ |
mark#(adx(zeros)) |
(35) |
could be deleted.
1.1.1.1 Dependency Graph Processor
The dependency pairs are split into 1
component.
-
The
2nd
component contains the
pair
head#(active(X)) |
→ |
head#(X) |
(50) |
head#(mark(X)) |
→ |
head#(X) |
(65) |
1.1.2 Reduction Pair Processor with Usable Rules
Using the Max-polynomial interpretation
[adx#(x1)] |
=
|
0 |
[incr(x1)] |
=
|
41350 |
[cons#(x1, x2)] |
=
|
0 |
[s(x1)] |
=
|
37697 |
[head#(x1)] |
=
|
x1 + 0 |
[adx(x1)] |
=
|
25729 |
[zeros] |
=
|
2 |
[tail(x1)] |
=
|
36467 |
[mark#(x1)] |
=
|
12630 |
[0] |
=
|
36868 |
[s#(x1)] |
=
|
0 |
[nil] |
=
|
41352 |
[tail#(x1)] |
=
|
0 |
[mark(x1)] |
=
|
x1 + 1 |
[incr#(x1)] |
=
|
0 |
[nats] |
=
|
0 |
[active(x1)] |
=
|
x1 + 2 |
[head(x1)] |
=
|
36560 |
[cons(x1, x2)] |
=
|
72601 |
[active#(x1)] |
=
|
x1 + 9824 |
together with the usable
rules
cons(mark(X1),X2) |
→ |
cons(X1,X2) |
(21) |
s(active(X)) |
→ |
s(X) |
(26) |
incr(mark(X)) |
→ |
incr(X) |
(19) |
tail(active(X)) |
→ |
tail(X) |
(32) |
adx(mark(X)) |
→ |
adx(X) |
(27) |
cons(X1,mark(X2)) |
→ |
cons(X1,X2) |
(22) |
adx(active(X)) |
→ |
adx(X) |
(28) |
incr(active(X)) |
→ |
incr(X) |
(20) |
s(mark(X)) |
→ |
s(X) |
(25) |
head(active(X)) |
→ |
head(X) |
(30) |
tail(mark(X)) |
→ |
tail(X) |
(31) |
cons(active(X1),X2) |
→ |
cons(X1,X2) |
(23) |
cons(X1,active(X2)) |
→ |
cons(X1,X2) |
(24) |
head(mark(X)) |
→ |
head(X) |
(29) |
(w.r.t. the implicit argument filter of the reduction pair),
the
pairs
head#(active(X)) |
→ |
head#(X) |
(50) |
head#(mark(X)) |
→ |
head#(X) |
(65) |
could be deleted.
1.1.2.1 Dependency Graph Processor
The dependency pairs are split into 0
components.
-
The
3rd
component contains the
pair
incr#(active(X)) |
→ |
incr#(X) |
(74) |
incr#(mark(X)) |
→ |
incr#(X) |
(43) |
1.1.3 Reduction Pair Processor with Usable Rules
Using the Max-polynomial interpretation
[adx#(x1)] |
=
|
0 |
[incr(x1)] |
=
|
11940 |
[cons#(x1, x2)] |
=
|
0 |
[s(x1)] |
=
|
39990 |
[head#(x1)] |
=
|
0 |
[adx(x1)] |
=
|
5970 |
[zeros] |
=
|
3578 |
[tail(x1)] |
=
|
37145 |
[mark#(x1)] |
=
|
12630 |
[0] |
=
|
1 |
[s#(x1)] |
=
|
0 |
[nil] |
=
|
17910 |
[tail#(x1)] |
=
|
0 |
[mark(x1)] |
=
|
x1 + 1 |
[incr#(x1)] |
=
|
x1 + 0 |
[nats] |
=
|
0 |
[active(x1)] |
=
|
x1 + 5970 |
[head(x1)] |
=
|
31381 |
[cons(x1, x2)] |
=
|
17910 |
[active#(x1)] |
=
|
x1 + 9824 |
together with the usable
rules
cons(mark(X1),X2) |
→ |
cons(X1,X2) |
(21) |
s(active(X)) |
→ |
s(X) |
(26) |
incr(mark(X)) |
→ |
incr(X) |
(19) |
tail(active(X)) |
→ |
tail(X) |
(32) |
adx(mark(X)) |
→ |
adx(X) |
(27) |
cons(X1,mark(X2)) |
→ |
cons(X1,X2) |
(22) |
adx(active(X)) |
→ |
adx(X) |
(28) |
incr(active(X)) |
→ |
incr(X) |
(20) |
s(mark(X)) |
→ |
s(X) |
(25) |
head(active(X)) |
→ |
head(X) |
(30) |
tail(mark(X)) |
→ |
tail(X) |
(31) |
cons(active(X1),X2) |
→ |
cons(X1,X2) |
(23) |
cons(X1,active(X2)) |
→ |
cons(X1,X2) |
(24) |
head(mark(X)) |
→ |
head(X) |
(29) |
(w.r.t. the implicit argument filter of the reduction pair),
the
pairs
incr#(active(X)) |
→ |
incr#(X) |
(74) |
incr#(mark(X)) |
→ |
incr#(X) |
(43) |
could be deleted.
1.1.3.1 Dependency Graph Processor
The dependency pairs are split into 0
components.
-
The
4th
component contains the
pair
adx#(active(X)) |
→ |
adx#(X) |
(54) |
adx#(mark(X)) |
→ |
adx#(X) |
(64) |
1.1.4 Reduction Pair Processor with Usable Rules
Using the Max-polynomial interpretation
[adx#(x1)] |
=
|
x1 + 0 |
[incr(x1)] |
=
|
19288 |
[cons#(x1, x2)] |
=
|
0 |
[s(x1)] |
=
|
39990 |
[head#(x1)] |
=
|
0 |
[adx(x1)] |
=
|
9644 |
[zeros] |
=
|
1 |
[tail(x1)] |
=
|
12644 |
[mark#(x1)] |
=
|
12630 |
[0] |
=
|
61688 |
[s#(x1)] |
=
|
0 |
[nil] |
=
|
28932 |
[tail#(x1)] |
=
|
0 |
[mark(x1)] |
=
|
x1 + 1 |
[incr#(x1)] |
=
|
0 |
[nats] |
=
|
0 |
[active(x1)] |
=
|
x1 + 9644 |
[head(x1)] |
=
|
30638 |
[cons(x1, x2)] |
=
|
28932 |
[active#(x1)] |
=
|
x1 + 9824 |
together with the usable
rules
cons(mark(X1),X2) |
→ |
cons(X1,X2) |
(21) |
s(active(X)) |
→ |
s(X) |
(26) |
incr(mark(X)) |
→ |
incr(X) |
(19) |
tail(active(X)) |
→ |
tail(X) |
(32) |
adx(mark(X)) |
→ |
adx(X) |
(27) |
cons(X1,mark(X2)) |
→ |
cons(X1,X2) |
(22) |
adx(active(X)) |
→ |
adx(X) |
(28) |
incr(active(X)) |
→ |
incr(X) |
(20) |
s(mark(X)) |
→ |
s(X) |
(25) |
head(active(X)) |
→ |
head(X) |
(30) |
tail(mark(X)) |
→ |
tail(X) |
(31) |
cons(active(X1),X2) |
→ |
cons(X1,X2) |
(23) |
cons(X1,active(X2)) |
→ |
cons(X1,X2) |
(24) |
head(mark(X)) |
→ |
head(X) |
(29) |
(w.r.t. the implicit argument filter of the reduction pair),
the
pairs
adx#(active(X)) |
→ |
adx#(X) |
(54) |
adx#(mark(X)) |
→ |
adx#(X) |
(64) |
could be deleted.
1.1.4.1 Dependency Graph Processor
The dependency pairs are split into 0
components.
-
The
5th
component contains the
pair
tail#(mark(X)) |
→ |
tail#(X) |
(68) |
tail#(active(X)) |
→ |
tail#(X) |
(40) |
1.1.5 Reduction Pair Processor with Usable Rules
Using the Max-polynomial interpretation
[adx#(x1)] |
=
|
0 |
[incr(x1)] |
=
|
15084 |
[cons#(x1, x2)] |
=
|
0 |
[s(x1)] |
=
|
39990 |
[head#(x1)] |
=
|
0 |
[adx(x1)] |
=
|
15082 |
[zeros] |
=
|
1 |
[tail(x1)] |
=
|
21691 |
[mark#(x1)] |
=
|
12630 |
[0] |
=
|
25011 |
[s#(x1)] |
=
|
0 |
[nil] |
=
|
15086 |
[tail#(x1)] |
=
|
x1 + 0 |
[mark(x1)] |
=
|
x1 + 1 |
[incr#(x1)] |
=
|
0 |
[nats] |
=
|
0 |
[active(x1)] |
=
|
x1 + 2 |
[head(x1)] |
=
|
38969 |
[cons(x1, x2)] |
=
|
16148 |
[active#(x1)] |
=
|
x1 + 9824 |
together with the usable
rules
cons(mark(X1),X2) |
→ |
cons(X1,X2) |
(21) |
s(active(X)) |
→ |
s(X) |
(26) |
incr(mark(X)) |
→ |
incr(X) |
(19) |
tail(active(X)) |
→ |
tail(X) |
(32) |
adx(mark(X)) |
→ |
adx(X) |
(27) |
cons(X1,mark(X2)) |
→ |
cons(X1,X2) |
(22) |
adx(active(X)) |
→ |
adx(X) |
(28) |
incr(active(X)) |
→ |
incr(X) |
(20) |
s(mark(X)) |
→ |
s(X) |
(25) |
head(active(X)) |
→ |
head(X) |
(30) |
tail(mark(X)) |
→ |
tail(X) |
(31) |
cons(active(X1),X2) |
→ |
cons(X1,X2) |
(23) |
cons(X1,active(X2)) |
→ |
cons(X1,X2) |
(24) |
head(mark(X)) |
→ |
head(X) |
(29) |
(w.r.t. the implicit argument filter of the reduction pair),
the
pairs
tail#(mark(X)) |
→ |
tail#(X) |
(68) |
tail#(active(X)) |
→ |
tail#(X) |
(40) |
could be deleted.
1.1.5.1 Dependency Graph Processor
The dependency pairs are split into 0
components.
-
The
6th
component contains the
pair
cons#(active(X1),X2) |
→ |
cons#(X1,X2) |
(84) |
cons#(X1,mark(X2)) |
→ |
cons#(X1,X2) |
(72) |
cons#(X1,active(X2)) |
→ |
cons#(X1,X2) |
(71) |
cons#(mark(X1),X2) |
→ |
cons#(X1,X2) |
(45) |
1.1.6 Reduction Pair Processor with Usable Rules
Using the Max-polynomial interpretation
[adx#(x1)] |
=
|
0 |
[incr(x1)] |
=
|
16763 |
[cons#(x1, x2)] |
=
|
x1 + 0 |
[s(x1)] |
=
|
16892 |
[head#(x1)] |
=
|
0 |
[adx(x1)] |
=
|
16761 |
[zeros] |
=
|
1 |
[tail(x1)] |
=
|
13927 |
[mark#(x1)] |
=
|
12630 |
[0] |
=
|
1 |
[s#(x1)] |
=
|
0 |
[nil] |
=
|
16765 |
[tail#(x1)] |
=
|
0 |
[mark(x1)] |
=
|
x1 + 1 |
[incr#(x1)] |
=
|
0 |
[nats] |
=
|
0 |
[active(x1)] |
=
|
x1 + 2 |
[head(x1)] |
=
|
1 |
[cons(x1, x2)] |
=
|
16765 |
[active#(x1)] |
=
|
x1 + 9824 |
together with the usable
rules
cons(mark(X1),X2) |
→ |
cons(X1,X2) |
(21) |
s(active(X)) |
→ |
s(X) |
(26) |
incr(mark(X)) |
→ |
incr(X) |
(19) |
tail(active(X)) |
→ |
tail(X) |
(32) |
adx(mark(X)) |
→ |
adx(X) |
(27) |
cons(X1,mark(X2)) |
→ |
cons(X1,X2) |
(22) |
adx(active(X)) |
→ |
adx(X) |
(28) |
incr(active(X)) |
→ |
incr(X) |
(20) |
s(mark(X)) |
→ |
s(X) |
(25) |
head(active(X)) |
→ |
head(X) |
(30) |
tail(mark(X)) |
→ |
tail(X) |
(31) |
cons(active(X1),X2) |
→ |
cons(X1,X2) |
(23) |
cons(X1,active(X2)) |
→ |
cons(X1,X2) |
(24) |
head(mark(X)) |
→ |
head(X) |
(29) |
(w.r.t. the implicit argument filter of the reduction pair),
the
pairs
cons#(active(X1),X2) |
→ |
cons#(X1,X2) |
(84) |
cons#(mark(X1),X2) |
→ |
cons#(X1,X2) |
(45) |
could be deleted.
1.1.6.1 Dependency Graph Processor
The dependency pairs are split into 1
component.
-
The
7th
component contains the
pair
s#(mark(X)) |
→ |
s#(X) |
(59) |
s#(active(X)) |
→ |
s#(X) |
(62) |
1.1.7 Reduction Pair Processor with Usable Rules
Using the Max-polynomial interpretation
[adx#(x1)] |
=
|
0 |
[incr(x1)] |
=
|
6440 |
[cons#(x1, x2)] |
=
|
0 |
[s(x1)] |
=
|
16892 |
[head#(x1)] |
=
|
0 |
[adx(x1)] |
=
|
6438 |
[zeros] |
=
|
1 |
[tail(x1)] |
=
|
1 |
[mark#(x1)] |
=
|
12630 |
[0] |
=
|
20631 |
[s#(x1)] |
=
|
x1 + 0 |
[nil] |
=
|
32801 |
[tail#(x1)] |
=
|
0 |
[mark(x1)] |
=
|
x1 + 1 |
[incr#(x1)] |
=
|
0 |
[nats] |
=
|
0 |
[active(x1)] |
=
|
x1 + 2 |
[head(x1)] |
=
|
19864 |
[cons(x1, x2)] |
=
|
6442 |
[active#(x1)] |
=
|
x1 + 9824 |
together with the usable
rules
cons(mark(X1),X2) |
→ |
cons(X1,X2) |
(21) |
s(active(X)) |
→ |
s(X) |
(26) |
incr(mark(X)) |
→ |
incr(X) |
(19) |
tail(active(X)) |
→ |
tail(X) |
(32) |
adx(mark(X)) |
→ |
adx(X) |
(27) |
cons(X1,mark(X2)) |
→ |
cons(X1,X2) |
(22) |
adx(active(X)) |
→ |
adx(X) |
(28) |
incr(active(X)) |
→ |
incr(X) |
(20) |
s(mark(X)) |
→ |
s(X) |
(25) |
head(active(X)) |
→ |
head(X) |
(30) |
tail(mark(X)) |
→ |
tail(X) |
(31) |
cons(active(X1),X2) |
→ |
cons(X1,X2) |
(23) |
cons(X1,active(X2)) |
→ |
cons(X1,X2) |
(24) |
head(mark(X)) |
→ |
head(X) |
(29) |
(w.r.t. the implicit argument filter of the reduction pair),
the
pairs
s#(mark(X)) |
→ |
s#(X) |
(59) |
s#(active(X)) |
→ |
s#(X) |
(62) |
could be deleted.
1.1.7.1 Dependency Graph Processor
The dependency pairs are split into 0
components.