/export/starexec/sandbox/solver/bin/starexec_run_default /export/starexec/sandbox/benchmark/theBenchmark.xml /export/starexec/sandbox/output/output_files -------------------------------------------------------------------------------- YES Problem 1: (VAR x y z) (RULES and(false,x) -> false and(true,true) -> true and(x,false) -> false cond(true,x,y,z) -> cond(and(gr(x,z),gr(y,z)),p(x),p(y),z) gr(0,0) -> false gr(0,x) -> false gr(s(x),0) -> true gr(s(x),s(y)) -> gr(x,y) p(0) -> 0 p(s(x)) -> x ) Problem 1: Innermost Equivalent Processor: -> Rules: and(false,x) -> false and(true,true) -> true and(x,false) -> false cond(true,x,y,z) -> cond(and(gr(x,z),gr(y,z)),p(x),p(y),z) gr(0,0) -> false gr(0,x) -> false gr(s(x),0) -> true gr(s(x),s(y)) -> gr(x,y) p(0) -> 0 p(s(x)) -> x -> The term rewriting system is non-overlaping or locally confluent overlay system. Therefore, innermost termination implies termination. Problem 1: Dependency Pairs Processor: -> Pairs: COND(true,x,y,z) -> AND(gr(x,z),gr(y,z)) COND(true,x,y,z) -> COND(and(gr(x,z),gr(y,z)),p(x),p(y),z) COND(true,x,y,z) -> GR(x,z) COND(true,x,y,z) -> GR(y,z) COND(true,x,y,z) -> P(x) COND(true,x,y,z) -> P(y) GR(s(x),s(y)) -> GR(x,y) -> Rules: and(false,x) -> false and(true,true) -> true and(x,false) -> false cond(true,x,y,z) -> cond(and(gr(x,z),gr(y,z)),p(x),p(y),z) gr(0,0) -> false gr(0,x) -> false gr(s(x),0) -> true gr(s(x),s(y)) -> gr(x,y) p(0) -> 0 p(s(x)) -> x Problem 1: SCC Processor: -> Pairs: COND(true,x,y,z) -> AND(gr(x,z),gr(y,z)) COND(true,x,y,z) -> COND(and(gr(x,z),gr(y,z)),p(x),p(y),z) COND(true,x,y,z) -> GR(x,z) COND(true,x,y,z) -> GR(y,z) COND(true,x,y,z) -> P(x) COND(true,x,y,z) -> P(y) GR(s(x),s(y)) -> GR(x,y) -> Rules: and(false,x) -> false and(true,true) -> true and(x,false) -> false cond(true,x,y,z) -> cond(and(gr(x,z),gr(y,z)),p(x),p(y),z) gr(0,0) -> false gr(0,x) -> false gr(s(x),0) -> true gr(s(x),s(y)) -> gr(x,y) p(0) -> 0 p(s(x)) -> x ->Strongly Connected Components: ->->Cycle: ->->-> Pairs: GR(s(x),s(y)) -> GR(x,y) ->->-> Rules: and(false,x) -> false and(true,true) -> true and(x,false) -> false cond(true,x,y,z) -> cond(and(gr(x,z),gr(y,z)),p(x),p(y),z) gr(0,0) -> false gr(0,x) -> false gr(s(x),0) -> true gr(s(x),s(y)) -> gr(x,y) p(0) -> 0 p(s(x)) -> x ->->Cycle: ->->-> Pairs: COND(true,x,y,z) -> COND(and(gr(x,z),gr(y,z)),p(x),p(y),z) ->->-> Rules: and(false,x) -> false and(true,true) -> true and(x,false) -> false cond(true,x,y,z) -> cond(and(gr(x,z),gr(y,z)),p(x),p(y),z) gr(0,0) -> false gr(0,x) -> false gr(s(x),0) -> true gr(s(x),s(y)) -> gr(x,y) p(0) -> 0 p(s(x)) -> x The problem is decomposed in 2 subproblems. Problem 1.1: Subterm Processor: -> Pairs: GR(s(x),s(y)) -> GR(x,y) -> Rules: and(false,x) -> false and(true,true) -> true and(x,false) -> false cond(true,x,y,z) -> cond(and(gr(x,z),gr(y,z)),p(x),p(y),z) gr(0,0) -> false gr(0,x) -> false gr(s(x),0) -> true gr(s(x),s(y)) -> gr(x,y) p(0) -> 0 p(s(x)) -> x ->Projection: pi(GR) = 1 Problem 1.1: SCC Processor: -> Pairs: Empty -> Rules: and(false,x) -> false and(true,true) -> true and(x,false) -> false cond(true,x,y,z) -> cond(and(gr(x,z),gr(y,z)),p(x),p(y),z) gr(0,0) -> false gr(0,x) -> false gr(s(x),0) -> true gr(s(x),s(y)) -> gr(x,y) p(0) -> 0 p(s(x)) -> x ->Strongly Connected Components: There is no strongly connected component The problem is finite. Problem 1.2: Reduction Pairs Processor: -> Pairs: COND(true,x,y,z) -> COND(and(gr(x,z),gr(y,z)),p(x),p(y),z) -> Rules: and(false,x) -> false and(true,true) -> true and(x,false) -> false cond(true,x,y,z) -> cond(and(gr(x,z),gr(y,z)),p(x),p(y),z) gr(0,0) -> false gr(0,x) -> false gr(s(x),0) -> true gr(s(x),s(y)) -> gr(x,y) p(0) -> 0 p(s(x)) -> x -> Usable rules: and(false,x) -> false and(true,true) -> true and(x,false) -> false gr(0,0) -> false gr(0,x) -> false gr(s(x),0) -> true gr(s(x),s(y)) -> gr(x,y) p(0) -> 0 p(s(x)) -> x ->Interpretation type: Linear ->Coefficients: All rationals ->Dimension: 1 ->Bound: 2 ->Interpretation: [and](X1,X2) = X2 [gr](X1,X2) = 1/2.X1 [p](X) = 1/2.X [0] = 0 [false] = 0 [s](X) = 2.X + 2 [true] = 1/2 [COND](X1,X2,X3,X4) = 2.X1 + 2.X3 Problem 1.2: SCC Processor: -> Pairs: Empty -> Rules: and(false,x) -> false and(true,true) -> true and(x,false) -> false cond(true,x,y,z) -> cond(and(gr(x,z),gr(y,z)),p(x),p(y),z) gr(0,0) -> false gr(0,x) -> false gr(s(x),0) -> true gr(s(x),s(y)) -> gr(x,y) p(0) -> 0 p(s(x)) -> x ->Strongly Connected Components: There is no strongly connected component The problem is finite.