/export/starexec/sandbox/solver/bin/starexec_run_Default /export/starexec/sandbox/benchmark/theBenchmark.xml /export/starexec/sandbox/output/output_files -------------------------------------------------------------------------------- YES Input TRS: 1: eq(0(),0()) -> true() 2: eq(0(),s(x)) -> false() 3: eq(s(x),0()) -> false() 4: eq(s(x),s(y)) -> eq(x,y) 5: le(0(),y) -> true() 6: le(s(x),0()) -> false() 7: le(s(x),s(y)) -> le(x,y) 8: app(nil(),y) -> y 9: app(add(n,x),y) -> add(n,app(x,y)) 10: min(add(n,nil())) -> n 11: min(add(n,add(m,x))) -> if_min(le(n,m),add(n,add(m,x))) 12: if_min(true(),add(n,add(m,x))) -> min(add(n,x)) 13: if_min(false(),add(n,add(m,x))) -> min(add(m,x)) 14: rm(n,nil()) -> nil() 15: rm(n,add(m,x)) -> if_rm(eq(n,m),n,add(m,x)) 16: if_rm(true(),n,add(m,x)) -> rm(n,x) 17: if_rm(false(),n,add(m,x)) -> add(m,rm(n,x)) 18: minsort(nil(),nil()) -> nil() 19: minsort(add(n,x),y) -> if_minsort(eq(n,min(add(n,x))),add(n,x),y) 20: if_minsort(true(),add(n,x),y) -> add(n,minsort(app(rm(n,x),y),nil())) 21: if_minsort(false(),add(n,x),y) -> minsort(x,add(n,y)) 22: rand(x) ->= x 23: rand(x) ->= rand(s(x)) Number of strict rules: 21 Direct POLO(bPol) ... failed. Uncurrying min 1: eq(0(),0()) -> true() 2: eq(0(),s(x)) -> false() 3: eq(s(x),0()) -> false() 4: eq(s(x),s(y)) -> eq(x,y) 5: le(0(),y) -> true() 6: le(s(x),0()) -> false() 7: le(s(x),s(y)) -> le(x,y) 8: app(nil(),y) -> y 9: app(add(n,x),y) -> add(n,app(x,y)) 10: min^1_add(n,nil()) -> n 11: min^1_add(n,add(m,x)) -> if_min(le(n,m),add(n,add(m,x))) 12: if_min(true(),add(n,add(m,x))) -> min^1_add(n,x) 13: if_min(false(),add(n,add(m,x))) -> min^1_add(m,x) 14: rm(n,nil()) -> nil() 15: rm(n,add(m,x)) -> if_rm(eq(n,m),n,add(m,x)) 16: if_rm(true(),n,add(m,x)) -> rm(n,x) 17: if_rm(false(),n,add(m,x)) -> add(m,rm(n,x)) 18: minsort(nil(),nil()) -> nil() 19: minsort(add(n,x),y) -> if_minsort(eq(n,min^1_add(n,x)),add(n,x),y) 20: if_minsort(true(),add(n,x),y) -> add(n,minsort(app(rm(n,x),y),nil())) 21: if_minsort(false(),add(n,x),y) -> minsort(x,add(n,y)) 22: rand(x) ->= x 23: rand(x) ->= rand(s(x)) 24: min(add(_1,_2)) ->= min^1_add(_1,_2) Number of strict rules: 21 Direct POLO(bPol) ... failed. Dependency Pairs: #1: #if_min(false(),add(n,add(m,x))) -> #min^1_add(m,x) #2: #app(add(n,x),y) -> #app(x,y) #3: #min^1_add(n,add(m,x)) -> #if_min(le(n,m),add(n,add(m,x))) #4: #min^1_add(n,add(m,x)) -> #le(n,m) #5: #min(add(_1,_2)) ->? #min^1_add(_1,_2) #6: #if_min(true(),add(n,add(m,x))) -> #min^1_add(n,x) #7: #if_minsort(true(),add(n,x),y) -> #minsort(app(rm(n,x),y),nil()) #8: #if_minsort(true(),add(n,x),y) -> #app(rm(n,x),y) #9: #if_minsort(true(),add(n,x),y) -> #rm(n,x) #10: #le(s(x),s(y)) -> #le(x,y) #11: #if_rm(false(),n,add(m,x)) -> #rm(n,x) #12: #minsort(add(n,x),y) -> #if_minsort(eq(n,min^1_add(n,x)),add(n,x),y) #13: #minsort(add(n,x),y) -> #eq(n,min^1_add(n,x)) #14: #minsort(add(n,x),y) -> #min^1_add(n,x) #15: #if_minsort(false(),add(n,x),y) -> #minsort(x,add(n,y)) #16: #if_rm(true(),n,add(m,x)) -> #rm(n,x) #17: #rm(n,add(m,x)) -> #if_rm(eq(n,m),n,add(m,x)) #18: #rm(n,add(m,x)) -> #eq(n,m) #19: #eq(s(x),s(y)) -> #eq(x,y) Number of SCCs: 6, DPs: 12 SCC { #19 } POLO(Sum)... POLO(max)... QLPOS... POLO(mSum)... QWPOpS(mSum)... succeeded. le s: [2,1] p: 2 w: max(x1 + 8, x2 + 6) if_rm s: [] p: 1 w: max(x1 + 3, x3) s s: [1] p: 0 w: x1 #le s: [] p: 0 w: max(x2) #if_rm s: [] p: 0 w: max(x1) #if_min s: [2,1] p: 0 w: max(x1 + 1, x2) eq s: [] p: 5 w: max(x2 + 4) false s: [] p: 1 w: 0 #min s: [] p: 0 w: 0 min^1_add s: [] p: 3 w: max(x1 + 12, x2 + 5) true s: [] p: 0 w: 2 rand s: [] p: 0 w: x1 + 1 #eq s: [2] p: 1 w: max(x1 + 2, x2 + 1) 0 s: [] p: 1 w: 2 nil s: [] p: 1 w: 7 #app s: [2] p: 0 w: max(x2) #if_minsort s: [2,1,3] p: 0 w: max(x1, x2, x3) min s: [] p: 3 w: x1 + 6 #min^1_add s: [1,2] p: 0 w: max(x1 + 1, x2) #minsort s: [] p: 0 w: max(x2) add s: [] p: 1 w: max(x1 + 7, x2) if_min s: [] p: 3 w: max(x1 + 2, x2 + 5) if_minsort s: [] p: 4 w: max(x2 + 1, x3 + 1) minsort s: [] p: 4 w: max(x1 + 1, x2 + 1) rm s: [] p: 1 w: max(x2) #rm s: [] p: 0 w: 0 app s: [1,2] p: 2 w: max(x1, x2) Removed DPs: #19 Number of SCCs: 5, DPs: 11 SCC { #10 } POLO(Sum)... POLO(max)... QLPOS... POLO(mSum)... QWPOpS(mSum)... succeeded. le s: [2,1] p: 2 w: max(x1 + 8, x2 + 6) if_rm s: [] p: 1 w: max(x1 + 3, x3) s s: [1] p: 0 w: x1 #le s: [2] p: 1 w: max(x2 + 1) #if_rm s: [] p: 0 w: max(x1) #if_min s: [2,1] p: 0 w: max(x1 + 1, x2) eq s: [] p: 5 w: max(x2 + 4) false s: [] p: 1 w: 0 #min s: [] p: 0 w: 0 min^1_add s: [] p: 3 w: max(x1 + 12, x2 + 5) true s: [] p: 0 w: 2 rand s: [] p: 0 w: x1 + 1 #eq s: [2] p: 1 w: max(x1 + 2, x2 + 1) 0 s: [] p: 1 w: 2 nil s: [] p: 1 w: 7 #app s: [2] p: 0 w: max(x2) #if_minsort s: [2,1,3] p: 0 w: max(x1, x2, x3) min s: [] p: 3 w: x1 + 6 #min^1_add s: [1,2] p: 0 w: max(x1 + 1, x2) #minsort s: [] p: 0 w: max(x2) add s: [] p: 1 w: max(x1 + 7, x2) if_min s: [] p: 3 w: max(x1 + 2, x2 + 5) if_minsort s: [] p: 4 w: max(x2 + 1, x3 + 1) minsort s: [] p: 4 w: max(x1 + 1, x2 + 1) rm s: [] p: 1 w: max(x2) #rm s: [] p: 0 w: 0 app s: [1,2] p: 2 w: max(x1, x2) Removed DPs: #10 Number of SCCs: 4, DPs: 10 SCC { #2 } POLO(Sum)... succeeded. le w: 1 if_rm w: x3 s w: 0 #le w: 0 #if_rm w: 0 #if_min w: 0 eq w: 1 false w: 1 #min w: 0 min^1_add w: x1 + x2 + 2 true w: 1 rand w: x1 #eq w: 0 0 w: 1 nil w: 0 #app w: x1 #if_minsort w: 0 min w: x1 + 1 #min^1_add w: 0 #minsort w: 0 add w: x1 + x2 + 1 if_min w: x1 + x2 if_minsort w: x2 + x3 + 1 minsort w: x1 + x2 + 1 rm w: x2 #rm w: 0 app w: x1 + x2 Removed DPs: #2 Number of SCCs: 3, DPs: 9 SCC { #11 #16 #17 } POLO(Sum)... succeeded. le w: 1 if_rm w: x3 s w: 0 #le w: 0 #if_rm w: x1 + x2 + x3 #if_min w: 0 eq w: 1 false w: 1 #min w: 0 min^1_add w: x1 + x2 + 3 true w: 1 rand w: x1 #eq w: 0 0 w: 1 nil w: 0 #app w: 0 #if_minsort w: 0 min w: x1 + 1 #min^1_add w: 0 #minsort w: 0 add w: x1 + x2 + 2 if_min w: x1 + x2 if_minsort w: x2 + x3 + 1 minsort w: x1 + x2 + 1 rm w: x2 #rm w: x1 + x2 + 2 app w: x1 + x2 Removed DPs: #11 #16 #17 Number of SCCs: 2, DPs: 6 SCC { #1 #3 #6 } POLO(Sum)... succeeded. le w: 1 if_rm w: x3 s w: 0 #le w: 0 #if_rm w: 0 #if_min w: x1 + x2 eq w: 1 false w: 1 #min w: 0 min^1_add w: x1 + x2 + 4 true w: 1 rand w: x1 #eq w: 0 0 w: 1 nil w: 0 #app w: 0 #if_minsort w: 0 min w: x1 + 1 #min^1_add w: x1 + x2 + 5 #minsort w: 0 add w: x1 + x2 + 3 if_min w: x1 + x2 if_minsort w: x2 + x3 + 1 minsort w: x1 + x2 + 1 rm w: x2 #rm w: 2 app w: x1 + x2 Removed DPs: #1 #3 #6 Number of SCCs: 1, DPs: 3 SCC { #7 #12 #15 } POLO(Sum)... succeeded. le w: 1 if_rm w: x3 s w: 0 #le w: 0 #if_rm w: 0 #if_min w: 0 eq w: 1 false w: 1 #min w: 0 min^1_add w: x1 + x2 + 4 true w: 1 rand w: x1 #eq w: 0 0 w: 1 nil w: 0 #app w: 0 #if_minsort w: x1 + x2 + x3 min w: x1 + 1 #min^1_add w: 5 #minsort w: x1 + x2 + 1 add w: x1 + x2 + 3 if_min w: x1 + x2 if_minsort w: x2 + x3 + 1 minsort w: x1 + x2 + 1 rm w: x2 #rm w: 2 app w: x1 + x2 Removed DPs: #7 Number of SCCs: 1, DPs: 2 SCC { #12 #15 } POLO(Sum)... succeeded. le w: 1 if_rm w: x3 s w: 0 #le w: 0 #if_rm w: 0 #if_min w: 0 eq w: 1 false w: 1 #min w: 0 min^1_add w: x1 + x2 + 4 true w: 1 rand w: x1 #eq w: 0 0 w: 1 nil w: 0 #app w: 0 #if_minsort w: x2 min w: x1 + 1 #min^1_add w: 5 #minsort w: x1 + 1 add w: x1 + x2 + 3 if_min w: x1 + x2 if_minsort w: x2 + x3 + 1 minsort w: x1 + x2 + 1 rm w: x2 #rm w: 2 app w: x1 + x2 Removed DPs: #12 #15 Number of SCCs: 0, DPs: 0