YES Input TRS: AC symbols: plus 1: f(plus(x,y)) -> plus(f(x),y) 2: plus(g(x),y) -> g(plus(x,y)) 3: plus(f(a()),g(b())) -> plus(f(b()),g(a())) 4: h(a(),b()) -> h(b(),a()) 5: h(a(),g(g(a()))) -> h(g(a()),f(a())) 6: h(g(a()),a()) -> h(a(),g(b())) 7: h(g(a()),b()) -> h(a(),g(a())) Number of strict rules: 7 Direct POLO(bPol) ... removes: 1 5 a w: 841 h w: x1 + x2 b w: 841 f w: 2 * x1 plus w: x1 + x2 + 18588 g w: x1 + 842 Number of strict rules: 5 Direct POLO(bPol) ... removes: 4 7 6 a w: 28225 h w: 2 * x1 + x2 b w: 28224 f w: x1 plus w: x1 + x2 + 18588 g w: x1 + 844 Number of strict rules: 2 Direct POLO(bPol) ... failed. Uncurrying ... failed. Dependency Pairs: #1: #plus(g(x),y) -> #plus(x,y) #2: #plus(f(a()),g(b())) -> #plus(f(b()),g(a())) #3: #plus(x,plus(y,z)) ->= #plus(plus(x,y),z) #4: #plus(x,plus(y,z)) ->= #plus(x,y) Number of SCCs: 1, DPs: 4 SCC { #1..4 } POLO(Sum)... succeeded. a w: 1 h w: 0 b w: 2 #plus w: x1 + x2 f w: 0 plus w: x1 + x2 + 8856 g w: x1 + 11798 USABLE RULES: { 2 3 8 } Removed DPs: #1 #2 #4 Number of SCCs: 1, DPs: 1 SCC { #3 } only weak rules. Number of SCCs: 0, DPs: 0 Next Dependency Pairs: #5: #plus(plus(g(x),y),_1) -> #plus(g(plus(x,y)),_1) #6: #plus(plus(f(a()),g(b())),_1) -> #plus(plus(f(b()),g(a())),_1) #7: #plus(x,plus(y,z)) ->= #plus(plus(x,y),z) #8: #plus(x,plus(y,z)) ->= #plus(x,y) Number of SCCs: 1, DPs: 4 SCC { #5..8 } POLO(Sum)... succeeded. a w: 1 h w: 0 b w: 2 #plus w: x1 + x2 f w: 0 plus w: x1 + x2 + 8856 g w: x1 + 42736 USABLE RULES: { 2 3 8 } Removed DPs: #6 #8 Number of SCCs: 1, DPs: 2 SCC { #5 #7 } POLO(Sum)... succeeded. a w: 1 h w: 0 b w: 2 #plus w: x1 + x2 f w: 23623 plus w: x1 + x2 + 1 g w: 20538 USABLE RULES: { 2 3 8 } Removed DPs: #5 Number of SCCs: 1, DPs: 1 SCC { #7 } only weak rules. Number of SCCs: 0, DPs: 0