Input TRS: 1: a__from(X) -> cons(mark(X),from(s(X))) 2: a__sel(0(),cons(X,Y)) -> mark(X) 3: a__sel(s(X),cons(Y,Z)) -> a__sel(mark(X),mark(Z)) 4: mark(from(X)) -> a__from(mark(X)) 5: mark(sel(X1,X2)) -> a__sel(mark(X1),mark(X2)) 6: mark(cons(X1,X2)) -> cons(mark(X1),X2) 7: mark(s(X)) -> s(mark(X)) 8: mark(0()) -> 0() 9: a__from(X) -> from(X) 10: a__sel(X1,X2) -> sel(X1,X2) Number of strict rules: 10 Direct Order(PosReal,>,Poly) ... failed. Freezing ... failed. Dependency Pairs: #1: #a__sel(0(),cons(X,Y)) -> #mark(X) #2: #mark(cons(X1,X2)) -> #mark(X1) #3: #mark(s(X)) -> #mark(X) #4: #mark(sel(X1,X2)) -> #a__sel(mark(X1),mark(X2)) #5: #mark(sel(X1,X2)) -> #mark(X1) #6: #mark(sel(X1,X2)) -> #mark(X2) #7: #a__sel(s(X),cons(Y,Z)) -> #a__sel(mark(X),mark(Z)) #8: #a__sel(s(X),cons(Y,Z)) -> #mark(X) #9: #a__sel(s(X),cons(Y,Z)) -> #mark(Z) #10: #a__from(X) -> #mark(X) #11: #mark(from(X)) -> #a__from(mark(X)) #12: #mark(from(X)) -> #mark(X) Number of SCCs: 1, DPs: 12, edges: 72 SCC { #1..12 } Removing DPs: Order(PosReal,>,Sum)... Order(PosReal,>,Max)... succeeded. s(x1) weight: x1 #a__from(x1) weight: (/ 1 2) + x1 a__from(x1) weight: (/ 1 2) + x1 #mark(x1) weight: (/ 1 4) + x1 0() weight: (/ 1 4) from(x1) weight: (/ 1 2) + x1 sel(x1,x2) weight: max{x2, x1} #a__sel(x1,x2) weight: max{(/ 1 4) + x2, (/ 1 4) + x1} mark(x1) weight: x1 a__sel(x1,x2) weight: max{x2, x1} cons(x1,x2) weight: max{x2, (/ 1 4) + x1} Usable rules: { 1..10 } Removed DPs: #1 #2 #10..12 Number of SCCs: 1, DPs: 7, edges: 26 SCC { #3..9 } Removing DPs: Order(PosReal,>,Sum)... Order(PosReal,>,Max)... succeeded. s(x1) weight: x1 #a__from(x1) weight: (/ 1 2) + x1 a__from(x1) weight: (/ 1 2) + x1 #mark(x1) weight: (/ 1 4) + x1 0() weight: (/ 1 4) from(x1) weight: (/ 1 2) + x1 sel(x1,x2) weight: max{(/ 1 4) + x2, x1} #a__sel(x1,x2) weight: max{(/ 1 2) + x2, (/ 1 4) + x1} mark(x1) weight: x1 a__sel(x1,x2) weight: max{(/ 1 4) + x2, x1} cons(x1,x2) weight: max{x2, (/ 1 4) + x1} Usable rules: { 1..10 } Removed DPs: #6 #9 Number of SCCs: 1, DPs: 5, edges: 13 SCC { #3..5 #7 #8 } Removing DPs: Order(PosReal,>,Sum)... Order(PosReal,>,Max)... succeeded. s(x1) weight: x1 #a__from(x1) weight: (/ 1 4) + x1 a__from(x1) weight: (/ 1 4) + x1 #mark(x1) weight: x1 0() weight: (/ 1 8) from(x1) weight: (/ 1 4) + x1 sel(x1,x2) weight: max{(/ 1 4) + x2, (/ 1 2) + x1} #a__sel(x1,x2) weight: max{(/ 1 8) + x2, (/ 3 8) + x1} mark(x1) weight: x1 a__sel(x1,x2) weight: max{(/ 1 4) + x2, (/ 1 2) + x1} cons(x1,x2) weight: max{x2, (/ 1 8) + x1} Usable rules: { 1..10 } Removed DPs: #4 #5 #8 Number of SCCs: 2, DPs: 2, edges: 2 SCC { #3 } Removing DPs: Order(PosReal,>,Sum)... succeeded. s(x1) weight: (/ 1 8) + x1 #a__from(x1) weight: (/ 3 8) a__from(x1) weight: (/ 1 4) #mark(x1) weight: (/ 1 8) + x1 0() weight: 0 from(x1) weight: (/ 3 8) + x1 sel(x1,x2) weight: (/ 3 8) #a__sel(x1,x2) weight: 0 mark(x1) weight: (/ 1 8) a__sel(x1,x2) weight: (/ 1 4) cons(x1,x2) weight: (/ 1 4) + x2 Usable rules: { } Removed DPs: #3 Number of SCCs: 1, DPs: 1, edges: 1 SCC { #7 } Removing DPs: Order(PosReal,>,Sum)... Order(PosReal,>,Max)... QLPOpS... Order(PosReal,>,MaxSum)... succeeded. s(x1) weight: max{0, (/ 1 4) + x1} #a__from(x1) weight: 0 a__from(x1) weight: max{0, (/ 1 2) + x1} #mark(x1) weight: 0 0() weight: (/ 1 4) from(x1) weight: max{0, (/ 1 2) + x1} sel(x1,x2) weight: max{0, (/ 1 4) + x2 + x1} #a__sel(x1,x2) weight: max{0, (/ 1 4) + x1} mark(x1) weight: max{0, x1} a__sel(x1,x2) weight: max{0, (/ 1 4) + x2 + x1} cons(x1,x2) weight: max{0, (/ 1 4) + x1, (- (/ 1 4)) + x2} Usable rules: { 1..10 } Removed DPs: #7 Number of SCCs: 0, DPs: 0, edges: 0 YES