YES Problem: app(app(\(),x),x) -> e() app(app(\(),e()),x) -> x app(app(\(),x),app(app(.(),x),y)) -> y app(app(\(),app(app(/(),x),y)),x) -> y app(app(/(),x),x) -> e() app(app(/(),x),e()) -> x app(app(/(),app(app(.(),y),x)),x) -> y app(app(/(),x),app(app(\(),y),x)) -> y app(app(.(),e()),x) -> x app(app(.(),x),e()) -> x app(app(.(),x),app(app(\(),x),y)) -> y app(app(.(),app(app(/(),y),x)),x) -> y app(app(map(),f),nil()) -> nil() app(app(map(),f),app(app(cons(),x),xs)) -> app(app(cons(),app(f,x)),app(app(map(),f),xs)) app(app(filter(),f),nil()) -> nil() app(app(filter(),f),app(app(cons(),x),xs)) -> app(app(app(app(filter2(),app(f,x)),f),x),xs) app(app(app(app(filter2(),true()),f),x),xs) -> app(app(cons(),x),app(app(filter(),f),xs)) app(app(app(app(filter2(),false()),f),x),xs) -> app(app(filter(),f),xs) Proof: Uncurry Processor: \2(x,x) -> e() \2(e(),x) -> x \2(x,.2(x,y)) -> y \2(/2(x,y),x) -> y /2(x,x) -> e() /2(x,e()) -> x /2(.2(y,x),x) -> y /2(x,\2(y,x)) -> y .2(e(),x) -> x .2(x,e()) -> x .2(x,\2(x,y)) -> y .2(/2(y,x),x) -> y map2(f,nil()) -> nil() map2(f,cons2(x,xs)) -> cons2(app(f,x),map2(f,xs)) filter2(f,nil()) -> nil() filter2(f,cons2(x,xs)) -> filter24(app(f,x),f,x,xs) filter24(true(),f,x,xs) -> cons2(x,filter2(f,xs)) filter24(false(),f,x,xs) -> filter2(f,xs) app(\1(x6),x7) -> \2(x6,x7) app(\(),x7) -> \1(x7) app(.1(x6),x7) -> .2(x6,x7) app(.(),x7) -> .1(x7) app(/1(x6),x7) -> /2(x6,x7) app(/(),x7) -> /1(x7) app(map1(x6),x7) -> map2(x6,x7) app(map(),x7) -> map1(x7) app(cons1(x6),x7) -> cons2(x6,x7) app(cons(),x7) -> cons1(x7) app(filter1(x6),x7) -> filter2(x6,x7) app(filter(),x7) -> filter1(x7) app(filter23(x6,x5,x4),x7) -> filter24(x6,x5,x4,x7) app(filter22(x6,x5),x7) -> filter23(x6,x5,x7) app(filter21(x6),x7) -> filter22(x6,x7) app(filter2(),x7) -> filter21(x7) DP Processor: DPs: map{2,#}(f,cons2(x,xs)) -> map{2,#}(f,xs) map{2,#}(f,cons2(x,xs)) -> app#(f,x) filter{2,#}(f,cons2(x,xs)) -> app#(f,x) filter{2,#}(f,cons2(x,xs)) -> filter2{4,#}(app(f,x),f,x,xs) filter2{4,#}(true(),f,x,xs) -> filter{2,#}(f,xs) filter2{4,#}(false(),f,x,xs) -> filter{2,#}(f,xs) app#(\1(x6),x7) -> \{2,#}(x6,x7) app#(.1(x6),x7) -> .{2,#}(x6,x7) app#(/1(x6),x7) -> /{2,#}(x6,x7) app#(map1(x6),x7) -> map{2,#}(x6,x7) app#(filter1(x6),x7) -> filter{2,#}(x6,x7) app#(filter23(x6,x5,x4),x7) -> filter2{4,#}(x6,x5,x4,x7) TRS: \2(x,x) -> e() \2(e(),x) -> x \2(x,.2(x,y)) -> y \2(/2(x,y),x) -> y /2(x,x) -> e() /2(x,e()) -> x /2(.2(y,x),x) -> y /2(x,\2(y,x)) -> y .2(e(),x) -> x .2(x,e()) -> x .2(x,\2(x,y)) -> y .2(/2(y,x),x) -> y map2(f,nil()) -> nil() map2(f,cons2(x,xs)) -> cons2(app(f,x),map2(f,xs)) filter2(f,nil()) -> nil() filter2(f,cons2(x,xs)) -> filter24(app(f,x),f,x,xs) filter24(true(),f,x,xs) -> cons2(x,filter2(f,xs)) filter24(false(),f,x,xs) -> filter2(f,xs) app(\1(x6),x7) -> \2(x6,x7) app(\(),x7) -> \1(x7) app(.1(x6),x7) -> .2(x6,x7) app(.(),x7) -> .1(x7) app(/1(x6),x7) -> /2(x6,x7) app(/(),x7) -> /1(x7) app(map1(x6),x7) -> map2(x6,x7) app(map(),x7) -> map1(x7) app(cons1(x6),x7) -> cons2(x6,x7) app(cons(),x7) -> cons1(x7) app(filter1(x6),x7) -> filter2(x6,x7) app(filter(),x7) -> filter1(x7) app(filter23(x6,x5,x4),x7) -> filter24(x6,x5,x4,x7) app(filter22(x6,x5),x7) -> filter23(x6,x5,x7) app(filter21(x6),x7) -> filter22(x6,x7) app(filter2(),x7) -> filter21(x7) TDG Processor: DPs: map{2,#}(f,cons2(x,xs)) -> map{2,#}(f,xs) map{2,#}(f,cons2(x,xs)) -> app#(f,x) filter{2,#}(f,cons2(x,xs)) -> app#(f,x) filter{2,#}(f,cons2(x,xs)) -> filter2{4,#}(app(f,x),f,x,xs) filter2{4,#}(true(),f,x,xs) -> filter{2,#}(f,xs) filter2{4,#}(false(),f,x,xs) -> filter{2,#}(f,xs) app#(\1(x6),x7) -> \{2,#}(x6,x7) app#(.1(x6),x7) -> .{2,#}(x6,x7) app#(/1(x6),x7) -> /{2,#}(x6,x7) app#(map1(x6),x7) -> map{2,#}(x6,x7) app#(filter1(x6),x7) -> filter{2,#}(x6,x7) app#(filter23(x6,x5,x4),x7) -> filter2{4,#}(x6,x5,x4,x7) TRS: \2(x,x) -> e() \2(e(),x) -> x \2(x,.2(x,y)) -> y \2(/2(x,y),x) -> y /2(x,x) -> e() /2(x,e()) -> x /2(.2(y,x),x) -> y /2(x,\2(y,x)) -> y .2(e(),x) -> x .2(x,e()) -> x .2(x,\2(x,y)) -> y .2(/2(y,x),x) -> y map2(f,nil()) -> nil() map2(f,cons2(x,xs)) -> cons2(app(f,x),map2(f,xs)) filter2(f,nil()) -> nil() filter2(f,cons2(x,xs)) -> filter24(app(f,x),f,x,xs) filter24(true(),f,x,xs) -> cons2(x,filter2(f,xs)) filter24(false(),f,x,xs) -> filter2(f,xs) app(\1(x6),x7) -> \2(x6,x7) app(\(),x7) -> \1(x7) app(.1(x6),x7) -> .2(x6,x7) app(.(),x7) -> .1(x7) app(/1(x6),x7) -> /2(x6,x7) app(/(),x7) -> /1(x7) app(map1(x6),x7) -> map2(x6,x7) app(map(),x7) -> map1(x7) app(cons1(x6),x7) -> cons2(x6,x7) app(cons(),x7) -> cons1(x7) app(filter1(x6),x7) -> filter2(x6,x7) app(filter(),x7) -> filter1(x7) app(filter23(x6,x5,x4),x7) -> filter24(x6,x5,x4,x7) app(filter22(x6,x5),x7) -> filter23(x6,x5,x7) app(filter21(x6),x7) -> filter22(x6,x7) app(filter2(),x7) -> filter21(x7) graph: filter2{4,#}(false(),f,x,xs) -> filter{2,#}(f,xs) -> filter{2,#}(f,cons2(x,xs)) -> filter2{4,#}(app(f,x),f,x,xs) filter2{4,#}(false(),f,x,xs) -> filter{2,#}(f,xs) -> filter{2,#}(f,cons2(x,xs)) -> app#(f,x) filter2{4,#}(true(),f,x,xs) -> filter{2,#}(f,xs) -> filter{2,#}(f,cons2(x,xs)) -> filter2{4,#}(app(f,x),f,x,xs) filter2{4,#}(true(),f,x,xs) -> filter{2,#}(f,xs) -> filter{2,#}(f,cons2(x,xs)) -> app#(f,x) filter{2,#}(f,cons2(x,xs)) -> filter2{4,#}(app(f,x),f,x,xs) -> filter2{4,#}(false(),f,x,xs) -> filter{2,#}(f,xs) filter{2,#}(f,cons2(x,xs)) -> filter2{4,#}(app(f,x),f,x,xs) -> filter2{4,#}(true(),f,x,xs) -> filter{2,#}(f,xs) filter{2,#}(f,cons2(x,xs)) -> app#(f,x) -> app#(filter23(x6,x5,x4),x7) -> filter2{4,#}(x6,x5,x4,x7) filter{2,#}(f,cons2(x,xs)) -> app#(f,x) -> app#(filter1(x6),x7) -> filter{2,#}(x6,x7) filter{2,#}(f,cons2(x,xs)) -> app#(f,x) -> app#(map1(x6),x7) -> map{2,#}(x6,x7) filter{2,#}(f,cons2(x,xs)) -> app#(f,x) -> app#(/1(x6),x7) -> /{2,#}(x6,x7) filter{2,#}(f,cons2(x,xs)) -> app#(f,x) -> app#(.1(x6),x7) -> .{2,#}(x6,x7) filter{2,#}(f,cons2(x,xs)) -> app#(f,x) -> app#(\1(x6),x7) -> \{2,#}(x6,x7) app#(filter23(x6,x5,x4),x7) -> filter2{4,#}(x6,x5,x4,x7) -> filter2{4,#}(false(),f,x,xs) -> filter{2,#}(f,xs) app#(filter23(x6,x5,x4),x7) -> filter2{4,#}(x6,x5,x4,x7) -> filter2{4,#}(true(),f,x,xs) -> filter{2,#}(f,xs) app#(filter1(x6),x7) -> filter{2,#}(x6,x7) -> filter{2,#}(f,cons2(x,xs)) -> filter2{4,#}(app(f,x),f,x,xs) app#(filter1(x6),x7) -> filter{2,#}(x6,x7) -> filter{2,#}(f,cons2(x,xs)) -> app#(f,x) app#(map1(x6),x7) -> map{2,#}(x6,x7) -> map{2,#}(f,cons2(x,xs)) -> app#(f,x) app#(map1(x6),x7) -> map{2,#}(x6,x7) -> map{2,#}(f,cons2(x,xs)) -> map{2,#}(f,xs) map{2,#}(f,cons2(x,xs)) -> app#(f,x) -> app#(filter23(x6,x5,x4),x7) -> filter2{4,#}(x6,x5,x4,x7) map{2,#}(f,cons2(x,xs)) -> app#(f,x) -> app#(filter1(x6),x7) -> filter{2,#}(x6,x7) map{2,#}(f,cons2(x,xs)) -> app#(f,x) -> app#(map1(x6),x7) -> map{2,#}(x6,x7) map{2,#}(f,cons2(x,xs)) -> app#(f,x) -> app#(/1(x6),x7) -> /{2,#}(x6,x7) map{2,#}(f,cons2(x,xs)) -> app#(f,x) -> app#(.1(x6),x7) -> .{2,#}(x6,x7) map{2,#}(f,cons2(x,xs)) -> app#(f,x) -> app#(\1(x6),x7) -> \{2,#}(x6,x7) map{2,#}(f,cons2(x,xs)) -> map{2,#}(f,xs) -> map{2,#}(f,cons2(x,xs)) -> app#(f,x) map{2,#}(f,cons2(x,xs)) -> map{2,#}(f,xs) -> map{2,#}(f,cons2(x,xs)) -> map{2,#}(f,xs) SCC Processor: #sccs: 1 #rules: 9 #arcs: 26/144 DPs: filter2{4,#}(false(),f,x,xs) -> filter{2,#}(f,xs) filter{2,#}(f,cons2(x,xs)) -> app#(f,x) app#(map1(x6),x7) -> map{2,#}(x6,x7) map{2,#}(f,cons2(x,xs)) -> map{2,#}(f,xs) map{2,#}(f,cons2(x,xs)) -> app#(f,x) app#(filter1(x6),x7) -> filter{2,#}(x6,x7) filter{2,#}(f,cons2(x,xs)) -> filter2{4,#}(app(f,x),f,x,xs) filter2{4,#}(true(),f,x,xs) -> filter{2,#}(f,xs) app#(filter23(x6,x5,x4),x7) -> filter2{4,#}(x6,x5,x4,x7) TRS: \2(x,x) -> e() \2(e(),x) -> x \2(x,.2(x,y)) -> y \2(/2(x,y),x) -> y /2(x,x) -> e() /2(x,e()) -> x /2(.2(y,x),x) -> y /2(x,\2(y,x)) -> y .2(e(),x) -> x .2(x,e()) -> x .2(x,\2(x,y)) -> y .2(/2(y,x),x) -> y map2(f,nil()) -> nil() map2(f,cons2(x,xs)) -> cons2(app(f,x),map2(f,xs)) filter2(f,nil()) -> nil() filter2(f,cons2(x,xs)) -> filter24(app(f,x),f,x,xs) filter24(true(),f,x,xs) -> cons2(x,filter2(f,xs)) filter24(false(),f,x,xs) -> filter2(f,xs) app(\1(x6),x7) -> \2(x6,x7) app(\(),x7) -> \1(x7) app(.1(x6),x7) -> .2(x6,x7) app(.(),x7) -> .1(x7) app(/1(x6),x7) -> /2(x6,x7) app(/(),x7) -> /1(x7) app(map1(x6),x7) -> map2(x6,x7) app(map(),x7) -> map1(x7) app(cons1(x6),x7) -> cons2(x6,x7) app(cons(),x7) -> cons1(x7) app(filter1(x6),x7) -> filter2(x6,x7) app(filter(),x7) -> filter1(x7) app(filter23(x6,x5,x4),x7) -> filter24(x6,x5,x4,x7) app(filter22(x6,x5),x7) -> filter23(x6,x5,x7) app(filter21(x6),x7) -> filter22(x6,x7) app(filter2(),x7) -> filter21(x7) Subterm Criterion Processor: simple projection: pi(map{2,#}) = 1 pi(app#) = 1 pi(filter{2,#}) = 1 pi(filter2{4,#}) = 3 problem: DPs: filter2{4,#}(false(),f,x,xs) -> filter{2,#}(f,xs) app#(map1(x6),x7) -> map{2,#}(x6,x7) app#(filter1(x6),x7) -> filter{2,#}(x6,x7) filter2{4,#}(true(),f,x,xs) -> filter{2,#}(f,xs) app#(filter23(x6,x5,x4),x7) -> filter2{4,#}(x6,x5,x4,x7) TRS: \2(x,x) -> e() \2(e(),x) -> x \2(x,.2(x,y)) -> y \2(/2(x,y),x) -> y /2(x,x) -> e() /2(x,e()) -> x /2(.2(y,x),x) -> y /2(x,\2(y,x)) -> y .2(e(),x) -> x .2(x,e()) -> x .2(x,\2(x,y)) -> y .2(/2(y,x),x) -> y map2(f,nil()) -> nil() map2(f,cons2(x,xs)) -> cons2(app(f,x),map2(f,xs)) filter2(f,nil()) -> nil() filter2(f,cons2(x,xs)) -> filter24(app(f,x),f,x,xs) filter24(true(),f,x,xs) -> cons2(x,filter2(f,xs)) filter24(false(),f,x,xs) -> filter2(f,xs) app(\1(x6),x7) -> \2(x6,x7) app(\(),x7) -> \1(x7) app(.1(x6),x7) -> .2(x6,x7) app(.(),x7) -> .1(x7) app(/1(x6),x7) -> /2(x6,x7) app(/(),x7) -> /1(x7) app(map1(x6),x7) -> map2(x6,x7) app(map(),x7) -> map1(x7) app(cons1(x6),x7) -> cons2(x6,x7) app(cons(),x7) -> cons1(x7) app(filter1(x6),x7) -> filter2(x6,x7) app(filter(),x7) -> filter1(x7) app(filter23(x6,x5,x4),x7) -> filter24(x6,x5,x4,x7) app(filter22(x6,x5),x7) -> filter23(x6,x5,x7) app(filter21(x6),x7) -> filter22(x6,x7) app(filter2(),x7) -> filter21(x7) SCC Processor: #sccs: 0 #rules: 0 #arcs: 20/25