The rewrite relation of the following TRS is considered.
active(filter(cons(X,Y),0,M)) | → | mark(cons(0,filter(Y,M,M))) | (1) |
active(filter(cons(X,Y),s(N),M)) | → | mark(cons(X,filter(Y,N,M))) | (2) |
active(sieve(cons(0,Y))) | → | mark(cons(0,sieve(Y))) | (3) |
active(sieve(cons(s(N),Y))) | → | mark(cons(s(N),sieve(filter(Y,N,N)))) | (4) |
active(nats(N)) | → | mark(cons(N,nats(s(N)))) | (5) |
active(zprimes) | → | mark(sieve(nats(s(s(0))))) | (6) |
mark(filter(X1,X2,X3)) | → | active(filter(mark(X1),mark(X2),mark(X3))) | (7) |
mark(cons(X1,X2)) | → | active(cons(mark(X1),X2)) | (8) |
mark(0) | → | active(0) | (9) |
mark(s(X)) | → | active(s(mark(X))) | (10) |
mark(sieve(X)) | → | active(sieve(mark(X))) | (11) |
mark(nats(X)) | → | active(nats(mark(X))) | (12) |
mark(zprimes) | → | active(zprimes) | (13) |
filter(mark(X1),X2,X3) | → | filter(X1,X2,X3) | (14) |
filter(X1,mark(X2),X3) | → | filter(X1,X2,X3) | (15) |
filter(X1,X2,mark(X3)) | → | filter(X1,X2,X3) | (16) |
filter(active(X1),X2,X3) | → | filter(X1,X2,X3) | (17) |
filter(X1,active(X2),X3) | → | filter(X1,X2,X3) | (18) |
filter(X1,X2,active(X3)) | → | filter(X1,X2,X3) | (19) |
cons(mark(X1),X2) | → | cons(X1,X2) | (20) |
cons(X1,mark(X2)) | → | cons(X1,X2) | (21) |
cons(active(X1),X2) | → | cons(X1,X2) | (22) |
cons(X1,active(X2)) | → | cons(X1,X2) | (23) |
s(mark(X)) | → | s(X) | (24) |
s(active(X)) | → | s(X) | (25) |
sieve(mark(X)) | → | sieve(X) | (26) |
sieve(active(X)) | → | sieve(X) | (27) |
nats(mark(X)) | → | nats(X) | (28) |
nats(active(X)) | → | nats(X) | (29) |
active#(filter(cons(X,Y),s(N),M)) | → | cons#(X,filter(Y,N,M)) | (30) |
active#(sieve(cons(0,Y))) | → | mark#(cons(0,sieve(Y))) | (31) |
mark#(s(X)) | → | s#(mark(X)) | (32) |
nats#(mark(X)) | → | nats#(X) | (33) |
active#(filter(cons(X,Y),0,M)) | → | mark#(cons(0,filter(Y,M,M))) | (34) |
filter#(X1,X2,mark(X3)) | → | filter#(X1,X2,X3) | (35) |
cons#(X1,mark(X2)) | → | cons#(X1,X2) | (36) |
sieve#(active(X)) | → | sieve#(X) | (37) |
active#(filter(cons(X,Y),0,M)) | → | cons#(0,filter(Y,M,M)) | (38) |
active#(sieve(cons(s(N),Y))) | → | mark#(cons(s(N),sieve(filter(Y,N,N)))) | (39) |
active#(filter(cons(X,Y),0,M)) | → | filter#(Y,M,M) | (40) |
filter#(active(X1),X2,X3) | → | filter#(X1,X2,X3) | (41) |
active#(zprimes) | → | sieve#(nats(s(s(0)))) | (42) |
active#(sieve(cons(s(N),Y))) | → | sieve#(filter(Y,N,N)) | (43) |
sieve#(mark(X)) | → | sieve#(X) | (44) |
mark#(cons(X1,X2)) | → | mark#(X1) | (45) |
mark#(sieve(X)) | → | sieve#(mark(X)) | (46) |
active#(zprimes) | → | s#(0) | (47) |
mark#(0) | → | active#(0) | (48) |
filter#(X1,active(X2),X3) | → | filter#(X1,X2,X3) | (49) |
mark#(filter(X1,X2,X3)) | → | filter#(mark(X1),mark(X2),mark(X3)) | (50) |
mark#(filter(X1,X2,X3)) | → | active#(filter(mark(X1),mark(X2),mark(X3))) | (51) |
active#(sieve(cons(0,Y))) | → | sieve#(Y) | (52) |
mark#(sieve(X)) | → | active#(sieve(mark(X))) | (53) |
active#(nats(N)) | → | mark#(cons(N,nats(s(N)))) | (54) |
active#(sieve(cons(s(N),Y))) | → | filter#(Y,N,N) | (55) |
mark#(sieve(X)) | → | mark#(X) | (56) |
mark#(s(X)) | → | mark#(X) | (57) |
filter#(X1,mark(X2),X3) | → | filter#(X1,X2,X3) | (58) |
mark#(cons(X1,X2)) | → | active#(cons(mark(X1),X2)) | (59) |
mark#(filter(X1,X2,X3)) | → | mark#(X1) | (60) |
filter#(mark(X1),X2,X3) | → | filter#(X1,X2,X3) | (61) |
active#(zprimes) | → | nats#(s(s(0))) | (62) |
filter#(X1,X2,active(X3)) | → | filter#(X1,X2,X3) | (63) |
mark#(zprimes) | → | active#(zprimes) | (64) |
active#(nats(N)) | → | nats#(s(N)) | (65) |
active#(zprimes) | → | mark#(sieve(nats(s(s(0))))) | (66) |
active#(sieve(cons(0,Y))) | → | cons#(0,sieve(Y)) | (67) |
mark#(s(X)) | → | active#(s(mark(X))) | (68) |
cons#(mark(X1),X2) | → | cons#(X1,X2) | (69) |
active#(nats(N)) | → | s#(N) | (70) |
mark#(filter(X1,X2,X3)) | → | mark#(X3) | (71) |
mark#(nats(X)) | → | active#(nats(mark(X))) | (72) |
active#(nats(N)) | → | cons#(N,nats(s(N))) | (73) |
mark#(nats(X)) | → | mark#(X) | (74) |
mark#(filter(X1,X2,X3)) | → | mark#(X2) | (75) |
cons#(active(X1),X2) | → | cons#(X1,X2) | (76) |
s#(active(X)) | → | s#(X) | (77) |
cons#(X1,active(X2)) | → | cons#(X1,X2) | (78) |
active#(filter(cons(X,Y),s(N),M)) | → | filter#(Y,N,M) | (79) |
active#(filter(cons(X,Y),s(N),M)) | → | mark#(cons(X,filter(Y,N,M))) | (80) |
active#(sieve(cons(s(N),Y))) | → | cons#(s(N),sieve(filter(Y,N,N))) | (81) |
active#(zprimes) | → | s#(s(0)) | (82) |
s#(mark(X)) | → | s#(X) | (83) |
nats#(active(X)) | → | nats#(X) | (84) |
mark#(cons(X1,X2)) | → | cons#(mark(X1),X2) | (85) |
mark#(nats(X)) | → | nats#(mark(X)) | (86) |
The dependency pairs are split into 6 components.
mark#(filter(X1,X2,X3)) | → | mark#(X1) | (60) |
mark#(cons(X1,X2)) | → | active#(cons(mark(X1),X2)) | (59) |
mark#(s(X)) | → | mark#(X) | (57) |
mark#(sieve(X)) | → | mark#(X) | (56) |
active#(nats(N)) | → | mark#(cons(N,nats(s(N)))) | (54) |
mark#(sieve(X)) | → | active#(sieve(mark(X))) | (53) |
active#(filter(cons(X,Y),s(N),M)) | → | mark#(cons(X,filter(Y,N,M))) | (80) |
mark#(filter(X1,X2,X3)) | → | active#(filter(mark(X1),mark(X2),mark(X3))) | (51) |
mark#(filter(X1,X2,X3)) | → | mark#(X2) | (75) |
mark#(cons(X1,X2)) | → | mark#(X1) | (45) |
mark#(nats(X)) | → | mark#(X) | (74) |
mark#(nats(X)) | → | active#(nats(mark(X))) | (72) |
mark#(filter(X1,X2,X3)) | → | mark#(X3) | (71) |
active#(sieve(cons(s(N),Y))) | → | mark#(cons(s(N),sieve(filter(Y,N,N)))) | (39) |
mark#(s(X)) | → | active#(s(mark(X))) | (68) |
active#(zprimes) | → | mark#(sieve(nats(s(s(0))))) | (66) |
mark#(zprimes) | → | active#(zprimes) | (64) |
active#(filter(cons(X,Y),0,M)) | → | mark#(cons(0,filter(Y,M,M))) | (34) |
active#(sieve(cons(0,Y))) | → | mark#(cons(0,sieve(Y))) | (31) |
[zprimes] | = | 71737 |
[cons#(x1, x2)] | = | 0 |
[nats#(x1)] | = | 0 |
[s(x1)] | = | x1 + 1143 |
[filter#(x1, x2, x3)] | = | 0 |
[mark#(x1)] | = | x1 + 1 |
[0] | = | 38551 |
[s#(x1)] | = | 0 |
[mark(x1)] | = | x1 + 0 |
[sieve(x1)] | = | x1 + 283 |
[nats(x1)] | = | x1 + 30615 |
[active(x1)] | = | x1 + 0 |
[cons(x1, x2)] | = | x1 + 30613 |
[active#(x1)] | = | x1 + 0 |
[filter(x1, x2, x3)] | = | x1 + x2 + x3 + 5855 |
[sieve#(x1)] | = | 0 |
filter(X1,active(X2),X3) | → | filter(X1,X2,X3) | (18) |
active(sieve(cons(s(N),Y))) | → | mark(cons(s(N),sieve(filter(Y,N,N)))) | (4) |
filter(X1,mark(X2),X3) | → | filter(X1,X2,X3) | (15) |
mark(cons(X1,X2)) | → | active(cons(mark(X1),X2)) | (8) |
active(filter(cons(X,Y),0,M)) | → | mark(cons(0,filter(Y,M,M))) | (1) |
active(sieve(cons(0,Y))) | → | mark(cons(0,sieve(Y))) | (3) |
filter(X1,X2,mark(X3)) | → | filter(X1,X2,X3) | (16) |
cons(X1,mark(X2)) | → | cons(X1,X2) | (21) |
sieve(mark(X)) | → | sieve(X) | (26) |
filter(X1,X2,active(X3)) | → | filter(X1,X2,X3) | (19) |
filter(active(X1),X2,X3) | → | filter(X1,X2,X3) | (17) |
sieve(active(X)) | → | sieve(X) | (27) |
cons(active(X1),X2) | → | cons(X1,X2) | (22) |
nats(mark(X)) | → | nats(X) | (28) |
active(nats(N)) | → | mark(cons(N,nats(s(N)))) | (5) |
mark(s(X)) | → | active(s(mark(X))) | (10) |
mark(filter(X1,X2,X3)) | → | active(filter(mark(X1),mark(X2),mark(X3))) | (7) |
cons(mark(X1),X2) | → | cons(X1,X2) | (20) |
s(active(X)) | → | s(X) | (25) |
filter(mark(X1),X2,X3) | → | filter(X1,X2,X3) | (14) |
mark(nats(X)) | → | active(nats(mark(X))) | (12) |
cons(X1,active(X2)) | → | cons(X1,X2) | (23) |
s(mark(X)) | → | s(X) | (24) |
mark(sieve(X)) | → | active(sieve(mark(X))) | (11) |
mark(0) | → | active(0) | (9) |
mark(zprimes) | → | active(zprimes) | (13) |
active(zprimes) | → | mark(sieve(nats(s(s(0))))) | (6) |
nats(active(X)) | → | nats(X) | (29) |
active(filter(cons(X,Y),s(N),M)) | → | mark(cons(X,filter(Y,N,M))) | (2) |
mark#(filter(X1,X2,X3)) | → | mark#(X1) | (60) |
mark#(cons(X1,X2)) | → | active#(cons(mark(X1),X2)) | (59) |
mark#(s(X)) | → | mark#(X) | (57) |
mark#(sieve(X)) | → | mark#(X) | (56) |
active#(nats(N)) | → | mark#(cons(N,nats(s(N)))) | (54) |
mark#(sieve(X)) | → | active#(sieve(mark(X))) | (53) |
active#(filter(cons(X,Y),s(N),M)) | → | mark#(cons(X,filter(Y,N,M))) | (80) |
mark#(filter(X1,X2,X3)) | → | active#(filter(mark(X1),mark(X2),mark(X3))) | (51) |
mark#(filter(X1,X2,X3)) | → | mark#(X2) | (75) |
mark#(cons(X1,X2)) | → | mark#(X1) | (45) |
mark#(nats(X)) | → | mark#(X) | (74) |
mark#(nats(X)) | → | active#(nats(mark(X))) | (72) |
mark#(filter(X1,X2,X3)) | → | mark#(X3) | (71) |
active#(sieve(cons(s(N),Y))) | → | mark#(cons(s(N),sieve(filter(Y,N,N)))) | (39) |
mark#(s(X)) | → | active#(s(mark(X))) | (68) |
active#(zprimes) | → | mark#(sieve(nats(s(s(0))))) | (66) |
mark#(zprimes) | → | active#(zprimes) | (64) |
active#(filter(cons(X,Y),0,M)) | → | mark#(cons(0,filter(Y,M,M))) | (34) |
active#(sieve(cons(0,Y))) | → | mark#(cons(0,sieve(Y))) | (31) |
The dependency pairs are split into 0 components.
nats#(active(X)) | → | nats#(X) | (84) |
nats#(mark(X)) | → | nats#(X) | (33) |
[zprimes] | = | 2451 |
[cons#(x1, x2)] | = | 0 |
[nats#(x1)] | = | x1 + 0 |
[s(x1)] | = | 1 |
[filter#(x1, x2, x3)] | = | 0 |
[mark#(x1)] | = | x1 + 1 |
[0] | = | 1 |
[s#(x1)] | = | 0 |
[mark(x1)] | = | x1 + 1 |
[sieve(x1)] | = | x1 + 1 |
[nats(x1)] | = | x1 + 2448 |
[active(x1)] | = | x1 + 0 |
[cons(x1, x2)] | = | 1 |
[active#(x1)] | = | x1 + 0 |
[filter(x1, x2, x3)] | = | x2 + 1 |
[sieve#(x1)] | = | 0 |
filter(X1,active(X2),X3) | → | filter(X1,X2,X3) | (18) |
active(sieve(cons(s(N),Y))) | → | mark(cons(s(N),sieve(filter(Y,N,N)))) | (4) |
filter(X1,mark(X2),X3) | → | filter(X1,X2,X3) | (15) |
mark(cons(X1,X2)) | → | active(cons(mark(X1),X2)) | (8) |
active(filter(cons(X,Y),0,M)) | → | mark(cons(0,filter(Y,M,M))) | (1) |
active(sieve(cons(0,Y))) | → | mark(cons(0,sieve(Y))) | (3) |
filter(X1,X2,mark(X3)) | → | filter(X1,X2,X3) | (16) |
cons(X1,mark(X2)) | → | cons(X1,X2) | (21) |
sieve(mark(X)) | → | sieve(X) | (26) |
filter(X1,X2,active(X3)) | → | filter(X1,X2,X3) | (19) |
filter(active(X1),X2,X3) | → | filter(X1,X2,X3) | (17) |
sieve(active(X)) | → | sieve(X) | (27) |
cons(active(X1),X2) | → | cons(X1,X2) | (22) |
nats(mark(X)) | → | nats(X) | (28) |
active(nats(N)) | → | mark(cons(N,nats(s(N)))) | (5) |
mark(s(X)) | → | active(s(mark(X))) | (10) |
mark(filter(X1,X2,X3)) | → | active(filter(mark(X1),mark(X2),mark(X3))) | (7) |
cons(mark(X1),X2) | → | cons(X1,X2) | (20) |
s(active(X)) | → | s(X) | (25) |
filter(mark(X1),X2,X3) | → | filter(X1,X2,X3) | (14) |
mark(nats(X)) | → | active(nats(mark(X))) | (12) |
cons(X1,active(X2)) | → | cons(X1,X2) | (23) |
s(mark(X)) | → | s(X) | (24) |
mark(sieve(X)) | → | active(sieve(mark(X))) | (11) |
mark(0) | → | active(0) | (9) |
mark(zprimes) | → | active(zprimes) | (13) |
active(zprimes) | → | mark(sieve(nats(s(s(0))))) | (6) |
nats(active(X)) | → | nats(X) | (29) |
active(filter(cons(X,Y),s(N),M)) | → | mark(cons(X,filter(Y,N,M))) | (2) |
nats#(mark(X)) | → | nats#(X) | (33) |
The dependency pairs are split into 1 component.
nats#(active(X)) | → | nats#(X) | (84) |
[zprimes] | = | 1 |
[cons#(x1, x2)] | = | 0 |
[nats#(x1)] | = | x1 + 0 |
[s(x1)] | = | 1 |
[filter#(x1, x2, x3)] | = | 0 |
[mark#(x1)] | = | 1 |
[0] | = | 36251 |
[s#(x1)] | = | 0 |
[mark(x1)] | = | x1 + 2 |
[sieve(x1)] | = | x1 + 1 |
[nats(x1)] | = | x1 + 1 |
[active(x1)] | = | x1 + 1 |
[cons(x1, x2)] | = | 1 |
[active#(x1)] | = | 0 |
[filter(x1, x2, x3)] | = | 1 |
[sieve#(x1)] | = | 0 |
filter(X1,active(X2),X3) | → | filter(X1,X2,X3) | (18) |
filter(X1,mark(X2),X3) | → | filter(X1,X2,X3) | (15) |
filter(X1,X2,mark(X3)) | → | filter(X1,X2,X3) | (16) |
filter(X1,X2,active(X3)) | → | filter(X1,X2,X3) | (19) |
filter(active(X1),X2,X3) | → | filter(X1,X2,X3) | (17) |
filter(mark(X1),X2,X3) | → | filter(X1,X2,X3) | (14) |
nats#(active(X)) | → | nats#(X) | (84) |
The dependency pairs are split into 0 components.
s#(mark(X)) | → | s#(X) | (83) |
s#(active(X)) | → | s#(X) | (77) |
[zprimes] | = | 1 |
[cons#(x1, x2)] | = | 0 |
[nats#(x1)] | = | 0 |
[s(x1)] | = | 1 |
[filter#(x1, x2, x3)] | = | 0 |
[mark#(x1)] | = | 1 |
[0] | = | 17897 |
[s#(x1)] | = | x1 + 0 |
[mark(x1)] | = | x1 + 2 |
[sieve(x1)] | = | x1 + 1 |
[nats(x1)] | = | x1 + 1 |
[active(x1)] | = | x1 + 1 |
[cons(x1, x2)] | = | 1 |
[active#(x1)] | = | 0 |
[filter(x1, x2, x3)] | = | 1 |
[sieve#(x1)] | = | 0 |
filter(X1,active(X2),X3) | → | filter(X1,X2,X3) | (18) |
filter(X1,mark(X2),X3) | → | filter(X1,X2,X3) | (15) |
filter(X1,X2,mark(X3)) | → | filter(X1,X2,X3) | (16) |
filter(X1,X2,active(X3)) | → | filter(X1,X2,X3) | (19) |
filter(active(X1),X2,X3) | → | filter(X1,X2,X3) | (17) |
filter(mark(X1),X2,X3) | → | filter(X1,X2,X3) | (14) |
s#(mark(X)) | → | s#(X) | (83) |
s#(active(X)) | → | s#(X) | (77) |
The dependency pairs are split into 0 components.
sieve#(mark(X)) | → | sieve#(X) | (44) |
sieve#(active(X)) | → | sieve#(X) | (37) |
[zprimes] | = | 1 |
[cons#(x1, x2)] | = | 0 |
[nats#(x1)] | = | 0 |
[s(x1)] | = | 1 |
[filter#(x1, x2, x3)] | = | 0 |
[mark#(x1)] | = | 1 |
[0] | = | 56247 |
[s#(x1)] | = | 0 |
[mark(x1)] | = | x1 + 2 |
[sieve(x1)] | = | x1 + 1 |
[nats(x1)] | = | x1 + 1 |
[active(x1)] | = | x1 + 1 |
[cons(x1, x2)] | = | 1 |
[active#(x1)] | = | 0 |
[filter(x1, x2, x3)] | = | 1 |
[sieve#(x1)] | = | x1 + 0 |
filter(X1,active(X2),X3) | → | filter(X1,X2,X3) | (18) |
filter(X1,mark(X2),X3) | → | filter(X1,X2,X3) | (15) |
filter(X1,X2,mark(X3)) | → | filter(X1,X2,X3) | (16) |
filter(X1,X2,active(X3)) | → | filter(X1,X2,X3) | (19) |
filter(active(X1),X2,X3) | → | filter(X1,X2,X3) | (17) |
filter(mark(X1),X2,X3) | → | filter(X1,X2,X3) | (14) |
sieve#(mark(X)) | → | sieve#(X) | (44) |
sieve#(active(X)) | → | sieve#(X) | (37) |
The dependency pairs are split into 0 components.
cons#(X1,active(X2)) | → | cons#(X1,X2) | (78) |
cons#(active(X1),X2) | → | cons#(X1,X2) | (76) |
cons#(mark(X1),X2) | → | cons#(X1,X2) | (69) |
cons#(X1,mark(X2)) | → | cons#(X1,X2) | (36) |
[zprimes] | = | 23712 |
[cons#(x1, x2)] | = | x1 + 0 |
[nats#(x1)] | = | 0 |
[s(x1)] | = | 1 |
[filter#(x1, x2, x3)] | = | 0 |
[mark#(x1)] | = | 1 |
[0] | = | 1 |
[s#(x1)] | = | 0 |
[mark(x1)] | = | x1 + 2 |
[sieve(x1)] | = | x1 + 23086 |
[nats(x1)] | = | x1 + 625 |
[active(x1)] | = | x1 + 1 |
[cons(x1, x2)] | = | 39946 |
[active#(x1)] | = | 0 |
[filter(x1, x2, x3)] | = | 1 |
[sieve#(x1)] | = | 0 |
filter(X1,active(X2),X3) | → | filter(X1,X2,X3) | (18) |
filter(X1,mark(X2),X3) | → | filter(X1,X2,X3) | (15) |
filter(X1,X2,mark(X3)) | → | filter(X1,X2,X3) | (16) |
filter(X1,X2,active(X3)) | → | filter(X1,X2,X3) | (19) |
filter(active(X1),X2,X3) | → | filter(X1,X2,X3) | (17) |
filter(mark(X1),X2,X3) | → | filter(X1,X2,X3) | (14) |
cons#(active(X1),X2) | → | cons#(X1,X2) | (76) |
cons#(mark(X1),X2) | → | cons#(X1,X2) | (69) |
The dependency pairs are split into 1 component.
cons#(X1,mark(X2)) | → | cons#(X1,X2) | (36) |
cons#(X1,active(X2)) | → | cons#(X1,X2) | (78) |
[zprimes] | = | 1 |
[cons#(x1, x2)] | = | x2 + 0 |
[nats#(x1)] | = | 0 |
[s(x1)] | = | 47098 |
[filter#(x1, x2, x3)] | = | 0 |
[mark#(x1)] | = | 1 |
[0] | = | 21734 |
[s#(x1)] | = | 0 |
[mark(x1)] | = | x1 + 1 |
[sieve(x1)] | = | x1 + 1 |
[nats(x1)] | = | x1 + 1 |
[active(x1)] | = | x1 + 1 |
[cons(x1, x2)] | = | 2 |
[active#(x1)] | = | 0 |
[filter(x1, x2, x3)] | = | 1 |
[sieve#(x1)] | = | 0 |
filter(X1,active(X2),X3) | → | filter(X1,X2,X3) | (18) |
filter(X1,mark(X2),X3) | → | filter(X1,X2,X3) | (15) |
filter(X1,X2,mark(X3)) | → | filter(X1,X2,X3) | (16) |
filter(X1,X2,active(X3)) | → | filter(X1,X2,X3) | (19) |
filter(active(X1),X2,X3) | → | filter(X1,X2,X3) | (17) |
filter(mark(X1),X2,X3) | → | filter(X1,X2,X3) | (14) |
cons#(X1,mark(X2)) | → | cons#(X1,X2) | (36) |
cons#(X1,active(X2)) | → | cons#(X1,X2) | (78) |
The dependency pairs are split into 0 components.
filter#(X1,mark(X2),X3) | → | filter#(X1,X2,X3) | (58) |
filter#(X1,active(X2),X3) | → | filter#(X1,X2,X3) | (49) |
filter#(active(X1),X2,X3) | → | filter#(X1,X2,X3) | (41) |
filter#(X1,X2,mark(X3)) | → | filter#(X1,X2,X3) | (35) |
filter#(X1,X2,active(X3)) | → | filter#(X1,X2,X3) | (63) |
filter#(mark(X1),X2,X3) | → | filter#(X1,X2,X3) | (61) |
[zprimes] | = | 1 |
[cons#(x1, x2)] | = | 0 |
[nats#(x1)] | = | 0 |
[s(x1)] | = | 33859 |
[filter#(x1, x2, x3)] | = | x2 + x3 + 0 |
[mark#(x1)] | = | 1 |
[0] | = | 1 |
[s#(x1)] | = | 0 |
[mark(x1)] | = | x1 + 1 |
[sieve(x1)] | = | x1 + 5969 |
[nats(x1)] | = | x1 + 1 |
[active(x1)] | = | x1 + 1 |
[cons(x1, x2)] | = | 2 |
[active#(x1)] | = | 0 |
[filter(x1, x2, x3)] | = | 1 |
[sieve#(x1)] | = | 0 |
filter(X1,active(X2),X3) | → | filter(X1,X2,X3) | (18) |
filter(X1,mark(X2),X3) | → | filter(X1,X2,X3) | (15) |
filter(X1,X2,mark(X3)) | → | filter(X1,X2,X3) | (16) |
filter(X1,X2,active(X3)) | → | filter(X1,X2,X3) | (19) |
filter(active(X1),X2,X3) | → | filter(X1,X2,X3) | (17) |
filter(mark(X1),X2,X3) | → | filter(X1,X2,X3) | (14) |
filter#(X1,mark(X2),X3) | → | filter#(X1,X2,X3) | (58) |
filter#(X1,active(X2),X3) | → | filter#(X1,X2,X3) | (49) |
filter#(X1,X2,mark(X3)) | → | filter#(X1,X2,X3) | (35) |
filter#(X1,X2,active(X3)) | → | filter#(X1,X2,X3) | (63) |
The dependency pairs are split into 1 component.
filter#(active(X1),X2,X3) | → | filter#(X1,X2,X3) | (41) |
filter#(mark(X1),X2,X3) | → | filter#(X1,X2,X3) | (61) |
[zprimes] | = | 1 |
[cons#(x1, x2)] | = | 0 |
[nats#(x1)] | = | 0 |
[s(x1)] | = | 42224 |
[filter#(x1, x2, x3)] | = | x1 + 0 |
[mark#(x1)] | = | 1 |
[0] | = | 436 |
[s#(x1)] | = | 0 |
[mark(x1)] | = | x1 + 1 |
[sieve(x1)] | = | x1 + 11668 |
[nats(x1)] | = | x1 + 977 |
[active(x1)] | = | x1 + 1 |
[cons(x1, x2)] | = | 29162 |
[active#(x1)] | = | 0 |
[filter(x1, x2, x3)] | = | 1 |
[sieve#(x1)] | = | 0 |
filter(X1,active(X2),X3) | → | filter(X1,X2,X3) | (18) |
filter(X1,mark(X2),X3) | → | filter(X1,X2,X3) | (15) |
filter(X1,X2,mark(X3)) | → | filter(X1,X2,X3) | (16) |
filter(X1,X2,active(X3)) | → | filter(X1,X2,X3) | (19) |
filter(active(X1),X2,X3) | → | filter(X1,X2,X3) | (17) |
filter(mark(X1),X2,X3) | → | filter(X1,X2,X3) | (14) |
filter#(active(X1),X2,X3) | → | filter#(X1,X2,X3) | (41) |
filter#(mark(X1),X2,X3) | → | filter#(X1,X2,X3) | (61) |
The dependency pairs are split into 0 components.