YES Problem 1: (VAR v_NonEmpty:S f:S l:S r:S x:S) (RULES app(app(mapbt,f:S),app(app(app(branch,x:S),l:S),r:S)) -> app(app(app(branch,app(f:S,x:S)),app(app(mapbt,f:S),l:S)),app(app(mapbt,f:S),r:S)) app(app(mapbt,f:S),app(leaf,x:S)) -> app(leaf,app(f:S,x:S)) ) Problem 1: Innermost Equivalent Processor: -> Rules: app(app(mapbt,f:S),app(app(app(branch,x:S),l:S),r:S)) -> app(app(app(branch,app(f:S,x:S)),app(app(mapbt,f:S),l:S)),app(app(mapbt,f:S),r:S)) app(app(mapbt,f:S),app(leaf,x:S)) -> app(leaf,app(f:S,x:S)) -> The term rewriting system is non-overlaping or locally confluent overlay system. Therefore, innermost termination implies termination. Problem 1: Dependency Pairs Processor: -> Pairs: APP(app(mapbt,f:S),app(app(app(branch,x:S),l:S),r:S)) -> APP(app(app(branch,app(f:S,x:S)),app(app(mapbt,f:S),l:S)),app(app(mapbt,f:S),r:S)) APP(app(mapbt,f:S),app(app(app(branch,x:S),l:S),r:S)) -> APP(app(branch,app(f:S,x:S)),app(app(mapbt,f:S),l:S)) APP(app(mapbt,f:S),app(app(app(branch,x:S),l:S),r:S)) -> APP(app(mapbt,f:S),l:S) APP(app(mapbt,f:S),app(app(app(branch,x:S),l:S),r:S)) -> APP(app(mapbt,f:S),r:S) APP(app(mapbt,f:S),app(app(app(branch,x:S),l:S),r:S)) -> APP(branch,app(f:S,x:S)) APP(app(mapbt,f:S),app(app(app(branch,x:S),l:S),r:S)) -> APP(f:S,x:S) APP(app(mapbt,f:S),app(leaf,x:S)) -> APP(leaf,app(f:S,x:S)) APP(app(mapbt,f:S),app(leaf,x:S)) -> APP(f:S,x:S) -> Rules: app(app(mapbt,f:S),app(app(app(branch,x:S),l:S),r:S)) -> app(app(app(branch,app(f:S,x:S)),app(app(mapbt,f:S),l:S)),app(app(mapbt,f:S),r:S)) app(app(mapbt,f:S),app(leaf,x:S)) -> app(leaf,app(f:S,x:S)) Problem 1: SCC Processor: -> Pairs: APP(app(mapbt,f:S),app(app(app(branch,x:S),l:S),r:S)) -> APP(app(app(branch,app(f:S,x:S)),app(app(mapbt,f:S),l:S)),app(app(mapbt,f:S),r:S)) APP(app(mapbt,f:S),app(app(app(branch,x:S),l:S),r:S)) -> APP(app(branch,app(f:S,x:S)),app(app(mapbt,f:S),l:S)) APP(app(mapbt,f:S),app(app(app(branch,x:S),l:S),r:S)) -> APP(app(mapbt,f:S),l:S) APP(app(mapbt,f:S),app(app(app(branch,x:S),l:S),r:S)) -> APP(app(mapbt,f:S),r:S) APP(app(mapbt,f:S),app(app(app(branch,x:S),l:S),r:S)) -> APP(branch,app(f:S,x:S)) APP(app(mapbt,f:S),app(app(app(branch,x:S),l:S),r:S)) -> APP(f:S,x:S) APP(app(mapbt,f:S),app(leaf,x:S)) -> APP(leaf,app(f:S,x:S)) APP(app(mapbt,f:S),app(leaf,x:S)) -> APP(f:S,x:S) -> Rules: app(app(mapbt,f:S),app(app(app(branch,x:S),l:S),r:S)) -> app(app(app(branch,app(f:S,x:S)),app(app(mapbt,f:S),l:S)),app(app(mapbt,f:S),r:S)) app(app(mapbt,f:S),app(leaf,x:S)) -> app(leaf,app(f:S,x:S)) ->Strongly Connected Components: ->->Cycle: ->->-> Pairs: APP(app(mapbt,f:S),app(app(app(branch,x:S),l:S),r:S)) -> APP(app(mapbt,f:S),l:S) APP(app(mapbt,f:S),app(app(app(branch,x:S),l:S),r:S)) -> APP(app(mapbt,f:S),r:S) APP(app(mapbt,f:S),app(app(app(branch,x:S),l:S),r:S)) -> APP(f:S,x:S) APP(app(mapbt,f:S),app(leaf,x:S)) -> APP(f:S,x:S) ->->-> Rules: app(app(mapbt,f:S),app(app(app(branch,x:S),l:S),r:S)) -> app(app(app(branch,app(f:S,x:S)),app(app(mapbt,f:S),l:S)),app(app(mapbt,f:S),r:S)) app(app(mapbt,f:S),app(leaf,x:S)) -> app(leaf,app(f:S,x:S)) Problem 1: Subterm Processor: -> Pairs: APP(app(mapbt,f:S),app(app(app(branch,x:S),l:S),r:S)) -> APP(app(mapbt,f:S),l:S) APP(app(mapbt,f:S),app(app(app(branch,x:S),l:S),r:S)) -> APP(app(mapbt,f:S),r:S) APP(app(mapbt,f:S),app(app(app(branch,x:S),l:S),r:S)) -> APP(f:S,x:S) APP(app(mapbt,f:S),app(leaf,x:S)) -> APP(f:S,x:S) -> Rules: app(app(mapbt,f:S),app(app(app(branch,x:S),l:S),r:S)) -> app(app(app(branch,app(f:S,x:S)),app(app(mapbt,f:S),l:S)),app(app(mapbt,f:S),r:S)) app(app(mapbt,f:S),app(leaf,x:S)) -> app(leaf,app(f:S,x:S)) ->Projection: pi(APP) = 1 Problem 1: SCC Processor: -> Pairs: APP(app(mapbt,f:S),app(app(app(branch,x:S),l:S),r:S)) -> APP(app(mapbt,f:S),l:S) APP(app(mapbt,f:S),app(app(app(branch,x:S),l:S),r:S)) -> APP(app(mapbt,f:S),r:S) -> Rules: app(app(mapbt,f:S),app(app(app(branch,x:S),l:S),r:S)) -> app(app(app(branch,app(f:S,x:S)),app(app(mapbt,f:S),l:S)),app(app(mapbt,f:S),r:S)) app(app(mapbt,f:S),app(leaf,x:S)) -> app(leaf,app(f:S,x:S)) ->Strongly Connected Components: ->->Cycle: ->->-> Pairs: APP(app(mapbt,f:S),app(app(app(branch,x:S),l:S),r:S)) -> APP(app(mapbt,f:S),l:S) APP(app(mapbt,f:S),app(app(app(branch,x:S),l:S),r:S)) -> APP(app(mapbt,f:S),r:S) ->->-> Rules: app(app(mapbt,f:S),app(app(app(branch,x:S),l:S),r:S)) -> app(app(app(branch,app(f:S,x:S)),app(app(mapbt,f:S),l:S)),app(app(mapbt,f:S),r:S)) app(app(mapbt,f:S),app(leaf,x:S)) -> app(leaf,app(f:S,x:S)) Problem 1: Subterm Processor: -> Pairs: APP(app(mapbt,f:S),app(app(app(branch,x:S),l:S),r:S)) -> APP(app(mapbt,f:S),l:S) APP(app(mapbt,f:S),app(app(app(branch,x:S),l:S),r:S)) -> APP(app(mapbt,f:S),r:S) -> Rules: app(app(mapbt,f:S),app(app(app(branch,x:S),l:S),r:S)) -> app(app(app(branch,app(f:S,x:S)),app(app(mapbt,f:S),l:S)),app(app(mapbt,f:S),r:S)) app(app(mapbt,f:S),app(leaf,x:S)) -> app(leaf,app(f:S,x:S)) ->Projection: pi(APP) = 2 Problem 1: SCC Processor: -> Pairs: Empty -> Rules: app(app(mapbt,f:S),app(app(app(branch,x:S),l:S),r:S)) -> app(app(app(branch,app(f:S,x:S)),app(app(mapbt,f:S),l:S)),app(app(mapbt,f:S),r:S)) app(app(mapbt,f:S),app(leaf,x:S)) -> app(leaf,app(f:S,x:S)) ->Strongly Connected Components: There is no strongly connected component The problem is finite.