/export/starexec/sandbox2/solver/bin/starexec_run_default /export/starexec/sandbox2/benchmark/theBenchmark.xml /export/starexec/sandbox2/output/output_files -------------------------------------------------------------------------------- YES Problem 1: (VAR x y) (RULES and(false,x) -> false and(true,true) -> true and(x,false) -> false cond(true,x,y) -> cond(and(gr(x,0),gr(y,0)),p(x),p(y)) 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) -> cond(and(gr(x,0),gr(y,0)),p(x),p(y)) 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) -> AND(gr(x,0),gr(y,0)) COND(true,x,y) -> COND(and(gr(x,0),gr(y,0)),p(x),p(y)) COND(true,x,y) -> GR(x,0) COND(true,x,y) -> GR(y,0) COND(true,x,y) -> P(x) COND(true,x,y) -> 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) -> cond(and(gr(x,0),gr(y,0)),p(x),p(y)) 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) -> AND(gr(x,0),gr(y,0)) COND(true,x,y) -> COND(and(gr(x,0),gr(y,0)),p(x),p(y)) COND(true,x,y) -> GR(x,0) COND(true,x,y) -> GR(y,0) COND(true,x,y) -> P(x) COND(true,x,y) -> 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) -> cond(and(gr(x,0),gr(y,0)),p(x),p(y)) 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) -> cond(and(gr(x,0),gr(y,0)),p(x),p(y)) 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) -> COND(and(gr(x,0),gr(y,0)),p(x),p(y)) ->->-> Rules: and(false,x) -> false and(true,true) -> true and(x,false) -> false cond(true,x,y) -> cond(and(gr(x,0),gr(y,0)),p(x),p(y)) 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) -> cond(and(gr(x,0),gr(y,0)),p(x),p(y)) 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) -> cond(and(gr(x,0),gr(y,0)),p(x),p(y)) 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) -> COND(and(gr(x,0),gr(y,0)),p(x),p(y)) -> Rules: and(false,x) -> false and(true,true) -> true and(x,false) -> false cond(true,x,y) -> cond(and(gr(x,0),gr(y,0)),p(x),p(y)) 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) = 1/2.X1 + 1/2.X2 + 1/2 [gr](X1,X2) = X1 + 1/2.X2 [p](X) = 1/2.X + 1/2 [0] = 0 [false] = 0 [s](X) = 2.X + 2 [true] = 2 [COND](X1,X2,X3) = 1/2.X1 + 1/2.X2 + 1/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) -> cond(and(gr(x,0),gr(y,0)),p(x),p(y)) 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.