Input TRS: 1: ge(x,0()) -> true() 2: ge(0(),s(y)) -> false() 3: ge(s(x),s(y)) -> ge(x,y) 4: minus(x,0()) -> x 5: minus(0(),y) -> 0() 6: minus(s(x),s(y)) -> minus(x,y) 7: id_inc(x) -> x 8: id_inc(x) -> s(x) 9: quot(x,y) -> div(x,y,0()) 10: div(x,y,z) -> if(ge(y,s(0())),ge(x,y),x,y,z) 11: if(false(),b,x,y,z) -> div_by_zero() 12: if(true(),false(),x,y,z) -> z 13: if(true(),true(),x,y,z) -> div(minus(x,y),y,id_inc(z)) Number of strict rules: 13 Direct Order(PosReal,>,Poly) ... failed. Freezing ... failed. Dependency Pairs: #1: #minus(s(x),s(y)) -> #minus(x,y) #2: #if(true(),true(),x,y,z) -> #div(minus(x,y),y,id_inc(z)) #3: #if(true(),true(),x,y,z) -> #minus(x,y) #4: #if(true(),true(),x,y,z) -> #id_inc(z) #5: #quot(x,y) -> #div(x,y,0()) #6: #div(x,y,z) -> #if(ge(y,s(0())),ge(x,y),x,y,z) #7: #div(x,y,z) -> #ge(y,s(0())) #8: #div(x,y,z) -> #ge(x,y) #9: #ge(s(x),s(y)) -> #ge(x,y) Number of SCCs: 3, DPs: 4, edges: 4 SCC { #9 } Removing DPs: Order(PosReal,>,Sum)... succeeded. #div(x1,x2,x3) weight: 0 s(x1) weight: (/ 1 2) + x1 minus(x1,x2) weight: 0 div_by_zero() weight: 0 false() weight: 0 div(x1,x2,x3) weight: 0 #ge(x1,x2) weight: x2 true() weight: 0 #id_inc(x1) weight: 0 0() weight: 0 if(x1,x2,x3,x4,x5) weight: 0 quot(x1,x2) weight: 0 ge(x1,x2) weight: 0 #minus(x1,x2) weight: 0 id_inc(x1) weight: 0 #if(x1,x2,x3,x4,x5) weight: 0 #quot(x1,x2) weight: 0 Usable rules: { } Removed DPs: #9 Number of SCCs: 2, DPs: 3, edges: 3 SCC { #1 } Removing DPs: Order(PosReal,>,Sum)... succeeded. #div(x1,x2,x3) weight: 0 s(x1) weight: (/ 1 2) + x1 minus(x1,x2) weight: 0 div_by_zero() weight: 0 false() weight: 0 div(x1,x2,x3) weight: 0 #ge(x1,x2) weight: 0 true() weight: 0 #id_inc(x1) weight: 0 0() weight: 0 if(x1,x2,x3,x4,x5) weight: 0 quot(x1,x2) weight: 0 ge(x1,x2) weight: 0 #minus(x1,x2) weight: x2 id_inc(x1) weight: 0 #if(x1,x2,x3,x4,x5) weight: 0 #quot(x1,x2) weight: 0 Usable rules: { } Removed DPs: #1 Number of SCCs: 1, DPs: 2, edges: 2 SCC { #2 #6 } Removing DPs: Order(PosReal,>,Sum)... Order(PosReal,>,Max)... QLPOpS... Order(PosReal,>,MaxSum)... QWPOpS(PosReal,>,MaxSum)... Order(PosReal,>,Sum-Sum; PosReal,≥,Sum-Sum)... Order(PosReal,>,Sum-Sum; NegReal,≥,Sum)... Order(PosReal,>,MaxSum-Sum; NegReal,≥,Sum)... failed. Removing edges: failed. Finding a loop... failed. MAYBE