YES Problem 1: (VAR v_NonEmpty:S X:S) (RULES active(g(X:S)) -> mark(h(X:S)) active(h(d)) -> mark(g(c)) active(c) -> mark(d) g(ok(X:S)) -> ok(g(X:S)) h(ok(X:S)) -> ok(h(X:S)) proper(g(X:S)) -> g(proper(X:S)) proper(h(X:S)) -> h(proper(X:S)) proper(c) -> ok(c) proper(d) -> ok(d) top(mark(X:S)) -> top(proper(X:S)) top(ok(X:S)) -> top(active(X:S)) ) (STRATEGY INNERMOST) Problem 1: Dependency Pairs Processor: -> Pairs: ACTIVE(g(X:S)) -> H(X:S) G(ok(X:S)) -> G(X:S) H(ok(X:S)) -> H(X:S) PROPER(g(X:S)) -> G(proper(X:S)) PROPER(g(X:S)) -> PROPER(X:S) PROPER(h(X:S)) -> H(proper(X:S)) PROPER(h(X:S)) -> PROPER(X:S) TOP(mark(X:S)) -> PROPER(X:S) TOP(mark(X:S)) -> TOP(proper(X:S)) TOP(ok(X:S)) -> ACTIVE(X:S) TOP(ok(X:S)) -> TOP(active(X:S)) -> Rules: active(g(X:S)) -> mark(h(X:S)) active(h(d)) -> mark(g(c)) active(c) -> mark(d) g(ok(X:S)) -> ok(g(X:S)) h(ok(X:S)) -> ok(h(X:S)) proper(g(X:S)) -> g(proper(X:S)) proper(h(X:S)) -> h(proper(X:S)) proper(c) -> ok(c) proper(d) -> ok(d) top(mark(X:S)) -> top(proper(X:S)) top(ok(X:S)) -> top(active(X:S)) Problem 1: SCC Processor: -> Pairs: ACTIVE(g(X:S)) -> H(X:S) G(ok(X:S)) -> G(X:S) H(ok(X:S)) -> H(X:S) PROPER(g(X:S)) -> G(proper(X:S)) PROPER(g(X:S)) -> PROPER(X:S) PROPER(h(X:S)) -> H(proper(X:S)) PROPER(h(X:S)) -> PROPER(X:S) TOP(mark(X:S)) -> PROPER(X:S) TOP(mark(X:S)) -> TOP(proper(X:S)) TOP(ok(X:S)) -> ACTIVE(X:S) TOP(ok(X:S)) -> TOP(active(X:S)) -> Rules: active(g(X:S)) -> mark(h(X:S)) active(h(d)) -> mark(g(c)) active(c) -> mark(d) g(ok(X:S)) -> ok(g(X:S)) h(ok(X:S)) -> ok(h(X:S)) proper(g(X:S)) -> g(proper(X:S)) proper(h(X:S)) -> h(proper(X:S)) proper(c) -> ok(c) proper(d) -> ok(d) top(mark(X:S)) -> top(proper(X:S)) top(ok(X:S)) -> top(active(X:S)) ->Strongly Connected Components: ->->Cycle: ->->-> Pairs: H(ok(X:S)) -> H(X:S) ->->-> Rules: active(g(X:S)) -> mark(h(X:S)) active(h(d)) -> mark(g(c)) active(c) -> mark(d) g(ok(X:S)) -> ok(g(X:S)) h(ok(X:S)) -> ok(h(X:S)) proper(g(X:S)) -> g(proper(X:S)) proper(h(X:S)) -> h(proper(X:S)) proper(c) -> ok(c) proper(d) -> ok(d) top(mark(X:S)) -> top(proper(X:S)) top(ok(X:S)) -> top(active(X:S)) ->->Cycle: ->->-> Pairs: G(ok(X:S)) -> G(X:S) ->->-> Rules: active(g(X:S)) -> mark(h(X:S)) active(h(d)) -> mark(g(c)) active(c) -> mark(d) g(ok(X:S)) -> ok(g(X:S)) h(ok(X:S)) -> ok(h(X:S)) proper(g(X:S)) -> g(proper(X:S)) proper(h(X:S)) -> h(proper(X:S)) proper(c) -> ok(c) proper(d) -> ok(d) top(mark(X:S)) -> top(proper(X:S)) top(ok(X:S)) -> top(active(X:S)) ->->Cycle: ->->-> Pairs: PROPER(g(X:S)) -> PROPER(X:S) PROPER(h(X:S)) -> PROPER(X:S) ->->-> Rules: active(g(X:S)) -> mark(h(X:S)) active(h(d)) -> mark(g(c)) active(c) -> mark(d) g(ok(X:S)) -> ok(g(X:S)) h(ok(X:S)) -> ok(h(X:S)) proper(g(X:S)) -> g(proper(X:S)) proper(h(X:S)) -> h(proper(X:S)) proper(c) -> ok(c) proper(d) -> ok(d) top(mark(X:S)) -> top(proper(X:S)) top(ok(X:S)) -> top(active(X:S)) ->->Cycle: ->->-> Pairs: TOP(mark(X:S)) -> TOP(proper(X:S)) TOP(ok(X:S)) -> TOP(active(X:S)) ->->-> Rules: active(g(X:S)) -> mark(h(X:S)) active(h(d)) -> mark(g(c)) active(c) -> mark(d) g(ok(X:S)) -> ok(g(X:S)) h(ok(X:S)) -> ok(h(X:S)) proper(g(X:S)) -> g(proper(X:S)) proper(h(X:S)) -> h(proper(X:S)) proper(c) -> ok(c) proper(d) -> ok(d) top(mark(X:S)) -> top(proper(X:S)) top(ok(X:S)) -> top(active(X:S)) The problem is decomposed in 4 subproblems. Problem 1.1: Subterm Processor: -> Pairs: H(ok(X:S)) -> H(X:S) -> Rules: active(g(X:S)) -> mark(h(X:S)) active(h(d)) -> mark(g(c)) active(c) -> mark(d) g(ok(X:S)) -> ok(g(X:S)) h(ok(X:S)) -> ok(h(X:S)) proper(g(X:S)) -> g(proper(X:S)) proper(h(X:S)) -> h(proper(X:S)) proper(c) -> ok(c) proper(d) -> ok(d) top(mark(X:S)) -> top(proper(X:S)) top(ok(X:S)) -> top(active(X:S)) ->Projection: pi(H) = 1 Problem 1.1: SCC Processor: -> Pairs: Empty -> Rules: active(g(X:S)) -> mark(h(X:S)) active(h(d)) -> mark(g(c)) active(c) -> mark(d) g(ok(X:S)) -> ok(g(X:S)) h(ok(X:S)) -> ok(h(X:S)) proper(g(X:S)) -> g(proper(X:S)) proper(h(X:S)) -> h(proper(X:S)) proper(c) -> ok(c) proper(d) -> ok(d) top(mark(X:S)) -> top(proper(X:S)) top(ok(X:S)) -> top(active(X:S)) ->Strongly Connected Components: There is no strongly connected component The problem is finite. Problem 1.2: Subterm Processor: -> Pairs: G(ok(X:S)) -> G(X:S) -> Rules: active(g(X:S)) -> mark(h(X:S)) active(h(d)) -> mark(g(c)) active(c) -> mark(d) g(ok(X:S)) -> ok(g(X:S)) h(ok(X:S)) -> ok(h(X:S)) proper(g(X:S)) -> g(proper(X:S)) proper(h(X:S)) -> h(proper(X:S)) proper(c) -> ok(c) proper(d) -> ok(d) top(mark(X:S)) -> top(proper(X:S)) top(ok(X:S)) -> top(active(X:S)) ->Projection: pi(G) = 1 Problem 1.2: SCC Processor: -> Pairs: Empty -> Rules: active(g(X:S)) -> mark(h(X:S)) active(h(d)) -> mark(g(c)) active(c) -> mark(d) g(ok(X:S)) -> ok(g(X:S)) h(ok(X:S)) -> ok(h(X:S)) proper(g(X:S)) -> g(proper(X:S)) proper(h(X:S)) -> h(proper(X:S)) proper(c) -> ok(c) proper(d) -> ok(d) top(mark(X:S)) -> top(proper(X:S)) top(ok(X:S)) -> top(active(X:S)) ->Strongly Connected Components: There is no strongly connected component The problem is finite. Problem 1.3: Subterm Processor: -> Pairs: PROPER(g(X:S)) -> PROPER(X:S) PROPER(h(X:S)) -> PROPER(X:S) -> Rules: active(g(X:S)) -> mark(h(X:S)) active(h(d)) -> mark(g(c)) active(c) -> mark(d) g(ok(X:S)) -> ok(g(X:S)) h(ok(X:S)) -> ok(h(X:S)) proper(g(X:S)) -> g(proper(X:S)) proper(h(X:S)) -> h(proper(X:S)) proper(c) -> ok(c) proper(d) -> ok(d) top(mark(X:S)) -> top(proper(X:S)) top(ok(X:S)) -> top(active(X:S)) ->Projection: pi(PROPER) = 1 Problem 1.3: SCC Processor: -> Pairs: Empty -> Rules: active(g(X:S)) -> mark(h(X:S)) active(h(d)) -> mark(g(c)) active(c) -> mark(d) g(ok(X:S)) -> ok(g(X:S)) h(ok(X:S)) -> ok(h(X:S)) proper(g(X:S)) -> g(proper(X:S)) proper(h(X:S)) -> h(proper(X:S)) proper(c) -> ok(c) proper(d) -> ok(d) top(mark(X:S)) -> top(proper(X:S)) top(ok(X:S)) -> top(active(X:S)) ->Strongly Connected Components: There is no strongly connected component The problem is finite. Problem 1.4: Narrowing Processor: -> Pairs: TOP(mark(X:S)) -> TOP(proper(X:S)) TOP(ok(X:S)) -> TOP(active(X:S)) -> Rules: active(g(X:S)) -> mark(h(X:S)) active(h(d)) -> mark(g(c)) active(c) -> mark(d) g(ok(X:S)) -> ok(g(X:S)) h(ok(X:S)) -> ok(h(X:S)) proper(g(X:S)) -> g(proper(X:S)) proper(h(X:S)) -> h(proper(X:S)) proper(c) -> ok(c) proper(d) -> ok(d) top(mark(X:S)) -> top(proper(X:S)) top(ok(X:S)) -> top(active(X:S)) ->Narrowed Pairs: ->->Original Pair: TOP(mark(X:S)) -> TOP(proper(X:S)) ->-> Narrowed pairs: TOP(mark(g(X:S))) -> TOP(g(proper(X:S))) TOP(mark(h(X:S))) -> TOP(h(proper(X:S))) TOP(mark(c)) -> TOP(ok(c)) TOP(mark(d)) -> TOP(ok(d)) ->->Original Pair: TOP(ok(X:S)) -> TOP(active(X:S)) ->-> Narrowed pairs: TOP(ok(g(X:S))) -> TOP(mark(h(X:S))) TOP(ok(h(d))) -> TOP(mark(g(c))) TOP(ok(c)) -> TOP(mark(d)) Problem 1.4: SCC Processor: -> Pairs: TOP(mark(g(X:S))) -> TOP(g(proper(X:S))) TOP(mark(h(X:S))) -> TOP(h(proper(X:S))) TOP(mark(c)) -> TOP(ok(c)) TOP(mark(d)) -> TOP(ok(d)) TOP(ok(g(X:S))) -> TOP(mark(h(X:S))) TOP(ok(h(d))) -> TOP(mark(g(c))) TOP(ok(c)) -> TOP(mark(d)) -> Rules: active(g(X:S)) -> mark(h(X:S)) active(h(d)) -> mark(g(c)) active(c) -> mark(d) g(ok(X:S)) -> ok(g(X:S)) h(ok(X:S)) -> ok(h(X:S)) proper(g(X:S)) -> g(proper(X:S)) proper(h(X:S)) -> h(proper(X:S)) proper(c) -> ok(c) proper(d) -> ok(d) top(mark(X:S)) -> top(proper(X:S)) top(ok(X:S)) -> top(active(X:S)) ->Strongly Connected Components: ->->Cycle: ->->-> Pairs: TOP(mark(g(X:S))) -> TOP(g(proper(X:S))) TOP(mark(h(X:S))) -> TOP(h(proper(X:S))) TOP(ok(g(X:S))) -> TOP(mark(h(X:S))) TOP(ok(h(d))) -> TOP(mark(g(c))) ->->-> Rules: active(g(X:S)) -> mark(h(X:S)) active(h(d)) -> mark(g(c)) active(c) -> mark(d) g(ok(X:S)) -> ok(g(X:S)) h(ok(X:S)) -> ok(h(X:S)) proper(g(X:S)) -> g(proper(X:S)) proper(h(X:S)) -> h(proper(X:S)) proper(c) -> ok(c) proper(d) -> ok(d) top(mark(X:S)) -> top(proper(X:S)) top(ok(X:S)) -> top(active(X:S)) Problem 1.4: Reduction Pairs Processor: -> Pairs: TOP(mark(g(X:S))) -> TOP(g(proper(X:S))) TOP(mark(h(X:S))) -> TOP(h(proper(X:S))) TOP(ok(g(X:S))) -> TOP(mark(h(X:S))) TOP(ok(h(d))) -> TOP(mark(g(c))) -> Rules: active(g(X:S)) -> mark(h(X:S)) active(h(d)) -> mark(g(c)) active(c) -> mark(d) g(ok(X:S)) -> ok(g(X:S)) h(ok(X:S)) -> ok(h(X:S)) proper(g(X:S)) -> g(proper(X:S)) proper(h(X:S)) -> h(proper(X:S)) proper(c) -> ok(c) proper(d) -> ok(d) top(mark(X:S)) -> top(proper(X:S)) top(ok(X:S)) -> top(active(X:S)) -> Usable rules: g(ok(X:S)) -> ok(g(X:S)) h(ok(X:S)) -> ok(h(X:S)) proper(g(X:S)) -> g(proper(X:S)) proper(h(X:S)) -> h(proper(X:S)) proper(c) -> ok(c) proper(d) -> ok(d) ->Interpretation type: Linear ->Coefficients: Natural Numbers ->Dimension: 1 ->Bound: 2 ->Interpretation: [active](X) = 0 [g](X) = 2.X + 2 [h](X) = 2.X + 1 [proper](X) = X [top](X) = 0 [c] = 0 [d] = 2 [fSNonEmpty] = 0 [mark](X) = X + 1 [ok](X) = X [ACTIVE](X) = 0 [G](X) = 0 [H](X) = 0 [PROPER](X) = 0 [TOP](X) = 2.X Problem 1.4: SCC Processor: -> Pairs: TOP(mark(h(X:S))) -> TOP(h(proper(X:S))) TOP(ok(g(X:S))) -> TOP(mark(h(X:S))) TOP(ok(h(d))) -> TOP(mark(g(c))) -> Rules: active(g(X:S)) -> mark(h(X:S)) active(h(d)) -> mark(g(c)) active(c) -> mark(d) g(ok(X:S)) -> ok(g(X:S)) h(ok(X:S)) -> ok(h(X:S)) proper(g(X:S)) -> g(proper(X:S)) proper(h(X:S)) -> h(proper(X:S)) proper(c) -> ok(c) proper(d) -> ok(d) top(mark(X:S)) -> top(proper(X:S)) top(ok(X:S)) -> top(active(X:S)) ->Strongly Connected Components: ->->Cycle: ->->-> Pairs: TOP(mark(h(X:S))) -> TOP(h(proper(X:S))) TOP(ok(g(X:S))) -> TOP(mark(h(X:S))) ->->-> Rules: active(g(X:S)) -> mark(h(X:S)) active(h(d)) -> mark(g(c)) active(c) -> mark(d) g(ok(X:S)) -> ok(g(X:S)) h(ok(X:S)) -> ok(h(X:S)) proper(g(X:S)) -> g(proper(X:S)) proper(h(X:S)) -> h(proper(X:S)) proper(c) -> ok(c) proper(d) -> ok(d) top(mark(X:S)) -> top(proper(X:S)) top(ok(X:S)) -> top(active(X:S)) Problem 1.4: Reduction Pairs Processor: -> Pairs: TOP(mark(h(X:S))) -> TOP(h(proper(X:S))) TOP(ok(g(X:S))) -> TOP(mark(h(X:S))) -> Rules: active(g(X:S)) -> mark(h(X:S)) active(h(d)) -> mark(g(c)) active(c) -> mark(d) g(ok(X:S)) -> ok(g(X:S)) h(ok(X:S)) -> ok(h(X:S)) proper(g(X:S)) -> g(proper(X:S)) proper(h(X:S)) -> h(proper(X:S)) proper(c) -> ok(c) proper(d) -> ok(d) top(mark(X:S)) -> top(proper(X:S)) top(ok(X:S)) -> top(active(X:S)) -> Usable rules: g(ok(X:S)) -> ok(g(X:S)) h(ok(X:S)) -> ok(h(X:S)) proper(g(X:S)) -> g(proper(X:S)) proper(h(X:S)) -> h(proper(X:S)) proper(c) -> ok(c) proper(d) -> ok(d) ->Interpretation type: Linear ->Coefficients: Natural Numbers ->Dimension: 1 ->Bound: 2 ->Interpretation: [active](X) = 0 [g](X) = 2.X + 1 [h](X) = 0 [proper](X) = X [top](X) = 0 [c] = 2 [d] = 2 [fSNonEmpty] = 0 [mark](X) = 2.X + 1 [ok](X) = X [ACTIVE](X) = 0 [G](X) = 0 [H](X) = 0 [PROPER](X) = 0 [TOP](X) = X Problem 1.4: SCC Processor: -> Pairs: TOP(ok(g(X:S))) -> TOP(mark(h(X:S))) -> Rules: active(g(X:S)) -> mark(h(X:S)) active(h(d)) -> mark(g(c)) active(c) -> mark(d) g(ok(X:S)) -> ok(g(X:S)) h(ok(X:S)) -> ok(h(X:S)) proper(g(X:S)) -> g(proper(X:S)) proper(h(X:S)) -> h(proper(X:S)) proper(c) -> ok(c) proper(d) -> ok(d) top(mark(X:S)) -> top(proper(X:S)) top(ok(X:S)) -> top(active(X:S)) ->Strongly Connected Components: There is no strongly connected component The problem is finite.