/export/starexec/sandbox2/solver/bin/starexec_run_default /export/starexec/sandbox2/benchmark/theBenchmark.xml /export/starexec/sandbox2/output/output_files -------------------------------------------------------------------------------- YES Problem 1: (VAR v_NonEmpty:S x:S y:S) (RULES f(0) -> s(0) f(s(x:S)) -> minus(s(x:S),g(f(x:S))) g(0) -> 0 g(s(x:S)) -> minus(s(x:S),f(g(x:S))) minus(s(x:S),s(y:S)) -> minus(x:S,y:S) minus(x:S,0) -> x:S ) Problem 1: Innermost Equivalent Processor: -> Rules: f(0) -> s(0) f(s(x:S)) -> minus(s(x:S),g(f(x:S))) g(0) -> 0 g(s(x:S)) -> minus(s(x:S),f(g(x:S))) minus(s(x:S),s(y:S)) -> minus(x:S,y:S) minus(x:S,0) -> x:S -> The term rewriting system is non-overlaping or locally confluent overlay system. Therefore, innermost termination implies termination. Problem 1: Dependency Pairs Processor: -> Pairs: F(s(x:S)) -> F(x:S) F(s(x:S)) -> G(f(x:S)) F(s(x:S)) -> MINUS(s(x:S),g(f(x:S))) G(s(x:S)) -> F(g(x:S)) G(s(x:S)) -> G(x:S) G(s(x:S)) -> MINUS(s(x:S),f(g(x:S))) MINUS(s(x:S),s(y:S)) -> MINUS(x:S,y:S) -> Rules: f(0) -> s(0) f(s(x:S)) -> minus(s(x:S),g(f(x:S))) g(0) -> 0 g(s(x:S)) -> minus(s(x:S),f(g(x:S))) minus(s(x:S),s(y:S)) -> minus(x:S,y:S) minus(x:S,0) -> x:S Problem 1: SCC Processor: -> Pairs: F(s(x:S)) -> F(x:S) F(s(x:S)) -> G(f(x:S)) F(s(x:S)) -> MINUS(s(x:S),g(f(x:S))) G(s(x:S)) -> F(g(x:S)) G(s(x:S)) -> G(x:S) G(s(x:S)) -> MINUS(s(x:S),f(g(x:S))) MINUS(s(x:S),s(y:S)) -> MINUS(x:S,y:S) -> Rules: f(0) -> s(0) f(s(x:S)) -> minus(s(x:S),g(f(x:S))) g(0) -> 0 g(s(x:S)) -> minus(s(x:S),f(g(x:S))) minus(s(x:S),s(y:S)) -> minus(x:S,y:S) minus(x:S,0) -> x:S ->Strongly Connected Components: ->->Cycle: ->->-> Pairs: MINUS(s(x:S),s(y:S)) -> MINUS(x:S,y:S) ->->-> Rules: f(0) -> s(0) f(s(x:S)) -> minus(s(x:S),g(f(x:S))) g(0) -> 0 g(s(x:S)) -> minus(s(x:S),f(g(x:S))) minus(s(x:S),s(y:S)) -> minus(x:S,y:S) minus(x:S,0) -> x:S ->->Cycle: ->->-> Pairs: F(s(x:S)) -> F(x:S) F(s(x:S)) -> G(f(x:S)) G(s(x:S)) -> F(g(x:S)) G(s(x:S)) -> G(x:S) ->->-> Rules: f(0) -> s(0) f(s(x:S)) -> minus(s(x:S),g(f(x:S))) g(0) -> 0 g(s(x:S)) -> minus(s(x:S),f(g(x:S))) minus(s(x:S),s(y:S)) -> minus(x:S,y:S) minus(x:S,0) -> x:S The problem is decomposed in 2 subproblems. Problem 1.1: Subterm Processor: -> Pairs: MINUS(s(x:S),s(y:S)) -> MINUS(x:S,y:S) -> Rules: f(0) -> s(0) f(s(x:S)) -> minus(s(x:S),g(f(x:S))) g(0) -> 0 g(s(x:S)) -> minus(s(x:S),f(g(x:S))) minus(s(x:S),s(y:S)) -> minus(x:S,y:S) minus(x:S,0) -> x:S ->Projection: pi(MINUS) = 1 Problem 1.1: SCC Processor: -> Pairs: Empty -> Rules: f(0) -> s(0) f(s(x:S)) -> minus(s(x:S),g(f(x:S))) g(0) -> 0 g(s(x:S)) -> minus(s(x:S),f(g(x:S))) minus(s(x:S),s(y:S)) -> minus(x:S,y:S) minus(x:S,0) -> x:S ->Strongly Connected Components: There is no strongly connected component The problem is finite. Problem 1.2: Reduction Pairs Processor: -> Pairs: F(s(x:S)) -> F(x:S) F(s(x:S)) -> G(f(x:S)) G(s(x:S)) -> F(g(x:S)) G(s(x:S)) -> G(x:S) -> Rules: f(0) -> s(0) f(s(x:S)) -> minus(s(x:S),g(f(x:S))) g(0) -> 0 g(s(x:S)) -> minus(s(x:S),f(g(x:S))) minus(s(x:S),s(y:S)) -> minus(x:S,y:S) minus(x:S,0) -> x:S -> Usable rules: f(0) -> s(0) f(s(x:S)) -> minus(s(x:S),g(f(x:S))) g(0) -> 0 g(s(x:S)) -> minus(s(x:S),f(g(x:S))) minus(s(x:S),s(y:S)) -> minus(x:S,y:S) minus(x:S,0) -> x:S ->Interpretation type: Linear ->Coefficients: Natural Numbers ->Dimension: 1 ->Bound: 2 ->Interpretation: [f](X) = 2.X + 1 [g](X) = X [minus](X1,X2) = X1 [0] = 0 [fSNonEmpty] = 0 [s](X) = 2.X + 1 [F](X) = 2.X + 2 [G](X) = X + 1 [MINUS](X1,X2) = 0 Problem 1.2: SCC Processor: -> Pairs: F(s(x:S)) -> G(f(x:S)) G(s(x:S)) -> F(g(x:S)) G(s(x:S)) -> G(x:S) -> Rules: f(0) -> s(0) f(s(x:S)) -> minus(s(x:S),g(f(x:S))) g(0) -> 0 g(s(x:S)) -> minus(s(x:S),f(g(x:S))) minus(s(x:S),s(y:S)) -> minus(x:S,y:S) minus(x:S,0) -> x:S ->Strongly Connected Components: ->->Cycle: ->->-> Pairs: F(s(x:S)) -> G(f(x:S)) G(s(x:S)) -> F(g(x:S)) G(s(x:S)) -> G(x:S) ->->-> Rules: f(0) -> s(0) f(s(x:S)) -> minus(s(x:S),g(f(x:S))) g(0) -> 0 g(s(x:S)) -> minus(s(x:S),f(g(x:S))) minus(s(x:S),s(y:S)) -> minus(x:S,y:S) minus(x:S,0) -> x:S Problem 1.2: Reduction Pairs Processor: -> Pairs: F(s(x:S)) -> G(f(x:S)) G(s(x:S)) -> F(g(x:S)) G(s(x:S)) -> G(x:S) -> Rules: f(0) -> s(0) f(s(x:S)) -> minus(s(x:S),g(f(x:S))) g(0) -> 0 g(s(x:S)) -> minus(s(x:S),f(g(x:S))) minus(s(x:S),s(y:S)) -> minus(x:S,y:S) minus(x:S,0) -> x:S -> Usable rules: f(0) -> s(0) f(s(x:S)) -> minus(s(x:S),g(f(x:S))) g(0) -> 0 g(s(x:S)) -> minus(s(x:S),f(g(x:S))) minus(s(x:S),s(y:S)) -> minus(x:S,y:S) minus(x:S,0) -> x:S ->Interpretation type: Linear ->Coefficients: Natural Numbers ->Dimension: 1 ->Bound: 2 ->Interpretation: [f](X) = 2.X + 2 [g](X) = X + 1 [minus](X1,X2) = X1 + 1 [0] = 1 [fSNonEmpty] = 0 [s](X) = 2.X + 2 [F](X) = X + 2 [G](X) = X + 1 [MINUS](X1,X2) = 0 Problem 1.2: SCC Processor: -> Pairs: G(s(x:S)) -> F(g(x:S)) G(s(x:S)) -> G(x:S) -> Rules: f(0) -> s(0) f(s(x:S)) -> minus(s(x:S),g(f(x:S))) g(0) -> 0 g(s(x:S)) -> minus(s(x:S),f(g(x:S))) minus(s(x:S),s(y:S)) -> minus(x:S,y:S) minus(x:S,0) -> x:S ->Strongly Connected Components: ->->Cycle: ->->-> Pairs: G(s(x:S)) -> G(x:S) ->->-> Rules: f(0) -> s(0) f(s(x:S)) -> minus(s(x:S),g(f(x:S))) g(0) -> 0 g(s(x:S)) -> minus(s(x:S),f(g(x:S))) minus(s(x:S),s(y:S)) -> minus(x:S,y:S) minus(x:S,0) -> x:S Problem 1.2: Subterm Processor: -> Pairs: G(s(x:S)) -> G(x:S) -> Rules: f(0) -> s(0) f(s(x:S)) -> minus(s(x:S),g(f(x:S))) g(0) -> 0 g(s(x:S)) -> minus(s(x:S),f(g(x:S))) minus(s(x:S),s(y:S)) -> minus(x:S,y:S) minus(x:S,0) -> x:S ->Projection: pi(G) = 1 Problem 1.2: SCC Processor: -> Pairs: Empty -> Rules: f(0) -> s(0) f(s(x:S)) -> minus(s(x:S),g(f(x:S))) g(0) -> 0 g(s(x:S)) -> minus(s(x:S),f(g(x:S))) minus(s(x:S),s(y:S)) -> minus(x:S,y:S) minus(x:S,0) -> x:S ->Strongly Connected Components: There is no strongly connected component The problem is finite.