The rewrite relation of the following TRS is considered.
active(pairNs) |
→ |
mark(cons(0,incr(oddNs))) |
(1) |
active(oddNs) |
→ |
mark(incr(pairNs)) |
(2) |
active(incr(cons(X,XS))) |
→ |
mark(cons(s(X),incr(XS))) |
(3) |
active(take(0,XS)) |
→ |
mark(nil) |
(4) |
active(take(s(N),cons(X,XS))) |
→ |
mark(cons(X,take(N,XS))) |
(5) |
active(zip(nil,XS)) |
→ |
mark(nil) |
(6) |
active(zip(X,nil)) |
→ |
mark(nil) |
(7) |
active(zip(cons(X,XS),cons(Y,YS))) |
→ |
mark(cons(pair(X,Y),zip(XS,YS))) |
(8) |
active(tail(cons(X,XS))) |
→ |
mark(XS) |
(9) |
active(repItems(nil)) |
→ |
mark(nil) |
(10) |
active(repItems(cons(X,XS))) |
→ |
mark(cons(X,cons(X,repItems(XS)))) |
(11) |
active(cons(X1,X2)) |
→ |
cons(active(X1),X2) |
(12) |
active(incr(X)) |
→ |
incr(active(X)) |
(13) |
active(s(X)) |
→ |
s(active(X)) |
(14) |
active(take(X1,X2)) |
→ |
take(active(X1),X2) |
(15) |
active(take(X1,X2)) |
→ |
take(X1,active(X2)) |
(16) |
active(zip(X1,X2)) |
→ |
zip(active(X1),X2) |
(17) |
active(zip(X1,X2)) |
→ |
zip(X1,active(X2)) |
(18) |
active(pair(X1,X2)) |
→ |
pair(active(X1),X2) |
(19) |
active(pair(X1,X2)) |
→ |
pair(X1,active(X2)) |
(20) |
active(tail(X)) |
→ |
tail(active(X)) |
(21) |
active(repItems(X)) |
→ |
repItems(active(X)) |
(22) |
cons(mark(X1),X2) |
→ |
mark(cons(X1,X2)) |
(23) |
incr(mark(X)) |
→ |
mark(incr(X)) |
(24) |
s(mark(X)) |
→ |
mark(s(X)) |
(25) |
take(mark(X1),X2) |
→ |
mark(take(X1,X2)) |
(26) |
take(X1,mark(X2)) |
→ |
mark(take(X1,X2)) |
(27) |
zip(mark(X1),X2) |
→ |
mark(zip(X1,X2)) |
(28) |
zip(X1,mark(X2)) |
→ |
mark(zip(X1,X2)) |
(29) |
pair(mark(X1),X2) |
→ |
mark(pair(X1,X2)) |
(30) |
pair(X1,mark(X2)) |
→ |
mark(pair(X1,X2)) |
(31) |
tail(mark(X)) |
→ |
mark(tail(X)) |
(32) |
repItems(mark(X)) |
→ |
mark(repItems(X)) |
(33) |
proper(pairNs) |
→ |
ok(pairNs) |
(34) |
proper(cons(X1,X2)) |
→ |
cons(proper(X1),proper(X2)) |
(35) |
proper(0) |
→ |
ok(0) |
(36) |
proper(incr(X)) |
→ |
incr(proper(X)) |
(37) |
proper(oddNs) |
→ |
ok(oddNs) |
(38) |
proper(s(X)) |
→ |
s(proper(X)) |
(39) |
proper(take(X1,X2)) |
→ |
take(proper(X1),proper(X2)) |
(40) |
proper(nil) |
→ |
ok(nil) |
(41) |
proper(zip(X1,X2)) |
→ |
zip(proper(X1),proper(X2)) |
(42) |
proper(pair(X1,X2)) |
→ |
pair(proper(X1),proper(X2)) |
(43) |
proper(tail(X)) |
→ |
tail(proper(X)) |
(44) |
proper(repItems(X)) |
→ |
repItems(proper(X)) |
(45) |
cons(ok(X1),ok(X2)) |
→ |
ok(cons(X1,X2)) |
(46) |
incr(ok(X)) |
→ |
ok(incr(X)) |
(47) |
s(ok(X)) |
→ |
ok(s(X)) |
(48) |
take(ok(X1),ok(X2)) |
→ |
ok(take(X1,X2)) |
(49) |
zip(ok(X1),ok(X2)) |
→ |
ok(zip(X1,X2)) |
(50) |
pair(ok(X1),ok(X2)) |
→ |
ok(pair(X1,X2)) |
(51) |
tail(ok(X)) |
→ |
ok(tail(X)) |
(52) |
repItems(ok(X)) |
→ |
ok(repItems(X)) |
(53) |
top(mark(X)) |
→ |
top(proper(X)) |
(54) |
top(ok(X)) |
→ |
top(active(X)) |
(55) |
[incr(x1)] |
= |
· x1 +
|
[ok(x1)] |
= |
· x1 +
|
[take(x1, x2)] |
= |
· x1 + · x2 +
|
[active(x1)] |
= |
· x1 +
|
[oddNs] |
= |
|
[top(x1)] |
= |
· x1 +
|
[cons(x1, x2)] |
= |
· x1 + · x2 +
|
[zip(x1, x2)] |
= |
· x1 + · x2 +
|
[pairNs] |
= |
|
[s(x1)] |
= |
· x1 +
|
[proper(x1)] |
= |
· x1 +
|
[tail(x1)] |
= |
· x1 +
|
[pair(x1, x2)] |
= |
· x1 + · x2 +
|
[nil] |
= |
|
[repItems(x1)] |
= |
· x1 +
|
[mark(x1)] |
= |
· x1 +
|
[0] |
= |
|
all of the following rules can be deleted.
active#(pairNs) |
→ |
incr#(oddNs) |
(56) |
active#(pairNs) |
→ |
cons#(0,incr(oddNs)) |
(57) |
active#(oddNs) |
→ |
incr#(pairNs) |
(58) |
active#(incr(cons(X,XS))) |
→ |
incr#(XS) |
(59) |
active#(incr(cons(X,XS))) |
→ |
s#(X) |
(60) |
active#(incr(cons(X,XS))) |
→ |
cons#(s(X),incr(XS)) |
(61) |
active#(take(s(N),cons(X,XS))) |
→ |
take#(N,XS) |
(62) |
active#(take(s(N),cons(X,XS))) |
→ |
cons#(X,take(N,XS)) |
(63) |
active#(zip(cons(X,XS),cons(Y,YS))) |
→ |
zip#(XS,YS) |
(64) |
active#(zip(cons(X,XS),cons(Y,YS))) |
→ |
pair#(X,Y) |
(65) |
active#(zip(cons(X,XS),cons(Y,YS))) |
→ |
cons#(pair(X,Y),zip(XS,YS)) |
(66) |
active#(repItems(cons(X,XS))) |
→ |
repItems#(XS) |
(67) |
active#(repItems(cons(X,XS))) |
→ |
cons#(X,repItems(XS)) |
(68) |
active#(repItems(cons(X,XS))) |
→ |
cons#(X,cons(X,repItems(XS))) |
(69) |
active#(cons(X1,X2)) |
→ |
active#(X1) |
(70) |
active#(cons(X1,X2)) |
→ |
cons#(active(X1),X2) |
(71) |
active#(incr(X)) |
→ |
active#(X) |
(72) |
active#(incr(X)) |
→ |
incr#(active(X)) |
(73) |
active#(s(X)) |
→ |
active#(X) |
(74) |
active#(s(X)) |
→ |
s#(active(X)) |
(75) |
active#(take(X1,X2)) |
→ |
active#(X1) |
(76) |
active#(take(X1,X2)) |
→ |
take#(active(X1),X2) |
(77) |
active#(take(X1,X2)) |
→ |
active#(X2) |
(78) |
active#(take(X1,X2)) |
→ |
take#(X1,active(X2)) |
(79) |
active#(zip(X1,X2)) |
→ |
active#(X1) |
(80) |
active#(zip(X1,X2)) |
→ |
zip#(active(X1),X2) |
(81) |
active#(zip(X1,X2)) |
→ |
active#(X2) |
(82) |
active#(zip(X1,X2)) |
→ |
zip#(X1,active(X2)) |
(83) |
active#(pair(X1,X2)) |
→ |
active#(X1) |
(84) |
active#(pair(X1,X2)) |
→ |
pair#(active(X1),X2) |
(85) |
active#(pair(X1,X2)) |
→ |
active#(X2) |
(86) |
active#(pair(X1,X2)) |
→ |
pair#(X1,active(X2)) |
(87) |
active#(tail(X)) |
→ |
active#(X) |
(88) |
active#(tail(X)) |
→ |
tail#(active(X)) |
(89) |
active#(repItems(X)) |
→ |
active#(X) |
(90) |
active#(repItems(X)) |
→ |
repItems#(active(X)) |
(91) |
cons#(mark(X1),X2) |
→ |
cons#(X1,X2) |
(92) |
incr#(mark(X)) |
→ |
incr#(X) |
(93) |
s#(mark(X)) |
→ |
s#(X) |
(94) |
take#(mark(X1),X2) |
→ |
take#(X1,X2) |
(95) |
take#(X1,mark(X2)) |
→ |
take#(X1,X2) |
(96) |
zip#(mark(X1),X2) |
→ |
zip#(X1,X2) |
(97) |
zip#(X1,mark(X2)) |
→ |
zip#(X1,X2) |
(98) |
pair#(mark(X1),X2) |
→ |
pair#(X1,X2) |
(99) |
pair#(X1,mark(X2)) |
→ |
pair#(X1,X2) |
(100) |
tail#(mark(X)) |
→ |
tail#(X) |
(101) |
repItems#(mark(X)) |
→ |
repItems#(X) |
(102) |
proper#(cons(X1,X2)) |
→ |
proper#(X2) |
(103) |
proper#(cons(X1,X2)) |
→ |
proper#(X1) |
(104) |
proper#(cons(X1,X2)) |
→ |
cons#(proper(X1),proper(X2)) |
(105) |
proper#(incr(X)) |
→ |
proper#(X) |
(106) |
proper#(incr(X)) |
→ |
incr#(proper(X)) |
(107) |
proper#(s(X)) |
→ |
proper#(X) |
(108) |
proper#(s(X)) |
→ |
s#(proper(X)) |
(109) |
proper#(take(X1,X2)) |
→ |
proper#(X2) |
(110) |
proper#(take(X1,X2)) |
→ |
proper#(X1) |
(111) |
proper#(take(X1,X2)) |
→ |
take#(proper(X1),proper(X2)) |
(112) |
proper#(zip(X1,X2)) |
→ |
proper#(X2) |
(113) |
proper#(zip(X1,X2)) |
→ |
proper#(X1) |
(114) |
proper#(zip(X1,X2)) |
→ |
zip#(proper(X1),proper(X2)) |
(115) |
proper#(pair(X1,X2)) |
→ |
proper#(X2) |
(116) |
proper#(pair(X1,X2)) |
→ |
proper#(X1) |
(117) |
proper#(pair(X1,X2)) |
→ |
pair#(proper(X1),proper(X2)) |
(118) |
proper#(tail(X)) |
→ |
proper#(X) |
(119) |
proper#(tail(X)) |
→ |
tail#(proper(X)) |
(120) |
proper#(repItems(X)) |
→ |
proper#(X) |
(121) |
proper#(repItems(X)) |
→ |
repItems#(proper(X)) |
(122) |
cons#(ok(X1),ok(X2)) |
→ |
cons#(X1,X2) |
(123) |
incr#(ok(X)) |
→ |
incr#(X) |
(124) |
s#(ok(X)) |
→ |
s#(X) |
(125) |
take#(ok(X1),ok(X2)) |
→ |
take#(X1,X2) |
(126) |
zip#(ok(X1),ok(X2)) |
→ |
zip#(X1,X2) |
(127) |
pair#(ok(X1),ok(X2)) |
→ |
pair#(X1,X2) |
(128) |
tail#(ok(X)) |
→ |
tail#(X) |
(129) |
repItems#(ok(X)) |
→ |
repItems#(X) |
(130) |
top#(mark(X)) |
→ |
proper#(X) |
(131) |
top#(mark(X)) |
→ |
top#(proper(X)) |
(132) |
top#(ok(X)) |
→ |
active#(X) |
(133) |
top#(ok(X)) |
→ |
top#(active(X)) |
(134) |
The dependency pairs are split into 11
components.
-
The
1st
component contains the
pair
top#(ok(X)) |
→ |
top#(active(X)) |
(134) |
top#(mark(X)) |
→ |
top#(proper(X)) |
(132) |
1.1.1.1 Reduction Pair Processor with Usable Rules
Using the
prec(top#) |
= |
0 |
|
stat(top#) |
= |
lex
|
prec(ok) |
= |
0 |
|
stat(ok) |
= |
lex
|
prec(proper) |
= |
0 |
|
stat(proper) |
= |
lex
|
prec(repItems) |
= |
1 |
|
stat(repItems) |
= |
lex
|
prec(tail) |
= |
0 |
|
stat(tail) |
= |
lex
|
prec(pair) |
= |
4 |
|
stat(pair) |
= |
lex
|
prec(zip) |
= |
5 |
|
stat(zip) |
= |
lex
|
prec(nil) |
= |
0 |
|
stat(nil) |
= |
lex
|
prec(take) |
= |
1 |
|
stat(take) |
= |
lex
|
prec(s) |
= |
0 |
|
stat(s) |
= |
lex
|
prec(mark) |
= |
0 |
|
stat(mark) |
= |
lex
|
prec(cons) |
= |
0 |
|
stat(cons) |
= |
lex
|
prec(incr) |
= |
1 |
|
stat(incr) |
= |
lex
|
prec(oddNs) |
= |
3 |
|
stat(oddNs) |
= |
lex
|
prec(0) |
= |
0 |
|
stat(0) |
= |
lex
|
prec(active) |
= |
0 |
|
stat(active) |
= |
lex
|
prec(pairNs) |
= |
1 |
|
stat(pairNs) |
= |
lex
|
π(top#) |
= |
1 |
π(ok) |
= |
1 |
π(proper) |
= |
1 |
π(repItems) |
= |
[1] |
π(tail) |
= |
1 |
π(pair) |
= |
[1,2] |
π(zip) |
= |
[1,2] |
π(nil) |
= |
[] |
π(take) |
= |
[1,2] |
π(s) |
= |
1 |
π(mark) |
= |
[1] |
π(cons) |
= |
1 |
π(incr) |
= |
[1] |
π(oddNs) |
= |
[] |
π(0) |
= |
[] |
π(active) |
= |
1 |
π(pairNs) |
= |
[] |
together with the usable
rules
active(pairNs) |
→ |
mark(cons(0,incr(oddNs))) |
(1) |
active(oddNs) |
→ |
mark(incr(pairNs)) |
(2) |
active(incr(cons(X,XS))) |
→ |
mark(cons(s(X),incr(XS))) |
(3) |
active(take(0,XS)) |
→ |
mark(nil) |
(4) |
active(take(s(N),cons(X,XS))) |
→ |
mark(cons(X,take(N,XS))) |
(5) |
active(zip(nil,XS)) |
→ |
mark(nil) |
(6) |
active(zip(X,nil)) |
→ |
mark(nil) |
(7) |
active(zip(cons(X,XS),cons(Y,YS))) |
→ |
mark(cons(pair(X,Y),zip(XS,YS))) |
(8) |
active(repItems(nil)) |
→ |
mark(nil) |
(10) |
active(repItems(cons(X,XS))) |
→ |
mark(cons(X,cons(X,repItems(XS)))) |
(11) |
active(cons(X1,X2)) |
→ |
cons(active(X1),X2) |
(12) |
active(incr(X)) |
→ |
incr(active(X)) |
(13) |
active(s(X)) |
→ |
s(active(X)) |
(14) |
active(take(X1,X2)) |
→ |
take(active(X1),X2) |
(15) |
active(take(X1,X2)) |
→ |
take(X1,active(X2)) |
(16) |
active(zip(X1,X2)) |
→ |
zip(active(X1),X2) |
(17) |
active(zip(X1,X2)) |
→ |
zip(X1,active(X2)) |
(18) |
active(pair(X1,X2)) |
→ |
pair(active(X1),X2) |
(19) |
active(pair(X1,X2)) |
→ |
pair(X1,active(X2)) |
(20) |
active(tail(X)) |
→ |
tail(active(X)) |
(21) |
active(repItems(X)) |
→ |
repItems(active(X)) |
(22) |
incr(mark(X)) |
→ |
mark(incr(X)) |
(24) |
incr(ok(X)) |
→ |
ok(incr(X)) |
(47) |
s(mark(X)) |
→ |
mark(s(X)) |
(25) |
s(ok(X)) |
→ |
ok(s(X)) |
(48) |
cons(mark(X1),X2) |
→ |
mark(cons(X1,X2)) |
(23) |
cons(ok(X1),ok(X2)) |
→ |
ok(cons(X1,X2)) |
(46) |
take(mark(X1),X2) |
→ |
mark(take(X1,X2)) |
(26) |
take(X1,mark(X2)) |
→ |
mark(take(X1,X2)) |
(27) |
take(ok(X1),ok(X2)) |
→ |
ok(take(X1,X2)) |
(49) |
zip(mark(X1),X2) |
→ |
mark(zip(X1,X2)) |
(28) |
zip(X1,mark(X2)) |
→ |
mark(zip(X1,X2)) |
(29) |
zip(ok(X1),ok(X2)) |
→ |
ok(zip(X1,X2)) |
(50) |
pair(mark(X1),X2) |
→ |
mark(pair(X1,X2)) |
(30) |
pair(X1,mark(X2)) |
→ |
mark(pair(X1,X2)) |
(31) |
pair(ok(X1),ok(X2)) |
→ |
ok(pair(X1,X2)) |
(51) |
repItems(mark(X)) |
→ |
mark(repItems(X)) |
(33) |
repItems(ok(X)) |
→ |
ok(repItems(X)) |
(53) |
tail(mark(X)) |
→ |
mark(tail(X)) |
(32) |
tail(ok(X)) |
→ |
ok(tail(X)) |
(52) |
proper(pairNs) |
→ |
ok(pairNs) |
(34) |
proper(cons(X1,X2)) |
→ |
cons(proper(X1),proper(X2)) |
(35) |
proper(0) |
→ |
ok(0) |
(36) |
proper(incr(X)) |
→ |
incr(proper(X)) |
(37) |
proper(oddNs) |
→ |
ok(oddNs) |
(38) |
proper(s(X)) |
→ |
s(proper(X)) |
(39) |
proper(take(X1,X2)) |
→ |
take(proper(X1),proper(X2)) |
(40) |
proper(nil) |
→ |
ok(nil) |
(41) |
proper(zip(X1,X2)) |
→ |
zip(proper(X1),proper(X2)) |
(42) |
proper(pair(X1,X2)) |
→ |
pair(proper(X1),proper(X2)) |
(43) |
proper(tail(X)) |
→ |
tail(proper(X)) |
(44) |
proper(repItems(X)) |
→ |
repItems(proper(X)) |
(45) |
(w.r.t. the implicit argument filter of the reduction pair),
the
pair
top#(mark(X)) |
→ |
top#(proper(X)) |
(132) |
could be deleted.
1.1.1.1.1 Reduction Pair Processor with Usable Rules
Using the
prec(top#) |
= |
0 |
|
stat(top#) |
= |
lex
|
prec(ok) |
= |
0 |
|
stat(ok) |
= |
lex
|
prec(repItems) |
= |
10 |
|
stat(repItems) |
= |
lex
|
prec(tail) |
= |
0 |
|
stat(tail) |
= |
lex
|
prec(pair) |
= |
4 |
|
stat(pair) |
= |
lex
|
prec(zip) |
= |
5 |
|
stat(zip) |
= |
lex
|
prec(nil) |
= |
0 |
|
stat(nil) |
= |
lex
|
prec(take) |
= |
1 |
|
stat(take) |
= |
lex
|
prec(s) |
= |
1 |
|
stat(s) |
= |
lex
|
prec(mark) |
= |
0 |
|
stat(mark) |
= |
lex
|
prec(cons) |
= |
1 |
|
stat(cons) |
= |
lex
|
prec(incr) |
= |
2 |
|
stat(incr) |
= |
lex
|
prec(oddNs) |
= |
1 |
|
stat(oddNs) |
= |
lex
|
prec(0) |
= |
0 |
|
stat(0) |
= |
lex
|
prec(active) |
= |
0 |
|
stat(active) |
= |
lex
|
prec(pairNs) |
= |
1 |
|
stat(pairNs) |
= |
lex
|
π(top#) |
= |
1 |
π(ok) |
= |
[1] |
π(repItems) |
= |
[1] |
π(tail) |
= |
1 |
π(pair) |
= |
[1] |
π(zip) |
= |
[2] |
π(nil) |
= |
[] |
π(take) |
= |
[2] |
π(s) |
= |
[1] |
π(mark) |
= |
[] |
π(cons) |
= |
[1] |
π(incr) |
= |
[1] |
π(oddNs) |
= |
[] |
π(0) |
= |
[] |
π(active) |
= |
1 |
π(pairNs) |
= |
[] |
together with the usable
rules
active(pairNs) |
→ |
mark(cons(0,incr(oddNs))) |
(1) |
active(oddNs) |
→ |
mark(incr(pairNs)) |
(2) |
active(incr(cons(X,XS))) |
→ |
mark(cons(s(X),incr(XS))) |
(3) |
active(take(0,XS)) |
→ |
mark(nil) |
(4) |
active(take(s(N),cons(X,XS))) |
→ |
mark(cons(X,take(N,XS))) |
(5) |
active(zip(nil,XS)) |
→ |
mark(nil) |
(6) |
active(zip(X,nil)) |
→ |
mark(nil) |
(7) |
active(zip(cons(X,XS),cons(Y,YS))) |
→ |
mark(cons(pair(X,Y),zip(XS,YS))) |
(8) |
active(repItems(nil)) |
→ |
mark(nil) |
(10) |
active(repItems(cons(X,XS))) |
→ |
mark(cons(X,cons(X,repItems(XS)))) |
(11) |
active(cons(X1,X2)) |
→ |
cons(active(X1),X2) |
(12) |
active(incr(X)) |
→ |
incr(active(X)) |
(13) |
active(s(X)) |
→ |
s(active(X)) |
(14) |
active(take(X1,X2)) |
→ |
take(active(X1),X2) |
(15) |
active(take(X1,X2)) |
→ |
take(X1,active(X2)) |
(16) |
active(zip(X1,X2)) |
→ |
zip(active(X1),X2) |
(17) |
active(zip(X1,X2)) |
→ |
zip(X1,active(X2)) |
(18) |
active(pair(X1,X2)) |
→ |
pair(active(X1),X2) |
(19) |
active(pair(X1,X2)) |
→ |
pair(X1,active(X2)) |
(20) |
active(tail(X)) |
→ |
tail(active(X)) |
(21) |
active(repItems(X)) |
→ |
repItems(active(X)) |
(22) |
incr(mark(X)) |
→ |
mark(incr(X)) |
(24) |
incr(ok(X)) |
→ |
ok(incr(X)) |
(47) |
s(mark(X)) |
→ |
mark(s(X)) |
(25) |
s(ok(X)) |
→ |
ok(s(X)) |
(48) |
cons(mark(X1),X2) |
→ |
mark(cons(X1,X2)) |
(23) |
cons(ok(X1),ok(X2)) |
→ |
ok(cons(X1,X2)) |
(46) |
take(mark(X1),X2) |
→ |
mark(take(X1,X2)) |
(26) |
take(X1,mark(X2)) |
→ |
mark(take(X1,X2)) |
(27) |
take(ok(X1),ok(X2)) |
→ |
ok(take(X1,X2)) |
(49) |
zip(mark(X1),X2) |
→ |
mark(zip(X1,X2)) |
(28) |
zip(X1,mark(X2)) |
→ |
mark(zip(X1,X2)) |
(29) |
zip(ok(X1),ok(X2)) |
→ |
ok(zip(X1,X2)) |
(50) |
pair(mark(X1),X2) |
→ |
mark(pair(X1,X2)) |
(30) |
pair(X1,mark(X2)) |
→ |
mark(pair(X1,X2)) |
(31) |
pair(ok(X1),ok(X2)) |
→ |
ok(pair(X1,X2)) |
(51) |
repItems(mark(X)) |
→ |
mark(repItems(X)) |
(33) |
repItems(ok(X)) |
→ |
ok(repItems(X)) |
(53) |
tail(mark(X)) |
→ |
mark(tail(X)) |
(32) |
tail(ok(X)) |
→ |
ok(tail(X)) |
(52) |
(w.r.t. the implicit argument filter of the reduction pair),
the
pair
top#(ok(X)) |
→ |
top#(active(X)) |
(134) |
could be deleted.
1.1.1.1.1.1 P is empty
There are no pairs anymore.
-
The
2nd
component contains the
pair
proper#(repItems(X)) |
→ |
proper#(X) |
(121) |
proper#(tail(X)) |
→ |
proper#(X) |
(119) |
proper#(pair(X1,X2)) |
→ |
proper#(X1) |
(117) |
proper#(pair(X1,X2)) |
→ |
proper#(X2) |
(116) |
proper#(zip(X1,X2)) |
→ |
proper#(X1) |
(114) |
proper#(zip(X1,X2)) |
→ |
proper#(X2) |
(113) |
proper#(take(X1,X2)) |
→ |
proper#(X1) |
(111) |
proper#(take(X1,X2)) |
→ |
proper#(X2) |
(110) |
proper#(s(X)) |
→ |
proper#(X) |
(108) |
proper#(incr(X)) |
→ |
proper#(X) |
(106) |
proper#(cons(X1,X2)) |
→ |
proper#(X1) |
(104) |
proper#(cons(X1,X2)) |
→ |
proper#(X2) |
(103) |
1.1.1.2 Subterm Criterion Processor
We use the projection
and remove the pairs:
proper#(repItems(X)) |
→ |
proper#(X) |
(121) |
proper#(tail(X)) |
→ |
proper#(X) |
(119) |
proper#(pair(X1,X2)) |
→ |
proper#(X1) |
(117) |
proper#(pair(X1,X2)) |
→ |
proper#(X2) |
(116) |
proper#(zip(X1,X2)) |
→ |
proper#(X1) |
(114) |
proper#(zip(X1,X2)) |
→ |
proper#(X2) |
(113) |
proper#(take(X1,X2)) |
→ |
proper#(X1) |
(111) |
proper#(take(X1,X2)) |
→ |
proper#(X2) |
(110) |
proper#(s(X)) |
→ |
proper#(X) |
(108) |
proper#(incr(X)) |
→ |
proper#(X) |
(106) |
proper#(cons(X1,X2)) |
→ |
proper#(X1) |
(104) |
proper#(cons(X1,X2)) |
→ |
proper#(X2) |
(103) |
1.1.1.2.1 P is empty
There are no pairs anymore.
-
The
3rd
component contains the
pair
active#(repItems(X)) |
→ |
active#(X) |
(90) |
active#(tail(X)) |
→ |
active#(X) |
(88) |
active#(pair(X1,X2)) |
→ |
active#(X2) |
(86) |
active#(pair(X1,X2)) |
→ |
active#(X1) |
(84) |
active#(zip(X1,X2)) |
→ |
active#(X2) |
(82) |
active#(zip(X1,X2)) |
→ |
active#(X1) |
(80) |
active#(take(X1,X2)) |
→ |
active#(X2) |
(78) |
active#(take(X1,X2)) |
→ |
active#(X1) |
(76) |
active#(s(X)) |
→ |
active#(X) |
(74) |
active#(incr(X)) |
→ |
active#(X) |
(72) |
active#(cons(X1,X2)) |
→ |
active#(X1) |
(70) |
1.1.1.3 Subterm Criterion Processor
We use the projection
and remove the pairs:
active#(repItems(X)) |
→ |
active#(X) |
(90) |
active#(tail(X)) |
→ |
active#(X) |
(88) |
active#(pair(X1,X2)) |
→ |
active#(X2) |
(86) |
active#(pair(X1,X2)) |
→ |
active#(X1) |
(84) |
active#(zip(X1,X2)) |
→ |
active#(X2) |
(82) |
active#(zip(X1,X2)) |
→ |
active#(X1) |
(80) |
active#(take(X1,X2)) |
→ |
active#(X2) |
(78) |
active#(take(X1,X2)) |
→ |
active#(X1) |
(76) |
active#(s(X)) |
→ |
active#(X) |
(74) |
active#(incr(X)) |
→ |
active#(X) |
(72) |
active#(cons(X1,X2)) |
→ |
active#(X1) |
(70) |
1.1.1.3.1 P is empty
There are no pairs anymore.
-
The
4th
component contains the
pair
cons#(ok(X1),ok(X2)) |
→ |
cons#(X1,X2) |
(123) |
cons#(mark(X1),X2) |
→ |
cons#(X1,X2) |
(92) |
1.1.1.4 Size-Change Termination
Using size-change termination in combination with
the subterm criterion
one obtains the following initial size-change graphs.
cons#(ok(X1),ok(X2)) |
→ |
cons#(X1,X2) |
(123) |
|
2 |
> |
2 |
1 |
> |
1 |
cons#(mark(X1),X2) |
→ |
cons#(X1,X2) |
(92) |
|
2 |
≥ |
2 |
1 |
> |
1 |
As there is no critical graph in the transitive closure, there are no infinite chains.
-
The
5th
component contains the
pair
incr#(ok(X)) |
→ |
incr#(X) |
(124) |
incr#(mark(X)) |
→ |
incr#(X) |
(93) |
1.1.1.5 Size-Change Termination
Using size-change termination in combination with
the subterm criterion
one obtains the following initial size-change graphs.
incr#(ok(X)) |
→ |
incr#(X) |
(124) |
|
1 |
> |
1 |
incr#(mark(X)) |
→ |
incr#(X) |
(93) |
|
1 |
> |
1 |
As there is no critical graph in the transitive closure, there are no infinite chains.
-
The
6th
component contains the
pair
s#(ok(X)) |
→ |
s#(X) |
(125) |
s#(mark(X)) |
→ |
s#(X) |
(94) |
1.1.1.6 Size-Change Termination
Using size-change termination in combination with
the subterm criterion
one obtains the following initial size-change graphs.
s#(ok(X)) |
→ |
s#(X) |
(125) |
|
1 |
> |
1 |
s#(mark(X)) |
→ |
s#(X) |
(94) |
|
1 |
> |
1 |
As there is no critical graph in the transitive closure, there are no infinite chains.
-
The
7th
component contains the
pair
take#(ok(X1),ok(X2)) |
→ |
take#(X1,X2) |
(126) |
take#(X1,mark(X2)) |
→ |
take#(X1,X2) |
(96) |
take#(mark(X1),X2) |
→ |
take#(X1,X2) |
(95) |
1.1.1.7 Size-Change Termination
Using size-change termination in combination with
the subterm criterion
one obtains the following initial size-change graphs.
take#(ok(X1),ok(X2)) |
→ |
take#(X1,X2) |
(126) |
|
2 |
> |
2 |
1 |
> |
1 |
take#(X1,mark(X2)) |
→ |
take#(X1,X2) |
(96) |
|
2 |
> |
2 |
1 |
≥ |
1 |
take#(mark(X1),X2) |
→ |
take#(X1,X2) |
(95) |
|
2 |
≥ |
2 |
1 |
> |
1 |
As there is no critical graph in the transitive closure, there are no infinite chains.
-
The
8th
component contains the
pair
zip#(ok(X1),ok(X2)) |
→ |
zip#(X1,X2) |
(127) |
zip#(X1,mark(X2)) |
→ |
zip#(X1,X2) |
(98) |
zip#(mark(X1),X2) |
→ |
zip#(X1,X2) |
(97) |
1.1.1.8 Size-Change Termination
Using size-change termination in combination with
the subterm criterion
one obtains the following initial size-change graphs.
zip#(ok(X1),ok(X2)) |
→ |
zip#(X1,X2) |
(127) |
|
2 |
> |
2 |
1 |
> |
1 |
zip#(X1,mark(X2)) |
→ |
zip#(X1,X2) |
(98) |
|
2 |
> |
2 |
1 |
≥ |
1 |
zip#(mark(X1),X2) |
→ |
zip#(X1,X2) |
(97) |
|
2 |
≥ |
2 |
1 |
> |
1 |
As there is no critical graph in the transitive closure, there are no infinite chains.
-
The
9th
component contains the
pair
pair#(ok(X1),ok(X2)) |
→ |
pair#(X1,X2) |
(128) |
pair#(X1,mark(X2)) |
→ |
pair#(X1,X2) |
(100) |
pair#(mark(X1),X2) |
→ |
pair#(X1,X2) |
(99) |
1.1.1.9 Size-Change Termination
Using size-change termination in combination with
the subterm criterion
one obtains the following initial size-change graphs.
pair#(ok(X1),ok(X2)) |
→ |
pair#(X1,X2) |
(128) |
|
2 |
> |
2 |
1 |
> |
1 |
pair#(X1,mark(X2)) |
→ |
pair#(X1,X2) |
(100) |
|
2 |
> |
2 |
1 |
≥ |
1 |
pair#(mark(X1),X2) |
→ |
pair#(X1,X2) |
(99) |
|
2 |
≥ |
2 |
1 |
> |
1 |
As there is no critical graph in the transitive closure, there are no infinite chains.
-
The
10th
component contains the
pair
tail#(ok(X)) |
→ |
tail#(X) |
(129) |
tail#(mark(X)) |
→ |
tail#(X) |
(101) |
1.1.1.10 Size-Change Termination
Using size-change termination in combination with
the subterm criterion
one obtains the following initial size-change graphs.
tail#(ok(X)) |
→ |
tail#(X) |
(129) |
|
1 |
> |
1 |
tail#(mark(X)) |
→ |
tail#(X) |
(101) |
|
1 |
> |
1 |
As there is no critical graph in the transitive closure, there are no infinite chains.
-
The
11th
component contains the
pair
repItems#(ok(X)) |
→ |
repItems#(X) |
(130) |
repItems#(mark(X)) |
→ |
repItems#(X) |
(102) |
1.1.1.11 Size-Change Termination
Using size-change termination in combination with
the subterm criterion
one obtains the following initial size-change graphs.
repItems#(ok(X)) |
→ |
repItems#(X) |
(130) |
|
1 |
> |
1 |
repItems#(mark(X)) |
→ |
repItems#(X) |
(102) |
|
1 |
> |
1 |
As there is no critical graph in the transitive closure, there are no infinite chains.