The rewrite relation of the following TRS is considered.
| app(app(filter,f),nil) | → | nil | (1) |
| app(app(filter,f),app(app(cons,y),ys)) | → | app(app(app(filtersub,app(f,y)),f),app(app(cons,y),ys)) | (2) |
| app(app(app(filtersub,true),f),app(app(cons,y),ys)) | → | app(app(cons,y),app(app(filter,f),ys)) | (3) |
| app(app(app(filtersub,false),f),app(app(cons,y),ys)) | → | app(app(filter,f),ys) | (4) |
| app#(app(filter,f),app(app(cons,y),ys)) | → | app#(app(filtersub,app(f,y)),f) | (5) |
| app#(app(app(filtersub,true),f),app(app(cons,y),ys)) | → | app#(app(filter,f),ys) | (6) |
| app#(app(app(filtersub,false),f),app(app(cons,y),ys)) | → | app#(filter,f) | (7) |
| app#(app(app(filtersub,true),f),app(app(cons,y),ys)) | → | app#(filter,f) | (8) |
| app#(app(app(filtersub,true),f),app(app(cons,y),ys)) | → | app#(app(cons,y),app(app(filter,f),ys)) | (9) |
| app#(app(filter,f),app(app(cons,y),ys)) | → | app#(filtersub,app(f,y)) | (10) |
| app#(app(filter,f),app(app(cons,y),ys)) | → | app#(app(app(filtersub,app(f,y)),f),app(app(cons,y),ys)) | (11) |
| app#(app(app(filtersub,false),f),app(app(cons,y),ys)) | → | app#(app(filter,f),ys) | (12) |
| app#(app(filter,f),app(app(cons,y),ys)) | → | app#(f,y) | (13) |
The dependency pairs are split into 1 component.
| app#(app(filter,f),app(app(cons,y),ys)) | → | app#(f,y) | (13) |
| app#(app(app(filtersub,false),f),app(app(cons,y),ys)) | → | app#(app(filter,f),ys) | (12) |
| app#(app(filter,f),app(app(cons,y),ys)) | → | app#(app(app(filtersub,app(f,y)),f),app(app(cons,y),ys)) | (11) |
| app#(app(app(filtersub,true),f),app(app(cons,y),ys)) | → | app#(app(filter,f),ys) | (6) |
| [false] | = | 1 |
| [true] | = | 34723 |
| [filtersub] | = | 1 |
| [nil] | = | 17221 |
| [app#(x1, x2)] | = | x1 + 0 |
| [cons] | = | 1 |
| [filter] | = | 1 |
| [app(x1, x2)] | = | x2 + 22248 |
| app(app(app(filtersub,false),f),app(app(cons,y),ys)) | → | app(app(filter,f),ys) | (4) |
| app(app(filter,f),nil) | → | nil | (1) |
| app(app(app(filtersub,true),f),app(app(cons,y),ys)) | → | app(app(cons,y),app(app(filter,f),ys)) | (3) |
| app(app(filter,f),app(app(cons,y),ys)) | → | app(app(app(filtersub,app(f,y)),f),app(app(cons,y),ys)) | (2) |
| app#(app(filter,f),app(app(cons,y),ys)) | → | app#(f,y) | (13) |
The dependency pairs are split into 1 component.
| app#(app(app(filtersub,false),f),app(app(cons,y),ys)) | → | app#(app(filter,f),ys) | (12) |
| app#(app(app(filtersub,true),f),app(app(cons,y),ys)) | → | app#(app(filter,f),ys) | (6) |
| app#(app(filter,f),app(app(cons,y),ys)) | → | app#(app(app(filtersub,app(f,y)),f),app(app(cons,y),ys)) | (11) |
| [false] | = | 1 |
| [true] | = | 58713 |
| [filtersub] | = | 1 |
| [nil] | = | 17221 |
| [app#(x1, x2)] | = | x1 + x2 + 0 |
| [cons] | = | 1 |
| [filter] | = | 1 |
| [app(x1, x2)] | = | x2 + 6996 |
| app(app(app(filtersub,false),f),app(app(cons,y),ys)) | → | app(app(filter,f),ys) | (4) |
| app(app(filter,f),nil) | → | nil | (1) |
| app(app(app(filtersub,true),f),app(app(cons,y),ys)) | → | app(app(cons,y),app(app(filter,f),ys)) | (3) |
| app(app(filter,f),app(app(cons,y),ys)) | → | app(app(app(filtersub,app(f,y)),f),app(app(cons,y),ys)) | (2) |
| app#(app(app(filtersub,false),f),app(app(cons,y),ys)) | → | app#(app(filter,f),ys) | (12) |
| app#(app(app(filtersub,true),f),app(app(cons,y),ys)) | → | app#(app(filter,f),ys) | (6) |
The dependency pairs are split into 0 components.