Input TRS: 1: app(app(.,1),x) -> x 2: app(app(.,x),1) -> x 3: app(app(.,app(i,x)),x) -> 1 4: app(app(.,x),app(i,x)) -> 1 5: app(app(.,app(i,y)),app(app(.,y),z)) -> z 6: app(app(.,y),app(app(.,app(i,y)),z)) -> z 7: app(app(.,app(app(.,x),y)),z) -> app(app(.,x),app(app(.,y),z)) 8: app(i,1) -> 1 9: app(i,app(i,x)) -> x 10: app(i,app(app(.,x),y)) -> app(app(.,app(i,y)),app(i,x)) 11: app(app(map,f),nil) -> nil 12: app(app(map,f),app(app(cons,x),xs)) -> app(app(cons,app(f,x)),app(app(map,f),xs)) 13: app(app(filter,f),nil) -> nil 14: app(app(filter,f),app(app(cons,x),xs)) -> app(app(app(app(filter2,app(f,x)),f),x),xs) 15: app(app(app(app(filter2,true),f),x),xs) -> app(app(cons,x),app(app(filter,f),xs)) 16: app(app(app(app(filter2,false),f),x),xs) -> app(app(filter,f),xs) Dependency Pairs: #1: #app(app(.,app(app(.,x),y)),z) -> #app(app(.,x),app(app(.,y),z)) #2: #app(app(.,app(app(.,x),y)),z) -> #app(.,x) #3: #app(app(.,app(app(.,x),y)),z) -> #app(app(.,y),z) #4: #app(app(.,app(app(.,x),y)),z) -> #app(.,y) #5: #app(i,app(app(.,x),y)) -> #app(app(.,app(i,y)),app(i,x)) #6: #app(i,app(app(.,x),y)) -> #app(.,app(i,y)) #7: #app(i,app(app(.,x),y)) -> #app(i,y) #8: #app(i,app(app(.,x),y)) -> #app(i,x) #9: #app(app(map,f),app(app(cons,x),xs)) -> #app(app(cons,app(f,x)),app(app(map,f),xs)) #10: #app(app(map,f),app(app(cons,x),xs)) -> #app(cons,app(f,x)) #11: #app(app(map,f),app(app(cons,x),xs)) -> #app(f,x) #12: #app(app(map,f),app(app(cons,x),xs)) -> #app(app(map,f),xs) #13: #app(app(map,f),app(app(cons,x),xs)) -> #app(map,f) #14: #app(app(filter,f),app(app(cons,x),xs)) -> #app(app(app(app(filter2,app(f,x)),f),x),xs) #15: #app(app(filter,f),app(app(cons,x),xs)) -> #app(app(app(filter2,app(f,x)),f),x) #16: #app(app(filter,f),app(app(cons,x),xs)) -> #app(app(filter2,app(f,x)),f) #17: #app(app(filter,f),app(app(cons,x),xs)) -> #app(filter2,app(f,x)) #18: #app(app(filter,f),app(app(cons,x),xs)) -> #app(f,x) #19: #app(app(app(app(filter2,true),f),x),xs) -> #app(app(cons,x),app(app(filter,f),xs)) #20: #app(app(app(app(filter2,true),f),x),xs) -> #app(cons,x) #21: #app(app(app(app(filter2,true),f),x),xs) -> #app(app(filter,f),xs) #22: #app(app(app(app(filter2,true),f),x),xs) -> #app(filter,f) #23: #app(app(app(app(filter2,false),f),x),xs) -> #app(app(filter,f),xs) #24: #app(app(app(app(filter2,false),f),x),xs) -> #app(filter,f) Number of SCCs: 1 SCC { #1 #3 #5 #7 #8 #9 #11 #12 #14 #15 #16 #18 #19 #21 #23 } QKBOS(sum)... failed.