The rewrite relation of the following TRS is considered.
app(app(lt,app(s,x)),app(s,y)) | → | app(app(lt,x),y) | (1) |
app(app(lt,0),app(s,y)) | → | true | (2) |
app(app(lt,y),0) | → | false | (3) |
app(app(eq,x),x) | → | true | (4) |
app(app(eq,app(s,x)),0) | → | false | (5) |
app(app(eq,0),app(s,x)) | → | false | (6) |
app(app(member,w),null) | → | false | (7) |
app(app(member,w),app(app(app(fork,x),y),z)) | → | app(app(app(if,app(app(lt,w),y)),app(app(member,w),x)),app(app(app(if,app(app(eq,w),y)),true),app(app(member,w),z))) | (8) |
app#(app(lt,app(s,x)),app(s,y)) | → | app#(lt,x) | (9) |
app#(app(member,w),app(app(app(fork,x),y),z)) | → | app#(app(lt,w),y) | (10) |
app#(app(member,w),app(app(app(fork,x),y),z)) | → | app#(eq,w) | (11) |
app#(app(member,w),app(app(app(fork,x),y),z)) | → | app#(app(app(if,app(app(eq,w),y)),true),app(app(member,w),z)) | (12) |
app#(app(member,w),app(app(app(fork,x),y),z)) | → | app#(if,app(app(eq,w),y)) | (13) |
app#(app(member,w),app(app(app(fork,x),y),z)) | → | app#(app(eq,w),y) | (14) |
app#(app(member,w),app(app(app(fork,x),y),z)) | → | app#(app(member,w),z) | (15) |
app#(app(member,w),app(app(app(fork,x),y),z)) | → | app#(lt,w) | (16) |
app#(app(member,w),app(app(app(fork,x),y),z)) | → | app#(app(if,app(app(eq,w),y)),true) | (17) |
app#(app(member,w),app(app(app(fork,x),y),z)) | → | app#(if,app(app(lt,w),y)) | (18) |
app#(app(member,w),app(app(app(fork,x),y),z)) | → | app#(app(app(if,app(app(lt,w),y)),app(app(member,w),x)),app(app(app(if,app(app(eq,w),y)),true),app(app(member,w),z))) | (19) |
app#(app(lt,app(s,x)),app(s,y)) | → | app#(app(lt,x),y) | (20) |
app#(app(member,w),app(app(app(fork,x),y),z)) | → | app#(app(member,w),x) | (21) |
app#(app(member,w),app(app(app(fork,x),y),z)) | → | app#(app(if,app(app(lt,w),y)),app(app(member,w),x)) | (22) |
The dependency pairs are split into 2 components.
app#(app(member,w),app(app(app(fork,x),y),z)) | → | app#(app(member,w),z) | (15) |
app#(app(member,w),app(app(app(fork,x),y),z)) | → | app#(app(member,w),x) | (21) |
[s] | = | 14681 |
[member] | = | 1266 |
[eq] | = | 2968 |
[false] | = | 44480 |
[fork] | = | 26286 |
[true] | = | 41541 |
[0] | = | 26830 |
[if] | = | 44022 |
[null] | = | 31892 |
[app#(x1, x2)] | = | x2 + 0 |
[lt] | = | 29 |
[app(x1, x2)] | = | x1 + x2 + 0 |
app#(app(member,w),app(app(app(fork,x),y),z)) | → | app#(app(member,w),z) | (15) |
app#(app(member,w),app(app(app(fork,x),y),z)) | → | app#(app(member,w),x) | (21) |
The dependency pairs are split into 0 components.
app#(app(lt,app(s,x)),app(s,y)) | → | app#(app(lt,x),y) | (20) |
[s] | = | 1 |
[member] | = | 1 |
[eq] | = | 16908 |
[false] | = | 42170 |
[fork] | = | 26286 |
[true] | = | 41541 |
[0] | = | 3311 |
[if] | = | 1 |
[null] | = | 42168 |
[app#(x1, x2)] | = | x2 + 0 |
[lt] | = | 21238 |
[app(x1, x2)] | = | x1 + x2 + 0 |
app#(app(lt,app(s,x)),app(s,y)) | → | app#(app(lt,x),y) | (20) |
The dependency pairs are split into 0 components.