Input TRS: 1: min(0(),y) -> 0() 2: min(x,0()) -> 0() 3: min(s(x),s(y)) -> s(min(x,y)) 4: max(0(),y) -> y 5: max(x,0()) -> x 6: max(s(x),s(y)) -> s(max(x,y)) 7: twice(0()) -> 0() 8: twice(s(x)) -> s(s(twice(x))) 9: -(x,0()) -> x 10: -(s(x),s(y)) -> -(x,y) 11: p(s(x)) -> x 12: f(s(x),s(y)) -> f(-(max(s(x),s(y)),min(s(x),s(y))),p(twice(min(x,y)))) Number of strict rules: 12 Direct Order(PosReal,>,Poly) ... failed. Freezing ... failed. Dependency Pairs: #1: #max(s(x),s(y)) -> #max(x,y) #2: #f(s(x),s(y)) -> #f(-(max(s(x),s(y)),min(s(x),s(y))),p(twice(min(x,y)))) #3: #f(s(x),s(y)) -> #-(max(s(x),s(y)),min(s(x),s(y))) #4: #f(s(x),s(y)) -> #max(s(x),s(y)) #5: #f(s(x),s(y)) -> #min(s(x),s(y)) #6: #f(s(x),s(y)) -> #p(twice(min(x,y))) #7: #f(s(x),s(y)) -> #twice(min(x,y)) #8: #f(s(x),s(y)) -> #min(x,y) #9: #-(s(x),s(y)) -> #-(x,y) #10: #min(s(x),s(y)) -> #min(x,y) #11: #twice(s(x)) -> #twice(x) Number of SCCs: 5, DPs: 5, edges: 5 SCC { #11 } Removing DPs: Order(PosReal,>,Sum)... succeeded. s(x1) weight: (/ 1 2) + x1 twice(x1) weight: 0 #min(x1,x2) weight: 0 #p(x1) weight: 0 f(x1,x2) weight: 0 p(x1) weight: 0 0() weight: 0 max(x1,x2) weight: 0 #max(x1,x2) weight: 0 -(x1,x2) weight: 0 #f(x1,x2) weight: 0 #twice(x1) weight: x1 min(x1,x2) weight: 0 #-(x1,x2) weight: 0 Usable rules: { } Removed DPs: #11 Number of SCCs: 4, DPs: 4, edges: 4 SCC { #10 } Removing DPs: Order(PosReal,>,Sum)... succeeded. s(x1) weight: (/ 1 2) + x1 twice(x1) weight: 0 #min(x1,x2) weight: x2 #p(x1) weight: 0 f(x1,x2) weight: 0 p(x1) weight: 0 0() weight: 0 max(x1,x2) weight: 0 #max(x1,x2) weight: 0 -(x1,x2) weight: 0 #f(x1,x2) weight: 0 #twice(x1) weight: 0 min(x1,x2) weight: 0 #-(x1,x2) weight: 0 Usable rules: { } Removed DPs: #10 Number of SCCs: 3, DPs: 3, edges: 3 SCC { #1 } Removing DPs: Order(PosReal,>,Sum)... succeeded. s(x1) weight: (/ 1 2) + x1 twice(x1) weight: 0 #min(x1,x2) weight: 0 #p(x1) weight: 0 f(x1,x2) weight: 0 p(x1) weight: 0 0() weight: 0 max(x1,x2) weight: 0 #max(x1,x2) weight: x2 -(x1,x2) weight: 0 #f(x1,x2) weight: 0 #twice(x1) weight: 0 min(x1,x2) weight: 0 #-(x1,x2) weight: 0 Usable rules: { } Removed DPs: #1 Number of SCCs: 2, DPs: 2, edges: 2 SCC { #9 } Removing DPs: Order(PosReal,>,Sum)... succeeded. s(x1) weight: (/ 1 2) + x1 twice(x1) weight: 0 #min(x1,x2) weight: 0 #p(x1) weight: 0 f(x1,x2) weight: 0 p(x1) weight: 0 0() weight: 0 max(x1,x2) weight: 0 #max(x1,x2) weight: 0 -(x1,x2) weight: 0 #f(x1,x2) weight: 0 #twice(x1) weight: 0 min(x1,x2) weight: 0 #-(x1,x2) weight: x1 Usable rules: { } Removed DPs: #9 Number of SCCs: 1, DPs: 1, edges: 1 SCC { #2 } 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