YES Problem 1: (VAR v_NonEmpty:S x1:S) (RULES c(c(x1:S)) -> c(x1:S) c(f(x1:S)) -> f(c(c(x1:S))) f(x1:S) -> n(c(c(x1:S))) n(f(x1:S)) -> f(n(x1:S)) n(s(x1:S)) -> f(s(s(x1:S))) ) Problem 1: Dependency Pairs Processor: -> Pairs: C(f(x1:S)) -> C(c(x1:S)) C(f(x1:S)) -> C(x1:S) C(f(x1:S)) -> F(c(c(x1:S))) F(x1:S) -> C(c(x1:S)) F(x1:S) -> C(x1:S) F(x1:S) -> N(c(c(x1:S))) N(f(x1:S)) -> F(n(x1:S)) N(f(x1:S)) -> N(x1:S) N(s(x1:S)) -> F(s(s(x1:S))) -> Rules: c(c(x1:S)) -> c(x1:S) c(f(x1:S)) -> f(c(c(x1:S))) f(x1:S) -> n(c(c(x1:S))) n(f(x1:S)) -> f(n(x1:S)) n(s(x1:S)) -> f(s(s(x1:S))) Problem 1: SCC Processor: -> Pairs: C(f(x1:S)) -> C(c(x1:S)) C(f(x1:S)) -> C(x1:S) C(f(x1:S)) -> F(c(c(x1:S))) F(x1:S) -> C(c(x1:S)) F(x1:S) -> C(x1:S) F(x1:S) -> N(c(c(x1:S))) N(f(x1:S)) -> F(n(x1:S)) N(f(x1:S)) -> N(x1:S) N(s(x1:S)) -> F(s(s(x1:S))) -> Rules: c(c(x1:S)) -> c(x1:S) c(f(x1:S)) -> f(c(c(x1:S))) f(x1:S) -> n(c(c(x1:S))) n(f(x1:S)) -> f(n(x1:S)) n(s(x1:S)) -> f(s(s(x1:S))) ->Strongly Connected Components: ->->Cycle: ->->-> Pairs: C(f(x1:S)) -> C(c(x1:S)) C(f(x1:S)) -> C(x1:S) C(f(x1:S)) -> F(c(c(x1:S))) F(x1:S) -> C(c(x1:S)) F(x1:S) -> C(x1:S) F(x1:S) -> N(c(c(x1:S))) N(f(x1:S)) -> F(n(x1:S)) N(f(x1:S)) -> N(x1:S) N(s(x1:S)) -> F(s(s(x1:S))) ->->-> Rules: c(c(x1:S)) -> c(x1:S) c(f(x1:S)) -> f(c(c(x1:S))) f(x1:S) -> n(c(c(x1:S))) n(f(x1:S)) -> f(n(x1:S)) n(s(x1:S)) -> f(s(s(x1:S))) Problem 1: Reduction Pair Processor: -> Pairs: C(f(x1:S)) -> C(c(x1:S)) C(f(x1:S)) -> C(x1:S) C(f(x1:S)) -> F(c(c(x1:S))) F(x1:S) -> C(c(x1:S)) F(x1:S) -> C(x1:S) F(x1:S) -> N(c(c(x1:S))) N(f(x1:S)) -> F(n(x1:S)) N(f(x1:S)) -> N(x1:S) N(s(x1:S)) -> F(s(s(x1:S))) -> Rules: c(c(x1:S)) -> c(x1:S) c(f(x1:S)) -> f(c(c(x1:S))) f(x1:S) -> n(c(c(x1:S))) n(f(x1:S)) -> f(n(x1:S)) n(s(x1:S)) -> f(s(s(x1:S))) -> Usable rules: c(c(x1:S)) -> c(x1:S) c(f(x1:S)) -> f(c(c(x1:S))) f(x1:S) -> n(c(c(x1:S))) n(f(x1:S)) -> f(n(x1:S)) n(s(x1:S)) -> f(s(s(x1:S))) ->Interpretation type: Linear ->Coefficients: Natural Numbers ->Dimension: 1 ->Bound: 2 ->Interpretation: [c](X) = X [f](X) = 2.X + 2 [n](X) = 2.X + 2 [s](X) = X [C](X) = 2.X [F](X) = 2.X [N](X) = 2.X Problem 1: SCC Processor: -> Pairs: C(f(x1:S)) -> C(x1:S) C(f(x1:S)) -> F(c(c(x1:S))) F(x1:S) -> C(c(x1:S)) F(x1:S) -> C(x1:S) F(x1:S) -> N(c(c(x1:S))) N(f(x1:S)) -> F(n(x1:S)) N(f(x1:S)) -> N(x1:S) N(s(x1:S)) -> F(s(s(x1:S))) -> Rules: c(c(x1:S)) -> c(x1:S) c(f(x1:S)) -> f(c(c(x1:S))) f(x1:S) -> n(c(c(x1:S))) n(f(x1:S)) -> f(n(x1:S)) n(s(x1:S)) -> f(s(s(x1:S))) ->Strongly Connected Components: ->->Cycle: ->->-> Pairs: C(f(x1:S)) -> C(x1:S) C(f(x1:S)) -> F(c(c(x1:S))) F(x1:S) -> C(c(x1:S)) F(x1:S) -> C(x1:S) F(x1:S) -> N(c(c(x1:S))) N(f(x1:S)) -> F(n(x1:S)) N(f(x1:S)) -> N(x1:S) N(s(x1:S)) -> F(s(s(x1:S))) ->->-> Rules: c(c(x1:S)) -> c(x1:S) c(f(x1:S)) -> f(c(c(x1:S))) f(x1:S) -> n(c(c(x1:S))) n(f(x1:S)) -> f(n(x1:S)) n(s(x1:S)) -> f(s(s(x1:S))) Problem 1: Reduction Pair Processor: -> Pairs: C(f(x1:S)) -> C(x1:S) C(f(x1:S)) -> F(c(c(x1:S))) F(x1:S) -> C(c(x1:S)) F(x1:S) -> C(x1:S) F(x1:S) -> N(c(c(x1:S))) N(f(x1:S)) -> F(n(x1:S)) N(f(x1:S)) -> N(x1:S) N(s(x1:S)) -> F(s(s(x1:S))) -> Rules: c(c(x1:S)) -> c(x1:S) c(f(x1:S)) -> f(c(c(x1:S))) f(x1:S) -> n(c(c(x1:S))) n(f(x1:S)) -> f(n(x1:S)) n(s(x1:S)) -> f(s(s(x1:S))) -> Usable rules: c(c(x1:S)) -> c(x1:S) c(f(x1:S)) -> f(c(c(x1:S))) f(x1:S) -> n(c(c(x1:S))) n(f(x1:S)) -> f(n(x1:S)) n(s(x1:S)) -> f(s(s(x1:S))) ->Interpretation type: Linear ->Coefficients: Natural Numbers ->Dimension: 1 ->Bound: 2 ->Interpretation: [c](X) = X [f](X) = 2.X + 2 [n](X) = 2.X + 2 [s](X) = 2 [C](X) = 2.X + 2 [F](X) = 2.X + 2 [N](X) = 2.X + 2 Problem 1: SCC Processor: -> Pairs: C(f(x1:S)) -> F(c(c(x1:S))) F(x1:S) -> C(c(x1:S)) F(x1:S) -> C(x1:S) F(x1:S) -> N(c(c(x1:S))) N(f(x1:S)) -> F(n(x1:S)) N(f(x1:S)) -> N(x1:S) N(s(x1:S)) -> F(s(s(x1:S))) -> Rules: c(c(x1:S)) -> c(x1:S) c(f(x1:S)) -> f(c(c(x1:S))) f(x1:S) -> n(c(c(x1:S))) n(f(x1:S)) -> f(n(x1:S)) n(s(x1:S)) -> f(s(s(x1:S))) ->Strongly Connected Components: ->->Cycle: ->->-> Pairs: C(f(x1:S)) -> F(c(c(x1:S))) F(x1:S) -> C(c(x1:S)) F(x1:S) -> C(x1:S) F(x1:S) -> N(c(c(x1:S))) N(f(x1:S)) -> F(n(x1:S)) N(f(x1:S)) -> N(x1:S) N(s(x1:S)) -> F(s(s(x1:S))) ->->-> Rules: c(c(x1:S)) -> c(x1:S) c(f(x1:S)) -> f(c(c(x1:S))) f(x1:S) -> n(c(c(x1:S))) n(f(x1:S)) -> f(n(x1:S)) n(s(x1:S)) -> f(s(s(x1:S))) Problem 1: Reduction Pair Processor: -> Pairs: C(f(x1:S)) -> F(c(c(x1:S))) F(x1:S) -> C(c(x1:S)) F(x1:S) -> C(x1:S) F(x1:S) -> N(c(c(x1:S))) N(f(x1:S)) -> F(n(x1:S)) N(f(x1:S)) -> N(x1:S) N(s(x1:S)) -> F(s(s(x1:S))) -> Rules: c(c(x1:S)) -> c(x1:S) c(f(x1:S)) -> f(c(c(x1:S))) f(x1:S) -> n(c(c(x1:S))) n(f(x1:S)) -> f(n(x1:S)) n(s(x1:S)) -> f(s(s(x1:S))) -> Usable rules: c(c(x1:S)) -> c(x1:S) c(f(x1:S)) -> f(c(c(x1:S))) f(x1:S) -> n(c(c(x1:S))) n(f(x1:S)) -> f(n(x1:S)) n(s(x1:S)) -> f(s(s(x1:S))) ->Interpretation type: Linear ->Coefficients: Natural Numbers ->Dimension: 1 ->Bound: 2 ->Interpretation: [c](X) = X [f](X) = 2.X + 2 [n](X) = 2.X + 2 [s](X) = 1 [C](X) = X + 1 [F](X) = 2.X + 2 [N](X) = 2.X + 2 Problem 1: SCC Processor: -> Pairs: F(x1:S) -> C(c(x1:S)) F(x1:S) -> C(x1:S) F(x1:S) -> N(c(c(x1:S))) N(f(x1:S)) -> F(n(x1:S)) N(f(x1:S)) -> N(x1:S) N(s(x1:S)) -> F(s(s(x1:S))) -> Rules: c(c(x1:S)) -> c(x1:S) c(f(x1:S)) -> f(c(c(x1:S))) f(x1:S) -> n(c(c(x1:S))) n(f(x1:S)) -> f(n(x1:S)) n(s(x1:S)) -> f(s(s(x1:S))) ->Strongly Connected Components: ->->Cycle: ->->-> Pairs: F(x1:S) -> N(c(c(x1:S))) N(f(x1:S)) -> F(n(x1:S)) N(f(x1:S)) -> N(x1:S) N(s(x1:S)) -> F(s(s(x1:S))) ->->-> Rules: c(c(x1:S)) -> c(x1:S) c(f(x1:S)) -> f(c(c(x1:S))) f(x1:S) -> n(c(c(x1:S))) n(f(x1:S)) -> f(n(x1:S)) n(s(x1:S)) -> f(s(s(x1:S))) Problem 1: Reduction Pair Processor: -> Pairs: F(x1:S) -> N(c(c(x1:S))) N(f(x1:S)) -> F(n(x1:S)) N(f(x1:S)) -> N(x1:S) N(s(x1:S)) -> F(s(s(x1:S))) -> Rules: c(c(x1:S)) -> c(x1:S) c(f(x1:S)) -> f(c(c(x1:S))) f(x1:S) -> n(c(c(x1:S))) n(f(x1:S)) -> f(n(x1:S)) n(s(x1:S)) -> f(s(s(x1:S))) -> Usable rules: c(c(x1:S)) -> c(x1:S) c(f(x1:S)) -> f(c(c(x1:S))) f(x1:S) -> n(c(c(x1:S))) n(f(x1:S)) -> f(n(x1:S)) n(s(x1:S)) -> f(s(s(x1:S))) ->Interpretation type: Linear ->Coefficients: Natural Numbers ->Dimension: 1 ->Bound: 2 ->Interpretation: [c](X) = X [f](X) = 2.X + 2 [n](X) = 2.X + 2 [s](X) = 2 [F](X) = 2.X + 2 [N](X) = 2.X + 2 Problem 1: SCC Processor: -> Pairs: F(x1:S) -> N(c(c(x1:S))) N(f(x1:S)) -> F(n(x1:S)) N(s(x1:S)) -> F(s(s(x1:S))) -> Rules: c(c(x1:S)) -> c(x1:S) c(f(x1:S)) -> f(c(c(x1:S))) f(x1:S) -> n(c(c(x1:S))) n(f(x1:S)) -> f(n(x1:S)) n(s(x1:S)) -> f(s(s(x1:S))) ->Strongly Connected Components: ->->Cycle: ->->-> Pairs: F(x1:S) -> N(c(c(x1:S))) N(f(x1:S)) -> F(n(x1:S)) N(s(x1:S)) -> F(s(s(x1:S))) ->->-> Rules: c(c(x1:S)) -> c(x1:S) c(f(x1:S)) -> f(c(c(x1:S))) f(x1:S) -> n(c(c(x1:S))) n(f(x1:S)) -> f(n(x1:S)) n(s(x1:S)) -> f(s(s(x1:S))) Problem 1: Reduction Pair Processor: -> Pairs: F(x1:S) -> N(c(c(x1:S))) N(f(x1:S)) -> F(n(x1:S)) N(s(x1:S)) -> F(s(s(x1:S))) -> Rules: c(c(x1:S)) -> c(x1:S) c(f(x1:S)) -> f(c(c(x1:S))) f(x1:S) -> n(c(c(x1:S))) n(f(x1:S)) -> f(n(x1:S)) n(s(x1:S)) -> f(s(s(x1:S))) -> Usable rules: c(c(x1:S)) -> c(x1:S) c(f(x1:S)) -> f(c(c(x1:S))) f(x1:S) -> n(c(c(x1:S))) n(f(x1:S)) -> f(n(x1:S)) n(s(x1:S)) -> f(s(s(x1:S))) ->Interpretation type: Linear ->Coefficients: Natural Numbers ->Dimension: 1 ->Bound: 2 ->Interpretation: [c](X) = 0 [f](X) = 2.X [n](X) = 2.X [s](X) = 2 [F](X) = 2 [N](X) = 2.X + 2 Problem 1: SCC Processor: -> Pairs: F(x1:S) -> N(c(c(x1:S))) N(f(x1:S)) -> F(n(x1:S)) -> Rules: c(c(x1:S)) -> c(x1:S) c(f(x1:S)) -> f(c(c(x1:S))) f(x1:S) -> n(c(c(x1:S))) n(f(x1:S)) -> f(n(x1:S)) n(s(x1:S)) -> f(s(s(x1:S))) ->Strongly Connected Components: ->->Cycle: ->->-> Pairs: F(x1:S) -> N(c(c(x1:S))) N(f(x1:S)) -> F(n(x1:S)) ->->-> Rules: c(c(x1:S)) -> c(x1:S) c(f(x1:S)) -> f(c(c(x1:S))) f(x1:S) -> n(c(c(x1:S))) n(f(x1:S)) -> f(n(x1:S)) n(s(x1:S)) -> f(s(s(x1:S))) Problem 1: Reduction Pair Processor: -> Pairs: F(x1:S) -> N(c(c(x1:S))) N(f(x1:S)) -> F(n(x1:S)) -> Rules: c(c(x1:S)) -> c(x1:S) c(f(x1:S)) -> f(c(c(x1:S))) f(x1:S) -> n(c(c(x1:S))) n(f(x1:S)) -> f(n(x1:S)) n(s(x1:S)) -> f(s(s(x1:S))) -> Usable rules: c(c(x1:S)) -> c(x1:S) c(f(x1:S)) -> f(c(c(x1:S))) f(x1:S) -> n(c(c(x1:S))) n(f(x1:S)) -> f(n(x1:S)) n(s(x1:S)) -> f(s(s(x1:S))) ->Interpretation type: Linear ->Coefficients: Natural Numbers ->Dimension: 2 ->Bound: 1 ->Interpretation: [c](X) = [1 0;0 0].X [f](X) = [1 0;0 1].X + [1;0] [n](X) = [1 1;0 1].X [s](X) = [1 0;0 0].X + [0;1] [F](X) = [1 0;0 1].X + [1;1] [N](X) = [1 1;0 1].X + [0;1] Problem 1: SCC Processor: -> Pairs: N(f(x1:S)) -> F(n(x1:S)) -> Rules: c(c(x1:S)) -> c(x1:S) c(f(x1:S)) -> f(c(c(x1:S))) f(x1:S) -> n(c(c(x1:S))) n(f(x1:S)) -> f(n(x1:S)) n(s(x1:S)) -> f(s(s(x1:S))) ->Strongly Connected Components: There is no strongly connected component The problem is finite.