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