Input TRS: 1: dbl(0()) -> 0() 2: dbl(s(X)) -> s(n__s(n__dbl(activate(X)))) 3: dbls(nil()) -> nil() 4: dbls(cons(X,Y)) -> cons(n__dbl(activate(X)),n__dbls(activate(Y))) 5: sel(0(),cons(X,Y)) -> activate(X) 6: sel(s(X),cons(Y,Z)) -> sel(activate(X),activate(Z)) 7: indx(nil(),X) -> nil() 8: indx(cons(X,Y),Z) -> cons(n__sel(activate(X),activate(Z)),n__indx(activate(Y),activate(Z))) 9: from(X) -> cons(activate(X),n__from(n__s(activate(X)))) 10: s(X) -> n__s(X) 11: dbl(X) -> n__dbl(X) 12: dbls(X) -> n__dbls(X) 13: sel(X1,X2) -> n__sel(X1,X2) 14: indx(X1,X2) -> n__indx(X1,X2) 15: from(X) -> n__from(X) 16: activate(n__s(X)) -> s(X) 17: activate(n__dbl(X)) -> dbl(X) 18: activate(n__dbls(X)) -> dbls(X) 19: activate(n__sel(X1,X2)) -> sel(X1,X2) 20: activate(n__indx(X1,X2)) -> indx(X1,X2) 21: activate(n__from(X)) -> from(X) 22: activate(X) -> X Number of strict rules: 22 Direct Order(PosReal,>,Poly) ... failed. Freezing ... failed. Dependency Pairs: #1: #dbl(s(X)) -> #s(n__s(n__dbl(activate(X)))) #2: #dbl(s(X)) -> #activate(X) #3: #sel(s(X),cons(Y,Z)) -> #sel(activate(X),activate(Z)) #4: #sel(s(X),cons(Y,Z)) -> #activate(X) #5: #sel(s(X),cons(Y,Z)) -> #activate(Z) #6: #from(X) -> #activate(X) #7: #from(X) -> #activate(X) #8: #activate(n__indx(X1,X2)) -> #indx(X1,X2) #9: #sel(0(),cons(X,Y)) -> #activate(X) #10: #activate(n__dbl(X)) -> #dbl(X) #11: #activate(n__sel(X1,X2)) -> #sel(X1,X2) #12: #activate(n__from(X)) -> #from(X) #13: #activate(n__s(X)) -> #s(X) #14: #indx(cons(X,Y),Z) -> #activate(X) #15: #indx(cons(X,Y),Z) -> #activate(Z) #16: #indx(cons(X,Y),Z) -> #activate(Y) #17: #indx(cons(X,Y),Z) -> #activate(Z) #18: #dbls(cons(X,Y)) -> #activate(X) #19: #dbls(cons(X,Y)) -> #activate(Y) #20: #activate(n__dbls(X)) -> #dbls(X) Number of SCCs: 1, DPs: 18, edges: 77 SCC { #2..12 #14..20 } Removing DPs: Order(PosReal,>,Sum)... Order(PosReal,>,Max)... succeeded. s(x1) weight: x1 dbls(x1) weight: (/ 1 4) + x1 activate(x1) weight: x1 dbl(x1) weight: (/ 1 4) + x1 indx(x1,x2) weight: max{(/ 5 8) + x2, (/ 3 4) + x1} n__indx(x1,x2) weight: max{(/ 5 8) + x2, (/ 3 4) + x1} n__from(x1) weight: (/ 1 4) + x1 #dbl(x1) weight: (/ 1 8) + x1 #activate(x1) weight: x1 #dbls(x1) weight: (/ 1 8) + x1 n__dbls(x1) weight: (/ 1 4) + x1 n__s(x1) weight: x1 n__dbl(x1) weight: (/ 1 4) + x1 0() weight: 0 #sel(x1,x2) weight: max{(/ 3 8) + x2, (/ 1 8) + x1} #indx(x1,x2) weight: max{(/ 1 2) + x2, (/ 1 8) + x1} sel(x1,x2) weight: max{(/ 1 2) + x2, (/ 1 4) + x1} from(x1) weight: (/ 1 4) + x1 #s(x1) weight: 0 nil() weight: (/ 3 4) n__sel(x1,x2) weight: max{(/ 1 2) + x2, (/ 1 4) + x1} #from(x1) weight: (/ 1 8) + x1 cons(x1,x2) weight: max{x2, (/ 1 8) + x1} Usable rules: { 1..22 } Removed DPs: #2 #4..12 #14..20 Number of SCCs: 1, DPs: 1, edges: 1 SCC { #3 } Removing DPs: Order(PosReal,>,Sum)... Order(PosReal,>,Max)... QLPOpS... Order(PosReal,>,MaxSum)... QWPOpS(PosReal,>,MaxSum)... succeeded. s(x1) weight: x1 status: [x1] precedence above: n__s #sel dbls(x1) weight: (/ 1 4) + x1 status: [x1] precedence above: s dbl n__dbls n__s n__dbl #sel nil cons activate(x1) weight: x1 status: x1 dbl(x1) weight: x1 status: [x1] precedence above: s n__s n__dbl #sel indx(x1,x2) weight: (/ 1 2) + x2 status: [x2] precedence above: s dbl n__indx n__s n__dbl #sel sel nil n__sel cons n__indx(x1,x2) weight: (/ 1 2) + x2 status: [x2] precedence above: s dbl indx n__s n__dbl #sel sel nil n__sel cons n__from(x1) weight: (/ 1 4) + x1 status: [] precedence above: s dbl n__s n__dbl #sel sel from n__sel cons #dbl(x1) weight: (/ 1 4) status: [] precedence above: #activate(x1) weight: (/ 1 4) status: [] precedence above: #dbls(x1) weight: (/ 1 4) status: [] precedence above: n__dbls(x1) weight: (/ 1 4) + x1 status: [x1] precedence above: s dbls dbl n__s n__dbl #sel nil cons n__s(x1) weight: x1 status: [x1] precedence above: s #sel n__dbl(x1) weight: x1 status: [x1] precedence above: s dbl n__s #sel 0() weight: (/ 1 4) status: [] precedence above: #sel(x1,x2) weight: x1 status: [x1] precedence above: #indx(x1,x2) weight: x2 status: [x2] precedence above: sel(x1,x2) weight: (/ 1 2) + x2 status: [] precedence above: n__sel from(x1) weight: (/ 1 4) + x1 status: [] precedence above: s dbl n__from n__s n__dbl #sel sel n__sel cons #s(x1) weight: (/ 1 4) status: [] precedence above: nil() weight: (/ 1 4) status: [] precedence above: n__sel(x1,x2) weight: (/ 1 2) + x2 status: [] precedence above: sel #from(x1) weight: (/ 1 4) status: [] precedence above: cons(x1,x2) weight: max{x2, x1} status: [x1] precedence above: s dbl n__s n__dbl #sel Usable rules: { 1..22 } Removed DPs: #3 Number of SCCs: 0, DPs: 0, edges: 0 YES