/export/starexec/sandbox/solver/bin/starexec_run_default /export/starexec/sandbox/benchmark/theBenchmark.xml /export/starexec/sandbox/output/output_files -------------------------------------------------------------------------------- YES Input TRS: 1: minus(x,0()) -> x 2: minus(s(x),s(y)) -> minus(x,y) 3: quot(0(),s(y)) -> 0() 4: quot(s(x),s(y)) -> s(quot(minus(x,y),s(y))) 5: plus(s(x),s(y)) -> s(s(plus(if(gt(x,y),x,y),if(not(gt(x,y)),id(x),id(y))))) 6: plus(s(x),x) -> plus(if(gt(x,x),id(x),id(x)),s(x)) 7: plus(zero(),y) -> y 8: plus(id(x),s(y)) -> s(plus(x,if(gt(s(y),y),y,s(y)))) 9: id(x) -> x 10: if(true(),x,y) -> x 11: if(false(),x,y) -> y 12: not(x) -> if(x,false(),true()) 13: gt(s(x),zero()) -> true() 14: gt(zero(),y) -> false() 15: gt(s(x),s(y)) -> gt(x,y) Number of strict rules: 15 Direct poly ... failed. Freezing gt 1: minus(x,0()) -> x 2: minus(s(x),s(y)) -> minus(x,y) 3: quot(0(),s(y)) -> 0() 4: quot(s(x),s(y)) -> s(quot(minus(x,y),s(y))) 5: plus(s(x),s(y)) -> s(s(plus(if(gt(x,y),x,y),if(not(gt(x,y)),id(x),id(y))))) 6: plus(s(x),x) -> plus(if(gt(x,x),id(x),id(x)),s(x)) 7: plus(zero(),y) -> y 8: plus(id(x),s(y)) -> s(plus(x,if(gt❆1_s(y,y),y,s(y)))) 9: id(x) -> x 10: if(true(),x,y) -> x 11: if(false(),x,y) -> y 12: not(x) -> if(x,false(),true()) 13: gt❆1_s(x,zero()) -> true() 14: gt❆1_zero(y) -> false() 15: gt❆1_s(x,s(y)) -> gt(x,y) 16: gt(zero(),_1) ->= gt❆1_zero(_1) 17: gt(s(_1),_2) ->= gt❆1_s(_1,_2) Number of strict rules: 15 Direct poly ... failed. Dependency Pairs: #1: #minus(s(x),s(y)) -> #minus(x,y) #2: #plus(s(x),x) -> #plus(if(gt(x,x),id(x),id(x)),s(x)) #3: #plus(s(x),x) -> #if(gt(x,x),id(x),id(x)) #4: #plus(s(x),x) -> #gt(x,x) #5: #plus(s(x),x) -> #id(x) #6: #plus(s(x),x) -> #id(x) #7: #not(x) -> #if(x,false(),true()) #8: #plus(s(x),s(y)) -> #plus(if(gt(x,y),x,y),if(not(gt(x,y)),id(x),id(y))) #9: #plus(s(x),s(y)) -> #if(gt(x,y),x,y) #10: #plus(s(x),s(y)) -> #gt(x,y) #11: #plus(s(x),s(y)) -> #if(not(gt(x,y)),id(x),id(y)) #12: #plus(s(x),s(y)) -> #not(gt(x,y)) #13: #plus(s(x),s(y)) -> #gt(x,y) #14: #plus(s(x),s(y)) -> #id(x) #15: #plus(s(x),s(y)) -> #id(y) #16: #gt(s(_1),_2) ->? #gt❆1_s(_1,_2) #17: #gt(zero(),_1) ->? #gt❆1_zero(_1) #18: #plus(id(x),s(y)) -> #plus(x,if(gt❆1_s(y,y),y,s(y))) #19: #plus(id(x),s(y)) -> #if(gt❆1_s(y,y),y,s(y)) #20: #plus(id(x),s(y)) -> #gt❆1_s(y,y) #21: #gt❆1_s(x,s(y)) -> #gt(x,y) #22: #quot(s(x),s(y)) -> #quot(minus(x,y),s(y)) #23: #quot(s(x),s(y)) -> #minus(x,y) Number of SCCs: 4, DPs: 7 SCC { #1 } Sum... succeeded. zero() w: (0) s(x1) w: (1 + x1) gt(x1,x2) w: (0) minus(x1,x2) w: (0) #plus(x1,x2) w: (0) false() w: (0) #id(x1) w: (0) true() w: (0) gt❆1_zero(x1) w: (0) #not(x1) w: (0) #gt❆1_zero(x1) w: (0) 0() w: (0) if(x1,x2,x3) w: (0) quot(x1,x2) w: (0) #gt(x1,x2) w: (0) #gt❆1_s(x1,x2) w: (0) #minus(x1,x2) w: (x2 + x1) plus(x1,x2) w: (0) #if(x1,x2,x3) w: (0) id(x1) w: (0) #quot(x1,x2) w: (0) gt❆1_s(x1,x2) w: (0) not(x1) w: (0) USABLE RULES: { } Removed DPs: #1 Number of SCCs: 3, DPs: 6 SCC { #22 } Sum... succeeded. zero() w: (0) s(x1) w: (8857 + x1) gt(x1,x2) w: (0) minus(x1,x2) w: (8856 + x1) #plus(x1,x2) w: (0) false() w: (0) #id(x1) w: (0) true() w: (0) gt❆1_zero(x1) w: (0) #not(x1) w: (0) #gt❆1_zero(x1) w: (0) 0() w: (1) if(x1,x2,x3) w: (0) quot(x1,x2) w: (0) #gt(x1,x2) w: (0) #gt❆1_s(x1,x2) w: (0) #minus(x1,x2) w: (0) plus(x1,x2) w: (0) #if(x1,x2,x3) w: (0) id(x1) w: (0) #quot(x1,x2) w: (x1) gt❆1_s(x1,x2) w: (0) not(x1) w: (0) USABLE RULES: { 1 2 } Removed DPs: #22 Number of SCCs: 2, DPs: 5 SCC { #16 #21 } Sum... succeeded. zero() w: (0) s(x1) w: (8857 + x1) gt(x1,x2) w: (0) minus(x1,x2) w: (8856 + x1) #plus(x1,x2) w: (0) false() w: (0) #id(x1) w: (0) true() w: (0) gt❆1_zero(x1) w: (0) #not(x1) w: (0) #gt❆1_zero(x1) w: (0) 0() w: (1) if(x1,x2,x3) w: (0) quot(x1,x2) w: (0) #gt(x1,x2) w: (x1) #gt❆1_s(x1,x2) w: (1 + x1) #minus(x1,x2) w: (0) plus(x1,x2) w: (0) #if(x1,x2,x3) w: (0) id(x1) w: (0) #quot(x1,x2) w: (x1) gt❆1_s(x1,x2) w: (0) not(x1) w: (0) USABLE RULES: { 1 2 } Removed DPs: #16 #21 Number of SCCs: 1, DPs: 3 SCC { #2 #8 #18 } Sum... Max... succeeded. zero() w: (0) s(x1) w: (7 + x1) gt(x1,x2) w: (0) minus(x1,x2) w: (0) #plus(x1,x2) w: (max{8366 + x2, 8368 + x1}) false() w: (0) #id(x1) w: (0) true() w: (0) gt❆1_zero(x1) w: (0) #not(x1) w: (0) #gt❆1_zero(x1) w: (0) 0() w: (0) if(x1,x2,x3) w: (max{x3, 1 + x2, 3 + x1}) quot(x1,x2) w: (0) #gt(x1,x2) w: (0) #gt❆1_s(x1,x2) w: (0) #minus(x1,x2) w: (0) plus(x1,x2) w: (0) #if(x1,x2,x3) w: (0) id(x1) w: (x1) #quot(x1,x2) w: (0) gt❆1_s(x1,x2) w: (0) not(x1) w: (3 + x1) USABLE RULES: { 9..17 } Removed DPs: #2 #8 Number of SCCs: 1, DPs: 1 SCC { #18 } Sum... succeeded. zero() w: (1) s(x1) w: (1) gt(x1,x2) w: (2 + x2 + x1) minus(x1,x2) w: (8856 + x2 + x1) #plus(x1,x2) w: (11892 + x1) false() w: (5) #id(x1) w: (0) true() w: (2) gt❆1_zero(x1) w: (4) #not(x1) w: (0) #gt❆1_zero(x1) w: (0) 0() w: (0) if(x1,x2,x3) w: (x3 + x2) quot(x1,x2) w: (0) #gt(x1,x2) w: (0) #gt❆1_s(x1,x2) w: (1) #minus(x1,x2) w: (0) plus(x1,x2) w: (0) #if(x1,x2,x3) w: (0) id(x1) w: (2 + x1) #quot(x1,x2) w: (0) gt❆1_s(x1,x2) w: (1) not(x1) w: (7) USABLE RULES: { 9..12 } Removed DPs: #18 Number of SCCs: 0, DPs: 0