The rewrite relation of the following TRS is considered.
minus(x,0) | → | x | (1) |
minus(s(x),s(y)) | → | minus(x,y) | (2) |
quot(0,s(y)) | → | 0 | (3) |
quot(s(x),s(y)) | → | s(quot(minus(x,y),s(y))) | (4) |
app(nil,y) | → | y | (5) |
app(add(n,x),y) | → | add(n,app(x,y)) | (6) |
reverse(nil) | → | nil | (7) |
reverse(add(n,x)) | → | app(reverse(x),add(n,nil)) | (8) |
shuffle(nil) | → | nil | (9) |
shuffle(add(n,x)) | → | add(n,shuffle(reverse(x))) | (10) |
concat(leaf,y) | → | y | (11) |
concat(cons(u,v),y) | → | cons(u,concat(v,y)) | (12) |
less_leaves(x,leaf) | → | false | (13) |
less_leaves(leaf,cons(w,z)) | → | true | (14) |
less_leaves(cons(u,v),cons(w,z)) | → | less_leaves(concat(u,v),concat(w,z)) | (15) |
app#(add(n,x),y) | → | app#(x,y) | (16) |
reverse#(add(n,x)) | → | app#(reverse(x),add(n,nil)) | (17) |
less_leaves#(cons(u,v),cons(w,z)) | → | concat#(u,v) | (18) |
quot#(s(x),s(y)) | → | quot#(minus(x,y),s(y)) | (19) |
quot#(s(x),s(y)) | → | minus#(x,y) | (20) |
reverse#(add(n,x)) | → | reverse#(x) | (21) |
less_leaves#(cons(u,v),cons(w,z)) | → | concat#(w,z) | (22) |
shuffle#(add(n,x)) | → | reverse#(x) | (23) |
concat#(cons(u,v),y) | → | concat#(v,y) | (24) |
minus#(s(x),s(y)) | → | minus#(x,y) | (25) |
less_leaves#(cons(u,v),cons(w,z)) | → | less_leaves#(concat(u,v),concat(w,z)) | (26) |
shuffle#(add(n,x)) | → | shuffle#(reverse(x)) | (27) |
The dependency pairs are split into 7 components.
shuffle#(add(n,x)) | → | shuffle#(reverse(x)) | (27) |
[s(x1)] | = | 0 |
[reverse#(x1)] | = | 0 |
[minus(x1, x2)] | = | 0 |
[less_leaves#(x1, x2)] | = | 0 |
[concat#(x1, x2)] | = | 0 |
[false] | = | 0 |
[reverse(x1)] | = | x1 + 1 |
[true] | = | 0 |
[shuffle(x1)] | = | 0 |
[concat(x1, x2)] | = | 0 |
[0] | = | 0 |
[quot(x1, x2)] | = | 0 |
[less_leaves(x1, x2)] | = | 0 |
[nil] | = | 0 |
[app#(x1, x2)] | = | 0 |
[minus#(x1, x2)] | = | 0 |
[shuffle#(x1)] | = | x1 + 0 |
[cons(x1, x2)] | = | 0 |
[add(x1, x2)] | = | x2 + 2439 |
[quot#(x1, x2)] | = | 0 |
[leaf] | = | 0 |
[app(x1, x2)] | = | x1 + x2 + 0 |
reverse(add(n,x)) | → | app(reverse(x),add(n,nil)) | (8) |
app(nil,y) | → | y | (5) |
reverse(nil) | → | nil | (7) |
app(add(n,x),y) | → | add(n,app(x,y)) | (6) |
shuffle#(add(n,x)) | → | shuffle#(reverse(x)) | (27) |
The dependency pairs are split into 0 components.
less_leaves#(cons(u,v),cons(w,z)) | → | less_leaves#(concat(u,v),concat(w,z)) | (26) |
[s(x1)] | = | 0 |
[reverse#(x1)] | = | 0 |
[minus(x1, x2)] | = | 0 |
[less_leaves#(x1, x2)] | = | x1 + 0 |
[concat#(x1, x2)] | = | 0 |
[false] | = | 0 |
[reverse(x1)] | = | x1 + 1 |
[true] | = | 0 |
[shuffle(x1)] | = | 0 |
[concat(x1, x2)] | = | x1 + x2 + 1 |
[0] | = | 0 |
[quot(x1, x2)] | = | 0 |
[less_leaves(x1, x2)] | = | 0 |
[nil] | = | 0 |
[app#(x1, x2)] | = | 0 |
[minus#(x1, x2)] | = | 0 |
[shuffle#(x1)] | = | x1 + 0 |
[cons(x1, x2)] | = | x1 + x2 + 2 |
[add(x1, x2)] | = | x2 + 16304 |
[quot#(x1, x2)] | = | 0 |
[leaf] | = | 58713 |
[app(x1, x2)] | = | x1 + x2 + 0 |
reverse(add(n,x)) | → | app(reverse(x),add(n,nil)) | (8) |
app(nil,y) | → | y | (5) |
reverse(nil) | → | nil | (7) |
concat(cons(u,v),y) | → | cons(u,concat(v,y)) | (12) |
concat(leaf,y) | → | y | (11) |
app(add(n,x),y) | → | add(n,app(x,y)) | (6) |
less_leaves#(cons(u,v),cons(w,z)) | → | less_leaves#(concat(u,v),concat(w,z)) | (26) |
The dependency pairs are split into 0 components.
quot#(s(x),s(y)) | → | quot#(minus(x,y),s(y)) | (19) |
[s(x1)] | = | x1 + 2 |
[reverse#(x1)] | = | 0 |
[minus(x1, x2)] | = | x1 + 1 |
[less_leaves#(x1, x2)] | = | x1 + 0 |
[concat#(x1, x2)] | = | 0 |
[false] | = | 0 |
[reverse(x1)] | = | x1 + 1 |
[true] | = | 0 |
[shuffle(x1)] | = | 0 |
[concat(x1, x2)] | = | x1 + x2 + 29483 |
[0] | = | 1 |
[quot(x1, x2)] | = | 0 |
[less_leaves(x1, x2)] | = | 0 |
[nil] | = | 0 |
[app#(x1, x2)] | = | 0 |
[minus#(x1, x2)] | = | 0 |
[shuffle#(x1)] | = | x1 + 0 |
[cons(x1, x2)] | = | x1 + x2 + 1 |
[add(x1, x2)] | = | x2 + 16304 |
[quot#(x1, x2)] | = | x1 + 0 |
[leaf] | = | 42207 |
[app(x1, x2)] | = | x1 + x2 + 0 |
reverse(add(n,x)) | → | app(reverse(x),add(n,nil)) | (8) |
minus(x,0) | → | x | (1) |
app(nil,y) | → | y | (5) |
reverse(nil) | → | nil | (7) |
concat(cons(u,v),y) | → | cons(u,concat(v,y)) | (12) |
concat(leaf,y) | → | y | (11) |
app(add(n,x),y) | → | add(n,app(x,y)) | (6) |
minus(s(x),s(y)) | → | minus(x,y) | (2) |
quot#(s(x),s(y)) | → | quot#(minus(x,y),s(y)) | (19) |
The dependency pairs are split into 0 components.
minus#(s(x),s(y)) | → | minus#(x,y) | (25) |
[s(x1)] | = | x1 + 2 |
[reverse#(x1)] | = | 0 |
[minus(x1, x2)] | = | x1 + 1 |
[less_leaves#(x1, x2)] | = | x1 + 0 |
[concat#(x1, x2)] | = | 0 |
[false] | = | 0 |
[reverse(x1)] | = | x1 + 1 |
[true] | = | 0 |
[shuffle(x1)] | = | 0 |
[concat(x1, x2)] | = | x1 + x2 + 29483 |
[0] | = | 1 |
[quot(x1, x2)] | = | 0 |
[less_leaves(x1, x2)] | = | 0 |
[nil] | = | 0 |
[app#(x1, x2)] | = | 0 |
[minus#(x1, x2)] | = | x2 + 0 |
[shuffle#(x1)] | = | x1 + 0 |
[cons(x1, x2)] | = | x1 + x2 + 1 |
[add(x1, x2)] | = | x2 + 16304 |
[quot#(x1, x2)] | = | x1 + 0 |
[leaf] | = | 42207 |
[app(x1, x2)] | = | x1 + x2 + 0 |
reverse(add(n,x)) | → | app(reverse(x),add(n,nil)) | (8) |
minus(x,0) | → | x | (1) |
app(nil,y) | → | y | (5) |
reverse(nil) | → | nil | (7) |
concat(cons(u,v),y) | → | cons(u,concat(v,y)) | (12) |
concat(leaf,y) | → | y | (11) |
app(add(n,x),y) | → | add(n,app(x,y)) | (6) |
minus(s(x),s(y)) | → | minus(x,y) | (2) |
minus#(s(x),s(y)) | → | minus#(x,y) | (25) |
The dependency pairs are split into 0 components.
concat#(cons(u,v),y) | → | concat#(v,y) | (24) |
[s(x1)] | = | x1 + 1 |
[reverse#(x1)] | = | 0 |
[minus(x1, x2)] | = | x1 + 1 |
[less_leaves#(x1, x2)] | = | x1 + 0 |
[concat#(x1, x2)] | = | x1 + 0 |
[false] | = | 0 |
[reverse(x1)] | = | x1 + 1 |
[true] | = | 0 |
[shuffle(x1)] | = | 0 |
[concat(x1, x2)] | = | x1 + x2 + 53547 |
[0] | = | 1 |
[quot(x1, x2)] | = | 0 |
[less_leaves(x1, x2)] | = | 0 |
[nil] | = | 0 |
[app#(x1, x2)] | = | 0 |
[minus#(x1, x2)] | = | 0 |
[shuffle#(x1)] | = | x1 + 0 |
[cons(x1, x2)] | = | x1 + x2 + 1 |
[add(x1, x2)] | = | x2 + 16304 |
[quot#(x1, x2)] | = | x1 + 0 |
[leaf] | = | 42207 |
[app(x1, x2)] | = | x1 + x2 + 0 |
reverse(add(n,x)) | → | app(reverse(x),add(n,nil)) | (8) |
minus(x,0) | → | x | (1) |
app(nil,y) | → | y | (5) |
reverse(nil) | → | nil | (7) |
concat(cons(u,v),y) | → | cons(u,concat(v,y)) | (12) |
concat(leaf,y) | → | y | (11) |
app(add(n,x),y) | → | add(n,app(x,y)) | (6) |
minus(s(x),s(y)) | → | minus(x,y) | (2) |
concat#(cons(u,v),y) | → | concat#(v,y) | (24) |
The dependency pairs are split into 0 components.
reverse#(add(n,x)) | → | reverse#(x) | (21) |
[s(x1)] | = | x1 + 1 |
[reverse#(x1)] | = | x1 + 0 |
[minus(x1, x2)] | = | x1 + 1 |
[less_leaves#(x1, x2)] | = | x1 + 0 |
[concat#(x1, x2)] | = | 0 |
[false] | = | 0 |
[reverse(x1)] | = | x1 + 44364 |
[true] | = | 0 |
[shuffle(x1)] | = | 0 |
[concat(x1, x2)] | = | x1 + x2 + 53547 |
[0] | = | 1 |
[quot(x1, x2)] | = | 0 |
[less_leaves(x1, x2)] | = | 0 |
[nil] | = | 0 |
[app#(x1, x2)] | = | 0 |
[minus#(x1, x2)] | = | 0 |
[shuffle#(x1)] | = | x1 + 0 |
[cons(x1, x2)] | = | x1 + x2 + 1 |
[add(x1, x2)] | = | x2 + 16304 |
[quot#(x1, x2)] | = | x1 + 0 |
[leaf] | = | 42207 |
[app(x1, x2)] | = | x1 + x2 + 0 |
reverse(add(n,x)) | → | app(reverse(x),add(n,nil)) | (8) |
minus(x,0) | → | x | (1) |
app(nil,y) | → | y | (5) |
reverse(nil) | → | nil | (7) |
concat(cons(u,v),y) | → | cons(u,concat(v,y)) | (12) |
concat(leaf,y) | → | y | (11) |
app(add(n,x),y) | → | add(n,app(x,y)) | (6) |
minus(s(x),s(y)) | → | minus(x,y) | (2) |
reverse#(add(n,x)) | → | reverse#(x) | (21) |
The dependency pairs are split into 0 components.
app#(add(n,x),y) | → | app#(x,y) | (16) |
[s(x1)] | = | x1 + 1 |
[reverse#(x1)] | = | 0 |
[minus(x1, x2)] | = | x1 + 1 |
[less_leaves#(x1, x2)] | = | x1 + 0 |
[concat#(x1, x2)] | = | 0 |
[false] | = | 0 |
[reverse(x1)] | = | x1 + 44364 |
[true] | = | 0 |
[shuffle(x1)] | = | 0 |
[concat(x1, x2)] | = | x1 + x2 + 1 |
[0] | = | 1 |
[quot(x1, x2)] | = | 0 |
[less_leaves(x1, x2)] | = | 0 |
[nil] | = | 0 |
[app#(x1, x2)] | = | x1 + 0 |
[minus#(x1, x2)] | = | 0 |
[shuffle#(x1)] | = | x1 + 0 |
[cons(x1, x2)] | = | x1 + x2 + 31122 |
[add(x1, x2)] | = | x2 + 1 |
[quot#(x1, x2)] | = | x1 + 0 |
[leaf] | = | 42207 |
[app(x1, x2)] | = | x1 + x2 + 0 |
reverse(add(n,x)) | → | app(reverse(x),add(n,nil)) | (8) |
minus(x,0) | → | x | (1) |
app(nil,y) | → | y | (5) |
reverse(nil) | → | nil | (7) |
concat(cons(u,v),y) | → | cons(u,concat(v,y)) | (12) |
concat(leaf,y) | → | y | (11) |
app(add(n,x),y) | → | add(n,app(x,y)) | (6) |
minus(s(x),s(y)) | → | minus(x,y) | (2) |
app#(add(n,x),y) | → | app#(x,y) | (16) |
The dependency pairs are split into 0 components.