The rewrite relation of the following TRS is considered.
minus_active(0,y) | → | 0 | (1) |
mark(0) | → | 0 | (2) |
minus_active(s(x),s(y)) | → | minus_active(x,y) | (3) |
mark(s(x)) | → | s(mark(x)) | (4) |
ge_active(x,0) | → | true | (5) |
mark(minus(x,y)) | → | minus_active(x,y) | (6) |
ge_active(0,s(y)) | → | false | (7) |
mark(ge(x,y)) | → | ge_active(x,y) | (8) |
ge_active(s(x),s(y)) | → | ge_active(x,y) | (9) |
mark(div(x,y)) | → | div_active(mark(x),y) | (10) |
div_active(0,s(y)) | → | 0 | (11) |
mark(if(x,y,z)) | → | if_active(mark(x),y,z) | (12) |
div_active(s(x),s(y)) | → | if_active(ge_active(x,y),s(div(minus(x,y),s(y))),0) | (13) |
if_active(true,x,y) | → | mark(x) | (14) |
minus_active(x,y) | → | minus(x,y) | (15) |
if_active(false,x,y) | → | mark(y) | (16) |
ge_active(x,y) | → | ge(x,y) | (17) |
if_active(x,y,z) | → | if(x,y,z) | (18) |
div_active(x,y) | → | div(x,y) | (19) |
div_active#(s(x),s(y)) | → | if_active#(ge_active(x,y),s(div(minus(x,y),s(y))),0) | (20) |
mark#(if(x,y,z)) | → | mark#(x) | (21) |
mark#(s(x)) | → | mark#(x) | (22) |
mark#(div(x,y)) | → | mark#(x) | (23) |
minus_active#(s(x),s(y)) | → | minus_active#(x,y) | (24) |
mark#(ge(x,y)) | → | ge_active#(x,y) | (25) |
if_active#(true,x,y) | → | mark#(x) | (26) |
if_active#(false,x,y) | → | mark#(y) | (27) |
mark#(if(x,y,z)) | → | if_active#(mark(x),y,z) | (28) |
div_active#(s(x),s(y)) | → | ge_active#(x,y) | (29) |
mark#(minus(x,y)) | → | minus_active#(x,y) | (30) |
mark#(div(x,y)) | → | div_active#(mark(x),y) | (31) |
ge_active#(s(x),s(y)) | → | ge_active#(x,y) | (32) |
The dependency pairs are split into 3 components.
mark#(div(x,y)) | → | div_active#(mark(x),y) | (31) |
mark#(div(x,y)) | → | mark#(x) | (23) |
mark#(s(x)) | → | mark#(x) | (22) |
mark#(if(x,y,z)) | → | mark#(x) | (21) |
mark#(if(x,y,z)) | → | if_active#(mark(x),y,z) | (28) |
if_active#(false,x,y) | → | mark#(y) | (27) |
if_active#(true,x,y) | → | mark#(x) | (26) |
div_active#(s(x),s(y)) | → | if_active#(ge_active(x,y),s(div(minus(x,y),s(y))),0) | (20) |
[s(x1)] | = | x1 + 1 |
[minus(x1, x2)] | = | 0 |
[false] | = | 0 |
[div(x1, x2)] | = | x1 + x2 + 41065 |
[ge_active(x1, x2)] | = | 0 |
[true] | = | 0 |
[minus_active#(x1, x2)] | = | 0 |
[mark#(x1)] | = | x1 + 0 |
[0] | = | 0 |
[if(x1, x2, x3)] | = | x1 + x2 + x3 + 0 |
[ge(x1, x2)] | = | 0 |
[ge_active#(x1, x2)] | = | 0 |
[mark(x1)] | = | x1 + 0 |
[if_active(x1, x2, x3)] | = | x1 + x2 + x3 + 0 |
[minus_active(x1, x2)] | = | 0 |
[if_active#(x1, x2, x3)] | = | x2 + x3 + 0 |
[div_active(x1, x2)] | = | x1 + x2 + 41065 |
[div_active#(x1, x2)] | = | x1 + x2 + 41065 |
if_active(x,y,z) | → | if(x,y,z) | (18) |
mark(s(x)) | → | s(mark(x)) | (4) |
minus_active(x,y) | → | minus(x,y) | (15) |
mark(ge(x,y)) | → | ge_active(x,y) | (8) |
minus_active(0,y) | → | 0 | (1) |
minus_active(s(x),s(y)) | → | minus_active(x,y) | (3) |
if_active(false,x,y) | → | mark(y) | (16) |
div_active(x,y) | → | div(x,y) | (19) |
ge_active(x,y) | → | ge(x,y) | (17) |
ge_active(x,0) | → | true | (5) |
mark(div(x,y)) | → | div_active(mark(x),y) | (10) |
ge_active(0,s(y)) | → | false | (7) |
if_active(true,x,y) | → | mark(x) | (14) |
mark(if(x,y,z)) | → | if_active(mark(x),y,z) | (12) |
div_active(0,s(y)) | → | 0 | (11) |
ge_active(s(x),s(y)) | → | ge_active(x,y) | (9) |
div_active(s(x),s(y)) | → | if_active(ge_active(x,y),s(div(minus(x,y),s(y))),0) | (13) |
mark(minus(x,y)) | → | minus_active(x,y) | (6) |
mark(0) | → | 0 | (2) |
mark#(div(x,y)) | → | mark#(x) | (23) |
mark#(s(x)) | → | mark#(x) | (22) |
The dependency pairs are split into 1 component.
if_active#(false,x,y) | → | mark#(y) | (27) |
mark#(div(x,y)) | → | div_active#(mark(x),y) | (31) |
if_active#(true,x,y) | → | mark#(x) | (26) |
mark#(if(x,y,z)) | → | mark#(x) | (21) |
mark#(if(x,y,z)) | → | if_active#(mark(x),y,z) | (28) |
div_active#(s(x),s(y)) | → | if_active#(ge_active(x,y),s(div(minus(x,y),s(y))),0) | (20) |
[s(x1)] | = | 1 |
[minus(x1, x2)] | = | 0 |
[false] | = | 1 |
[div(x1, x2)] | = | x1 + 4 |
[ge_active(x1, x2)] | = | 1 |
[true] | = | 0 |
[minus_active#(x1, x2)] | = | 0 |
[mark#(x1)] | = | x1 + 0 |
[0] | = | 0 |
[if(x1, x2, x3)] | = | x1 + x2 + x3 + 2 |
[ge(x1, x2)] | = | 0 |
[ge_active#(x1, x2)] | = | 0 |
[mark(x1)] | = | x1 + 1 |
[if_active(x1, x2, x3)] | = | x1 + x2 + x3 + 2 |
[minus_active(x1, x2)] | = | 0 |
[if_active#(x1, x2, x3)] | = | x2 + x3 + 1 |
[div_active(x1, x2)] | = | x1 + 4 |
[div_active#(x1, x2)] | = | x1 + 2 |
if_active(x,y,z) | → | if(x,y,z) | (18) |
mark(s(x)) | → | s(mark(x)) | (4) |
minus_active(x,y) | → | minus(x,y) | (15) |
mark(ge(x,y)) | → | ge_active(x,y) | (8) |
minus_active(0,y) | → | 0 | (1) |
minus_active(s(x),s(y)) | → | minus_active(x,y) | (3) |
if_active(false,x,y) | → | mark(y) | (16) |
div_active(x,y) | → | div(x,y) | (19) |
ge_active(x,y) | → | ge(x,y) | (17) |
ge_active(x,0) | → | true | (5) |
mark(div(x,y)) | → | div_active(mark(x),y) | (10) |
ge_active(0,s(y)) | → | false | (7) |
if_active(true,x,y) | → | mark(x) | (14) |
mark(if(x,y,z)) | → | if_active(mark(x),y,z) | (12) |
div_active(0,s(y)) | → | 0 | (11) |
ge_active(s(x),s(y)) | → | ge_active(x,y) | (9) |
div_active(s(x),s(y)) | → | if_active(ge_active(x,y),s(div(minus(x,y),s(y))),0) | (13) |
mark(minus(x,y)) | → | minus_active(x,y) | (6) |
mark(0) | → | 0 | (2) |
if_active#(false,x,y) | → | mark#(y) | (27) |
mark#(div(x,y)) | → | div_active#(mark(x),y) | (31) |
if_active#(true,x,y) | → | mark#(x) | (26) |
mark#(if(x,y,z)) | → | mark#(x) | (21) |
mark#(if(x,y,z)) | → | if_active#(mark(x),y,z) | (28) |
div_active#(s(x),s(y)) | → | if_active#(ge_active(x,y),s(div(minus(x,y),s(y))),0) | (20) |
The dependency pairs are split into 0 components.
minus_active#(s(x),s(y)) | → | minus_active#(x,y) | (24) |
[s(x1)] | = | x1 + 2 |
[minus(x1, x2)] | = | 0 |
[false] | = | 1 |
[div(x1, x2)] | = | x1 + 28938 |
[ge_active(x1, x2)] | = | 6991 |
[true] | = | 1 |
[minus_active#(x1, x2)] | = | x1 + 0 |
[mark#(x1)] | = | 0 |
[0] | = | 0 |
[if(x1, x2, x3)] | = | x2 + x3 + 0 |
[ge(x1, x2)] | = | 6991 |
[ge_active#(x1, x2)] | = | 0 |
[mark(x1)] | = | x1 + 0 |
[if_active(x1, x2, x3)] | = | x2 + x3 + 0 |
[minus_active(x1, x2)] | = | 0 |
[if_active#(x1, x2, x3)] | = | 1 |
[div_active(x1, x2)] | = | x1 + 28938 |
[div_active#(x1, x2)] | = | x1 + 2 |
if_active(x,y,z) | → | if(x,y,z) | (18) |
mark(s(x)) | → | s(mark(x)) | (4) |
minus_active(x,y) | → | minus(x,y) | (15) |
mark(ge(x,y)) | → | ge_active(x,y) | (8) |
minus_active(0,y) | → | 0 | (1) |
minus_active(s(x),s(y)) | → | minus_active(x,y) | (3) |
if_active(false,x,y) | → | mark(y) | (16) |
div_active(x,y) | → | div(x,y) | (19) |
ge_active(x,y) | → | ge(x,y) | (17) |
ge_active(x,0) | → | true | (5) |
mark(div(x,y)) | → | div_active(mark(x),y) | (10) |
ge_active(0,s(y)) | → | false | (7) |
if_active(true,x,y) | → | mark(x) | (14) |
mark(if(x,y,z)) | → | if_active(mark(x),y,z) | (12) |
div_active(0,s(y)) | → | 0 | (11) |
ge_active(s(x),s(y)) | → | ge_active(x,y) | (9) |
div_active(s(x),s(y)) | → | if_active(ge_active(x,y),s(div(minus(x,y),s(y))),0) | (13) |
mark(minus(x,y)) | → | minus_active(x,y) | (6) |
mark(0) | → | 0 | (2) |
minus_active#(s(x),s(y)) | → | minus_active#(x,y) | (24) |
The dependency pairs are split into 0 components.
ge_active#(s(x),s(y)) | → | ge_active#(x,y) | (32) |
[s(x1)] | = | x1 + 1 |
[minus(x1, x2)] | = | 0 |
[false] | = | 11575 |
[div(x1, x2)] | = | x1 + 54921 |
[ge_active(x1, x2)] | = | 11575 |
[true] | = | 1 |
[minus_active#(x1, x2)] | = | 0 |
[mark#(x1)] | = | 0 |
[0] | = | 0 |
[if(x1, x2, x3)] | = | x2 + x3 + 0 |
[ge(x1, x2)] | = | 11575 |
[ge_active#(x1, x2)] | = | x1 + x2 + 0 |
[mark(x1)] | = | x1 + 0 |
[if_active(x1, x2, x3)] | = | x2 + x3 + 0 |
[minus_active(x1, x2)] | = | 0 |
[if_active#(x1, x2, x3)] | = | 1 |
[div_active(x1, x2)] | = | x1 + 54921 |
[div_active#(x1, x2)] | = | x1 + 2 |
if_active(x,y,z) | → | if(x,y,z) | (18) |
mark(s(x)) | → | s(mark(x)) | (4) |
minus_active(x,y) | → | minus(x,y) | (15) |
mark(ge(x,y)) | → | ge_active(x,y) | (8) |
minus_active(0,y) | → | 0 | (1) |
minus_active(s(x),s(y)) | → | minus_active(x,y) | (3) |
if_active(false,x,y) | → | mark(y) | (16) |
div_active(x,y) | → | div(x,y) | (19) |
ge_active(x,y) | → | ge(x,y) | (17) |
ge_active(x,0) | → | true | (5) |
mark(div(x,y)) | → | div_active(mark(x),y) | (10) |
ge_active(0,s(y)) | → | false | (7) |
if_active(true,x,y) | → | mark(x) | (14) |
mark(if(x,y,z)) | → | if_active(mark(x),y,z) | (12) |
div_active(0,s(y)) | → | 0 | (11) |
ge_active(s(x),s(y)) | → | ge_active(x,y) | (9) |
div_active(s(x),s(y)) | → | if_active(ge_active(x,y),s(div(minus(x,y),s(y))),0) | (13) |
mark(minus(x,y)) | → | minus_active(x,y) | (6) |
mark(0) | → | 0 | (2) |
ge_active#(s(x),s(y)) | → | ge_active#(x,y) | (32) |
The dependency pairs are split into 0 components.