0.00/0.17 NO 0.00/0.17 Input TRS: 0.00/0.17 1: min(x,0()) -> 0() 0.00/0.17 2: min(0(),y) -> 0() 0.00/0.17 3: min(s(x),s(y)) -> s(min(x,y)) 0.00/0.17 4: max(x,0()) -> x 0.00/0.17 5: max(0(),y) -> y 0.00/0.17 6: max(s(x),s(y)) -> s(max(x,y)) 0.00/0.17 7: -(x,0()) -> x 0.00/0.17 8: -(s(x),s(y)) -> -(x,y) 0.00/0.17 9: gcd(nil()) -> 0() 0.00/0.17 10: gcd(cons(x,nil())) -> x 0.00/0.17 11: gcd(cons(0(),y)) -> gcd(y) 0.00/0.17 12: gcd(cons(x,cons(y,z))) -> gcd(cons(-(x,y),cons(y,z))) 0.00/0.17 13: gcd(cons(x,cons(y,z))) ->= gcd(cons(max(x,y),cons(min(x,y),z))) 0.00/0.17 Number of strict rules: 12 0.00/0.17 Direct POLO(bPol) ... failed. 0.00/0.17 Uncurrying gcd 0.00/0.17 1: min(x,0()) -> 0() 0.00/0.17 2: min(0(),y) -> 0() 0.00/0.17 3: min(s(x),s(y)) -> s(min(x,y)) 0.00/0.17 4: max(x,0()) -> x 0.00/0.17 5: max(0(),y) -> y 0.00/0.17 6: max(s(x),s(y)) -> s(max(x,y)) 0.00/0.17 7: -(x,0()) -> x 0.00/0.17 8: -(s(x),s(y)) -> -(x,y) 0.00/0.17 9: gcd^1_nil() -> 0() 0.00/0.17 10: gcd^1_cons(x,nil()) -> x 0.00/0.17 11: gcd^1_cons(0(),y) -> gcd(y) 0.00/0.17 12: gcd^1_cons(x,cons(y,z)) -> gcd^1_cons(-(x,y),cons(y,z)) 0.00/0.17 13: gcd^1_cons(x,cons(y,z)) ->= gcd^1_cons(max(x,y),cons(min(x,y),z)) 0.00/0.17 14: gcd(cons(_1,_2)) ->= gcd^1_cons(_1,_2) 0.00/0.17 15: gcd(nil()) ->= gcd^1_nil() 0.00/0.17 Number of strict rules: 12 0.00/0.17 Direct POLO(bPol) ... failed. 0.00/0.17 Dependency Pairs: 0.00/0.17 #1: #max(s(x),s(y)) -> #max(x,y) 0.00/0.17 #2: #gcd^1_cons(x,cons(y,z)) ->? #gcd^1_cons(max(x,y),cons(min(x,y),z)) 0.00/0.17 #3: #gcd^1_cons(x,cons(y,z)) ->? #max(x,y) 0.00/0.17 #4: #gcd^1_cons(x,cons(y,z)) ->? #min(x,y) 0.00/0.17 #5: #gcd^1_cons(0(),y) -> #gcd(y) 0.00/0.17 #6: #gcd^1_cons(x,cons(y,z)) -> #gcd^1_cons(-(x,y),cons(y,z)) 0.00/0.17 #7: #gcd^1_cons(x,cons(y,z)) -> #-(x,y) 0.00/0.17 #8: #gcd(cons(_1,_2)) ->? #gcd^1_cons(_1,_2) 0.00/0.17 #9: #min(s(x),s(y)) -> #min(x,y) 0.00/0.17 #10: #-(s(x),s(y)) -> #-(x,y) 0.00/0.17 #11: #gcd(nil()) ->? #gcd^1_nil() 0.00/0.17 Number of SCCs: 4, DPs: 7 0.00/0.17 SCC { #1 } 0.00/0.17 POLO(Sum)... succeeded. 0.00/0.17 s w: x1 + 1 0.00/0.17 gcd w: 0 0.00/0.17 gcd^1_nil w: 0 0.00/0.17 #min w: 0 0.00/0.17 #gcd^1_nil w: 0 0.00/0.17 0 w: 0 0.00/0.17 max w: 0 0.00/0.17 nil w: 0 0.00/0.17 #max w: x1 + x2 0.00/0.17 - w: 0 0.00/0.17 gcd^1_cons w: 0 0.00/0.17 min w: 0 0.00/0.17 #gcd^1_cons w: 0 0.00/0.17 #- w: 0 0.00/0.17 cons w: 0 0.00/0.17 #gcd w: 0 0.00/0.17 USABLE RULES: { } 0.00/0.17 Removed DPs: #1 0.00/0.17 Number of SCCs: 3, DPs: 6 0.00/0.17 SCC { #9 } 0.00/0.17 POLO(Sum)... succeeded. 0.00/0.17 s w: x1 + 1 0.00/0.17 gcd w: 0 0.00/0.17 gcd^1_nil w: 0 0.00/0.17 #min w: x2 0.00/0.17 #gcd^1_nil w: 0 0.00/0.17 0 w: 0 0.00/0.17 max w: 0 0.00/0.17 nil w: 0 0.00/0.17 #max w: 0 0.00/0.17 - w: 0 0.00/0.17 gcd^1_cons w: 0 0.00/0.17 min w: 0 0.00/0.17 #gcd^1_cons w: 0 0.00/0.17 #- w: 0 0.00/0.17 cons w: 0 0.00/0.17 #gcd w: 0 0.00/0.17 USABLE RULES: { } 0.00/0.17 Removed DPs: #9 0.00/0.17 Number of SCCs: 2, DPs: 5 0.00/0.17 SCC { #10 } 0.00/0.17 POLO(Sum)... succeeded. 0.00/0.17 s w: x1 + 1 0.00/0.17 gcd w: 0 0.00/0.17 gcd^1_nil w: 0 0.00/0.17 #min w: 0 0.00/0.17 #gcd^1_nil w: 0 0.00/0.17 0 w: 0 0.00/0.17 max w: 0 0.00/0.17 nil w: 0 0.00/0.17 #max w: 0 0.00/0.17 - w: 0 0.00/0.17 gcd^1_cons w: 0 0.00/0.17 min w: 0 0.00/0.17 #gcd^1_cons w: 0 0.00/0.17 #- w: x2 0.00/0.17 cons w: 0 0.00/0.17 #gcd w: 0 0.00/0.17 USABLE RULES: { } 0.00/0.17 Removed DPs: #10 0.00/0.17 Number of SCCs: 1, DPs: 4 0.00/0.17 SCC { #2 #5 #6 #8 } 0.00/0.17 POLO(Sum)... succeeded. 0.00/0.17 s w: 1 0.00/0.17 gcd w: 0 0.00/0.17 gcd^1_nil w: 0 0.00/0.17 #min w: 0 0.00/0.17 #gcd^1_nil w: 0 0.00/0.17 0 w: 1 0.00/0.17 max w: x1 + x2 + 1 0.00/0.17 nil w: 0 0.00/0.17 #max w: 0 0.00/0.17 - w: x1 + x2 + 1 0.00/0.17 gcd^1_cons w: 0 0.00/0.17 min w: 1 0.00/0.17 #gcd^1_cons w: x2 + 1 0.00/0.17 #- w: 0 0.00/0.17 cons w: x2 + 2 0.00/0.17 #gcd w: x1 0.00/0.17 USABLE RULES: { 1..3 } 0.00/0.17 Removed DPs: #5 #8 0.00/0.17 Number of SCCs: 1, DPs: 2 0.00/0.17 SCC { #2 #6 } 0.00/0.17 POLO(Sum)... POLO(max)... QLPOS... POLO(mSum)... QWPOpS(mSum)... Mat2b... failed. 0.00/0.17 Finding a loop... found. 0.00/0.17 #gcd^1_cons(x,cons(y_{1},z_{1})) -#6-> 0.00/0.17 #gcd^1_cons(-(x,y_{1}),cons(y_{1},z_{1})) --->* 0.00/0.17 #gcd^1_cons(-(x,y_{1}),cons(y_{1},z_{1})) 0.00/0.17 Looping with: [ x := -(x,y_{1}); y_{1} := y_{1}; z_{1} := z_{1}; ] 0.00/0.17 EOF