YES Input TRS: 1: cond1(true(),x,y,z) -> cond2(gr(y,z),x,y,z) 2: cond2(true(),x,y,z) -> cond2(gr(y,z),x,p(y),z) 3: cond2(false(),x,y,z) -> cond1(gr(x,z),p(x),y,z) 4: gr(0(),x) -> false() 5: gr(s(x),0()) -> true() 6: gr(s(x),s(y)) -> gr(x,y) 7: p(0()) -> 0() 8: p(s(x)) -> x Number of strict rules: 8 Direct POLO(bPol) ... failed. Uncurrying ... failed. Dependency Pairs: #1: #cond2(true(),x,y,z) -> #cond2(gr(y,z),x,p(y),z) #2: #cond2(true(),x,y,z) -> #gr(y,z) #3: #cond2(true(),x,y,z) -> #p(y) #4: #gr(s(x),s(y)) -> #gr(x,y) #5: #cond2(false(),x,y,z) -> #cond1(gr(x,z),p(x),y,z) #6: #cond2(false(),x,y,z) -> #gr(x,z) #7: #cond2(false(),x,y,z) -> #p(x) #8: #cond1(true(),x,y,z) -> #cond2(gr(y,z),x,y,z) #9: #cond1(true(),x,y,z) -> #gr(y,z) Number of SCCs: 2, DPs: 4 SCC { #4 } POLO(Sum)... succeeded. cond2 w: 0 s w: x1 + 1 #cond1 w: 0 false w: 0 #p w: 0 true w: 0 cond1 w: 0 p w: 0 0 w: 0 #gr w: x2 #cond2 w: 0 gr w: 0 USABLE RULES: { } Removed DPs: #4 Number of SCCs: 1, DPs: 3 SCC { #1 #5 #8 } POLO(Sum)... POLO(max)... QLPOS... POLO(mSum)... succeeded. cond2 w: 0 s w: max(x1 + 33957, 0) #cond1 w: max(x1 - 36469, x2 - 5854, 0) false w: 30613 #p w: 0 true w: 64570 cond1 w: max(x1 - 1, 0) p w: max(x1 - 2, 0) 0 w: 0 #gr w: 0 #cond2 w: max(x2 - 5855, 0) gr w: max(x1 + 30613, 0) USABLE RULES: { 4..8 } Removed DPs: #8 Number of SCCs: 1, DPs: 1 SCC { #1 } POLO(Sum)... POLO(max)... QLPOS... POLO(mSum)... succeeded. cond2 w: 0 s w: max(x1 + 2, 0) #cond1 w: max(x1, x2, 0) false w: 1 #p w: 0 true w: 20540 cond1 w: max(x1 - 1, 0) p w: max(x1 - 1, 0) 0 w: 0 #gr w: 0 #cond2 w: max(x1 + 15922, x3 + 36461, 0) gr w: max(x1 + 20538, 0) USABLE RULES: { 4..8 } Removed DPs: #1 Number of SCCs: 0, DPs: 0