YES Problem 1: (VAR v_NonEmpty:S X:S) (RULES active(f(f(a))) -> mark(f(g(f(a)))) f(active(X:S)) -> f(X:S) f(mark(X:S)) -> f(X:S) g(active(X:S)) -> g(X:S) g(mark(X:S)) -> g(X:S) mark(f(X:S)) -> active(f(X:S)) mark(g(X:S)) -> active(g(mark(X:S))) mark(a) -> active(a) ) (STRATEGY INNERMOST) Problem 1: Dependency Pairs Processor: -> Pairs: ACTIVE(f(f(a))) -> MARK(f(g(f(a)))) F(active(X:S)) -> F(X:S) F(mark(X:S)) -> F(X:S) G(active(X:S)) -> G(X:S) G(mark(X:S)) -> G(X:S) MARK(f(X:S)) -> ACTIVE(f(X:S)) MARK(g(X:S)) -> ACTIVE(g(mark(X:S))) MARK(g(X:S)) -> G(mark(X:S)) MARK(g(X:S)) -> MARK(X:S) -> Rules: active(f(f(a))) -> mark(f(g(f(a)))) f(active(X:S)) -> f(X:S) f(mark(X:S)) -> f(X:S) g(active(X:S)) -> g(X:S) g(mark(X:S)) -> g(X:S) mark(f(X:S)) -> active(f(X:S)) mark(g(X:S)) -> active(g(mark(X:S))) mark(a) -> active(a) Problem 1: SCC Processor: -> Pairs: ACTIVE(f(f(a))) -> MARK(f(g(f(a)))) F(active(X:S)) -> F(X:S) F(mark(X:S)) -> F(X:S) G(active(X:S)) -> G(X:S) G(mark(X:S)) -> G(X:S) MARK(f(X:S)) -> ACTIVE(f(X:S)) MARK(g(X:S)) -> ACTIVE(g(mark(X:S))) MARK(g(X:S)) -> G(mark(X:S)) MARK(g(X:S)) -> MARK(X:S) -> Rules: active(f(f(a))) -> mark(f(g(f(a)))) f(active(X:S)) -> f(X:S) f(mark(X:S)) -> f(X:S) g(active(X:S)) -> g(X:S) g(mark(X:S)) -> g(X:S) mark(f(X:S)) -> active(f(X:S)) mark(g(X:S)) -> active(g(mark(X:S))) mark(a) -> active(a) ->Strongly Connected Components: ->->Cycle: ->->-> Pairs: G(active(X:S)) -> G(X:S) G(mark(X:S)) -> G(X:S) ->->-> Rules: active(f(f(a))) -> mark(f(g(f(a)))) f(active(X:S)) -> f(X:S) f(mark(X:S)) -> f(X:S) g(active(X:S)) -> g(X:S) g(mark(X:S)) -> g(X:S) mark(f(X:S)) -> active(f(X:S)) mark(g(X:S)) -> active(g(mark(X:S))) mark(a) -> active(a) ->->Cycle: ->->-> Pairs: F(active(X:S)) -> F(X:S) F(mark(X:S)) -> F(X:S) ->->-> Rules: active(f(f(a))) -> mark(f(g(f(a)))) f(active(X:S)) -> f(X:S) f(mark(X:S)) -> f(X:S) g(active(X:S)) -> g(X:S) g(mark(X:S)) -> g(X:S) mark(f(X:S)) -> active(f(X:S)) mark(g(X:S)) -> active(g(mark(X:S))) mark(a) -> active(a) ->->Cycle: ->->-> Pairs: ACTIVE(f(f(a))) -> MARK(f(g(f(a)))) MARK(f(X:S)) -> ACTIVE(f(X:S)) ->->-> Rules: active(f(f(a))) -> mark(f(g(f(a)))) f(active(X:S)) -> f(X:S) f(mark(X:S)) -> f(X:S) g(active(X:S)) -> g(X:S) g(mark(X:S)) -> g(X:S) mark(f(X:S)) -> active(f(X:S)) mark(g(X:S)) -> active(g(mark(X:S))) mark(a) -> active(a) ->->Cycle: ->->-> Pairs: MARK(g(X:S)) -> MARK(X:S) ->->-> Rules: active(f(f(a))) -> mark(f(g(f(a)))) f(active(X:S)) -> f(X:S) f(mark(X:S)) -> f(X:S) g(active(X:S)) -> g(X:S) g(mark(X:S)) -> g(X:S) mark(f(X:S)) -> active(f(X:S)) mark(g(X:S)) -> active(g(mark(X:S))) mark(a) -> active(a) The problem is decomposed in 4 subproblems. Problem 1.1: Subterm Processor: -> Pairs: G(active(X:S)) -> G(X:S) G(mark(X:S)) -> G(X:S) -> Rules: active(f(f(a))) -> mark(f(g(f(a)))) f(active(X:S)) -> f(X:S) f(mark(X:S)) -> f(X:S) g(active(X:S)) -> g(X:S) g(mark(X:S)) -> g(X:S) mark(f(X:S)) -> active(f(X:S)) mark(g(X:S)) -> active(g(mark(X:S))) mark(a) -> active(a) ->Projection: pi(G) = 1 Problem 1.1: SCC Processor: -> Pairs: Empty -> Rules: active(f(f(a))) -> mark(f(g(f(a)))) f(active(X:S)) -> f(X:S) f(mark(X:S)) -> f(X:S) g(active(X:S)) -> g(X:S) g(mark(X:S)) -> g(X:S) mark(f(X:S)) -> active(f(X:S)) mark(g(X:S)) -> active(g(mark(X:S))) mark(a) -> active(a) ->Strongly Connected Components: There is no strongly connected component The problem is finite. Problem 1.2: Subterm Processor: -> Pairs: F(active(X:S)) -> F(X:S) F(mark(X:S)) -> F(X:S) -> Rules: active(f(f(a))) -> mark(f(g(f(a)))) f(active(X:S)) -> f(X:S) f(mark(X:S)) -> f(X:S) g(active(X:S)) -> g(X:S) g(mark(X:S)) -> g(X:S) mark(f(X:S)) -> active(f(X:S)) mark(g(X:S)) -> active(g(mark(X:S))) mark(a) -> active(a) ->Projection: pi(F) = 1 Problem 1.2: SCC Processor: -> Pairs: Empty -> Rules: active(f(f(a))) -> mark(f(g(f(a)))) f(active(X:S)) -> f(X:S) f(mark(X:S)) -> f(X:S) g(active(X:S)) -> g(X:S) g(mark(X:S)) -> g(X:S) mark(f(X:S)) -> active(f(X:S)) mark(g(X:S)) -> active(g(mark(X:S))) mark(a) -> active(a) ->Strongly Connected Components: There is no strongly connected component The problem is finite. Problem 1.3: Reduction Pairs Processor: -> Pairs: ACTIVE(f(f(a))) -> MARK(f(g(f(a)))) MARK(f(X:S)) -> ACTIVE(f(X:S)) -> Rules: active(f(f(a))) -> mark(f(g(f(a)))) f(active(X:S)) -> f(X:S) f(mark(X:S)) -> f(X:S) g(active(X:S)) -> g(X:S) g(mark(X:S)) -> g(X:S) mark(f(X:S)) -> active(f(X:S)) mark(g(X:S)) -> active(g(mark(X:S))) mark(a) -> active(a) -> Usable rules: f(active(X:S)) -> f(X:S) f(mark(X:S)) -> f(X:S) g(active(X:S)) -> g(X:S) g(mark(X:S)) -> g(X:S) ->Interpretation type: Linear ->Coefficients: Natural Numbers ->Dimension: 1 ->Bound: 2 ->Interpretation: [active](X) = 2.X [f](X) = 2.X + 2 [g](X) = 2 [mark](X) = 2.X [a] = 2 [fSNonEmpty] = 0 [ACTIVE](X) = 2.X + 2 [F](X) = 0 [G](X) = 0 [MARK](X) = 2.X + 2 Problem 1.3: SCC Processor: -> Pairs: MARK(f(X:S)) -> ACTIVE(f(X:S)) -> Rules: active(f(f(a))) -> mark(f(g(f(a)))) f(active(X:S)) -> f(X:S) f(mark(X:S)) -> f(X:S) g(active(X:S)) -> g(X:S) g(mark(X:S)) -> g(X:S) mark(f(X:S)) -> active(f(X:S)) mark(g(X:S)) -> active(g(mark(X:S))) mark(a) -> active(a) ->Strongly Connected Components: There is no strongly connected component The problem is finite. Problem 1.4: Subterm Processor: -> Pairs: MARK(g(X:S)) -> MARK(X:S) -> Rules: active(f(f(a))) -> mark(f(g(f(a)))) f(active(X:S)) -> f(X:S) f(mark(X:S)) -> f(X:S) g(active(X:S)) -> g(X:S) g(mark(X:S)) -> g(X:S) mark(f(X:S)) -> active(f(X:S)) mark(g(X:S)) -> active(g(mark(X:S))) mark(a) -> active(a) ->Projection: pi(MARK) = 1 Problem 1.4: SCC Processor: -> Pairs: Empty -> Rules: active(f(f(a))) -> mark(f(g(f(a)))) f(active(X:S)) -> f(X:S) f(mark(X:S)) -> f(X:S) g(active(X:S)) -> g(X:S) g(mark(X:S)) -> g(X:S) mark(f(X:S)) -> active(f(X:S)) mark(g(X:S)) -> active(g(mark(X:S))) mark(a) -> active(a) ->Strongly Connected Components: There is no strongly connected component The problem is finite.