YES Input TRS: 1: a(f(),0()) -> a(s(),0()) 2: a(d(),0()) -> 0() 3: a(d(),a(s(),x)) -> a(s(),a(s(),a(d(),a(p(),a(s(),x))))) 4: a(f(),a(s(),x)) -> a(d(),a(f(),a(p(),a(s(),x)))) 5: a(p(),a(s(),x)) -> x Number of strict rules: 5 Direct POLO(bPol) ... removes: 1 a w: x1 + x2 d w: 0 s w: 0 f w: 1 p w: 0 0 w: 7 Number of strict rules: 4 Direct POLO(bPol) ... failed. Uncurrying a^1_p a 2: a^1_d(0()) -> 0() 3: a^1_d(a^1_s(x)) -> a^1_s(a^1_s(a^1_d(a^1_p^1_a^1_s(x)))) 4: a^1_f(a^1_s(x)) -> a^1_d(a^1_f(a^1_p^1_a^1_s(x))) 5: a^1_p^1_a^1_s(x) -> x 6: a(p(),_1) ->= a^1_p(_1) 7: a(d(),_1) ->= a^1_d(_1) 8: a(s(),_1) ->= a^1_s(_1) 9: a(f(),_1) ->= a^1_f(_1) 10: a^1_p(a^1_s(_1)) ->= a^1_p^1_a^1_s(_1) Number of strict rules: 4 Direct POLO(bPol) ... removes: 8 10 7 9 6 a w: 2 * x1 + 2 * x2 d w: 2447 s w: 2 a^1_f w: x1 + 1 f w: 1 p w: 1 0 w: 591 a^1_s w: x1 a^1_p^1_a^1_s w: x1 a^1_d w: x1 a^1_p w: 2 * x1 + 1 Number of strict rules: 4 Direct POLO(bPol) ... failed. Dependency Pairs: #1: #a^1_d(a^1_s(x)) -> #a^1_d(a^1_p^1_a^1_s(x)) #2: #a^1_d(a^1_s(x)) -> #a^1_p^1_a^1_s(x) #3: #a^1_f(a^1_s(x)) -> #a^1_d(a^1_f(a^1_p^1_a^1_s(x))) #4: #a^1_f(a^1_s(x)) -> #a^1_f(a^1_p^1_a^1_s(x)) #5: #a^1_f(a^1_s(x)) -> #a^1_p^1_a^1_s(x) Number of SCCs: 2, DPs: 2 SCC { #4 } POLO(Sum)... succeeded. a w: 0 d w: 0 s w: 0 a^1_f w: 0 #a^1_d w: 0 f w: 0 p w: 0 0 w: 0 a^1_s w: x1 + 2 a^1_p^1_a^1_s w: x1 + 1 a^1_d w: 0 a^1_p w: 0 #a^1_p^1_a^1_s w: 0 #a^1_f w: x1 USABLE RULES: { 5 } Removed DPs: #4 Number of SCCs: 1, DPs: 1 SCC { #1 } POLO(Sum)... succeeded. a w: 0 d w: 0 s w: 0 a^1_f w: 0 #a^1_d w: x1 f w: 0 p w: 0 0 w: 0 a^1_s w: x1 + 2 a^1_p^1_a^1_s w: x1 + 1 a^1_d w: 0 a^1_p w: 0 #a^1_p^1_a^1_s w: 0 #a^1_f w: x1 USABLE RULES: { 5 } Removed DPs: #1 Number of SCCs: 0, DPs: 0