Input TRS: 1: p(0()) -> 0() 2: p(s(x)) -> x 3: le(0(),y) -> true() 4: le(s(x),0()) -> false() 5: le(s(x),s(y)) -> le(x,y) 6: minus(x,y) -> if(le(x,y),x,y) 7: if(true(),x,y) -> 0() 8: if(false(),x,y) -> s(minus(p(x),y)) Number of strict rules: 8 Direct Order(PosReal,>,Poly) ... failed. Freezing ... failed. Dependency Pairs: #1: #minus(x,y) -> #if(le(x,y),x,y) #2: #minus(x,y) -> #le(x,y) #3: #le(s(x),s(y)) -> #le(x,y) #4: #if(false(),x,y) -> #minus(p(x),y) #5: #if(false(),x,y) -> #p(x) Number of SCCs: 2, DPs: 3, edges: 3 SCC { #3 } Removing DPs: Order(PosReal,>,Sum)... succeeded. le(x1,x2) weight: 0 s(x1) weight: (/ 1 2) + x1 #le(x1,x2) weight: x2 minus(x1,x2) weight: 0 false() weight: 0 #p(x1) weight: 0 true() weight: 0 p(x1) weight: 0 0() weight: 0 if(x1,x2,x3) weight: 0 #minus(x1,x2) weight: 0 #if(x1,x2,x3) weight: 0 Usable rules: { } Removed DPs: #3 Number of SCCs: 1, DPs: 2, edges: 2 SCC { #1 #4 } Removing DPs: Order(PosReal,>,Sum)... Order(PosReal,>,Max)... QLPOpS... Order(PosReal,>,MaxSum)... succeeded. le(x1,x2) weight: max{0, (/ 1 4) + x1} s(x1) weight: max{0, (/ 1 4) + x1} #le(x1,x2) weight: 0 minus(x1,x2) weight: 0 false() weight: (/ 1 2) #p(x1) weight: 0 true() weight: (/ 1 4) p(x1) weight: max{0, (- (/ 1 4)) + x1} 0() weight: 0 if(x1,x2,x3) weight: 0 #minus(x1,x2) weight: max{0, x1} #if(x1,x2,x3) weight: max{0, (- (/ 1 4)) + x1, x2} Usable rules: { 1..5 } Removed DPs: #4 Number of SCCs: 0, DPs: 0, edges: 0 YES