Input TRS: 1: app(D,t) -> 1 2: app(D,constant) -> 0 3: app(D,app(app(+,x),y)) -> app(app(+,app(D,x)),app(D,y)) 4: app(D,app(app(*,x),y)) -> app(app(+,app(app(*,y),app(D,x))),app(app(*,x),app(D,y))) 5: app(D,app(app(-,x),y)) -> app(app(-,app(D,x)),app(D,y)) 6: app(app(map,f),nil) -> nil 7: app(app(map,f),app(app(cons,x),xs)) -> app(app(cons,app(f,x)),app(app(map,f),xs)) 8: app(app(filter,f),nil) -> nil 9: app(app(filter,f),app(app(cons,x),xs)) -> app(app(app(app(filter2,app(f,x)),f),x),xs) 10: app(app(app(app(filter2,true),f),x),xs) -> app(app(cons,x),app(app(filter,f),xs)) 11: app(app(app(app(filter2,false),f),x),xs) -> app(app(filter,f),xs) Dependency Pairs: #1: #app(D,app(app(+,x),y)) -> #app(app(+,app(D,x)),app(D,y)) #2: #app(D,app(app(+,x),y)) -> #app(+,app(D,x)) #3: #app(D,app(app(+,x),y)) -> #app(D,x) #4: #app(D,app(app(+,x),y)) -> #app(D,y) #5: #app(D,app(app(*,x),y)) -> #app(app(+,app(app(*,y),app(D,x))),app(app(*,x),app(D,y))) #6: #app(D,app(app(*,x),y)) -> #app(+,app(app(*,y),app(D,x))) #7: #app(D,app(app(*,x),y)) -> #app(app(*,y),app(D,x)) #8: #app(D,app(app(*,x),y)) -> #app(*,y) #9: #app(D,app(app(*,x),y)) -> #app(D,x) #10: #app(D,app(app(*,x),y)) -> #app(app(*,x),app(D,y)) #11: #app(D,app(app(*,x),y)) -> #app(*,x) #12: #app(D,app(app(*,x),y)) -> #app(D,y) #13: #app(D,app(app(-,x),y)) -> #app(app(-,app(D,x)),app(D,y)) #14: #app(D,app(app(-,x),y)) -> #app(-,app(D,x)) #15: #app(D,app(app(-,x),y)) -> #app(D,x) #16: #app(D,app(app(-,x),y)) -> #app(D,y) #17: #app(app(map,f),app(app(cons,x),xs)) -> #app(app(cons,app(f,x)),app(app(map,f),xs)) #18: #app(app(map,f),app(app(cons,x),xs)) -> #app(cons,app(f,x)) #19: #app(app(map,f),app(app(cons,x),xs)) -> #app(f,x) #20: #app(app(map,f),app(app(cons,x),xs)) -> #app(app(map,f),xs) #21: #app(app(map,f),app(app(cons,x),xs)) -> #app(map,f) #22: #app(app(filter,f),app(app(cons,x),xs)) -> #app(app(app(app(filter2,app(f,x)),f),x),xs) #23: #app(app(filter,f),app(app(cons,x),xs)) -> #app(app(app(filter2,app(f,x)),f),x) #24: #app(app(filter,f),app(app(cons,x),xs)) -> #app(app(filter2,app(f,x)),f) #25: #app(app(filter,f),app(app(cons,x),xs)) -> #app(filter2,app(f,x)) #26: #app(app(filter,f),app(app(cons,x),xs)) -> #app(f,x) #27: #app(app(app(app(filter2,true),f),x),xs) -> #app(app(cons,x),app(app(filter,f),xs)) #28: #app(app(app(app(filter2,true),f),x),xs) -> #app(cons,x) #29: #app(app(app(app(filter2,true),f),x),xs) -> #app(app(filter,f),xs) #30: #app(app(app(app(filter2,true),f),x),xs) -> #app(filter,f) #31: #app(app(app(app(filter2,false),f),x),xs) -> #app(app(filter,f),xs) #32: #app(app(app(app(filter2,false),f),x),xs) -> #app(filter,f) Number of SCCs: 1 SCC { #1 #3 #4 #5 #7 #9 #10 #12 #13 #15 #16 #17 #19 #20 #22 #23 #24 #26 #27 #29 #31 } QKBOPS(sum)... failed.